/* حارتنا — storefront. A night street-food market: roasted-coal ground, saffron prices, chili deals,
   mint for "open now", grape (عنب بيت أمر) for loyalty. Display type: Marhey (hand-painted shop signs). */
:root {
  --coal: #140b07; --char: #1d110b; --char-2: #29180f; --char-3: #36221a;
  --line: rgba(255, 214, 170, .10); --line-2: rgba(255, 214, 170, .18);
  --cream: #fff1de; --dim: #c8ae95; --mute: #8f7764;
  --saffron: #ffb321; --saffron-2: #ffcc5c; --saffron-ink: #2b1700;
  --chili: #ff5233; --chili-2: #ff7a5c;
  --mint: #2fe39a; --grape: #8b5cf6; --grape-2: #b794ff;
  --r-lg: 26px; --r: 18px; --r-sm: 12px;
  --display: 'Marhey', 'Plex Arabic', system-ui, sans-serif;
  --body: 'Plex Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --nav-h: 74px;
  color-scheme: dark;
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--coal); }
body { margin: 0; font-family: var(--body); font-size: 15.5px; line-height: 1.6; color: var(--cream); background: var(--coal);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body { padding-bottom: 0; } }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 8px; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-sm { width: 17px; height: 17px; }
.ic-lg { width: 28px; height: 28px; }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.wrap { width: min(1280px, 100%); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.display { font-family: var(--display); font-weight: 700; line-height: 1.15; letter-spacing: 0; }
.muted { color: var(--dim); }
.small { font-size: 13px; }
h1, h2, h3 { margin: 0; }

/* ---------- warm skeleton behind every picture: never a white flash */
.ph { position: relative; overflow: hidden; background: linear-gradient(110deg, #24150d 30%, #33201a 50%, #24150d 70%); background-size: 300% 100%; animation: shimmer 1.6s linear infinite; }
.ph img, .ph video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.ph img.ok, .ph video.ok { opacity: 1; }
.ph.done { animation: none; background: var(--char-2); }
.ph .noimg { position: absolute; inset: 0; display: grid; place-items: center; padding: 10px; text-align: center; font-family: var(--display); color: var(--saffron); font-size: 18px; background: radial-gradient(circle at 30% 20%, #3d2416, #1d110b); }
@keyframes shimmer { to { background-position: -300% 0; } }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--char-2); color: var(--cream); font-weight: 600; white-space: nowrap; transition: transform .15s, background .2s; }
.btn:active { transform: scale(.97); }
.btn-saffron { background: var(--saffron); border-color: var(--saffron); color: var(--saffron-ink); font-weight: 700; box-shadow: 0 10px 30px -10px rgba(255, 179, 33, .65); }
.btn-saffron:hover { background: var(--saffron-2); }
.btn-chili { background: var(--chili); border-color: var(--chili); color: #fff; }
.btn-grape { background: var(--grape); border-color: var(--grape); color: #fff; }
.btn-ghost { background: transparent; }
.btn-lg { min-height: 56px; font-size: 17px; padding: 0 28px; }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13.5px; }

/* ---------- top bar: transparent over the film, glass after scrolling */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top); }
.top.solid, body:not(.has-hero) .top { background: rgba(20, 11, 7, .78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
body:not(.has-hero) main { padding-top: calc(66px + env(safe-area-inset-top)); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand .logo { font-family: var(--display); font-size: 28px; line-height: 1; color: var(--cream); }
.brand .logo i { display: inline-block; width: 9px; height: 9px; margin-inline-start: 3px; border-radius: 50%; background: var(--chili); box-shadow: 0 0 14px var(--chili); vertical-align: super; animation: ember 2.4s ease-in-out infinite; }
@keyframes ember { 50% { box-shadow: 0 0 4px var(--chili); opacity: .7; } }
.brand small { display: none; color: var(--dim); font-size: 12px; }
@media (min-width: 700px) { .brand small { display: block; } }
.where { display: none; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.where b { color: var(--cream); font-weight: 600; }
@media (min-width: 900px) { .where { display: inline-flex; } }
.tsearch { flex: 1; display: none; align-items: center; gap: 8px; max-width: 460px; margin-inline-start: auto; height: 44px; padding: 0 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line); }
.tsearch input { flex: 1; min-width: 0; border: 0; background: none; outline: none; }
.tsearch input::placeholder { color: var(--mute); }
@media (min-width: 900px) { .tsearch { display: flex; } }
.tacts { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
@media (min-width: 900px) { .tacts { margin-inline-start: 0; } }
.pill-btn { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.pill-btn.pts { background: linear-gradient(135deg, rgba(139, 92, 246, .35), rgba(139, 92, 246, .12)); border-color: rgba(183, 148, 255, .35); }
.pill-btn.pts b { font-family: var(--display); color: var(--grape-2); font-size: 16px; }
.badge { position: absolute; top: -5px; inset-inline-end: -5px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px; background: var(--chili); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--coal); }
.badge.pop { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { 40% { transform: scale(1.5); } }
.hide-sm { display: none; }
@media (min-width: 700px) { .hide-sm { display: inline; } }

/* ---------- hero film */
.hero { position: relative; height: 92svh; min-height: 560px; max-height: 920px; overflow: hidden; background: #0b0604; isolation: isolate; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.1s ease, transform 7s ease-out; }
.hero video.on { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 11, 7, .65) 0%, rgba(20, 11, 7, 0) 22%, rgba(20, 11, 7, 0) 45%, rgba(20, 11, 7, .82) 78%, var(--coal) 100%); }
.hero .bars { position: absolute; z-index: 3; top: calc(72px + env(safe-area-inset-top)); inset-inline: 16px; display: flex; gap: 5px; }
.hero .bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hero .bars span i { display: block; height: 100%; width: 0; background: var(--cream); }
.hero .bars span.done i { width: 100%; }
.hero .bars span.on i { animation: bar var(--dur, 6s) linear forwards; }
@keyframes bar { to { width: 100%; } }
.hero .inner { position: absolute; z-index: 2; inset: auto 0 0; padding-bottom: 48px; }
.cap { min-height: 150px; }
.cap h1 { font-family: var(--display); font-size: clamp(46px, 11vw, 104px); line-height: 1.02; color: #fff; text-shadow: 0 6px 40px rgba(0, 0, 0, .5); }
.cap p { margin: 8px 0 0; font-size: clamp(16px, 2.2vw, 21px); color: #f3dcc4; max-width: 34ch; }
.cap > div { animation: capIn .7s cubic-bezier(.2, .8, .2, 1); }
@keyframes capIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
.hsearch { display: flex; align-items: center; gap: 10px; margin-top: 20px; max-width: 560px; height: 60px; padding: 0 8px 0 18px; padding-inline-start: 20px; border-radius: 999px;
  background: rgba(255, 245, 230, .12); border: 1px solid rgba(255, 230, 200, .28); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.hsearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; font-size: 16.5px; color: #fff; }
.hsearch input::placeholder { color: rgba(255, 241, 222, .7); }
.hsearch .btn { min-height: 46px; }
.live-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.live { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: 13px; background: rgba(0, 0, 0, .38); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); color: #f6e5d1; }
.live b { font-family: var(--display); color: #fff; font-size: 15px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(47, 227, 154, .7); animation: ping 1.8s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(47, 227, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 227, 154, 0); } }
.hero .pause { position: absolute; z-index: 3; top: calc(86px + env(safe-area-inset-top)); inset-inline-end: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .35); display: grid; place-items: center; color: #fff; }
@media (min-width: 900px) { .hero .bars { inset-inline: 28px; } .hero .pause { inset-inline-end: 28px; } }

/* ---------- marquee ribbon */
.ribbon { position: relative; z-index: 4; overflow: hidden; background: var(--saffron); color: var(--saffron-ink); transform: rotate(-1.2deg); margin: -12px -10px 0; box-shadow: 0 14px 40px -12px rgba(255, 179, 33, .55); }
.ribbon .track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.ribbon span { display: inline-flex; align-items: center; gap: 12px; padding: 11px 18px; font-family: var(--display); font-size: 19px; white-space: nowrap; }
.ribbon span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--chili); margin-inline-start: 18px; }
@keyframes marquee { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .ribbon .track, .hero video, .ph { animation: none !important; transition: none !important; } }

/* ---------- sections */
.sec { padding: 34px 0 6px; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.sec-h h2 { font-family: var(--display); font-size: clamp(26px, 4.4vw, 38px); line-height: 1.1; }
.sec-h p { margin: 4px 0 0; color: var(--dim); font-size: 14px; }
.sec-h a.more { display: inline-flex; align-items: center; gap: 6px; flex: none; color: var(--saffron); font-weight: 600; font-size: 14px; }
.rail { display: grid; grid-auto-flow: column; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 700px) { .rail { padding-inline: 28px; margin-inline: -28px; } }

/* ---------- stories (restaurant deals) */
.stories { grid-auto-columns: 84px; gap: 12px; }
.story { display: grid; justify-items: center; gap: 7px; background: none; border: 0; padding: 0; color: var(--cream); font-size: 12.5px; text-align: center; line-height: 1.3; }
.story .ring { width: 78px; height: 78px; border-radius: 50%; padding: 3px; background: conic-gradient(from 0deg, var(--saffron), var(--chili), var(--grape-2), var(--saffron)); animation: spin 6s linear infinite; }
.story .ring > span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--coal); overflow: hidden; animation: spin 6s linear infinite reverse; }
.story .ring img { width: 100%; height: 100%; object-fit: cover; }
.story.seen .ring { background: var(--char-3); animation: none; }
.story.seen .ring > span { animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.viewer { position: fixed; inset: 0; z-index: 90; background: #000; display: grid; place-items: center; }
.viewer .frame { position: relative; width: min(460px, 100%); height: 100%; max-height: 900px; overflow: hidden; background: var(--char); }
@media (min-width: 600px) { .viewer .frame { height: 92vh; border-radius: 24px; } }
.viewer .frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.viewer .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 25%, transparent 45%, rgba(0, 0, 0, .9)); }
.viewer .vbars { position: absolute; z-index: 2; top: 14px; inset-inline: 14px; display: flex; gap: 4px; }
.viewer .vbars span { flex: 1; height: 3px; background: rgba(255, 255, 255, .3); border-radius: 3px; overflow: hidden; }
.viewer .vbars i { display: block; height: 100%; width: 0; background: #fff; }
.viewer .vbars .on i { animation: bar 5s linear forwards; }
.viewer .vbars .done i { width: 100%; }
.viewer .who { position: absolute; z-index: 2; top: 28px; inset-inline: 14px; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.viewer .who .x { margin-inline-start: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .4); color: #fff; display: grid; place-items: center; }
.viewer .body { position: absolute; z-index: 2; inset: auto 18px 26px; }
.viewer .body h3 { font-family: var(--display); font-size: 40px; line-height: 1.1; }
.viewer .body p { margin: 6px 0 14px; color: #f0dccb; }
.viewer .tap { position: absolute; z-index: 1; top: 80px; bottom: 170px; width: 40%; border: 0; background: none; }
.viewer .tap.prev { inset-inline-start: 0; } .viewer .tap.next { inset-inline-end: 0; }

/* ---------- countdown */
.cd { display: inline-flex; align-items: center; gap: 4px; direction: ltr; font-family: var(--display); }
.cd b { min-width: 34px; padding: 4px 6px; border-radius: 9px; background: rgba(0, 0, 0, .35); text-align: center; font-size: 17px; }
.cd i { font-style: normal; opacity: .6; }

/* ---------- flash deals band */
.flash { position: relative; border-radius: var(--r-lg); padding: 22px 0 16px; background: radial-gradient(120% 140% at 100% 0%, #5a1a0e 0%, #2a120b 55%, var(--char) 100%); border: 1px solid rgba(255, 82, 51, .25); overflow: hidden; }
.flash .sec-h { padding: 0 18px; }
.flash .rail { padding-inline: 18px; margin: 0; }
.flash .sec-h h2 { display: flex; align-items: center; gap: 8px; }
.flash .sec-h h2 .ic { color: var(--chili); width: 30px; height: 30px; }

/* ---------- product card */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.rail.cards { grid-auto-columns: minmax(168px, 44vw); }
@media (min-width: 700px) { .rail.cards { grid-auto-columns: 210px; } }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--char); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line-2); }
.card .im { aspect-ratio: 1; }
.card .im::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(29, 17, 11, .9)); pointer-events: none; }
.card .body { position: relative; display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 10px 12px 12px; margin-top: -26px; z-index: 1; }
.card .name { font-weight: 600; font-size: 15px; line-height: 1.35; }
.card .from { font-size: 12px; color: var(--saffron); }
.card .desc { font-size: 12.5px; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.price { display: flex; flex-direction: column; line-height: 1.05; }
.price b { font-family: var(--display); font-size: 22px; color: var(--saffron); }
.price small { color: var(--mute); font-size: 11.5px; }
.price s { color: var(--mute); font-size: 13px; }
.tag-off { position: absolute; z-index: 2; top: 10px; inset-inline-start: 10px; padding: 3px 10px; border-radius: 999px; background: var(--chili); color: #fff; font-family: var(--display); font-size: 15px; box-shadow: 0 6px 18px -4px rgba(255, 82, 51, .7); }
.tag-badge { position: absolute; z-index: 2; top: 10px; inset-inline-end: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(20, 11, 7, .75); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; color: var(--saffron-2); border: 1px solid rgba(255, 179, 33, .35); }
.low { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--chili-2); }
.low::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--chili); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.card .cd b { font-size: 13px; min-width: 26px; padding: 2px 4px; }
.card.in-cart { border-color: rgba(255, 179, 33, .55); box-shadow: 0 0 0 1px rgba(255, 179, 33, .25), 0 14px 34px -18px rgba(255, 179, 33, .6); }

/* add / stepper */
.stepper { display: inline-flex; align-items: center; gap: 2px; height: 40px; border-radius: 999px; flex: none; }
.stepper .add { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--saffron); color: var(--saffron-ink); display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(255, 179, 33, .8); transition: transform .15s; }
.stepper .add .ic { stroke-width: 2.6; }
.stepper .add:active { transform: scale(.88); }
.stepper.on { background: var(--saffron); color: var(--saffron-ink); padding: 0 3px; }
.stepper .q { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .12); color: inherit; display: grid; place-items: center; }
.stepper .q .ic { width: 18px; height: 18px; stroke-width: 2.6; }
.stepper .val { min-width: 30px; text-align: center; font-weight: 700; font-size: 14px; }
.stepper.wide .add { width: auto; border-radius: 999px; padding: 0 18px; gap: 6px; font-weight: 700; }
.flyer { position: fixed; z-index: 95; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; pointer-events: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); border: 2px solid var(--saffron); }
.flyer img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- categories bento */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.bento a { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 150px; isolation: isolate; border: 1px solid var(--line); }
.bento a:first-child { grid-row: span 2; min-height: 312px; }
.bento .ph { position: absolute; inset: 0; z-index: -1; }
.bento a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(14, 7, 4, .92)); }
.bento span { position: absolute; inset: auto 14px 12px; }
.bento b { display: block; font-family: var(--display); font-size: 23px; line-height: 1.15; }
.bento small { color: #e6cdb4; font-size: 12.5px; }
.bento a img { transition: transform .6s ease; }
.bento a:hover img { transform: scale(1.06); }
@media (min-width: 900px) { .bento { grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 200px; } .bento a:first-child { min-height: 0; } .bento a { min-height: 0; } }

/* ---------- ranking */
.rank { display: grid; gap: 10px; }
@media (min-width: 900px) { .rank { grid-template-columns: 1fr 1fr; } }
.rank a { display: grid; grid-template-columns: 54px 72px 1fr auto; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: var(--r); background: var(--char); border: 1px solid var(--line); }
.rank .n { font-family: var(--display); font-size: 46px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--saffron); text-align: center; }
.rank a:first-child .n { color: var(--saffron); -webkit-text-stroke: 0; }
.rank .ph { width: 72px; height: 72px; border-radius: 14px; }
.rank .t b { display: block; font-weight: 600; line-height: 1.3; }
.rank .t small { color: var(--mute); }
.rank .p { font-family: var(--display); color: var(--saffron); font-size: 19px; }

/* ---------- restaurants */
.rail.rests { grid-auto-columns: minmax(270px, 80vw); }
@media (min-width: 700px) { .rail.rests { grid-auto-columns: 330px; } }
.rest { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--char); border: 1px solid var(--line); }
.rest .ph { aspect-ratio: 16 / 10; }
.rest .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 11, 7, .85)); }
.rest .meta { position: absolute; inset: auto 14px 12px; z-index: 1; }
.rest h3 { font-family: var(--display); font-size: 25px; line-height: 1.1; }
.rest .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; font-size: 12px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); color: #f2dfcb; font-size: 12px; }
.chip.open { color: var(--mint); border-color: rgba(47, 227, 154, .35); }
.chip.closed { color: #ffb4a3; }
.chip.deal { background: var(--chili); border-color: var(--chili); color: #fff; font-weight: 600; }
.rest.closed .ph img { filter: grayscale(.85) brightness(.6); }

/* ---------- combos */
.combo { display: grid; grid-template-columns: 1fr; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(135deg, #3a1d0d, #1d110b 60%); border: 1px solid rgba(255, 179, 33, .22); }
.combo .ph { aspect-ratio: 16 / 10; }
.combo .b { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.combo h3 { font-family: var(--display); font-size: 26px; line-height: 1.15; }
.combo .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.combo .price b { font-size: 30px; }
.rail.combos { grid-auto-columns: minmax(280px, 84vw); }
@media (min-width: 700px) { .rail.combos { grid-auto-columns: 420px; } .combo { grid-template-columns: 1fr 1fr; } .combo .ph { aspect-ratio: auto; height: 100%; } }

/* ---------- loyalty card */
.loyal { position: relative; display: grid; gap: 18px; padding: 24px 20px; border-radius: 28px; overflow: hidden; color: #fff;
  background: radial-gradient(90% 120% at 0% 0%, #6d3fe0 0%, #3b1b84 45%, #1b0d3a 100%); border: 1px solid rgba(183, 148, 255, .35); }
.loyal::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 179, 33, .35), transparent 60%); }
.loyal h2 { font-family: var(--display); font-size: clamp(28px, 5vw, 44px); line-height: 1.1; }
.loyal p { margin: 6px 0 0; color: #ddd0ff; max-width: 46ch; }
.loyal .perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.loyal .perks div { padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.loyal .perks b { display: block; font-family: var(--display); font-size: 22px; color: var(--saffron-2); }
@media (min-width: 900px) { .loyal { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 36px; } }
.mcard { position: relative; aspect-ratio: 1.6; max-width: 380px; width: 100%; border-radius: 22px; padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.mcard .tier { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--saffron-2); }
.mcard .pts { font-family: var(--display); font-size: 46px; line-height: 1; }
.mcard .pts small { font-family: var(--body); font-size: 14px; color: #e5dcff; }
.mcard .bar { height: 7px; border-radius: 7px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.mcard .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--saffron), var(--saffron-2)); border-radius: 7px; }

/* ---------- coupon ticket */
.ticket { display: flex; align-items: stretch; border-radius: 20px; overflow: hidden; background: var(--saffron); color: var(--saffron-ink); position: relative; }
.ticket .l { flex: 1; padding: 16px 18px; }
.ticket .l b { font-family: var(--display); font-size: 25px; line-height: 1.1; display: block; }
.ticket .r { position: relative; display: grid; place-items: center; padding: 12px 18px; border-inline-start: 2px dashed rgba(43, 23, 0, .45); }
.ticket .r::before, .ticket .r::after { content: ""; position: absolute; inset-inline-start: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--coal); }
.ticket .r::before { top: -11px; } .ticket .r::after { bottom: -11px; }
.ticket code { font-family: var(--display); font-size: 22px; letter-spacing: 1px; }
.ticket button { border: 0; background: var(--saffron-ink); color: var(--saffron); border-radius: 999px; padding: 6px 14px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; }

/* ---------- how it works / join */
.steps { display: grid; gap: 12px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps div { padding: 20px; border-radius: var(--r-lg); background: var(--char); border: 1px solid var(--line); }
.steps .k { font-family: var(--display); font-size: 40px; color: var(--saffron); line-height: 1; }
.steps h3 { font-size: 18px; margin: 8px 0 4px; }
.steps p { margin: 0; color: var(--dim); font-size: 14px; }

/* ---------- page head (category / search / account) */
.phead { position: relative; padding: 26px 0 18px; overflow: hidden; }
.phead .bg { position: absolute; inset: 0; z-index: -1; opacity: .35; filter: blur(30px) saturate(1.3); transform: scale(1.3); }
.phead .bg img { width: 100%; height: 100%; object-fit: cover; }
.phead h1 { font-family: var(--display); font-size: clamp(34px, 7vw, 60px); line-height: 1.08; }
.phead p { margin: 6px 0 0; color: var(--dim); }
.chips-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 2px; }
.chips-row::-webkit-scrollbar { display: none; }
.chips-row a { flex: none; padding: 9px 16px; border-radius: 999px; background: var(--char-2); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.chips-row a.on { background: var(--cream); color: var(--coal); border-color: var(--cream); }
.sticky-chips { position: sticky; top: calc(66px + env(safe-area-inset-top)); z-index: 20; background: rgba(20, 11, 7, .88); backdrop-filter: blur(14px); padding: 10px 0; border-bottom: 1px solid var(--line); }

/* ---------- restaurant page */
.rhero { position: relative; height: 46svh; min-height: 330px; overflow: hidden; }
.rhero .ph { position: absolute; inset: 0; }
.rhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 11, 7, .55), transparent 30%, rgba(20, 11, 7, .4) 60%, var(--coal)); }
.rhero .inner { position: absolute; z-index: 1; inset: auto 0 18px; }
.rhero h1 { font-family: var(--display); font-size: clamp(40px, 9vw, 76px); line-height: 1.02; }
.rhero p { margin: 6px 0 10px; color: #ecd6c0; }
.dish { display: grid; grid-template-columns: 1fr 112px; gap: 14px; padding: 14px; border-radius: var(--r); background: var(--char); border: 1px solid var(--line); align-items: start; }
.dish .ph { width: 112px; height: 112px; border-radius: 16px; }
.dish .name { font-weight: 600; font-size: 16px; }
.dish .desc { color: var(--mute); font-size: 13px; margin: 2px 0 8px; }
.dish .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.dish.in-cart { border-color: rgba(255, 179, 33, .55); }
.dishes { display: grid; gap: 12px; }
@media (min-width: 900px) { .dishes { grid-template-columns: 1fr 1fr; } }
.menu-h { font-family: var(--display); font-size: 26px; margin: 26px 0 12px; scroll-margin-top: 140px; }

/* ---------- forms */
.box { padding: 18px; border-radius: var(--r-lg); background: var(--char); border: 1px solid var(--line); margin-bottom: 14px; }
.box > h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin-bottom: 12px; }
.box > h3 .ic { color: var(--saffron); }
label.lbl { display: block; margin: 12px 0 6px; font-size: 13.5px; color: var(--dim); font-weight: 500; }
.in, input[type=text], input[type=tel], input[type=search], input[type=password], input[type=number], textarea, select {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; background: var(--char-2); border: 1px solid var(--line-2); color: var(--cream); outline: none; transition: border-color .2s; }
textarea { min-height: 84px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--saffron); }
input::placeholder, textarea::placeholder { color: var(--mute); }
.seg { display: grid; gap: 8px; }
.seg label { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--char-2); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.seg label:has(input:checked) { border-color: var(--saffron); background: rgba(255, 179, 33, .08); }
.seg input { accent-color: var(--saffron); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.seg b { display: block; }
.seg .small { color: var(--dim); }
.layout-2 { display: grid; gap: 16px; }
@media (min-width: 980px) { .layout-2 { grid-template-columns: 1fr 400px; align-items: start; } .layout-2 > aside { position: sticky; top: 86px; } }
.sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; }
.sum-row.total { font-size: 19px; font-weight: 700; padding-top: 12px; margin-top: 6px; border-top: 1px dashed var(--line-2); }
.sum-row.total .num { font-family: var(--display); color: var(--saffron); font-size: 28px; }
.sum-row.save { color: var(--mint); }
.sum-row.pts { color: var(--grape-2); }
.cpn { display: flex; gap: 8px; }
.cpn input { text-transform: uppercase; letter-spacing: .5px; }
.toggle { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(139, 92, 246, .25), rgba(139, 92, 246, .08)); border: 1px solid rgba(183, 148, 255, .3); cursor: pointer; }
.toggle input { width: 22px; height: 22px; accent-color: var(--grape); flex: none; }
.map { height: 260px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: var(--char-2); }
.map .leaflet-tile-pane { filter: invert(1) hue-rotate(185deg) brightness(.92) contrast(.88) saturate(.6) sepia(.25); }
.loc-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.flash-msg { margin: 12px 0; padding: 12px 16px; border-radius: 14px; background: rgba(255, 82, 51, .12); border: 1px solid rgba(255, 82, 51, .35); color: #ffc8b8; }
.flash-msg.ok { background: rgba(47, 227, 154, .1); border-color: rgba(47, 227, 154, .35); color: #b6f5da; }
.flash-msg.info { background: rgba(255, 179, 33, .1); border-color: rgba(255, 179, 33, .35); color: #ffe2a8; }

/* ---------- cart */
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line .ph { width: 76px; height: 76px; border-radius: 14px; }
.line .n { font-weight: 600; }
.line .lt { font-family: var(--display); color: var(--saffron); font-size: 19px; text-align: end; }
.save-banner { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(47, 227, 154, .1); border: 1px solid rgba(47, 227, 154, .3); color: #c4f7e1; margin-bottom: 14px; }
.earn-banner { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(139, 92, 246, .14); border: 1px solid rgba(183, 148, 255, .3); color: #e2d6ff; margin-bottom: 14px; }
.earn-banner b, .save-banner b { font-family: var(--display); font-size: 18px; }
.empty { text-align: center; padding: 70px 16px; }
.empty .big { font-family: var(--display); font-size: 40px; }
.empty p { color: var(--dim); }

/* ---------- tracking */
.trk { position: relative; }
.trk .tmap { height: 52svh; min-height: 320px; }
.trk .tmap .leaflet-tile-pane { filter: invert(1) hue-rotate(185deg) brightness(.92) contrast(.88) saturate(.6) sepia(.25); }
.sheet { position: relative; z-index: 5; margin-top: -40px; border-radius: 28px 28px 0 0; background: var(--coal); border-top: 1px solid var(--line-2); padding: 18px 0 30px; }
.sheet .grab { width: 44px; height: 5px; border-radius: 5px; background: var(--char-3); margin: 0 auto 14px; }
.eta { display: flex; align-items: center; gap: 16px; }
.eta .m { font-family: var(--display); font-size: 64px; line-height: 1; color: var(--saffron); }
.eta .m small { font-size: 20px; color: var(--dim); }
.tl { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 0; }
.tl li { position: relative; display: flex; gap: 14px; padding: 0 0 18px; color: var(--mute); }
.tl li::before { content: ""; position: absolute; inset-inline-start: 13px; top: 28px; bottom: 0; width: 2px; background: var(--char-3); }
.tl li:last-child::before { display: none; }
.tl li .k { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--char-2); border: 2px solid var(--char-3); }
.tl li.done { color: var(--cream); }
.tl li.done .k { background: var(--saffron); border-color: var(--saffron); color: var(--saffron-ink); }
.tl li.done::before { background: var(--saffron); }
.tl li.now .k { border-color: var(--saffron); box-shadow: 0 0 0 6px rgba(255, 179, 33, .18); animation: ping2 1.6s infinite; }
@keyframes ping2 { 50% { box-shadow: 0 0 0 10px rgba(255, 179, 33, 0); } }
.tl li b { display: block; font-weight: 600; }
.drv { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--char); border: 1px solid var(--line); }
.drv .av { width: 48px; height: 48px; border-radius: 50%; background: var(--saffron); color: var(--saffron-ink); display: grid; place-items: center; font-family: var(--display); font-size: 22px; }
.won { padding: 18px; border-radius: 22px; background: linear-gradient(135deg, #5b2fd0, #2a1466); border: 1px solid rgba(183, 148, 255, .4); text-align: center; }
.won b { font-family: var(--display); font-size: 44px; color: var(--saffron-2); display: block; line-height: 1.1; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 99; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }
.stars { display: flex; gap: 6px; direction: ltr; justify-content: center; }
.stars label { cursor: pointer; color: var(--char-3); }
.stars input { display: none; }
.stars .ic { width: 36px; height: 36px; fill: currentColor; stroke: none; }
.stars label:has(~ label input:checked), .stars label:has(input:checked) { color: var(--saffron); }

/* ---------- account */
.authbox { max-width: 440px; margin: 0 auto; padding: 30px 0 40px; }
.pin { letter-spacing: 12px; text-align: center; font-family: var(--display); font-size: 26px; }
.ledger { display: grid; gap: 0; }
.ledger div { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ledger .plus { color: var(--mint); font-family: var(--display); font-size: 18px; }
.ledger .minus { color: var(--chili-2); font-family: var(--display); font-size: 18px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tiers div { padding: 14px; border-radius: 16px; background: var(--char); border: 1px solid var(--line); text-align: center; font-size: 13px; color: var(--dim); }
.tiers div.on { border-color: var(--grape-2); background: rgba(139, 92, 246, .14); color: var(--cream); }
.tiers b { display: block; font-family: var(--display); font-size: 19px; color: var(--cream); }

/* ---------- orders list */
.olist { display: grid; gap: 10px; }
.olist a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--char); border: 1px solid var(--line); }
.olist .n { font-family: var(--display); font-size: 22px; color: var(--saffron); }
.st { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--char-3); }
.st-delivered { background: rgba(47, 227, 154, .14); color: var(--mint); }
.st-cancelled { background: rgba(255, 82, 51, .14); color: var(--chili-2); }
.st-on_way, .st-ready { background: rgba(255, 179, 33, .16); color: var(--saffron-2); }

/* ---------- floating cart + bottom nav */
.fcart { position: fixed; z-index: 40; inset-inline: 16px; bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 8px 0 18px; padding-inline-start: 18px;
  border-radius: 999px; background: var(--saffron); color: var(--saffron-ink); font-weight: 700; box-shadow: 0 18px 40px -12px rgba(255, 179, 33, .7); animation: rise .4s cubic-bezier(.2, 1.4, .4, 1); }
.fcart .cnt { width: 30px; height: 30px; border-radius: 50%; background: var(--saffron-ink); color: var(--saffron); display: grid; place-items: center; font-size: 14px; }
.fcart .go { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(0, 0, 0, .14); font-family: var(--display); font-size: 18px; }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } }
@media (min-width: 900px) { .fcart { inset-inline: auto 28px; width: 380px; bottom: 24px; } }
.bnav { position: fixed; z-index: 45; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(20, 11, 7, .9); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px); border-top: 1px solid var(--line); }
.bnav a { position: relative; display: grid; place-items: center; align-content: center; gap: 3px; font-size: 11.5px; color: var(--mute); }
.bnav a.on { color: var(--saffron); }
.bnav a.mid span.c { width: 54px; height: 54px; margin-top: -26px; border-radius: 50%; background: var(--saffron); color: var(--saffron-ink); display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(255, 179, 33, .8); border: 4px solid var(--coal); }
.bnav .badge { top: 4px; inset-inline-end: calc(50% - 26px); }
@media (min-width: 900px) { .bnav { display: none; } }

/* ---------- live activity toast */
.buzz { position: fixed; z-index: 44; inset-inline-start: 16px; bottom: calc(var(--nav-h) + 84px + env(safe-area-inset-bottom)); max-width: 300px; display: flex; gap: 10px; align-items: center; padding: 10px 14px 10px 12px;
  border-radius: 18px; background: rgba(41, 24, 15, .94); border: 1px solid var(--line-2); backdrop-filter: blur(10px); font-size: 13px; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .7);
  transform: translateY(20px); opacity: 0; transition: transform .45s cubic-bezier(.2, 1.3, .4, 1), opacity .35s; pointer-events: none; }
