/* ================= THE TOTEMS — a menu for one room (/totem/) =================
   Loaded after table.css (the night tokens on body.tb-page, the sheet, the
   toast) and carta.css (the waiter's list, the gold spark). A totem is a
   screen on a stand: no nav, no links out, big targets, everything on one
   screen. Landscape: the menu, and the order beside it. Portrait and phones:
   the order is a bar at the foot. Photos only cross-fade; cards may move. */

.tt-page{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.tt-page .sheet__btm,.tt-page .btm-notice{display:none!important}
html.tt-held,html.yw-open{overflow:hidden}
.tt[hidden],.tt-list[hidden]{display:none}
.tt-k{font:500 10px/1.6 var(--sans);letter-spacing:.36em;color:var(--gold)}

/* ---------------- totem/ alone: every totem, to open one ---------------- */
.tt-list{position:relative;z-index:1;max-width:1320px;margin:0 auto;padding:clamp(28px,5vh,50px) var(--pad) clamp(60px,10vh,110px)}
.tt-list__top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:clamp(40px,8vh,80px)}
.tt-list__mark .wordmark{height:16px;color:var(--light)}
.tt-list__back{font:500 10px var(--sans);letter-spacing:.3em;color:var(--ink-70);transition:color .3s}
.tt-list__back:hover{color:var(--gold)}
.tt-list__head{max-width:760px;margin-bottom:clamp(36px,6vh,60px)}
.tt-list__t{font:500 clamp(44px,8vw,92px)/1 var(--serif);color:var(--light);margin-bottom:16px}
.tt-list__t em{font-style:italic;color:var(--gold)}
.tt-list__head .tt-k{margin-bottom:22px}
.tt-list__p{max-width:56ch;font:400 clamp(17px,2vw,21px)/1.55 var(--sans);color:var(--ink-70)}
.tt-list__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(18px,2.4vw,30px)}
.tt-list__foot{max-width:60ch;margin:clamp(40px,7vh,70px) auto 0;text-align:center;font:400 17px/1.55 var(--sans);color:var(--ink-45)}
/* a card: the picture beside what it shows, OPEN and the QR */
.tt-pick{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);border-radius:8px;overflow:hidden;border:1px solid rgba(233,181,121,.16);background:rgba(13,7,4,.7)}
/* the picture fills its column, as tall as the words beside it */
.tt-pick__pic{position:relative;display:block;min-width:0;min-height:320px;background:#0e0704;overflow:hidden}
.tt-pick__pic img,.tt-pick__pic video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .6s var(--ease)}
.tt-pick__pic:hover img,.tt-pick__pic:hover video{opacity:.82}
.tt-pick__kind{position:absolute;left:14px;top:14px;padding:8px 12px 7px;border-radius:20px;border:1px solid rgba(233,181,121,.6);
  background:rgba(10,5,2,.6);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);font:500 8.5px var(--sans);letter-spacing:.26em;color:var(--light)}
.tt-pick__body{display:flex;flex-direction:column;gap:12px;padding:clamp(22px,2.6vw,34px)}
.tt-pick__t{font:500 clamp(28px,3vw,40px)/1.04 var(--serif);color:var(--light)}
.tt-pick__t em{display:block;font-style:italic;color:var(--gold)}
.tt-pick__k{font:500 9.5px/1.6 var(--sans);letter-spacing:.3em;color:var(--gold)}
.tt-pick__pitch{max-width:42ch;font:400 17px/1.5 var(--sans);color:var(--ink-70)}
.tt-pick__what{font:500 10px/1.8 var(--sans);letter-spacing:.16em;color:var(--ink-45);text-transform:uppercase}
.tt-pick__what b{font:500 15px var(--serif);letter-spacing:0;color:var(--light)}
.tt-pick__act{display:flex;align-items:center;flex-wrap:wrap;gap:18px 22px;margin-top:auto;padding-top:16px;border-top:1px solid var(--ink-20)}
.tt-pick__go{min-height:56px}
.tt-pick__qr{display:flex;align-items:center;gap:12px}
.tt-pick__qr svg{display:block;width:84px;height:84px;border-radius:6px}
.tt-pick__qr small{font:500 8.5px/1.7 var(--sans);letter-spacing:.24em;color:var(--ink-45)}
@media (min-width:1100px){.tt-list__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){
  .tt-pick{grid-template-columns:minmax(0,1fr)}
  .tt-pick__pic{aspect-ratio:5/4;min-height:0}
  .tt-pick__qr{display:none}   /* on a phone you are already there */
}

