/* ===== PIZZA HUT APP, NATIVE (Arash, 2026-11-15): the shared base for the Pizza Hut demos (tools/builder/kits/ph_app.py).
   Plus Jakarta Sans stands in for his Sharp Sans, Oswald for the condensed display; both OFL and self-hosted. Sizes in a
   phone are in --p (one iPhone point from .ip-scr), the product-UI exception to the six site sizes. */
@font-face { font-family: 'PH Sans'; src: url('../fonts/PlusJakartaSans-VF.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'PH Display'; src: url('../fonts/Oswald-VF.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
.pa-scr { --pa-red: #D0011B; --pa-red-deep: #A30016; --pa-ink: #1C1C1C; --pa-soft: #6E6E6E; --pa-line: #EDEDED; --pa-paper: #FFFFFF; --pa-ground: #F6F4F2;
  --pa-gold: #F5B021; --pa-green: #2E9B4E;
  --pa-out: cubic-bezier(.22, 1, .36, 1); --pa-spring: cubic-bezier(.34, 1.5, .64, 1); --pa-sheet: cubic-bezier(.32, .72, 0, 1);
  background: var(--pa-paper); color: var(--pa-ink); font-family: 'PH Sans', -apple-system, system-ui, sans-serif; }
.pa-scr * { box-sizing: border-box; }
.pa-scr p { margin: 0; }
.pa-phone { width: 100%; }
.pa-logo { width: calc(34 * var(--p)); height: calc(34 * var(--p)); display: block; }
.pa-display { font-family: 'PH Display', 'PH Sans', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.92; }
/* the app's own primitives, shared by every demo */
.pa-btn { display: flex; align-items: center; justify-content: center; gap: calc(8 * var(--p)); height: calc(52 * var(--p)); padding: 0 calc(18 * var(--p)); border-radius: calc(10 * var(--p));
  background: var(--pa-red); color: #fff; font-weight: 700; font-size: calc(var(--a-callout) * var(--p)); transition: transform 0.15s ease, background 0.25s ease; }
.pa-btn.press { transform: scale(0.96); }
.pa-chip { display: inline-flex; align-items: center; gap: calc(5 * var(--p)); height: calc(32 * var(--p)); padding: 0 calc(13 * var(--p)); border-radius: calc(8 * var(--p));
  background: #F2F2F2; color: var(--pa-ink); font-size: calc(var(--a-footnote) * var(--p)); font-weight: 600; transition: background 0.25s ease, color 0.25s ease; }
.pa-chip.on { background: var(--pa-red); color: #fff; }
.pa-card { background: #fff; border-radius: calc(12 * var(--p)); box-shadow: 0 calc(2 * var(--p)) calc(12 * var(--p)) rgba(0, 0, 0, 0.08); }
.pa-scr img { display: block; max-width: none; }
@media (prefers-reduced-motion: reduce) { .pa-scr *, .pa-scr *::before, .pa-scr *::after { transition: none !important; animation: none !important; } }
/* his home screen (ph_app.home), shared by the arrival and Group Order; laid out from his Universal App Showcase frame
   in points (886px recording over the 393pt phone) */
.pa-home { position: absolute; inset: 0; padding: calc(57.7 * var(--p)) 0 0; background: #fff; overflow: hidden; }
.pa-hbar { display: flex; align-items: center; padding: 0 calc(18.6 * var(--p)) 0 calc(17.7 * var(--p)); }
.pa-pill, .pa-pts, .pa-me { display: inline-flex; align-items: center; height: calc(42 * var(--p)); border-radius: calc(7 * var(--p)); background: #F8F7FC; font-size: calc(var(--a-body) * var(--p)); color: #000; white-space: nowrap; }
.pa-pill { gap: calc(6.4 * var(--p)); width: calc(180.6 * var(--p)); padding: 0 0 0 calc(17.4 * var(--p)); }
.pa-mode { color: #CB0F31; font-weight: 500; }
.pa-where { font-weight: 400; }
.pa-chev { width: calc(17 * var(--p)); height: calc(17 * var(--p)); margin-left: 0; color: #CB0F31; }
.pa-pts { gap: calc(7 * var(--p)); width: calc(91.8 * var(--p)); margin-left: auto; padding-left: calc(9 * var(--p)); }
.pa-scr .pa-home .pa-pts img { width: calc(20 * var(--p)); height: auto; }
.pa-pts { font-size: calc(var(--a-body) * var(--p)); }
.pa-me { justify-content: center; width: calc(40 * var(--p)); margin-left: calc(10.2 * var(--p)); }
.pa-user { width: calc(27 * var(--p)); height: calc(27 * var(--p)); color: #000; }
.pa-user * { stroke-width: 1.9; }
.pa-hq { position: relative; padding: calc(23.2 * var(--p)) calc(17.3 * var(--p)) 0; height: calc(112.1 * var(--p)); }
.pa-hq p { font-size: calc(var(--a-title-l) * var(--p)); font-weight: 700; line-height: calc(34.4 * var(--p)); letter-spacing: -0.018em; color: #000; }
.pa-scr .pa-home .pa-cutter { mix-blend-mode: multiply; position: absolute; right: 0; top: calc(-0.4 * var(--p)); width: calc(193.4 * var(--p)); height: auto; }
.pa-home .pa-chips { position: relative; z-index: 1; display: flex; gap: calc(9.6 * var(--p)); padding: 0 calc(16.4 * var(--p)); white-space: nowrap; }
.pa-home .pa-chip { height: calc(43 * var(--p)); padding: 0 calc(17.3 * var(--p)); border-radius: calc(7 * var(--p)); font-weight: 400; font-size: calc(var(--a-body) * var(--p)); background: #F8F7FC; color: #000; }
.pa-home .pa-chip.on { background: #CB0F31; color: #fff; }
.pa-quick { display: flex; gap: calc(9.6 * var(--p)); padding: calc(19.8 * var(--p)) calc(16.4 * var(--p)) 0; white-space: nowrap; }
.pa-q { flex: none; display: flex; align-items: center; gap: calc(11.6 * var(--p)); height: calc(79 * var(--p)); padding: 0 calc(20 * var(--p)) 0 calc(14.2 * var(--p)); border-radius: calc(9 * var(--p)); background: #fff;
  box-shadow: 0 calc(2 * var(--p)) calc(12 * var(--p)) rgba(40, 20, 40, 0.07); }
.pa-scr .pa-home .pa-q img { width: calc(41.3 * var(--p)); height: auto; }
.pa-q:first-child { width: calc(234.2 * var(--p)); }
.pa-q b { display: block; font-size: calc(var(--a-callout) * var(--p)); font-weight: 700; color: #000; letter-spacing: -0.01em; }
.pa-q i { display: block; margin-top: calc(7.9 * var(--p)); font-style: normal; color: #CB0F31; font-size: calc(var(--a-subhead) * var(--p)); }
.pa-scr .pa-home .pa-deal { width: calc(361 * var(--p)); height: auto; margin: calc(15.4 * var(--p)) 0 0 calc(16.4 * var(--p)); }
/* page: the Journeys board heads the Flows section's second half, one block gap below the decision notes and one block
   gap above its canvas (the ONE BLOCK RHYTHM rule) */
.ph #decision .ph-jhead { margin-top: var(--blk, 72px); margin-bottom: max(48px, var(--head-gap, 52px)); }
/* page: on phones the order flow is a swipe row at a readable scale (1000px, about 86% of its drawn size): it stops
   every two screens, the next screen peeks in, and dots say where you are (swipe.js, data-n). */
.ph-flow-stop { display: none; }
@media (max-width: 700px) {
  .ph .ph-flow.m-swipe { position: relative; display: block; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 0 24px; }
  .ph .ph-flow.m-swipe > .ph-flow-svg { width: 1000px; min-width: 1000px; max-width: none; }
  .ph .ph-flow.m-swipe > .ph-flow-stop { display: block; position: absolute; top: 0; left: calc(24px + var(--x) * 1000px / 1168); width: 1px; height: 1px; scroll-snap-align: start; scroll-margin-left: 24px; }
}
