/* The Jendpoint Restaurant Platform page (/jrp). Loaded on that page only, after site.css. Its palette tokens (--j-*) are the
   marked block at the end of site.css, scoped under .page-jrp. Layout and look come from the approved design
   (docs/design/jrp/design.html and spec.md); the site's header, footer, buttons and enquiry form keep their own rules.
   Motion: transitions use the site's --dur-* and --ease. The one signature sequence is the order trace, drawn by scroll
   (CSS scroll-driven animation) at the end of this file; static where it isn't supported and under reduced motion. */

/* Fraunces (display): SIL Open Font License 1.1, self-hosted, Latin subset, weights 500 and 600 only. Preloaded on this page. */
@font-face {
  font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-var.woff2") format("woff2");
  font-weight: 500 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces"; src: url("/assets/fonts/fraunces-italic-latin-var.woff2") format("woff2");
  font-weight: 500 600; font-style: italic; font-display: swap;
}

/* The top bar's height is set on the root (this file loads on /jrp only), so the scroll padding on <html> below can read it:
   .page-jrp is the body, and a value set there never reaches <html> */
:root { --rail-h: 84px; }
.page-jrp { --sec-top: clamp(64px, 8vw, 112px); --sec-bot: clamp(72px, 8vw, 120px); }
/* Anchors and focused elements land right below the page's own top bar (the Jendpoint header is not on this page).
   No extra gap: a section's own top padding is the breathing room, and a gap would show a strip of the section before */
html:has(.page-jrp) { scroll-padding-top: var(--rail-h); }
@media (max-width: 767px) { :root { --rail-h: 138px; } }
/* No spacer after the last section: the page's footer follows, and the phone pill hides near it */
.page-jrp #main > :last-child::after { display: none !important; }
.page-jrp main { font-size: 1rem; line-height: 1.6; overflow-x: clip; }
.page-jrp main p { max-width: none; }
.page-jrp h1, .page-jrp h2, .page-jrp h3 { text-wrap: balance; }
.page-jrp main h1, .page-jrp main h2, .page-jrp main h3 { margin: 0; }

.d-only { display: block; }
.m-only { display: none; }
@media (max-width: 760px) { .d-only { display: none !important; } .m-only { display: flex; } }

/* ---- Layout containers and section rhythm -------------------------------------------------------------------------- */
.jrp-wrap { box-sizing: border-box; max-width: 1280px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 80px); }
.jrp-wrap.is-wide { max-width: 1440px; padding-inline: clamp(20px, 2.8vw, 40px); }
.jrp-wrap.is-stack { display: flex; flex-direction: column; gap: clamp(48px, 5vw, 72px); }
.jrp-section { background: var(--j-ground); }
.jrp-section.is-alt { background: var(--j-ground-2); border-top: 1px solid var(--j-line); }
.jrp-section > .jrp-wrap:first-child { padding-top: var(--sec-top); }
.jrp-section > .jrp-wrap:last-child { padding-bottom: var(--sec-bot); }

.jrp-eyebrow { margin: 0; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--j-red); }
.jrp-eyebrow.has-dot { display: flex; align-items: center; gap: 10px; }
.jrp-eyebrow .dot { width: 8px; height: 8px; }
.jrp-lead { margin: 0; max-width: 32em; font-size: 19px; line-height: 29px; color: var(--j-muted); text-wrap: pretty; }
.dot { display: inline-block; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--j-red); }

/* Headings: Fraunces, a roman lead phrase then an italic one */
.page-jrp main :is(h1, h2, h3) em { font-style: italic; font-weight: 500; }
.page-jrp main :is(h1, h2) { font-family: var(--j-display); font-weight: 600; text-wrap: balance; }
.page-jrp main h2 { font-size: clamp(38px, 4.6vw, 66px); line-height: 1; letter-spacing: -.02em; }
.page-jrp main h2.is-xl { font-size: clamp(42px, 5.4vw, 80px); line-height: .98; letter-spacing: -.025em; }
.page-jrp main h1 { font-size: clamp(48px, 6.4vw, 96px); line-height: .96; letter-spacing: -.025em; }

.jrp-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 20px 64px; align-items: end; }
.jrp-head-main { display: flex; flex-direction: column; gap: 18px; }
.jrp-head.is-center { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.jrp-head.is-center .jrp-head-main { align-items: center; }
.jrp-head.is-center .jrp-lead { max-width: 34em; }

/* Placeholders for the owner's own words not yet supplied */
.fact-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; border: 1px dashed var(--j-red-dark); background: #fff7f7; color: var(--j-red-dark);
  font-size: 12px; line-height: 16px; font-weight: 700; }

/* ---- The page's own top bar: its name, the section tickets on a red line (only they scroll), Book a demo pinned right ------- */
.jrp-rail { position: sticky; top: 0; z-index: 19; box-sizing: border-box; height: var(--rail-h); display: flex; align-items: stretch;
  padding-inline: clamp(20px, 2.8vw, 40px); background: var(--j-ground-2); border-bottom: 1px solid var(--j-line); }
.rail-brand { flex: none; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding-right: 24px; margin-right: 8px; border-right: 1px solid var(--j-line);
  text-decoration: none; color: var(--j-ink); white-space: nowrap; }
.rail-brand-small { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--j-muted); }
.rail-brand-name { font-family: var(--j-display); font-size: 22px; line-height: 26px; font-weight: 500; letter-spacing: -.01em; }
.rail-brand-name em { font-style: italic; font-weight: 500; color: var(--j-red); }
/* The site-wide link colours (a:hover) must not reach the name: it stays ink on hover, focus and after a tap */
.rail-brand:is(:hover, :focus, :focus-visible, :active) { color: var(--j-ink); }
.rail-nav { flex: 1 1 0; min-width: 0; }
.rail-scroll { box-sizing: border-box; height: 100%; padding: 0 4px; overflow-x: auto; scrollbar-width: none; }
.rail-scroll::-webkit-scrollbar { display: none; }
.rail-row { position: relative; width: max-content; min-width: 100%; height: 100%; display: flex; align-items: flex-start; gap: 4px; padding-left: 26px; padding-right: 22px; }
.rail-track { position: absolute; left: 6px; right: 6px; top: 16px; height: 2px; background: var(--j-line-2); }
.rail-progress { position: absolute; left: 6px; width: var(--p, 0px); top: 16px; height: 2px; background: var(--j-red); }
.rail-start { box-sizing: border-box; position: absolute; left: 0; top: 10px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--j-red); background: var(--j-ground-2); }
.rail-tab { position: relative; display: block; margin-top: 18px; text-decoration: none; color: var(--j-ink-2); filter: drop-shadow(0 6px 8px rgb(30 27 24 / .14)); }
.rail-tab:hover { color: var(--j-ink); }
.rail-peg { position: absolute; left: 50%; top: -2px; width: 22px; height: 10px; margin-left: -11px; border-radius: 2px; background: var(--j-ink-2); z-index: 1; }
.rail-paper { box-sizing: border-box; display: flex; align-items: center; min-height: 44px; padding: 8px 8px 14px; border-top: 3px solid transparent; background: #fff;
  font-size: 13px; line-height: 16px; font-weight: 600; white-space: nowrap;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 8px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 8px 100%; }
