/* T01 Cinema — DAYLIGHT. Bright, bold, photography-led. Reference: Popmenu-class restaurant sites (Aga's). */
:root {
  --brand-readable: var(--brand);   /* brand-tokens.js darkens this when the brand fails AA */
  --brand-ink: #fff;                /* brand-tokens.js flips this to near-black on a light brand */
  --brand-on-dark: var(--brand);    /* brand-tokens.js lightens this for text on dark panels */
  --font-display-fallback: Georgia, "Times New Roman", serif;
  --font-body-fallback: system-ui, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", var(--font-display-fallback);
  --font-body: "Inter Tight", var(--font-body-fallback);
  --font-script: var(--font-display);
  --font-mono: var(--font-body);
  --bg: #FFFFFF;
  --bg-2: #F7F4EE;              /* warm cream for alternating panels */
  --bg-card: #FFFFFF;
  --line: #E9E4DB;
  --line-bright: #D5CEC2;
  --ink: #1C1B19;
  --ink-soft: #4A4741;
  --ink-muted: #6F6A62;   /* was #7D786F — 4.1:1, below the AA floor of 4.5:1 */
  --brand: #DD340E;             /* bold red default; tenant --brand overrides */
  --brand-dark: #B02407;
  --brand-glow: rgba(221, 52, 14, .18);
  --wa: #25D366; --wa-deep: #0F7A40; --wa-glow: rgba(37, 211, 102, .25);   /* white text needs 4.5:1; #128C4A gives 4.31 */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
*:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }
em { font-style: italic; color: var(--brand); }

/* Nav: white bar, three actions */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 12px 28px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a:not(.btn) { font-size: .92rem; font-weight: 600; color: var(--ink-soft); padding: 8px 12px; border-radius: 8px; }
.nav-links a:not(.btn):hover { color: var(--brand-readable); background: var(--bg-2); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 2px; margin: 0 8px; }
.lang button { border: 0; background: none; color: var(--ink-muted); font: inherit; font-size: .8rem; padding: 4px 9px; border-radius: 99px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang:empty { display: none; }

/* Buttons: bold, square-ish, no glow */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 6px; font-weight: 700; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn svg { width: 20px; height: 20px; }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-brand:hover { background: var(--brand-dark); }
.btn-wa { background: var(--wa-deep); color: #fff; }
.btn-wa:hover { background: #0E6E3A; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.quiet { font-weight: 600; color: var(--brand-readable); padding: 8px 4px; text-decoration: underline; text-underline-offset: 4px; }

/* Rail */
.rail { position: fixed; right: 18px; top: 50%; translate: 0 -50%; z-index: 15; list-style: none; display: grid; gap: 10px; }
.rail li button { display: block; width: 8px; height: 8px; padding: 0; border: 0; cursor: pointer;
  border-radius: 50%; background: var(--line-bright); }
.rail li button[aria-current="true"] { background: var(--brand); }
.rail li button:hover::after { content: attr(data-label); position: absolute; right: 18px; margin-top: -6px; font-size: .75rem; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 4px 8px; border-radius: 6px; white-space: nowrap; }

/* Screens */
.reel { height: 100dvh; overflow-y: auto; scroll-snap-type: y proximity; overscroll-behavior-y: contain; }
.screen { position: relative; min-height: 100dvh; scroll-snap-align: start; display: grid; isolation: isolate; }
.screen:nth-of-type(even) { background: var(--bg-2); }
.wrap { width: min(1180px, 100% - 56px); margin: 0 auto; padding: 110px 0 72px; align-self: center; }
.wrap.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.wrap.centre { text-align: center; display: grid; justify-items: center; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-readable); margin-bottom: 12px; display: block; }
.script { font-size: 1.1rem; color: var(--ink-muted); margin-bottom: 8px; }
h1, h2 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); margin-bottom: 14px; }
.sub { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 58ch; margin-bottom: 26px; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 52ch; margin: 14px 0 20px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tags span { font-size: .8rem; font-weight: 700; color: var(--ink); background: var(--bg-2); border-radius: 4px; padding: 6px 12px; }
.tags .halal { color: #fff; background: var(--ink); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.grain { display: none; }

/* Hero: big square photo right, statement left, three actions */
.s-hero { display: grid; align-items: center; }
.hero-grid { width: min(1180px, 100% - 56px); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 100px 0 56px; }
.hero-inner h1 { margin: 0; }
.frame { border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; width: 100%; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.frame img, .frame video, .media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media::after { display: none; }
.rise { opacity: 0; transform: translateY(14px); }
.s-hero.in .rise { animation: lift .55s cubic-bezier(.2,.7,.2,1) forwards; }
.s-hero.in .rise:nth-child(1) { animation-delay: .05s } .s-hero.in .rise:nth-child(2) { animation-delay: .15s } .s-hero.in .rise:nth-child(3) { animation-delay: .25s }
.s-hero.in .rise:nth-child(4) { animation-delay: .35s } .s-hero.in .rise:nth-child(5) { animation-delay: .45s } .s-hero.in .rise:nth-child(6) { animation-delay: .55s }
@keyframes lift { to { opacity: 1; transform: none; } }

/* Signature screens: alternate photo side, big square photo */
.s-sig { display: grid; align-items: center; }
.sig-grid { width: min(1180px, 100% - 56px); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 100px 0 56px; }
.s-sig:nth-of-type(odd) .sig-grid .frame { order: 2; }
.sig { display: grid; gap: 14px; }
.s-sig .count { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-readable); }
.s-sig h2 { margin: 0; }
.s-sig .story { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--ink-soft); line-height: 1.6; max-width: 52ch; }
.s-sig .meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.s-sig .meta .price { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; color: var(--ink); }
.s-sig .meta span:not(.price) { font-size: .8rem; font-weight: 700; background: var(--bg-2); border-radius: 4px; padding: 5px 11px; }
.s-sig .discover { display: flex; gap: 8px; flex-wrap: wrap; }
.s-sig .discover button { font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line-bright); border-radius: 6px; padding: 8px 14px; cursor: pointer; }
.s-sig .discover button:hover { border-color: var(--ink); }
.s-sig .discover .more { color: var(--brand); border-color: var(--brand); }
.s-sig .cta { display: flex; gap: 14px; align-items: center; margin-top: 6px; }
.s-sig .cta small { font-size: .8rem; color: var(--ink-muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* Rituals */
.times { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 340px)); gap: 18px; }
.time { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: grid; grid-template-rows: 170px auto; transition: box-shadow .2s, transform .2s; }
.time:hover { box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); transform: translateY(-3px); }
.time img, .time > div:first-child { width: 100%; height: 100%; object-fit: cover; }
.time > div:first-child { background: var(--brand) !important; }
.time .body { padding: 16px 18px 18px; }
.time .day { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-readable); }
.time b { display: block; font-family: var(--font-display); font-size: 1.35rem; margin: 4px 0 6px; }
.time p { font-size: .92rem; color: var(--ink-soft); }
.time .price { margin-top: 10px; font-weight: 700; }
.time .price s { color: var(--ink-muted); font-weight: 400; margin-left: 6px; }

