/* Plexat case — "The menu card"
   Eigen sfeer bovenop styles.css: Plexat-kleuren, condensed Archivo, papier, neon.
   Alles is gescoped op body[data-page="plexat"] / main.px. */

body[data-page="plexat"] {
  --px-ink: #10100f;
  --px-red: #c90d19;
  --px-butter: #efd8b6;
  --px-cream: #f4efe5;
  --px-gold: #d49b24;
  --px-paper: #fffdf8;
  --px-cond: "Archivo", "Arial Narrow", sans-serif;
  --px-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --px-pop: cubic-bezier(.34, 1.56, .64, 1);
  --bg: var(--px-cream);
  --fg: var(--px-ink);
  --panel: var(--px-butter);
  --line: rgba(16, 16, 15, .3);
  --fg-soft: rgba(16, 16, 15, .55);
}
:root[data-theme="dark"] body[data-page="plexat"] {
  --bg: var(--px-ink);
  --fg: var(--px-cream);
  --panel: #1c1b18;
  --line: rgba(244, 239, 229, .25);
  --fg-soft: rgba(244, 239, 229, .55);
}

.px { overflow-x: clip; }
.px-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.px-h2 { font-size: clamp(2.3rem, 6vw, 7rem); line-height: .92; margin-top: 1.2rem; }

/* ---------- 1. Cover ---------- */
.px-cover { position: relative; padding: clamp(6.5rem, 8vw, 8.5rem) var(--gutter) 0; }
.px-masthead {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .7rem 0; border-top: 3px double var(--fg); border-bottom: 1px solid var(--line);
  font-size: clamp(.7rem, .8vw, .9rem); font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.px-masthead-mid { color: var(--px-red); font-size: 1.1em; }
.px-title-wrap { position: relative; }
.px-title { margin: clamp(1rem, 2.4vw, 2.6rem) 0 0; text-align: center; font-weight: inherit; }
.px-title-word {
  display: flex; justify-content: center;
  font-family: var(--px-cond); font-weight: 900; font-stretch: 62%; font-variation-settings: "wdth" 62;
  font-size: clamp(7rem, 29vw, 34rem); line-height: .78; letter-spacing: -.005em; text-transform: uppercase;
  color: var(--px-red);
}
.px-title-word > span {
  display: inline-block; cursor: default;
  transition: transform .9s var(--px-pop), opacity .6s var(--ease), font-variation-settings .5s var(--ease), color .3s;
}
.px-cover:not(.is-in) .px-title-word > span { opacity: 0; transform: translateY(-45%) rotate(-14deg) scale(.7); }
.px-title-word > span:nth-child(1) { transition-delay: .05s; }
.px-title-word > span:nth-child(2) { transition-delay: .12s; }
.px-title-word > span:nth-child(3) { transition-delay: .19s; }
.px-title-word > span:nth-child(4) { transition-delay: .26s; }
.px-title-word > span:nth-child(5) { transition-delay: .33s; }
.px-title-word > span:nth-child(6) { transition-delay: .4s; }
.px-cover.is-in .px-title-word > span:hover { transition-delay: 0s; font-variation-settings: "wdth" 100; transform: translateY(-4%) rotate(-3deg); color: var(--fg); }
.px-title-sub {
  display: block; margin-top: clamp(.8rem, 1.4vw, 1.6rem);
  font-family: var(--sans); font-weight: 500; font-size: clamp(1rem, 2vw, 2.2rem); letter-spacing: .22em; text-transform: uppercase;
  transition: opacity 1s var(--ease) .6s, transform 1s var(--ease) .6s;
}
.px-title-sub em { color: var(--px-gold); font-style: italic; letter-spacing: .08em; text-transform: none; }
.px-cover:not(.is-in) .px-title-sub { opacity: 0; transform: translateY(1rem); }

/* Neon "OPEN"-bordje aan kettinkjes */
.px-neon {
  position: absolute; top: clamp(1.6rem, 3vw, 3.2rem); right: clamp(0rem, 4vw, 5rem); z-index: 2;
  transform-origin: 50% clamp(-3.2rem, -3vw, -1.6rem); animation: px-swing 4.5s ease-in-out infinite alternate;
}
.px-neon-chain { position: absolute; bottom: 100%; width: 2px; height: clamp(1.6rem, 3vw, 3.2rem); background: repeating-linear-gradient(var(--fg-soft) 0 4px, transparent 4px 6px); }
.px-neon-chain:first-child { left: 22%; }
.px-neon-chain:nth-child(2) { right: 22%; }
.px-neon-plate {
  display: block; padding: .28em .55em .32em; border-radius: .5em;
  background: #141312; box-shadow: inset 0 0 0 2px #2c2a27, 0 18px 40px -14px rgba(0,0,0,.6);
  font-size: clamp(1.3rem, 3vw, 3.4rem); transform: rotate(-7deg);
}
.px-neon-word {
  display: block; font-family: var(--px-cond); font-weight: 400; font-stretch: 100%; font-variation-settings: "wdth" 100;
  letter-spacing: .12em; line-height: 1; text-transform: uppercase; color: #ffe4e4;
  text-shadow: 0 0 2px #fff, 0 0 6px var(--red), 0 0 14px var(--red), 0 0 30px var(--red), 0 0 54px rgba(255,0,0,.6);
  animation: px-flicker 6s steps(1, end) infinite;
}
@keyframes px-swing { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
@keyframes px-flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .25; text-shadow: none; }
}

