/* ONESAVOR — base system + "Noir" (default) art direction.
   Brand: black, champagne gold, light-blue handwriting. Type: Montserrat (Ivan's choice). */

:root {
  --bg: #0a0a0b;
  --bg2: #121215;
  --bg3: #1a1a1e;
  --ink: #f3eee4;
  --ink2: #a8a297;
  --gold: #d9a441;
  --gold2: #f2d08a;
  --gold-grad: linear-gradient(180deg, #f6dc9a 0%, #e2b45a 45%, #b9862f 100%);
  --blue: #8fd6ec;
  --blue-deep: #2fa8c4;
  --line: rgba(242, 208, 138, .16);
  --line2: rgba(243, 238, 228, .1);
  --paper: #f4efe6;
  --paper-ink: #1d1a16;
  --btn-ink: #15110a;
  --radius: 14px;
  --f-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-tag: "Sedgwick Ave", "Caveat", cursive;
  --f-hand: "Caveat", "Sedgwick Ave", cursive;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --h1: clamp(30px, 4.4vw, 60px);
  --h2: clamp(30px, 4.6vw, 64px);
  --h2-weight: 300;
  --h2-track: -.02em;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.ready { scroll-behavior: smooth; } /* only after load: a #book deep link jumps, it doesn't sweep through every section */
html.rm { scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--f-sans); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; } /* width/height attributes give the ratio; CSS width must not stretch it */
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: #000; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #000; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
html:not(.review) .review-only { display: none !important; }

/* ---------- type atoms ---------- */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--blue); }
.lead { font-size: clamp(17px, 1.35vw, 19px); color: var(--ink2); max-width: 58ch; }
.fine { font-size: 13px; color: var(--ink2); line-height: 1.5; }
.hint { font-size: 13px; color: var(--ink2); }
.link { color: var(--gold2); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.link:hover { border-color: var(--gold2); }
.ai-label, .real-label {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(243, 238, 228, .82); background: rgba(10, 10, 11, .55);
  border: 1px solid rgba(243, 238, 228, .18); padding: 5px 9px; border-radius: 99px; backdrop-filter: blur(6px);
}
.ai-label::before { content: "AI"; font-size: 9px; color: #000; background: var(--blue); border-radius: 4px; padding: 1px 4px; letter-spacing: .05em; }
.real-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6fe08a; box-shadow: 0 0 10px #6fe08a; }

/* ---------- wordmark + graffiti tag ---------- */
.wordmark {
  font-weight: 300; letter-spacing: .3em; text-transform: uppercase; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-left: .3em; /* optical: balance trailing tracking */
}
.tag { display: block; color: var(--blue); }
.tag svg { width: 100%; height: auto; overflow: visible; }
.tag .ink { fill: currentColor; filter: drop-shadow(0 0 10px rgba(143, 214, 236, .35)); }

.tag-strokes path { stroke-dasharray: 1 1.02; stroke-dashoffset: 1.02; }
.tag.go .tag-strokes path { animation-name: write; animation-timing-function: cubic-bezier(.4, .1, .6, .9); animation-fill-mode: forwards; }
.tag.done .tag-strokes path, html.rm .tag-strokes path { stroke-dashoffset: 0; animation: none; }
@keyframes write { to { stroke-dashoffset: 0; } }

.brand { display: inline-grid; text-decoration: none; position: relative; padding-bottom: 6px; }
.brand .wordmark { font-size: 17px; }
.brand .tag { width: 86px; margin: -1px -14px 0 auto; transform: rotate(-5deg); }

.lockup { display: inline-grid; position: relative; margin: 18px 0 26px; }
.wordmark-xl { font-size: clamp(42px, 9.4vw, 150px); letter-spacing: .2em; padding-left: .2em; }
.tag-xl { width: 58%; justify-self: end; margin-top: -.06em; margin-right: -4%; transform: rotate(-6deg); }

/* ---------- buttons, chips ---------- */
.btn {
  --b: var(--gold); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--b);
  font-size: 14px; font-weight: 600; letter-spacing: .04em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold-grad); color: var(--btn-ink); border-color: transparent; box-shadow: 0 10px 30px -12px rgba(217, 164, 65, .7); }