/* Programme (category) screens */
.s-cat .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; padding: 100px 0 60px; }
.s-cat .poster { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; }
.s-cat .poster img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.s-cat .poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.65)); }
.s-cat .poster .cap { position: absolute; left: 20px; right: 20px; bottom: 18px; color: #fff; }
.s-cat .poster .cap b { font-family: var(--font-display); font-size: 1.6rem; display: block; }
.s-cat .poster .cap span { font-size: .9rem; opacity: .9; }
.s-cat .bill-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.s-cat .bill-head h2 { margin: 0; }
.s-cat .bill-head .n { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; }
.s-cat .catdesc { color: var(--ink-soft); margin-bottom: 14px; }
.bill { list-style: none; columns: 2; column-gap: 32px; }
.bill li { break-inside: avoid; display: grid; grid-template-columns: 56px 1fr auto auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.bill li:hover .n { color: var(--brand); }
.bill img { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; grid-row: span 2; }
.bill .n { font-weight: 700; }
.bill .n small { font-size: .72rem; color: var(--ink-muted); font-weight: 600; margin-left: 8px; }
.bill .p { font-weight: 700; }
.bill .d { grid-column: 2 / 4; font-size: .86rem; color: var(--ink-soft); line-height: 1.35; }
.bill .o { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--brand); background: #fff; color: var(--brand); font-weight: 700; display: grid; place-items: center; cursor: pointer; }
.bill .o:hover { background: var(--brand); color: #fff; }
.bill .soldout .n { text-decoration: line-through; color: var(--ink-muted); }
.s-cat .foot-cta { margin-top: 18px; }

/* Set the table */
.party { display: inline-flex; gap: 6px; border: 1px solid var(--line-bright); border-radius: 8px; padding: 6px; margin-bottom: 14px; background: #fff; }
.party button { font: inherit; font-weight: 700; color: var(--ink-soft); background: none; border: 0; border-radius: 6px; padding: 10px 18px; cursor: pointer; }
.party button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.hint { color: var(--ink-muted); }
.tablecard { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: 0 20px 50px -30px rgba(0,0,0,.3); }
.tablelist { list-style: none; display: grid; gap: 10px; margin-bottom: 14px; max-height: 46vh; overflow: auto; }
.tablelist li { display: grid; grid-template-columns: 48px 1fr auto auto; gap: 12px; align-items: center; }
.tablelist img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; }
.tablelist .n { font-weight: 700; } .tablelist .n small { display: block; font-weight: 400; color: var(--ink-muted); font-size: .78rem; }
.tablelist .q { display: inline-flex; align-items: center; gap: 6px; }
.tablelist .q button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-bright); background: #fff; cursor: pointer; }
.tablelist .p { font-weight: 700; }
.tabletotal { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); margin-bottom: 12px; }
.tabletotal b:last-child { font-family: var(--font-display); font-size: 1.4rem; }
.tablecard .btn { width: 100%; }

/* Maya */
.promises { list-style: none; display: grid; gap: 12px; margin: 22px 0 28px; }
.promises li { padding-left: 26px; position: relative; color: var(--ink-soft); }
.promises li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.promises b { color: var(--ink); }
.phone { justify-self: center; width: min(340px, 100%); background: #fff; border: 1px solid var(--line-bright); border-radius: 34px; padding: 14px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.35); }
.phone-top { display: flex; gap: 10px; align-items: center; padding: 8px 8px 12px; border-bottom: 1px solid var(--line); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; font-weight: 700; color: #fff; }
.phone-top b { display: block; font-size: .9rem; } .phone-top small { color: var(--wa-deep); font-size: .72rem; }
.phone-body { display: grid; gap: 8px; padding: 14px 4px; background: #F1EEE8; margin: 0 -4px; }
.bub { max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: .86rem; line-height: 1.35; }
.bub.in { background: #fff; border-bottom-left-radius: 4px; }
.bub.out { background: #DCF8C6; justify-self: end; border-bottom-right-radius: 4px; }
.phone-input { margin: 4px; padding: 10px 14px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-muted); font-size: .84rem; }

/* Story */
.portrait { justify-self: center; width: min(420px, 100%); }
.portrait img { border-radius: 10px; aspect-ratio: 4/5; object-fit: cover; }
.portrait figcaption { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-top: 12px; text-align: center; }
.story-text { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--ink-soft); line-height: 1.6; margin-bottom: 14px; max-width: 56ch; }
.story-text:empty { display: none; }
.sign { font-family: var(--font-display); font-style: italic; color: var(--brand-readable); margin-top: 8px; }
.s-story .media { display: none; }

/* Visit */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.card h3 { font-family: var(--font-display); font-size: 1.3rem; }
.card p, .card address { font-style: normal; color: var(--ink-soft); font-size: .95rem; }
.card a:not(.btn) { color: var(--brand-readable); font-weight: 700; font-size: .95rem; }
.card a:hover { text-decoration: underline; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; font-size: .92rem; }
.hours dt { color: var(--ink-muted); } .hours dd { color: var(--ink-soft); }
.hours .today dt, .hours .today dd { color: var(--ink); font-weight: 700; }
.card.qr img { border-radius: 8px; border: 1px solid var(--line); }
.card.rating b { font-family: var(--font-display); font-size: 2.6rem; color: var(--brand); }

/* Close + footer */
.s-close { background: var(--ink) !important; color: #fff; }
.s-close .media { display: none; }
.s-close .sub, .s-close .script { color: rgba(255,255,255,.75); }
.s-close em { color: var(--brand); }
.foot { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); width: 100%; color: rgba(255,255,255,.7); font-size: .88rem; display: grid; gap: 8px; }
.socials { display: flex; gap: 12px; justify-content: center; margin-bottom: 4px; }
.socials a { color: #fff; font-size: .84rem; font-weight: 600; border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 6px; }
.powered a { color: #fff; font-weight: 700; text-decoration: underline; }

/* Dock + sheet */
.dock { position: fixed; left: 50%; bottom: 18px; translate: -50% 0; z-index: 30; width: min(560px, 100% - 24px); }
.dock-in { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 10px 10px 18px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); animation: lift .4s cubic-bezier(.2,.7,.2,1); }
.dock-count { font-weight: 700; } .dock-sum { font-weight: 700; margin-right: auto; color: #FFD9CF; }
.dock-view { font: inherit; background: none; border: 0; color: #fff; cursor: pointer; text-decoration: underline; }
.sheet { position: fixed; inset: 0; z-index: 40; display: grid; align-items: end; }
.sheet-back { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.sheet-card { position: relative; width: min(640px, 100%); margin: 0 auto; background: #fff; border-radius: 18px 18px 0 0; max-height: 92dvh; overflow: auto; animation: up .3s cubic-bezier(.2,.7,.2,1); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.sheet-media { aspect-ratio: 16/9; overflow: hidden; }
.sheet-media img { width: 100%; height: 100%; object-fit: cover; }
.sheet-body { padding: 20px 24px 28px; }
.sheet-body h3 { font-family: var(--font-display); font-size: 2rem; line-height: 1.05; }
.sheet-alt { font-size: 1.15rem; color: var(--ink-muted); margin: 4px 0 10px; }
.sheet-alt:empty { display: none; }
.sheet-story { color: var(--ink-soft); line-height: 1.55; margin-bottom: 16px; }
.facts { display: grid; gap: 8px; margin-bottom: 16px; }
.facts div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; font-size: .92rem; }
.facts dt { color: var(--ink-muted); font-weight: 600; } .facts dd { color: var(--ink-soft); }
.spice { display: inline-flex; gap: 4px; align-items: center; }
.spice i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-bright); }
.spice i.on { background: var(--brand); }
.spice span { margin-left: 6px; }
.pairs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.pairs .lbl { width: 100%; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.pairs button { font: inherit; font-size: .85rem; font-weight: 600; color: var(--ink); background: var(--bg-2); border: 0; border-radius: 6px; padding: 8px 13px; cursor: pointer; }
.pairs button:hover { background: var(--line); }
.pairs:empty { display: none; }
.sheet-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-actions .price { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
body.locked .reel { overflow: hidden; }
body.has-dock .s-hero .hero-grid, body.has-dock .s-sig .sig-grid { padding-bottom: 110px; }

@media (max-width: 860px) {
  .nav { padding: 10px 16px; } .nav-links a:not(.btn) { display: none; } .lang { display: none; }
  .rail { display: none; }
  .wrap { width: min(1180px, 100% - 36px); padding: 88px 0 48px; }
  .wrap.two { grid-template-columns: 1fr; gap: 28px; }
  .hero-grid, .sig-grid { grid-template-columns: 1fr; gap: 22px; width: min(1180px, 100% - 36px); padding: 84px 0 40px; }
  .hero-grid .frame, .sig-grid .frame { order: -1 !important; aspect-ratio: 4 / 3; }
  h1 { font-size: 2.2rem; } h2 { font-size: 1.8rem; }
  .s-cat .wrap { grid-template-columns: 1fr; gap: 18px; }
  .s-cat .poster { aspect-ratio: 16 / 9; }
  .bill { columns: 1; }
  .phone { width: min(300px, 100%); }
  .tablelist { max-height: none; }
  .dock-in { padding: 8px 8px 8px 14px; gap: 8px; } .dock-count { font-size: .82rem; white-space: nowrap; } .dock-view { display: none; }
  .dock .btn-sm { padding: 8px 12px; font-size: .82rem; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1 !important; transform: none !important; animation: none !important; }
  .sheet-card, .dock-in { animation: none !important; }
}

.tablelist li.empty { display: block; }

.s-story .wrap.two { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 860px) { .s-story .wrap.two { grid-template-columns: 1fr; } .s-story .portrait { width: 100%; } .s-story .portrait img { aspect-ratio: 4 / 3; } }

/* v5.2 — the moat in the hero, and softer corners everywhere */
:root { --r: 22px; --r-sm: 14px; }
.frame, .s-cat .poster, .portrait img, .time, .card, .tablecard, .sheet-media, .sheet-card { border-radius: var(--r) !important; }
.sheet-card { border-radius: var(--r) var(--r) 0 0 !important; }
.btn { border-radius: 999px; padding: 14px 28px; }
.btn-sm { padding: 9px 18px; }
.bill img, .tablelist img, .time img { border-radius: var(--r-sm); }
.tags span, .s-sig .meta span:not(.price), .s-sig .discover button, .pairs button, .party, .party button, .dock-in, .lang, .phone-input { border-radius: 999px; }
.phone { border-radius: 40px; }
.easy { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.easy ol { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; counter-reset: step; }
.easy li { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; font-size: .9rem; color: var(--ink-soft); }
.easy li::before { counter-increment: step; content: counter(step); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; background: var(--wa-deep); color: #fff; font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.easy li b { color: var(--ink); font-size: .95rem; }
.easy li span { grid-column: 2; font-size: .82rem; color: var(--ink-muted); }
.langs { margin-top: 12px; font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.hero-grid { padding-bottom: 40px; }
@media (max-width: 860px) { .easy ol { gap: 12px; } .easy li { font-size: .85rem; } }

/* ===== v6 — life, rhythm, curiosity, warmth ===== */
.band { min-height: 0; scroll-snap-align: none; }
.band .wrap { padding: 64px 0; }
.band-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.band-head h2 { margin: 0; }

/* ticker */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 12px 0; }
#ticker-track { display: inline-flex; gap: 44px; white-space: nowrap; font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); animation: slide 50s linear infinite; }
#ticker-track b { color: var(--brand); }
@keyframes slide { to { transform: translateX(-50%); } }

/* mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; cursor: pointer; background: var(--bg-2); }
.tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.06); }
.tile .cap { position: absolute; left: 14px; right: 14px; bottom: 12px; color: #fff; display: flex; justify-content: space-between; align-items: end; gap: 8px; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.tile .cap b { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.15; }
.tile .cap span { font-weight: 700; font-size: .9rem; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.6)); pointer-events: none; }

/* kitchen tonight (dark) */
.s-kitchen { background: var(--ink) !important; color: #fff; }
.kitchen { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; padding: 44px 0; align-items: start; }
.k-stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1; color: #fff; }
.k-stat span { display: block; margin-top: 6px; font-size: .88rem; color: rgba(255,255,255,.7); }
.k-stat #k-rating { color: #FFB020; }
.k-soldout { grid-column: 1 / -1; font-size: .9rem; color: rgba(255,255,255,.75); border-top: 1px solid rgba(255,255,255,.15); padding-top: 14px; }
.k-soldout b { color: #fff; }

/* find your dish */
.q { margin-top: 18px; }
.q-label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { font: inherit; font-weight: 600; background: #fff; border: 1.5px solid var(--line-bright); border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.chips button:hover { border-color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pick { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); min-height: 380px; display: grid; }
.pick-empty { place-self: center; color: var(--ink-muted); padding: 40px; text-align: center; }
.pick img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pick .pick-body { padding: 22px 24px 26px; display: grid; gap: 10px; }
.pick .why { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.pick h3 { font-family: var(--font-display); font-size: 1.8rem; line-height: 1.05; }
.pick p { color: var(--ink-soft); }
.pick .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.pick .price { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.pick .again { font: inherit; background: none; border: 0; color: var(--ink-muted); text-decoration: underline; cursor: pointer; justify-self: start; }
.pick.reveal { animation: up .4s cubic-bezier(.2,.7,.2,1); }

/* life: photos drift as they enter */
.frame img, .s-cat .poster img, .portrait img { transform: translateY(var(--dy, 0)) scale(1.04); transition: transform .2s linear; will-change: transform; }

@media (max-width: 860px) {
  .band .wrap { padding: 44px 0; }
  .band-head { flex-direction: column; align-items: start; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .tile:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .kitchen { grid-template-columns: 1fr 1fr; gap: 18px; padding: 30px 0; }
  .k-stat b { font-size: 1.8rem; }
  .pick { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { #ticker-track { animation: none; } .frame img, .s-cat .poster img, .portrait img { transform: none !important; } .tile img { transition: none; } }

/* ===== v7 — the hero is a conversation ===== */
.s-hero { min-height: 92dvh; }
.hero-grid { grid-template-columns: 1.05fr .95fr; padding: 96px 0 36px; align-items: start; }
.hero-inner h1 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); margin: 4px 0 18px; }
.welcome { font-size: .92rem; color: var(--ink-soft); background: var(--bg-2); border-radius: 999px; padding: 8px 14px; display: inline-block; margin-bottom: 12px; }
.welcome a { color: var(--brand); font-weight: 700; text-decoration: underline; }
.ask { display: grid; gap: 10px; margin-bottom: 22px; }
.ask .q { margin: 0; display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 10px; }
.ask .q-label { margin: 0; }
.ask .chips button { padding: 8px 14px; font-size: .9rem; }
.hero-inner .actions { margin-top: 4px; }
.langs { margin-top: 14px; font-weight: 500; color: var(--ink-muted); font-size: .88rem; max-width: 46ch; }
.easy { display: none; }
.stage { position: relative; display: grid; gap: 12px; }
.stage .frame { aspect-ratio: 4 / 3; position: relative; }
.tag-live { position: absolute; top: 14px; left: 14px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.55); padding: 6px 10px 6px 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.tag-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF3B30; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.stage .pick { min-height: 0; }
.stage .pick img { aspect-ratio: 4 / 3; }
.pick .row2 { display: flex; gap: 16px; }
.live { display: flex; gap: 8px; flex-wrap: wrap; }
.live span { font-size: .8rem; font-weight: 700; color: var(--ink-soft); background: var(--bg-2); border-radius: 999px; padding: 7px 12px; }
.live span.on { color: #0B6E35; background: #E4F6EA; }
.live span.on::before { content: "●"; margin-right: 6px; font-size: .6rem; vertical-align: middle; }
.owner-line { width: min(1180px, 100% - 56px); margin: 0 auto; padding: 8px 0 40px; display: flex; gap: 14px; align-items: center; color: var(--ink-soft); font-size: .95rem; }
.owner-line img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.owner-line q { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--ink); }
.owner-line b { font-weight: 600; margin-left: 6px; color: var(--ink-muted); }
@media (max-width: 860px) {
  .s-hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; padding: 80px 0 24px; gap: 18px; }
  .stage { order: -1; }
  .stage .frame { aspect-ratio: 16 / 10; order: 0 !important; }
  .hero-inner h1 { font-size: 2rem; }
  .ask .q { grid-template-columns: 1fr; gap: 6px; }
  .owner-line { padding: 0 0 28px; font-size: .9rem; }
}

/* ===== v8 — reservations, budget, RTL ===== */
.budget { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 6px 10px; align-items: center; margin: 4px 0 16px; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.budget b { color: var(--brand); font-family: var(--font-display); font-size: 1.15rem; }
.budget input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--brand); }
.paynote { font-size: .82rem; color: var(--ink-muted); margin-top: 10px; text-align: center; }
#table-pay { margin-top: 8px; width: 100%; }
.res-stat { display: flex; gap: 26px; margin-top: 22px; }
.res-stat b { display: block; font-family: var(--font-display); font-size: 1.8rem; }
.res-stat span { font-size: .85rem; color: var(--ink-muted); }
.resform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: 0 30px 60px -40px rgba(0,0,0,.3); }
.resform label { display: grid; gap: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.resform label.wide, .resform .wide { grid-column: 1 / -1; }
.resform input { font: inherit; text-transform: none; letter-spacing: 0; color: var(--ink); border: 1px solid var(--line-bright); border-radius: 12px; padding: 12px 14px; background: #fff; }
.resform input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.resform button { margin-top: 4px; }

/* RTL */
[dir="rtl"] body { font-family: var(--font-body); }
[dir="rtl"] .eyebrow::before { margin-left: 8px; margin-right: 0; }
[dir="rtl"] .bill li { grid-template-columns: 56px 1fr auto auto; }
[dir="rtl"] .dock-sum { margin-right: 0; margin-left: auto; }
[dir="rtl"] .ask .q { grid-template-columns: 92px 1fr; }
[dir="rtl"] .easy li::before, [dir="rtl"] .promises li::before { left: auto; right: 0; }
[dir="rtl"] .promises li { padding-left: 0; padding-right: 26px; }
[dir="rtl"] #ticker-track { animation-direction: reverse; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] .pick h3, [dir="rtl"] .sheet-body h3 { letter-spacing: 0; line-height: 1.35; }
@media (max-width: 860px) { .resform { grid-template-columns: 1fr; padding: 20px; } .res-stat { gap: 18px; } }

/* RTL text (Urdu, Shahmukhi Punjabi): text direction only — layout stays as designed */
body.rtl-text h1, body.rtl-text h2, body.rtl-text h3, body.rtl-text p, body.rtl-text li,
body.rtl-text .q-label, body.rtl-text .eyebrow, body.rtl-text label, body.rtl-text dt, body.rtl-text dd,
body.rtl-text .chips button, body.rtl-text .btn, body.rtl-text .tags span, body.rtl-text .live span,
body.rtl-text .n, body.rtl-text .d, body.rtl-text .cap, body.rtl-text .why, body.rtl-text figcaption,
body.rtl-text .dock-count, body.rtl-text .nav-links a, body.rtl-text .hint, body.rtl-text .langs,
body.rtl-text .sheet-alt, body.rtl-text .sheet-story, body.rtl-text .story-text, body.rtl-text .sub { direction: rtl; text-align: right; unicode-bidi: isolate; }
body.rtl-text .btn, body.rtl-text .chips button, body.rtl-text .live span, body.rtl-text .tags span { text-align: center; }
body.rtl-text h1, body.rtl-text h2, body.rtl-text h3 { line-height: 1.45; letter-spacing: 0; }
body.rtl-text .price, body.rtl-text .p, body.rtl-text .dock-sum, body.rtl-text .tabletotal b { direction: ltr; unicode-bidi: isolate; }
body.rtl-text .bill .n, body.rtl-text .tablelist .n { text-align: right; }
/* Safety: never leave hero copy invisible if the observer hasn't fired yet */
.s-hero .rise { animation: lift .55s cubic-bezier(.2,.7,.2,1) both; }

/* ===== v10 — guest wall + tonight's promo ===== */
.s-says { background: var(--bg-2); }
.gscore { display: flex; align-items: baseline; gap: 10px; }
.gscore b { font-family: var(--font-display); font-size: 2.6rem; }
.gscore span { color: var(--brand-readable); letter-spacing: 2px; }
.gscore small { color: var(--ink-muted); }
.wall { columns: 3; column-gap: 18px; }
.say { break-inside: avoid; margin: 0 0 18px; background: #fff; border-radius: var(--r); padding: 22px 24px; border: 1px solid var(--line); position: relative; }
.say::before { content: "\201C"; position: absolute; top: 4px; right: 18px; font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--line-bright); }
.say blockquote { margin: 0 0 14px; font-size: 1.02rem; line-height: 1.6; color: var(--ink-soft); }
.say figcaption { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: .85rem; }
.say .who { font-weight: 700; }
.say .role { color: var(--ink-muted); }
.say .stars { color: var(--brand-readable); letter-spacing: 1px; margin-left: auto; }
.say.hero { background: var(--brand); border-color: var(--brand); }
.say.hero blockquote, .say.hero .who { color: #fff; }
.say.hero .role { color: rgba(255,255,255,.8); } .say.hero .stars { color: #fff; }
/* Brand-coloured text on the dark (.alt) card needs the lightened sibling, not the darkened one:
   darkening for a pale ground makes it worse against near-black. */
.say.alt .stars { color: var(--brand-on-dark); }
.say.hero::before { color: rgba(255,255,255,.35); }
.say.alt { background: var(--ink); border-color: var(--ink); }
.say.alt blockquote { color: rgba(255,255,255,.88); } .say.alt .who { color: #fff; } .say.alt .role { color: rgba(255,255,255,.65); }
.say.alt::before { color: rgba(255,255,255,.2); }
.nosays { color: var(--ink-muted); }

.promo { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.promo-back { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.promo-card { position: relative; width: min(420px, 100%); max-height: 90dvh; overflow: auto; background: #fff; border-radius: 26px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); animation: pop .35s cubic-bezier(.2,.8,.3,1); }
@keyframes pop { from { transform: scale(.94) translateY(16px); opacity: 0; } }
.promo-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 1.25rem; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.promo-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.promo-body { padding: 22px 24px 26px; text-align: center; display: grid; gap: 10px; }
.promo-badge { justify-self: center; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--brand); border-radius: 999px; padding: 6px 14px; }
.promo-body h3 { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; }
.promo-body p { color: var(--ink-soft); }
.promo-price { font-family: var(--font-display); font-size: 1.9rem; color: var(--brand); }
.promo-price s { font-family: var(--font-body); font-size: 1rem; color: var(--ink-muted); margin-left: 8px; }
.promo-body .btn { width: 100%; margin-top: 4px; }
.promo-skip { background: none; border: 0; font: inherit; font-size: .88rem; color: var(--ink-muted); text-decoration: underline; cursor: pointer; }
@media (max-width: 860px) { .wall { columns: 1; } .gscore b { font-size: 2rem; } .promo-card { width: 100%; } }

/* ===== v11 — menu bar over the category screens (replaces the duplicate grid) ===== */
.menubar { position: fixed; left: 0; right: 0; top: 62px; z-index: 18; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.mb-in { width: min(1180px, 100% - 56px); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 8px 0; }
.mb-title { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; }
.mb-title b { color: var(--brand); }
.mb-rail { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.mb-rail::-webkit-scrollbar { display: none; }
.mb-rail button { flex: 0 0 auto; display: inline-flex; gap: 6px; align-items: baseline; font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink-soft); background: none; border: 0; border-radius: 999px; padding: 7px 13px; cursor: pointer; white-space: nowrap; }
.mb-rail button small { font-size: .74rem; color: var(--ink-muted); }
.mb-rail button:hover { background: var(--bg-2); color: var(--ink); }
.mb-rail button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.mb-rail button[aria-pressed="true"] small { color: rgba(255,255,255,.8); }
.mb-search input { font: inherit; font-size: .9rem; border: 1px solid var(--line-bright); border-radius: 999px; padding: 8px 14px; width: 190px; background: #fff; }
.mb-search input:focus { outline: 2px solid var(--brand); width: 240px; }
body:has(.menubar:not([hidden])) .s-cat .wrap { padding-top: 130px; }
.s-results { background: var(--bg-2); }
.s-results h2 { margin-bottom: 18px; }
.s-results .bill { columns: 2; column-gap: 40px; }

.s-feasts { background: var(--bg); }
.fe-points { list-style: none; display: grid; gap: 8px; margin: 0 0 24px; }
.fe-points li { padding-left: 24px; position: relative; color: var(--ink-soft); }
.fe-points li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.fe-packages { display: grid; gap: 14px; }
.fe-pack { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; display: grid; gap: 8px; }
.fe-pack h3 { font-family: var(--font-display); font-size: 1.4rem; }
.fe-serves { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.fe-pack p { color: var(--ink-soft); font-size: .95rem; }
.fe-price { font-family: var(--font-display); font-size: 1.6rem; color: var(--brand); }
.fe-price small { font-family: var(--font-body); font-size: .85rem; color: var(--ink-muted); }
.fe-pack .btn { justify-self: start; }
.fe-build ul { margin: 0; padding-left: 18px; color: var(--ink-soft); columns: 2; }

.card-map { grid-column: span 2; }
.mapbox { border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.mapbox iframe { width: 100%; height: 100%; border: 0; display: block; }
.card-map .btn { justify-self: start; }

@media (max-width: 900px) {
  .card-map { grid-column: auto; }
  .fe-build ul { columns: 1; }
}

@media (max-width: 900px) {
  .menubar { top: 54px; }
  .mb-in { grid-template-columns: 1fr; gap: 8px; width: min(1180px, 100% - 32px); padding: 6px 0 8px; }
  .mb-title { display: none; }
  .mb-search input { width: 100%; } .mb-search input:focus { width: 100%; }
  body:has(.menubar:not([hidden])) .s-cat .wrap { padding-top: 150px; }
  .s-results .bill { columns: 1; }
}

/* No WhatsApp number on this restaurant: every wa control hides rather than pretending to work. */
body.no-wa .btn-wa,
body.no-wa #n-wa, body.no-wa #h-wa, body.no-wa #m-wa, body.no-wa #v-wa,
body.no-wa #c-wa, body.no-wa #fe-wa, body.no-wa #table-wa, body.no-wa #dock-wa,
body.no-wa #pm-cta, body.no-wa .foot-cta { display: none !important; }

/* ── Touch targets ──────────────────────────────────────────────────────────────
   On a phone, anything a thumb must hit needs ~44px. The round "+" on each menu
   row is the primary ordering control and was 34px; text links were 24px tall.
   Confirmed with Karim 2026-09-17: enlarge for phones. Desktop keeps the tighter
   sizing — a mouse does not need the padding, and the menu would loosen. */
@media (pointer: coarse), (max-width: 860px) {
  .bill .o { width: 44px; height: 44px; font-size: 1.15rem; }
  .bill li { gap: 10px 14px; }

  /* Inline links: grow the hit area without moving the text, using padding the
     layout already absorbs plus a pseudo-element for the rest. */
  .card a:not(.btn), .quiet, .pairs button, .s-sig .discover button,
  .nav-links a:not(.btn), .foot a, .say a {
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .pairs button, .s-sig .discover button, .s-sig .discover .more { min-height: 44px; padding-block: 10px; }

  /* Dot rail: the dots stay 8px visually, but each gets a 44px invisible target. */
  .rail li button { position: relative; }
  .rail li button::before {
    content: ""; position: absolute; inset: -18px; border-radius: 50%;
  }

  .brand { min-height: 44px; }
  .lang button, .langs button { min-height: 40px; padding-inline: 14px; }
  .chips button { min-height: 44px; }
  .sheet-close, .promo-close, .wsf-sheet-close, .wsf-promo-close { width: 44px; height: 44px; }
}

/* ── Phone performance ──────────────────────────────────────────────────────────
   Reported 2026-09-18: scrolling felt slow and "sticky" on a real phone. Three
   causes, all of them cheap to drop on touch devices without changing the design
   on a desktop, where the effects are the point.

   1. Scroll-snap is what makes it feel sticky: a 20-screen reel that keeps
      catching fights the user's thumb. Desktop keeps it.
   2. The parallax drift is a transform on every photo on every scroll frame —
      the most expensive thing on the page, and barely visible on a small screen.
   3. backdrop-filter forces the phone to re-blur the page behind two fixed bars
      on every frame. A solid background is indistinguishable in motion. */
@media (pointer: coarse) {
  .reel { scroll-snap-type: none; }
  .screen, .band { scroll-snap-align: none; }

  .frame img, .s-cat .poster img, .portrait img {
    transform: none !important;
    transition: none;
    will-change: auto;
  }

  .nav, .menubar { backdrop-filter: none; background: var(--bg); }
  .promo-back { backdrop-filter: none; }

  /* Let the browser skip layout and paint for screens that are nowhere near the
     viewport. On a page this tall it is the difference between smooth and not. */
  .screen { content-visibility: auto; contain-intrinsic-size: auto 100dvh; }
}