.rail-tab[aria-current="location"] { margin-top: 24px; color: var(--j-ink); filter: drop-shadow(0 10px 12px rgb(30 27 24 / .2)); }
.rail-tab[aria-current="location"] .rail-peg { top: -8px; background: var(--j-ink); }
.rail-tab[aria-current="location"] .rail-paper { border-top-color: var(--j-red); font-weight: 700; }
.rail-end { position: absolute; right: 0; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--j-red); }
.rail-cta { box-sizing: border-box; flex: none; align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin: 20px 0 0 12px; padding: 0 20px; border-radius: 999px; background: var(--j-red);
  color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.rail-cta:hover { color: #fff; background: var(--j-red-dark); }
.page-jrp .jrp-rail :is(a):focus-visible { outline-offset: -3px; }
.page-jrp .rail-cta:focus-visible { outline-offset: 2px; }
/* One red focus ring everywhere on the page, including the top bar, the skip link and the pill (the site's default ring is teal) */
.page-jrp :focus-visible { outline-color: var(--j-red); }
.page-jrp .skip-link { background: var(--j-ink); }
@media (max-width: 1599px) { .rail-brand-name { font-size: 20px; line-height: 24px; } }
/* Phones: the name on its own 52px row, the tickets below, and no pinned button (the floating pill does that job) */
@media (max-width: 767px) {
  .jrp-rail { flex-wrap: wrap; align-content: flex-start; padding-inline: 0; }
  .rail-brand { flex: 0 0 100%; flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; height: 52px; margin: 0; padding: 0 20px; border-right: 0; border-bottom: 1px solid var(--j-line); }
  .rail-nav { flex: 1 1 100%; height: calc(100% - 52px); }
  .rail-scroll { padding: 6px 16px 0; }
  .rail-cta { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .rail-progress { transition: width var(--dur-2) var(--ease); }
  .rail-tab { transition: margin-top var(--dur-2) var(--ease), color var(--dur-1) var(--ease); }
  .rail-peg { transition: top var(--dur-2) var(--ease); }
  .rail-cta { transition: background-color var(--dur-1) var(--ease); }
}

/* ---- Hero ------------------------------------------------------------------------------------------------------------- */
.jrp-hero { overflow: hidden; }
.jrp-hero-grid { box-sizing: border-box; max-width: 1280px; margin: 0 auto; display: grid; align-items: center; gap: clamp(48px, 5vw, 80px);
  padding: clamp(40px, 7vw, 104px) clamp(20px, 5vw, 80px) clamp(56px, 7vw, 104px); grid-template-columns: repeat(auto-fit, minmax(min(500px, 100%), 1fr)); }
.jrp-hero-copy { display: flex; flex-direction: column; gap: 28px; max-width: 600px; }
.jrp-hero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.jrp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--j-ink); color: var(--j-ground);
  font-size: 13px; line-height: 18px; font-weight: 600; }
.jrp-chip .dot { background: var(--j-red-on-dark); }
.jrp-chip .fact-tag { background: transparent; color: var(--j-red-on-dark); border-color: var(--j-red-on-dark); }
.jrp-status { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; line-height: 22px; color: var(--j-ink-2); }
.jrp-hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.jrp-ticks { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; line-height: 20px; color: var(--j-ink-2); }
.jrp-ticks li { display: flex; align-items: center; gap: 8px; }
.jrp-hero .jrp-lead { max-width: 33em; }
@media (max-width: 559px) { .jrp-hero-buttons .btn { width: 100%; } }

.hero-comp { position: relative; width: 100%; aspect-ratio: 600 / 720; }
.page-jrp main .hero-demo-note { margin: 12px 0 0; }
.hero-comp > * { position: absolute; }
.hc-line { left: 23%; right: -60%; top: 2.5%; height: 2px; background: var(--j-red); }
.hc-ring { box-sizing: border-box; left: 23%; top: 2.5%; width: 14px; height: 14px; margin: -6px 0 0 -7px; border-radius: 50%; border: 2px solid var(--j-red); background: var(--j-ground); }
.hc-kds { left: 55%; top: 6%; width: 45%; z-index: 2; }
.hc-kiosk { left: 70%; top: 36%; width: 26%; z-index: 1; }
.hc-kiosk-tag { position: absolute; right: 6px; top: -15px; z-index: 2; display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; background: #fff;
  border: 1.5px solid var(--j-red); color: var(--j-red); font-size: 11px; line-height: 14px; font-weight: 700; white-space: nowrap; }
.hc-tablet { left: 0; top: 56%; width: 56%; z-index: 3; }
.hc-phone { left: 40%; top: 36%; width: 20%; z-index: 4; }

/* ---- Device frames: generic, drawn in CSS, no brand art, no notch or fake status bar. A frame hugs its picture's own
   proportions (the img carries width and height), so nothing is stretched or cropped. ------------------------------------- */
.device { box-sizing: border-box; position: relative; background: var(--j-ink); box-shadow: 0 40px 70px -40px rgb(30 27 24 / .55); }
.dev-screen { position: relative; overflow: hidden; background: #fff; }
.shot-img { display: block; width: 100%; height: auto; }
.dev-phone { padding: 6px; border-radius: 26px; } .dev-phone .dev-screen { border-radius: 20px; }
.dev-tablet { padding: 10px; border-radius: 22px; } .dev-tablet .dev-screen { border-radius: 13px; }
.dev-tablet .dev-screen.is-slot { aspect-ratio: 1180 / 820; }
.dev-kds { padding: 6px; border-radius: 8px; background: #000; box-shadow: 0 30px 40px -28px rgb(30 27 24 / .6); } .dev-kds .dev-screen { border-radius: 3px; background: #141210; }
.dev-kiosk { display: flex; flex-direction: column; align-items: center; background: none; box-shadow: none; }
.dev-kiosk .dev-screen { box-sizing: border-box; width: 100%; border: 8px solid var(--j-ink); border-radius: 16px; box-shadow: 0 40px 60px -36px rgb(30 27 24 / .55); }
.dev-neck { width: 16%; height: 36px; background: #2e2a26; } .dev-base { width: 60%; height: 12px; border-radius: 999px; background: #2e2a26; }
.dev-tv { padding: 8px; border-radius: 10px; background: #000; box-shadow: 0 30px 50px -34px rgb(30 27 24 / .55); } .dev-tv .dev-screen { border-radius: 3px; }
.dev-stand { display: block; width: 28%; height: 10px; margin: 8px auto -10px; border-radius: 0 0 8px 8px; background: #2e2a26; }
.dev-browser { border: 1px solid var(--j-line-2); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 50px 80px -50px rgb(30 27 24 / .45); }
.dev-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--j-sand); border-bottom: 1px solid var(--j-line); }
.dev-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--j-line-2); }
.device.is-flat { background: none; box-shadow: none; padding: 0; border: 0; }
.dev-day { padding: 12px; border-radius: 26px; } .dev-day .dev-screen { aspect-ratio: 4 / 3; border-radius: 16px; background: var(--j-ground); }
.dev-day .device { width: auto; height: 100%; margin: 0 auto; }
.dev-day .shot-img { width: auto; max-width: 100%; max-height: 100%; margin: 0 auto; }

/* The branded fallback for a picture that isn't there yet: the icon tile and a caption. Looks finished, says nothing missing. */
.slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; box-sizing: border-box; width: 100%; height: 100%; min-height: 160px; padding: 24px 16px;
  border-radius: 16px; background: var(--j-sand); color: var(--j-ink-2); text-align: center; }
.dev-screen.is-slot .slot { border-radius: 0; background: var(--j-ground); }
.slot-tile { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--j-ink-tile); color: #fff; }
.slot-tile .jicon { stroke-width: 1.75; }
.slot-dot { position: absolute; right: 9px; bottom: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--j-red-on-dark); }
.slot-caption { font-size: 14px; line-height: 20px; font-weight: 600; max-width: 18em; }
.slot-dark { background: rgb(255 255 255 / .06); color: var(--j-ink-lead); min-height: 260px; }
.jicon { flex: none; }

