/* Keep the visitor's place behind the menu. The system top layer keeps focus inside. */
body:has(#mobilemenu[open]) { overflow:hidden; }
dialog#mobilemenu {
  inset:0 0 0 auto; position:fixed; margin:0; width:min(320px,calc(100% - 18px)); max-width:100%;
  height:100%; height:100dvh; max-height:none; box-sizing:border-box; border:0;
  border-inline-start:1px solid #514337; border-radius:0; padding:clamp(18px,3vw,32px);
  padding-bottom:max(24px,env(safe-area-inset-bottom)); background:#211b17; color:#f7ecda;
  overflow-y:auto; overscroll-behavior:contain; box-shadow:-12px 0 50px #09080659;
}
dialog#mobilemenu:not([open]) {display:none;}
dialog#mobilemenu[open] {display:block; animation:atlas-menu-in .22s ease-out both;}
dialog#mobilemenu::backdrop {background:#100c09a6;}
@keyframes atlas-menu-in {from {transform:translateX(100%);} to {transform:translateX(0);}}
@media(prefers-reduced-motion:reduce) { dialog#mobilemenu[open] {animation:none;} }
.drawer-heading {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:26px;}
.drawer-heading h2 {margin:0;font:500 2rem/1.12 var(--ser);}
.drawer-heading button, .paneltop .panel-dismiss, .atlas-share-head .panel-dismiss {
  width:auto; min-height:44px; padding:8px 15px; flex-shrink:0; border:1px solid #786451;
  border-radius:6px; color:#f4e6d4; font:500 1rem/1.3 var(--sans);
}
.drawer-section + .drawer-section {margin-top:28px;}
.drawer-section h3 {margin:0 0 8px; font:500 1rem/1.4 var(--sans);color:#ddba86;}
#mobilemenu .drawer-section :is(a,button) {
  min-height:46px; width:100%; display:flex; align-items:center; box-sizing:border-box;
  text-align:left; font:500 1.14rem/1.35 var(--sans); color:#fff3e3; padding:9px 7px;
  border:0; background:none; text-decoration:none; border-radius:4px;
}
@media (hover:hover) and (pointer:fine) {
  #mobilemenu .drawer-section :is(a,button):hover {background:#392d24;}
}
.recipe-story details > summary, .recipeheadbuttons .story-jump, .st-page .recipe-glass-link {
  list-style:none; text-decoration:none; cursor:pointer;
}
.recipe-story details > summary::-webkit-details-marker {display:none;}
.recipe-story details > summary {display:inline-flex; align-items:center; margin:4px 0; min-height:44px; padding:8px 14px; border:1px solid #76624d; border-radius:5px;}
.recipeheadbuttons button[data-story-jump] {border:1px solid #76624d; border-radius:5px; text-decoration:none; padding-inline:14px;}
.recipe-glass-link:is(:hover,:focus-visible) {background:#30271f; border-radius:4px;}

/* Navigation remains in view, while a section link leaves its heading below it. */
html { scroll-padding-top:92px; }
body > header.mast, body > header.reader-mast {
  position:sticky; top:0; z-index:20; background:#211b17;
}
body > .skip:focus {z-index:21;}
.atlas-crumbs { margin:0 0 clamp(12px,1.6vw,24px); }
.atlas-crumbs ol { display:flex; flex-wrap:wrap; align-items:center; gap:0; padding:0; margin:0; list-style:none; }
.atlas-crumbs li { display:inline-flex; align-items:center; max-width:100%; font:500 1rem/1.4 var(--sans); color:var(--secondary-ink,#d7caba); }
.atlas-crumbs li + li::before { content:"/"; margin:0 8px; color:#ad967c; }
.atlas-crumbs a {display:inline-flex; align-items:center; min-height:36px; color:var(--gold); text-decoration:none;}
.atlas-crumbs a:is(:hover,:focus-visible) {color:var(--pale);}
#main-content .atlas-crumbs a:focus-visible {outline:2px solid #f2c790;outline-offset:2px;}
.atlas-crumbs [aria-current] {overflow-wrap:anywhere;}
.reader-mast {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px max(18px,4.5vw);min-height:60px;border-bottom:1px solid #4d4034;}
.reader-mast .legal-brand {margin:0;}
.reader-mast button {border:1px solid #806b54;color:var(--pale);border-radius:6px;padding:7px 13px;min-height:44px;margin:0;}
@media(max-width:760px){html{scroll-padding-top:74px;}.atlas-crumbs li {font-size:1rem;}.atlas-crumbs li + li::before{margin-inline:6px;}}

/* A single photograph opens the recipe, followed by a compact ingredients / method spread. */
.st-page:has(> .recipe-opening) {padding-top:clamp(12px,1.8vw,28px);}
.recipe-opening.st-layout {display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:var(--recipe-gutter); }
.recipe-cover {
  --cover-surface:#261e19; position:relative; isolation:isolate; grid-column:1/-1;
  display:grid; grid-template-columns:minmax(0,1.04fr) minmax(0,1fr); align-items:center;
  background:var(--cover-surface); margin-bottom:clamp(24px,3vw,46px); overflow:hidden;
}
.recipe-cover-copy {padding:clamp(26px,4.6vw,84px); padding-right:clamp(12px,2.4vw,40px); position:relative; z-index:1; min-width:0;}
.recipe-cover .recipe-title {margin:0;}
.recipe-cover .recipe-title h1 {font-size:clamp(2.7rem,5.8vw,6.8rem); line-height:1; letter-spacing:-.055em; margin:0 0 .18em; text-wrap:balance; overflow-wrap:anywhere;}
.recipe-cover .st-sub {font-size:clamp(.96rem,1.25vw,1.2rem);color:#cfb99e;}
.recipe-cover .cover-taste {font-size:clamp(1.05rem,1.55vw,1.45rem);line-height:1.35;margin:clamp(14px,2vw,28px) 0 4px; color:#f8e8d4;}
.recipe-cover .recipe-glass-link {margin:0;padding-block:5px;}
.recipe-cover .recipeheadbuttons {margin:clamp(14px,2vw,30px) 0 0;}
.recipe-cover .recipe-photo {width:100%;align-self:center;position:relative;}
.recipe-cover .recipe-photo::before {content:"";position:absolute;inset:0 auto 0 0;width:17%;background:linear-gradient(90deg,var(--cover-surface),transparent);pointer-events:none;}
.recipe-cover .recipe-photo img {width:100%;height:auto;aspect-ratio:auto;max-height:none;border-radius:0;display:block;background:transparent;}
.recipe-opening .recipe-formula,.recipe-opening .book-method {align-self:start;}
.recipe-opening .book-method h2 {margin:0 0 8px;font-size:clamp(1.55rem,2.7vw,2.1rem);line-height:1.18;}
.recipe-opening .book-steps {margin:12px 0; padding-left:1.5em;}
.recipe-opening .book-steps li {margin:0; padding:0 0 .1em;font-size:1.05rem;}
.recipe-opening .book-steps li::marker {color:#d8b385;font-variant-numeric:tabular-nums;}
.recipe-opening .book-steps a {min-height:38px;display:inline-flex;align-items:center;text-decoration:none;color:var(--pale);}
.book-steps a:is(:hover,:focus-visible) {color:var(--gold);}
.written-step-detail {margin-bottom:10px; max-width:58ch;line-height:1.55;}
.st-page .ingredientrow {border:0; padding-block:11px;}
.st-page .ingredientrow [data-serving-amount] {font-variant-numeric:tabular-nums;}
.st-page .book-disclosure, .st-page .book-note summary {min-height:42px; padding:8px 0; color:var(--gold); font-weight:600; cursor:pointer;}
.recipe-opening .book-watch {margin:4px 0 10px;}
.book-method:has([data-inline-mix]:not([hidden])) > .book-watch {display:none;}
.recipe-body-columns,.recipe-references,.related-recipes,.recipe-body-columns .glass-guide,
.recipe-body-columns .recipe-guides details,.recipe-body-columns .pairings,.recipe-details .shoppingbox,.recipe-references details {border:0;}
.recipe-body-columns .recipe-story {background:#2a221c;border:0;}
.st-page .book-note {margin-bottom:15px;}
@media(max-width:760px) {
 .recipe-opening.st-layout {grid-template-columns:minmax(0,1fr);}
 .recipe-cover {display:flex;flex-direction:column;align-items:stretch;}
 .recipe-cover-copy {padding:19px 18px 15px;}
 .recipe-cover .recipe-title h1 {font-size:clamp(2.25rem,8.5vw,3.65rem);}
 .recipe-cover .cover-taste {margin:10px 0 2px;}
 .recipe-cover .recipeheadbuttons {margin:12px 0 0;}
 .recipe-cover .recipe-photo::before {inset:0 0 auto;width:100%;height:9%;background:linear-gradient(var(--cover-surface),transparent);}
 .recipe-opening .book-method {margin-top:22px;}
}
@media print {.written-step-detail[hidden],.ingredient-extra[hidden]{display:block!important;}.book-disclosure,.book-watch{display:none!important;}}
#panel .panel-nav {position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-block:6px;background:var(--panel,#211b17);}
.panel-nav .panel-home {color:var(--gold);text-decoration:none;font-weight:500;}
.panel-actions {display:flex;align-items:center;gap:8px;}

/* Below the opening spread, related reading shares the same page surface. */
.st-page:has(.recipe-opening) {
  --chapter-space:clamp(32px,4.2vw,68px);
}
.recipe-opening .book-steps a {min-height:44px;}
.recipe-body-columns {
  display:grid;
  grid-template-areas:"details glass" "actions guides" "story pairings";
  row-gap:clamp(18px,2.3vw,36px);
  margin-top:var(--chapter-space);
  padding:0;
}
.recipe-body-columns > div {display:contents;}
.recipe-body-columns .recipe-details {grid-area:details;}
.recipe-body-columns .personal-recipe-actions {grid-area:actions; align-self:start; margin:0;}
.recipe-body-columns .glass-guide {grid-area:glass; margin:0; padding:0;}
.recipe-body-columns .recipe-guides {grid-area:guides; margin:0;}
.recipe-body-columns .recipe-story {grid-area:story;}
.recipe-body-columns .pairings {grid-area:pairings;}
.recipe-body-columns :is(.recipe-story,.pairings) {
  border:0; border-radius:0; background:transparent;
  margin:clamp(10px,1.6vw,26px) 0 0; padding:0;
}
.recipe-body-columns :is(.recipe-story,.pairings) > h2,.st-page .related-recipes > h2 {
  margin:0 0 .6em; color:var(--pale);
  font:500 clamp(1.65rem,2.5vw,2.3rem)/1.16 var(--ser);
  letter-spacing:-.027em;
}
.st-page .recipe-story .story-opening {font-size:clamp(1.08rem,1.35vw,1.23rem);line-height:1.56;}
.st-page .recipe-story details > summary, .st-page .book-disclosure {
  min-height:44px; border:0; border-radius:4px; padding:8px 0; margin:0;
  background:transparent; color:var(--gold);
}
.st-page .recipe-story details > summary:hover {color:var(--pale);}
.recipe-cover .recipeheadbuttons button[data-story-jump] {border:0;background:none;}
.recipe-cover .recipeheadbuttons button[data-story-jump]:hover {color:var(--pale);}
.st-page .recipe-guides summary {padding-inline:0;justify-content:flex-start;}
.st-page .recipe-guides .guide-indicator {width:.9em; height:.9em;}
.st-page .recipe-references {margin-top:var(--chapter-space);padding-top:0;}
.st-page .related-recipes {margin-top:var(--chapter-space); padding-top:0;}
.st-page [data-inline-mix] {border-bottom:0; margin-bottom:clamp(20px,2vw,34px);}
.st-page [data-inline-mix] :is(.stageframe,.stageheader,.countertip) {border:0;}
.st-page [data-inline-mix] .countertip {padding-inline:0;}
@media(max-width:760px) {
  .recipe-body-columns {grid-template-areas:"details" "actions" "glass" "guides" "story" "pairings";row-gap:20px;}
  .recipe-body-columns .glass-guide {margin-top:12px;}
  .recipe-body-columns :is(.recipe-story,.pairings) {margin-top:12px;}
}

.drawer-heading [data-menu-dismiss] {position:relative;display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;border:0;background:none;}
.drawer-heading [data-menu-dismiss]::before {content:"";position:absolute;inset:7px;background:#382e25;border-radius:5px;}
.drawer-heading [data-menu-dismiss]:hover::before {background:#514030;}
.drawer-heading [data-menu-dismiss] svg {position:relative;display:block;}
#footer-tip {scroll-margin-top:22px;}

/* The account is a separate stop after navigation, immediately before the tip QR. */
#mobilemenu .drawer-heading {gap:8px; margin-bottom:20px;}
#mobilemenu .drawer-heading h2 {flex:1;}
#mobilemenu .drawer-account {display:flex;flex:none;align-items:center;align-self:stretch;gap:14px;min-height:54px;box-sizing:border-box;margin:clamp(18px,3vh,30px) 0 5px;padding:10px 15px;border-radius:5px;background:#3b322b;font:580 1.08rem/1.3 var(--sans);color:#f1e4d3;text-decoration:none;}
#mobilemenu .drawer-account svg {width:24px;height:24px;flex:none;color:#e6c397;}
@media (hover:hover) and (pointer:fine) {
  #mobilemenu .drawer-account:hover {background:#483d32;}
  #mobilemenu :is(.drawer-account,.tip-transfer):hover {color:#fff;}
}
#mobilemenu :is(.drawer-account,.tip-transfer):focus-visible {color:#fff;}
#mobilemenu .drawer-tip {display:grid;grid-template-columns:111px minmax(0,1fr);align-items:center;gap:clamp(13px,2vw,20px);margin:28px 0 6px;}
#mobilemenu .drawer-tip img {display:block;width:111px;height:111px;max-width:none;image-rendering:pixelated;}
#mobilemenu .drawer-tip h3 {font:600 1.16rem/1.2 var(--sans);margin:0;color:#fff2e3;}
#mobilemenu .drawer-tip p {font:400 .94rem/1.4 var(--sans);color:#d7c5b3;margin:6px 0 3px;}
#mobilemenu .tip-transfer {display:inline-flex;align-items:center;min-height:44px;color:#f2c794;font:600 1rem/1.25 var(--sans);text-decoration:none;}
/* The whole sheet scrolls only when the viewport actually needs it. */
dialog#mobilemenu {
  --drawer-padding:clamp(18px,3vw,32px);
  --drawer-surface:#211b17;
  padding:0 var(--drawer-padding) max(18px,env(safe-area-inset-bottom));
  background:var(--drawer-surface);
}
#mobilemenu .drawer-heading {
  position:sticky;top:0;z-index:1;gap:16px;margin:0 0 10px;
  padding:max(15px,env(safe-area-inset-top)) 0 12px;
  background:var(--drawer-surface);
}
#mobilemenu .drawer-links {display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
#mobilemenu .drawer-links>.bar-menu-stop {grid-column:1/-1}
#mobilemenu .drawer-section {min-width:0;margin:0}
#mobilemenu .drawer-section h3 {margin:0 0 7px;color:#dfbb8b;font:650 1rem/1.4 var(--sans)}
#mobilemenu .drawer-section :is(a,button) {
  min-height:44px;padding:7px 6px 7px 0;
  font-size:1.0625rem;line-height:1.3;overflow-wrap:break-word;
}
#mobilemenu .drawer-section a[aria-current="page"] {color:var(--gold);font-weight:650;}
#mobilemenu .drawer-section :is(a,button):focus-visible,
#mobilemenu .drawer-account:focus-visible,#mobilemenu .tip-transfer:focus-visible {
  outline:2px solid #e0bb88;outline-offset:-2px;
}
#mobilemenu .drawer-account {min-height:46px;margin:18px 0 0;padding:8px 13px}
#mobilemenu .drawer-tip {grid-template-columns:100px minmax(0,1fr);gap:17px;margin:15px 0 0}
#mobilemenu .drawer-tip img {width:100px;height:100px}
#mobilemenu .drawer-tip p {margin:4px 0 0;max-width:44ch}
#mobilemenu .drawer-tip .tip-transfer {padding-right:7px}
/* The side panel follows one continuous reading order, including on touch devices. */
dialog#mobilemenu {
  --drawer-padding:clamp(16px,2vw,24px);
  --drawer-section-gap:clamp(18px,2.4vh,26px);
  --drawer-heading-gap:6px;
  width:min(320px,calc(100% - 18px));
  padding:0 var(--drawer-padding) max(10px,env(safe-area-inset-bottom));
}
dialog#mobilemenu::backdrop {background:rgb(14 10 7 / 32%);}
#mobilemenu .drawer-heading {
  width:44px;
  margin:0 0 -44px auto;
  padding:0;
  top:env(safe-area-inset-top,0px);
  background:transparent;
}
/* Its explicitly referenced text still names the dialog for assistive technology. */
#mobilemenu .drawer-heading h2 {display:none;}
#mobilemenu .drawer-links {padding-top:env(safe-area-inset-top,0px);}
#mobilemenu .drawer-links:has(.bar-menu-stop:not([hidden])) > .bar-menu-stop {
  margin-inline-end:50px;
}
#mobilemenu .drawer-links:not(:has(.bar-menu-stop:not([hidden]))) .drawer-section:first-of-type h3 {
  min-height:44px;
  display:flex;
  align-items:flex-end;
  padding-inline-end:50px;
}
#mobilemenu .drawer-links {display:flex;flex-direction:column;gap:0;}
#mobilemenu .drawer-section + .drawer-section,
#mobilemenu .drawer-links > .atlas-language,
#mobilemenu .drawer-account,
#mobilemenu .drawer-tip {margin-block:var(--drawer-section-gap) 0;}
#mobilemenu .drawer-section {display:block;min-width:0;}
#mobilemenu .drawer-section h3 {margin:0 0 var(--drawer-heading-gap);font-size:1rem;line-height:1.25;}
#mobilemenu .drawer-section :is(a,button) {padding:4px 3px;line-height:1.22;font-size:1.0625rem;}
#mobilemenu .drawer-account {min-height:44px;}
#mobilemenu .drawer-tip {grid-template-columns:66px minmax(0,1fr);gap:11px;}
#mobilemenu .drawer-tip img {width:66px;height:66px;}
#mobilemenu .drawer-tip h3 {font-size:1rem;}
#mobilemenu .drawer-tip p {font-size:.9rem;line-height:1.22;margin:3px 0 0;}
@media(min-width:651px) and (pointer:fine) {
  #mobilemenu .drawer-section :is(a,button) {min-height:clamp(29px,4.1dvh,44px);}
  #mobilemenu .tip-transfer {min-height:34px;}
  @media(max-height:750px) {
    #mobilemenu .drawer-tip p {display:none;}
    #mobilemenu:has(.bar-menu-stop:not([hidden])) {--drawer-section-gap:13px;}
  }
  #mobilemenu:has(.bar-menu-stop:not([hidden])) .drawer-tip p {display:none;}
}
@media(max-width:650px) {
  #mobilemenu .drawer-section :is(a,button) {font-size:1rem;min-height:44px;}
  dialog#mobilemenu {--drawer-section-gap:12px;padding-bottom:max(6px,env(safe-area-inset-bottom));}
  /* Leave room for the call control without reducing the 44px touch targets. */
  #mobilemenu:has(.bar-menu-stop:not([hidden])) {--drawer-section-gap:9px;}
  #mobilemenu .drawer-tip {display:block;}
  #mobilemenu .drawer-links > .bar-menu-stop:not([hidden]) {padding-block:4px;line-height:1.16;}
  #mobilemenu .drawer-tip :is(img,h3,p) {display:none;}
}

/* A recipe reads top to bottom, with the same page margin at every chapter. */
.st-page:has(> .recipe-reader) {--reader-width:65rem; --reader-space:clamp(2.5rem,4vw,4.75rem);}
.recipe-opening.recipe-reader.st-layout {display:block;}
.recipe-reader .recipe-cover {margin-bottom:var(--reader-space);}
.recipe-reader .recipe-cover-copy {padding:clamp(24px,3.4vw,58px);}
.recipe-reader .recipe-title h1 {font-family:var(--ser);font-weight:450;letter-spacing:-.055em;}
.recipe-reader .recipe-cover .recipeheadbuttons {gap:8px 16px;align-items:center;}
.recipe-reader .recipe-formula,.recipe-reader .book-method,.reader-extras,.reader-references,
.st-page:has(.recipe-reader) .related-recipes {width:min(100%,var(--reader-width));margin-inline:0;}
.recipe-reader .recipe-formula,.recipe-reader .book-method {margin-block:0 var(--reader-space);padding:0;border:0;}
.recipe-reader .recipe-formula h2,.recipe-reader .book-method h2,.reader-extras .reader-chapter > h2,
.reader-extras .recipe-story > h2,.st-page:has(.recipe-reader) .related-recipes > h2 {
  font:450 clamp(1.85rem,3.7vw,3.3rem)/1.12 var(--ser);letter-spacing:-.04em;
  margin:0 0 clamp(16px,1.8vw,27px);
}
.recipe-reader .recipe-formula h2 {display:flex;align-items:baseline;gap:10px 20px;margin:0 0 12px;}
.recipe-reader .recipe-formula [data-serving-count] {font:500 1rem/1.45 var(--sans);}
.recipe-reader .recipe-portions {margin:0 0 12px;}
.recipe-reader .ingredientrow {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:baseline;
  max-width:45rem;padding:8px 0;font-size:clamp(1.07rem,1.35vw,1.23rem);line-height:1.5;border:0;}
.recipe-reader .ingredientrow > span:last-child {text-align:right;color:#f3d4aa;}
.recipe-reader .ingredient-extra[hidden] {display:none;}
.recipe-reader .ingredient-extra:not([hidden]) {display:block;margin:4px 0;line-height:1.55;font-size:1rem;}
.recipe-reader .book-steps {max-width:56rem;list-style:decimal;margin:0;padding-left:2.2em;font-variant-numeric:tabular-nums;}
.recipe-reader .book-steps li {padding:0 0 0 .3em;margin:0 0 clamp(11px,1.6vw,20px);font-size:clamp(1.06rem,1.35vw,1.22rem);}
.recipe-reader .book-steps li::marker {color:#dcb68f;font-weight:600;}
.recipe-reader .book-steps .recipe-step-link {display:inline-flex;min-height:44px;align-items:center;max-width:68ch;line-height:1.55;}
.recipe-reader .book-steps .written-step-detail {display:inline;margin:0;max-width:none;line-height:inherit;}
.recipe-reader .book-steps .step-measures {display:block;max-width:64ch;color:#d2bda3;font:500 1rem/1.48 var(--sans);}
.recipe-reader .book-disclosure,.reader-extras summary,.reader-references summary {min-height:44px;cursor:pointer;}
.recipe-body-columns.reader-extras,.recipe-references.reader-references {display:block;padding:0;border:0;}
.reader-extras > :is(.reader-chapter,.recipe-story) {display:block;margin:var(--reader-space) 0 0;max-width:60rem;}
.reader-extras .reader-chapter :is(.glass-guide,.recipe-guides,.pairings,.shoppingbox) {margin:0;padding:0;border:0;background:none;}
.reader-extras .reader-chapter :is(.glass-guide,.glass-guide>div) {max-width:100%;}
.reader-extras .reader-chapter .book-note {margin:0;}
.reader-extras .reader-chapter .glass-guide {display:block;}
/* Empty serving vessels stay on one visual scale, including two acceptable pours. */
.glass-guide .vessel-specimens {display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 24px;margin:14px 0;}
.glass-guide .vessel-specimens figure {display:grid;align-content:end;justify-items:center;width:clamp(115px,22vw,166px);margin:0;}
.glass-guide .vessel-specimens .glass-vessel {display:block;width:100%;height:clamp(127px,19vw,176px);object-fit:contain;margin:0;}
.glass-guide .vessel-specimens figcaption {margin:8px 0 0;color:var(--secondary-ink);text-align:center;font:500 1rem/1.4 var(--sans);}
.st-page:has(.recipe-reader) .related-recipes {width:100%; max-width:none;}
.st-page .related-recipes ul {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(27px,3.4vw,53px) clamp(16px,2vw,32px);padding:0;list-style:none;}
.st-page .related-recipes a {display:block;padding:0;text-decoration:none;}
.st-page .related-recipes img {display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;margin-bottom:.8rem;}
.st-page .related-recipes a span {color:var(--reading-ink);line-height:1.5;}
@media(max-width:690px){
  .st-page .related-recipes ul {grid-template-columns:1fr;row-gap:24px;}
  .st-page .related-recipes a {display:grid;grid-template-columns:minmax(76px,24%) 1fr;gap:2px 15px;align-content:start;}
  .st-page .related-recipes a img {grid-row:1 / 3;margin:0;}
  .st-page .related-recipes a span {margin:2px 0 0;}
}
.reader-extras .reader-chapter .glass-name {line-height:1.4;margin:0;}
.reader-extras .reader-chapter .glass-guide details[open] {clear:both;}
.reader-extras .reader-chapter .guide-indicator {display:none;}
.reader-extras .reader-chapter :is(.book-note,.guide-disclosure)>summary,.reader-references summary {
 display:flex;align-items:center;gap:10px;list-style:none;font:550 1.05rem/1.45 var(--sans);color:var(--gold);padding:7px 0;}
.reader-extras summary::-webkit-details-marker,.reader-references summary::-webkit-details-marker {display:none;}
.reader-extras .reader-chapter :is(.book-note,.guide-disclosure)>summary::after,.reader-references summary::after {content:"+";font-weight:400;}
.reader-extras .reader-chapter :is(.book-note,.guide-disclosure)[open]>summary::after,.reader-references details[open]>summary::after {content:"−";}
.reader-extras .reader-chapter :is(.glass-guide p:not(.glass-name),.guide-detail,.book-note>p),.reader-extras .recipe-story {max-width:70ch;line-height:1.58;}
.reader-extras .recipe-guides {max-width:none;}
.reader-extras .personal-recipe-actions {margin:0 0 12px;}
.reader-references>a {display:inline-flex;align-items:center;min-height:44px;}
.st-page:has(.recipe-reader) :is(a,button,summary):focus-visible {outline:2px solid #efc08c;outline-offset:4px;}
@media(max-width:760px) {
 .recipe-reader .recipe-cover {display:flex;gap:0;}
 .recipe-reader .recipe-cover-copy {display:contents;}
 .recipe-reader .recipe-cover .recipe-title {order:0;padding:18px 18px 12px;}
 .recipe-reader .recipe-cover .recipe-title h1 {font-size:clamp(2.4rem,9vw,4rem);}
 .recipe-reader .recipe-cover .recipe-photo {order:1;}
 .recipe-reader .recipe-cover .recipeheadbuttons {order:2;padding:8px 12px 12px;margin:0;gap:6px 10px;}
 .recipe-reader .recipe-cover .atlas-share {order:3;}
 .recipe-reader .recipe-cover .recipeheadbuttons > :is(.primary,.recipe-share-slot) {margin:0;padding-inline:8px;}
 .recipe-reader .recipe-cover .recipeheadbuttons > .recipe-share-slot {padding:0;}
 .recipe-reader .recipe-cover .recipeheadbuttons > .primary {font-size:1rem;}
 .recipe-reader .book-steps {padding-left:1.8em;}
 .recipe-reader .book-steps li {margin-bottom:12px;}
}
.recipe-reader .ingredientrow {grid-template-columns:minmax(0,1fr) minmax(6rem,36%);}
.recipe-reader .ingredientrow > [data-serving-amount] {max-width:none;overflow-wrap:normal;}
.recipe-reader .book-steps .recipe-step-link .written-step-detail {font:inherit;color:inherit;}
.recipe-reader .recipe-formula h2 small {letter-spacing:normal;}
.recipe-reader .book-steps .grouped-pour > .written-step-detail {display:block;font:inherit;}
.recipe-reader .book-steps .grouped-pour > .recipe-step-link {display:flex;width:fit-content;padding-block:4px;}
.recipe-reader .book-steps .grouped-pour .step-measures {font-size:1em;color:var(--pale);}

/* One recipe chapter per row. Keep the method paired with its working counter
   and serving advice paired with the empty vessels that the text describes. */
.recipe-reader .book-method,
.recipe-body-columns.reader-extras,
.reader-extras > .reader-chapter.serving-chapter { width:100%; max-width:none; }
.recipe-method-spread,
.reader-extras .reader-chapter .glass-guide.serving-spread {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:start;
  gap:clamp(26px,4vw,72px);
}
.recipe-method-spread > *, .serving-spread > * {min-width:0;}
.recipe-reader .method-instructions .book-steps {padding-left:1.8em;}
.method-studio {align-self:start;}
.method-studio .method-poster {
  display:grid;grid-template:"scene" 1fr / minmax(0,1fr);position:relative;isolation:isolate;
  width:100%;padding:0;overflow:hidden;border:0;border-radius:var(--photo-radius);cursor:pointer;
  color:#fff5e7;background:#31251c;text-align:left;
}
.method-poster .method-still,.method-poster .method-launch {grid-area:scene;}
.method-poster .method-still {display:block;width:100%;height:auto;aspect-ratio:1.56;background-size:cover;}
.method-poster .method-launch {
  align-self:end;justify-self:start;z-index:1;display:inline-flex;align-items:center;gap:8px;
  min-height:46px;margin:clamp(12px,1.35vw,20px);padding:8px 16px;
  background:#f4e1c5;color:#2c2019;border-radius:24px;font:600 1rem/1.3 var(--sans);
}
.method-poster:hover .method-launch {background:#fff1dd;}
.method-studio:has([data-inline-mix]:not([hidden])) .method-poster {display:none;}
.st-page .method-studio [data-inline-mix] {width:100%; margin:0; padding:0;min-width:0;}
.method-studio .stageframe,.method-studio .stageframe .stage {width:100%;}
.method-studio .stageframe .stage {height:auto;aspect-ratio:1.56;}
.method-studio .stageheader {flex-wrap:wrap;gap:6px 12px;}
.method-studio .controlrow {min-width:0;}
.method-studio .controlrow input {min-width:0;}
.method-studio .controlrow button {flex:none;}
.reader-extras .serving-copy .glass-name {
  font:500 clamp(1.6rem,2.3vw,2.15rem)/1.16 var(--ser);margin:0 0 .55em;color:var(--pale);
}
.reader-extras .serving-copy {align-self:center;}
.reader-extras .serving-copy p {margin:0 0 .65em;}
.reader-extras .serving-copy .glass-alternative {margin-top:1em;}
.reader-extras .serving-copy .glass-alternative b {display:block;margin-bottom:.18em;color:var(--gold);font-size:1rem;}
.serving-spread .vessel-specimens {
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);
  align-items:end;gap:clamp(8px,1.8vw,22px);margin:0;
  padding:0 clamp(8px,1.8vw,26px);background:none;
}
.serving-spread .vessel-specimens figure {width:100%;min-width:0;margin:0;}
.serving-spread .vessel-specimens .glass-vessel {
  height:clamp(220px,22vw,340px);width:100%;max-width:none;
  object-fit:contain;
}
.serving-spread .vessel-specimens figcaption {margin:12px 0 0;line-height:1.3;}
@media(max-width:800px){
  .recipe-method-spread,.reader-extras .reader-chapter .glass-guide.serving-spread {grid-template-columns:minmax(0,1fr);gap:18px;}
  .serving-spread .vessel-specimens .glass-vessel {height:clamp(170px,48vw,270px);}
  .reader-extras .serving-spread .vessel-specimens {grid-row:1;}
}

.method-studio .stage:has(.recipe-crew-set) {
  display:block;position:relative;width:100%;height:auto;max-height:none;aspect-ratio:1.72;
  overflow:hidden;background:#30251c url("/assets/studio/stillroom-interior-760.webp") center 48%/cover;
}
.recipe-crew-set {position:absolute;inset:0;display:block;background:linear-gradient(0deg,#23150f77,transparent 35%,#25191015);}
.stage .recipe-crew-actor {position:absolute;left:1%;bottom:5%;width:55%;height:93%;object-fit:contain;object-position:center bottom;background-size:contain;background-position:center bottom;background-repeat:no-repeat;}
.recipe-crew-station {display:block;position:absolute;right:0;bottom:2%;width:45%;height:77%;}
.recipe-crew-set::after {content:"";position:absolute;left:0;right:0;bottom:0;height:6%;background:linear-gradient(#614832,#352519 38%,#201710);pointer-events:none;}
.method-studio .method-launch {justify-self:end;}
.recipe-presenter-shot {position:relative;isolation:isolate;}
.recipe-presenter-shot .stageframe {margin:0;width:100%;border:none;border-radius:0;background:transparent;}
.recipe-presenter-shot .recipe-crew-set {
  background:linear-gradient(180deg,#1c150d38 0%,transparent 42%),
    radial-gradient(ellipse 62% 64% at 84% 3%,#201710ee 7%,#201710bf 43%,#20171048 75%,transparent);
}
.recipe-presenter-shot .recipe-presenter-caption {
  position:relative;width:100%;box-sizing:border-box;margin:11px 0 8px;padding:0;
  background:transparent;border:0;border-radius:0;color:var(--pale);
  font:470 clamp(1rem,1.2vw,1.17rem)/1.38 var(--sans);text-align:left;overflow-wrap:anywhere;
}
.recipe-presenter-caption .presenter-attribution {display:flex;align-items:baseline;gap:12px;color:#d1bc9b;font:540 .85rem/1.35 var(--sans);margin:0 0 4px;}
.recipe-presenter-caption strong {font:inherit;}
.recipe-presenter-caption [data-presenter-line] {display:block;min-height:var(--caption-lines,2.76em);}
.recipe-presenter-caption [aria-hidden] {min-height:0;}
.recipe-presenter-caption #stagebadge {color:var(--muted);font:inherit;}
.watch-step-select {min-width:0;max-width:100%;}
.watch-step-select select {width:auto;max-width:min(100%,19rem);min-height:44px;color:var(--pale);font:500 .95rem/1.2 var(--sans);
  background:transparent;border:0;padding:6px 4px;cursor:pointer;}
.watch-step-select select option {background:#27221e;color:#fff2dc;}
.method-studio [data-inline-mix] .stageheader {background:none;padding-inline:0;}
.method-studio [data-inline-mix] .recipe-talk {border:0;background:transparent;color:#e7c68f;padding-inline:5px;}
.recipe-crew-station {bottom:0;transform:translateY(12%);}
.recipe-crew-set[data-detail="technique"] .recipe-crew-actor {left:-1%;width:48%;}
.recipe-crew-set[data-detail="technique"] .recipe-crew-station {right:-1%;width:57%;height:87%;}
@media (prefers-reduced-motion:no-preference){.recipe-crew-actor,.recipe-crew-station{transition:width .24s ease,height .24s ease,left .24s ease,right .24s ease;}}
.recipe-watch-modes {display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 8px;}
.recipe-watch-modes button {font:600 1rem/1.2 var(--sans);padding:10px 14px;min-height:44px;background:transparent;color:#e9d9bd;border:0;border-radius:20px;cursor:pointer;}
.recipe-watch-modes button[aria-pressed=true] {background:#e5c498;color:#2c2016;}
.recipe-watch-modes button:focus-visible {outline:2px solid #f2d1a4;outline-offset:2px;}
.recipe-crew-station[hidden]{display:none;}
.recipe-crew-set[data-detail="hands"] .recipe-crew-actor{left:3%;width:65%;height:96%;}
@media(max-width:500px){
  .method-studio .stage:has(.recipe-crew-set){aspect-ratio:1.34;}
  .recipe-presenter-shot .stage:has(.recipe-crew-set){aspect-ratio:1.34;}
  .recipe-presenter-shot .recipe-presenter-caption{font-size:1rem;margin-top:10px;}
  .watch-step-select select {max-width:11rem;}

}
.personal-method .recipe-presenter-shot{max-width:760px;margin:12px 0;}



.method-studio .stageheader:has(.watch-step-select) {display:flex;align-items:center;gap:4px 12px;justify-content:space-between;padding:2px 0 6px;}
.method-studio .stageheader .watch-step-select select {width:8.5rem;max-width:100%;}
.method-studio .stageheader:has(.watch-step-select) :is(.mix-nav,.stagesound) {
  border:0;border-radius:0;box-shadow:none;background:transparent;color:#e6d4b5;
  padding:4px 0;min-height:44px;font:520 .98rem/1.2 var(--sans);text-align:left;
}
@media(max-width:540px) {
  .method-studio .stageheader:has(.watch-step-select){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 12px;}
  .method-studio .stageheader:has(.watch-step-select) :is(.stagesound,.recipe-talk){min-height:42px;justify-self:start;}
}
#mobilemenu .drawer-links {padding-top:calc(env(safe-area-inset-top,0px) + 10px);}
#mobilemenu .drawer-tip {margin-block-start:calc(var(--drawer-section-gap) + 10px);}

#mobilemenu .drawer-heading [data-menu-dismiss]:focus {outline:none;}
#mobilemenu .drawer-heading [data-menu-dismiss]:focus-visible::before {background:#977850;}

/* Shared with the standalone information pages. */
.reader-bar .mast-search {flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;color:var(--pale);text-decoration:none;}

@media(max-width:359px) {
  .reader-mast .reader-bar > [data-action=menu] {padding-inline:4px;}
}

/* The touch menu uses the desktop side sheet, with room for a thumb and the safe area. */
@media(max-width:1024px), (hover:none), (pointer:coarse) {
  dialog#mobilemenu {
    --drawer-rail:clamp(16px,5vw,28px);
    --drawer-section-gap:22px;
    width:min(23.5rem,calc(100% - clamp(18px,9vw,48px)));
    padding-inline:max(var(--drawer-rail),env(safe-area-inset-left)) max(var(--drawer-rail),env(safe-area-inset-right));
    padding-bottom:max(24px,env(safe-area-inset-bottom));
  }
  #mobilemenu .drawer-links {padding-top:calc(18px + env(safe-area-inset-top,0px));}
  #mobilemenu .drawer-heading {
    top:env(safe-area-inset-top,0px);margin:0 0 -44px auto;padding:0;z-index:2;
  }
  #mobilemenu .drawer-section h3,
  #mobilemenu .drawer-links:not(:has(.bar-menu-stop:not([hidden]))) .drawer-section:first-of-type h3 {
    display:block;min-height:0;padding:0 38px 0 0;margin:0 0 var(--drawer-heading-gap);
    font:520 1.32rem/1.25 var(--ser);color:#e9c69b;
  }
  #mobilemenu .drawer-section :is(a,button) {
    min-height:44px;padding:8px 0;font:470 1rem/1.32 var(--sans);overflow-wrap:anywhere;
  }
  #mobilemenu .drawer-account {background:#3b322b;border-radius:5px;padding:10px 14px;}
  #mobilemenu .drawer-account svg {display:none;}
  #mobilemenu .drawer-tip {
    display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:center;
    margin-block:var(--drawer-section-gap) 0;
  }
  #mobilemenu .drawer-tip img {display:block;width:64px;height:64px;border-radius:3px;}
  #mobilemenu .drawer-tip > div {min-width:0;overflow-wrap:anywhere;}
  #mobilemenu .drawer-tip :is(a,p,h3) {white-space:normal;}
  #mobilemenu .drawer-tip h3 {display:block;color:#f5e7d1;font:550 1.04rem/1.25 var(--ser);}
  #mobilemenu .drawer-tip p {display:block;}
  #mobilemenu .drawer-tip a {min-height:44px;}
}