/* ---------------- the totem ---------------- */
.tt{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr);min-height:100svh}
.tt-main{display:flex;flex-direction:column;min-width:0;padding:clamp(22px,4vh,44px) var(--pad) calc(96px + env(safe-area-inset-bottom))}

/* the party's name, first and large; the room under it */
.tt-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:clamp(16px,3vh,30px)}
.tt-title{font:500 clamp(32px,4.6vw,64px)/1.02 var(--serif);color:var(--light);margin-bottom:12px}
.tt-title{text-wrap:balance}
.tt-title em{font-style:italic;color:var(--gold);white-space:nowrap}
.tt-side{display:flex;align-items:center;gap:22px;flex:none}
.tt-backlist{padding:10px 16px 9px;border:1px solid var(--ink-20);border-radius:30px;font:500 9.5px var(--sans);letter-spacing:.26em;color:var(--ink-70);white-space:nowrap;transition:color .3s,border-color .3s}
.tt-backlist:hover{color:var(--gold);border-color:var(--gold)}
.tt-clock{flex:none;padding-top:.4em;font:400 clamp(22px,2.4vw,34px)/1 var(--serif);color:var(--ink-70);font-variant-numeric:tabular-nums}

/* the language: English · ไทย · 中文, each in its own words; the one on the screen in gold */
.tt-langs{display:inline-flex;flex:none;gap:2px;padding:3px;border:1px solid var(--ink-20);border-radius:40px}
.tt-langs button{min-width:64px;min-height:42px;padding:0 16px;border:0;border-radius:40px;background:none;
  font:500 14px/1 var(--sans);letter-spacing:.04em;color:var(--ink-70);cursor:pointer;transition:color .3s,background .3s}
.tt-langs button:hover{color:var(--light)}
.tt-langs button[aria-pressed="true"]{background:var(--gold);color:var(--brown)}
/* on the welcome: small, bottom right, level with TOUCH TO ORDER and far from it */
.tt-attract__langs{position:absolute;z-index:3;right:clamp(28px,6vw,90px);bottom:calc(clamp(40px,8vh,110px) + 17px);
  background:rgba(10,5,2,.35);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.tt-attract__langs button{min-width:0;min-height:36px;padding:0 13px;font-size:12px;color:var(--light)}

/* Thai and Chinese: no wide letter-spacing. It breaks Thai marks apart and
   reads oddly in Chinese. The waiter's list keeps its own English look. */
html:is([lang="th"],[lang="zh-Hans"]) body.tt-page :not(.yt-waiter, .yt-waiter *){letter-spacing:0 !important}

/* the tabs: the name large, what is in it beneath */
.tt-tabs{display:flex;gap:10px;margin-bottom:clamp(16px,2.6vh,26px);overflow-x:auto;scrollbar-width:none}
.tt-tabs::-webkit-scrollbar{display:none}
.tt-tab{flex:1 1 0;min-width:150px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:16px 20px 15px;
  border:1px solid var(--ink-20);border-radius:10px;background:rgba(255,247,235,.03);color:var(--ink);text-align:left;cursor:pointer;
  transition:border-color .3s,background .3s}
.tt-tab b{font:500 clamp(22px,2.2vw,30px)/1.1 var(--serif);color:var(--light)}
.tt-tab small{font:500 9px/1.5 var(--sans);letter-spacing:.24em;color:var(--ink-45)}
.tt-tab[aria-selected="true"]{border-color:var(--gold);background:rgba(233,181,121,.1);box-shadow:inset 0 -3px 0 var(--gold)}
.tt-tab[aria-selected="true"] small{color:var(--gold)}

/* the cards: the drink or the dish edge to edge, its buttons under it */
.tt-secs{flex:1;min-height:0}
.tt-sec{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,1.4vw,18px)}
.tt-sec[hidden]{display:none}
.tt-card{display:flex;flex-direction:column;min-width:0;min-height:0;border-radius:6px;overflow:hidden;background:#0e0704;
  border:1px solid rgba(233,181,121,.12)}