/* ---- Every way to order -------------------------------------------------------------------------------------------------- */
.ways-body { display: flex; flex-direction: column; gap: clamp(48px, 5vw, 72px); }
.jrp-section > .jrp-wrap:first-child:not(:last-child) { padding-bottom: 40px; }
.ways { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; color: var(--j-red); }
.ways-sources { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.way { position: relative; box-sizing: border-box; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--j-line); color: var(--j-ink); }
.way-name { font-size: 19px; line-height: 24px; font-weight: 700; } .page-jrp main .way-text { margin: 6px 0 0; font-size: 15px; line-height: 23px; color: var(--j-muted); }
.ways-bus { display: none; }
.ways-out { display: flex; flex-direction: column; align-items: flex-start; margin: 0 0 0 28px; }
.ways-node { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; border: 1.5px solid var(--j-red); background: #fff; color: var(--j-ink); font-size: 17px; line-height: 22px; font-weight: 700; white-space: nowrap; }
.ways-node.is-end { background: var(--j-red); border-color: var(--j-red); color: #fff; }
.ways-join { position: relative; display: block; width: 2px; height: 28px; margin-left: 28px; }
.ways-join .draw-x { position: absolute; inset: 0; background: var(--j-red); transform-origin: top center; }
@media (min-width: 900px) {
  .ways { grid-template-columns: minmax(0, 1fr) 72px auto; align-items: center; }
  .ways-bus { display: block; position: relative; align-self: stretch; }
  .ways-bus .draw-y { position: absolute; left: 36px; top: 44px; bottom: 44px; width: 2px; margin-left: -1px; background: var(--j-red); transform-origin: top center; }
  .ways-bus::after { content: ""; position: absolute; left: 36px; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--j-red); }
  .way::after { content: ""; position: absolute; left: 100%; top: 50%; width: 36px; height: 2px; margin-top: -1px; background: var(--j-red); }
  .ways-out { flex-direction: row; align-items: center; margin: 0; }
  .ways-join { width: 44px; height: 2px; margin: 0; }
  .ways-join .draw-x { transform-origin: left center; }
}
.kiosk-row { display: flex; flex-wrap: wrap; align-items: center; gap: 32px clamp(32px, 5vw, 72px); }
.kiosk-copy { flex: 1 1 280px; max-width: 26em; }
.page-jrp main .kiosk-copy h3 { font-family: var(--j-display); font-size: 32px; line-height: 38px; font-weight: 600; letter-spacing: -.01em; }
.page-jrp main .kiosk-copy p { margin: 12px 0 0; font-size: 17px; line-height: 27px; color: var(--j-muted); }
.kiosk-shots { flex: 3 1 460px; margin: 0; padding: 0; list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.kiosk-shots li { display: flex; flex-direction: column; gap: 12px; }
.shot-caption { text-align: center; font-size: 13px; line-height: 18px; color: var(--j-muted); }
@media (max-width: 520px) { .kiosk-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .shot-caption { font-size: 12px; } .dev-kiosk .dev-screen { border-width: 5px; border-radius: 10px; } }
.plan-pill { display: inline-block; vertical-align: middle; margin-left: 2px; padding: 2px 10px; border-radius: 999px; background: var(--j-sand); font-size: 12px; line-height: 16px; font-weight: 700; color: var(--j-ink-2); letter-spacing: 0; }
.plan-pill.is-red { background: var(--j-red); color: #fff; }

/* ---- A day at your restaurant: a sticky picture on desktop that changes with the step; each step shows its own picture
   inline on phones and without JavaScript -------------------------------------------------------------------------------- */
.day-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.day-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.day-step { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 4px 20px; padding: 28px 0; border-top: 1px solid var(--j-line); }
.day-step:last-child { border-bottom: 1px solid var(--j-line); }
.day-time { font-family: var(--j-display); font-style: italic; font-size: 34px; line-height: 38px; font-weight: 600; color: var(--j-red); font-variant-numeric: tabular-nums; }
.day-when { margin: 0 0 4px; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--j-muted); }
.day-text h3 { font-size: 22px; line-height: 28px; font-weight: 700; }
.page-jrp main .day-text > p { margin: 8px 0 0; font-size: 16px; line-height: 26px; color: var(--j-muted); }
.day-inline { margin-top: 18px; max-width: 420px; } .day-inline .device { max-width: 100%; }
.day-inline .dev-kds, .day-inline .dev-browser { width: 100%; } .day-inline .dev-kiosk { width: 180px; }
/* The kitchen ticket close-up is tall: centred and a little narrower, so it is never taller than the morning email beside it */
.day-inline .dev-kds.is-tall { width: 96%; margin-inline: auto; }
.day-sticky { display: none; }
@media (min-width: 900px) {
  .day-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .day-step { min-height: 220px; padding: 40px 0; }
  .js .day-inline { display: none; }
  .js .day-sticky { display: block; position: sticky; top: calc(var(--rail-h) + 32px); }
  .day-slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; }
  .day-slide.is-active { opacity: 1; visibility: visible; }
  .day-slide .slot { height: 100%; border-radius: 0; background: transparent; }
  .day-slide .device { max-height: 100%; } .day-slide .dev-kiosk { height: 100%; width: auto; } .day-slide .dev-kiosk .dev-screen { height: calc(100% - 52px); width: auto; }
  .day-slide .shot-img { max-height: 100%; width: auto; max-width: 100%; }
  .dev-day .dev-screen { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: no-preference) { .day-slide { transition: opacity var(--dur-2) var(--ease), visibility var(--dur-2); } }

/* ---- For each person ---------------------------------------------------------------------------------------------------- */
.people-grid { margin: 0; padding: 0; list-style: none; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person { box-sizing: border-box; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--j-line); }
.person-media { display: flex; justify-content: center; align-items: center; height: 280px; padding: 16px; border-radius: 14px; background: var(--j-sand); overflow: hidden; }
.person-media .device { max-height: 100%; width: auto; } .person-media .dev-kds { width: 100%; max-width: 360px; }
.person-media .dev-phone { width: 120px; } .person-media .slot { background: transparent; min-height: 0; }
.person-media .shot-img { max-height: 248px; }
.person h3 { font-size: 24px; line-height: 30px; font-weight: 700; }
.tick-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 23px; color: var(--j-muted); }
.tick-list li { display: flex; gap: 10px; } .tick-list svg { flex: none; margin-top: 3px; color: var(--j-red); }
.pickup { display: flex; flex-wrap: wrap; align-items: center; gap: 32px clamp(32px, 5vw, 64px); padding-top: 8px; }
.pickup-copy { flex: 1 1 260px; max-width: 24em; }
.page-jrp main .pickup-copy h3 { font-family: var(--j-display); font-size: 32px; line-height: 38px; font-weight: 600; letter-spacing: -.01em; }
.page-jrp main .pickup-copy p { margin: 12px 0 0; font-size: 17px; line-height: 27px; color: var(--j-muted); }
.pickup-shots { flex: 3 1 480px; margin: 0; padding: 0; list-style: none; display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }

/* ---- Getting paid and closing up ------------------------------------------------------------------------------------------ */
.pay-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px clamp(32px, 5vw, 64px); }
.pay-grid { flex: 3 1 520px; margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.pay-shot { flex: 1 1 230px; max-width: 300px; margin: 0 auto; }
.pay-card, .closing-card, .sec-grid li { box-sizing: border-box; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--j-line); }
.pay-icon, .care-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--j-ink-tile); color: #fff; }
.pay-card h3, .closing-card h3, .sec-grid h3 { font-size: 18px; line-height: 24px; font-weight: 700; }
.page-jrp main :is(.pay-card, .closing-card, .sec-grid li) p { margin: 0; font-size: 15px; line-height: 23px; color: var(--j-muted); }
.pay-promises { display: grid; gap: 10px; padding: 24px 28px; border-radius: 18px; background: var(--j-ink); color: var(--j-ground); }
.page-jrp main .pay-promises p { margin: 0; font-size: 19px; line-height: 29px; max-width: 46em; } .page-jrp main .pay-promises .is-strong { font-weight: 700; }
.closing-shot { max-width: 880px; margin: 0 auto; width: 100%; }
.closing-grid { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }

/* ---- Jendpoint looks after it (an ink panel), hardware, security ------------------------------------------------------------ */
.jrp-section.is-dark { background: var(--j-ink); color: var(--j-ground); }
.is-dark .jrp-eyebrow { color: var(--j-red-on-dark); } .is-dark h2 { color: #fff; } .page-jrp main .is-dark .jrp-lead { color: var(--j-ink-lead); }
.is-dark :is(.ways, a) { color: inherit; } .is-dark .care-list a { color: var(--j-red-on-dark); font-weight: 700; }
.care-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 32px clamp(32px, 5vw, 64px); }
.care-list { flex: 3 1 480px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 22px; }
.care-list li { display: flex; gap: 16px; } .care-icon { background: var(--j-ink-tile); color: var(--j-red-on-dark); }
.care-list h3 { font-size: 19px; line-height: 24px; font-weight: 700; color: #fff; }
.page-jrp main .care-list p { margin: 4px 0 0; font-size: 16px; line-height: 25px; color: var(--j-ink-lead); }
.care-row > .slot { flex: 2 1 280px; }
.is-dark :is(a, button):focus-visible { outline-color: var(--j-red-on-dark); }
.hw-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); counter-reset: hw; }
.hw-steps li { position: relative; padding: 24px 24px 24px 24px; border-top: 3px solid var(--j-red); background: #fff; border-radius: 0 0 18px 18px; box-shadow: 0 1px 0 var(--j-line); }
.hw-n { display: block; font-family: var(--j-display); font-style: italic; font-size: 34px; line-height: 38px; font-weight: 600; color: var(--j-red); }
.hw-steps h3 { margin-top: 8px; font-size: 20px; line-height: 26px; font-weight: 700; }
.page-jrp main .hw-steps p { margin: 8px 0 0; font-size: 15px; line-height: 23px; color: var(--j-muted); }
.hw-down { display: flex; gap: 18px; padding: 24px 28px; border-radius: 18px; background: var(--j-red-tint); border: 1px solid #f3d3d5; }
.hw-down .pay-icon { background: var(--j-red); } .hw-down h3 { font-size: 20px; line-height: 26px; font-weight: 700; }
.page-jrp main .hw-down p { margin: 6px 0 0; font-size: 16px; line-height: 26px; color: var(--j-ink-2); max-width: 52em; }
.sec-grid { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }

/* ---- Plans -------------------------------------------------------------------------------------------------------------------- */
.founding-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 20px 24px; border-radius: 18px; background: #fff; border: 1.5px solid var(--j-red); }
.founding-count { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 20px; line-height: 26px; font-weight: 700; color: var(--j-ink); }
.page-jrp main .founding-price { flex: 1 1 280px; margin: 0; font-size: 16px; line-height: 25px; color: var(--j-muted); max-width: 44em; }
.plans-table-wrap { overflow-x: auto; }
.plans-table { table-layout: fixed; width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--j-line); border-radius: 18px; overflow: hidden; font-size: 15px; line-height: 23px; }
.plans-table th, .plans-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--j-line); }
.plans-table tbody tr:last-child > * { border-bottom: 0; }
.plans-table thead th { font-family: var(--j-display); font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -.01em; background: var(--j-ground-2); }
.plans-table tbody th { width: 16%; font-weight: 700; color: var(--j-ink); } .plans-table td { width: 42%; color: var(--j-ink-2); }
.plans-cards { flex-direction: column; gap: 16px; }
.plan-card { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--j-line); }
.page-jrp main .plan-card h3 { font-family: var(--j-display); font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -.01em; }
.plan-card dl { margin: 14px 0 0; display: grid; gap: 2px; } .plan-card dt { margin-top: 12px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--j-muted); }
.plan-card dd { margin: 0; font-size: 15px; line-height: 23px; color: var(--j-ink); }
.d-only-tablet { display: block; } .m-only-tablet { display: none; }
@media (max-width: 760px) { .d-only-tablet { display: none; } .m-only-tablet { display: flex; } }
.page-jrp main .plans-note { margin: 0; font-size: 15px; line-height: 23px; color: var(--j-muted); max-width: 52em; }
.plans-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 559px) { .plans-actions .btn, .founding-banner .btn { width: 100%; } }
.next-grid { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.next-grid li { padding: 18px 20px; border-radius: 14px; border: 1.5px dashed var(--j-line-2); background: transparent; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--j-ink-2); }


