/* Milyar, the redesign: "From the pour to the table". The new chapters live here; legacy.css carries the menu, the
   dialogs, the order desk, the visit block and the footer from the first build.
   Everything reads as an ordinary page first. The html element's "js" class (removed when there is no animation
   library or the visitor asks for reduced motion) and each chapter's "is-live" class turn on the pinned layouts. */
:root{--roast:#15100C;--word:#2C2019}
html{scroll-behavior:auto}
body{background:var(--roast)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.milyar-food-picture img,.milyar-food-picture canvas{max-width:none}

/* top bar */
.top{position:fixed;inset:0 0 auto 0;z-index:60;display:flex;align-items:center;gap:clamp(12px,2.2vw,32px);padding:12px var(--pad);color:var(--cream);transition:background .4s var(--ease)}
.top.is-solid{background:rgba(21,16,12,.84);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.top__brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font:400 19px/1 var(--display);letter-spacing:.16em;text-transform:uppercase}
.top__brand img{height:36px;width:auto}
.top__links{display:flex;gap:clamp(14px,2vw,30px);margin-left:auto;font:500 14px/1 var(--text)}
.top__links a{color:inherit;text-decoration:none;opacity:.8;padding:8px 0}
.top__links a:hover,.top__links a:focus-visible{opacity:1}
.top__sound{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid rgba(246,237,223,.35);background:none;color:inherit;cursor:pointer}
.top__order{padding:10px 22px}
@media (max-width:760px){.top__links{display:none}.top__sound{margin-left:auto}}

/* 1. the first pour */
.hero{position:relative;background:var(--roast);color:var(--cream)}
/* marks where the opening's own part ends (the top bar turns solid there) */
.hero__end{position:absolute;left:0;top:0;width:1px;height:100%;visibility:hidden;pointer-events:none}
.hero__stage{position:relative;min-height:100svh;display:flex;align-items:center;padding:96px var(--pad) 56px;overflow:hidden;background:var(--roast);isolation:isolate}
.js .hero .hero__stage{position:sticky;top:0;height:100svh}
.js .hero.is-live{height:320svh}
.hero__word{position:absolute;left:50%;top:50%;margin:0;transform:translate(-50%,-50%);font:400 min(21.5vw,62svh)/.8 var(--display);letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;color:#D2A465;pointer-events:none;-webkit-user-select:none;user-select:none}
.hero__pic{position:absolute;top:50%;left:66%;height:min(108svh,96vw);aspect-ratio:864/1536;transform:translate(-50%,-50%);mix-blend-mode:lighten;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent),linear-gradient(180deg,transparent,#000 10%,#000 90%,transparent);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent),linear-gradient(180deg,transparent,#000 10%,#000 90%,transparent);mask-composite:intersect}
.hero__photo,.hero__view{position:absolute;inset:0;width:100%;height:100%}
.hero__photo{object-fit:contain}
.hero.has-scene .hero__photo{visibility:hidden}
/* wide screens: the drinks chapter is joined to the opening. The opening's stage stays pinned for two more screens
   after its own travel; the drinks chapter lies over that stretch, see-through and untouchable until its first
   drink opens out of the cup. */
@media (min-aspect-ratio:1001/1000) and (min-width:900px){
  .js .hero.is-live{height:420svh}
  .js .hero.is-live.is-still{height:300svh}
  .js .hero.is-live .hero__end{height:calc(100% - 200svh)}
  .js .drinks.is-live.is-joined{margin-top:-200svh;z-index:2;background:none;pointer-events:none}
  .js .drinks.is-live.is-joined .drink{pointer-events:auto}
  .js .drinks.is-live.is-joined>.wave{display:none}
  .js .drinks.is-live.is-joined .drinks__anchor{top:100svh}
}
/* wide screens: the pour fills the whole stage. Its frames carry their own ground out to the edges in the page's
   colour, so nothing is blended; the left of the picture fades out so the words and the big name have the field. */
@media (min-aspect-ratio:1001/1000) and (min-width:900px){
  /* the picture starts under the top bar (so the pot's handle is never behind a button) and its box is exactly
     16:9, the frames' own shape (so no screen can cut the handle or the cup, and the manifest's rectangles map
     straight onto the box). Its edges fade: left for the words, top and
     bottom because the studio light there is not quite the page's colour. */
  /* (closer: the box is --zoom times larger than the room under the bar, placed so the whole serving, which spans
     3.9% to 89.7% of the picture's height and ends 10% from its right edge, stays centred under the bar and
     keeps its place from the right; what overflows the stage is empty studio ground) */
  .hero__word{left:var(--pad);top:50%;z-index:1;transform:translateY(-50%);font-size:min(9.4vw,30svh);opacity:0}
  /* --h0 is the box that just fits under the bar; --h is the closer one: as tall as lets the whole serving through every frame of
     the pour (87.5% of the picture's height: Codex's union of frames 0 to 120, which is a little larger than the
     last frame alone because the pot tilts) stand under the bar with 24 px to spare above and below, and never so
     wide that it takes more than about half the screen. Its centre (71.9% across, 47.1% down the picture)
     stays where it was across, and sits in the middle of the room under the bar. */
  .hero__pic{--bar:72px;--h0:min(calc(100svh - var(--bar)),56.25vw);--h:min(calc((100svh - var(--bar) - 48px) / 0.875),78.1vw);left:auto;right:calc((var(--h0) - var(--h)) * 0.5);top:calc(var(--bar) + (100svh - var(--bar)) / 2 - var(--h) * 0.4708);width:calc(var(--h) * 1.77778);height:var(--h);aspect-ratio:auto;transform:none;mix-blend-mode:normal;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,transparent 22%,#000 46%),linear-gradient(180deg,transparent 0,#000 3.4%,#000 95%,transparent 100%);-webkit-mask-composite:source-in;
    mask-image:linear-gradient(90deg,transparent 0,transparent 22%,#000 46%),linear-gradient(180deg,transparent 0,#000 3.4%,#000 95%,transparent 100%);mask-composite:intersect}
  .hero__photo{object-fit:cover;object-position:68% 50%}
}
.hero__copy{position:relative;z-index:2;max-width:min(540px,40vw)}
.hero__copy h1{margin:.28em 0 .32em;font:400 clamp(40px,5.4vw,92px)/.98 var(--display);letter-spacing:-.01em;text-wrap:balance}
.hero__lede{max-width:38ch;margin:0 0 26px;font-size:clamp(16px,1.2vw,19px);line-height:1.55;color:var(--cream-2)}
.hero__product{position:relative;z-index:2;margin-top:34px;max-width:420px}
.js .hero__product{position:absolute;left:61%;top:44%;margin:0;transform:translateY(-50%);opacity:0;visibility:hidden}
.hero__name{margin:.15em 0 .2em;font:400 clamp(44px,5.6vw,96px)/.96 var(--display)}
.hero__desc{max-width:32ch;margin:0;font-size:clamp(16px,1.2vw,19px);line-height:1.55;color:var(--cream-2)}
.hero__meta{display:flex;align-items:center;gap:20px;margin:24px 0 0}
.hero__price{font:400 clamp(24px,2.2vw,34px)/1 var(--display);color:var(--brass-hi)}
.hero__hint{position:absolute;left:var(--pad);bottom:26px;margin:0;display:none;align-items:center;gap:12px;font:500 12px/1 var(--text);letter-spacing:.2em;text-transform:uppercase;color:var(--cream-2)}
.js .hero.is-live .hero__hint{display:flex}
.hero__hint span{width:44px;height:1px;background:currentColor;transform-origin:0 50%;animation:hint 2.2s var(--ease) infinite}
@keyframes hint{0%{transform:scaleX(0)}55%,100%{transform:scaleX(1)}}
.hero__note{position:absolute;right:var(--pad);bottom:24px;margin:0;font:500 11px/1 var(--text);letter-spacing:.14em;text-transform:uppercase;color:rgba(246,237,223,.46)}
@media (max-aspect-ratio:1/1),(max-width:899px){
  /* The phone's frames keep their own studio ground: lighter at the left edge (about #2A1C1A), darker at the right
     (about #190F0E). The stage's ground runs between those two colours exactly under the picture, the picture is
     drawn as it is (no blending: blending erased the dark wooden handle), and only its empty margins fade. The pot
     spans 7.5% to 95% across and 18% to 62% down, the cup ends at 84%, so the fades stay outside them. */
  .hero{--roast:#221614;--word:#3A2924}
  .hero__stage{flex-direction:column;align-items:stretch;justify-content:flex-end;padding:78px var(--pad) 64px;
    background:linear-gradient(90deg,#2A1C1A calc(50% - 16.3125svh),#190F0E calc(50% + 16.3125svh))}
  .js .hero.is-live{height:210svh}
  /* the big name sits in the clear band under the cup, never behind the pot */
  .hero__word{top:62.5%;z-index:1;font-size:22vw}   /* the whole name with room to spare, even at the 1.08 it grows to */
  .hero__pic{left:calc(50% - 16.3125svh);top:6svh;height:58svh;transform:none;mix-blend-mode:normal;
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 96.5%,transparent),linear-gradient(180deg,transparent,#000 9%,#000 89%,transparent);-webkit-mask-composite:source-in;
    mask-image:linear-gradient(90deg,transparent,#000 6%,#000 96.5%,transparent),linear-gradient(180deg,transparent,#000 9%,#000 89%,transparent);mask-composite:intersect}
  .hero__copy{max-width:none}
  .hero__copy h1{font-size:clamp(34px,9.6vw,54px)}
  .hero__lede{display:none}
  .js .hero__product{left:var(--pad);right:var(--pad);top:auto;bottom:74px;transform:none;max-width:none}
  .hero__name{font-size:clamp(38px,11vw,60px)}
  .hero__hint{left:50%;bottom:20px;transform:translateX(-50%)}
  .hero__note{left:var(--pad);right:auto;top:64px;bottom:auto}
}
/* a phone held sideways: the picture stands at the right, the words at the left, the big name is left out */
@media (max-width:899px) and (min-aspect-ratio:1001/1000){
  .hero__stage{flex-direction:row;align-items:center;justify-content:flex-start;padding:60px var(--pad) 30px;
    background:linear-gradient(90deg,#2A1C1A calc(95% - 49.5svh),#190F0E 95%)}
  .js .hero.is-live{height:230svh}
  .hero__word{display:none}
  .hero__pic{left:auto;right:5%;top:6svh;height:88svh}
  .hero__copy{max-width:52%}
  .hero__copy h1{font-size:clamp(26px,5.4vw,42px)}
  .js .hero__product{left:var(--pad);right:auto;top:52%;bottom:auto;transform:translateY(-50%);max-width:48%}
  .hero__name{font-size:clamp(30px,6.4vw,48px)}
  .hero__hint{left:var(--pad);bottom:8px;transform:none}
  .hero__note{left:auto;right:var(--pad);top:auto;bottom:8px}
}
/* An upright screen (a phone, a tablet held upright). The picture is the whole screen across (--pw), from the first
   frame: never wider than 560 px (its frames are 720 px wide), and never so tall that the cup would end under the two
   buttons. In the frame the pot's handle begins 18% down and the cup ends 84% down; the upper left is empty, and the
   headline stands there, over the picture. The buttons stand under the cup. The big name is not there at first: it
   comes in under the cup while the coffee pours. On a tall screen the picture stands a little lower and the scroll
   hint fits under the buttons. */
@media (max-aspect-ratio:1/1){
  .hero{--foot:84px;--pw:min(100vw,560px,calc((100svh - var(--foot)) * .6696));--ph:calc(var(--pw) * 1.77778);--pt:max(0px,calc((100svh - var(--foot) - var(--ph) * .84) * .4))}
  .hero__stage{display:block;padding:0;
    background:linear-gradient(90deg,var(--g1,#2C1E1C) calc(50% - var(--pw) / 2),var(--g2,#190E0F) calc(50% + var(--pw) / 2))}
  /* The ground behind the picture is the film's own background colour at its left and right edges (--g1, --g2: read
     from the frames by the build, and set by the script as the film plays, because that background drifts). It is
     drawn inside the picture's own box, four times its width, so it moves and shrinks with the picture and the
     picture never shows as a box. The edge fades are on the picture's two layers, not on the box. */
  .hero__pic{left:calc(50% - var(--pw) / 2);top:var(--pt);width:var(--pw);height:var(--ph);aspect-ratio:auto;transform-origin:50% 18%;isolation:isolate;-webkit-mask-image:none;mask-image:none}
  .hero__pic::before{content:"";position:absolute;inset:-150%;z-index:-1;background:linear-gradient(90deg,var(--g1,#2C1E1C) 37.5%,var(--g2,#190E0F) 62.5%)}
  .hero__photo,.hero__view{-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 96.5%,transparent),linear-gradient(180deg,transparent,#000 9%,#000 85.5%,transparent);-webkit-mask-composite:source-in;
    mask-image:linear-gradient(90deg,transparent,#000 6%,#000 96.5%,transparent),linear-gradient(180deg,transparent,#000 9%,#000 85.5%,transparent);mask-composite:intersect}
  .hero__copy{position:absolute;left:calc(50% - var(--pw) / 2);top:0;width:var(--pw);height:100svh;max-width:none;pointer-events:none}
  .hero__copy>*{position:absolute;left:20px;margin:0;pointer-events:auto}
  .hero__copy .eyebrow{top:calc(var(--pt) + 84px);white-space:nowrap}
  .hero__copy h1{top:calc(var(--pt) + 102px);width:48%;margin:0;font-size:calc(var(--pw) * .075);line-height:1.04;text-wrap:wrap}
  .hero__copy .actions{right:20px;bottom:18px;flex-wrap:nowrap}
  .hero__copy .actions .btn{flex:1 1 0;padding:0 12px}
  /* (without scripts or with reduced motion the product's words stand in the page's flow: they begin under the first screen) */
  html:not(.js) .hero__stage{padding:100svh var(--pad) 40px}
  html:not(.js) .hero__product{margin-top:28px}
  /* the hand-over: the picture stays exactly as it is (made smaller, its edges would come inside the screen and
     show as a box); the product's words take the opening words' places */
  .js .hero__product{left:calc(50% - var(--pw) / 2);right:auto;top:0;bottom:auto;width:var(--pw);height:100svh;max-width:none;margin:0;transform:none;pointer-events:none}
  .js .hero__product>*{position:absolute;left:20px;margin:0;pointer-events:auto}
  .js .hero__product .eyebrow{top:calc(var(--pt) + 84px)}
  .js .hero__name{top:calc(var(--pt) + 102px);width:48%;font-size:calc(var(--pw) * .075);line-height:1.04}
  .js .hero__desc{display:none}
  .js .hero__meta{right:20px;bottom:18px}
  .js .hero.is-live .hero__hint{display:none}
  /* (centred by its box, not by a transform: the script moves it, and a percentage shift under a script's own is fragile) */
  .hero__word{display:block;left:0;right:0;top:calc(var(--pt) + var(--ph) * .84 + 4px);z-index:1;transform:none;text-align:center;font-size:calc(var(--pw) * .19);opacity:0}
  /* The drinks chapter is joined to the opening here too. The opening's stage stays pinned for one more screen
     after its own travel (110 of its 310 screen-hundredths), and the drinks chapter lies over that stretch,
     see-through and untouchable, until its first drink opens out of the cup. The top bar turns solid and the
     order bar rises when that first drink has taken the screen (70 hundredths into the join), not before. */
  .js .hero.is-live{height:310svh}
  .js .hero.is-live.is-still{height:280svh}
  .js .hero.is-live .hero__end{height:calc(100% - 130svh)}
}
@media (max-aspect-ratio:11/20){
  .hero{--foot:112px}
  .hero__copy .actions{bottom:46px}
  .js .hero__meta{bottom:46px}
  .js .hero.is-live .hero__hint{display:flex;bottom:16px}
}
/* (a long phone has room for the product's line of description between the cup and the price) */
@media (max-aspect-ratio:47/100){.js .hero__desc{display:block;right:20px;bottom:112px;max-width:none}}

/* a liquid edge between chapters */
.wave{position:absolute;left:0;right:0;bottom:calc(100% - 1px);width:100%;height:clamp(34px,7vw,110px);pointer-events:none;z-index:3;transform-origin:50% 100%}

/* 2. a change of temperature: the cold drinks */
.drinks{position:relative;background:#D9941E;color:var(--cream)}
.drinks .wave{fill:#D9941E}
.drinks__anchor{position:absolute;left:0;top:0;width:1px;height:1px}
.drinks__h{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.drinks__stage{position:relative}
.drinks__count{display:none}
.drink{position:relative;display:grid;grid-template-columns:44% 56%;min-height:100svh;background:var(--tone);color:var(--cream);overflow:hidden}
.drink--dark{color:var(--ink)}
.drink__pic{grid-column:2;grid-row:1;position:relative;overflow:hidden}
.drink__pic picture,.drink__pic img{display:block;width:100%;height:100%}
.drink__pic img{object-fit:cover}
.drink__text{grid-column:1;grid-row:1;align-self:center;position:relative;z-index:2;padding:110px clamp(20px,3vw,48px) 90px var(--pad)}
.drink__text .eyebrow{color:inherit;opacity:.78}
.drink__name{margin:.16em 0 .22em;font:400 clamp(44px,5.6vw,98px)/.96 var(--display);letter-spacing:-.01em}
.drink__desc{max-width:30ch;margin:0;font-size:clamp(16px,1.25vw,20px);line-height:1.5}
.drink__meta{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px;margin:26px 0 0}
.drink__price{font:400 clamp(24px,2.2vw,34px)/1 var(--display)}
.drink__big{position:absolute;left:calc(var(--pad) - .04em);bottom:-.06em;z-index:1;margin:0;font:400 clamp(110px,19vw,360px)/.8 var(--display);letter-spacing:-.02em;white-space:nowrap;opacity:.2;pointer-events:none;-webkit-user-select:none;user-select:none}
.js .drinks.is-live{height:calc(var(--n,4) * 100svh + 35svh)}
.js .drinks.is-live .drinks__stage{position:sticky;top:0;height:100svh;overflow:hidden}
.js .drinks.is-live .drink{position:absolute;inset:0;min-height:0}
.js .drinks.is-live .drinks__count{display:block;position:absolute;right:var(--pad);bottom:28px;z-index:5;margin:0;font:500 13px/1 var(--text);letter-spacing:.18em;color:var(--cream);mix-blend-mode:difference}
.drinks__count b{font:400 26px/1 var(--display);letter-spacing:0}
@media (max-aspect-ratio:1/1),(max-width:899px){
  .drink{grid-template-columns:1fr;min-height:0}
  .drink__pic{grid-column:1;aspect-ratio:4/5}
  .drink__text{grid-row:2;padding:30px var(--pad) 46px}
  .drink__big{display:none}
}
/* An upright screen: the same pinned chapter, joined to the opening. Each drink takes 85 hundredths of a screen of
   scroll (a thumb's stroke), with a short tail. Under the join the chapter has no ground of its own; after it, the
   ground is the order bar's own dark, for the strip a phone shows under the stage once its address bar has gone. */
@media (max-aspect-ratio:1/1){
  .js .drinks.is-live{height:calc((var(--n,4) - .65) * 85svh + 100svh);background:#15100C}
  .js .drinks.is-live.is-joined{margin-top:-200svh;z-index:2;background:linear-gradient(180deg,transparent 200svh,#15100C 200svh);pointer-events:none}
  .js .drinks.is-live.is-joined .drink{pointer-events:auto}
  .js .drinks.is-live.is-joined>.wave{display:none}
  .js .drinks.is-live.is-joined .drinks__anchor{top:85svh}
  /* one drink is one screen: its picture above (the cup's lid just under the top bar), its foot melting into the
     drink's own colour, its words under it and clear of the order bar */
  .js .drinks.is-live .drink{display:flex;flex-direction:column;padding-bottom:calc(68px + env(safe-area-inset-bottom))}
  .js .drinks.is-live .drink__pic{flex:1 1 0;min-height:0;aspect-ratio:auto}
  .js .drinks.is-live .drink__pic img{object-position:50% 64%}
  .js .drinks.is-live .drink__pic::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:24%;background:linear-gradient(0deg,var(--tone),transparent);pointer-events:none}
  .js .drinks.is-live .drink__text{flex:0 0 auto;padding:6px 20px 16px}
  .js .drinks.is-live .drink__name{margin:.12em 0 .2em;font-size:min(11.4vw,7.6svh,64px);white-space:nowrap}
  .js .drinks.is-live .drink__desc{min-height:2.9em;max-width:none;font-size:15px;line-height:1.45}
  .js .drinks.is-live .drink__meta{min-height:44px;margin-top:12px}
  /* the count stands at the right of the price row, in the colour of that drink's words */
  .js .drinks.is-live .drinks__count{right:20px;bottom:calc(68px + env(safe-area-inset-bottom) + 26px);mix-blend-mode:normal;color:var(--cream)}
  .js .drinks.is-live .drinks__count.is-ink{color:var(--ink)}
}
/* (an upright screen that is nearly square: over the words the picture would be a low band and the cup would lose
    its lid and its foot. The picture stands beside the words instead, as on a wide screen, and the whole cup shows.) */
@media (max-aspect-ratio:1/1) and (min-aspect-ratio:3/4){
  .js .drinks.is-live .drink{display:grid;grid-template-columns:46% 54%}
  .js .drinks.is-live .drink__pic{grid-column:2;grid-row:1;aspect-ratio:auto}
  .js .drinks.is-live .drink__pic img{object-position:50% 50%}
  .js .drinks.is-live .drink__pic::after{left:-1px;right:auto;top:0;bottom:0;width:22%;height:auto;background:linear-gradient(90deg,var(--tone),transparent)}
  .js .drinks.is-live .drink__text{grid-column:1;grid-row:1;align-self:center;padding:64px 12px 0 24px}
  .js .drinks.is-live .drink__name{font-size:min(6.6vw,7.4svh,56px);white-space:normal}
  .js .drinks.is-live .drink__desc{min-height:0}
  .js .drinks.is-live .drinks__count{left:24px;right:auto;bottom:calc(68px + env(safe-area-inset-bottom) + 18px)}
}

/* the cafe's own reels: small upright frames, never larger than the footage */
.reels{position:relative;background:var(--ink);color:var(--cream);padding:clamp(80px,12vh,150px) var(--pad) clamp(120px,18vh,220px);overflow:hidden}
.reels__head{max-width:1400px;margin:0 auto clamp(30px,5vh,64px);display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px}
.reels__head h2{margin:.2em 0 0;font:400 clamp(40px,5.4vw,92px)/.98 var(--display);letter-spacing:-.01em}
/* (the first clip comes from a reel only 360 px wide, so on wide screens its frame is at most 180 px wide) */
.reels__row{list-style:none;max-width:1400px;margin:0 auto;padding:0;display:grid;grid-template-columns:minmax(0,180px) repeat(3,minmax(0,300px));justify-content:space-between;align-items:start;gap:clamp(12px,2vw,32px)}
.reel figure{margin:0}
.reel__frame{position:relative;aspect-ratio:9/16;border-radius:14px;overflow:hidden;background:#0c0907;box-shadow:0 30px 60px -30px rgba(0,0,0,.85)}
.reel__frame img,.reel__frame video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.reel__frame video{opacity:0;transition:opacity .5s var(--ease)}
.reel__frame video.is-on{opacity:1}
.reel figcaption{margin-top:12px;font:400 clamp(15px,1.2vw,19px)/1.2 var(--display)}
.reel:nth-child(1){margin-top:16vh}.reel:nth-child(2){margin-top:7vh}.reel:nth-child(3){margin-top:0}.reel:nth-child(4){margin-top:11vh}
/* phones: all four, two by two, the right-hand column a step lower. (The first clip is 360 px wide: a phone tile is
   about 170 px, so it is at its own size on a 2x screen and a little enlarged on a 3x one.) */
@media (max-aspect-ratio:1/1),(max-width:899px){.reels__row{grid-template-columns:repeat(2,minmax(0,1fr))}.reel:nth-child(n){margin-top:0}.reel:nth-child(even){margin-top:28px}}

/* the build: one dish put together piece by piece on a fixed axis (after Scrolltide's Ember and Crumb) */
/* (overflow-x: clip, not hidden: the stack is enlarged as it lets go, and must not widen the page; clip keeps the
   sticky stage working) */
.build{position:relative;background:var(--ink);color:var(--cream);overflow-x:clip}
.build__stack{display:none}
.build__piece,.build__board{position:absolute;left:0;top:0;max-width:none;opacity:0;will-change:transform,opacity}
.build__poster{display:block;width:min(72vw,520px);height:auto;margin:0 auto;padding-top:96px}
.layer{position:relative;background:var(--tone,var(--ink))}
.layer__inner{display:flex;flex-direction:column;justify-content:center;min-height:56svh;padding:90px var(--pad) 70px}
.layer__inner>*{max-width:min(40vw,540px)}
.layer__num{margin:0 0 14px;font:500 13px/1 var(--text);letter-spacing:.2em;color:var(--brass-hi)}
.layer__name{margin:.1em 0 .2em;font:400 clamp(40px,5.6vw,96px)/.98 var(--display);letter-spacing:-.01em;text-wrap:balance}
.layer__line{margin:0;font-size:clamp(16px,1.25vw,20px);line-height:1.5;color:var(--cream-2)}
.layer--serve{background:var(--marble);color:var(--ink)}
.layer--serve .layer__line{color:inherit;opacity:.78}
.layer__meta{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px;margin:26px 0 0;font:400 clamp(24px,2.2vw,34px)/1 var(--display)}
.build__note{position:absolute;right:var(--pad);bottom:18px;z-index:3;margin:0;font:500 11px/1 var(--text);letter-spacing:.14em;text-transform:uppercase;color:rgba(21,16,12,.5)}
/* (the finished picture stands in the pinned stack until the pieces have loaded; the script sizes and places it) */
.js .build.is-live .build__poster{position:absolute;left:0;top:0;width:auto;max-width:none;height:auto;margin:0;padding:0;will-change:transform,opacity}
.js .build.is-live.is-built .build__poster{display:none}
.js .build.is-live .build__stack{display:block;position:sticky;top:0;height:100svh;z-index:2;overflow:hidden;pointer-events:none}
.js .build.is-live .build__layers{margin-top:-100svh}
.js .build.is-live .layer{height:185svh}
.js .build.is-live .layer__inner{position:sticky;top:0;height:100svh;min-height:0}
@media (max-aspect-ratio:1/1),(max-width:899px){.layer__inner{justify-content:flex-end;padding-bottom:96px}.layer__inner>*{max-width:none}}

/* 3. something for the table */
.table{position:relative;background:var(--marble);color:var(--ink)}
.table .wave{fill:var(--marble)}
.table__stage{position:relative;max-width:1680px;margin:0 auto;padding:clamp(86px,12vh,150px) var(--pad) clamp(56px,8vh,96px)}
.table__head{text-align:center}
.table__head h2{margin:.2em 0 0;font:400 clamp(40px,5.4vw,92px)/.98 var(--display);letter-spacing:-.01em;text-wrap:balance}
.table__plates{list-style:none;margin:clamp(26px,4vh,54px) 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.8vw,30px)}
.plate__btn{display:grid;gap:6px;width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.plate__btn img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:5px;box-shadow:0 26px 44px -26px rgba(21,16,12,.6);transition:transform .5s var(--ease)}
.plate__btn:hover img,.plate__btn:focus-visible img{transform:scale(1.035)}
.plate__name{margin-top:6px;font:400 clamp(15px,1.25vw,21px)/1.15 var(--display)}
.plate__price{font:500 13px/1 var(--text);opacity:.66}
.table__more{margin:clamp(26px,4vh,48px) 0 0;text-align:center}
@media (max-width:760px){.table__plates{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-aspect-ratio:1001/1000) and (min-width:900px){
  .js .table.is-live{height:230svh}
  .js .table.is-live .table__stage{position:sticky;top:0;height:100svh;max-width:none;padding:0;overflow:hidden}
  .js .table.is-live .table__head{position:absolute;left:50%;top:45%;width:min(28vw,460px);transform:translate(-50%,-50%);z-index:2}
  .js .table.is-live .table__head h2{font-size:clamp(34px,4.2vw,72px)}
  .js .table.is-live .table__plates{position:absolute;inset:0;margin:0;display:block}
  .js .table.is-live .plate{position:absolute;left:var(--x);top:var(--y);width:min(var(--w),31svh)}
  .js .table.is-live .plate:nth-child(1){--x:4%;--y:13%;--w:16vw;--r:-6deg}
  .js .table.is-live .plate:nth-child(2){--x:80%;--y:15%;--w:15.5vw;--r:7deg}
  .js .table.is-live .plate:nth-child(3){--x:64.5%;--y:10%;--w:14vw;--r:-3deg}
  .js .table.is-live .plate:nth-child(4){--x:21.5%;--y:9%;--w:13vw;--r:4deg}
  .js .table.is-live .plate:nth-child(5){--x:5.5%;--y:56%;--w:14.5vw;--r:5deg}
  .js .table.is-live .plate:nth-child(6){--x:22.5%;--y:62%;--w:15vw;--r:-4deg}
  .js .table.is-live .plate:nth-child(7){--x:62.5%;--y:60%;--w:15.5vw;--r:3deg}
  .js .table.is-live .plate:nth-child(8){--x:81%;--y:57%;--w:13.5vw;--r:-7deg}
  .js .table.is-live .table__more{position:absolute;left:50%;top:calc(45% + min(11vw,150px));margin:0;transform:translateX(-50%);z-index:2}
}

/* 4. the menu. Coffee, then cream, rises over the end of the room (two liquid edges, the dark one leading). The
   chapter opens with the cafe's own dish photographs in one row. Without scripts the row is swiped by hand. With
   them it is pinned and travels with the scroll: the photograph at the centre stands whole, its neighbours step back. */
.menu{position:relative}
.menu .wave{fill:var(--marble)}
.menu .wave--coffee{fill:#3B2415;height:clamp(64px,13vw,200px)}
.voices .wave{fill:var(--ink)}
.sweep{position:relative}
.sweep__row{position:relative;display:flex;gap:clamp(14px,2vw,30px);margin:clamp(20px,3.6vh,40px) 0 0;padding:0 var(--pad) 12px;list-style:none;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.sweep__row::-webkit-scrollbar{display:none}
/* (the item carries the chapter's own ground, so that a photograph waiting outside the screen is still measured
   against marble, not against the page behind the chapter) */
.sweep__item{flex:none;scroll-snap-align:center;background:var(--marble)}
.sweep__btn{display:grid;grid-template-columns:1fr auto;gap:10px 12px;align-items:baseline;width:var(--sw,clamp(200px,58vw,300px));padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sweep__btn img{grid-column:1 / -1;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:14px}
.sweep__name{font:400 clamp(18px,1.5vw,24px)/1.15 var(--display)}
.sweep__price{font:400 clamp(17px,1.3vw,21px)/1 var(--display);color:var(--brick)}
/* wide screens: the whole chapter stands centred: its heading over the row's centre photograph, the tabs, the list
   as one column block in the middle of the page, the two buttons under it. ("safe": if the tabs ever do not fit,
   they start at the left edge and scroll, instead of being cut off on both sides.) */
@media (min-aspect-ratio:1001/1000) and (min-width:900px){
  .sweep .sec-head{max-width:none;justify-items:center;text-align:center}
  .menu__tabs{justify-content:safe center}
  .menu__panels{margin-left:auto;margin-right:auto}
  .menu__blurb{text-align:center}
  .menu__cta{justify-content:center}
}
.js .sweep.is-live{height:250svh}
/* (clip, not hidden: a hidden box can still be scrolled sideways by the browser when focus lands on a photograph outside it) */
.js .sweep.is-live .sweep__stage{position:sticky;top:0;height:100svh;display:flex;flex-direction:column;justify-content:center;padding-top:64px;overflow:hidden;overflow:clip}
.js .sweep.is-live .sweep__row{width:max-content;margin-bottom:0;padding:0;overflow:visible;scroll-snap-type:none;will-change:transform}
.js .sweep.is-live .sweep__btn{--sw:min(40svh,25vw,400px)}
/* (only the photograph steps back in tone; its name and price keep their full contrast) */
.js .sweep.is-live .sweep__item{transform:translateY(calc(var(--k,0) * 1px)) rotate(calc(var(--r,0) * 1deg)) scale(var(--s,1));transform-origin:50% 62%}
.js .sweep.is-live .sweep__btn img{opacity:var(--a,1)}
@media (max-aspect-ratio:1/1){
  /* (the phone's order bar stands over the last 68 px) */
  .js .sweep.is-live .sweep__stage{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
  .js .sweep.is-live .sweep__btn{--sw:min(64vw,38svh)}
}

/* 5. what guests say (after Scrolltide's Guestbook) */
.vh{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.voices{position:relative;background:var(--ink);color:var(--cream);padding:clamp(90px,14vh,170px) var(--pad) clamp(80px,12vh,150px)}
.voices__head{max-width:1100px;margin:0 auto}
.voices__head h2{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px clamp(16px,2.4vw,36px);margin:12px 0 24px;font:inherit}
.voices__num{font:400 clamp(110px,17vw,270px)/.78 var(--display);color:var(--brass-hi);font-variant-numeric:tabular-nums}
.voices__of{padding-bottom:.35em;font:400 clamp(20px,2.3vw,36px)/1.2 var(--display)}
/* the listing's rating as five stars. Each star is filled by its own share of --v (4.3: four whole, three tenths of
   the fifth). Without scripts --v is the rating itself; the script only runs it up from nothing as the chapter arrives. */
.stars{display:flex;gap:clamp(4px,.5vw,8px);margin:0 0 28px}
.star{position:relative;flex:none;width:clamp(24px,2.3vw,36px);aspect-ratio:1}
.star svg{position:absolute;inset:0;width:100%;height:100%}
.star__off{fill:rgba(246,237,223,.16)}
.star__on{fill:var(--brass-hi);clip-path:inset(0 calc((1 - clamp(0, var(--v, 5) - var(--i), 1)) * 100%) 0 0)}
.voices__stack{list-style:none;max-width:1000px;margin:clamp(50px,8vh,90px) auto 0;padding:0}
.voice{position:sticky;top:calc(15vh + var(--i,0) * 20px);margin:0 0 36vh;padding:clamp(26px,4.4vw,64px);border-radius:8px;background:var(--marble);color:var(--ink);box-shadow:0 -22px 60px -34px rgba(0,0,0,.8);transform-origin:50% 0}
.voice:last-child{margin-bottom:0}
/* a card that holds the keyboard's focus comes to the front, so its link is never under the next card */
.voice:focus-within{z-index:9}
@media (max-aspect-ratio:1/1),(max-width:899px){.voice{position:static;margin:0 0 16px}}
.voice figure,.voice blockquote{margin:0}
.voice blockquote p{margin:0;font:400 clamp(26px,3.8vw,58px)/1.1 var(--display);letter-spacing:-.01em;text-wrap:balance}
.voice blockquote p::before{content:"\201C"}
.voice blockquote p::after{content:"\201D"}
.voice figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 18px;margin-top:24px;font:500 14px/1.3 var(--text)}
.voice figcaption b{font:400 20px/1 var(--display)}
.voice figcaption span{opacity:.66}
.voice figcaption a{margin-left:auto;color:var(--brass-lo)}
.voice__mark,.voice__count{display:none}
/* wide screens: one pinned stage. The rating stands on the left; the reviews are a row of slabs, each a slim
   coloured tab with its guest's name until the scroll opens it into a card (--o: 0 shut, 1 open; the script sets
   it). The card's words keep the open width, so nothing re-wraps while a slab moves. The name is one element: it
   stands upright in the tab and swings down into the byline. */
@media (min-aspect-ratio:1001/1000) and (min-width:900px){
  .js .voices.is-live{height:235svh;padding:0}
  .js .voices.is-live .voices__stage{position:sticky;top:0;height:100svh;display:grid;grid-template-columns:minmax(0,31fr) minmax(0,69fr);gap:clamp(28px,4vw,72px);align-items:center;padding:calc(72px + 1svh) var(--pad) 3svh;overflow:hidden}
  .js .voices.is-live .voices__head{max-width:none;margin:0}
  .js .voices.is-live .voices__head h2{flex-direction:column;align-items:flex-start;gap:14px;margin:10px 0 22px}
  .js .voices.is-live .voices__num{font-size:clamp(110px,min(15vw,31svh),270px)}
  .js .voices.is-live .voices__of{padding:0;font-size:clamp(18px,min(2vw,3.8svh),32px)}
  .js .voices.is-live .voices__stack{--tab:clamp(56px,5.4vw,88px);--gap:clamp(8px,.8vw,14px);container-type:inline-size;display:flex;gap:var(--gap);max-width:none;height:clamp(300px,66svh,660px);margin:0}
  .js .voices.is-live .voice{--openw:calc(100cqw - (var(--n,3) - 1) * (var(--tab) + var(--gap)));--x0:calc(var(--tab) / 2 + 13px);--show:clamp(0, (var(--o,0) - .5) / .5, 1);position:relative;top:auto;flex:none;width:calc(var(--tab) + var(--o,0) * (var(--openw) - var(--tab)));height:100%;margin:0;padding:0;border-radius:calc(var(--tab) / 2 - var(--o,0) * (var(--tab) / 2 - 24px));overflow:hidden;background:var(--tone,var(--marble));color:var(--on,var(--ink));box-shadow:none}
  .js .voices.is-live .voice__in{position:absolute;left:0;top:0;width:var(--openw);height:100%;padding:clamp(24px,4.4svh,40px) clamp(26px,2.8vw,44px) 0 var(--x0)}
  .js .voices.is-live .voice__mark{display:block;height:.52em;font:400 clamp(70px,min(8vw,15svh),128px)/1 var(--display);opacity:var(--show)}
  .js .voices.is-live .voice__count{display:block;position:absolute;right:clamp(26px,2.8vw,44px);top:clamp(26px,4.6svh,42px);font:500 12px/1 var(--text);letter-spacing:.18em;opacity:calc(var(--show) * .7)}
  .js .voices.is-live .voice blockquote{margin-top:clamp(12px,2.6svh,26px);opacity:var(--show);transform:translateY(calc((1 - var(--show)) * 16px))}
  .js .voices.is-live .voice blockquote p{font-size:clamp(22px,min(3.3vw,6.4svh),60px)}
  .js .voices.is-live .voice blockquote p::before,.js .voices.is-live .voice blockquote p::after{content:none}
  .js .voices.is-live .voice figcaption{display:block;margin:0}
  .js .voices.is-live .voice figcaption b{position:absolute;left:var(--x0);bottom:clamp(50px,8.4svh,72px);font:400 clamp(18px,1.55vw,24px)/26px var(--display);white-space:nowrap;transform-origin:0 100%;transform:rotate(calc((1 - var(--o,0)) * -90deg))}
  .js .voices.is-live .voice figcaption span{position:absolute;left:var(--x0);bottom:clamp(22px,3.8svh,36px);opacity:calc(var(--show) * .7)}
  .js .voices.is-live .voice figcaption a{position:absolute;right:clamp(26px,2.8vw,44px);bottom:clamp(22px,3.8svh,36px);margin:0;color:inherit;opacity:var(--show)}
  .js .voices.is-live .voice__tab{display:block;position:absolute;inset:0;z-index:1;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:none;color:inherit;cursor:pointer}
  .js .voices.is-live .voice.is-open .voice__tab{pointer-events:none;width:var(--tab)}
  .js .voices.is-live .voice__tab:focus-visible{outline:2px solid currentColor;outline-offset:-6px}
  .js .voices.is-live .voice__n{position:absolute;left:calc(var(--tab) / 2);top:clamp(22px,3.8svh,34px);transform:translateX(-50%);font:500 12px/1 var(--text);letter-spacing:.14em;opacity:calc(1 - var(--show))}
}

/* upright screens: the same slabs as three bars, stacked, opening one at a time on a pinned stage. Each bar carries
   its guest's name and number; open, it shows the quote and the link under them. The words keep the open height,
   so nothing re-wraps while a bar moves. The phone's order bar stands over the last 68 px of the screen, so the
   stage ends above it. */
@media (max-aspect-ratio:1/1){
  .js .voices.is-live.is-up{height:260svh;padding:0}
  .js .voices.is-live.is-up .voices__stage{position:sticky;top:0;height:100svh;display:flex;flex-direction:column;padding:84px var(--pad) calc(80px + env(safe-area-inset-bottom));overflow:hidden}
  .js .voices.is-live.is-up .voices__head{max-width:none;margin:0;flex:none}
  .js .voices.is-live.is-up .voices__head h2{align-items:flex-end;gap:6px 14px;margin:8px 0 10px}
  .js .voices.is-live.is-up .voices__num{font-size:clamp(64px,22vw,96px)}
  .js .voices.is-live.is-up .voices__of{padding-bottom:.2em;font-size:clamp(15px,4.3vw,19px)}
  .js .voices.is-live.is-up .stars{margin:0 0 14px}
  .js .voices.is-live.is-up .voices__head .actions{display:none}
  .js .voices.is-live.is-up .voices__stack{--tab:52px;--gap:8px;container-type:size;display:flex;flex-direction:column;gap:var(--gap);flex:1 1 auto;min-height:0;max-width:none;margin:0}
  .js .voices.is-live.is-up .voice{--openh:calc(100cqh - (var(--n,3) - 1) * (var(--tab) + var(--gap)));--show:clamp(0, (var(--o,0) - .5) / .5, 1);position:relative;top:auto;flex:none;width:100%;height:calc(var(--tab) + var(--o,0) * (var(--openh) - var(--tab)));margin:0;padding:0;border-radius:calc(var(--tab) / 2 - var(--o,0) * (var(--tab) / 2 - 18px));overflow:hidden;background:var(--tone,var(--marble));color:var(--on,var(--ink));box-shadow:none}
  .js .voices.is-live.is-up .voice__in{position:absolute;left:0;top:0;width:100%;height:var(--openh);padding:calc(var(--tab) + 6px) 20px 0}
  .js .voices.is-live.is-up .voice__mark{display:none}
  .js .voices.is-live.is-up .voice__count{display:block;position:absolute;right:20px;top:calc((var(--tab) - 12px) / 2);font:500 12px/1 var(--text);letter-spacing:.18em;opacity:.7}
  .js .voices.is-live.is-up .voice blockquote{opacity:var(--show);transform:translateY(calc((1 - var(--show)) * 12px))}
  .js .voices.is-live.is-up .voice blockquote p{font-size:clamp(22px,6.6vw,32px);line-height:1.12}
  .js .voices.is-live.is-up .voice blockquote p::before,.js .voices.is-live.is-up .voice blockquote p::after{content:none}
  .js .voices.is-live.is-up .voice figcaption{display:block;margin:0}
  .js .voices.is-live.is-up .voice figcaption b{position:absolute;left:20px;top:calc((var(--tab) - 24px) / 2);font:400 19px/24px var(--display);white-space:nowrap}
  .js .voices.is-live.is-up .voice figcaption span{position:absolute;left:20px;bottom:16px;opacity:calc(var(--show) * .7)}
  /* (a touch target of its own: tall enough, and the slab's tab does not lie over it when the slab is open) */
  .js .voices.is-live.is-up .voice figcaption a{position:absolute;right:20px;bottom:8px;display:inline-flex;align-items:center;min-height:32px;margin:0;color:inherit;opacity:var(--show)}
  .js .voices.is-live.is-up .voice.is-open .voice__tab{height:var(--tab)}
  .js .voices.is-live.is-up .voice__tab{display:block;position:absolute;inset:0;z-index:1;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:none;color:inherit;cursor:pointer}
  .js .voices.is-live.is-up .voice.is-open .voice__tab{pointer-events:none}
  .js .voices.is-live.is-up .voice__tab:focus-visible{outline:2px solid currentColor;outline-offset:-5px}
  .js .voices.is-live.is-up .voice__n{display:none}
}

/* 6. the actual place */
.room{position:relative;background:var(--ink);color:var(--cream)}
.room__stage{position:relative}
.room__pic{position:relative;height:min(100svh,64vw);overflow:hidden}
.room__pic picture,.room__pic img{display:block;width:100%;height:100%}
.room__pic img{object-fit:cover}
/* a fixed shade under the words, for reading only; the room's light is never changed */
.room__dusk{position:absolute;inset:0;background:linear-gradient(180deg,rgba(21,16,12,0) 46%,rgba(21,16,12,.9))}
.room__shade,.room__h,.room__view{display:none}
.room__copy{position:relative;z-index:2;max-width:1240px;margin:-16svh auto 0;padding:0 var(--pad) clamp(70px,10vh,130px)}
.room__copy h2{margin:.2em 0 .25em;font:400 clamp(40px,5.6vw,96px)/.98 var(--display);letter-spacing:-.01em}
.room__p{max-width:46ch;margin:0;font-size:clamp(16px,1.25vw,20px);line-height:1.55;color:var(--cream-2)}
.room__facts{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:clamp(30px,5vh,56px) 0 0;padding:26px 0 0;border-top:1px solid rgba(246,237,223,.2)}
.room__facts b{display:block;margin-bottom:6px;font:400 clamp(18px,1.5vw,24px)/1.15 var(--display);color:var(--brass-hi)}
.room__facts span{font-size:14px;color:var(--cream-2)}
.room__go{margin-top:clamp(22px,3.4vh,36px)}
.room__note{position:absolute;right:var(--pad);top:calc(72px + 12px);z-index:5;margin:0;font:500 11px/1 var(--text);letter-spacing:.14em;text-transform:uppercase;color:rgba(246,237,223,.6);text-shadow:0 1px 6px rgba(0,0,0,.6);pointer-events:none}
/* phone layout: the whole wide view of the room, small, with the words under it */
@media (max-aspect-ratio:1/1),(max-width:899px){.room__pic{height:auto;aspect-ratio:16/9}.room__dusk{display:none}.room__copy{margin-top:0;padding-top:28px}.room__facts{grid-template-columns:1fr 1fr}}
/* wide screens: one pinned stage (its copy placement follows Scrolltide's Rann Mahal). The real picture never moves
   or changes size: a full-height window opens on it along the two real columns, then to the whole screen. The words
   stand in the quiet part of the picture, first on the left, then on the right, each over a shade that covers only
   its own side, so the architecture opposite stays clear. */
@media (min-aspect-ratio:1001/1000) and (min-width:900px){
  .js .room.is-live{height:200svh}
  /* joined to the chapter before it: that chapter's stage stays pinned 0.4 of a screen past its own travel, and the
     room lies over that stretch, see-through and untouchable except for its picture's open window and its links */
  .js .table.is-live.is-joined{height:240svh}
  .js .room.is-live.is-joined{height:240svh;margin-top:-140svh;z-index:2;background:none;pointer-events:none}
  .js .room.is-live.is-joined .room__pic,.js .room.is-live.is-joined .room__copy a{pointer-events:auto}
  .js .room.is-live.is-joined.no-join{margin-top:0}   /* the chapter before it could not take its pinned form */
  .js .room.is-live .room__stage{position:sticky;top:0;height:100svh;overflow:hidden}
  /* the picture is fitted the way the film's own manifest says (stamped on the section as data-fit): contained, with
     the page's ink around it, or covering the stage */
  .js .room.is-live .room__pic{position:absolute;inset:0;height:auto;background:var(--ink)}
  .js .room.is-live .room__pic img{object-fit:contain}
  .js .room.is-live[data-fit="cover"] .room__pic img{object-fit:cover}
  /* the film is drawn here by the food-scene engine, over the still; the still is its exact first frame */
  .js .room.is-live .room__view{display:block;position:absolute;inset:0}
  .js .room.is-live.has-scene .room__pic picture{visibility:hidden}
  .js .room.is-live .room__dusk{display:none}
  /* each shade darkens only the band behind its own words: one side, and the middle of the height */
  .js .room.is-live .room__shade{display:block;position:absolute;inset:0;opacity:0;pointer-events:none;-webkit-mask-image:linear-gradient(180deg,transparent 4%,#000 30%,#000 74%,transparent 98%);mask-image:linear-gradient(180deg,transparent 4%,#000 30%,#000 74%,transparent 98%)}
  .js .room.is-live .room__shade--a{background:linear-gradient(90deg,rgba(21,16,12,.9) 0%,rgba(21,16,12,.82) 20%,rgba(21,16,12,.58) 33%,rgba(21,16,12,0) 46%)}
  /* (the right-hand shade is measured from the right-hand group itself: full strength to just past where its words
     begin, at any width, then it tapers away outside them) */
  .js .room.is-live .room__shade--b{--bx:calc(var(--pad) + var(--rbw));background:linear-gradient(270deg,rgba(21,16,12,.92) 0,rgba(21,16,12,.87) calc(var(--bx) + 2.5vw),rgba(21,16,12,0) calc(var(--bx) + 17vw))}
  .js .room.is-live .room__copy{position:absolute;inset:0;z-index:4;max-width:none;margin:0;padding:0}
  .js .room.is-live .room__a,.js .room.is-live .room__b{position:absolute;top:calc(50% + 30px);transform:translateY(-50%)}
  .js .room.is-live .room__a{left:var(--pad);width:min(30vw,560px)}
  .js .room.is-live{--rbw:min(36vw,560px)}
  .js .room.is-live .room__b{right:var(--pad);width:var(--rbw)}
  /* the heading: two lines each, every line behind its own mask */
  .js .room.is-live .room__copy h2,.js .room.is-live .room__h{display:block;margin:0 0 .16em;font:400 clamp(46px,min(6.5vw,13.5svh),124px)/.98 var(--display);letter-spacing:-.015em;color:var(--cream);text-shadow:0 2px 30px rgba(21,16,12,.5)}
  .js .room.is-live .room__l1{display:block}
  .js .room.is-live .ln{display:block;overflow:hidden;padding-bottom:.12em;margin-bottom:-.12em}
  .js .room.is-live .ln>span{display:block}
  .js .room.is-live .room__p{max-width:30ch;font-size:clamp(16px,1.3vw,21px);color:var(--cream);text-shadow:0 1px 18px rgba(21,16,12,.6)}
  .js .room.is-live .room__l2{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  /* the facts as aligned rows of plain text: what, then the detail */
  .js .room.is-live .room__facts{display:block;margin-top:clamp(10px,2vh,20px);padding:0;border:0}
  .js .room.is-live .room__facts li{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:14px;align-items:baseline;padding:clamp(7px,1.2vh,11px) 0;border-top:1px solid rgba(246,237,223,.2)}
  .js .room.is-live .room__facts b{margin:0;font-size:clamp(17px,1.35vw,22px)}
  .js .room.is-live .room__facts b,.js .room.is-live .room__facts span{text-shadow:0 1px 14px rgba(21,16,12,.7)}
  .js .room.is-live .room__facts span{font-size:clamp(13px,1vw,15px);color:var(--cream)}
  .js .room.is-live .room__go{margin-top:clamp(16px,3vh,30px)}
}

/* Upright screens, when the room film has an upright set: a pinned full-screen film (an upright window that travels
   across the room while the camera glides). There is no empty band in that picture, so both caption scenes stand
   at its foot, over a shade that covers only the foot, and the upper room stays clear. The phone's order bar stands
   over the last 68 px. Without the film (reduced motion, no scripts, a failed frame) it is the still and the words. */
/* (two classes, so that it outranks the rule that shows every picture inside the room's box) */
.room__pic .room__up{display:none}
@media (max-aspect-ratio:1/1){
  .js .room.is-live.is-up{height:230svh}
  /* joined to the cheesecake's Served panel, as on wide screens: that panel stays pinned 0.4 of a screen past its own
     travel, and the room lies over that stretch, see-through and untouchable except for its open window and its links */
  .js .room.is-live.is-up.is-joined{height:270svh;margin-top:-140svh;z-index:2;background:none;pointer-events:none}
  .js .room.is-live.is-up.is-joined .room__pic,.js .room.is-live.is-up.is-joined .room__copy a{pointer-events:auto}
  .js .room.is-live.is-up.is-joined.no-join{margin-top:0}
  .js .room.is-live.is-up .room__stage{position:sticky;top:0;height:100svh;overflow:hidden}
  .js .room.is-live.is-up .room__pic{position:absolute;inset:0;height:auto;aspect-ratio:auto;background:var(--ink)}
  .js .room.is-live.is-up .room__pic picture,.js .room.is-live.is-up .room__dusk{display:none}
  .js .room.is-live.is-up .room__up{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  .js .room.is-live.is-up.has-scene .room__up{visibility:hidden}
  .js .room.is-live.is-up .room__view{display:block;position:absolute;inset:0}
  .js .room.is-live.is-up .room__shade{display:block;position:absolute;inset:0;opacity:0;pointer-events:none}
  .js .room.is-live.is-up .room__shade--a{background:linear-gradient(0deg,rgba(21,16,12,.93) 0,rgba(21,16,12,.86) 26%,rgba(21,16,12,0) 46%)}
  .js .room.is-live.is-up .room__shade--b{background:linear-gradient(0deg,rgba(21,16,12,.95) 0,rgba(21,16,12,.9) 40%,rgba(21,16,12,0) 62%)}
  .js .room.is-live.is-up .room__copy{position:absolute;inset:0;z-index:4;max-width:none;margin:0;padding:0}
  .js .room.is-live.is-up .room__a,.js .room.is-live.is-up .room__b{position:absolute;left:var(--pad);right:var(--pad);bottom:calc(86px + env(safe-area-inset-bottom))}
  .js .room.is-live.is-up .room__copy h2,.js .room.is-live.is-up .room__h{display:block;margin:0 0 .14em;font:400 clamp(40px,13.2vw,72px)/.98 var(--display);letter-spacing:-.015em;color:var(--cream)}
  .js .room.is-live.is-up .room__l1{display:block}
  .js .room.is-live.is-up .ln{display:block;overflow:hidden;padding-bottom:.12em;margin-bottom:-.12em}
  .js .room.is-live.is-up .ln>span{display:block}
  .js .room.is-live.is-up .room__l2{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .js .room.is-live.is-up .room__p{max-width:34ch;color:var(--cream)}
  .js .room.is-live.is-up .room__facts{grid-template-columns:1fr 1fr;gap:10px 18px;margin-top:8px;padding-top:12px}
  .js .room.is-live.is-up .room__facts b{margin-bottom:2px;font-size:17px}
  .js .room.is-live.is-up .room__facts span{font-size:13px;color:var(--cream)}
  .js .room.is-live.is-up .room__go{margin-top:14px;flex-wrap:nowrap}
  .js .room.is-live.is-up .room__go .btn{flex:1 1 0;padding:0 12px}
}

/* 7. Visit. The door by day and, over it, the same door at night (the night picture and its label exist only with
   scripts). Wide screens: the chapter is pinned for most of a screen while the picture opens from its edge, the hours
   come in line by line and day turns to night. Upright screens: the picture stays at the top of the screen while
   the address and hours pass under it, turning to night as they go. Nothing a visitor can press ever waits. */
.visit{display:block}
.visit__stage{display:grid}
.visit__night,.visit__late{display:none}
/* (the night picture lies over the day one behind a window that is shut until the script opens it from the top) */
.js .visit__night{display:block;clip-path:inset(0 0 100% 0)}
.js .visit__late{display:block;position:absolute;left:18px;top:18px;margin:0;padding:9px 14px;border-radius:999px;background:rgba(21,16,12,.55);border:1px solid rgba(224,178,113,.6);color:var(--brass-hi);font:600 11px/1 var(--text);letter-spacing:.18em;text-transform:uppercase;opacity:0;visibility:hidden}
@media (min-aspect-ratio:1001/1000) and (min-width:900px){
  .visit__stage{grid-template-columns:minmax(0,5fr) minmax(0,6fr)}
  .js .visit.is-live{height:190svh}
  .js .visit.is-live .visit__stage{position:sticky;top:0;height:100svh;overflow:hidden}
  /* (everything in the words' column is sized from the screen's height as well as its width, so the address, all
     seven days and the two buttons stand inside one screen even on a short window) */
  .js .visit.is-live .visit__info{align-content:center;gap:clamp(8px,1.6svh,18px);padding-top:78px;padding-bottom:20px}
  /* (while the keyboard's focus is on the map button, its box is whole: stronger than the script's own inline window) */
  .js .visit.is-live .visit__map.is-shown{clip-path:none!important}
  .js .visit.is-live .visit__info h2{font-size:clamp(28px,min(3.6vw,6.6svh),64px)}
  .js .visit.is-live address a{font-size:clamp(18px,min(2vw,3.6svh),30px)}
  .js .visit.is-live .hours{font-size:clamp(12.5px,1.9svh,15px)}
  .js .visit.is-live .hours td,.js .visit.is-live .hours th{padding:clamp(2px,.75svh,8px) 0}
}
@media (max-aspect-ratio:1/1){
  .js .visit.is-up .visit__stage{display:flex;flex-direction:column}
  .js .visit.is-up .visit__map{order:-1;position:sticky;top:64px;z-index:2;height:38svh;min-height:0;flex:none}
  .js .visit.is-up .visit__info{padding-top:34px}
}

/* 8. Order: the three steps light up one after another as the desk arrives, and the button after them */
.desk__steps li{position:relative;opacity:calc(.42 + .58 * var(--lit,1))}
.desk__steps li::after{content:"";position:absolute;left:0;top:-1px;width:calc(var(--lit,1) * 100%);height:2px;background:var(--brass)}
.desk__go{transition:transform .25s var(--ease),background-color .35s,color .35s,border-color .35s}
.js .desk__go.is-hot{background:var(--brass);border-color:var(--brass);color:var(--ink)}

/* the footer (after Scrolltide's Hill Country and Wordmark Bleed): a closing invitation beside the cafe's real sign
   at night, the useful facts in one band, the name across the whole width. Ordinary flow, no fixed height. */
.foot{position:relative;display:block;padding:clamp(64px,10vh,120px) var(--pad) clamp(18px,3vh,34px);overflow:hidden;background:var(--ink);color:var(--cream-2);border-top:1px solid rgba(246,237,223,.1);font-size:15px}
.foot__top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,560px);gap:clamp(28px,5vw,80px);align-items:center;max-width:1680px;margin:0 auto}
.foot__h{margin:0 0 .26em;font:400 clamp(44px,6.4vw,112px)/.98 var(--display);letter-spacing:-.01em;color:var(--cream);text-wrap:balance}
.foot__status{display:flex;align-items:center;gap:12px;margin:0 0 26px;font-size:clamp(15px,1.15vw,18px)}
/* the real sign, never larger than 560 px across: the whole lit sign, cut above the lower windows */
.foot__pic{margin:0;aspect-ratio:16/9;border-radius:6px;overflow:hidden}
.foot__pic img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.foot__band{display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr));gap:clamp(20px,4vw,64px);align-items:start;max-width:1680px;margin:clamp(44px,7vh,84px) auto 0;padding-top:clamp(24px,4vh,40px);border-top:1px solid rgba(246,237,223,.16);line-height:1.75}
.foot__band p{margin:0}
.foot__brand img{width:84px;height:auto}
.foot__fine{max-width:1680px;margin:clamp(26px,4.4vh,44px) auto 0;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:rgba(246,237,223,.5)}
/* the name: one line, as wide as the page allows (the script fits it exactly; this size is the safe one without it).
   Its letters rise through this one mask as the page ends. */
.foot__word{margin:clamp(6px,1.4vh,18px) 0 0;padding-bottom:.03em;overflow:hidden;font:400 24.2vw/.84 var(--display);letter-spacing:.02em;text-transform:uppercase;text-align:center;white-space:nowrap;color:#D2A465;pointer-events:none;-webkit-user-select:none;user-select:none}
@media (max-aspect-ratio:1/1),(max-width:899px){
  .foot{padding-bottom:calc(92px + env(safe-area-inset-bottom))}   /* the order bar stands over the last part of the page */
  .foot__top{grid-template-columns:1fr}
  .foot__pic{max-width:560px}
  .foot__band{grid-template-columns:1fr 1fr;gap:22px}
  .foot__brand{grid-column:1 / -1}
}

/* One drink taken apart (Adeni Chai). The picture's ground is one flat colour (--cg, from the film's manifest) and the
   chapter's ground is that same colour, so the picture has no edge anywhere and may be any size. Its frames are 16:9
   (wide) and 2:3 (upright), the same picture cut wider or narrower: the glass's axis is --aw / --at across them, the
   highest ingredient ends --ctop down, the saucer's shadow ends about 92.5% down.
   Without scripts: the finished picture with a name beside each ingredient, the words under it (or beside it). */
.chai{position:relative;background:var(--cg,#F4ECE1);color:var(--ink)}
.chai .wave{fill:var(--cg,#F4ECE1)}
.chai__stage{position:relative;display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:10px;padding:84px var(--pad) 72px}
.chai__box{position:relative;width:min(100%,56svh,520px);aspect-ratio:2/3}
.chai__box picture,.chai__box img{display:block;width:100%;height:100%}
.chai__box .chai__first,.chai__view{display:none}
/* (the upright frames end at the left inside the saucer's soft shadow: the picture fades in over its first tenth,
    where there is nothing but that shadow, so the shadow ends softly and the picture never shows an edge) */
.chai__final{-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%);mask-image:linear-gradient(90deg,transparent,#000 10%)}
.chai__parts{position:absolute;inset:0;margin:0;padding:0;list-style:none;pointer-events:none}
.chai__part{position:absolute;top:calc(var(--y) * 100%);display:flex;align-items:center;gap:8px;transform:translateY(-50%);font:400 clamp(15px,4.2vw,20px)/1.1 var(--display);white-space:nowrap;color:var(--ink)}
.chai__part::before{content:"";flex:0 0 auto;width:clamp(14px,4.6vw,30px);height:1px;background:var(--brass-lo)}
/* (upright frames: the names stand left and right of the column in turn) */
.chai__part:nth-child(odd){right:calc((1 - var(--tl)) * 100% + 8px);flex-direction:row-reverse}
.chai__part:nth-child(even){left:calc(var(--tr) * 100% + 8px)}
.chai__copy{width:min(100%,520px)}
.chai__name{margin:.12em 0 .18em;font:400 clamp(44px,5.6vw,98px)/.96 var(--display);letter-spacing:-.01em}
.chai__desc{max-width:34ch;margin:0;font-size:clamp(16px,1.25vw,20px);line-height:1.5}
.chai__meta{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px;margin:22px 0 0}
.chai__price{font:400 clamp(24px,2.2vw,34px)/1 var(--display)}
.chai__tag{display:none}
@media (min-aspect-ratio:1001/1000){
  .chai__stage{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:6vw;min-height:100svh;padding:96px max(var(--pad),8vw) 72px}
  .chai__box{grid-column:2;grid-row:1;width:auto;height:min(80svh,760px)}
  .chai__copy{grid-column:1;grid-row:1;justify-self:start}
}
/* The live chapter: one pinned screen. The picture is sized by height so that everything in it, from the highest
   ingredient to the saucer's shadow, stands between the top bar and the foot of the screen (the order bar, on a
   phone), and is never cut from above or below. */
.js .chai.is-live{height:330svh}
.js .chai.is-live .chai__stage{position:sticky;top:0;display:block;height:100svh;min-height:0;padding:0;overflow:clip}
.js .chai.is-live .chai__box{position:absolute;top:calc(var(--top) + 10px - var(--bh) * var(--ctop));height:var(--bh);max-width:none;aspect-ratio:auto}
.js .chai.is-live .chai__final{display:none}
.js .chai.is-live .chai__first,.js .chai.is-live .chai__view{display:block;position:absolute;inset:0;width:100%;height:100%}
.js .chai.is-live.has-scene .chai__first{visibility:hidden}
/* (the film could not be used once the visitor was here: the finished picture, laid exactly where the film stood) */
.js .chai.is-live.is-flat .chai__first,.js .chai.is-live.is-flat .chai__view{display:none}
.js .chai.is-live.is-flat .chai__final{display:block;position:absolute;top:0;left:0;width:100%;height:100%}
@media (min-aspect-ratio:1001/1000) and (min-width:900px){
  /* wide: the glass stands right of the middle, its words at the left, the ingredients' names at the right of the column */
  .js .chai.is-live{--top:72px;--bh:calc((100svh - var(--top) - 26px) / (.925 - var(--ctop)));--bw:calc(var(--bh) * 1.77778);--ax:58vw}
  .js .chai.is-live .chai__box{left:calc(var(--ax) - var(--bw) * var(--aw));width:var(--bw)}
  .js .chai.is-live.is-flat .chai__final{left:calc(var(--fx) * 100%);width:calc(var(--fw) * 100%)}
  .js .chai.is-live .chai__part:nth-child(n){left:calc(var(--wr) * 100% + 14px);right:auto;flex-direction:row;gap:12px;font-size:clamp(18px,1.6vw,26px)}
  .js .chai.is-live .chai__part::before{width:clamp(28px,3.4vw,56px)}
  .js .chai.is-live .chai__copy{position:absolute;left:var(--pad);top:50%;transform:translateY(-50%);width:auto;max-width:calc(var(--ax) - var(--bh) * .26 - var(--pad) - 40px)}
}
@media (max-aspect-ratio:1/1){
  /* upright: the picture is the whole screen across where the height allows. The name and its line stand in the empty
     upper half at first; at the end the picture draws back and the name, price and button stand under it. */
  .js .chai.is-live{height:300svh;--top:64px;--bot:calc(68px + env(safe-area-inset-bottom));--bh:min(150vw,calc((100svh - var(--top) - var(--bot) - 14px) / (.925 - var(--ctop))));--bw:calc(var(--bh) * .66667)}
  .js .chai.is-live .chai__box{left:calc(50% - var(--bw) * var(--at));top:calc(var(--top) + 8px - var(--bh) * var(--ctop));width:var(--bw)}
  .js .chai.is-live .chai__first,.js .chai.is-live .chai__view{-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%);mask-image:linear-gradient(90deg,transparent,#000 10%)}
  .js .chai.is-live .chai__copy{position:absolute;inset:0;width:auto;pointer-events:none}
  .js .chai.is-live .chai__head{position:absolute;left:20px;right:20px;top:calc(var(--top) + 22px)}
  .js .chai.is-live .chai__name{font-size:min(15vw,9svh,84px)}
  .js .chai.is-live .chai__desc{max-width:30ch;font-size:15px;line-height:1.45}
  .js .chai.is-live .chai__meta{position:absolute;left:20px;right:20px;bottom:calc(var(--bot) + 12px);flex-wrap:nowrap;gap:12px;margin:0;pointer-events:auto}
  .js .chai.is-live .chai__tag{display:block;font:400 min(7vw,28px)/1 var(--display);white-space:nowrap}
  .js .chai.is-live .chai__price{font-size:min(5.6vw,22px)}
  .js .chai.is-live .chai__meta .btn{margin-left:auto}
  .js .chai.is-live.is-flat .chai__head{visibility:hidden!important}
}

/* production labels are not part of the visible design (the owner, 2 December); they stay readable to screen readers */
.hero__note,.room__note,.build__note,.chai__note{position:absolute!important;left:auto;right:auto;top:auto;bottom:auto;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* the phone's order bar sits above everything but dialogs */
.bar{z-index:55}