.tt-card__media{position:relative;display:block;aspect-ratio:4/5;width:100%;padding:0;border:0;background:#0e0704;cursor:pointer;overflow:hidden}
.tt-card__media img,.tt-card__media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tt-card__about{position:absolute;top:10px;right:10px;padding:7px 11px 6px;border-radius:20px;border:1px solid rgba(255,247,235,.3);
  background:rgba(10,5,2,.5);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);font:500 8.5px var(--sans);letter-spacing:.26em;color:var(--light)}
.tt-card__body{display:flex;flex-direction:column;gap:6px;padding:14px 14px 14px}
.tt-card__name{font:500 clamp(18px,1.5vw,22px)/1.18 var(--sans);color:var(--light);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tt-card__k{font:500 8.5px/1.5 var(--sans);letter-spacing:.26em;color:var(--ink-45)}
.tt-card__buy{display:flex;gap:8px;margin-top:6px}
.tt-buy{position:relative;flex:1 1 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:62px;padding:9px 6px 8px;
  border:1px solid rgba(233,181,121,.55);border-radius:8px;background:rgba(233,181,121,.06);color:var(--light);cursor:pointer;
  transition:background .25s,border-color .25s,transform .15s}
.tt-buy span{font:500 9px var(--sans);letter-spacing:.24em;color:var(--gold)}
.tt-buy b{font:500 17px/1 var(--sans);color:var(--light)}
.tt-buy:active{transform:scale(.97)}
.tt-buy:hover,.tt-buy.is-in{background:rgba(233,181,121,.16);border-color:var(--gold)}
.tt-buy__n{position:absolute;top:-9px;right:-6px;display:grid;place-items:center;min-width:26px;height:26px;padding:0 6px;border-radius:13px;
  background:var(--gold);color:#2a1a0e;font:600 13px/1 var(--sans);font-style:normal;box-shadow:0 2px 10px rgba(0,0,0,.5)}
.tt-buy__n[hidden]{display:none}
.tt-buy:disabled{opacity:.35;cursor:default;background:none;border-color:var(--ink-20)}
.tt-buy:disabled span{color:var(--ink-45)}

/* a package: no prices, and under each drink what is left */
.tt-pack .sheet__price{display:none}
.tt-pack .tt-buy b{font-size:clamp(17px,1.5vw,21px)}
.tt-left{display:flex;align-items:center;gap:10px;margin-top:4px}
.tt-left__bar{position:relative;flex:1;height:4px;border-radius:4px;background:var(--ink-20);overflow:hidden}
.tt-left__bar i{position:absolute;inset:0;border-radius:4px;background:var(--gold);transform-origin:left center;transition:transform .6s var(--ease),background .4s}
.tt-left__t{flex:none;font:500 9px var(--sans);letter-spacing:.2em;color:var(--ink-70);white-space:nowrap}
.tt-left__t b{font:500 15px/1 var(--sans);letter-spacing:0;color:var(--light)}
.tt-left.is-low .tt-left__bar i{background:var(--rong)}
.tt-left.is-low .tt-left__t b{color:var(--rong)}
.tt-tab .tt-left{width:100%;margin-top:6px}
.tt-card__out{position:absolute;left:50%;top:50%;z-index:2;display:none;padding:12px 22px 11px;border:1px solid var(--gold);border-radius:40px;
  transform:translate(-50%,-50%) rotate(-6deg);background:rgba(10,5,2,.72);font:500 12px var(--sans);letter-spacing:.38em;color:var(--gold)}
.tt-card.is-finished .tt-card__out{display:block}
.tt-card.is-finished .tt-card__media img,.tt-card.is-finished .tt-card__media video{filter:grayscale(1) brightness(.45);transition:filter .6s}
.tt-card.is-finished .tt-card__name{color:var(--ink-45)}

/* the order: a bar at the foot that opens over the menu */
.tt-order__bar{position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));z-index:40;transform:translateX(-50%);
  display:flex;align-items:center;gap:14px;width:min(560px,calc(100% - 32px));min-height:64px;padding:10px 24px 10px 12px;
  border:1px solid rgba(233,181,121,.5);border-radius:40px;background:rgba(20,11,6,.92);color:var(--light);cursor:pointer;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 18px 40px -16px rgba(0,0,0,.8)}