.px-cover-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; margin-top: clamp(1.6rem, 3vw, 3rem); }
.px-cover-foot p { margin: 0; color: var(--fg-soft); }
[data-intro] .px-cover-foot { transition-delay: .7s; }

.px-reel { position: relative; margin-top: clamp(2rem, 4vw, 4rem); }
[data-intro] .px-reel.reveal { transition: opacity 1.2s var(--ease) .8s, transform 1.2s var(--ease) .8s, clip-path 1.4s var(--ease-in-out) .8s; clip-path: inset(0 0 0 0 round var(--radius)); }
.px-cover:not(.is-in) .px-reel.reveal { clip-path: inset(6% 8% 0 8% round 40px); }
.px-reel-frame { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: #1c1b18; transform: translate3d(0, var(--py, 0), 0); }
.px-reel-frame video { width: 100%; height: 100%; object-fit: cover; }
.px-reel-port { display: none; }
.px-stamp {
  position: absolute; bottom: clamp(-5.5rem, -5vw, -3rem); right: clamp(1rem, 6vw, 7rem); z-index: 2;
  width: clamp(6rem, 11vw, 12rem); height: auto; animation: px-spin 22s linear infinite;
}
.px-stamp circle { fill: var(--px-butter); stroke: var(--px-ink); stroke-width: 1.5; }
.px-stamp text { fill: var(--px-ink); font-family: var(--sans); font-size: 15.5px; font-weight: 600; letter-spacing: 2.6px; text-transform: uppercase; }
.px-stamp .px-stamp-core { fill: var(--px-red); font-family: var(--px-cond); font-weight: 900; font-size: 64px; letter-spacing: 0; font-variation-settings: "wdth" 62; }
@keyframes px-spin { to { transform: rotate(360deg); } }

/* ---------- 2. Intro ---------- */
.px-intro { padding: clamp(6rem, 11vw, 12rem) clamp(1rem, 10vw, 12rem) clamp(5rem, 9vw, 10rem); }
.px-statement { max-width: 17em; margin: 1.6rem 0 0; font-family: var(--sans); font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 4.4rem); line-height: 1.04; letter-spacing: -.025em; }
.px-intro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 5rem); max-width: 60rem; margin-top: clamp(2.5rem, 4vw, 4rem); }
.px-intro-cols p { margin: 0; color: var(--fg-soft); font-size: clamp(.95rem, 1vw, 1.15rem); }
.px-intro-cols em { color: var(--fg); }
.px-hours { display: grid; grid-template-columns: repeat(5, 1fr); margin: clamp(3rem, 6vw, 6rem) 0 0; padding: 0; list-style: none; border-top: 3px double var(--fg); }
.px-hours li { padding: 1.1rem .4rem 0; border-right: 1px solid var(--line); cursor: default; }
.px-hours li:last-child { border-right: 0; }
.px-hours span {
  display: block; font-family: var(--px-cond); font-weight: 900; font-variation-settings: "wdth" 62; font-size: clamp(1.8rem, 3.6vw, 4.2rem);
  line-height: .9; text-transform: uppercase; transition: font-variation-settings .5s var(--ease), color .3s, transform .5s var(--px-pop);
}
.px-hours small { display: block; margin-top: .4rem; color: var(--fg-soft); font-size: clamp(.75rem, .8vw, .9rem); }
.px-hours li:hover span { font-variation-settings: "wdth" 110; color: var(--px-red); transform: translateY(-.15em); }

