/* دولمة بيتنا v2 · one stylesheet for every page.
   Palette from the dish itself: vine-leaf green, copper, tray gold (buttons only), broth red, clay cream, oven charcoal.
   Fonts: Alexandria (headings) + Readex Pro (text), local files. */

@font-face { font-family: "Alexandria"; font-weight: 400; font-display: swap; src: url("fonts/alexandria-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Alexandria"; font-weight: 400; font-display: swap; src: url("fonts/alexandria-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-024F, U+2000-206F; }
@font-face { font-family: "Alexandria"; font-weight: 700; font-display: swap; src: url("fonts/alexandria-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Alexandria"; font-weight: 700; font-display: swap; src: url("fonts/alexandria-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-024F, U+2000-206F; }
@font-face { font-family: "Alexandria"; font-weight: 900; font-display: swap; src: url("fonts/alexandria-arabic-900-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Alexandria"; font-weight: 900; font-display: swap; src: url("fonts/alexandria-latin-900-normal.woff2") format("woff2"); unicode-range: U+0000-024F, U+2000-206F; }
@font-face { font-family: "Readex Pro"; font-weight: 300 700; font-display: swap; src: url("fonts/readexpro-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Readex Pro"; font-weight: 300 700; font-display: swap; src: url("fonts/readexpro-latin-400.woff2") format("woff2"); unicode-range: U+0000-024F, U+2000-206F; }

:root {
  --clay: #F5ECDC;
  --clay-2: #EADCC3;
  --clay-3: #DCC9A8;
  --ink: #17120E;
  --ink-soft: #4A3F33;
  --mute: #6A5C4B;
  --leaf: #3E5B2E;
  --leaf-2: #2F4723;
  --leaf-soft: #9DB57A;
  --copper: #B8742F;
  --copper-2: #8E5420;
  --gold: #C8963E;
  --gold-2: #B5832C;
  --broth: #9A2E1F;
  --oven: #17120E;
  --bg: var(--clay);
  --fg: var(--ink);
  --fg-soft: var(--ink-soft);
  --halo: #EADCC3;
  --display: "Alexandria", "Readex Pro", Tahoma, sans-serif;
  --body: "Readex Pro", "Alexandria", Tahoma, sans-serif;
  --radius: 22px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 1rem; line-height: 1.75;
  transition: background-color .7s var(--ease), color .7s var(--ease);
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 10px;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.25; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-weight: 900; }
h2 { font-weight: 900; font-size: clamp(1.7rem, 5.4vw, 2.8rem); }
h3 { font-weight: 700; font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--clay); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.ex { font-family: var(--body); font-size: .72em; font-weight: 500; color: var(--copper-2); border: 1px solid currentColor; border-radius: 99px; padding: 0 .55em; margin-inline-start: .35em; vertical-align: .12em; white-space: nowrap; }
.is-oven .ex { color: #E9B979; }
.kicker { font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .02em; color: var(--leaf); margin-bottom: .5rem; display: inline-flex; align-items: center; gap: .5em; }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.muted { color: var(--mute); }
.noscript { background: var(--broth); color: #fff; padding: 12px 16px; margin: 0; text-align: center; }
.load-error { background: #FBE5DF; color: var(--broth); border-radius: 14px; padding: 14px 18px; margin: 20px 0; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--gold); --c: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .55em 1.35em; border-radius: 99px; border: 2px solid var(--b);
  background: var(--b); color: var(--c); font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-gold { --b: var(--gold); --c: var(--ink); }
.btn-gold:hover { --b: var(--gold-2); }
.btn-leaf { --b: var(--leaf); --c: #FBF6EC; }
.btn-leaf:hover { --b: var(--leaf-2); }
.btn-line { --b: transparent; --c: var(--fg); border-color: currentColor; }
.btn-line:hover { background: rgba(23, 18, 14, .06); }
.is-oven .btn-line:hover { background: rgba(255, 255, 255, .08); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.link-arrow { font-family: var(--display); font-weight: 700; color: var(--leaf); text-decoration: none; display: inline-flex; align-items: center; gap: .4em; min-height: 44px; }
.link-arrow::after { content: "←"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(-4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--fg) 10%, transparent);
  transition: background-color .7s var(--ease);
}
.header-in { display: flex; align-items: center; gap: 12px; min-height: 64px; padding-top: env(safe-area-inset-top, 0px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 1.2rem; white-space: nowrap; }
.brand-name b { color: var(--leaf); font-weight: 900; }
.is-oven .brand-name b { color: var(--leaf-soft); }
.nav { margin-inline-start: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 99px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: .95rem; }
.nav a:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.nav a[aria-current="page"] { background: var(--leaf); color: #FBF6EC; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 99px; border: 0; background: transparent; color: inherit; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.icon-btn svg { width: 24px; height: 24px; }
.wa-btn { background: var(--leaf); color: #FBF6EC; }
.wa-btn:hover { background: var(--leaf-2); }
.cart-count { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--broth); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px; line-height: 1; }
.cart-count[data-empty="true"] { display: none; }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.4); } }
.menu-btn { display: none; }
.menu-btn span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.menu-btn span + span { margin-top: 6px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: inline-grid; place-content: center; }
  .nav { position: absolute; inset: 100% 0 auto; margin: 0; background: var(--bg); border-bottom: 1px solid color-mix(in srgb, var(--fg) 12%, transparent); padding: 8px var(--gutter) 16px; display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { width: 100%; font-size: 1.05rem; }
  .header-actions { margin-inline-start: auto; }
  .wa-btn { display: none; }
}

/* ---------- vine shadow (P6): dappled leaves drifting over every page ---------- */
/* the vine shade is a pre-blurred image: a live blur + multiply over the full screen cost ~half the frame rate (25 → 60 fps without it, 2026-10-29) */
.vine { position: fixed; inset: -10vh -10vw auto auto; width: min(70vw, 760px); height: auto; aspect-ratio: 1; z-index: 45; pointer-events: none; opacity: .15; will-change: transform; }
.is-oven .vine { opacity: 0; transition: opacity .6s; }
@media (max-width: 700px) { .vine { width: 92vw; inset: -6vh -26vw auto auto; } }

/* ---------- hero: the hand-steps stage ---------- */
.hero { position: relative; padding: 18px 0 28px; }
.hero-grid { display: grid; gap: 18px; align-items: center; }
.stage-col { position: relative; display: grid; place-items: center; }
.halo { position: absolute; width: 122%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--halo) 0 58%, transparent 71%); z-index: 0; transition: background .8s var(--ease); pointer-events: none; }
.is-oven .halo { --halo: rgba(226, 110, 40, .38); }
.stage {
  position: relative; z-index: 1; width: 100%; max-width: 640px; aspect-ratio: 1; perspective: 1200px;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: pan-y;
  border-radius: var(--radius); outline: none;
}
.stage.is-grab { touch-action: none; cursor: grab; }
.stage.is-grab:active { cursor: grabbing; }
.stage:focus-visible { outline: 3px solid var(--leaf); outline-offset: 6px; }
.card3d { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.face { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #2a2017; box-shadow: 0 30px 60px -30px rgba(23, 18, 14, .55), 0 0 0 1px rgba(184, 116, 47, .35); }
.face-back { transform: rotateX(180deg); }
.face canvas, .face img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pan-layer { position: absolute; inset: 0; width: 100%; height: 100%; visibility: hidden; }
.face .loop-layer { display: none; }
.fade-layer { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.blackout { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.steam { position: absolute; inset: -10%; background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .7) 45%, rgba(255, 255, 255, 0) 72%); opacity: 0; pointer-events: none; z-index: 5; border-radius: var(--radius); }
.load-bar { position: absolute; inset: auto 18px 12px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; opacity: 0; transition: opacity .3s; z-index: 6; }
.load-bar i { display: block; height: 100%; width: 0; background: #FBF6EC; transition: width .2s; }
.stage.is-loading .load-bar { opacity: 1; }

/* in-stage hint card */
.hint {
  position: absolute; z-index: 7; inset: auto 0 16px; margin-inline: auto; width: max-content; max-width: calc(100% - 28px);
  display: flex; align-items: center; gap: .6em; padding: .55em 1.1em; border-radius: 99px;
  background: rgba(23, 18, 14, .72); color: #FBF6EC; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--display); font-weight: 700; font-size: clamp(.92rem, 3.6vw, 1.05rem); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.hint .arr { display: inline-block; font-size: 1.15em; }
.hint.is-hidden { opacity: 0; transform: translateY(8px); }
.hint.is-warn { background: rgba(154, 46, 31, .9); }
.ghost { position: absolute; z-index: 6; width: 54px; height: 54px; margin: -27px 0 0 -27px; left: 50%; top: 40%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .95) 0 28%, rgba(255, 255, 255, .35) 30% 55%, transparent 58%); pointer-events: none; opacity: 0; }
.ghost-trail { position: absolute; z-index: 5; left: 50%; width: 6px; margin-left: -3px; border-radius: 6px; background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .7)); pointer-events: none; opacity: 0; }

/* stuffing chips (inside the stage, bottom) */
.chips { position: absolute; z-index: 8; inset: auto 0 14px; display: flex; justify-content: center; gap: 10px; padding: 0 12px; }
.chips[hidden] { display: none; }
.chip-ing {
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 5px 14px 5px 6px; border-radius: 99px; border: 2px solid transparent; white-space: nowrap;
  background: rgba(251, 246, 236, .94); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: .95rem; cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); transition: transform .2s var(--ease), opacity .3s, background-color .3s;
}
.chip-ing img { width: 40px; height: 40px; object-fit: contain; }
.chip-ing.is-next { border-color: var(--gold); animation: nudge 1.6s var(--ease) infinite; }
.chip-ing[aria-disabled="true"] { opacity: .55; cursor: default; }
.chip-ing.is-done { opacity: .5; background: rgba(251, 246, 236, .7); }
.chip-ing.is-done::after { content: "✓"; color: var(--leaf); font-weight: 900; }
@keyframes nudge { 50% { transform: translateY(-4px); } }
@media (max-width: 420px) { .chip-ing { padding: 4px 9px 4px 4px; font-size: .82rem; gap: 4px; min-height: 48px; } .chip-ing img { width: 32px; height: 32px; } .chips { gap: 5px; padding: 0 6px; } }

/* rolled finger (cutout) and the slot in the pot */
.finger { position: absolute; z-index: 9; left: 50.6%; top: 52%; width: 27%; transform: translate(-50%, -50%); touch-action: none; cursor: grab; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); display: none; }
.finger.is-on { display: block; }
.slot { position: absolute; z-index: 8; left: 49%; top: 26.2%; width: 23%; height: 10%; transform: translate(-50%, -50%); border-radius: 99px; border: 3px dashed rgba(251, 246, 236, .95); background: rgba(62, 91, 46, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: none; }
.slot::after { content: ""; position: absolute; inset: -12px; border-radius: 99px; border: 2px solid rgba(251, 246, 236, .7); animation: ring 1.6s ease-out infinite; }
.slot.is-on { display: block; }
.slot.is-hot { background: rgba(200, 150, 62, .7); }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }

/* long-press ring, oven clock, pot counter */
.press { position: absolute; z-index: 9; width: 120px; height: 120px; margin: -60px 0 0 -60px; pointer-events: none; opacity: 0; transition: opacity .2s; }
.press.is-on { opacity: 1; }
.press circle { fill: none; stroke-width: 7; }
.press .bg { stroke: rgba(255, 255, 255, .25); }
.press .fg { stroke: #F2A35A; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.readout { position: absolute; z-index: 7; top: 14px; inset-inline-start: 14px; padding: .35em .9em; border-radius: 12px; background: rgba(23, 18, 14, .72); color: #FBF6EC; font-family: var(--display); font-weight: 700; font-size: .95rem; display: none; }
.readout.is-on { display: block; }
.readout b { font-size: 1.35em; font-variant-numeric: tabular-nums; }
.readout small { opacity: .8; font-weight: 400; }

/* steps bar */
.steps { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 4px; position: relative; }
.steps::before { content: ""; position: absolute; inset: 21px 20px auto; height: 2px; background: color-mix(in srgb, var(--fg) 15%, transparent); }
.steps li { position: relative; display: grid; justify-items: center; gap: 4px; flex: 1; font-size: .78rem; font-weight: 500; color: var(--fg-soft); text-align: center; }
.steps .dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid color-mix(in srgb, var(--fg) 22%, transparent); transition: background-color .4s, border-color .4s, color .4s; }
.steps .dot svg { width: 22px; height: 22px; }
.steps li.is-done .dot { background: var(--leaf); border-color: var(--leaf); color: #FBF6EC; }
.steps li.is-now .dot { border-color: var(--gold); box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 30%, transparent); }
.steps li.is-now { color: var(--fg); font-weight: 700; }
.is-oven .steps .dot { background: #241B14; }
.is-oven .steps li.is-done .dot { background: var(--leaf); }

/* hero text panel */
.hero-panel { display: grid; gap: 14px; }
.hero-title { font-size: clamp(1.75rem, 7.4vw, 4.2rem); margin: 0; line-height: 1.15; }
.hero-title em { font-style: normal; color: var(--leaf); }
.is-oven .hero-title em { color: #E9B979; }
.hero-sub { color: var(--fg-soft); margin: 0; font-size: clamp(.98rem, 3.6vw, 1.15rem); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.order-pill { display: inline-flex; align-items: center; gap: .6em; }
.order-pill .price { font-family: var(--body); font-weight: 600; }
.skip-menu { font-family: var(--display); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; min-height: 44px; color: var(--fg-soft); }
.skip-menu:hover { color: var(--fg); }
.done-card { display: none; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--clay-2); }
.done-card.is-on { display: grid; }
.done-card .big { font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 10vw, 4.6rem); line-height: 1; color: var(--broth); margin: 0; }
.done-card p { margin: 0; }
.alt-row { display: flex; gap: 10px; flex-wrap: wrap; }

@media (min-width: 900px) {
  .hero { min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); display: grid; align-items: center; padding: 24px 0 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, min(600px, 48vw, calc(100svh - 150px))); gap: clamp(28px, 5vw, 80px); }
  .hero-panel { gap: 20px; }
  .steps { max-width: 520px; }
}
@media (max-width: 899px) {
  .hero { padding-top: 12px; }
  .stage-col { order: -1; }
  .hero-panel { gap: 12px; }
  .hero-panel .kicker { display: none; }
  .hero-panel .steps { order: -3; margin-top: 4px; }
  .hero-panel .done-card { order: -2; }
  .hero-panel .hero-actions { order: -1; justify-content: space-between; }
  .hero-title { margin-top: 6px; }
  .order-pill { justify-self: start; }
}
.order-pill { justify-self: start; }

/* page tint per phase */
body.is-oven { --bg: var(--oven); --fg: #F5ECDC; --fg-soft: #CDBFA8; --mute: #B9A98F; }
body.is-oven .site-header { background: rgba(23, 18, 14, .86); }
body.is-served { --halo: #F1D9CB; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 10vw, 110px) 0; position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head p { max-width: 46ch; color: var(--fg-soft); margin: 0; }
.section-head h2 { margin: 0; }

/* tray cards (home menu + menu page) */
.trays { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
@media (min-width: 900px) { .trays { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; } }
.tray-card { position: relative; display: grid; gap: 8px; text-decoration: none; color: inherit; }
.tray-card .plate { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 55%, var(--clay-2) 0 62%, transparent 63%); display: grid; place-items: center; }
.tray-card .plate img { width: 92%; height: 92%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(23, 18, 14, .28)); transition: transform .5s var(--ease); }
.tray-card:hover .plate img { transform: rotate(-8deg) scale(1.03); }
.tray-card h3 { margin: 4px 0 0; font-size: clamp(1rem, 3.6vw, 1.2rem); }
.tray-card .short { color: var(--fg-soft); font-size: .9rem; margin: 0; line-height: 1.6; }
.tray-card .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--body); font-weight: 400; }
.add-btn { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; background: var(--gold); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .2s var(--ease), background-color .2s; }
.add-btn:hover { background: var(--gold-2); transform: rotate(90deg); }
.add-btn svg { width: 22px; height: 22px; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.tray-card .add-btn { position: relative; z-index: 1; }
.tray-card.is-hidden { display: none; }
.tray-card.enter { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.dome-fly { position: absolute; z-index: 20; pointer-events: none; will-change: transform; transform-origin: 50% 50%; left: 0; top: 0; filter: drop-shadow(0 18px 18px rgba(23, 18, 14, .3)); opacity: 0; }

/* ingredients («شنو بيها») */
.inside { background: var(--leaf); color: #F5ECDC; overflow: hidden; }
.inside .kicker { color: var(--leaf-soft); }
.inside .section-head p { color: #DCE5CC; }
.ings { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ing { display: grid; gap: 10px; justify-items: center; text-align: center; }
.ing button { all: unset; cursor: pointer; display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(245, 236, 220, .16) 0 60%, transparent 61%); }
.ing button:focus-visible { outline: 3px solid #F5ECDC; outline-offset: 4px; }
.ing img { width: 74%; height: 74%; object-fit: contain; transition: transform .45s var(--ease); filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .3)); }
.ing button:hover img, .ing button[aria-expanded="true"] img { transform: scale(1.14) rotate(-4deg); }
.ing h3 { margin: 0; font-size: 1.1rem; }
.ing p { font-size: .88rem; color: #DCE5CC; margin: 0; max-width: 28ch; }
@media (max-width: 640px) { .ing p { display: none; } .ing button[aria-expanded="true"] + h3 + p { display: block; } .ings { gap: 8px; } }
.inside-note { margin-top: 28px; max-width: 60ch; color: #E8EEDD; }

/* azayim form */
.azayim-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .azayim-grid { grid-template-columns: 1fr 1.2fr; align-items: start; gap: 56px; } }
.azayim-art { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; max-width: 520px; }
.azayim-art img { width: 100%; height: 100%; object-fit: cover; }
.form-card { background: var(--clay-2); border-radius: var(--radius); padding: clamp(18px, 4vw, 30px); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, fieldset legend { font-family: var(--display); font-weight: 700; font-size: .95rem; }
.opt-tag { font-family: var(--body); font-weight: 400; color: var(--mute); font-size: .85em; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: .6em .9em; border-radius: 14px; border: 2px solid var(--clay-3); background: #FFFBF4; color: var(--ink);
  font: inherit; font-size: 1rem; transition: border-color .2s;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--leaf); outline: none; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--broth); }
.err { color: var(--broth); font-size: .88rem; margin: 0; min-height: 0; font-weight: 600; }
.err:empty { display: none; }
.hint-line { color: var(--mute); font-size: .85rem; margin: 0; }
.two { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.form-msg { margin: 12px 0 0; font-weight: 600; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--leaf); }
.form-msg.bad { color: var(--broth); }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--clay-3); border-radius: 99px; background: #FFFBF4; }
.stepper button { width: 48px; height: 48px; border: 0; background: transparent; font-size: 1.4rem; cursor: pointer; color: var(--ink); border-radius: 99px; }
.stepper button:hover { background: var(--clay-2); }
.stepper input { width: 64px; min-height: 44px; border: 0; background: transparent; text-align: center; font-weight: 700; padding: 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* reviews + areas */
.reviews { display: grid; gap: 16px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; padding: 22px; border-radius: var(--radius); background: var(--clay-2); position: relative; }
.review blockquote { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.7; }
.review figcaption { color: var(--mute); font-size: .9rem; }
.areas { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 900px) { .areas { grid-template-columns: 1.4fr 1fr; } }
.area-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li { padding: .35em .95em; border-radius: 99px; border: 1.5px solid var(--clay-3); font-size: .92rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: start; padding: 10px 0; border-bottom: 1px solid var(--clay-3); font-weight: 400; }
.hours th { font-family: var(--display); font-weight: 700; }

/* ---------- footer: the courtyard brick wall ---------- */
.site-footer {
  position: relative; color: var(--ink); padding: 64px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  background: #E3CFAE url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22120%22%20height%3D%2260%22%20viewBox%3D%220%200%20120%2060%22%3E%3Crect%20width%3D%22120%22%20height%3D%2260%22%20fill%3D%22%23E3CFAE%22/%3E%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%22116%22%20height%3D%2226%22%20rx%3D%222%22%20fill%3D%22%23CDA676%22/%3E%3Crect%20x%3D%22-58%22%20y%3D%2232%22%20width%3D%22116%22%20height%3D%2226%22%20rx%3D%222%22%20fill%3D%22%23C69C69%22/%3E%3Crect%20x%3D%2262%22%20y%3D%2232%22%20width%3D%22116%22%20height%3D%2226%22%20rx%3D%222%22%20fill%3D%22%23D2AE80%22/%3E%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%22116%22%20height%3D%225%22%20fill%3D%22%23fff%22%20opacity%3D%22.12%22/%3E%3Crect%20x%3D%2262%22%20y%3D%2232%22%20width%3D%2256%22%20height%3D%225%22%20fill%3D%22%23fff%22%20opacity%3D%22.1%22/%3E%3Crect%20x%3D%222%22%20y%3D%2232%22%20width%3D%2256%22%20height%3D%225%22%20fill%3D%22%23fff%22%20opacity%3D%22.1%22/%3E%3C/svg%3E") 0 0 / 120px 60px repeat;
}
.footer-panel { position: relative; background: rgba(245, 236, 220, .94); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); display: grid; gap: 28px; }
@media (min-width: 900px) { .footer-panel { grid-template-columns: 1.2fr 1fr 1fr 1.3fr; } }
.footer-panel h2 { font-size: 1.05rem; margin-bottom: .8em; }
.footer-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.footer-panel ul a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; text-decoration: none; }
.footer-panel ul a:hover { color: var(--leaf); text-decoration: underline; }
.footer-panel p { margin: 0 0 .4em; font-size: .95rem; }
.news-row { display: flex; gap: 8px; }
.news-row input { flex: 1; min-width: 0; }
.f-bottom { position: relative; margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; font-size: .9rem; background: rgba(245, 236, 220, .94); border-radius: 99px; padding: 10px 20px; }
.f-bottom p { margin: 0; }
.fiction { font-family: var(--display); font-weight: 700; }

/* ---------- inner pages ---------- */
.page-head { padding: clamp(28px, 6vw, 64px) 0 clamp(18px, 3vw, 28px); }
.page-head h1 { font-size: clamp(2rem, 7vw, 3.6rem); margin-bottom: .25em; }
.page-head p { color: var(--fg-soft); max-width: 52ch; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter-chip { min-height: 44px; padding: 0 18px; border-radius: 99px; border: 2px solid var(--clay-3); background: transparent; font: inherit; font-family: var(--display); font-weight: 700; cursor: pointer; color: var(--ink); }
.filter-chip[aria-pressed="true"] { background: var(--leaf); border-color: var(--leaf); color: #FBF6EC; }
.count-line { color: var(--mute); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .9rem; color: var(--mute); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; }
.crumbs a { display: inline-flex; min-height: 44px; align-items: center; }
.product { display: grid; gap: 28px; padding-bottom: 40px; }
@media (min-width: 900px) { .product { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.gallery-main { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--clay-2) 0 64%, transparent 65%); display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 94%; height: 94%; object-fit: contain; }
.gallery-main.is-photo { border-radius: var(--radius); }
.gallery-main.is-photo img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; justify-content: center; }
.thumb { width: 64px; height: 64px; padding: 0; border-radius: 14px; border: 2px solid var(--clay-3); background: var(--clay-2); overflow: hidden; cursor: pointer; }
.thumb[aria-current="true"] { border-color: var(--leaf); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-info h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
.p-price { font-family: var(--display); font-weight: 900; font-size: 1.6rem; margin: 6px 0 18px; }
.p-price small { font-size: .6em; font-weight: 400; color: var(--mute); }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 6px 16px; border-radius: 16px; border: 2px solid var(--clay-3); cursor: pointer; font-family: var(--display); font-weight: 700; }
.opt span small { font-family: var(--body); font-weight: 400; color: var(--mute); }
.opt input:checked + span { border-color: var(--leaf); background: color-mix(in srgb, var(--leaf) 10%, transparent); }
.opt input:focus-visible + span { outline: 3px solid var(--leaf); outline-offset: 2px; }
.buy-row { display: flex; gap: 10px; align-items: center; margin: 10px 0; flex-wrap: wrap; }
.buy-row .btn { flex: 1; }
.p-meta { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: var(--fg-soft); font-size: .95rem; }
.p-meta li { display: flex; gap: 10px; align-items: center; }
.p-meta svg { width: 22px; height: 22px; flex: none; color: var(--leaf); }
.related { padding: 20px 0 60px; }

.cart-layout { display: grid; gap: 28px; padding-bottom: 60px; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--clay-3); }
.line img { width: 76px; height: 76px; object-fit: contain; border-radius: 50%; background: var(--clay-2); }
.line h3 { margin: 0; font-size: 1.05rem; }
.line h3 a { text-decoration: none; }
.line p { margin: 0; font-size: .9rem; }
.line-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.line-total { font-family: var(--display); font-weight: 700; margin-inline-start: auto; }
.remove { min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--broth); font: inherit; text-decoration: underline; cursor: pointer; }
.summary { margin-top: 18px; padding: 18px; border-radius: var(--radius); background: var(--clay-2); }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0 0 10px; }
.summary dd { margin: 0; font-family: var(--display); font-weight: 700; }
.summary .grand { font-size: 1.2rem; font-weight: 900; }
.pay-note { display: flex; gap: 8px; align-items: center; color: var(--fg-soft); font-size: .92rem; margin: 8px 0 0; }
.pay-note svg { width: 22px; height: 22px; flex: none; color: var(--leaf); }
.empty { text-align: center; padding: 30px 0; display: grid; justify-items: center; gap: 8px; }
.empty img { width: 220px; border-radius: 50%; }
.msg-box { white-space: pre-wrap; background: #FFFBF4; border: 1px solid var(--clay-3); border-radius: 14px; padding: 14px; font-family: var(--body); font-size: .9rem; max-height: 260px; overflow: auto; }
.success-head { display: flex; align-items: center; gap: 12px; }
.success-head svg { width: 42px; height: 42px; color: var(--leaf); }
.row { display: flex; flex-wrap: wrap; gap: 10px; }

.faq-group { margin-bottom: 36px; }
.acc-item { border-bottom: 1px solid var(--clay-3); }
.acc-btn { width: 100%; min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; background: none; border: 0; font: inherit; font-family: var(--display); font-weight: 700; font-size: 1.05rem; text-align: start; cursor: pointer; color: inherit; }
.pm { width: 22px; height: 22px; position: relative; flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; inset: 10px 2px auto; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.pm::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .pm::after { transform: rotate(0); }
.acc-panel p { color: var(--fg-soft); padding-bottom: 14px; margin: 0; }

.about-hero { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.about-hero img { width: 100%; height: 100%; object-fit: cover; }
.story { display: grid; gap: 28px; padding: 40px 0; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: 56px; } }
.story p { font-size: 1.08rem; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.value { padding: 18px 20px; border-radius: var(--radius); background: var(--clay-2); }
.value h3 { margin-bottom: .2em; }
.value p { margin: 0; color: var(--fg-soft); }
.process { list-style: none; padding: 0; margin: 0 0 60px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; counter-reset: s; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li { counter-increment: s; }
.process img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; }
.process p { margin: 8px 0 0; font-family: var(--display); font-weight: 700; }
.process p::before { content: counter(s) " · "; color: var(--copper-2); }
.contact-grid { display: grid; gap: 28px; padding-bottom: 60px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 56px; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-list b { font-family: var(--display); min-width: 6.5em; }
.legal { max-width: 68ch; padding-bottom: 60px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.notfound { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 30px 0 70px; }
.notfound img { width: min(340px, 80vw); border-radius: 50%; }
.notfound h1 { font-size: clamp(1.9rem, 7vw, 3.2rem); }

.toast { position: fixed; z-index: 60; inset: auto 16px calc(16px + env(safe-area-inset-bottom, 0px)); margin-inline: auto; max-width: 460px; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--ink); color: #FBF6EC; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5); transform: translateY(140%); opacity: 0; transition: transform .35s var(--ease), opacity .35s; }
.toast.show { transform: none; opacity: 1; }
.toast a { color: var(--gold); font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; padding: 0 6px; }

[data-reveal] { opacity: 1; }
.js-motion [data-reveal] { opacity: 0; transform: translateY(18px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .vine { display: none; }
  .js-motion [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- the film hero (v3): the clips are the hero, the scroll tells the story ---------- */
.film { position: relative; margin-top: calc(-64px - env(safe-area-inset-top, 0px)); }
.film-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #2a2118; color: var(--ink); }
.film-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film-loop {
  position: absolute; left: var(--fx, 0); top: var(--fy, 0); width: var(--fs, 100vh); height: var(--fs, 100vh);
  opacity: 0; transition: opacity .6s var(--ease); pointer-events: none;
}
.film-loop.is-on { opacity: 1; }
.film-copy { position: absolute; z-index: 2; inset-inline-start: max(5vw, var(--gutter)); top: 50%; transform: translateY(-46%); width: min(36vw, 540px); }
.film .ch { position: absolute; inset: auto 0; top: 50%; transform: translateY(calc(-50% + 18px)); opacity: 0; visibility: hidden; transition: opacity .55s var(--ease), transform .7s var(--ease), visibility 0s .55s; }
.film .ch.is-on { opacity: 1; visibility: visible; transform: translateY(-50%); transition: opacity .55s var(--ease), transform .7s var(--ease), visibility 0s; }
.ch-n { font-family: var(--display); font-weight: 700; font-size: .9rem; color: var(--gold); letter-spacing: .1em; margin-bottom: .4rem; direction: ltr; text-align: right; }
.ch-big { font-family: var(--display); font-weight: 900; font-size: clamp(3.2rem, 7.4vw, 8.4rem); line-height: .98; letter-spacing: -.01em; margin: 0 0 .9rem; text-wrap: balance; }
.ch-big em { font-style: normal; color: var(--leaf); }
.ch-line { font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.7; color: var(--ink-soft); max-width: 30ch; }
.ch-end .alt-row { margin-top: 1.2rem; }
.cue { margin-top: 1.6rem; font-family: var(--display); font-weight: 700; color: var(--leaf); }
.cue span { display: inline-block; animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(6px); } }
.film.is-dark .film-pin { color: #F5ECDC; }
.film.is-dark .ch-line { color: #D9CBB2; }
.film.is-dark .ch-big em { color: var(--leaf-soft); }
.film.is-dark .film-ticks li { color: rgba(245, 236, 220, .72); }
.film-foot { position: absolute; z-index: 2; left: max(5vw, var(--gutter)); right: max(5vw, var(--gutter)); bottom: max(22px, env(safe-area-inset-bottom, 0px)); }
.film-ticks { display: flex; justify-content: space-between; gap: 8px; list-style: none; margin: 0 0 10px; padding: 0; font-family: var(--display); font-weight: 700; font-size: .86rem; }
.film-ticks li { color: rgba(23, 18, 14, .62); transition: color .4s var(--ease); white-space: nowrap; }
.film-ticks li.is-past { color: currentColor; opacity: .75; }
.film-ticks li.is-on { color: var(--gold); opacity: 1; }
.film-bar { height: 3px; border-radius: 3px; background: color-mix(in srgb, currentColor 18%, transparent); overflow: hidden; }
.film-bar i { display: block; height: 100%; background: var(--gold); transform-origin: right center; transform: scaleX(0); }
.film-skip { position: absolute; z-index: 3; inset-inline-end: max(5vw, var(--gutter)); top: calc(78px + env(safe-area-inset-top, 0px)); font-family: var(--display); font-weight: 700; font-size: .9rem; color: inherit; text-decoration: none; padding: 10px 14px; border-radius: 99px; background: color-mix(in srgb, var(--clay) 70%, transparent); color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
body.film-dark .site-header { background: rgba(23, 18, 14, .55); color: #F5ECDC; border-color: rgba(245, 236, 220, .12); }
@media (max-aspect-ratio: 21/20) {
  .film-copy { inset-inline: var(--gutter) var(--gutter-r); width: auto; top: auto; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); transform: none; height: 34svh; }
  .film .ch { top: auto; bottom: 0; transform: translateY(14px); }
  .film .ch.is-on { transform: none; }
  .ch-big { font-size: clamp(2.6rem, 12vw, 4.2rem); margin-bottom: .5rem; }
  .ch-line { font-size: 1rem; }
  .film-ticks { display: none; }
  /* phones: a soft wash under the words so they read over busy food (light frames get a light wash, dark get dark) */
  .film-pin::after { content: ""; position: absolute; inset: auto 0 0; height: 52%; z-index: 1; pointer-events: none;
    background: linear-gradient(to top, rgba(245, 236, 220, .82), rgba(245, 236, 220, .45) 45%, transparent); transition: background .5s var(--ease); }
  .film.is-dark .film-pin::after { background: linear-gradient(to top, rgba(23, 18, 14, .85), rgba(23, 18, 14, .45) 45%, transparent); }
  .film.is-still .film-pin::after { display: none; }
}
.film.is-still .film-foot, .film.is-still .film-skip { display: none; }
@media (prefers-reduced-motion: reduce) { .film .ch, .film-loop { transition: none; } .cue span { animation: none; } }
/* words straight on the picture: no box, no wash, only a soft glow so they read */
.film .ch { text-shadow: 0 0 28px rgba(245, 236, 220, .9), 0 0 6px rgba(245, 236, 220, .7); }
.film.is-dark .ch { text-shadow: 0 0 28px rgba(0, 0, 0, .85), 0 0 6px rgba(0, 0, 0, .6); }
.film .ch-line { color: var(--ink); font-weight: 500; }
.film.is-dark .ch-line { color: #F5ECDC; }
.ch-end .btn { text-shadow: none; }
.film-loop { max-width: none; }
.film .ch-line { font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.4rem); }
.film .ch { text-shadow: 0 0 30px rgba(245, 236, 220, .95), 0 0 10px rgba(245, 236, 220, .85), 0 0 2px rgba(245, 236, 220, .9); }
.film.is-dark .ch { text-shadow: 0 0 30px rgba(0, 0, 0, .9), 0 0 10px rgba(0, 0, 0, .75), 0 0 2px rgba(0, 0, 0, .8); }
/* v3: the first frame of the film as a poster until the frames arrive; the 3D builder right after the film */
.film-poster { position: absolute; left: var(--fx, 0); top: var(--fy, 0); width: var(--fs, 100%); height: var(--fs, 100%); max-width: none; object-fit: cover; transition: opacity .4s; }
.film.is-live .film-poster, .film.has-frames .film-poster { opacity: 0; }
.build { position: relative; height: 100vh; height: 100svh; background: #120d09; }
.build iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-aspect-ratio: 1/1) { .build { height: 150svh; } }

button, input, select, textarea { font-family: inherit; }