.tt-order__bar span:not(.tt-order__n){flex:1;text-align:left;font:500 10px var(--sans);letter-spacing:.3em}
.tt-order__bar b{font:500 17px var(--sans);color:var(--gold)}
.tt-order__bar.is-on{border-color:var(--gold)}
.tt-order__n{display:grid;place-items:center;min-width:42px;height:42px;padding:0 8px;border-radius:21px;background:var(--gold);color:#2a1a0e;font:500 18px/1 var(--sans)}
.tt-order__panel{display:none}
.tt-order.is-open .tt-order__panel{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;background:var(--bg2)}
.tt-order.is-open .tt-order__bar{display:none}
.tt-order__head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:clamp(22px,4vh,36px) clamp(20px,3vw,32px) 18px;border-bottom:1px solid var(--ink-20)}
.tt-order__t{font:500 clamp(30px,3vw,40px)/1.05 var(--serif);color:var(--light);margin-bottom:8px}
.tt-order__x{flex:none;width:52px;height:52px;border:1px solid var(--ink-20);border-radius:50%;background:none;color:var(--light);font:300 28px/1 var(--sans);cursor:pointer}
.tt-order__body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px clamp(20px,3vw,32px)}
.tt-order__body ol{list-style:none}
.tt-line{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--ink-20)}
.tt-line__ph{display:grid;place-items:center;width:56px;height:56px;border-radius:6px;overflow:hidden;background:#0e0704;color:var(--gold);font:400 22px var(--serif)}
.tt-line__ph img{width:100%;height:100%;object-fit:cover}
.tt-line__t{display:flex;flex-direction:column;gap:5px;min-width:0}
.tt-line__t b{font:500 17px/1.2 var(--sans);color:var(--light)}
.tt-line__t span{font:500 10px var(--sans);letter-spacing:.16em;color:var(--ink-45)}
.tt-line__q{display:flex;align-items:center;gap:4px;border:1px solid var(--ink-20);border-radius:30px}
.tt-line__q button{width:46px;height:46px;border:0;border-radius:50%;background:none;color:var(--light);font:400 22px/1 var(--sans);cursor:pointer}
.tt-line__q button:active{background:rgba(233,181,121,.18)}
.tt-line__q b{min-width:22px;text-align:center;font:500 18px var(--sans);color:var(--light)}
.tt-order__empty{padding:30px 0;font:400 18px/1.5 var(--sans);color:var(--ink-70)}
.tt-order__empty p:first-child{font:500 26px/1.2 var(--serif);font-style:normal;color:var(--light);margin-bottom:8px}
.tt-order__empty.is-done p:first-child{color:var(--gold)}
.tt-order__foot{padding:18px clamp(20px,3vw,32px) calc(22px + env(safe-area-inset-bottom));border-top:1px solid rgba(233,181,121,.25);background:rgba(10,5,2,.35)}
.tt-order__foot[hidden]{display:none}
.tt-order__sum{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:14px}
.tt-order__sum span{display:flex;flex-direction:column;gap:4px}
.tt-order__sum span b{font:500 19px var(--sans);color:var(--light)}
.tt-order__sum small{font:500 9px var(--sans);letter-spacing:.2em;color:var(--ink-45)}
.tt-order__sum strong{display:inline-block;font:500 clamp(28px,2.6vw,36px)/1 var(--sans);color:var(--gold)}
/* the guest's name, for the waiter */
.tt-page input{user-select:text;-webkit-user-select:text}
.tt-who{display:flex;flex-direction:column;gap:7px;margin-bottom:14px}
.tt-who span{font:500 9.5px var(--sans);letter-spacing:.28em;color:var(--gold)}
.tt-who input{width:100%;min-height:58px;padding:0 18px;border:1px solid var(--ink-20);border-radius:8px;background:rgba(255,247,235,.04);
  color:var(--light);font:400 20px var(--serif);outline:none;transition:border-color .25s,background .25s}
.tt-who input::placeholder{color:var(--ink-45);font-style:italic}
.tt-who input:focus{border-color:var(--gold);background:rgba(233,181,121,.08)}
/* on the waiter's list, the name large: the one word read across the room */
.tt-yw-who{margin:18px 0 4px;padding:16px 18px;border:2px solid #1b120c;border-radius:6px}
.tt-yw-who span{display:block;font:600 11px var(--sans);letter-spacing:.24em;text-transform:uppercase;color:#8a6a45}
.tt-yw-who span [lang="th"]{display:inline;margin-left:8px;font-size:14px;letter-spacing:0}
.tt-yw-who b{display:block;margin-top:6px;font:500 clamp(34px,8vw,52px)/1.05 var(--serif);color:#1b120c}
.tt-order__msg{min-height:0;margin-bottom:10px;font:400 15px/1.45 var(--sans);color:var(--ink-70)}
.tt-order__msg:empty{display:none}
.tt-go{width:100%;min-height:72px;font-size:12px}
.tt-go:disabled{opacity:.5;cursor:default}
.tt-order__clear{display:block;margin:12px auto 0;padding:10px;border:0;background:none;color:var(--ink-45);font:500 9.5px var(--sans);letter-spacing:.26em;text-transform:uppercase;cursor:pointer}

/* the waiter's list (carta.css): two buttons at the foot */
.tt-waiter{z-index:120}
.tt-waiter__row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:30px}
.tt-waiter__row .yw-back{margin:0}
.tt-waiter__done{flex-direction:column;gap:6px;min-height:72px;padding:12px 36px;border-color:#1b120c;background:#1b120c;color:#fbf8f3}
.tt-waiter__done [lang="th"]{font-size:16px}
.tt-waiter__done:hover{background:#3a2c22;border-color:#3a2c22;color:#fbf8f3}
.tt-waiter .yw-back{min-height:72px}

/* a screen in between (a tablet, a laptop): the cards scroll, three to a row */
@media (min-width:700px){
  .tt-sec{grid-template-columns:repeat(var(--mcols),minmax(0,1fr))}
  .tt-card__media{aspect-ratio:4/3}
}

/* ---------------- a totem's screen: everything on one screen ----------------
   A landscape totem (1920×1080) or a portrait one (1080×1920): the cards fill
   what is left under the tabs, one row up to four, two (or three) after that.
   Anything smaller scrolls, each card keeping its own shape. */
@media (min-width:1100px) and (min-height:700px) and (orientation:landscape),
       (min-width:700px) and (min-height:1100px) and (orientation:portrait){
  .tt{height:100svh;min-height:0;overflow:hidden;grid-template-rows:minmax(0,1fr) auto}
  .tt-main{padding-bottom:calc(100px + env(safe-area-inset-bottom));min-height:0}
  .tt-sec{height:100%;grid-template-columns:repeat(var(--cols),minmax(0,1fr));grid-template-rows:repeat(var(--rows),minmax(0,1fr))}
  .tt-card__media{flex:1;min-height:0;aspect-ratio:auto}
  .tt-buy{min-height:clamp(58px,6.4vh,76px)}
  .tt-buy b{font-size:clamp(17px,1.5vw,21px)}
  .tt-buy span{font-size:clamp(10px,.6vw,12px)}
  /* read from a step away: the small capitals grow with the screen */
  .tt-k{font-size:clamp(10px,.62vw,13px)}
  .tt-tab small{font-size:clamp(9px,.56vw,12px)}
  .tt-card__k,.tt-card__about,.tt-left__t{font-size:clamp(8.5px,.52vw,11px)}
  .tt-line__t span,.tt-order__sum small{font-size:clamp(10px,.56vw,12px)}
}
@media (min-width:700px) and (min-height:1100px) and (orientation:portrait){
  .tt-sec{grid-template-columns:repeat(var(--pcols),minmax(0,1fr));grid-template-rows:repeat(var(--prows),minmax(0,1fr))}
  .tt-title{font-size:clamp(40px,6vw,72px)}
  .tt-card__name{font-size:clamp(22px,2.6vw,30px)}
  .tt-tab small,.tt-card__k{font-size:11px}
  .tt-k{font-size:12px}
  .tt-buy b{font-size:24px}
  .tt-buy span{font-size:12px}
  .tt-buy{min-height:84px}
  .tt-order__bar{min-height:84px;width:min(760px,calc(100% - 64px))}
  .tt-order__bar span:not(.tt-order__n){font-size:13px}
  .tt-order__bar b{font-size:24px}
  .tt-main{padding-bottom:calc(124px + env(safe-area-inset-bottom))}
}
/* landscape: the order is a column of its own, always in sight */
@media (min-width:1100px) and (min-height:640px) and (orientation:landscape){
  .tt{grid-template-columns:minmax(0,1fr) clamp(340px,26vw,440px)}
  .tt-main{padding-bottom:clamp(22px,4vh,44px)}
  .tt-order{position:relative;z-index:2;display:flex;min-height:0;border-left:1px solid rgba(233,181,121,.2);background:rgba(13,7,4,.82)}
  .tt-order__bar,.tt-order__x{display:none!important}
  .tt-order__panel,.tt-order.is-open .tt-order__panel{position:static;display:flex;flex-direction:column;width:100%;min-height:0;background:none}
}

/* phones: one column of cards, the text a little smaller */
@media (max-width:560px){
  .tt-head{flex-direction:column;gap:6px}
  .tt-clock{display:none}
  .tt-tab{min-width:128px;padding:12px 14px}
  .tt-tab b{font-size:20px}
  .tt-tab small{font-size:8px;letter-spacing:.16em}
  .tt-sec{grid-template-columns:minmax(0,1fr)}
  .tt-card__media{aspect-ratio:5/4}
}

/* ---------------- the welcome ---------------- */
.tt-attract{position:fixed;inset:0;z-index:80;background:#0a0503;cursor:pointer;overflow:hidden}
.tt-attract[hidden]{display:none}
.tt-attract__pics{position:absolute;inset:0}
.tt-attract__pic{position:absolute;inset:0;opacity:0;transition:opacity 1.8s var(--ease)}
.tt-attract__pic.is-on{opacity:1}
.tt-attract__pic img,.tt-attract__pic video{display:block;width:100%;height:100%;object-fit:cover}
.tt-attract::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to bottom,rgba(10,5,2,.6),rgba(10,5,2,.08) 26%,rgba(10,5,2,.2) 48%,rgba(10,5,2,.94) 84%)}
.tt-attract__top{position:absolute;z-index:2;top:clamp(26px,5vh,56px);left:clamp(28px,6vw,90px);right:clamp(28px,6vw,90px);display:flex;justify-content:space-between;align-items:center;gap:20px}
.tt-attract__top .wordmark{height:clamp(14px,1.6vw,20px);color:var(--light)}
.tt-attract__clock{font:500 12px var(--sans);letter-spacing:.38em;color:var(--ink-70);font-variant-numeric:tabular-nums}
.tt-attract__now{position:absolute;z-index:2;top:calc(clamp(26px,5vh,56px) + 44px);right:clamp(28px,6vw,90px);max-width:50%;text-align:right;
  font:500 10px/1.6 var(--sans);letter-spacing:.3em;color:var(--light);opacity:.8}
.tt-attract__copy{position:absolute;z-index:2;left:clamp(28px,6vw,90px);right:clamp(28px,6vw,90px);bottom:clamp(40px,8vh,110px)}
.tt-attract__t{font:500 clamp(54px,9.5vmin,140px)/.98 var(--serif);color:var(--light);margin-bottom:22px;text-wrap:balance}
.tt-attract__t em{font-style:italic;color:var(--gold)}
.tt-attract__copy .tt-k{font-size:clamp(11px,1.1vmin,14px);margin-bottom:18px}
.tt-attract__line{max-width:46ch;margin-bottom:34px;font:400 clamp(18px,2.4vmin,26px)/1.45 var(--sans);color:var(--ink-70)}
.tt-attract__go span{display:inline-flex;align-items:center;min-height:76px;padding:0 44px;border:1px solid var(--gold);border-radius:60px;
  font:500 14px var(--sans);letter-spacing:.34em;color:var(--light);animation:ttBreath 2.8s ease-in-out infinite}
@keyframes ttBreath{50%{background:rgba(233,181,121,.16);box-shadow:0 0 40px rgba(233,181,121,.25)}}

/* TOUCH TO ORDER calls every 2.8 s: its star grows and shines, a light passes
   over the button, and a few gold stars rise around it (totem.js, on each
   turn of the star). All three keep the same beat as the breath above. */
.tt-attract__go{position:relative;display:inline-block}
.tt-attract__go span{position:relative;z-index:1;overflow:hidden}
.tt-attract__go span::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(105deg,transparent 35%,rgba(255,236,200,.32) 50%,transparent 65%);
  transform:translateX(-110%);animation:ttSweep 2.8s ease-in-out infinite}
@keyframes ttSweep{0%{transform:translateX(-110%)}28%,100%{transform:translateX(110%)}}
.tt-star{display:inline-block;margin-left:.3em;font-style:normal;color:var(--gold);animation:ttStar 2.8s ease-in-out infinite}
@keyframes ttStar{
  0%{transform:scale(1) rotate(0);text-shadow:none}
  10%{transform:scale(1.9) rotate(90deg);text-shadow:0 0 12px #ffe9c4,0 0 26px rgba(233,181,121,.9)}
  26%,100%{transform:scale(1) rotate(180deg);text-shadow:none}}
.tt-attract__spark{position:absolute;left:-60px;top:-50px;width:calc(100% + 120px);height:calc(100% + 100px);pointer-events:none}

/* narrow screens: no room beside TOUCH TO ORDER, so the languages sit under it */
@media (max-width:700px){
  .tt-attract__copy{bottom:calc(clamp(40px,8vh,110px) + 58px)}
  .tt-attract__langs{bottom:clamp(28px,5vh,60px)}
}

/* "still there?" */
.tt-idle{position:fixed;inset:0;z-index:125;display:grid;place-items:center;padding:24px;background:rgba(5,2,1,.78);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.tt-idle[hidden]{display:none}
.tt-idle__card{display:flex;flex-direction:column;align-items:center;gap:18px;width:min(520px,100%);padding:48px 36px;border-radius:14px;
  border:1px solid rgba(233,181,121,.4);background:var(--bg2);text-align:center}
.tt-idle__t{font:500 clamp(40px,6vmin,60px)/1 var(--serif);color:var(--light)}
.tt-idle__n{display:flex;flex-direction:column;align-items:center;gap:8px}
.tt-idle__n b{font:400 84px/1 var(--serif);color:var(--gold);font-variant-numeric:tabular-nums}
.tt-idle__n span{font:500 11px var(--sans);letter-spacing:.34em;color:var(--ink-45)}
.tt-idle .btn{min-height:72px;padding:0 36px;font-size:13px}

@media (prefers-reduced-motion:reduce){
  .tt-attract__pic{transition:none}
  .tt-attract__go span,.tt-attract__go span::after,.tt-star{animation:none}
}