/* ---- Questions ------------------------------------------------------------------------------------------------------------ */
.faq-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px clamp(40px, 6vw, 96px); }
.faq-side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 18px; }
.page-jrp main .faq-contact { margin: 0; font-size: 17px; line-height: 27px; color: var(--j-muted); }
.faq-contact a { color: var(--j-ink); font-weight: 700; }
.faq-list { flex: 2 1 560px; border-top: 1px solid var(--j-line); }
.faq-list details { border-bottom: 1px solid var(--j-line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; cursor: pointer; font-size: 19px; line-height: 26px; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus { flex: none; color: var(--j-red); }
.faq-list details[open] .faq-plus { transform: rotate(45deg); }
.page-jrp main .faq-list details > p { margin: 0; padding: 0 40px 24px 0; font-size: 16px; line-height: 26px; color: var(--j-muted); }
@media (prefers-reduced-motion: no-preference) { .faq-plus { transition: transform var(--dur-1) var(--ease); } }

/* ---- Book a demo ---------------------------------------------------------------------------------------------------------- */
.demo-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px clamp(40px, 6vw, 96px); }
.demo-copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 22px; }
.demo-copy .jrp-lead { max-width: 26em; }
.contact-trace { position: relative; margin-top: 12px; padding-left: 28px; display: flex; flex-direction: column; gap: 6px; }
.ct-line { position: absolute; left: 6px; top: 12px; bottom: 18px; width: 2px; background: var(--j-red); }
.ct-ring { box-sizing: border-box; position: absolute; left: 0; top: 10px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--j-red); background: var(--j-ground); }
.ct-email { display: flex; align-items: center; min-height: 44px; font-size: 18px; line-height: 24px; font-weight: 600; color: var(--j-ink); text-decoration: none; }
.ct-phone { display: flex; align-items: center; gap: 12px; min-height: 48px; margin-left: -34px; font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -.01em; color: var(--j-ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.ct-phone .dot { width: 14px; height: 14px; margin-left: 1px; }
.ct-email:hover, .ct-phone:hover, .faq-contact a:hover { color: var(--j-red); }
.demo-form { flex: 1.4 1 520px; min-width: 0; }
.page-jrp .enquiry-form { border-radius: 24px; border-color: var(--j-line); box-shadow: 0 40px 70px -50px rgb(30 27 24 / .45); }
.page-jrp .enquiry-form { --input-bg: #fff; --tile-line: var(--j-field); --ok: var(--j-ok); }
.page-jrp .form-progress-bar { background: var(--j-sand); }
.page-jrp .choice-input:checked + .choice-label { background: var(--j-red-tint); border-color: var(--j-red); color: var(--j-ink); box-shadow: inset 0 0 0 1px var(--j-red); }
.page-jrp .step-nav, .page-jrp .form-submit { border-top-color: var(--j-line); }
.page-jrp .form-submit-actions .step-back { margin-right: auto; }
.page-jrp .error-summary { border-color: var(--j-red); background: var(--j-red-tint); }
.jrp-success { box-sizing: border-box; border-radius: 24px; background: #fff; border: 1px solid var(--j-line); padding: clamp(24px, 3vw, 40px); box-shadow: 0 40px 70px -50px rgb(30 27 24 / .45); }
.jrp-success:focus { outline: none; }
.jrp-success h3 { font-family: var(--j-display); font-size: 44px; line-height: 44px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 14px; }
.page-jrp main .jrp-success p { margin: 0 0 8px; font-size: 19px; line-height: 29px; color: var(--j-muted); }

/* ---- Motion: nothing here runs under prefers-reduced-motion (the site also switches every animation off) ------------ */
.rise { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: jrp-rise var(--dur-3) var(--ease) both; }
  .rise.d150 { animation-delay: 150ms; } .rise.d250 { animation-delay: 250ms; } .rise.d400 { animation-delay: 400ms; }
}
@keyframes jrp-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* The signature: the order trace draws as you scroll. Horizontal lines scale in from the left, vertical lines from the top,
   SVG paths draw along their length. CSS scroll-driven animation only (no script); browsers without it, and people who
   ask for less motion, see every line fully drawn. */
.draw-x { transform-origin: left center; }
.draw-y { transform-origin: top center; }
.draw-svg { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .draw-x { animation: jrp-draw-x linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
    .draw-y { animation: jrp-draw-y linear both; animation-timeline: view(); animation-range: entry 20% cover 50%; }
    .draw-svg { animation: jrp-draw-path linear both; animation-timeline: view(); animation-range: entry 25% cover 50%; }
  }
}
@keyframes jrp-draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes jrp-draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes jrp-draw-path { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }


/* A compact fallback (tips, cash, online ordering): the tile and its caption in a row, ready for a real picture later */
.slot-sm { flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 0; height: auto; padding: 12px 14px; text-align: left; border-radius: 12px; background: var(--j-ground); }
.slot-sm .slot-tile { width: 44px; height: 44px; border-radius: 12px; } .slot-sm .slot-caption { font-size: 13px; line-height: 18px; }

@media (max-width: 559px) {
  .day-step { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; }
  .day-time { font-size: 26px; line-height: 32px; }
  .day-text h3 { font-size: 20px; line-height: 26px; }
}

/* The paper receipt frame, and pictures inside cards */
.dev-receipt { padding: 0; background: #fff; box-shadow: 0 24px 40px -28px rgb(30 27 24 / .5); border-radius: 2px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%; padding-bottom: 8px; }
.pay-pic { margin-top: 12px; display: flex; justify-content: center; padding: 14px; border-radius: 12px; background: var(--j-sand); }
.pay-pic .device { max-width: 220px; width: 100%; } .pay-pic .dev-phone { max-width: 140px; } .pay-pic .dev-tablet, .pay-pic .dev-receipt { max-width: 200px; }
.pay-pic .dev-tablet { max-width: 100%; }
.way-pic { margin-top: 14px; } .pay-pic.way-pic .dev-phone { max-width: 104px; }
.closing-shots { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.care-pic { flex: 2 1 320px; display: flex; align-items: center; } .care-pic > * { width: 100%; }
.care-pic .dev-browser { border-color: rgb(255 255 255 / .2); }
.hc-tablet .dev-tablet { padding: 8px; border-radius: 18px; }
.pay-pic .device { max-height: 280px; width: auto; } .pay-pic .shot-img { max-height: 252px; width: auto; max-width: 100%; margin: 0 auto; }

/* ---- The page's own footer: slim, in the page's ink -------------------------------------------------------------------------- */
.jrp-footer { background: var(--j-ink); color: var(--j-ink-lead); padding: clamp(40px, 5vw, 64px) 0 28px; font-size: 16px; line-height: 24px; }
.jf-grid { display: grid; gap: 36px 48px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 767px) { .jf-grid { grid-template-columns: minmax(0, 1fr); } }
.jrp-footer p { margin: 0; max-width: 34em; }
.jf-name { font-family: var(--j-display); font-size: 24px; line-height: 30px; font-weight: 500; color: #fff; }
.jf-name em { font-style: italic; color: var(--j-red-on-dark); }
.jf-text { margin-top: 10px !important; }
.jf-heading { margin: 0 0 12px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--j-red-on-dark); }
.jrp-footer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.jrp-footer a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.jrp-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.jrp-footer :is(a, button):focus-visible { outline: 3px solid var(--j-red-on-dark); outline-offset: 2px; }
.jf-base { margin-top: 32px !important; padding-top: 20px; border-top: 1px solid var(--j-ink-tile); font-size: 14px; line-height: 20px; }

/* ==== Round 2 (marketer, 10 Nov): bigger screens, a spread rail, the hero's screens one at a time, a four-screen payment line == */

/* 1. The rail: the tickets spread along the whole red line, with bigger labels */
.rail-paper { min-height: 46px; padding: 9px 8px 15px; font-size: 13px; }
@media (min-width: 768px) { .rail-row { justify-content: space-between; gap: 4px; padding-left: 22px; padding-right: 22px; } }
@media (min-width: 1400px) { .rail-paper { font-size: 14px; padding-inline: 11px; } .rail-row { gap: 6px; padding-left: 28px; padding-right: 28px; } }

/* 2. The hero: one screen at a time, big, with ticket tabs on the red line and a pause button */
@media (min-width: 1024px) {
  .jrp-hero-grid { max-width: 1400px; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.hero-stage { position: relative; }
.hs-slides { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 16px; }
.hs-slide { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.hs-devices { display: flex; align-items: flex-end; justify-content: center; gap: 6%; width: 100%; }
.hs-cap { text-align: center; font-size: 13px; line-height: 18px; color: var(--j-muted); }
.hs-slide .dev-kiosk { width: 40%; } .hs-slide .dev-phone { width: 36%; } .hs-slide :is(.dev-tablet, .dev-kds) { width: 100%; }
.hs-nav { display: none; }
.hero-stage.is-on .hs-nav { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; }
.hero-stage.is-on .hs-slides { display: grid; grid-template-columns: minmax(0, 1fr); aspect-ratio: 6 / 5; container-type: size; }
.hero-stage.is-on .hs-slides::before { content: ""; position: absolute; inset: 14% 2% 6%; border-radius: 28px; background: var(--j-sand); }
.hero-stage.is-on .hs-slide { grid-area: 1 / 1; justify-content: center; opacity: 0; visibility: hidden; z-index: 1; }
.hero-stage.is-on .hs-slide.is-active { opacity: 1; visibility: visible; }
.hero-stage.is-on .hs-devices { align-items: center; height: 100%; }
.hero-stage.is-on .hs-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Each screen as big as the stage allows (container units: the stage's width and height) */
.hero-stage.is-on .hs-slide .dev-tablet { width: min(100cqw, calc((100cqh - 20px) * 1.439 + 20px)); }
.hero-stage.is-on .hs-slide .dev-kds { width: min(100cqw, calc((100cqh - 12px) * 1.778 + 12px)); }
.hero-stage.is-on .hs-slide .dev-kiosk { width: min(44cqw, calc((100cqh - 84px) * .5625 + 16px)); }
.hero-stage.is-on .hs-slide .dev-phone { width: min(40cqw, calc((100cqh - 60px) * .462 + 12px)); transform: translateY(-14px); }
.hero-stage.is-on .hs-slide .dev-phone + .dev-phone { transform: translateY(14px); }
.hs-tabs { position: relative; flex: 1 1 auto; min-width: 0; display: flex; justify-content: space-between; gap: 6px; padding: 0 18px; }
.hs-track { position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--j-red); }
.hs-track::before, .hs-track::after { content: ""; position: absolute; top: -6px; width: 14px; height: 14px; border-radius: 50%; box-sizing: border-box; }
.hs-track::before { left: -2px; border: 2px solid var(--j-red); background: var(--j-ground); } .hs-track::after { right: -2px; background: var(--j-red); }
.hs-tab { position: relative; display: block; margin: 12px 0 0; padding: 0; border: 0; background: none; font: inherit; color: var(--j-ink-2); cursor: pointer; filter: drop-shadow(0 6px 8px rgb(30 27 24 / .14)); }
.hs-peg { position: absolute; left: 50%; top: -2px; width: 22px; height: 10px; margin-left: -11px; border-radius: 2px; background: var(--j-ink-2); z-index: 1; }
.hs-paper { position: relative; box-sizing: border-box; display: flex; align-items: center; min-height: 46px; padding: 9px 12px 15px; border-top: 3px solid var(--j-line-2); background: #fff;
  font-size: 14px; line-height: 16px; font-weight: 600; white-space: nowrap;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 8px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 8px 100%; }
.hs-fill { position: absolute; left: 0; right: 0; top: -3px; height: 3px; background: var(--j-red); transform-origin: left center; transform: scaleX(0); }
.hs-tab[aria-selected="true"] { margin-top: 18px; color: var(--j-ink); filter: drop-shadow(0 10px 12px rgb(30 27 24 / .2)); }
.hs-tab[aria-selected="true"] .hs-peg { top: -8px; background: var(--j-ink); }
.hs-tab[aria-selected="true"] .hs-paper { font-weight: 700; }
.hs-tab[aria-selected="true"] .hs-fill { transform: scaleX(1); }
.hs-tab:hover { color: var(--j-ink); }
.page-jrp .hs-tab:focus-visible { outline-offset: 2px; }
.hs-short { display: none; }
.hs-ctl { flex: none; position: relative; width: 44px; height: 44px; margin-top: 12px; padding: 0; border-radius: 50%; border: 1.5px solid var(--j-line-2); background: #fff; color: var(--j-ink); cursor: pointer; }
.hs-ctl:hover { border-color: var(--j-ink); }
.hs-ctl-icon { position: absolute; left: 50%; top: 50%; width: 12px; height: 14px; margin: -7px 0 0 -6px; }
.hs-ctl[data-state="playing"] .hs-ctl-icon { border-left: 4px solid currentColor; border-right: 4px solid currentColor; box-sizing: border-box; }
.hs-ctl[data-state="stopped"] .hs-ctl-icon { width: 0; height: 0; margin-left: -4px; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }
@media (max-width: 559px) {
  .hs-long { display: none; } .hs-short { display: inline; }
  .hs-tabs { padding: 0 10px; } .hs-paper { padding-inline: 9px; font-size: 13px; }
}
@media (max-width: 379px) { .hs-tabs { gap: 2px; padding: 0 6px; } .hs-paper { padding-inline: 6px; font-size: 12px; } .hero-stage.is-on .hs-nav { gap: 8px; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-stage.is-on .hs-slide { transition: opacity var(--dur-3) var(--ease), visibility var(--dur-3); }
  .hs-tab { transition: margin-top var(--dur-2) var(--ease), color var(--dur-1) var(--ease); }
  .hs-peg { transition: top var(--dur-2) var(--ease); }
}

/* 3. Ordering: the table and online ways show the guest's phone rising from the card, scrolled to the part the text is about */
.way.has-peek { display: grid; grid-template-columns: minmax(0, 1fr) 236px; align-items: start; gap: 0 24px; padding-bottom: 0; }
.way.has-peek .way-copy { padding-bottom: 18px; }
.way-peek { align-self: end; height: 176px; margin-top: 2px; overflow: hidden; }
.way-peek .device { width: 220px; margin: 0 auto; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.way-peek .dev-screen { aspect-ratio: 390 / 600; }
.way-peek .shot-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
@media (max-width: 559px) {
  .way.has-peek { grid-template-columns: minmax(0, 1fr); }
  .way-peek { justify-self: center; height: 160px; margin-top: 14px; }
}

/* 4 and 5. A day: a bigger screen beside the steps, at the counter's own shape; the rush shows the whole kitchen screen with an
   allergy magnified */
@media (min-width: 900px) {
  .day-body { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(40px, 4.5vw, 64px); }
  .dev-day .dev-screen { aspect-ratio: 1180 / 820; }
  .js .day-sticky { top: calc(var(--rail-h) + 24px); }
  /* A browser window in the frame: its screen fits below its bar, so the bottom of the picture (the morning email's foot) is never cut */
  .day-slide .dev-browser { display: flex; flex-direction: column; }
  .dev-day .day-slide .dev-browser .dev-screen { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; }
}
.dev-screen .zoom-mark { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.zm-ring { fill: none; stroke: var(--j-red); stroke-width: 7; }
.zm-lead { fill: none; stroke: var(--j-red); stroke-width: 5; }
.zm-card { fill: #fff; filter: drop-shadow(0 16px 22px rgb(0 0 0 / .5)); }
.zm-tag { fill: var(--j-red); }
.zm-tag-text { fill: #fff; font-family: inherit; font-size: 32px; font-weight: 700; letter-spacing: .01em; }
.day-inline .dev-kds.has-zoom { width: 100%; }

/* 6, 7 and 8. Your people: bigger pictures that fill their boxes; the owner on a laptop with a phone in front; the guest with two
   phones and the table card */
.person-media { position: relative; height: 340px; padding: 24px; }
.person-media .shot-img { max-height: none; }
.person-media.is-bleed { align-items: flex-start; padding-bottom: 0; }
.person-media.is-bleed .device { width: 100%; max-width: 560px; max-height: none; }
.person-media.is-bleed .dev-kds { align-self: center; max-width: 560px; }
.person-media.is-bleed .dev-tablet { margin-top: 4px; }
.laptop-set { position: relative; box-sizing: border-box; width: 100%; max-width: 560px; padding: 0 9% 6px 0; }
.lt-lid { padding: 9px 9px 12px; border-radius: 14px 14px 3px 3px; background: var(--j-ink); box-shadow: 0 30px 50px -36px rgb(30 27 24 / .6); }
.lt-screen { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: #fff; }
.lt-screen .shot-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.lt-deck { position: relative; display: block; height: 11px; margin: 0 -8%; border-radius: 2px 2px 12px 12px; background: linear-gradient(#ded8cf, #b7afa3); box-shadow: 0 18px 22px -16px rgb(30 27 24 / .55); }
.lt-deck::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 4px; margin-left: -8%; border-radius: 0 0 6px 6px; background: #a39a8d; }
.person-media .lt-phone { position: absolute; right: 0; bottom: -12px; width: 25%; max-height: none; z-index: 2; box-shadow: 0 30px 40px -24px rgb(30 27 24 / .6); }
.person-media.is-phones { justify-content: center; align-items: flex-start; gap: 18px; padding-bottom: 0; }
.person-media.is-phones .dev-phone { flex: none; width: clamp(112px, 30%, 160px); }
.person-media.is-phones .dev-phone + .dev-phone { margin-top: 40px; }
.table-card { flex: none; align-self: flex-end; margin-bottom: 26px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 112px; padding: 14px 12px 12px;
  border-radius: 10px; background: var(--j-ground-2); border-top: 4px solid var(--j-red); box-shadow: 0 22px 30px -20px rgb(30 27 24 / .55); transform: rotate(-3deg); }
.tc-qr { width: 68px; height: 68px; fill: var(--j-ink); }
.tc-scan { font-size: 10px; line-height: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--j-muted); white-space: nowrap; }
.tc-table { font-family: var(--j-display); font-style: italic; font-size: 20px; line-height: 22px; font-weight: 600; color: var(--j-red); }
@media (max-width: 459px) { .person-media { height: 300px; padding: 18px; } .table-card { display: none; } }

/* 9. The pickup screen: one big TV and a switch between its two looks */
.pickup-copy { flex: 1 1 240px; max-width: 20em; }
.pickup-stage { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pickup-stage > .pickup-shots { flex: none; width: 100%; }
.pickup-switch { display: none; }
.pickup-stage.is-on > .pickup-shots { display: grid; grid-template-columns: minmax(0, 1fr); }
.pickup-stage.is-on .pickup-shots > li { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.pickup-stage.is-on .pickup-shots > li.is-on { opacity: 1; visibility: visible; }
.pickup-stage.is-on .pickup-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--j-line); }
.ps-btn { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--j-ink-2); cursor: pointer; }
.ps-btn:hover { color: var(--j-ink); }
.ps-btn[aria-pressed="true"] { background: var(--j-ink); color: #fff; }
.page-jrp .ps-btn:focus-visible { outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .pickup-stage.is-on .pickup-shots > li { transition: opacity var(--dur-3) var(--ease), visibility var(--dur-3); }
  .ps-btn { transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease); }
}

/* 10. Getting paid: the guest's side of paying in four big screens on the red order line, then the six details as even cards */
.pay-flow { --pf-h: 430px; box-sizing: border-box; padding: clamp(24px, 3.5vw, 44px) clamp(16px, 3vw, 40px) clamp(24px, 3vw, 36px); border-radius: 24px; background: var(--j-sand); }
.page-jrp main .pf-title { margin: 0 0 8px; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--j-muted); }
.page-jrp main .pf-note { margin: -2px 0 8px; max-width: 60ch; font-size: 15px; line-height: 22px; color: var(--j-muted); }
.pf-steps { position: relative; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 0 clamp(16px, 3vw, 40px); }
.pf-steps::before { content: ""; position: absolute; left: 11%; right: 11%; top: var(--pf-h); height: 2px; margin-top: -1px; background: var(--j-red); }
.pf-step { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.pf-pic { box-sizing: border-box; height: var(--pf-h); width: 100%; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 22px; }
.pf-pic .dev-kiosk { width: min(100%, calc((var(--pf-h) - 22px - 64px) * .5625 + 16px)); }
.pf-pic .dev-tablet { width: 100%; }
.pf-pic .dev-phone { width: min(100%, 176px); }
.pf-dot { position: relative; z-index: 1; width: 16px; height: 16px; margin-top: -8px; box-sizing: border-box; border-radius: 50%; border: 3px solid var(--j-sand); background: var(--j-red); }
.page-jrp main .pf-cap { margin: 14px 0 0; max-width: 15em; text-align: center; font-size: 16px; line-height: 23px; font-weight: 600; color: var(--j-ink); }
.pf-n { display: block; margin-bottom: 4px; font-family: var(--j-display); font-style: italic; font-size: 30px; line-height: 32px; font-weight: 600; color: var(--j-red); }
/* "or": the other way to pay, not a step after the card. A hollow dot on the line, and the word lighter than the numbers */
.pf-n.is-or { font-weight: 500; }
.pf-dot.is-or { background: var(--j-sand); border-color: var(--j-red); }
/* Which order each screen comes from, as on a kitchen ticket */
.page-jrp main .pf-order { display: block; margin-top: 6px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--j-muted); font-variant-numeric: tabular-nums; }
.pay-grid { flex: none; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
@media (max-width: 899px) {
  .pay-flow { --pf-h: 320px; }
  .pf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .pf-steps::before { display: none; }
  .pf-dot { display: none; }
  .pf-pic { padding-bottom: 0; }
  .pf-pic .dev-phone { width: min(100%, 140px); }
}
@media (max-width: 459px) { .pay-flow { --pf-h: 270px; } .page-jrp main .pf-cap { font-size: 14px; line-height: 20px; } .pf-n { font-size: 24px; line-height: 26px; } }
@media (min-width: 900px) { .day-slide .device.has-zoom { height: auto; } .dev-day .has-zoom .dev-screen { aspect-ratio: auto; }
  /* The 16:9 kitchen screen sits in the 1180:820 frame: fill the bands above and below with the picture's own dark, not light ground. */
  .dev-day .day-slide:has(.has-zoom) { background: #0e1011; } }

/* ==== Round 3 (marketer, 10 Nov): dish counts, a closing stage and tickets, a bigger support screen ========================= */

/* Dish counts, in Ordering: an ink panel; the count ticket and three screens hang from one red line */
.sold { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: clamp(24px, 3.5vw, 48px) clamp(18px, 3.5vw, 48px) clamp(28px, 3.5vw, 44px); border-radius: 24px; background: var(--j-ink); color: var(--j-ground); }
.page-jrp main .sold-copy h3 { font-family: var(--j-display); font-size: clamp(28px, 3vw, 36px); line-height: 1.12; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.page-jrp main .sold-copy h3 em { font-style: italic; color: var(--j-red-on-dark); }
.page-jrp main .sold-copy p { margin: 12px 0 0; max-width: 40em; font-size: 17px; line-height: 27px; color: var(--j-ink-lead); }
.sold-line { position: relative; margin: 0; display: flex; align-items: flex-start; gap: clamp(16px, 2.2vw, 28px); padding-top: 22px; }
.sold-line::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--j-red); }
.so-screen { position: relative; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.so-screen.is-counter { flex: 1.622 1 0; } .so-screen.is-phone { flex: .753 1 0; } .so-screen.is-online { flex: 1.295 1 0; }
.so-screen::before { content: ""; position: absolute; left: 50%; top: -18px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--j-red); box-shadow: 0 0 0 4px var(--j-ink); }
.so-glass { display: grid; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgb(255 255 255 / .14), 0 30px 50px -30px rgb(0 0 0 / .8); }
.so-glass > span { grid-area: 1 / 1; display: block; }
.so-glass .shot-img { display: block; width: 100%; height: auto; }
.so-before { opacity: 0; }
.so-dot { display: none; }
.sold figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.so-label { font-size: 16px; line-height: 22px; font-weight: 700; color: #fff; }
.so-when { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(240 134 138 / .14); color: var(--j-red-on-dark); font-size: 13px; line-height: 18px; font-weight: 700; }
.so-when::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
/* The count ticket: the dish and its count, hanging first on the line */
.sold-count { position: relative; justify-self: start; padding-top: 12px; filter: drop-shadow(0 10px 14px rgb(0 0 0 / .35)); }
.sold-count::before { content: ""; position: absolute; left: -24px; right: -24px; top: 4px; height: 2px; background: var(--j-red); }
.sc-peg { position: absolute; left: 50%; top: 0; width: 22px; height: 10px; margin-left: -11px; border-radius: 2px; background: var(--j-ink-lead); z-index: 1; }
.sc-paper { display: flex; flex-direction: column; gap: 4px; padding: 14px 20px 22px; border-top: 3px solid var(--j-red); background: #fff; color: var(--j-ink);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 10px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 10px 100%; }
.sc-dish { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--j-muted); }
.sc-state { display: grid; font-family: var(--j-display); font-style: italic; font-size: 34px; line-height: 38px; font-weight: 600; }
.sc-state > span { grid-area: 1 / 1; } .sc-before { opacity: 0; } .sc-after { color: var(--j-red); }
.sold-replay { justify-self: start; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgb(255 255 255 / .35); background: transparent; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.sold-replay:hover { border-color: #fff; }
.page-jrp .sold :focus-visible { outline-color: var(--j-red-on-dark); outline-offset: 2px; }
/* With JavaScript and motion: it starts at "3 left" and sells out when it comes into view */
.sold.is-armed .so-before, .sold.is-armed .sc-before { opacity: 1; }
.sold.is-armed .so-after, .sold.is-armed .sc-after, .sold.is-armed .so-when { opacity: 0; }
.sold.is-armed.is-sold .so-before, .sold.is-armed.is-sold .sc-before { opacity: 0; }
.sold.is-armed.is-sold .so-after, .sold.is-armed.is-sold .sc-after, .sold.is-armed.is-sold .so-when { opacity: 1; }
@media (min-width: 900px) {
  .sold { grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; }
  .sold-copy { grid-column: 1; } .sold-count { grid-column: 2; grid-row: 1; align-self: end; margin-right: 24px; }
  .sold-line, .sold-replay { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) {
  .sold.is-armed :is(.so-before, .so-after, .sc-before, .sc-after, .so-when) { transition: opacity var(--dur-3) var(--ease); }
  .sold.is-armed.is-sold .is-phone :is(.so-before, .so-after, .so-when) { transition-delay: 1.6s; }
  .sold.is-armed.is-sold .is-online :is(.so-before, .so-after, .so-when) { transition-delay: 2s; }
  .sold-replay { transition: border-color var(--dur-1) var(--ease); }
}

@media (max-width: 899px) {
  .sold-line { flex-direction: column; align-items: stretch; gap: 28px; padding-top: 0; }
  .sold-line::before, .so-screen::before { display: none; }
  .so-screen.is-phone { align-self: center; width: min(100%, 300px); }
  .sold-count::before { left: 0; }
}

/* Closing up: one big screen with a switch, on a pile of windows */
.closing-stage { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cs-screens { position: relative; isolation: isolate; width: 100%; max-width: 940px; display: grid; gap: 24px; }
.cs-look { position: relative; z-index: 1; min-width: 0; }
.cs-look .dev-browser { width: 100%; }
.cs-look .dev-tablet { width: min(100%, 760px); margin: 0 auto; }
.closing-stage.is-on .cs-screens { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
.closing-stage.is-on .cs-screens::before, .closing-stage.is-on .cs-screens::after { content: ""; position: absolute; top: -18px; left: 3.5%; right: 3.5%; height: 50%; border-radius: 16px; border: 1px solid var(--j-line-2); box-shadow: 0 20px 40px -30px rgb(30 27 24 / .4); }
.closing-stage.is-on .cs-screens::before { z-index: 0; background: #fbfaf8; }
/* The pile is for the portal's windows: it steps aside while the counter tablet shows */
.closing-stage.is-on .cs-screens:has(.cs-look.is-on .dev-tablet)::before, .closing-stage.is-on .cs-screens:has(.cs-look.is-on .dev-tablet)::after { opacity: 0; }
.closing-stage.is-on .cs-screens::after { top: -36px; left: 7%; right: 7%; z-index: -1; background: var(--j-sand); }
.closing-stage.is-on .cs-look { grid-area: 1 / 1; align-self: center; opacity: 0; visibility: hidden; }
.closing-stage.is-on .cs-look.is-on { opacity: 1; visibility: visible; }
.cs-switch { display: none; }
.closing-stage.is-on .cs-switch { display: inline-flex; flex-wrap: wrap; justify-content: center; }
@media (prefers-reduced-motion: no-preference) { .closing-stage.is-on .cs-look { transition: opacity var(--dur-3) var(--ease), visibility var(--dur-3); } }

/* Closing up: what it includes, as tickets hanging from the red rail (a swipeable row on phones) */
.page-jrp .tk-list:focus-visible { outline-offset: 6px; border-radius: 8px; }
.tk-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 18px; }
.tk { position: relative; padding-top: 16px; filter: drop-shadow(0 8px 10px rgb(30 27 24 / .13)); }
.tk::before { content: ""; position: absolute; top: 4px; left: -9px; right: -9px; height: 2px; background: var(--j-red); }
.tk-peg { position: absolute; left: 50%; top: 0; width: 22px; height: 10px; margin-left: -11px; border-radius: 2px; background: var(--j-ink-2); z-index: 1; }
.tk-paper { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; box-sizing: border-box; padding: 18px 18px 28px; border-top: 3px solid var(--j-red); background: #fff;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 10px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 10px 100%; }
.tk:nth-child(odd) .tk-paper { transform: rotate(.6deg); transform-origin: 50% 0; } .tk:nth-child(even) .tk-paper { transform: rotate(-.5deg); transform-origin: 50% 0; }
.tk-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--j-red-tint); color: var(--j-red); }
.page-jrp main .tk h4 { margin: 4px 0 0; padding-right: 64px; font-size: 18px; line-height: 24px; font-weight: 700; }
.page-jrp main .tk p { margin: 0; font-size: 15px; line-height: 23px; color: var(--j-muted); }
.tk-stamp { position: absolute; top: 18px; right: 12px; padding: 2px 7px; border: 2px solid var(--j-red); border-radius: 4px; color: var(--j-red); font-size: 10px; line-height: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-7deg); }
@media (max-width: 1099px) { .tk-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .tk-list { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 2px 18px; scrollbar-width: thin; }
  .tk { flex: 0 0 min(80%, 300px); scroll-snap-align: start; }
  .tk::before { left: -7px; right: -7px; }
}

/* Support: the order's page big, with its steps ringed, then the five points in a grid */
.care-shot { width: 100%; max-width: 1120px; margin: 0 auto; }
.care-shot .dev-browser { border-color: rgb(255 255 255 / .2); box-shadow: 0 60px 90px -50px rgb(0 0 0 / .85); }
.zoom-mark.is-mark .zm-tag-text { font-size: 24px; }
.care-list.is-grid { flex: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 30px 40px; }

/* ---- The film, right after the hero (FILM in jrp.ts). The red badge sits on the poster's empty wall, above the counter's
 *      screens; it and the end state are shown by enhance.js. Without JavaScript the browser's own controls show. ---- */
#film .jrp-wrap:first-child { padding-top: clamp(56px, 6vw, 88px); }
.film { max-width: 1120px; margin: clamp(32px, 4vw, 48px) auto 0; }
.film-frame { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 20px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 60px 90px -50px rgb(0 0 0 / .85); }
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-play { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; color: #fff; }
.film-play[hidden], .film-end[hidden], .film-pick[hidden] { display: none; }
.film-badge { position: absolute; left: 50%; top: 31%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 24px 10px 10px; border-radius: 999px; background: rgb(30 27 24 / .88); color: #fff; font-size: 17px; line-height: 22px; font-weight: 600;
  white-space: nowrap; box-shadow: 0 18px 40px -16px rgb(0 0 0 / .55); transition: background-color var(--dur-1) var(--ease); }
.film-play:hover .film-badge, .film-play:focus-visible .film-badge { background: var(--j-ink); }
.film-play:focus-visible { outline: 3px solid var(--j-red-on-dark); outline-offset: -3px; border-radius: 20px; }
.film-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--j-red); padding-left: 3px; box-sizing: border-box;
  transition: background-color var(--dur-1) var(--ease); }
.film-play:hover .film-icon { background: var(--j-red-dark); }
.film-len { color: var(--j-ink-lead); font-weight: 500; font-variant-numeric: tabular-nums; }
.film-end { position: absolute; inset: 0; display: flex; flex-wrap: wrap; align-items: center; align-content: center; justify-content: center; gap: 12px;
  padding: 16px; background: rgb(30 27 24 / .62); }
/* The counter film's poster: the button sits on the tablet's empty "Preparing" and "Ready" columns */
.film-frame[data-badge="counter"] .film-badge { left: 65%; top: 45%; }
/* #counter-film's target, just above the player: it lands 1rem below the top bar, so the frame doesn't touch it */
.film-anchor { display: block; height: 0; scroll-margin-top: 1rem; }
/* Two films: the first is the default and the bigger card (the creative lead, 19 Nov) */
.film-pick { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 20px; }
.film-pick-item { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 8px 18px 8px 8px; border-radius: 14px; cursor: pointer;
  background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .14); color: #fff; font: inherit; text-align: left;
  transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); }
.film-pick-item:hover { background: rgb(255 255 255 / .09); }
.film-pick-item[aria-pressed="true"] { border-color: var(--j-red-on-dark); background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px var(--j-red-on-dark); }
.film-pick-item:focus-visible { outline: 3px solid var(--j-red-on-dark); outline-offset: 2px; }
.film-pick-item img { display: block; width: 112px; height: 63px; border-radius: 8px; object-fit: cover; flex: none; }
.film-pick-item.is-main img { width: 160px; height: 90px; }
.film-pick-text { display: grid; gap: 2px; }
.film-pick-title { font-size: 15px; line-height: 20px; font-weight: 600; }
.film-pick-item.is-main .film-pick-title { font-size: 17px; line-height: 22px; }
.film-pick-len { font-size: 14px; line-height: 18px; color: var(--j-ink-lead); font-variant-numeric: tabular-nums; }
.film-note { margin: 16px 0 0; text-align: center; font-size: 14px; line-height: 20px; color: var(--j-ink-lead); }
.demo-film { margin: 18px 0 0; }
.page-jrp main .demo-film a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--j-red); text-decoration: none; background-image: none; }
.page-jrp main .demo-film a:hover { color: var(--j-red-dark); text-decoration: underline; text-underline-offset: 3px; }
.demo-film-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--j-red); color: #fff; padding-left: 2px; box-sizing: border-box; }
@media (max-width: 760px) {
  .film-frame { border-radius: 12px; }
  .film-badge { gap: 8px; padding: 5px 14px 5px 5px; font-size: 15px; }
  .film-label { display: none; }
  .film-icon { width: 42px; height: 42px; }
  .film-play:focus-visible { border-radius: 12px; }
  .film-end { gap: 10px; }
  .film-pick { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: stretch; gap: 10px; }
  .film-pick-item { min-width: 0; flex-direction: column; align-items: stretch; gap: 8px; padding: 6px 6px 10px; }
  .film-pick-item img, .film-pick-item.is-main img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .film-pick-text { padding-inline: 4px; }
  .film-pick-title, .film-pick-item.is-main .film-pick-title { font-size: 15px; line-height: 19px; }
}