.btn-line { background: transparent; color: var(--ink); --b: rgba(243, 238, 228, .3); }
.btn-line:hover { --b: var(--gold2); color: var(--gold2); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 13px; }
.cta-short { display: none; }
.btn[hidden] { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line2); background: rgba(10, 10, 11, .4);
  border-radius: 99px; padding: 7px 12px; font-size: 12px; color: var(--ink2); backdrop-filter: blur(6px);
}
.chip:hover { color: var(--ink); }
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: #6fe08a; box-shadow: 0 0 10px #6fe08a; }
.round {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg2);
  display: grid; place-items: center; font-size: 18px; transition: background .2s, border-color .2s, transform .2s;
}
.round:hover { border-color: var(--gold2); transform: scale(1.06); }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 24px;
  padding: 14px var(--pad); transition: background .35s, border-color .35s, padding .35s;
  border-bottom: 1px solid transparent;
}
.top.solid { background: rgba(10, 10, 11, .78); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line2); padding-block: 10px; }
.nav { display: flex; gap: 26px; margin: 0 auto; }
.nav a { text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--ink2); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.top-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.langs { display: flex; gap: 2px; border: 1px solid var(--line2); border-radius: 99px; padding: 3px; }
.langs button { border: 0; background: none; font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 6px 9px; border-radius: 99px; color: var(--ink2); }
.langs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* ---------- sections ---------- */
main { display: flex; flex-direction: column; overflow-x: clip; }
.section { padding: clamp(80px, 11vw, 160px) var(--pad); }
.section > * { max-width: var(--max); margin-inline: auto; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section h2 { font-size: var(--h2); font-weight: var(--h2-weight); letter-spacing: var(--h2-track); }
.section h2 em { font-style: normal; color: var(--gold2); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding: 120px var(--pad) 28px; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: #000 center/cover no-repeat; }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s; }
.hero-video.on { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,11,.92) 0%, rgba(10,10,11,.55) 42%, rgba(10,10,11,.1) 75%),
    linear-gradient(0deg, rgba(10,10,11,.95) 0%, rgba(10,10,11,0) 40%),
    linear-gradient(180deg, rgba(10,10,11,.6) 0%, rgba(10,10,11,0) 22%);
}
.hero-inner { max-width: var(--max); width: 100%; margin: 0 auto; padding-bottom: clamp(40px, 7vh, 90px); }
.hero-title { font-size: var(--h1); font-weight: 500; letter-spacing: -.015em; }
.hero-title em { font-style: normal; color: var(--gold2); }
.hero-body { margin-top: 18px; max-width: 46ch; color: rgba(243, 238, 228, .82); font-size: clamp(16px, 1.3vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 30px; }
.price-chip { font-size: 13px; font-weight: 600; color: var(--gold2); padding-left: 6px; letter-spacing: .03em; }
.hero-foot { max-width: var(--max); width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line2); padding-top: 18px; }
.season { font-size: 13px; color: var(--ink2); }
.season b { color: var(--ink); font-weight: 600; }
.season a { color: var(--gold2); text-decoration: none; font-weight: 600; }
.season-k { color: var(--blue); }
.season .dot { margin: 0 8px; opacity: .5; }
.hero [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero.in [data-reveal] { opacity: 1; transform: none; }

/* ---------- kitchen scroll film ---------- */
.kitchen { height: 320vh; position: relative; }
.kitchen-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #050506; }
.kitchen-canvas { width: 100%; height: 100%; }
.kitchen-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,11,.85), rgba(10,10,11,0) 45%), linear-gradient(180deg, rgba(10,10,11,.5), rgba(10,10,11,0) 25%); }
.kitchen .ai-label { position: absolute; top: 88px; left: var(--pad); }
.kitchen-beats { position: absolute; left: var(--pad); right: var(--pad); bottom: 12vh; max-width: var(--max); margin: 0 auto; }
.beat {
  position: absolute; bottom: 0; left: 0; max-width: 18ch; font-size: clamp(30px, 5vw, 72px); font-weight: 300;
  letter-spacing: -.02em; line-height: 1.05; opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s var(--ease);
}
.beat.on { opacity: 1; transform: none; }
.kitchen-progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 5vh; height: 1px; background: var(--line2); }
.kitchen-progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--gold2); }