/* ---------- 3. Dish of the day ---------- */
.px-special {
  --fg: var(--px-cream);
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: center;
  margin: 0 var(--gutter); padding: clamp(3rem, 6vw, 7rem) clamp(1.4rem, 6vw, 7rem); border-radius: 16px; overflow: hidden;
  background: var(--px-red) radial-gradient(rgba(255,255,255,.1) 1.2px, transparent 1.6px) 0 0 / 18px 18px; color: var(--px-cream);
}
.px-special-title { margin: 1.2rem 0 0; font-family: var(--px-cond); font-weight: 900; font-variation-settings: "wdth" 62; font-size: clamp(4.6rem, 11vw, 13rem); line-height: .8; text-transform: uppercase; }
.px-special-title > span { display: block; }
.px-price { color: var(--px-butter); font-variant-numeric: tabular-nums; }
.px-price-num { display: inline-block; transform-origin: 0 80%; }
.px-special-copy > p:not(.label) { max-width: 25em; margin: 1.6rem 0 2.2rem; opacity: .9; }
.px-days { position: relative; display: inline-flex; flex-wrap: wrap; gap: .25rem; padding: .35rem; border-radius: 999px; background: rgba(16,16,15,.22); }
.px-days-pill { position: absolute; top: .35rem; left: 0; height: calc(100% - .7rem); border-radius: 999px; background: var(--px-cream); transition: transform .55s var(--px-pop), width .55s var(--px-pop); pointer-events: none; }
.px-days button {
  position: relative; z-index: 1; padding: .8rem clamp(.9rem, 1.6vw, 1.5rem); border-radius: 999px;
  font-family: var(--px-cond); font-weight: 800; font-variation-settings: "wdth" 100; font-size: clamp(.95rem, 1.1vw, 1.2rem); letter-spacing: .06em; text-transform: uppercase;
  color: var(--px-cream); transition: color .35s;
}
.px-days:not(.has-pill) button[aria-selected="true"] { background: var(--px-cream); }
.px-days button[aria-selected="true"] { color: var(--px-red); }
.px-days button:hover:not([aria-selected="true"]) { color: var(--px-butter); }
.px-days button[data-today]::after {
  content: "today"; position: absolute; top: -.55rem; right: -.2rem; padding: .1rem .4rem; border-radius: 4px;
  background: var(--px-gold); color: var(--px-ink); font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .04em; text-transform: none;
}
html:lang(nl) .px-days button[data-today]::after { content: "vandaag"; }
.px-days button:focus-visible { outline-color: var(--px-cream); outline-offset: 2px; }

