.dish-icon {
  display:inline-block; width:var(--dish-size,100px); aspect-ratio:1; flex:none;
  background-image:var(--dish-sheet,url('art/course-studies.jpg'));
  background-position:var(--dish-position,0% 0%); background-size:300% 200%;
  background-repeat:no-repeat; mix-blend-mode:multiply; pointer-events:none;
}
[data-food="prosecco"],[data-food="pintxo"],[data-food="pumpkin"],[data-food="lemon"],[data-food="pepper"],[data-food="tiramisu"] { --dish-sheet:url('art/kitchen-ink.jpg'); }
[data-food="fig"],[data-food="pintxo"] { --dish-position:50% 0%; }
[data-food="lettuce"],[data-food="pumpkin"] { --dish-position:100% 0%; }
[data-food="risotto"],[data-food="lemon"] { --dish-position:0% 100%; }
[data-food="banoffee"],[data-food="pepper"] { --dish-position:50% 100%; }
[data-food="affogato"],[data-food="tiramisu"] { --dish-position:100% 100%; }
.brand img { display:block; width:auto; height:53px; mix-blend-mode:multiply; }
.club-footer .brand img { height:94px; }
.g-intro>.dish-icon,.heading>.dish-icon,.editorial>div>.dish-icon,.album-copy>.dish-icon { --dish-size:clamp(64px,8vw,128px);display:block;margin-top:18px; }
.album-copy>.dish-icon { --dish-size:clamp(58px,7vw,108px); }
.jan-invite .dish-icon { width:clamp(112px,13vw,210px);height:auto; }
.jan-course .dish-icon { width:clamp(62px,7vw,104px);height:auto; }
.course h3::after { width:clamp(48px,6vw,84px); }
.illustration-in { animation:place-dish .65s cubic-bezier(.2,.8,.3,1) both; }
@keyframes place-dish {
  0% { transform:translateY(-16px) rotate(-9deg);opacity:.3; }
  64% { transform:translateY(3px) rotate(3deg); }
  85% { transform:translateY(-1px) rotate(-1deg); }
  100% { transform:none;opacity:1; }
}
@media(max-width:720px) {
  .brand img{height:44px}.album-copy>.dish-icon { position:absolute;right:4%;top:12%;--dish-size:48px; }
  .g-intro>.dish-icon {--dish-size:56px;margin-top:8px;}
}
@media(max-height:765px) and (min-width:721px){.g-intro>.dish-icon{--dish-size:55px}}
.letters-panel{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:5vw;padding:clamp(48px,8vw,140px) var(--pad);background:#eee3cc}.letters-panel h2{font-size:clamp(48px,6.4vw,108px);margin:12px 0}.letters-panel p{max-width:38ch}.letters-panel .action{margin-top:20px}.kitchen-still-life{position:relative;min-height:clamp(245px,27vw,475px);isolation:isolate;mix-blend-mode:multiply}.kitchen-still-life i{position:absolute;--dish-size:46%;width:var(--dish-size);height:auto}.kitchen-still-life i:nth-child(1){top:0;left:2%;rotate:-14deg;translate:0 calc(var(--phase)*-10px)}.kitchen-still-life i:nth-child(2){left:48%;top:8%;rotate:12deg;translate:calc(var(--phase)*12px) 0}.kitchen-still-life i:nth-child(3){left:26%;bottom:0;rotate:-5deg;translate:0 calc(var(--phase)*9px)}.community .g-intro>.dish-icon{--dish-size:clamp(100px,13vw,196px)}.letter-status{margin-block:12px}
@media(max-width:720px){.letters-panel{grid-template-columns:1fr}.kitchen-still-life{max-width:360px;width:100%;min-height:220px;margin:auto}}
.service-status{padding:9px var(--pad);background:#dce9bd;color:#263923;font:500 14px/1.45 var(--font-ui)}
.community .g-intro,.community .g-paper{min-width:0}.community .g-intro h1{overflow-wrap:break-word}

/* Keep illustrated objects in their own space, including narrow guest and menu pages. */
.host-byline { display:flex; align-items:center; gap:clamp(16px,2.2vw,34px); }
.host-bread { display:block; width:clamp(128px,14vw,205px); height:auto; object-fit:contain; }
.host-note .host-image { transform:rotate(calc(-2deg + 4deg*var(--phase,0))); }
.g-intro>.dish-icon,.community .g-intro>.dish-icon,.heading>.dish-icon,.editorial>div>.dish-icon {
  --dish-size:clamp(112px,12.5vw,190px); width:var(--dish-size); aspect-ratio:1; height:auto; display:block;
}
.jan-invite .dish-icon { width:clamp(124px,14vw,190px); }
.jan-course .dish-icon { width:clamp(80px,7.8vw,112px); }
.course h3::after { width:clamp(80px,7.8vw,112px); flex-shrink:0; }
.course-position { grid-template-columns:clamp(90px,8.5vw,128px) 1fr; }
.course-sketch { width:100%; }
.letters-panel .kitchen-still-life { min-height:0; height:auto; aspect-ratio:1.15; width:min(100%,580px); justify-self:center; }
.letters-panel .kitchen-still-life i:first-child { width:49%; left:0; top:3%; }
.letters-panel .kitchen-still-life i:nth-child(2) { width:42%; left:54%; top:0; }
.letters-panel .kitchen-still-life i:nth-child(3) { width:48%; left:29%; bottom:0; }
@media(prefers-reduced-motion:no-preference){
  html:not(.still) .host-bread { translate:calc(var(--phase,0)*14px) calc(var(--phase,0)*-12px); rotate:calc(-8deg + var(--phase,0)*15deg); }
  html:not(.still) :is(.jan-invite,.jan-course-header,.g-intro,.heading,.editorial>div)>.dish-icon,
  html:not(.still) .course h3::after { translate:calc(var(--ink-travel,0)*9px) calc(var(--ink-travel,0)*-10px); rotate:calc(var(--ink-travel,0)*11deg); }
}
@media(max-width:720px){
  .g-intro>.dish-icon,.community .g-intro>.dish-icon,.heading>.dish-icon,.editorial>div>.dish-icon { --dish-size:clamp(102px,28vw,145px); margin:1rem 0 .5rem; }
  .host-bread { width:clamp(110px,31vw,165px); }
  .letters-panel .kitchen-still-life { max-width:380px; }
  .course h3 { position:static; }
}
@media(min-width:840px) and (max-height:850px){ .jan-aside { position:static; } }


/* Offset against the viewport on entry, then settle and replay as the reader scrolls back. */
.letters-panel { overflow:clip; }
@media(prefers-reduced-motion:no-preference){
  html:not(.still) .letters-panel .kitchen-still-life i:first-child {
    translate:calc(-100% * var(--lemon-gap,0)) calc(38% * var(--lemon-gap,0));
    rotate:calc(-14deg - 26deg * var(--lemon-gap,0));
  }
  html:not(.still) .letters-panel .kitchen-still-life i:nth-child(2) {
    translate:calc(115% * var(--pepper-gap,0)) calc(-48% * var(--pepper-gap,0));
    rotate:calc(12deg + 34deg * var(--pepper-gap,0));
  }
  html:not(.still) .letters-panel .kitchen-still-life i:nth-child(3) {
    translate:calc(15% * var(--tiramisu-gap,0)) calc(102% * var(--tiramisu-gap,0));
    rotate:calc(-5deg - 17deg * var(--tiramisu-gap,0));
  }
}