.buzz.on { transform: none; opacity: 1; }
.buzz .ic { color: var(--mint); }
@media (min-width: 900px) { .buzz { bottom: 24px; } }

/* ---------- install banner */
.install { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; background: var(--char-2); border: 1px solid var(--line-2); }
.install img { width: 46px; height: 46px; border-radius: 12px; }

/* ---------- footer */
.site-foot { margin-top: 50px; padding: 40px 0 30px; background: linear-gradient(180deg, transparent, #0d0704); border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.site-foot .big { font-family: var(--display); font-size: clamp(40px, 9vw, 90px); line-height: 1; color: var(--cream); }
.site-foot .cols { display: grid; gap: 18px; margin-top: 22px; }
@media (min-width: 800px) { .site-foot .cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-foot a { color: var(--cream); }
.site-foot .join { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* ---------- reveal on scroll (modern browsers only) */
@supports (animation-timeline: view()) {
  .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  @keyframes rv { from { opacity: 0; transform: translateY(26px) scale(.98); } }
}
@media (prefers-reduced-motion: reduce) { .rv { animation: none !important; } }

/* ---------- error page */
.err { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.err .code { font-family: var(--display); font-size: 120px; line-height: 1; color: var(--saffron); }
.desk-only { display: none !important; }
@media (min-width: 900px) { .desk-only { display: inline-flex !important; } }
.mk-home, .mk-bike { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 3px solid #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .5); }
.mk-home { background: var(--grape); color: #fff; }
.mk-bike { background: var(--saffron); color: var(--saffron-ink); animation: ping2 1.6s infinite; }
.leaflet-container { background: #1d110b; font-family: var(--body); }
.leaflet-control-attribution { background: rgba(20, 11, 7, .7) !important; color: var(--mute) !important; }
.leaflet-control-attribution a { color: var(--dim) !important; }
.stepper.wide .add { display: inline-flex; align-items: center; justify-content: center; }
.bento a.wide { grid-column: 1 / -1; min-height: 110px; }
@media (min-width: 900px) { .bento a.wide { grid-row: auto; } }
.price b { white-space: nowrap; }

/* ================= the order story phone (intro film) ================= */
.phone { display: none; position: absolute; z-index: 3; inset-inline-end: max(28px, calc((100vw - 1280px) / 2 + 28px)); top: 50%; transform: translateY(-46%) rotate(-3deg);
  width: 272px; height: 560px; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .65)); }
@media (min-width: 1000px) { .phone { display: block; } }
@media (min-width: 1000px) and (max-height: 760px) { .phone { width: 236px; height: 486px; } }
.ph-frame { position: relative; width: 100%; height: 100%; border-radius: 42px; padding: 12px; background: linear-gradient(145deg, #3b2a20, #0d0806); border: 1px solid rgba(255, 230, 200, .25); overflow: hidden; }
.ph-frame::before { content: ""; position: absolute; inset: 12px; border-radius: 32px; background: var(--coal); }
.ph-notch { position: absolute; z-index: 5; top: 18px; left: 50%; width: 86px; height: 22px; margin-left: -43px; border-radius: 20px; background: #000; }
.ph-bar { position: relative; z-index: 4; display: flex; justify-content: space-between; align-items: center; padding: 10px 18px 0; height: 40px; font-size: 11px; color: var(--dim); }
.ph-logo { font-family: var(--display); font-size: 15px; color: var(--cream); margin-top: 22px; position: absolute; left: 0; right: 0; text-align: center; }
.ph-logo i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--chili); vertical-align: super; }
.scr { position: absolute; z-index: 2; inset: 76px 12px 12px; padding: 4px 12px 12px; opacity: 0; transition: opacity .35s; font-size: 12px; overflow: hidden; border-radius: 0 0 32px 32px; }
.phone[data-scene=browse] .scr[data-s=browse], .phone[data-scene=order] .scr[data-s=order], .phone[data-scene=prep] .scr[data-s=prep],
.phone[data-scene=ride] .scr[data-s=ride], .phone[data-scene=door] .scr[data-s=door], .phone[data-scene=pay] .scr[data-s=pay] { opacity: 1; }
.ph-h { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 10px; }
.ph-h b { font-family: var(--display); font-size: 17px; }
.ph-open { display: inline-flex; align-items: center; gap: 4px; color: var(--mint); font-size: 10.5px; }
.ph-open i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.ph-row { display: grid; grid-template-columns: 46px 1fr auto; gap: 8px; align-items: center; padding: 7px; margin-bottom: 7px; border-radius: 14px; background: var(--char); border: 1px solid var(--line); }
.ph-img { width: 46px; height: 46px; border-radius: 11px; overflow: hidden; background: var(--char-3); }
.ph-img img { width: 100%; height: 100%; object-fit: cover; }
.ph-t b { display: block; font-size: 11.5px; line-height: 1.3; }
.ph-t i { font-style: normal; font-family: var(--display); color: var(--saffron); font-size: 13px; }
.ph-add { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--saffron); color: var(--saffron-ink); display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.ph-add .n { position: absolute; opacity: 0; font-size: 13px; }
.ph-cart { position: absolute; inset: auto 10px 10px; display: flex; gap: 6px; align-items: center; padding: 10px 12px; border-radius: 999px; background: var(--saffron); color: var(--saffron-ink); font-weight: 700; font-size: 11px; transform: translateY(80px); }
.ph-cart span { width: 20px; height: 20px; border-radius: 50%; background: var(--saffron-ink); color: var(--saffron); display: grid; place-items: center; }
.ph-cart b { margin-inline-start: auto; font-family: var(--display); }
.tap { position: absolute; z-index: 9; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .55); border: 2px solid #fff; opacity: 0; pointer-events: none; }
.ph-box { padding: 10px; border-radius: 14px; background: var(--char); border: 1px solid var(--line); }
.ph-line { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; color: var(--dim); }
.ph-line.tot { border-top: 1px dashed var(--line-2); margin-top: 4px; padding-top: 8px; color: var(--cream); font-weight: 700; }
.ph-line.tot b { font-family: var(--display); color: var(--saffron); font-size: 17px; }
.ph-pin { display: flex; align-items: center; gap: 6px; margin: 10px 0; padding: 8px 10px; border-radius: 12px; background: var(--char-2); color: var(--dim); font-size: 11px; }
.ph-btn { margin-top: 12px; padding: 12px; border-radius: 999px; background: var(--saffron); color: var(--saffron-ink); text-align: center; font-weight: 800; font-size: 14px; }
.ph-done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; background: rgba(20, 11, 7, .98); opacity: 0; text-align: center; }
.ph-done .ok, .ph-paid .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: #062b1c; display: grid; place-items: center; transform: scale(0); }
.ph-done .ok .ic, .ph-paid .ok .ic { width: 34px; height: 34px; stroke-width: 3; }
.ph-done b { font-family: var(--display); font-size: 22px; }
.ph-done small { color: var(--dim); }
.ph-ring { width: 120px; height: 120px; margin: 18px auto 10px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--saffron) 0deg, var(--char-3) 0deg); position: relative; }
.ph-ring::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--coal); }
.ph-ring span { position: relative; z-index: 1; color: var(--chili); }
.ph-big { display: block; text-align: center; font-family: var(--display); font-size: 21px; }
.ph-sub { display: block; text-align: center; color: var(--dim); margin-top: 4px; }
.ph-steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.ph-steps li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--char); color: var(--dim); opacity: .25; }
.ph-steps li .ic { color: var(--mint); }
.ph-map { position: absolute; inset: 0 0 92px; background: #1a120d; overflow: hidden; border-radius: 8px; }
.ph-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-map .streets path { stroke: #3a2a20; stroke-width: 9; fill: none; vector-effect: non-scaling-stroke; }
.ph-map .route { vector-effect: non-scaling-stroke; stroke: var(--saffron); stroke-width: 4; fill: none; stroke-dasharray: 8 7; stroke-linecap: round; }
.mk-shop, .mk-home2, .mk-bike2 { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #fff; }
.mk-shop { left: 15.4%; top: 90%; background: var(--chili); color: #fff; }
.mk-home2 { left: 84.6%; top: 20%; background: var(--grape); color: #fff; }
.mk-bike2 { left: 15.4%; top: 90%; background: var(--saffron); color: var(--saffron-ink); z-index: 2; box-shadow: 0 0 0 6px rgba(255, 179, 33, .25); }
.ph-sheet { position: absolute; inset: auto 0 0; height: 92px; padding: 12px; border-radius: 18px 18px 0 0; background: var(--coal); border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; }
.ph-sheet b[data-eta] { font-family: var(--display); font-size: 34px; color: var(--saffron); line-height: 1; }
.ph-sheet small { color: var(--dim); }
.ph-drv { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.ph-drv span { width: 30px; height: 30px; border-radius: 50%; background: var(--saffron); color: var(--saffron-ink); display: grid; place-items: center; font-family: var(--display); }
.ph-doorbg { position: relative; height: 170px; margin: 6px 0 12px; border-radius: 18px; background: radial-gradient(circle at 50% 60%, #4a2a17, #1d110b 70%); display: grid; place-items: center; }
.ph-house { width: 76px; height: 76px; border-radius: 50%; background: var(--grape); color: #fff; display: grid; place-items: center; }
.ph-house .ic { width: 38px; height: 38px; }
.ph-ding { position: absolute; top: 18px; inset-inline-end: 14px; padding: 4px 10px; border-radius: 999px; background: var(--saffron); color: var(--saffron-ink); font-weight: 800; font-size: 11px; opacity: 0; }
.ph-done2 { inset: auto 0 0; height: 150px; background: linear-gradient(transparent, rgba(20, 11, 7, .96) 30%); }
.ph-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ph-pay > div { position: relative; display: grid; justify-items: center; gap: 4px; padding: 16px 8px; border-radius: 16px; background: var(--char); border: 1px solid var(--line); text-align: center; }
.ph-pay b { font-family: var(--display); font-size: 17px; }
.ph-pay small { color: var(--mute); font-size: 10px; line-height: 1.3; }
.ph-pay .card { border-color: var(--saffron); background: rgba(255, 179, 33, .08); }
.nfc { position: absolute; top: 8px; inset-inline-start: 8px; width: 18px; height: 18px; }
.nfc i { position: absolute; inset: 0; border: 2px solid var(--saffron); border-radius: 50%; opacity: 0; }
.ph-paid { position: absolute; inset: auto 12px 14px; display: grid; justify-items: center; gap: 4px; padding: 16px; border-radius: 18px; background: var(--char-2); border: 1px solid rgba(47, 227, 154, .35); opacity: 0; transform: translateY(20px); }
.ph-paid b { font-family: var(--display); font-size: 22px; }
.ph-paid .pts { padding: 3px 12px; border-radius: 999px; background: var(--grape); color: #fff; font-weight: 700; }

/* animations run while the phone has .play (restarted for every clip) */
.phone.play .t-browse { animation: tapBrowse 6s ease forwards; }
@keyframes tapBrowse { 0% { opacity: 0; left: 50%; top: 80%; } 15% { opacity: 1; } 35% { left: 16px; top: 55px; transform: scale(1); } 40% { transform: scale(.7); } 45% { transform: scale(1); } 60% { opacity: 1; left: 16px; top: 55px; } 70% { opacity: 0; } 100% { opacity: 0; left: 16px; top: 55px; } }
.phone.play .ph-row.first .ph-add { animation: addOn 6s forwards; }
.phone.play .ph-row.first .ph-add .p { animation: plusOff 6s forwards; }
.phone.play .ph-row.first .ph-add .n { animation: nOn 6s forwards; }
@keyframes addOn { 0%, 40% { transform: scale(1); } 44% { transform: scale(1.35); background: var(--mint); } 50%, 100% { transform: scale(1); background: var(--mint); } }
@keyframes plusOff { 0%, 42% { opacity: 1; } 44%, 100% { opacity: 0; } }
@keyframes nOn { 0%, 42% { opacity: 0; } 46%, 100% { opacity: 1; } }
.phone.play .ph-row.first { animation: rowGlow 6s forwards; }
@keyframes rowGlow { 0%, 40% { border-color: var(--line); } 46%, 100% { border-color: var(--mint); } }
.phone.play .ph-cart { animation: cartUp 6s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes cartUp { 0%, 50% { transform: translateY(80px); } 60%, 100% { transform: none; } }
.phone.play .t-order { animation: tapOrder 6s ease forwards; }
@keyframes tapOrder { 0% { opacity: 0; left: 70%; top: 85%; } 15% { opacity: 1; } 32% { left: 45%; top: 262px; transform: scale(1); } 37% { transform: scale(.7); } 42% { transform: scale(1); opacity: 1; } 48%, 100% { opacity: 0; left: 45%; top: 262px; } }
.phone.play [data-s=order] .ph-btn { animation: btnPress 6s forwards; }
@keyframes btnPress { 0%, 34% { transform: scale(1); } 37% { transform: scale(.94); background: var(--saffron-2); } 42%, 100% { transform: scale(1); } }
.phone.play [data-s=order] .ph-done { animation: fadeIn 6s forwards; }
.phone.play [data-s=order] .ph-done .ok { animation: popIn 6s cubic-bezier(.2, 1.6, .4, 1) forwards; }
@keyframes fadeIn { 0%, 44% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes popIn { 0%, 48% { transform: scale(0); } 58%, 100% { transform: scale(1); } }
.phone.play .ph-ring { animation: ring 6s linear forwards; }
@property --deg { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.ph-ring { background: conic-gradient(var(--saffron) var(--deg), var(--char-3) var(--deg)); }
@keyframes ring { from { --deg: 0deg; } to { --deg: 340deg; } }
.phone.play .ph-ring span { animation: flick 1s ease-in-out infinite; }
@keyframes flick { 50% { transform: scale(1.18) rotate(-6deg); } }
.phone.play .ph-steps .s1 { animation: stepOn 6s forwards; }
.phone.play .ph-steps .s2 { animation: stepOn2 6s forwards; }
.phone.play .ph-steps .s3 { animation: stepOn3 6s forwards; }
@keyframes stepOn { 0%, 10% { opacity: .25; } 16%, 100% { opacity: 1; color: var(--cream); } }
@keyframes stepOn2 { 0%, 40% { opacity: .25; } 46%, 100% { opacity: 1; color: var(--cream); } }
@keyframes stepOn3 { 0%, 72% { opacity: .25; } 78%, 100% { opacity: 1; color: var(--cream); } }
.phone.play .mk-bike2 { animation: ride 6s cubic-bezier(.45, 0, .55, 1) forwards; }
@keyframes ride { 0% { left: 15.4%; top: 90%; } 10% { left: 15.4%; top: 80%; } 45% { left: 53.8%; top: 80%; } 65% { left: 53.8%; top: 50%; } 85% { left: 84.6%; top: 50%; } 100% { left: 84.6%; top: 22%; } }
.phone.play .ph-map .route { animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -15; } }
.phone.play .ph-ding { animation: ding 6s forwards; }
@keyframes ding { 0%, 15% { opacity: 0; transform: scale(.6); } 20%, 48% { opacity: 1; transform: scale(1); } 22%, 30% { transform: rotate(-8deg); } 26%, 34% { transform: rotate(8deg); } 55%, 100% { opacity: 0; } }
.phone.play .ph-house { animation: house 6s forwards; }
@keyframes house { 0%, 18% { box-shadow: 0 0 0 0 rgba(139, 92, 246, .6); } 30% { box-shadow: 0 0 0 22px rgba(139, 92, 246, 0); } 100% { box-shadow: none; } }
.phone.play .ph-done2 { animation: fadeIn2 6s forwards; }
.phone.play .ph-done2 .ok { animation: popIn2 6s cubic-bezier(.2, 1.6, .4, 1) forwards; }
@keyframes fadeIn2 { 0%, 58% { opacity: 0; } 64%, 100% { opacity: 1; } }
@keyframes popIn2 { 0%, 62% { transform: scale(0); } 72%, 100% { transform: scale(1); } }
.phone.play .t-pay { animation: tapPay 6s ease forwards; }
@keyframes tapPay { 0% { opacity: 0; left: 60%; top: 85%; } 15% { opacity: 1; } 30% { left: 66%; top: 90px; transform: scale(1); } 35% { transform: scale(.7); } 40% { transform: scale(1); opacity: 1; } 46%, 100% { opacity: 0; left: 66%; top: 90px; } }
.phone.play .nfc i { animation: nfc 1.2s ease-out infinite; }
.phone.play .nfc i:nth-child(2) { animation-delay: .4s; } .phone.play .nfc i:nth-child(3) { animation-delay: .8s; }
@keyframes nfc { from { opacity: .9; transform: scale(.3); } to { opacity: 0; transform: scale(1.8); } }
.phone.play .ph-paid { animation: paid 6s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.phone.play .ph-paid .ok { animation: popIn 6s cubic-bezier(.2, 1.6, .4, 1) forwards; }
@keyframes paid { 0%, 44% { opacity: 0; transform: translateY(20px); } 52%, 100% { opacity: 1; transform: none; } }

/* phone-size live card */
.hcard { position: absolute; z-index: 3; top: calc(98px + env(safe-area-inset-top)); inset-inline-start: 16px; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 92px);
  padding: 9px 14px 9px 10px; border-radius: 18px; background: rgba(20, 11, 7, .72); border: 1px solid rgba(255, 230, 200, .18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(-10px); transition: opacity .4s, transform .4s; overflow: hidden; }
.hcard.on { opacity: 1; transform: none; }
.hcard .hi { width: 34px; height: 34px; border-radius: 50%; background: var(--saffron); color: var(--saffron-ink); display: grid; place-items: center; flex: none; }
.hcard .ht b { display: block; font-size: 13.5px; line-height: 1.25; }
.hcard .ht small { color: var(--dim); font-size: 11.5px; }
.hcard .hp { position: absolute; inset: auto 0 0; height: 2px; background: rgba(255, 255, 255, .08); }
.hcard .hp i { display: block; height: 100%; width: 0; background: var(--saffron); }
.hcard.on .hp i { animation: bar 6s linear forwards; }
@media (min-width: 1000px) { .hcard { display: none; } .hero .cap { max-width: 60%; } }
@media (prefers-reduced-motion: reduce) { .phone *, .phone { animation: none !important; } }
.phone { transition: opacity .5s; }
.phone:not(.play) { opacity: 0; }

/* ================= v4: the live stage (replaces the full-bleed film) ================= */
.stage { position: relative; isolation: isolate; overflow: hidden; padding: calc(86px + env(safe-area-inset-top)) 0 28px; }
.stage-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 214, 170, .09) 1px, transparent 1.4px); background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 40%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); }
.stage-bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.stage-bg .g1 { width: 520px; height: 520px; background: #ff7a1a; top: -180px; inset-inline-end: -120px; opacity: .35; }
.stage-bg .g2 { width: 420px; height: 420px; background: var(--chili); bottom: -160px; inset-inline-start: 8%; opacity: .22; }
.stage-bg .g3 { width: 360px; height: 360px; background: var(--grape); top: 30%; inset-inline-start: -160px; opacity: .2; }
.stage-in { display: grid; gap: 18px; align-items: center; }
@media (min-width: 1000px) { .stage-in { grid-template-columns: 1.08fr .92fr; min-height: min(700px, calc(100vh - 120px)); } .stage { padding-bottom: 40px; } }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(47, 227, 154, .1); border: 1px solid rgba(47, 227, 154, .3); color: #c4f7e1; font-size: 13.5px; }
.live-pill b { font-family: var(--display); font-size: 16px; color: #fff; }
.headline { margin: 16px 0 12px; font-family: var(--display); font-size: clamp(42px, 7.6vw, 92px); line-height: 1.06; color: #fff; }
.headline em { display: block; margin-top: 6px; font-style: normal; font-size: .52em; color: #f3dcc4; line-height: 1.2; }
.rot { display: inline-block; position: relative; height: 1.14em; overflow: hidden; vertical-align: bottom; color: var(--saffron); padding-inline: .04em; }
.rot span { display: inline-block; white-space: nowrap; }
.rot span.out { animation: rotOut .45s cubic-bezier(.6, 0, .4, 1) forwards; }
.rot span.in { animation: rotIn .55s cubic-bezier(.2, .9, .2, 1) forwards; }
@keyframes rotOut { to { transform: translateY(-110%); opacity: 0; } }
@keyframes rotIn { from { transform: translateY(110%); opacity: 0; } to { transform: none; opacity: 1; } }
.lede { margin: 0; max-width: 46ch; color: var(--dim); font-size: clamp(15px, 1.6vw, 17.5px); }
.stage .hsearch { margin-top: 20px; background: rgba(255, 245, 230, .07); border-color: var(--line-2); }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 26px; margin-top: 22px; }
.facts div { display: grid; gap: 2px; padding-inline-start: 12px; border-inline-start: 2px solid var(--saffron); }
.facts b { font-family: var(--display); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.1; }
.facts span { font-size: 12.5px; color: var(--mute); }
@media (max-width: 420px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 8px 12px; } .facts div { padding-inline-start: 8px; } }

/* the phone + floating cards, scaled as one piece */
.scene { --s: 1; position: relative; height: calc(560px * var(--s) + 56px); }
@media (max-width: 999px) { .scene { --s: .92; margin-top: 8px; } }
@media (max-width: 520px) { .scene { --s: .8; } }
@media (max-width: 370px) { .scene { --s: .72; } }
.phone-fit { position: absolute; left: 50%; top: 24px; width: 272px; height: 560px; margin-left: -136px; transform: scale(var(--s)); transform-origin: top center; }
.phone-fit .phone { display: block; position: relative; inset: auto; top: 0; width: 272px; height: 560px; transform: rotate(-4deg); }
.phone-fit .phone:not(.play) { opacity: 1; }
.scene .hcard { display: none !important; }
.fc { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 9px 12px 9px 10px; border-radius: 18px;
  background: rgba(36, 22, 14, .82); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 40px -16px rgba(0, 0, 0, .75); font-size: 12.5px; animation: bob 7s ease-in-out infinite; }
.fc b { display: block; font-size: 13px; line-height: 1.25; }
.fc i { font-style: normal; font-family: var(--display); color: var(--saffron); font-size: 16px; }
.fc small { color: var(--dim); font-size: 11.5px; }
.fi { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; flex: none; background: var(--char-3); }
.fi img { width: 100%; height: 100%; object-fit: cover; }
.fc-p1 { top: 9%; inset-inline-start: max(0px, calc(50% - 136px * var(--s) - 150px)); max-width: 210px; animation-delay: -1s; }
.fc-p2 { top: 50%; inset-inline-end: max(0px, calc(50% - 136px * var(--s) - 150px)); max-width: 210px; animation-delay: -3.5s; }
.fc-map { display: grid; gap: 4px; padding: 8px; width: 150px; bottom: 15%; inset-inline-start: max(0px, calc(50% - 136px * var(--s) - 120px)); animation-delay: -2s; }
.fc-map svg { width: 100%; height: 64px; border-radius: 10px; background: #1a120d; }
.fc-map .rd { stroke: #3a2a20; stroke-width: 6; fill: none; }
.fc-map .rt { stroke: var(--saffron); stroke-width: 3; fill: none; stroke-dasharray: 5 5; animation: dash 1s linear infinite; }
.fc-map .mm { position: relative; }
.fc-map .rd, .fc-map .rt { vector-effect: non-scaling-stroke; }
.fc-map .bk { position: absolute; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--saffron); color: var(--saffron-ink);
  border: 2px solid #fff; transform: translate(-50%, -50%); animation: mapride 6s ease-in-out infinite; }
.fc-map .bk .ic { width: 14px; height: 14px; }
@keyframes mapride { 0% { left: 11.7%; top: 71%; } 45% { left: 70.8%; top: 71%; } 65% { left: 70.8%; top: 28.6%; } 85%, 100% { left: 90%; top: 28.6%; } }
.fc-pay { top: 2%; inset-inline-end: max(0px, calc(50% - 136px * var(--s) - 110px)); animation-delay: -5s; }
.fc-pay > .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--mint); color: #062b1c; stroke-width: 3; }
.fc-pts { bottom: 4%; inset-inline-end: max(0px, calc(50% - 136px * var(--s) - 80px)); background: linear-gradient(135deg, #6d3fe0, #3b1b84); border-color: rgba(183, 148, 255, .5); color: #fff; animation-delay: -4s; }
.fc-pts b { display: inline; font-family: var(--display); font-size: 18px; color: var(--saffron-2); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 520px) {
  .fc { padding: 7px 10px 7px 8px; border-radius: 14px; }
  .fi { width: 40px; height: 40px; border-radius: 10px; }
  .fc b { font-size: 11.5px; } .fc i { font-size: 14px; }
  .fc-p1, .fc-p2 { max-width: 150px; }
  .fc-p2 { top: 46%; }
  .fc-map { width: 118px; }
  .fc-map svg { height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .fc, .fc-map .bk, .fc-map .rt { animation: none !important; } }

/* calm ticker under the stage */
.ticker { position: relative; overflow: hidden; background: var(--char); border-block: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker .track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 9px; padding: 13px 28px; font-size: 14.5px; font-weight: 600; color: #e8d3bd; white-space: nowrap; border-inline-end: 1px solid var(--line); }
.ticker .ic { color: var(--saffron); }
@media (prefers-reduced-motion: reduce) { .ticker .track { animation: none; } }

/* reels */
.rail.reels { grid-auto-columns: minmax(170px, 44vw); }
@media (min-width: 700px) { .rail.reels { grid-auto-columns: 210px; } }
.reel { position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--char-2); border: 1px solid var(--line); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; inset: auto 0 0; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(14, 7, 4, .9)); }
.reel figcaption b { display: block; font-family: var(--display); font-size: 19px; line-height: 1.15; }
.reel figcaption small { color: #e6cdb4; font-size: 12px; }

/* real footage behind the live stage: graded warm & dark so the text and phone stay readable */
.stage-film { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #0b0604; }
.stage-film video { position: absolute; inset: -2%; width: 104%; height: 104%; object-fit: cover; opacity: 0; transform: scale(1.08);
  filter: saturate(1.3) contrast(1.12) brightness(.62) sepia(.12); transition: opacity 1.6s ease, transform 9s ease-out; }
.stage-film video.on { opacity: 1; transform: scale(1); }
.stage-film::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 11, 7, .15) 0%, rgba(20, 11, 7, .55) 45%, rgba(20, 11, 7, .92) 100%),
              linear-gradient(180deg, rgba(20, 11, 7, .55) 0%, rgba(20, 11, 7, 0) 25%, rgba(20, 11, 7, 0) 70%, var(--coal) 100%); }
@media (max-width: 999px) { .stage-film::after { background: linear-gradient(180deg, rgba(20, 11, 7, .6) 0%, rgba(20, 11, 7, .78) 40%, rgba(20, 11, 7, .55) 70%, var(--coal) 100%); } }
.stage-film ~ .stage-bg { opacity: .35; }
@media (prefers-reduced-motion: reduce) { .stage-film video { transition: none; transform: none; } }
.olist-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--char-2); border: 1px solid var(--line); }
.olist-row .n { font-family: var(--display); font-size: 19px; color: var(--saffron); }
.brand .logo-img { height: 48px; width: auto; flex: none; filter: drop-shadow(0 4px 14px rgba(255, 170, 40, .25)); }
@media (min-width: 900px) { .brand .logo-img { height: 54px; } }
.tsearch input[type=search] { border: 0; background: none; box-shadow: none; height: auto; padding: 0; border-radius: 0; }