.px-plate-wrap { position: relative; justify-self: center; width: min(100%, 34rem); }
.px-plate {
  position: relative; display: grid; place-content: center; aspect-ratio: 1; padding: 17%; border-radius: 50%; text-align: center; color: var(--px-ink);
  background: radial-gradient(circle, var(--px-paper) 0 56%, #efe4d4 57% 58.5%, var(--px-paper) 60% 68%, #e8dac6 69% 70%, #f6eee2 71% 100%);
  box-shadow: 0 40px 70px -26px rgba(40, 0, 0, .65), inset 0 -8px 20px rgba(0,0,0,.06);
}
.px-plate-spin { position: absolute; inset: 7%; border-radius: 50%; border: 2px dashed rgba(201, 13, 25, .35); animation: px-spin 40s linear infinite; }
.px-plate > p { position: relative; margin: 0; }
.px-plate-day { font-size: clamp(.7rem, .85vw, .9rem); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--px-red); }
.px-plate-dish { margin: .25em 0 .3em !important; font-family: var(--px-cond); font-weight: 900; font-variation-settings: "wdth" 62; font-size: clamp(2.6rem, 5.4vw, 5.8rem); line-height: .84; text-transform: uppercase; }
.px-plate-note { font-size: clamp(.8rem, .9vw, 1rem); font-style: italic; opacity: .6; }
.px-fork, .px-knife { position: absolute; top: 18%; height: 64%; width: clamp(.7rem, 1.2vw, 1.2rem); border-radius: 999px; background: var(--px-cream); opacity: .95; transition: transform .6s var(--px-pop); }
.px-fork { left: -7%; background: linear-gradient(90deg, var(--px-cream) 0 22%, transparent 22% 39%, var(--px-cream) 39% 61%, transparent 61% 78%, var(--px-cream) 78%) top / 100% 18% no-repeat, linear-gradient(var(--px-cream), var(--px-cream)) 50% 100% / 46% 84% no-repeat; border-radius: 3px 3px 999px 999px; }
.px-knife { right: -7%; border-radius: 999px 2px 999px 999px; }
.px-special.is-bump .px-fork { transform: rotate(-8deg) translateY(-4%); }
.px-special.is-bump .px-knife { transform: rotate(8deg) translateY(-4%); }
.px-steam { position: absolute; left: 50%; bottom: 96%; display: flex; gap: 1.2rem; transform: translateX(-50%); }
.px-steam i { width: 5px; height: clamp(2.4rem, 4vw, 4.2rem); border-radius: 3px; background: linear-gradient(transparent, rgba(255,255,255,.75)); animation: px-steam 2.6s ease-in-out infinite; opacity: 0; }
.px-steam i:nth-child(2) { animation-delay: .8s; height: clamp(3rem, 5vw, 5rem); }
.px-steam i:nth-child(3) { animation-delay: 1.6s; }
@keyframes px-steam {
  0% { opacity: 0; transform: translateY(1.2rem) scaleY(.6) skewX(0); }
  40% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-1.4rem) scaleY(1.1) skewX(14deg); }
}