/* ---------- the pass ---------- */
.pass-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.pass-stage {
  position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: #0c0c0e;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), inset 0 0 0 1px var(--line2); touch-action: pan-y; user-select: none;
}
.pass-chef { position: absolute; inset: 0 0 38% 0; }
.chef-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.pass-chef .ai-label { position: absolute; top: 14px; left: 14px; }
.pass-counter {
  position: absolute; inset: 54% 0 0 0;
  background:
    radial-gradient(60% 55% at 50% 45%, rgba(255, 196, 120, .22), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #3a3b40 0%, #232428 30%, #141518 100%);
  border-top: 1px solid rgba(255,255,255,.14);
}
.pass-counter .heat { position: absolute; left: 50%; top: -60%; width: 70%; height: 90%; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 100%, rgba(255, 170, 80, .16), transparent 70%); pointer-events: none; }
.pass-counter .real-label { position: absolute; right: 14px; bottom: 14px; }
.plate-track { position: absolute; inset: -34% 0 0; }
.plate {
  position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; translate: -50% -50%;
  display: grid; place-items: center; transition: transform .7s var(--ease), opacity .5s; pointer-events: none;
}
.plate img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 26px 22px rgba(0,0,0,.65)) drop-shadow(0 4px 4px rgba(0,0,0,.5)); }
.plate.out-l { transform: translateX(-120%) rotate(-14deg); opacity: 0; }
.plate.out-r { transform: translateX(120%) rotate(14deg); opacity: 0; }
.plate.cur { transform: none; opacity: 1; }
.pass-info { display: grid; gap: 22px; justify-items: start; }
.ticket {
  position: relative; width: min(100%, 440px); background: var(--paper); color: var(--paper-ink); padding: 26px 26px 22px;
  border-radius: 4px; box-shadow: 0 30px 50px -30px rgba(0,0,0,.8); transform: rotate(-1.2deg);
  -webkit-mask: radial-gradient(circle 6px at 10px 0, transparent 98%, #000) -10px 0 / 20px 100% repeat-x;
          mask: radial-gradient(circle 6px at 10px 0, transparent 98%, #000) -10px 0 / 20px 100% repeat-x;
}
.ticket-no { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #7a7266; border-bottom: 1px dashed #c9bfae; padding-bottom: 10px; margin-bottom: 14px; }
.ticket-no b { color: var(--paper-ink); }
.dish-name { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.01em; }
.dish-desc { margin-top: 10px; font-size: 15px; color: #4c463d; }
.scribble { margin-top: 12px; font: 600 24px/1.1 var(--f-hand); color: #2d6f9f; transform: rotate(-2deg); }
.pass-controls { display: flex; align-items: center; gap: 14px; }
.pass-dots { display: flex; gap: 6px; }
.pass-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(243,238,228,.22); transition: background .2s, transform .2s; }
.pass-dots button[aria-selected="true"] { background: var(--gold2); transform: scale(1.3); }

/* ---------- real reel ---------- */
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 12px; max-width: none !important; margin-inline: calc(var(--pad) * -1) !important; padding-inline: var(--pad); scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.reel-item { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; scroll-snap-align: start; background: var(--bg2); border: 0; padding: 0; text-align: left; }
.reel-item img, .reel-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.reel-item:hover img, .reel-item:hover video { transform: scale(1.04); }
.reel-item .cap { position: absolute; inset: auto 0 0; padding: 40px 14px 14px; font-size: 14px; font-weight: 600; background: linear-gradient(0deg, rgba(0,0,0,.8), transparent); color: #fff; }
.reel-item .badge { position: absolute; top: 12px; left: 12px; }

/* ---------- chef ---------- */
.chef { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto; }
.chef > * { max-width: none; margin: 0; }
.chef-photo { margin: 0; position: relative; }
.chef-photo img:first-child { border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: saturate(.9) contrast(1.05); }
.chef-photo .emblem { position: absolute; right: -14%; bottom: -10%; width: 62%; opacity: .55; pointer-events: none; }
.chef-text { display: grid; gap: 20px; justify-items: start; }
.signature { font: 400 64px/1 var(--f-tag); color: var(--blue); transform: rotate(-6deg); margin: 4px 0 0 8px; }

/* ---------- offer ---------- */
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pkg { position: relative; display: grid; gap: 14px; align-content: start; padding: 30px 26px 26px; border-radius: var(--radius); background: var(--bg2); border: 1px solid var(--line2); transition: border-color .3s, transform .3s var(--ease); }
.pkg:hover { border-color: var(--line); transform: translateY(-4px); }
.pkg.featured { border-color: rgba(242, 208, 138, .5); background: linear-gradient(180deg, #19171a, var(--bg2)); }
.pkg-flag { position: absolute; top: -11px; left: 22px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; background: var(--gold-grad); color: #000; padding: 4px 10px; border-radius: 99px; }
.pkg h3 { font-size: 22px; font-weight: 600; }
.pkg p { color: var(--ink2); font-size: 15px; }
.pkg-price { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.pkg-price small { font-size: 13px; color: var(--ink2); }
.pkg-price b { font-size: 52px; font-weight: 300; letter-spacing: -.03em; color: var(--gold2); line-height: 1; }
.pkg .btn { justify-self: start; margin-top: 8px; }
.estimator { margin-top: 28px; padding: 28px; border-radius: var(--radius); border: 1px dashed var(--line); display: grid; gap: 14px; }
.estimator h3 { font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.est-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.est-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.est-tabs button { border: 1px solid var(--line2); background: none; border-radius: 99px; padding: 8px 14px; font-size: 13px; color: var(--ink2); }
.est-tabs button[aria-checked="true"] { border-color: var(--gold2); color: var(--gold2); }
.est-range { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; font-size: 13px; color: var(--ink2); }
.est-range b { color: var(--ink); font-size: 15px; }
.est-range input { grid-column: 1 / -1; width: 100%; accent-color: var(--gold); }
.est-sum { font-size: 34px; font-weight: 300; color: var(--gold2); white-space: nowrap; letter-spacing: -.02em; }

/* ---------- steps ---------- */
.steps h2 { margin-bottom: 48px; }
.step-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line2); }
.step-list li { padding: 26px 22px 0 0; display: grid; gap: 10px; align-content: start; }
.step-list li + li { padding-left: 22px; border-left: 1px solid var(--line2); }
.step-list b { font-size: 13px; color: var(--blue); letter-spacing: .2em; }
.step-list h3 { font-size: 22px; font-weight: 600; }
.step-list p { color: var(--ink2); font-size: 15px; }

/* ---------- packaging: a CSS-3D box (W 340 x D 250 x H 96), Ivan's two colourways ---------- */
.pack-grid { --gap: clamp(24px, 4vw, 64px); container-type: inline-size; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--gap); align-items: center; }
/* --s: the stage width / 600px, capped at 1 (tan(atan2(a, b)) = a / b as a plain number); CSS only, so layout is final at first paint */
.pk-stage { --pk-paper: #fbfaf7; --pk-ink: #3f74b8; --s: min(1, tan(atan2((100cqw - var(--gap)) * .6, 600px))); position: relative; height: calc(620px * var(--s)); padding-bottom: calc(60px * var(--s)); perspective: calc(1500px * var(--s)); cursor: pointer; display: grid; place-items: end center; -webkit-tap-highlight-color: transparent; }
.pk-scene { position: relative; width: 340px; height: 250px; transform-style: preserve-3d; transform: translateX(calc(-36px * var(--s))) scale(var(--s)) rotateX(57deg) rotateZ(-24deg); transition: transform 1.1s var(--ease); }
.pk-stage.open .pk-scene { transform: translateX(calc(-36px * var(--s))) translateY(calc(40px * var(--s))) scale(var(--s)) rotateX(44deg) rotateZ(-16deg); }
.pk-shadow { position: absolute; inset: -6px -10px -26px -6px; border-radius: 20px; background: rgba(0, 0, 0, .55); filter: blur(18px); transform: translateZ(-1px); }
.pk-box, .pk-lid { position: absolute; transform-style: preserve-3d; }
.pk-box { inset: 0; }
.pk-floor, .pk-wall, .pk-lid-top, .pk-lid-in, .pk-lip { position: absolute; background-color: var(--pk-paper); }
.pk-floor { inset: 0; background-image: var(--pk-tissue); background-size: 96px; box-shadow: inset 0 0 40px rgba(0, 0, 0, .28); }
.pk-food { position: absolute; left: 50%; top: 50%; width: calc(74% * var(--k, 1)); transform: translate(-50%, -50%) translateZ(3px) rotate(4deg); transition: transform .8s var(--ease) .25s, opacity .25s; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .35)); }
.pk-stage.open .pk-food { transform: translate(-50%, -50%) translateZ(24px) rotate(-3deg) scale(1.04); }
.pk-stage.swap .pk-food { opacity: 0; transform: translate(-50%, -50%) translateZ(70px) rotate(-14deg) scale(.8); transition: transform .26s ease-in, opacity .26s; }
.pk-wall { box-shadow: inset 0 0 0 1px rgba(127, 127, 127, .14); }
.pk-back { left: 0; top: -96px; width: 340px; height: 96px; transform-origin: bottom; transform: rotateX(-90deg); background-image: linear-gradient(rgba(0, 0, 0, .16), rgba(0, 0, 0, .04)), var(--pk-tissue); background-size: auto, 96px; }
.pk-front { left: 0; top: 154px; width: 340px; height: 96px; transform-origin: bottom; transform: rotateX(-90deg); background-image: linear-gradient(rgba(255, 255, 255, .05), rgba(0, 0, 0, .06)); }
.pk-left { left: -96px; top: 0; width: 96px; height: 250px; transform-origin: right; transform: rotateY(90deg); background-image: linear-gradient(90deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .1)); }
.pk-right { left: 340px; top: 0; width: 96px; height: 250px; transform-origin: left; transform: rotateY(-90deg); background-image: linear-gradient(90deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .24)); }
.pk-lid { left: -2px; top: -2px; width: 344px; height: 254px; transform-origin: top; transform: translateZ(97px); transition: transform 1s var(--ease); }
.pk-stage.open .pk-lid { transform: translateZ(97px) rotateX(116deg); }
.pk-lid-top, .pk-lid-in { inset: 0; backface-visibility: hidden; box-shadow: inset 0 0 0 1px rgba(127, 127, 127, .16); }
.pk-lid-top { background-image: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .05)); }
.pk-lid-in { transform: rotateX(180deg); background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .02)); }
.pk-lip { left: 0; top: 254px; width: 344px; height: 34px; transform-origin: top; transform: rotateX(-90deg); background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, 0)); }
.pk-lid-top svg, .pk-lid-in svg, .pk-front svg { width: 100%; height: 100%; }
.pk-seal { position: absolute; left: 50%; top: 4px; width: 50px; height: 50px; margin-left: -25px; transform: translateY(1px); transform-origin: 50% 0; transition: transform .5s var(--ease), opacity .4s; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }
.pk-stage.open .pk-seal { transform: translate(60px, -40px) rotate(70deg) scale(.6); opacity: 0; }
.pk-card { position: absolute; left: 372px; top: 96px; width: 104px; transform: translateZ(1px) rotate(9deg); box-shadow: 0 14px 22px -10px rgba(0, 0, 0, .6); transition: transform .9s var(--ease); }
.pk-stage.open .pk-card { transform: translateZ(1px) translate(-6px, 20px) rotate(3deg); }
.pk-card svg { width: 100%; height: auto; }
.pack-info { display: grid; gap: 18px; align-content: center; }
.pk-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pk-ways button { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; text-align: left; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line2); background: var(--bg2); transition: border-color .2s, transform .2s; }
.pk-ways button:hover { transform: translateY(-2px); }
.pk-ways button[aria-checked="true"] { border-color: var(--gold2); box-shadow: 0 0 0 1px var(--gold2); }
.pk-ways b { font-weight: 600; }
.pk-ways small { grid-column: 2; font-size: 12px; color: var(--ink2); line-height: 1.35; }
.pk-swatch { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #3f74b8 0 30%, #fbfaf7 31%); box-shadow: 0 0 0 1px rgba(127, 127, 127, .4); }
[data-pk-way="black"] .pk-swatch { background: radial-gradient(circle at 50% 50%, #f5c71a 0 30%, #121214 31%); }
.pk-actions, .pk-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pk-note { grid-template-columns: minmax(0, 1fr); }
.pk-set { list-style: none; padding: 0; margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); align-items: end; }
.pk-item { display: grid; gap: 12px; justify-items: center; text-align: center; font-size: 13px; color: var(--ink2); }
.pk-art { height: clamp(120px, 16vw, 210px); display: grid; place-items: end center; transition: transform .35s var(--ease); }
.pk-item:hover .pk-art { transform: translateY(-6px) rotate(-2deg); }
.pk-art svg { height: 100%; width: auto; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .35)); }
.pk-set.black .pk-art svg, .pk-set.black .pk-tissue-swatch { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .35)) drop-shadow(0 18px 18px rgba(0, 0, 0, .5)); }
.pk-sticker .pk-art svg { height: 70%; }
.pk-tissue-swatch { width: clamp(100px, 13vw, 170px); aspect-ratio: 1; border-radius: 6px; background-size: 80px; transform: rotate(-4deg); box-shadow: 0 18px 24px -12px rgba(0, 0, 0, .5); }
.pk-foot { margin-top: 22px; text-align: center; }
html.rm .pk-scene, html.rm .pk-lid, html.rm .pk-food, html.rm .pk-seal, html.rm .pk-card { transition: none; }

