/* Johns Creek Screens: screen engine styles.
   One fixed stage (1920 x 1080 landscape, 1080 x 1920 portrait) that engine.js scales to fit any window.
   Everything is driven by custom properties the engine sets from the business's brand:
     palette  --bg --surface --ink --muted --line --accent --on-accent (+ --qr-* from the light palette for the white card)
     type     --f-display --f-accent --f-body --f-label --dw (display weight) --dt (display transform)
   "Voice" comes from the brand's own type, so each business looks like itself:
     .v-soft  serif display (e.g. a salon): arches, hairlines, rounded cards, dotted leaders
     .v-crisp sans display (e.g. a trade): expanded heavy type, square marks, straight rules
     .v-loud  uppercase display (e.g. a pizzeria): stacked caps, solid chips, stickers, offset shadows
   Motion is opacity and transform only (cross-fade ~1.2 s, photo zoom 6%), and html.still switches it all off. */

html, body { margin: 0; height: 100%; overflow: hidden; background: #000; }
*, *::before, *::after { box-sizing: border-box; }

.stage {
  position: absolute; left: 50%; top: 50%;
  width: 1920px; height: 1080px;
  overflow: hidden;
  transform-origin: 50% 50%;
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  opacity: 0; transition: opacity .6s ease;
  --tk-h: 0px;
  --pad: 80px;
}
.stage.P { width: 1080px; height: 1920px; }
.stage.ready { opacity: 1; }
/* Plain element selectors (not :where(), which older TV browsers drop): weaker than every class rule. engine.css is only
   loaded by screen.html, so a page-wide reset is safe. */
p, h1, h2, ul, ol, figure { margin: 0; padding: 0; }
.stage.tk { --tk-h: 84px; }
.stage.P.tk { --tk-h: 96px; }

/* main area sits above the optional ticker band */
.main { position: absolute; left: 0; right: 0; top: 0; bottom: var(--tk-h); overflow: hidden; }

/* ---------- voices ---------- */
.v-crisp { --hl-lh: .97; --hl-ls: -.024em; --wd: 112%; --ac-fs: 1.02em; --ac-ls: -.012em; --r: 10px; --qr-r: 14px; --pill-r: 6px; --rule: 8px; }
.v-soft  { --hl-lh: 1.03; --hl-ls: -.018em; --wd: 100%; --ac-fs: 1em;    --ac-ls: -.01em;  --r: 28px; --qr-r: 24px; --pill-r: 999px; --rule: 0px; }
.v-loud  { --hl-lh: .93; --hl-ls: .006em; --wd: 100%; --ac-fs: .98em;  --ac-ls: -.004em; --r: 0px;  --qr-r: 16px; --pill-r: 0px; --rule: 12px; }

/* ---------- shared pieces ---------- */
.dsp { font-family: var(--f-display); font-weight: var(--dw); text-transform: var(--dt); font-stretch: var(--wd); }
.v-soft .dsp, .v-soft .hl, .v-soft .nm { font-variation-settings: "SOFT" 50; }

/* brand lockup */
.brand { position: absolute; z-index: 6; display: flex; align-items: center; gap: 22px; color: var(--ink); }
.brand .mk { flex: none; width: 64px; height: 64px; color: var(--accent); }
.brand .mk svg { display: block; width: 100%; height: 100%; }
.brand .nm { display: block; font-family: var(--f-display); font-weight: var(--dw); text-transform: var(--dt); font-stretch: var(--wd);
  font-size: 44px; line-height: 1; white-space: nowrap; }
.brand .sb { display: block; margin-top: 12px; font-family: var(--f-label); font-size: 20px; line-height: 1; letter-spacing: .24em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.v-crisp .brand .nm { font-size: 42px; letter-spacing: -.012em; }
.v-soft  .brand .nm { font-size: 50px; letter-spacing: -.004em; font-weight: 400; }
.v-soft  .brand .sb { margin-top: 10px; }
.v-loud  .brand .nm { font-size: 50px; letter-spacing: .03em; }
.v-loud  .brand .sb { margin-top: 10px; font-weight: 700; }

/* label above a headline */
.lbl { display: flex; align-items: center; gap: 20px; font-family: var(--f-label); font-weight: 500; font-size: 22px; line-height: 1.1;
  letter-spacing: .24em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.v-soft .lbl::before { content: ""; flex: none; width: 56px; height: 2px; background: currentColor; }
.v-crisp .lbl::before { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; }
.v-loud .lbl { align-self: flex-start; gap: 0; font-weight: 700; color: var(--on-accent); background: var(--accent); padding: 11px 14px 10px 18px; }

/* headline: the headline words, then the italic accent phrase on its own line */
.hl { width: 100%; font-family: var(--f-display); font-weight: var(--dw); text-transform: var(--dt); font-stretch: var(--wd);
  font-size: 110px; line-height: var(--hl-lh); letter-spacing: var(--hl-ls); color: var(--ink); text-wrap: balance; }
.hl .a { display: block; font-family: var(--f-accent); font-style: italic; font-weight: 400; text-transform: none; font-stretch: 100%;
  font-size: var(--ac-fs); letter-spacing: var(--ac-ls); color: var(--accent); }
.v-soft .hl { font-weight: 400; }
.v-loud .hl .a { line-height: 1.02; margin-top: .06em; }
.v-crisp .hl .a { line-height: 1.04; margin-top: .1em; }

/* supporting line */
.ln { font-family: var(--f-body); font-size: 36px; line-height: 1.36; color: var(--muted); text-wrap: balance; }
.ln .pr { color: var(--accent); font-weight: 600; white-space: nowrap; margin-left: .3em; }

/* price sticker (loud voice) */
.stk { position: absolute; z-index: 4; width: 212px; height: 212px; border-radius: 50%; background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px var(--bg); }
/* The tilt sits on the text: the sticker itself also rises with the copy, and .rise owns its transform. */
.stk b { font-family: var(--f-display); font-weight: var(--dw); text-transform: var(--dt); font-size: 96px; line-height: 1; letter-spacing: .01em; white-space: nowrap;
  transform: rotate(-8deg); }
.stk b small { font-family: var(--f-label); font-size: 22px; letter-spacing: .14em; text-transform: uppercase; display: block; text-align: center; margin-bottom: 4px; }

/* the white QR card: one action */
.qr { position: relative; z-index: 4; flex: none; display: flex; align-items: center; background: #fff; color: var(--qr-ink); border-radius: var(--qr-r); }
.qr .qq { flex: none; width: 184px; height: 184px; color: var(--qr-ink); }
.qr .qq svg { display: block; width: 100%; height: 100%; }
.qr .qq svg path { fill: var(--qr-ink); }
.qr .qv { font-family: var(--f-label); font-weight: 500; font-size: 24px; line-height: 1.25; letter-spacing: .22em; text-transform: uppercase; color: var(--qr-ink); }
.qr .qu { font-family: var(--f-body); font-size: 22px; line-height: 1.2; color: var(--qr-muted); white-space: nowrap; }
.qr .qc { position: absolute; right: 16px; bottom: 8px; font-family: var(--f-label); font-size: 11px; line-height: 1; letter-spacing: .06em; color: #8f8f8f; white-space: nowrap; }
.qr-h { gap: 32px; padding: 22px 52px 22px 22px; }
.qr-h .qv::after { content: ""; display: block; width: 44px; height: 2px; background: var(--qr-accent); margin: 18px 0 16px; }
.qr-v { flex-direction: column; width: 280px; padding: 26px 18px 34px; text-align: center; }
.qr-v .qv { font-size: 22px; letter-spacing: .2em; padding-left: .2em; text-wrap: balance; }
.qr-v .qq { width: 204px; height: 204px; margin: 22px 0 18px; }
.qr-v .qu { font-size: 20px; }
.qr-sm.qr-h .qq { width: 160px; height: 160px; }
.qr-sm.qr-h { padding-top: 18px; padding-bottom: 18px; }
.qr-sm.qr-v .qq { width: 180px; height: 180px; margin: 18px 0 14px; }
.v-soft .qr { border: 1px solid var(--qr-line); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .45); }
.v-crisp .qr { box-shadow: inset 0 7px 0 var(--qr-accent), 0 18px 40px -26px rgba(0, 0, 0, .5); }
.v-crisp .qr-h { padding-top: 29px; }
.v-crisp .qr-v { padding-top: 33px; }
.v-crisp .qr-sm.qr-h { padding-top: 25px; padding-bottom: 16px; }
.v-loud .qr { box-shadow: 10px 10px 0 var(--accent); }
.v-loud .qr .qv { font-weight: 700; }
.th-dark.v-soft .qr, .th-dark.v-crisp .qr { box-shadow: 0 20px 44px -22px rgba(0, 0, 0, .8); }
.th-dark.v-crisp .qr { box-shadow: inset 0 7px 0 var(--qr-accent), 0 20px 44px -22px rgba(0, 0, 0, .8); }

/* small tags */
.sample { flex: none; display: inline-block; font-family: var(--f-label); font-weight: 500; font-size: 20px; line-height: 1; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); padding: 9px 11px 8px 15px; border: 2px solid var(--line); border-radius: var(--pill-r);
  background: var(--bg); white-space: nowrap; }
.dots { display: flex; gap: 10px; }
.dots i { display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--accent); opacity: .24; transition: opacity .8s ease; }
.dots i.on { opacity: 1; }
.v-crisp .dots i { width: 28px; height: 6px; border-radius: 0; }
.v-loud .dots i { width: 34px; height: 8px; border-radius: 0; }
.dots.lite i { background: #fff; opacity: .5; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 1px 8px rgba(0, 0, 0, .45); }
.dots.lite i.on { opacity: 1; }

.clock { white-space: nowrap; text-align: right; }
.clock .ck-d { display: block; font-family: var(--f-label); font-size: 20px; line-height: 1; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.clock .ck-t { font-family: var(--f-display); font-weight: var(--dw); font-stretch: var(--wd); font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.clock .ck-a { font-family: var(--f-label); font-size: 22px; letter-spacing: .1em; margin-left: 10px; color: var(--muted); }
.v-soft .clock .ck-t { font-weight: 400; }

.foot { position: absolute; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  font-family: var(--f-label); font-size: 20px; line-height: 1; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.rule { position: absolute; z-index: 3; background: var(--accent); }

/* photos */
.ph { position: absolute; overflow: hidden; background: var(--surface); }
.ph img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- slides and motion ---------- */
.slides { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; }
.slide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; z-index: 1; transition: opacity 0s linear 1.3s; }
.slide.on { opacity: 1; z-index: 2; transition: opacity 1.2s ease; }
.slide.on .ph img { animation: jcs-zoom var(--zoom, 10s) cubic-bezier(.3, .2, .3, 1) both; }
@keyframes jcs-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.rise { opacity: 0; transform: translateY(24px); transition: opacity .35s ease, transform 0s linear .4s; }
.slide.on .rise { opacity: 1; transform: none; transition: opacity 1s ease .3s, transform 1s cubic-bezier(.2, .7, .2, 1) .3s; }
.slide.on .rise.d2 { transition-delay: .5s; }
.slide.on .rise.d3 { transition-delay: .7s; }

.still .stage, .still .stage * { transition: none !important; animation: none !important; }
.stage.fitting .rise { transform: none !important; transition: none !important; }

/* fit fallbacks (engine.js fitSlide): tighter gaps, then no supporting line, then clip; never onto the footer */
.stage .slide.tight .hl { margin-top: 18px; }
.stage .slide.tight .ln { margin-top: 20px; }
.stage .slide.tight .lnrow { margin-top: 20px; }
.stage .slide.tight .lnrow .ln { margin-top: 0; }
.stage.t-spotlight.L .slide.tight .copy .ln { margin-bottom: 28px; }
.stage .slide.noline .ln { display: none; }
.stage .slide.clip .copy, .stage .slide.clip .fcopy, .stage .slide.clip .wtxt, .stage .slide.clip .pcopy { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .slide.on .ph img { animation: none; }
  .rise { transform: none !important; }
}

/* ---------- ticker band ---------- */
.ticker { position: absolute; z-index: 8; left: 0; right: 0; bottom: 0; height: var(--tk-h); display: flex; align-items: center; overflow: hidden;
  background: var(--tk-bg, var(--surface)); color: var(--tk-ink, var(--ink)); }
.ticker .tk-cap { flex: none; position: relative; z-index: 2; height: 100%; display: flex; align-items: center; gap: 18px; padding: 0 36px 0 var(--pad);
  background: inherit; font-family: var(--f-label); font-weight: 500; font-size: 20px; letter-spacing: .24em; text-transform: uppercase; }
.ticker .tk-cap svg { display: block; width: 40px; height: 40px; color: var(--tk-acc, var(--accent)); }
.ticker .tk-run { flex: 1; min-width: 0; height: 100%; overflow: hidden; white-space: nowrap; display: flex; align-items: center; }
.ticker .tk-strip { display: inline-flex; align-items: center; white-space: nowrap; animation: jcs-tick var(--tk-dur, 60s) linear infinite; }
.ticker .tk-i { display: inline-flex; align-items: center; font-family: var(--f-body); font-weight: 500; font-size: 34px; line-height: 1; }
.ticker .tk-i::after { content: ""; flex: none; width: 12px; height: 12px; margin: 0 40px; background: var(--tk-acc, var(--accent)); }
.v-soft .ticker .tk-i::after { border-radius: 50%; width: 10px; height: 10px; }
.v-loud .ticker .tk-i::after { transform: rotate(45deg); }
@keyframes jcs-tick { to { transform: translateX(-50%); } }
.v-soft .ticker { --tk-bg: var(--surface); box-shadow: inset 0 1px 0 var(--line); }
.v-crisp .ticker { --tk-bg: var(--ink); --tk-ink: var(--bg); --tk-acc: var(--accent-x); }
.v-loud .ticker { --tk-bg: var(--accent); --tk-ink: var(--on-accent); --tk-acc: var(--on-accent); }
.v-loud .ticker .tk-i { font-weight: 600; }
.t-welcome.v-loud .ticker { --tk-bg: var(--ink); --tk-ink: var(--bg); --tk-acc: var(--accent-x); }  /* the band above is already accent */

/* =====================================================================
   SPOTLIGHT: a big photo beside the message
   ===================================================================== */
.t-spotlight .brand { left: var(--px); top: 80px; }
.t-spotlight .topr { position: absolute; z-index: 6; top: 80px; min-height: 64px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 16px; }
.t-spotlight .copy { position: absolute; z-index: 3; display: flex; flex-direction: column; }
.t-spotlight .copy .hl { margin-top: 30px; }
.t-spotlight .copy .ln { margin-top: 34px; }
.t-spotlight.L .copy .ln { margin-bottom: 48px; }   /* at least this much air above the QR card */
.t-spotlight .foot { left: var(--px); width: var(--pw); bottom: 80px; }

/* landscape */
.t-spotlight.L .topr { right: calc(1920px - var(--px) - var(--pw)); }
.t-spotlight.L .copy { left: var(--px); width: var(--pw); top: 240px; bottom: 168px; }
.t-spotlight.L .copy .qr { margin-top: auto; align-self: flex-start; }
.t-spotlight.L .ph { top: 0; bottom: 0; }
.t-spotlight.L.tk .copy { top: 220px; bottom: 116px; }
.t-spotlight.L.tk .foot { bottom: 52px; }
.t-spotlight.L.tk .foot > span:first-child { visibility: hidden; }
.t-spotlight.L.v-crisp { --px: 96px; --pw: 864px; }
.t-spotlight.L.v-crisp .ph { left: 1060px; right: 0; }
.t-spotlight.L.v-crisp .rule { left: 1052px; width: 8px; top: 0; bottom: 0; }
.t-spotlight.L.v-loud { --px: 984px; --pw: 840px; }
.t-spotlight.L.v-loud .ph { left: 0; width: 880px; }
.t-spotlight.L.v-loud .rule { left: 880px; width: 12px; top: 0; bottom: 0; }
.t-spotlight.L.v-loud .stk { left: 630px; top: 72px; }
.t-spotlight.L.v-soft { --px: 944px; --pw: 880px; }
.t-spotlight.L.v-soft .ph { left: 80px; width: 760px; top: 80px; bottom: 80px; border-radius: 380px 380px var(--r) var(--r); }
.t-spotlight.L.v-soft .arch { position: absolute; z-index: 1; left: 58px; width: 804px; top: 58px; bottom: 58px; border: 2px solid var(--accent); opacity: .5;
  border-radius: 402px 402px 40px 40px; }

/* portrait */
.t-spotlight.P { --px: 80px; --pw: 920px; }
.t-spotlight.P .topr { right: 80px; }
.t-spotlight.P .ph { left: 0; right: 0; top: 200px; height: 940px; }
.t-spotlight.P .rule { left: 0; right: 0; top: 1140px; height: var(--rule); }
.t-spotlight.P .copy { left: 80px; right: 80px; top: 1228px; bottom: 168px; padding-bottom: 24px; }
.t-spotlight.P .copy > :first-child { margin-top: auto; }
.t-spotlight.P .copy > :last-child { margin-bottom: auto; }
.t-spotlight.P .qr { position: absolute; right: 80px; top: 890px; }
.t-spotlight.P.v-loud .stk { right: 96px; top: 240px; }
.t-spotlight.P.v-soft .ph { left: 140px; right: 140px; top: 210px; height: 930px; border-radius: 400px 400px var(--r) var(--r); }
.t-spotlight.P.v-soft .arch { position: absolute; z-index: 1; left: 118px; right: 118px; top: 188px; height: 974px; border: 2px solid var(--accent); opacity: .5;
  border-radius: 422px 422px 40px 40px; }
.t-spotlight.P.v-soft .qr { top: 900px; }
/* the clock stacks above the Sample tag in the top corner, so the photo starts a little lower */
.t-spotlight.P.clk .ph { top: 236px; height: 904px; }
.t-spotlight.P.clk.v-soft .ph { top: 246px; height: 894px; }
.t-spotlight.P.clk.v-soft .arch { top: 224px; height: 938px; }

/* =====================================================================
   MENU BOARD: list panel + rotating feature
   ===================================================================== */
.t-menu .hdr { position: absolute; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.t-menu .hdr .brand { position: static; }
.open { text-align: right; white-space: nowrap; }
.open .op-l { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-family: var(--f-label); font-weight: 500; font-size: 20px;
  line-height: 1; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.open .op-l i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.open .op-v { display: block; margin-top: 12px; font-family: var(--f-body); font-weight: 500; font-size: 34px; line-height: 1; color: var(--ink); }

.t-menu .lst { position: absolute; z-index: 3; display: flex; flex-direction: column; }
.t-menu .ttl { flex: none; display: flex; align-items: baseline; justify-content: space-between; gap: 32px; }
.t-menu .ttl h2 { font-family: var(--f-display); font-weight: var(--dw); text-transform: var(--dt); font-stretch: var(--wd);
  font-size: 58px; line-height: 1; letter-spacing: var(--hl-ls); white-space: nowrap; }
.v-soft.t-menu .ttl h2 { font-weight: 400; font-size: 62px; }
.v-loud.t-menu .ttl h2 { font-size: 66px; letter-spacing: .01em; }
.t-menu .ttl p { font-family: var(--f-label); font-size: 20px; line-height: 1.3; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); text-align: right; text-wrap: balance; }
.t-menu .cols { flex: 1; min-height: 0; display: grid; grid-template-columns: auto auto; column-gap: 56px; align-content: start; margin-top: 32px; }
.t-menu .col { min-width: 0; }
.t-menu .sec + .sec { margin-top: var(--gg, 48px); }
.t-menu .sh { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--f-label); font-weight: 500; font-size: 22px; line-height: 1;
  letter-spacing: .24em; text-transform: uppercase; color: var(--accent); padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: calc(var(--ig, 24px) + 2px); }
.v-loud.t-menu .sh { border-bottom: 3px solid var(--accent); font-weight: 700; }
.v-crisp.t-menu .sh { border-bottom: 2px solid var(--ink); }
.t-menu .it { margin-bottom: var(--ig, 24px); }
.t-menu .it:last-child { margin-bottom: 0; }
.t-menu .row { display: flex; align-items: baseline; gap: 16px; }
.t-menu .it .nm { flex: 0 1 auto; min-width: 0; font-family: var(--f-body); font-weight: 600; font-size: var(--nm, 40px); line-height: 1.12; }
.t-menu .ldr { flex: 1 1 0; min-width: 12px; }
.v-soft.t-menu .ldr { border-bottom: 3px dotted var(--line); transform: translateY(-.28em); }
.t-menu .it .pr { flex: none; font-family: var(--f-body); font-weight: 500; font-size: var(--nm, 40px); line-height: 1.14; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.t-menu .it .pr small { font-family: var(--f-label); font-size: max(20px, .5em); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: .4em; }
.t-menu .it .pr .pw { font-family: var(--f-label); font-size: 22px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.v-soft.t-menu .it .nm { font-weight: 500; }
.v-soft.t-menu .it .pr { font-family: var(--f-display); font-weight: 400; }
.v-crisp.t-menu .it .nm { font-weight: 600; letter-spacing: -.01em; }
.v-crisp.t-menu .it .pr { font-family: var(--f-display); font-weight: 700; font-stretch: 100%; }
.v-loud.t-menu .it .nm { font-family: var(--f-display); font-weight: var(--dw); text-transform: var(--dt); font-size: calc(var(--nm, 40px) * 1.04); letter-spacing: .012em; line-height: 1.12; }
.v-loud.t-menu .it .pr { font-family: var(--f-display); font-weight: var(--dw); color: var(--accent); font-size: calc(var(--nm, 40px) * 1.04); letter-spacing: .02em; line-height: 1.12; }
.t-menu .ds { margin-top: 4px; font-family: var(--f-body); font-size: 30px; line-height: 1.24; color: var(--muted); text-wrap: balance; }
.t-menu .lst.nodesc .ds { display: none; }
.t-menu .tag { flex: none; align-self: center; font-family: var(--f-label); font-weight: 700; font-size: 20px; line-height: 1; letter-spacing: .18em; text-transform: uppercase;
  background: var(--accent); color: var(--on-accent); padding: 8px 10px 7px 14px; border-radius: calc(var(--pill-r) / 2); white-space: nowrap; }
.t-menu .it.out .nm { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--accent); }

.t-menu .feat { position: absolute; z-index: 2; overflow: hidden; background: var(--bg); }
.t-menu .feat .ph { left: 0; right: 0; top: 0; }
.t-menu .feat .ph::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 34%, rgba(var(--bg-rgb), .62) 52%, rgba(var(--bg-rgb), .93) 66%, rgb(var(--bg-rgb)) 78%),
              linear-gradient(180deg, rgba(var(--bg-rgb), .35) 0%, rgba(var(--bg-rgb), 0) 18%); }
.t-menu .fcopy { position: absolute; z-index: 3; left: 80px; right: 80px; top: 476px; bottom: 80px; display: flex; flex-direction: column; }
/* Copy boxes hang their content with auto margins rather than justify-content, so an overflow always runs downward
   where the fitting code can measure it. */
.t-menu .fcopy > :first-child { margin-top: auto; }
.t-menu .fcopy .hl { margin-top: 24px; }
.t-menu .fcopy .ln { margin-top: 26px; color: var(--ink); }
/* Only on the showing slide: this beats .rise { opacity: 0 }, and the outgoing slide stays up while the next one fades in. */
.t-menu .slide.on .fcopy .ln { opacity: .86; }
/* Light menus: the label sits where the photo is still fading out, so give it the page colour behind it. */
/* The chip is painted with a shadow so it adds no height: the copy fits exactly as it did without it. */
.th-light.t-menu.v-soft .fcopy .lbl, .th-light.t-menu.v-crisp .fcopy .lbl { align-self: flex-start; background: var(--bg);
  box-shadow: 0 0 0 8px var(--bg); padding: 0 6px 0 4px; margin-left: -4px; }
.t-menu .feat .qr { position: absolute; right: 80px; top: 80px; }
.t-menu .ftop { position: absolute; z-index: 6; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.t-menu .ftop .sample { border-color: transparent; }

/* landscape */
.t-menu.L .rule { left: 1040px; width: max(4px, calc(var(--rule) / 2)); top: 0; bottom: 0; }
.t-menu.L .hdr { left: 88px; width: 872px; top: 80px; }
.t-menu.L .lst { left: 88px; width: 872px; top: 180px; bottom: 156px; padding-top: 44px; }
.t-menu.L .foot { left: 88px; width: 872px; bottom: 72px; padding-top: 24px; border-top: 1px solid var(--line); }
.t-menu.L .feat { left: 1044px; right: 0; top: 0; bottom: 0; }
.t-menu.L .feat .ph { height: 66%; }
.t-menu.L .feat .ph::after {
  background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 30%, rgba(var(--bg-rgb), .62) 46%, rgba(var(--bg-rgb), .9) 58%, rgb(var(--bg-rgb)) 70%),
              linear-gradient(180deg, rgba(var(--bg-rgb), .35) 0%, rgba(var(--bg-rgb), 0) 18%); }
/* the headline runs the full width; the line sits beside the QR card under it, clear of the photo's subject */
.t-menu.L .fcopy { top: 300px; }
.t-menu.L .fcopy .lnrow { display: flex; align-items: flex-start; gap: 36px; margin-top: 30px; }
.t-menu.L .fcopy .lnrow .ln { flex: 1; min-width: 0; margin-top: 0; }
.t-menu.L .feat .qr { position: relative; right: auto; top: auto; }
.t-menu.L .feat .qr-v { width: 244px; padding: 22px 14px 30px; }
.t-menu.L .feat .qr-v .qv { font-size: 20px; }
.t-menu.L .feat .qr-v .qq { width: 184px; height: 184px; margin: 18px 0 14px; }
.t-menu.L .feat .qr-sm.qr-v .qq { width: 164px; height: 164px; }
.v-crisp.t-menu.L .feat .qr-v { padding-top: 29px; }
/* a headline too long for that: the card stands beside the whole copy instead (engine adds .side) */
.t-menu.L .slide.side .fcopy { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto auto auto; column-gap: 32px; }
.t-menu.L .slide.side .fcopy > .lbl { grid-row: 2; grid-column: 1; margin-top: 0; justify-self: start; }
.t-menu.L .slide.side .fcopy > .hl { grid-row: 3; grid-column: 1; }
.t-menu.L .slide.side .fcopy .lnrow { display: contents; }
.t-menu.L .slide.side .fcopy .lnrow .ln { grid-row: 4; grid-column: 1; margin-top: 26px; }
.t-menu.L .slide.side.tight .fcopy .lnrow .ln { margin-top: 20px; }
.t-menu.L .slide.side .fcopy .qr { grid-row: 1 / 5; grid-column: 2; align-self: end; }
.t-menu.L .ftop { left: 1124px; top: 80px; }
.t-menu.L .foot .clock .ck-t { font-family: var(--f-label); font-weight: 500; font-size: 20px; letter-spacing: .2em; font-stretch: 100%; }
.t-menu.L .foot .clock .ck-a { font-size: 20px; margin-left: .5em; color: inherit; }

/* portrait */
.t-menu.P .hdr { left: 80px; right: 80px; top: 80px; }
.t-menu.P .feat { left: 0; right: 0; top: 214px; height: 800px; }
.t-menu.P .feat .ph { height: 100%; }
.t-menu.P .feat .ph::after { background: linear-gradient(180deg, rgba(var(--bg-rgb), .3) 0%, rgba(var(--bg-rgb), 0) 14%, rgba(var(--bg-rgb), 0) 26%, rgba(var(--bg-rgb), .66) 42%, rgba(var(--bg-rgb), .94) 54%, rgb(var(--bg-rgb)) 64%); }
.t-menu.P .fcopy { top: 330px; bottom: 40px; right: 400px; }
.t-menu.P .feat .qr { top: auto; bottom: 40px; }
.t-menu.P .ftop { left: 80px; top: 262px; }
.t-menu.P .rule { left: 0; right: 0; top: 1014px; height: max(4px, calc(var(--rule) / 2)); }
.t-menu.P .lst { left: 80px; right: 80px; top: 1018px; bottom: 156px; padding-top: 34px; }
.t-menu.P .cols { column-gap: 56px; }
.t-menu.P .foot { left: 80px; right: 80px; bottom: 72px; padding-top: 24px; border-top: 1px solid var(--line); }
.t-menu.P .foot .clock .ck-t { font-family: var(--f-label); font-weight: 500; font-size: 20px; letter-spacing: .2em; font-stretch: 100%; }
.t-menu.P .foot .clock .ck-a { font-size: 20px; margin-left: .5em; color: inherit; }

/* =====================================================================
   WELCOME: lobby screen with greeting, time and hours
   ===================================================================== */
.t-welcome .brand { left: 96px; top: 80px; }
.t-welcome .open { position: absolute; z-index: 6; }
.t-welcome .sample { position: absolute; z-index: 6; }
.t-welcome .band { position: absolute; z-index: 5; left: 0; bottom: 0; display: flex; background: var(--accent); color: var(--on-accent); }
.t-welcome .band .hi { font-family: var(--f-display); font-weight: var(--dw); text-transform: var(--dt); font-stretch: var(--wd); font-size: 76px; line-height: 1.02;
  letter-spacing: var(--hl-ls); white-space: nowrap; }
.v-soft.t-welcome .band .hi { font-weight: 400; }
.t-welcome .band .wl { margin-top: 14px; font-family: var(--f-body); font-size: 34px; line-height: 1.3; text-wrap: balance; }
.t-welcome .band .clock .ck-t { font-size: 96px; color: var(--on-accent); }
.t-welcome .band .clock .ck-a { font-size: 28px; color: var(--on-accent); }
.t-welcome .band .clock .ck-d { color: var(--on-accent); margin: 16px 0 0; }
.t-welcome .band .dots { justify-content: flex-end; margin-top: 22px; }
.t-welcome .band .dots i { background: var(--on-accent); opacity: .3; }
.t-welcome .band .dots i.on { opacity: 1; }
.t-welcome .hrs { display: grid; grid-template-columns: auto auto; column-gap: 36px; row-gap: 12px; font-size: 30px; line-height: 1.15; white-space: nowrap; }
.t-welcome .hrs dt { font-family: var(--f-label); font-size: 22px; letter-spacing: .16em; text-transform: uppercase; align-self: center; }
.t-welcome .hrs dd { margin: 0; font-family: var(--f-body); font-weight: 500; text-align: right; }
.t-welcome .wcopy { position: absolute; z-index: 3; display: flex; align-items: center; gap: 56px; }
.t-welcome .wtxt { flex: 1; min-width: 0; align-self: stretch; display: flex; flex-direction: column; }
.t-welcome .wtxt > :first-child { margin-top: auto; }
.t-welcome .wtxt > :last-child { margin-bottom: auto; }
.t-welcome .wcopy .qr { align-self: center; }
.t-welcome.L .band .gr { flex: 1; min-width: 0; }
.t-welcome.L .band .bx { flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.t-welcome .wtxt .hl { margin-top: 28px; }
.t-welcome .wtxt .ln { margin-top: 32px; }

/* landscape */
.t-welcome.L .ph { top: 0; bottom: 0; left: 1200px; right: 0; }
.t-welcome.L .rule { top: 0; bottom: 0; left: calc(1200px - var(--rule)); width: var(--rule); }
.t-welcome.L .open { right: 824px; top: 84px; }
.t-welcome.L .sample { right: 80px; top: 80px; }
.t-welcome.L .band { width: calc(1200px - var(--rule)); height: 268px; padding: 0 96px; align-items: center; justify-content: space-between; gap: 48px; }
.t-welcome.L .wcopy { left: 96px; width: 1000px; top: 200px; bottom: 268px; }
.t-welcome.L.v-soft .ph { left: 1180px; right: 80px; top: 80px; bottom: 80px; border-radius: 330px 330px var(--r) var(--r); }
.t-welcome.L.v-soft .arch { position: absolute; z-index: 1; left: 1158px; right: 58px; top: 58px; bottom: 58px; border: 2px solid var(--accent); opacity: .5; border-radius: 352px 352px 40px 40px; }
.t-welcome.L.v-soft .band { width: 1120px; border-top-right-radius: 48px; }
.t-welcome.L.v-soft .sample { top: 118px; right: auto; left: 1510px; transform: translateX(-50%); border-color: transparent; }

/* portrait */
.t-welcome.P .brand { left: 80px; }
.t-welcome.P .sample { right: 80px; top: 92px; }
.t-welcome.P .ph { left: 0; right: 0; top: 200px; height: 720px; }
.t-welcome.P .rule { left: 0; right: 0; top: 920px; height: var(--rule); }
.t-welcome.P { --phb: 920px; }
.t-welcome.P .qr { position: absolute; z-index: 4; right: 80px; top: auto; bottom: calc(1920px - var(--tk-h) - var(--phb) + 28px); }
.t-welcome.P .wcopy { left: 80px; right: 80px; top: 1000px; bottom: 480px; }
.t-welcome.P .band { left: 0; right: 0; height: 432px; padding: 64px 80px 64px; flex-direction: column; justify-content: space-between; }
.t-welcome.P .band .b-top { position: relative; }
/* the dots sit in the top corner, so the welcome line below the greeting gets the band's full width */
.t-welcome.P .band .b-top .dots { position: absolute; right: 0; top: 30px; margin-top: 0; }
.t-welcome.P .band .hi { padding-right: 320px; }
.t-welcome.P .band .b-bot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.t-welcome.P .band .b-bot.noclock { justify-content: flex-start; }
.t-welcome.P .band .b-bot.noclock .hrs { column-gap: 56px; }
.t-welcome.P .band .b-bot.noclock .hrs dd { text-align: left; }
.t-welcome.P .band .clock { text-align: left; }
.t-welcome.P .band .clock .ck-d { margin: 0 0 14px; }
.t-welcome.P.v-soft .ph { left: 140px; right: 140px; top: 210px; height: 710px; border-radius: 400px 400px var(--r) var(--r); }
.t-welcome.P.v-soft .arch { position: absolute; z-index: 1; left: 118px; right: 118px; top: 188px; height: 754px; border: 2px solid var(--accent); opacity: .5; border-radius: 422px 422px 40px 40px; }
.t-welcome.P.v-soft .band { border-radius: 48px 48px 0 0; }
/* with a ticker the photo gives up 80px so the copy keeps its room */
.t-welcome.P.tk { --phb: 840px; }
.t-welcome.P.tk .ph { height: 640px; }
.t-welcome.P.tk .rule { top: 840px; }
.t-welcome.P.tk .wcopy { top: 920px; }
.t-welcome.P.tk.v-soft .ph { height: 630px; }
.t-welcome.P.tk.v-soft .arch { height: 674px; }

/* =====================================================================
   POSTER: full-screen photo, one bold line
   ===================================================================== */
.t-poster .ph { top: 0; right: 0; bottom: 0; left: 0; }
.t-poster .scrim { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; }
.t-poster .pcopy { position: absolute; z-index: 3; display: flex; flex-direction: column; }
.t-poster .pcopy .hl { margin-top: 30px; }
.t-poster .pcopy .ln { margin-top: 30px; color: var(--ink); }
.t-poster .brand { left: 80px; top: 80px; }
.t-poster .topr { position: absolute; z-index: 6; right: 80px; top: 80px; height: 64px; display: flex; align-items: center; gap: 28px; }
.t-poster .sample { border-color: transparent; }
.t-poster .qr { position: absolute; z-index: 4; right: 80px; bottom: 80px; }

.th-dark.t-poster.L .scrim { background:
  linear-gradient(90deg, rgba(var(--bg-rgb), .9) 0%, rgba(var(--bg-rgb), .72) 34%, rgba(var(--bg-rgb), .18) 60%, rgba(var(--bg-rgb), 0) 72%),
  linear-gradient(0deg, rgba(var(--bg-rgb), .85) 0%, rgba(var(--bg-rgb), .3) 34%, rgba(var(--bg-rgb), 0) 55%),
  linear-gradient(180deg, rgba(var(--bg-rgb), .78) 0%, rgba(var(--bg-rgb), .5) 13%, rgba(var(--bg-rgb), 0) 27%); }
.th-dark.t-poster.P .scrim { background:
  linear-gradient(0deg, rgba(var(--bg-rgb), .96) 0%, rgba(var(--bg-rgb), .86) 30%, rgba(var(--bg-rgb), .35) 50%, rgba(var(--bg-rgb), 0) 64%),
  linear-gradient(180deg, rgba(var(--bg-rgb), .8) 0%, rgba(var(--bg-rgb), .52) 8%, rgba(var(--bg-rgb), 0) 17%); }

.th-dark.t-poster .scrim::after { content: ""; position: absolute; left: 0; bottom: 0;
  width: min(100%, calc(var(--sx, 0px) + 360px)); height: calc(var(--sh, 0px) + 240px);
  background: linear-gradient(90deg, rgba(var(--bg-rgb), .76) 0, rgba(var(--bg-rgb), .76) calc(100% - 360px), rgba(var(--bg-rgb), 0) 100%);
  -webkit-mask-image: linear-gradient(0deg, #000 calc(100% - 240px), transparent 100%);
  mask-image: linear-gradient(0deg, #000 calc(100% - 240px), transparent 100%); }
.th-dark.t-poster.P .scrim::after { width: 100%; background: rgba(var(--bg-rgb), .66); }

.t-poster.L .pcopy { left: 80px; bottom: 80px; width: 1180px; max-height: calc(100% - 250px); }
.t-poster.L .stk { right: 116px; bottom: 470px; }
.t-poster.P .pcopy { left: 80px; right: 80px; bottom: 80px; max-height: calc(100% - 560px); }
.t-poster.P .pcopy .lnrow { display: flex; align-items: flex-start; gap: 48px; margin-top: 34px; }
.t-poster.P .pcopy .lnrow .ln { flex: 1; min-width: 0; margin-top: 0; }
.t-poster.P .pcopy .qr { position: relative; right: auto; bottom: auto; }
.t-poster.P .stk { right: 96px; top: 300px; }
.t-poster.P .topr { flex-direction: column; align-items: flex-end; justify-content: flex-start; height: auto; gap: 18px; }
.t-poster.P .topr .clock { order: -1; }

/* light poster: solid paper panels instead of scrims */
.th-light.t-poster .brand { left: 0; top: 0; padding: 56px 56px 44px 80px; background: var(--bg); border-bottom-right-radius: var(--r); }
.th-light.t-poster .pcopy { left: 0; bottom: 0; background: var(--bg); padding: 64px 80px 80px; border-top-right-radius: var(--r); max-height: calc(100% - 170px); }
.th-light.t-poster.L .pcopy { width: 1260px; }
.th-light.t-poster.P .pcopy { right: 0; }
.th-light.t-poster .topr { top: 0; right: 0; height: auto; min-height: 164px; padding: 50px 80px 44px 56px; background: var(--bg);
  border-bottom-left-radius: var(--r); }
.th-light.t-poster .topr:empty { display: none; }
.th-light.t-poster .topr .sample { background: var(--bg); border-color: var(--line); }
.th-light.v-crisp.t-poster .pcopy { box-shadow: inset 0 8px 0 var(--accent); padding-top: 72px; }
.th-light.v-loud.t-poster .pcopy { box-shadow: inset 0 12px 0 var(--accent); padding-top: 76px; }
.th-light.t-poster .pcopy .ln { color: var(--muted); }

/* =====================================================================
   NOT SET UP card
   ===================================================================== */
.t-error .ecard { position: absolute; z-index: 3; display: flex; flex-direction: column; }
.t-error .brand { left: 120px; top: 96px; }
.t-error.P .brand { left: 80px; top: 80px; }
.t-error .ecard { left: 120px; right: 120px; top: 50%; transform: translateY(-46%); }
.t-error.P .ecard { left: 80px; right: 80px; }
.t-error .ecard .hl { margin-top: 30px; font-size: 104px; max-width: 1300px; }
.t-error .ecard .ln { margin-top: 36px; max-width: 1200px; }
.t-error .ecard .path { margin-top: 44px; font-family: var(--f-label); font-size: 22px; letter-spacing: .08em; color: var(--muted); overflow-wrap: anywhere; }
.t-error .foot { left: 120px; right: 120px; bottom: 80px; }
.t-error.P .foot { left: 80px; right: 80px; }
.t-error .glow { position: absolute; z-index: 0; right: -260px; bottom: -320px; width: 1100px; height: 1100px; border-radius: 50%;
  border: 2px solid var(--line); }
.t-error .glow::after { content: ""; position: absolute; top: 120px; right: 120px; bottom: 120px; left: 120px; border-radius: 50%; border: 2px solid var(--line); }