/* ---------- 4. Menu card ---------- */
.px-menu { display: grid; justify-items: center; padding: clamp(6rem, 11vw, 12rem) var(--gutter); }
.px-card {
  position: relative; width: min(100%, 58rem); padding: clamp(2.4rem, 5vw, 5.5rem) clamp(1.4rem, 5vw, 5.5rem) clamp(2rem, 4vw, 4rem);
  border-radius: 4px; color: var(--px-ink);
  background: var(--px-butter) radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.35), transparent 60%);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.55), 0 2px 0 rgba(0,0,0,.05);
  transform: rotate(-.7deg);
  transition: transform 1.3s var(--ease), opacity 1s var(--ease);
}
.px-card::before, .px-card::after { content: ""; position: absolute; pointer-events: none; border: 1px solid rgba(16, 16, 15, .45); }
.px-card::before { inset: .8rem; }
.px-card::after { inset: 1.15rem; border-color: rgba(16, 16, 15, .2); }
.px.is-ready .px-card:not(.is-in) { opacity: 0; transform: translateY(5rem) rotate(-4deg); }
.px-card-head { text-align: center; }
.px-card-kicker { margin: 0; color: var(--px-red); font-size: clamp(.68rem, .8vw, .85rem); font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.px-card-title { margin: .6rem 0 .5rem; font-family: var(--px-cond); font-weight: 900; font-variation-settings: "wdth" 62; font-size: clamp(3.2rem, 8vw, 8rem); line-height: .82; text-transform: uppercase; }
.px-card-sub { margin: 0; font-style: italic; opacity: .6; font-size: clamp(.85rem, .95vw, 1rem); }
.px-course { margin-top: clamp(2.4rem, 4vw, 3.6rem); }
.px-course-title {
  display: flex; align-items: center; justify-content: center; gap: .8rem; margin: 0 0 .8rem;
  font-size: clamp(.72rem, .85vw, .9rem); font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
}
.px-course-title::before, .px-course-title::after { content: ""; flex: 1; max-width: 9rem; height: 1px; background: currentColor; opacity: .4; }
.px-course-title span { color: var(--px-red); font-family: var(--px-cond); font-weight: 900; font-variation-settings: "wdth" 62; font-size: 2.2em; letter-spacing: .02em; }
.px-dishes { margin: 0; padding: 0; list-style: none; }
.px-dishes li {
  position: relative; display: grid; grid-template-columns: auto minmax(1.2rem, 1fr) auto; align-items: baseline; gap: .7rem;
  padding: .75rem .6rem; margin: 0 -.6rem; border-radius: 6px; cursor: default; transition: background-color .35s;
}
.px-dish-name {
  min-width: 0; font-family: var(--px-cond); font-weight: 800; font-variation-settings: "wdth" 85; font-size: clamp(1.15rem, 1.9vw, 2rem);
  line-height: 1.05; text-transform: uppercase; transition: transform .5s var(--px-pop), color .3s;
}
.px-dish-name small { display: block; margin-top: .25rem; font-family: var(--sans); font-weight: 400; font-variation-settings: normal; font-size: clamp(.8rem, .85vw, .95rem); text-transform: none; opacity: .65; }
.px-dots {
  height: .5em; transform-origin: 0 50%;
  background: radial-gradient(circle, currentColor 1.3px, transparent 1.8px) 0 100% / 9px 6px repeat-x; opacity: .55;
  transition: transform 1s var(--ease) calc(var(--i, 0) * 70ms + .3s);
}
.px.is-ready .px-card:not(.is-in) .px-dots { transform: scaleX(0); }
.px-dish-price { font-family: var(--px-cond); font-weight: 800; font-variation-settings: "wdth" 100; font-size: clamp(.95rem, 1.2vw, 1.3rem); text-transform: uppercase; white-space: nowrap; transition: color .3s; }
.px-dishes li:hover { background: rgba(16, 16, 15, .07); }
.px-dishes li:hover .px-dish-name { transform: translateX(.4rem); color: var(--px-red); }
.px-dishes li:hover .px-dish-price { color: var(--px-red); }
.px-dishes li:hover .px-dots { opacity: 1; animation: px-march .6s linear infinite; }
@keyframes px-march { to { background-position: 9px 100%; } }
.px-card-foot { margin: clamp(2.4rem, 4vw, 3.6rem) 0 0; text-align: center; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; opacity: .5; }

/* ---------- 5. On the pass ---------- */
.px-pass { padding: 0 var(--gutter) clamp(7rem, 12vw, 14rem); }
.px-pass-head { text-align: center; }
.px-pass-stage { position: relative; display: grid; justify-items: center; margin-top: clamp(3rem, 5vw, 5rem); }
.px-browser { width: min(80%, 1120px); }
.px-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transform: none !important; clip-path: inset(0 0 0 100%); }
.px-slides img.was-on { z-index: 1; clip-path: inset(0); }
.px-slides img.is-on { z-index: 2; clip-path: inset(0); transition: clip-path 1s var(--ease-in-out); }
.px-phones { position: absolute; right: clamp(0rem, 3vw, 4rem); bottom: clamp(-6rem, -6vw, -2rem); display: flex; z-index: 3; }
.px-phone {
  width: clamp(5.6rem, 12.5vw, 14rem); aspect-ratio: 780 / 1688; margin: 0 0 0 -2.8rem; border: clamp(4px, .45vw, 7px) solid #10100f; border-radius: clamp(.9rem, 1.6vw, 1.7rem);
  overflow: hidden; background: #10100f; box-shadow: 0 30px 50px -18px rgba(0,0,0,.55);
  transition: transform 1.1s var(--px-pop), opacity .8s var(--ease);
}
.px-phone:first-child { margin-left: 0; }
.px-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.px-phones .px-phone:nth-child(1) { transform: rotate(-12deg) translate(1rem, 1.2rem); }
.px-phones .px-phone:nth-child(2) { transform: rotate(-2deg) translateY(-1rem); transition-delay: .1s; z-index: 1; }
.px-phones .px-phone:nth-child(3) { transform: rotate(9deg) translate(-.6rem, .6rem); transition-delay: .2s; }
.px.is-ready .px-phones:not(.is-in) .px-phone { opacity: 0; transform: translateY(40%) rotate(0); }
.px-phones.is-in .px-phone:hover { transform: translateY(-1.6rem) rotate(0); z-index: 2; transition-delay: 0s; }