/* ---------- sphynx + game ---------- */
.sphynx-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 90px); align-items: center; margin-bottom: clamp(48px, 7vw, 96px); }
.sphynx-text { display: grid; gap: 20px; justify-items: start; }
.cat-portrait { width: 190px; margin-top: 6px; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink2); cursor: pointer; }
.switch input { appearance: none; width: 40px; height: 22px; border-radius: 99px; background: var(--bg3); border: 1px solid var(--line); position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink2); transition: transform .2s var(--ease), background .2s; }
.switch input:checked { background: var(--blue-deep); }
.switch input:checked::after { transform: translateX(18px); background: #fff; }
.selfie { margin: 0; position: relative; transform: rotate(2.5deg); }
.selfie img { border-radius: 10px; border: 10px solid #f4efe6; border-bottom-width: 54px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.9); }
.selfie figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; }
.selfie .ai-label { background: none; border: 0; color: #4c463d; padding: 0; letter-spacing: .02em; text-transform: none; font-size: 13px; backdrop-filter: none; }

.game { border-radius: 22px; background: var(--bg2); border: 1px solid var(--line2); padding: clamp(18px, 2.5vw, 30px); display: grid; gap: 18px; }
.game-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; flex-wrap: wrap; }
.game-head h3 { font: 400 clamp(38px, 4vw, 54px)/1 var(--f-tag); color: var(--blue); transform: rotate(-2deg); margin-bottom: 8px; }
.game-head p { color: var(--ink2); max-width: 52ch; font-size: 15px; }
.hud { display: flex; gap: 22px; }
.hud span { display: grid; gap: 2px; min-width: 56px; }
.hud small { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); }
.hud b { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.game-stage { position: relative; border-radius: 14px; overflow: hidden; background: #000; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.game-canvas { width: 100%; height: auto; aspect-ratio: 960 / 420; }
.game-overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; background: rgba(8, 8, 10, .72); backdrop-filter: blur(4px); transition: opacity .3s; }
.game-overlay[hidden] { display: grid; opacity: 0; pointer-events: none; }
.go-title { font: 400 clamp(36px, 5vw, 64px)/1 var(--f-tag); color: var(--blue); transform: rotate(-3deg); }
.go-text { max-width: 46ch; color: var(--ink); font-size: 15px; }
.go-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.game-foot { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.game-btns { display: flex; gap: 8px; }
.game-btns .chip[aria-pressed="false"] { opacity: .5; text-decoration: line-through; }

/* ---------- trailer ---------- */
.trailer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 90px); align-items: center; max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto; }
.trailer > * { max-width: none; margin: 0; }
.trailer-form { display: grid; gap: 20px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fields label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); }
.fields .wide { grid-column: 1 / -1; }
.fields input, .fields select {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line2); background: var(--bg2);
  font-size: 16px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink); transition: border-color .2s;
}
.fields input:focus, .fields select:focus { border-color: var(--gold2); outline: none; }
.fields input::placeholder { color: rgba(243, 238, 228, .32); }
.fields input[aria-invalid="true"] { border-color: #e07a6f; }
.fields label[hidden] { display: none; }
.fields .consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.45; }
.fields .consent input { flex: none; width: 20px; min-height: 0; height: 20px; padding: 0; margin: 1px 0 0; accent-color: var(--gold); }
.tr-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.trailer-screen { position: relative; justify-self: center; width: min(100%, 360px); }
.tr-canvas { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 28px; background: #000; box-shadow: 0 0 0 10px #1b1b1f, 0 0 0 11px #2c2c31, 0 50px 90px -40px rgba(0,0,0,.95); cursor: pointer; }

/* ---------- booking ---------- */
.book-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.book-out { display: grid; gap: 14px; padding: 26px; border-radius: var(--radius); background: var(--bg2); border: 1px solid var(--line2); position: sticky; top: 90px; }
.msg { margin: 0; white-space: pre-wrap; font: 500 14px/1.6 var(--f-sans); color: var(--ink); background: var(--bg); border-radius: 10px; padding: 16px; border: 1px solid var(--line2); min-height: 160px; }
.send { display: flex; flex-wrap: wrap; gap: 8px; }
.send a[aria-disabled="true"] { opacity: .45; }
.warn { color: #f0b39b; font-size: 13px; }

/* ---------- footer ---------- */
.foot { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 80px var(--pad) 120px; border-top: 1px solid var(--line2); }
.foot .emblem { width: min(320px, 70vw); opacity: .8; }
.foot-brand { display: grid; }
.foot-brand .wordmark { font-size: 26px; }
.foot-brand .tag { width: 140px; margin: -8px 0 0 auto; transform: rotate(-5deg); }
.foot .fine { max-width: 62ch; }

/* ---------- the cat buddy ---------- */
.buddy { position: fixed; right: max(12px, env(safe-area-inset-right)); bottom: 0; z-index: 45; display: grid; justify-items: end; pointer-events: none; transition: transform .5s var(--ease); }
.buddy.away { transform: translateY(110%); }
.buddy-cat { pointer-events: auto; width: 116px; height: 104px; padding: 0; border: 0; background: none; overflow: hidden; display: block; }
.buddy-cat svg { width: 116px; transform: translateY(8px); transition: transform .35s var(--ease); }
.buddy-cat:hover svg { transform: translateY(0); }
.buddy-say {
  pointer-events: auto; max-width: 240px; margin-bottom: 6px; background: var(--paper); color: var(--paper-ink); border-radius: 16px 16px 4px 16px;
  padding: 12px 14px; font-size: 14px; font-weight: 500; line-height: 1.35; box-shadow: 0 20px 40px -18px rgba(0,0,0,.8);
  animation: pop .35s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }

/* ---------- style switcher (review builds only) ---------- */
.style-switch { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 46; display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 4px; border-radius: 0 14px 14px 0; background: rgba(18, 18, 21, .88); border: 1px solid var(--line); backdrop-filter: blur(10px); font-size: 12px; box-shadow: 0 10px 30px -10px #000; }
.style-switch span { writing-mode: vertical-rl; transform: rotate(180deg); align-self: center; padding: 6px 0; color: var(--ink2); font-weight: 600; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.style-switch button, .style-switch a { border: 0; background: none; color: #ddd; padding: 8px 9px; border-radius: 10px; font-weight: 600; font-size: 11px; text-align: center; text-decoration: none; }
.style-switch a:hover { color: #fff; } /* "Nowy" is a page of its own (nowy.html), not a style of this one */
.style-switch button[aria-pressed="true"] { background: var(--gold-grad); color: #000; }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 520px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 5, 6, .88); backdrop-filter: blur(6px); }
.lb-body img, .lb-body video { max-height: 86vh; width: auto; margin: 0 auto; border-radius: 16px; }
.lb-close { position: absolute; top: -56px; right: 0; color: #fff; }

/* ---------- reveal on scroll ---------- */
.rv { transform: translateY(26px); transition: transform .9s var(--ease); }
.rv.in { transform: none; }
html.rm .rv, html.rm .hero [data-reveal] { opacity: 1; transform: none; transition: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .pass-grid, .chef, .sphynx-intro, .trailer, .book-grid, .pack-grid { grid-template-columns: minmax(0, 1fr); }
  .pk-set { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .pk-stage { --s: min(1, tan(atan2(100cqw, 600px))); }
  .packages { grid-template-columns: minmax(0, 1fr); }
  .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .est-row { grid-template-columns: minmax(0, 1fr); }
  .book-out { position: static; }
  .chef-photo { max-width: 520px; }
  .pass-stage { max-width: 560px; width: 100%; margin-inline: auto; }
  .pass-info { justify-items: center; text-align: center; }
  .ticket { justify-self: center; text-align: left; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top { gap: 10px; padding-inline: 14px; }
  /* phones: languages at the top of the page, a short booking button once you scroll */
  .top:not(.solid) .btn-sm, .top.solid .langs, .cta-long { display: none; }
  .cta-short { display: inline; }
  .brand .wordmark { font-size: 14px; letter-spacing: .24em; }
  .brand .tag { width: 76px; }
  .langs button { padding: 6px 7px; }
  .hero { padding-top: 96px; }
  .hero-shade { background: linear-gradient(0deg, rgba(10,10,11,.96) 8%, rgba(10,10,11,.55) 55%, rgba(10,10,11,.35) 100%); }
  .lockup { margin: 12px 0 18px; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .step-list { grid-template-columns: minmax(0, 1fr); }
  .step-list li, .step-list li + li { padding: 22px 0 0; border-left: 0; }
  .hud { gap: 14px; }
  .hud b { font-size: 18px; }
  .buddy-cat, .buddy-cat svg { width: 86px; }
  .buddy-cat { height: 78px; }
  .style-switch { top: auto; bottom: 10px; left: 10px; transform: none; flex-direction: row; border-radius: 99px; padding: 3px; }
  .style-switch span { display: none; }
  .style-switch button, .style-switch a { padding: 8px 10px; font-size: 11px; border-radius: 99px; }
  .buddy-say { max-width: 200px; font-size: 13px; padding: 9px 11px; }
  .go-text { display: none; }
  .go-title { font-size: 34px; }
  .game-overlay { gap: 10px; padding: 12px; }
  .foot { padding-bottom: 90px; }
  .chef-photo .emblem { right: -4%; }
}

/* game: hold-to-loaf button (touch + mouse) */
.loaf-btn { position: absolute; left: 12px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(242,208,138,.4); background: rgba(10,10,11,.6); font-size: 26px; display: grid; place-items: center; backdrop-filter: blur(6px); touch-action: none; user-select: none; -webkit-user-select: none; }
.loaf-btn:active { transform: scale(.94); background: rgba(217,164,65,.35); }
@media (hover: hover) and (pointer: fine) { .loaf-btn { width: 44px; height: 44px; font-size: 20px; opacity: .8; } }
.game-stage:focus-visible { outline: 1px solid var(--line); outline-offset: 2px; }

.room-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold2); text-decoration: none; font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: border-color .2s; }
.room-link:hover { border-color: var(--gold2); }
.room-ic { color: var(--blue); }