/* ---------- 6. Polaroid table ---------- */
.px-table { padding: 0 var(--gutter) clamp(7rem, 12vw, 14rem); }
.px-table-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem 3rem; }
.px-table-actions { display: grid; justify-items: start; gap: .8rem; }
.px-hint { margin: 0; color: var(--fg-soft); }
.px-cloth {
  --pw: clamp(8.5rem, 18vw, 19rem);
  position: relative; height: clamp(32rem, 50vw, 52rem); margin-top: clamp(2rem, 3vw, 3rem); border-radius: 16px; overflow: hidden;
  background-color: #f7efe4;
  background-image: linear-gradient(90deg, rgba(201,13,25,.38) 50%, transparent 50%), linear-gradient(rgba(201,13,25,.38) 50%, transparent 50%);
  background-size: clamp(36px, 4vw, 64px) clamp(36px, 4vw, 64px);
  box-shadow: inset 0 0 80px rgba(60, 0, 0, .25);
}
.px-pol {
  --x: .5; --y: .5; --r: 0deg; --dx: 0px; --dy: 0px; --tilt: 0deg; --s: 1;
  position: absolute; left: calc((100% - var(--pw)) * var(--x)); top: calc((100% - var(--pw) - 2rem) * var(--y));
  width: var(--pw); margin: 0; padding: .6rem .6rem 2.5rem; background: var(--px-paper); color: var(--px-ink);
  box-shadow: 0 18px 30px -12px rgba(0,0,0,.45), 0 2px 4px rgba(0,0,0,.15);
  transform: translate3d(var(--dx), var(--dy), 0) rotate(calc(var(--r) + var(--tilt))) scale(var(--s));
  transition: transform .7s var(--px-pop), box-shadow .3s, opacity .6s var(--ease);
  cursor: grab; user-select: none; -webkit-user-select: none;
}
.px-pol::before { content: ""; position: absolute; top: -.7rem; left: 50%; width: 38%; height: 1.4rem; transform: translateX(-50%) rotate(-3deg); background: rgba(239, 216, 182, .75); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.px-pol:nth-child(even)::before { display: none; }
.px-pol img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; pointer-events: none; background: #ddd; }
.px-pol figcaption { position: absolute; left: .6rem; right: .6rem; bottom: .7rem; text-align: center; font-size: clamp(.72rem, .85vw, .95rem); font-weight: 500; font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px-pol:nth-child(1) { --x: .03; --y: .1; --r: -8deg; }
.px-pol:nth-child(2) { --x: .24; --y: .55; --r: 6deg; }
.px-pol:nth-child(3) { --x: .42; --y: .06; --r: -3deg; }
.px-pol:nth-child(4) { --x: .6; --y: .62; --r: 9deg; }
.px-pol:nth-child(5) { --x: .8; --y: .14; --r: -10deg; }
.px-pol:nth-child(6) { --x: .97; --y: .8; --r: 4deg; }
.px-pol.is-drag { --s: 1.06; cursor: grabbing; transition: box-shadow .3s; box-shadow: 0 40px 60px -20px rgba(0,0,0,.5), 0 4px 8px rgba(0,0,0,.15); }
.px-cloth.is-shuffling .px-pol { transition: transform .8s var(--px-pop), left .8s var(--px-pop), top .8s var(--px-pop), box-shadow .3s; }
.px.is-ready .px-cloth:not(.is-in) .px-pol { opacity: 0; transform: translate3d(0, -14rem, 0) rotate(calc(var(--r) * -3)) scale(1.2); }
@media (pointer: fine) { .px-pol { touch-action: none; } }

/* ---------- 7. Steaks & Bites ---------- */
.px-upstairs {
  --fg: var(--px-cream); --line: rgba(244, 239, 229, .25); --fg-soft: rgba(244, 239, 229, .6); --signal: var(--px-butter); --on-signal: var(--px-ink);
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center;
  margin: 0 var(--gutter); padding: clamp(2.5rem, 6vw, 7rem); border-radius: 16px;
  background: var(--px-ink); color: var(--px-cream); box-shadow: inset 0 0 0 1px rgba(244, 239, 229, .1);
}
.px-lift { display: grid; justify-items: center; gap: 1rem; }
.px-lift-panel {
  display: inline-flex; align-items: center; gap: .7rem; padding: .45rem 1.1rem; border-radius: 6px; background: #000; box-shadow: inset 0 0 0 1px #34312c;
  font-family: var(--px-cond); font-weight: 800; font-variation-settings: "wdth" 100; font-size: 1.5rem; line-height: 1; color: var(--red);
  text-shadow: 0 0 8px rgba(255, 0, 0, .8); font-variant-numeric: tabular-nums;
}
.px-lift-arrow { font-size: .7em; opacity: .25; }
.px-upstairs.is-moving .px-lift-arrow { animation: px-blink .5s steps(1, end) infinite; }
@keyframes px-blink { 50% { opacity: .2; } 0%, 100% { opacity: 1; } }
.px-lift-shaft { position: relative; width: min(100%, 30rem); aspect-ratio: 2 / 3; overflow: hidden; border: 10px solid #2a2824; border-bottom-width: 4px; border-radius: 8px 8px 2px 2px; background: #000; }
.px-lift-shaft img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 2.4s var(--ease) .5s; }
.px-door {
  position: absolute; top: 0; bottom: 0; width: 50%; transition: transform 1.5s var(--ease-in-out) .2s;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 4px), linear-gradient(90deg, #77736c, #cfcac1 35%, #8e8a83 65%, #bdb8af);
}
.px-door-l { left: 0; box-shadow: inset -2px 0 3px rgba(0,0,0,.4); }
.px-door-r { right: 0; box-shadow: inset 2px 0 3px rgba(0,0,0,.4); }
.px-door-l, .px-door-r { transform: translateX(var(--door, -101%)); }
.px-door-r { --door: 101%; }
.px.is-ready .px-upstairs:not(.is-open) .px-door { --door: 0%; }
.px.is-ready .px-upstairs:not(.is-open) .px-lift-shaft img { transform: scale(1.15); }
.px-up-title { margin: 1.2rem 0 0; font-family: var(--px-cond); font-weight: 900; font-variation-settings: "wdth" 62; font-size: clamp(4rem, 9vw, 10.5rem); line-height: .8; text-transform: uppercase; }
.px-up-title span { display: block; }
.px-up-title span + span { color: var(--px-butter); }
.px-guests { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem 1rem; margin: clamp(1.6rem, 3vw, 2.6rem) 0 1.2rem; }
.px-guests > span:not(.px-sr) { font-family: var(--px-cond); font-weight: 900; font-variation-settings: "wdth" 75; font-size: clamp(3rem, 6vw, 6.6rem); line-height: .85; color: var(--px-gold); font-variant-numeric: tabular-nums; }
.px-guests b { font-weight: inherit; }
.px-guests small { font-size: clamp(.72rem, .85vw, .9rem); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-soft); }
.px-up-copy > p:not(.label):not(.px-guests) { max-width: 30em; margin: 0; color: rgba(244, 239, 229, .78); }
.px-formats { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.px-formats li {
  padding: .55rem 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(239, 216, 182, .4); font-size: clamp(.85rem, .9vw, 1rem); cursor: default;
  transition: transform .6s var(--px-pop), opacity .5s var(--ease), background-color .3s, color .3s;
}
.px-formats li::before { content: "✓"; margin-right: .45rem; color: var(--px-gold); }
.px-formats li:hover { background: var(--px-butter); color: var(--px-ink); transform: rotate(-3deg) scale(1.06); }
.px-formats li:hover::before { color: var(--px-red); }
.px.is-ready .px-upstairs:not(.is-open) .px-formats li { opacity: 0; transform: scale(.6) translateY(1rem); }
.px-formats li:nth-child(2) { transition-delay: .06s; }
.px-formats li:nth-child(3) { transition-delay: .12s; }
.px-formats li:nth-child(4) { transition-delay: .18s; }
.px-formats li:nth-child(5) { transition-delay: .24s; }
.px-formats li:nth-child(6) { transition-delay: .3s; }
.px-formats li:hover { transition-delay: 0s; }

/* ---------- 8. The bill ---------- */
.px-bill { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 25rem); gap: clamp(3rem, 8vw, 10rem); align-items: start; padding: clamp(7rem, 12vw, 14rem) clamp(1rem, 10vw, 12rem) clamp(5rem, 9vw, 10rem); }
.px-quote { margin: clamp(2rem, 3vw, 3rem) 0 2.4rem; }
.px-quote p { max-width: 20em; margin: 0 0 .8rem; font-weight: 500; font-size: clamp(1.3rem, 2vw, 2.3rem); line-height: 1.18; letter-spacing: -.01em; }
.px-quote footer { color: var(--fg-soft); font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; }
.px-quote footer::before { content: "— "; }
.px-printer { position: relative; }
.px-printer-slot { position: relative; z-index: 2; height: 1.6rem; border-radius: 10px; background: #10100f; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5), inset 0 0 0 1px #2e2c28; }
.px-printer-slot i { position: absolute; left: 5%; right: 5%; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: #000; }
:root[data-theme="dark"] .px-printer-slot { background: #2a2825; box-shadow: inset 0 0 0 1px #3d3a35; }
.px-receipt-clip { position: relative; margin: -.8rem 7% 0; padding: 0 1rem 2.5rem; overflow: hidden; }
.px-receipt {
  margin: 0 -1rem; padding: 2rem 1.3rem 2.6rem; background: var(--px-paper); color: var(--px-ink);
  font-family: var(--px-mono); font-size: clamp(.72rem, .78vw, .84rem); line-height: 1.55; text-transform: uppercase;
  filter: drop-shadow(0 16px 18px rgba(0,0,0,.18));
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 9px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 9px repeat-x;
  transition: transform 3s steps(30, end);
}
.px.is-ready .px-printer:not(.is-printed) .px-receipt { transform: translateY(-102%); }
.px-r-head { margin: 0 0 1.2rem; text-align: center; }
.px-r-head b { display: block; margin-bottom: .3rem; font-family: var(--px-cond); font-weight: 900; font-variation-settings: "wdth" 62; font-size: 2.2em; line-height: .9; }
.px-r-lines { margin: 0; padding: .8rem 0; border-top: 1px dashed currentColor; border-bottom: 1px dashed currentColor; }
.px-r-lines div { display: flex; justify-content: space-between; gap: 1rem; }
.px-r-lines dt, .px-r-lines dd { margin: 0; }
.px-r-lines dd { text-align: right; }
.px-r-total { display: flex; justify-content: space-between; gap: 1rem; margin: .8rem 0 0; font-weight: 700; font-size: 1.15em; }
.px-r-total span:last-child { color: var(--px-red); }
.px-r-barcode {
  height: 3rem; margin: 1.4rem 8% .7rem;
  background: repeating-linear-gradient(90deg, var(--px-ink) 0 2px, transparent 2px 4px, var(--px-ink) 4px 5px, transparent 5px 8px, var(--px-ink) 8px 11px, transparent 11px 12px, var(--px-ink) 12px 13px, transparent 13px 17px);
}
.px-r-thanks { margin: 0; text-align: center; letter-spacing: .08em; }

.px-next { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .px-special, .px-upstairs { grid-template-columns: 1fr; }
  .px-plate-wrap { width: min(86%, 26rem); margin-top: 2.5rem; }
  .px-lift { order: 2; }
  .px-bill { grid-template-columns: 1fr; }
  .px-printer { width: min(100%, 25rem); justify-self: center; }
}
@media (max-width: 700px) {
  .px-reel-frame { aspect-ratio: 4 / 5; }
  .px-reel-land { display: none; }
  .px-reel-port { display: block; }
  .px-neon { right: 0; }
  .px-intro-cols { grid-template-columns: 1fr; }
  .px-hours { grid-template-columns: repeat(2, 1fr); }
  .px-hours li { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: .9rem; }
  .px-hours li:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .px-browser { width: 100%; }
  .px-phones { position: relative; right: auto; bottom: auto; margin-top: -2.5rem; }
  .px-dishes li { gap: .5rem; }
  .px-cloth { --pw: clamp(8rem, 38vw, 10rem); height: 34rem; }
  .px-masthead { letter-spacing: .1em; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .px-neon, .px-neon-word, .px-stamp, .px-plate-spin, .px-steam i, .px-dishes li:hover .px-dots { animation: none; }
  .px-steam { display: none; }
  .px-title-word > span, .px-title-sub, .px-card, .px-dots, .px-phone, .px-pol, .px-door, .px-lift-shaft img, .px-formats li, .px-receipt, .px-slides img.is-on { transition: none !important; }
  .px-cover:not(.is-in) .px-title-word > span, .px-cover:not(.is-in) .px-title-sub { opacity: 1; transform: none; }
}
