/* ==========================================================
   PlateDrop — creative prototype
   Direction: "Supper-club zine". Warm paper, ink, tomato.
   Food is sold in limited "drops" like a print run.
   ========================================================== */
:root {
  --paper: #F4EEE3;
  --paper-2: #EBE3D4;
  --card: #FBF8F2;
  --ink: #17140F;
  --ink-2: #4A433A;
  --ink-3: #857B6E;
  --line: rgba(23, 20, 15, .14);
  --tomato: #E2401C;
  --tomato-ink: #B52E10;
  --saffron: #F2B33D;
  --herb: #2F5D3A;
  --blush: #F2C9B8;
  --night: #121110;
  --night-2: #1D1B18;

  --f-display: 'Fraunces', 'Times New Roman', serif;
  --f-ui: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --r-sm: 10px; --r: 18px; --r-lg: 28px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.5 var(--f-ui); -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }
/* paper grain */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.2 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--tomato); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 8px; }
::selection { background: var(--tomato); color: var(--paper); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.display { font-family: var(--f-display); font-weight: 400; letter-spacing: -.035em; line-height: .92; font-variation-settings: 'SOFT' 50, 'opsz' 144; margin: 0; }
.display em { font-style: italic; font-weight: 300; color: var(--tomato); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); display: inline-block; }
.dot--live { background: var(--tomato); box-shadow: 0 0 0 0 rgba(226,64,28,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(226,64,28,0); } 100% { box-shadow: 0 0 0 0 rgba(226,64,28,0); } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 99px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; transition: transform .4s var(--ease-out), background .3s, color .3s; position: relative; overflow: hidden; white-space: nowrap; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--tomato { background: var(--tomato); color: #fff; }
.btn--ghost { box-shadow: inset 0 0 0 1px var(--line); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn:hover { transform: translateY(-2px); }
.btn--ink:hover { background: var(--tomato); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform .4s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.iconbtn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s; }
.iconbtn:hover { background: var(--paper-2); }
.chip { height: 38px; padding: 0 16px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); transition: background .35s, box-shadow .35s, transform .45s var(--ease-out), color .35s; }
.nav.is-solid { background: rgba(244,238,227,.86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-dark:not(.is-solid) { color: var(--paper); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 25px; letter-spacing: -.03em; }
.logo__word em { font-style: italic; color: var(--tomato); font-weight: 400; }
.logo__plate { width: 30px; height: 30px; border-radius: 50%; border: 2px solid currentColor; position: relative; display: grid; place-items: center; }
.logo__plate::after { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .5; }
.logo__drop { position: absolute; top: -8px; left: 50%; width: 10px; height: 10px; margin-left: -5px; background: var(--tomato); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); animation: drip 3.2s var(--ease) infinite; }
@keyframes drip { 0%, 60% { transform: translateY(-4px) rotate(-45deg); opacity: 0; } 70% { opacity: 1; } 85% { transform: translateY(12px) rotate(-45deg) scale(.6); opacity: 1; } 100% { transform: translateY(14px) rotate(-45deg) scale(0); opacity: 0; } }
.nav__links { display: flex; gap: 6px; }
.nav__links a { padding: 10px 16px; border-radius: 99px; font-weight: 500; font-size: 15px; transition: background .25s; }
.nav__links a sup { font-family: var(--f-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; color: var(--tomato); margin-left: 2px; }
.nav__links a:hover, .nav__links a.is-active { background: rgba(23,20,15,.07); }
.nav.is-dark:not(.is-solid) .nav__links a:hover { background: rgba(255,255,255,.12); }
.nav__right { display: flex; gap: 10px; align-items: center; }
.nav__loc { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 99px; box-shadow: inset 0 0 0 1px currentColor; font-size: 14px; font-weight: 500; opacity: .9; }
.nav__bag { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); transition: transform .3s var(--ease-out); }
.nav__bag:hover { transform: scale(1.06); }
.nav__bagcount { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--tomato); color: #fff; font: 600 11px/20px var(--f-mono); text-align: center; transform: scale(0); transition: transform .4s var(--ease-out); }
.nav__bagcount.has { transform: scale(1); }
.nav__bag.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.22) rotate(-8deg); } }

/* ---------- Tab bar (mobile) ---------- */
.tabbar { display: none; }

/* ---------- Curtain transition ---------- */
.curtain { position: fixed; inset: 0; z-index: 300; background: var(--tomato); transform: translateY(100%); pointer-events: none; display: grid; place-items: center; }
.curtain__mark { font-family: var(--f-display); font-style: italic; color: var(--paper); font-size: clamp(48px, 10vw, 140px); letter-spacing: -.04em; opacity: 0; }
.curtain.in { transition: transform .5s var(--ease); transform: translateY(0); }
.curtain.in .curtain__mark { opacity: 1; transition: opacity .3s .15s; }
.curtain.out { transition: transform .6s var(--ease); transform: translateY(-100%); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 400; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink); pointer-events: none; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .3s, opacity .3s; display: grid; place-items: center; opacity: 0; mix-blend-mode: normal; }
.cursor.on { opacity: 1; }
.cursor.big { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--tomato); }
.cursor__label { font: 600 12px var(--f-ui); color: #fff; opacity: 0; transition: opacity .2s; text-align: center; letter-spacing: -.01em; }
.cursor.big .cursor__label { opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.is-ready .split-line > span { transform: none; }

/* ---------- Image ---------- */
.ph { position: relative; overflow: hidden; background: var(--paper-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity .6s; opacity: 0; }
.ph img.loaded { opacity: 1; }
.ph.err::after { content: attr(data-alt); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-style: italic; color: var(--ink-3); padding: 16px; text-align: center; }

/* =====================================================
   HOME
   ===================================================== */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 4vh) var(--gutter) 40px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 2vw; align-items: center; max-width: var(--max); margin: 0 auto; }
.hero__title { font-size: clamp(56px, 9.2vw, 168px); }
.hero__title .ln2 { padding-left: .9em; }
.hero__sub { max-width: 440px; font-size: 18px; color: var(--ink-2); margin: 28px 0 32px; }
.hero__search { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 99px; padding: 6px 6px 6px 22px; max-width: 520px; box-shadow: 0 1px 0 var(--line), 0 18px 50px -20px rgba(60,30,10,.25); }
.hero__search input { flex: 1; border: 0; background: none; font: 500 16px var(--f-ui); color: var(--ink); min-width: 0; height: 48px; }
.hero__search input:focus { outline: none; }
.hero__search input::placeholder { color: var(--ink-3); }
.hero__ticker { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.hero__ticker div { display: flex; flex-direction: column; }
.hero__ticker b { font-family: var(--f-display); font-weight: 400; font-size: 34px; letter-spacing: -.03em; line-height: 1; }
.hero__ticker span { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-top: 6px; }

.plate { position: relative; aspect-ratio: 1; width: min(100%, 620px); justify-self: center; }
.plate__ring { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.plate__ring text { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .28em; fill: var(--ink); text-transform: uppercase; }
.plate__dish { position: absolute; inset: 10%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 14px var(--card), 0 0 0 15px var(--line), 0 50px 90px -30px rgba(60,25,5,.55); }
.plate__dish .ph { width: 100%; height: 100%; }
.plate__dish img { animation: spin 90s linear infinite reverse; transform-origin: center; }
.plate__swap { position: absolute; inset: 10%; border-radius: 50%; overflow: hidden; clip-path: circle(0% at 50% 0%); transition: clip-path 1.1s var(--ease); }
.plate__swap.on { clip-path: circle(75% at 50% 50%); }
.plate__tag { position: absolute; background: var(--card); border-radius: 16px; padding: 12px 16px; box-shadow: 0 20px 40px -20px rgba(40,20,5,.4); display: flex; gap: 12px; align-items: center; font-size: 14px; animation: float 6s ease-in-out infinite; transition: opacity .4s; }
.plate__tag b { display: block; font-weight: 600; }
.plate__tag small { color: var(--ink-3); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.plate__tag--a { left: -4%; bottom: 14%; }
.plate__tag--b { right: -2%; top: 12%; animation-delay: -3s; }
.plate__tag .count { font-family: var(--f-display); font-size: 30px; color: var(--tomato); line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-12px); } }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-style: italic; color: #fff; font-size: 17px; flex: none; }

.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; white-space: nowrap; user-select: none; }
.marquee__track { display: inline-flex; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee a { font-family: var(--f-display); font-size: clamp(36px, 5vw, 72px); letter-spacing: -.03em; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; transition: color .3s; }
.marquee a:nth-child(odd) { font-style: italic; font-weight: 300; }
.marquee a::after { content: '✺'; font-size: .4em; color: var(--tomato); font-style: normal; }
.marquee a:hover { color: var(--tomato); }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section__title { font-size: clamp(44px, 6.4vw, 104px); margin-top: 18px; }

/* Drop rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 360px); gap: 22px; overflow-x: auto; padding: 8px var(--gutter) 30px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging * { pointer-events: none; }
.rail > * { scroll-snap-align: start; }
.rail__ctrl { display: flex; gap: 8px; }

/* Ticket card */
.ticket { background: var(--card); border-radius: var(--r-lg); padding: 10px; display: flex; flex-direction: column; position: relative; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); box-shadow: 0 1px 0 var(--line); }
.ticket:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 30px 60px -30px rgba(60,30,10,.35); }
.ticket__img { border-radius: calc(var(--r-lg) - 8px); aspect-ratio: 4/4.4; }
.ticket:hover .ticket__img img { transform: scale(1.06); }
.ticket__badges { position: absolute; top: 22px; left: 22px; right: 22px; display: flex; justify-content: space-between; gap: 8px; z-index: 2; pointer-events: none; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 99px; background: rgba(251,248,242,.94); backdrop-filter: blur(8px); font: 600 11px var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.badge--hot { background: var(--tomato); color: #fff; }
.badge--dark { background: rgba(23,20,15,.78); color: #fff; }
.ticket__perf { height: 20px; position: relative; margin: 6px -10px 0; }
.ticket__perf::before { content: ''; position: absolute; left: 18px; right: 18px; top: 50%; border-top: 1.5px dashed var(--line); }
.ticket__perf::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 0 50%, var(--paper) 9px, transparent 10px), radial-gradient(circle at 100% 50%, var(--paper) 9px, transparent 10px); }
.ticket__body { padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.ticket__name { font-family: var(--f-display); font-size: 26px; line-height: 1.02; letter-spacing: -.025em; margin: 0; }
.ticket__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ticket__cook { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); min-width: 0; }
.ticket__cook .avatar { width: 26px; height: 26px; font-size: 12px; }
.ticket__cook span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price { font: 600 15px var(--f-mono); }
.meter { height: 4px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--tomato); border-radius: 4px; transform-origin: left; transition: width 1.4s var(--ease-out); }
.ticket__meta { display: flex; justify-content: space-between; font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.ticket__add { position: absolute; right: 22px; top: calc(22px + 0px); }
.addfab { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 22px; line-height: 1; transition: transform .4s var(--ease-out), background .25s; pointer-events: auto; }
.addfab:hover { background: var(--tomato); transform: rotate(90deg); }
.ticket__img-wrap { position: relative; }
.ticket__img-wrap .addfab { position: absolute; right: 12px; bottom: 12px; z-index: 2; }

/* Cooks editorial */
.people { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.person { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; display: block; isolation: isolate; }
.person .ph { position: absolute; inset: 0; z-index: -1; }
.person .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(10,6,2,.82)); }
.person:hover .ph img { transform: scale(1.05); }
.person__in { position: absolute; inset: auto 0 0 0; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.person__name { font-family: var(--f-display); font-size: clamp(34px, 3.6vw, 56px); line-height: .95; letter-spacing: -.03em; margin: 0; }
.person__quote { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 19px; line-height: 1.25; max-width: 34ch; opacity: .92; }
.person__meta { display: flex; gap: 14px; font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; opacity: .85; flex-wrap: wrap; }
.person--1 { grid-column: span 7; aspect-ratio: 7/6; }
.person--2 { grid-column: span 5; aspect-ratio: 5/6; margin-top: 100px; }
.person--3 { grid-column: 3 / span 6; aspect-ratio: 6/4.2; }
.people__note { grid-column: 9 / span 4; align-self: center; font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); line-height: 1.2; letter-spacing: -.01em; }
.people__note p { margin: 0 0 24px; }

/* Moods */
.moods { border-top: 1px solid var(--line); position: relative; }
.mood { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .5s var(--ease-out), color .3s; }
.mood__n { font: 500 13px var(--f-mono); color: var(--ink-3); }
.mood__name { font-family: var(--f-display); font-size: clamp(44px, 7vw, 116px); letter-spacing: -.04em; line-height: .9; transition: transform .6s var(--ease-out), font-style .3s; }
.mood__blurb { font-size: 15px; color: var(--ink-2); text-align: right; display: flex; align-items: center; gap: 18px; }
.mood__blurb .arrow { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; transition: background .3s, color .3s, transform .5s var(--ease-out); }
.mood:hover { color: var(--tomato); }
.mood:hover .mood__name { transform: translateX(24px); font-style: italic; }
.mood:hover .arrow { background: var(--tomato); color: #fff; transform: rotate(-45deg); box-shadow: none; }
.mood-float { position: fixed; top: 0; left: 0; width: 280px; aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; pointer-events: none; z-index: 50; opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg); transition: opacity .35s, transform .5s var(--ease-out); }
.mood-float.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.mood-float img { width: 100%; height: 100%; object-fit: cover; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--card); border-radius: var(--r-lg); padding: 30px; min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.step__n { font-family: var(--f-display); font-size: 140px; line-height: .8; letter-spacing: -.06em; color: var(--tomato); font-style: italic; font-weight: 300; }
.step h3 { font-family: var(--f-display); font-size: 34px; letter-spacing: -.025em; font-weight: 400; margin: 0 0 10px; line-height: 1; }
.step p { margin: 0; color: var(--ink-2); max-width: 32ch; }
.step__art { position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; overflow: hidden; opacity: .95; }

/* Kitchen HQ — dark */
.hq { background: var(--night); color: var(--paper); border-radius: clamp(28px, 4vw, 56px); margin: 0 clamp(8px, 1.4vw, 20px); overflow: hidden; position: relative; }
.hq .eyebrow { color: rgba(244,238,227,.55); }
.hq .display em { color: var(--saffron); }
.hq__top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.hq__lede { font-size: 19px; color: rgba(244,238,227,.75); max-width: 46ch; }
.hq__promise { display: inline-flex; gap: 14px; align-items: center; background: var(--saffron); color: var(--ink); border-radius: 99px; padding: 10px 20px 10px 10px; font-weight: 600; margin-top: 24px; }
.hq__promise span { background: var(--ink); color: var(--saffron); border-radius: 99px; padding: 6px 12px; font: 600 12px var(--f-mono); letter-spacing: .04em; }
.dash { margin-top: 64px; background: var(--night-2); border-radius: 26px; border: 1px solid rgba(255,255,255,.08); display: grid; grid-template-columns: 220px 1fr 340px; min-height: 540px; overflow: hidden; box-shadow: 0 60px 120px -40px rgba(0,0,0,.8); }
.dash__side { border-right: 1px solid rgba(255,255,255,.07); padding: 22px 16px; display: flex; flex-direction: column; gap: 4px; }
.dash__brand { font-family: var(--f-display); font-size: 20px; padding: 0 10px 18px; }
.dash__brand em { color: var(--saffron); }
.dash__nav { padding: 10px 12px; border-radius: 10px; font-size: 14px; color: rgba(244,238,227,.6); display: flex; justify-content: space-between; text-align: left; transition: background .2s, color .2s; }
.dash__nav:hover { color: var(--paper); background: rgba(255,255,255,.04); }
.dash__nav.on { background: rgba(255,255,255,.07); color: var(--paper); }
.dash__nav i { font-style: normal; font: 600 11px var(--f-mono); background: var(--tomato); color: #fff; border-radius: 99px; padding: 1px 7px; }
.dash__status { margin-top: auto; padding: 14px; border-radius: 14px; background: rgba(242,179,61,.1); font-size: 13px; }
.dash__status b { display: flex; align-items: center; gap: 8px; color: var(--saffron); }
.toggle { width: 42px; height: 24px; border-radius: 99px; background: rgba(255,255,255,.15); position: relative; transition: background .25s; flex: none; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease-out); }
.toggle[aria-pressed="true"] { background: var(--herb); }
.toggle[aria-pressed="true"]::after { transform: translateX(18px); }
.dash__main { padding: 24px 26px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.dash__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dash__h { font-family: var(--f-display); font-size: 28px; letter-spacing: -.02em; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { background: rgba(255,255,255,.04); border-radius: 14px; padding: 16px; }
.kpi small { font: 500 10.5px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: rgba(244,238,227,.5); }
.kpi b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 34px; letter-spacing: -.03em; margin-top: 6px; line-height: 1; }
.kpi em { font-style: normal; font: 600 11px var(--f-mono); color: #8FD19E; }
.chart { height: 150px; display: flex; align-items: end; gap: 8px; padding-top: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.chart div { flex: 1; background: rgba(255,255,255,.1); border-radius: 6px 6px 2px 2px; position: relative; transform-origin: bottom; transform: scaleY(0); transition: transform 1.2s var(--ease-out), background .2s; transition-delay: var(--d); }
.chart div.today { background: var(--saffron); }
.chart div:hover { background: var(--tomato); }
.in .chart div, .chart.in div { transform: scaleY(1); }
.chart-x { display: flex; gap: 8px; font: 500 10px var(--f-mono); color: rgba(244,238,227,.4); }
.chart-x span { flex: 1; text-align: center; }
.inv { display: flex; flex-direction: column; gap: 8px; }
.inv__item { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.03); font-size: 14px; }
.inv__item .ph { width: 44px; height: 44px; border-radius: 10px; }
.inv__item small { display: block; color: rgba(244,238,227,.5); font: 500 11px var(--f-mono); }
.stepper { display: inline-flex; align-items: center; gap: 2px; background: rgba(255,255,255,.06); border-radius: 99px; padding: 3px; }
.stepper button { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; }
.stepper button:hover { background: rgba(255,255,255,.1); }
.stepper output { min-width: 26px; text-align: center; font: 600 13px var(--f-mono); }
.dash__orders { border-left: 1px solid rgba(255,255,255,.07); padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.order { background: var(--paper); color: var(--ink); border-radius: 14px; padding: 14px; font-size: 13px; animation: orderIn .7s var(--ease-out) both; position: relative; }
.order::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 6px; background: radial-gradient(circle at 6px 0, var(--night-2) 4px, transparent 5px) 0 0/12px 6px repeat-x; }
.order__top { display: flex; justify-content: space-between; font: 600 11px var(--f-mono); text-transform: uppercase; letter-spacing: .05em; }
.order__top span:last-child { color: var(--tomato); }
.order__items { font-family: var(--f-display); font-size: 17px; margin: 8px 0 10px; line-height: 1.15; }
.order__acts { display: flex; gap: 6px; }
.order__acts button { flex: 1; height: 32px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--ink); color: var(--paper); }
.order__acts button + button { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.order.accepted { background: #DDEBD9; }
.order.accepted .order__acts { display: none; }
@keyframes orderIn { from { opacity: 0; transform: translateY(-20px) scale(.96); } }

.calc { margin-top: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-bottom: 20px; }
.calc__box { background: var(--night-2); border-radius: 26px; padding: 34px; border: 1px solid rgba(255,255,255,.08); }
.calc label { display: flex; justify-content: space-between; font-size: 14px; color: rgba(244,238,227,.7); margin-bottom: 10px; }
.calc label b { font: 600 14px var(--f-mono); color: var(--paper); }
.calc input[type=range] { width: 100%; appearance: none; -webkit-appearance: none; background: transparent; height: 28px; margin-bottom: 22px; }
.calc input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--saffron) var(--p, 50%), rgba(255,255,255,.14) var(--p, 50%)); }
.calc input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); }
.calc input[type=range]::-moz-range-progress { height: 4px; background: var(--saffron); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); margin-top: -10px; box-shadow: 0 0 0 6px rgba(242,179,61,.25); }
.calc input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 0; }
.calc__out { font-family: var(--f-display); font-size: clamp(64px, 9vw, 140px); letter-spacing: -.05em; line-height: .85; color: var(--saffron); }
.calc__fine { font: 500 11px var(--f-mono); color: rgba(244,238,227,.45); text-transform: uppercase; letter-spacing: .06em; margin-top: 18px; line-height: 1.7; }
.calc__compare { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.calc__bar { display: grid; grid-template-columns: 140px 1fr 90px; gap: 14px; align-items: center; font-size: 13px; color: rgba(244,238,227,.7); }
.calc__bar div { height: 10px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.calc__bar i { display: block; height: 100%; background: var(--saffron); border-radius: 6px; transition: width .6s var(--ease-out); }
.calc__bar.them i { background: rgba(255,255,255,.3); }
.calc__bar b { font: 600 13px var(--f-mono); text-align: right; color: var(--paper); }

/* Quotes */
.quotes { columns: 3 320px; column-gap: 22px; }
.quote { break-inside: avoid; background: var(--card); border-radius: var(--r-lg); padding: 28px; margin-bottom: 22px; display: block; transition: transform .5s var(--ease-out); }
.quote:hover { transform: rotate(-1deg) scale(1.01); }
.quote p { font-family: var(--f-display); font-size: 24px; line-height: 1.18; letter-spacing: -.015em; margin: 14px 0 22px; }
.quote:nth-child(3n+2) { background: var(--tomato); color: #fff; }
.quote:nth-child(3n+2) .stars { color: var(--saffron); }
.quote:nth-child(5) { background: var(--saffron); }
.quote footer { display: flex; justify-content: space-between; font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.stars { color: var(--tomato); letter-spacing: 2px; }

/* CTA + Footer */
.cta { text-align: center; padding: clamp(100px, 14vw, 200px) var(--gutter); position: relative; overflow: hidden; }
.cta .display { font-size: clamp(56px, 11vw, 200px); }
.cta__plates { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.cta__plates .ph { position: absolute; border-radius: 50%; width: clamp(90px, 12vw, 180px); aspect-ratio: 1; box-shadow: 0 0 0 8px var(--card), 0 30px 50px -20px rgba(40,20,5,.4); }
.cta__btns { display: flex; gap: 12px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.footer { background: var(--ink); color: var(--paper); padding: 80px var(--gutter) 40px; border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; max-width: var(--max); margin: 0 auto; }
.footer h4 { font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: rgba(244,238,227,.5); margin: 0 0 16px; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a:hover { color: var(--saffron); }
.footer__word { font-family: var(--f-display); font-size: clamp(80px, 21vw, 360px); letter-spacing: -.06em; line-height: .78; margin-top: 80px; white-space: nowrap; text-align: center; }
.footer__word em { color: var(--tomato); font-weight: 300; }
.footer__fine { display: flex; justify-content: space-between; font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: rgba(244,238,227,.45); margin-top: 30px; max-width: var(--max); margin-inline: auto; flex-wrap: wrap; gap: 10px; }

/* =====================================================
   DISCOVER
   ===================================================== */
.page-head { padding-top: calc(var(--nav-h) + 50px); padding-bottom: 24px; }
.page-head__row { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.page-head .display { font-size: clamp(64px, 11vw, 190px); }
.filters { position: sticky; top: 0; z-index: 40; background: rgba(244,238,227,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 14px 0; border-bottom: 1px solid var(--line); transition: top .45s var(--ease-out); }
.nav:not(.is-hidden) ~ main .filters { top: var(--nav-h); }
.filters__row { display: flex; gap: 10px; align-items: center; }
.filters__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 2px; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.filters__chips::-webkit-scrollbar { display: none; }
.search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; background: var(--card); border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); min-width: 260px; }
.search input { border: 0; background: none; font: 500 15px var(--f-ui); flex: 1; min-width: 0; color: var(--ink); }
.search input:focus { outline: none; }
.seg { display: inline-flex; background: var(--paper-2); border-radius: 99px; padding: 4px; position: relative; }
.seg button { height: 36px; padding: 0 16px; border-radius: 99px; font-size: 14px; font-weight: 600; position: relative; z-index: 1; transition: color .3s; }
.seg button[aria-pressed="true"] { color: var(--paper); }
.seg__pill { position: absolute; top: 4px; bottom: 4px; border-radius: 99px; background: var(--ink); transition: left .45s var(--ease-out), width .45s var(--ease-out); }
.filters__sub { display: flex; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.filters__count { margin-left: auto; font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
select.chip { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2317140F' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 34px; border: 0; font: 500 14px var(--f-ui); color: var(--ink); cursor: pointer; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; padding: 34px 0 100px; }
.grid .ticket { animation: cardIn .7s var(--ease-out) both; animation-delay: var(--d, 0s); }
.grid .ticket--feature { grid-column: span 2; grid-row: span 1; }
.grid .ticket--feature .ticket__img { aspect-ratio: 16/10.5; }
.grid .ticket--feature .ticket__name { font-size: 38px; }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px); } }
.empty { grid-column: 1 / -1; text-align: center; padding: 80px 20px; }
.empty .display { font-size: 64px; }

.reels-cta { display: flex; align-items: center; gap: 14px; background: var(--ink); color: var(--paper); border-radius: 99px; padding: 8px 22px 8px 8px; font-weight: 600; transition: transform .4s var(--ease-out); }
.reels-cta:hover { transform: scale(1.03); }
.reels-cta__stack { display: flex; }
.reels-cta__stack .ph { width: 40px; height: 52px; border-radius: 10px; box-shadow: 0 0 0 2px var(--ink); }
.reels-cta__stack .ph + .ph { margin-left: -16px; }
.reels-cta__stack .ph:nth-child(1) { transform: rotate(-8deg); }
.reels-cta__stack .ph:nth-child(3) { transform: rotate(8deg); }

/* Kitchen cards */
.kgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; padding: 34px 0 100px; }
.kcard { background: var(--card); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease-out), box-shadow .5s; animation: cardIn .7s var(--ease-out) both; animation-delay: var(--d, 0s); }
.kcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(60,30,10,.35); }
.kcard__cover { aspect-ratio: 16/9; position: relative; }
.kcard:hover .kcard__cover img { transform: scale(1.05); }
.kcard__body { padding: 0 22px 22px; position: relative; }
.kcard .avatar { width: 64px; height: 64px; font-size: 28px; margin-top: -32px; box-shadow: 0 0 0 5px var(--card); position: relative; }
.kcard h3 { font-family: var(--f-display); font-weight: 400; font-size: 32px; letter-spacing: -.025em; margin: 12px 0 2px; line-height: 1; }
.kcard p { color: var(--ink-2); margin: 8px 0 16px; font-size: 15px; }
.kcard__stats { display: flex; gap: 16px; font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); flex-wrap: wrap; }
.kcard__strip { display: flex; gap: 6px; margin-top: 16px; }
.kcard__strip .ph { flex: 1; aspect-ratio: 1; border-radius: 12px; }

/* =====================================================
   STOREFRONT
   ===================================================== */
.store-hero { position: relative; height: 88svh; min-height: 560px; color: #fff; overflow: hidden; }
.store-hero > .ph { position: absolute; inset: -8% 0 0; height: 116%; }
.store-hero > .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 30%, rgba(10,6,2,.85) 100%); }
.store-hero__in { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 48px; }
.store-hero__grid { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.store-hero .display { font-size: clamp(64px, 11vw, 190px); }
.store-hero .display em { color: var(--saffron); }
.store-hero__by { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 16px; }
.store-hero__by .avatar { width: 52px; height: 52px; font-size: 22px; box-shadow: 0 0 0 3px rgba(255,255,255,.9); }
.store-hero__by small { display: block; font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.store-hero__acts { display: flex; gap: 10px; flex-wrap: wrap; }
.store-hero .btn--ghost { box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); color: #fff; }
.store-hero .btn--ghost:hover { background: #fff; color: var(--ink); }
.store-bar { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.store-bar > div { padding: 24px var(--gutter) 24px 0; border-right: 1px solid var(--line); padding-left: 24px; }
.store-bar > div:first-child { padding-left: 0; }
.store-bar > div:last-child { border-right: 0; }
.store-bar small { display: block; font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 6px; }
.store-bar b { font-family: var(--f-display); font-weight: 400; font-size: 28px; letter-spacing: -.02em; line-height: 1.05; }
.store-bar .open { color: var(--herb); display: flex; align-items: center; gap: 8px; }
.store-bar .open .dot { background: var(--herb); }

.store-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 60px; padding: 60px 0 120px; align-items: start; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 30px; position: relative; overflow-x: auto; scrollbar-width: none; }
.tabs button { padding: 14px 18px; font-weight: 600; font-size: 15px; color: var(--ink-3); transition: color .2s; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs__ink { position: absolute; bottom: -1px; height: 2px; background: var(--tomato); transition: left .4s var(--ease-out), width .4s var(--ease-out); }
.menu-group h3 { font-family: var(--f-display); font-weight: 400; font-size: 34px; letter-spacing: -.02em; margin: 0 0 6px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.menu-group h3 .mono { color: var(--tomato); }
.menu-group > p { color: var(--ink-3); margin: 0 0 22px; font-size: 14px; }
.menu-group + .menu-group { margin-top: 56px; }
.mrow { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 22px; padding: 20px 0; border-top: 1px solid var(--line); align-items: center; transition: background .3s; position: relative; }
.mrow:hover .mrow__name { color: var(--tomato); }
.mrow__name { font-family: var(--f-display); font-size: 28px; letter-spacing: -.02em; line-height: 1.05; transition: color .25s; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.mrow__desc { color: var(--ink-2); font-size: 15px; margin: 6px 0 12px; max-width: 54ch; }
.mrow__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mrow__meta .mono { color: var(--ink-3); }
.mrow__img { position: relative; }
.mrow__img .ph { aspect-ratio: 1; border-radius: 16px; }
.mrow__img .addfab { position: absolute; right: -8px; bottom: -8px; box-shadow: 0 0 0 4px var(--paper); }
.mrow:hover .mrow__img img { transform: scale(1.08); }
.soldout { opacity: .45; }
.tag { font: 600 10.5px var(--f-mono); text-transform: uppercase; letter-spacing: .05em; padding: 4px 8px; border-radius: 6px; background: var(--paper-2); color: var(--ink-2); }
.tag--tomato { background: rgba(226,64,28,.12); color: var(--tomato-ink); }
.tag--herb { background: rgba(47,93,58,.12); color: var(--herb); }
.chili { color: var(--tomato); letter-spacing: -2px; font-size: 13px; }

.aside-card { background: var(--card); border-radius: var(--r-lg); padding: 26px; position: sticky; top: calc(var(--nav-h) + 20px); }
.aside-card h4 { font-family: var(--f-display); font-weight: 400; font-size: 26px; margin: 0 0 4px; letter-spacing: -.02em; }
.aside-card p { color: var(--ink-2); font-size: 15px; }
.aside-card .ph { border-radius: 16px; aspect-ratio: 4/3; margin: 16px 0; }
.aside-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; }
.aside-list li { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; gap: 12px; }
.aside-list li span:first-child { color: var(--ink-3); }
.aside-list li span:last-child { text-align: right; font-weight: 500; }
.badge-cert { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding: 14px; border-radius: 14px; background: rgba(47,93,58,.08); color: var(--herb); font-size: 13px; }
.badge-cert svg { flex: none; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.story blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.18; letter-spacing: -.02em; }
.story blockquote::first-letter { font-size: 3em; float: left; line-height: .8; padding: 6px 10px 0 0; color: var(--tomato); font-style: italic; }
.story .ph { border-radius: var(--r-lg); aspect-ratio: 4/5; }
.rv { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 52px 1fr; gap: 16px; }
.rv p { margin: 6px 0 0; font-family: var(--f-display); font-size: 21px; line-height: 1.25; letter-spacing: -.01em; }
.rv small { font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.rv__sum { display: flex; gap: 30px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.rv__big { font-family: var(--f-display); font-size: 100px; line-height: .8; letter-spacing: -.05em; }
.rv__bars { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 6px; }
.rv__bars div { display: grid; grid-template-columns: 16px 1fr 40px; gap: 10px; align-items: center; font: 500 12px var(--f-mono); color: var(--ink-3); }
.rv__bars i { height: 6px; background: var(--paper-2); border-radius: 4px; overflow: hidden; display: block; }
.rv__bars i b { display: block; height: 100%; background: var(--ink); }

/* =====================================================
   DISH
   ===================================================== */
.dish { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 100svh; }
.dish__media { position: sticky; top: 0; height: 100svh; padding: calc(var(--nav-h) + 8px) 0 16px 16px; display: flex; gap: 12px; }
.dish__thumbs { display: flex; flex-direction: column; gap: 10px; width: 68px; flex: none; }
.dish__thumbs button { aspect-ratio: 1; border-radius: 14px; overflow: hidden; opacity: .55; transition: opacity .25s, box-shadow .25s; }
.dish__thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
.dish__thumbs .ph { width: 100%; height: 100%; }
.dish__stage { flex: 1; position: relative; border-radius: var(--r-lg); overflow: hidden; }
.dish__stage .ph { position: absolute; inset: 0; transition: clip-path 1s var(--ease), opacity .4s; }
.dish__stage .ph.leaving { z-index: 0; }
.dish__stage .ph.entering { z-index: 1; clip-path: inset(100% 0 0 0); }
.dish__stage .ph.entering.go { clip-path: inset(0 0 0 0); }
.dish__stage .ph img { animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -2%); } }
.dish__stage-badges { position: absolute; left: 18px; bottom: 18px; right: 18px; z-index: 3; display: flex; justify-content: space-between; align-items: end; gap: 10px; flex-wrap: wrap; }
.play-reel { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 8px; border-radius: 99px; background: rgba(23,20,15,.7); backdrop-filter: blur(10px); color: #fff; font-weight: 600; font-size: 14px; }
.play-reel span { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 11px; }

.dish__info { padding: calc(var(--nav-h) + 40px) var(--gutter) 80px; display: flex; flex-direction: column; gap: 26px; }
.crumbs { font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--tomato); }
.dish__title { font-size: clamp(52px, 6.2vw, 108px); }
.dish__cook { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 99px; background: var(--card); align-self: flex-start; transition: transform .3s var(--ease-out); }
.dish__cook:hover { transform: translateX(4px); }
.dish__cook small { display: block; font: 500 11px var(--f-mono); text-transform: uppercase; color: var(--ink-3); letter-spacing: .05em; }
.dish__desc { font-size: 19px; line-height: 1.55; color: var(--ink-2); margin: 0; max-width: 52ch; }
.drop-box { background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: 24px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; position: relative; overflow: hidden; }
.drop-box small { font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: rgba(244,238,227,.55); display: block; }
.drop-box .big { font-family: var(--f-display); font-size: 54px; line-height: .95; letter-spacing: -.03em; }
.drop-box .big em { color: var(--saffron); font-style: italic; font-weight: 300; }
.drop-box .clock { font: 600 30px var(--f-mono); letter-spacing: -.02em; text-align: right; }
.drop-box .meter { grid-column: 1/-1; background: rgba(255,255,255,.12); height: 6px; }
.drop-box .meter i { background: var(--saffron); }
.plates-viz { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 5px; }
.plates-viz i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(244,238,227,.3); }
.plates-viz i.left { background: var(--saffron); border-color: var(--saffron); }

.opt-label { font: 600 11px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 10px; display: block; }
.fulfil { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fulfil button { text-align: left; padding: 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, background .25s; }
.fulfil button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); background: var(--card); }
.fulfil button:disabled { opacity: .4; cursor: not-allowed; }
.fulfil b { display: block; font-size: 16px; }
.fulfil span { font-size: 13px; color: var(--ink-3); }
.addons { display: flex; flex-direction: column; gap: 8px; }
.addon { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background .2s, box-shadow .2s; }
.addon:has(input:checked) { background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); }
.addon input { accent-color: var(--tomato); width: 18px; height: 18px; margin-right: 12px; }
.addon label { display: flex; align-items: center; flex: 1; cursor: pointer; }
.buy { display: flex; gap: 12px; align-items: center; position: sticky; bottom: 16px; z-index: 5; background: var(--paper); padding: 10px; margin: 0 -10px; border-radius: 99px; box-shadow: 0 20px 40px -20px rgba(40,20,5,.3); }
.qty { display: inline-flex; align-items: center; height: 56px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); padding: 4px; }
.qty button { width: 46px; height: 46px; border-radius: 50%; font-size: 20px; transition: background .2s; }
.qty button:hover { background: var(--paper-2); }
.qty output { width: 32px; text-align: center; font: 600 17px var(--f-mono); }
.buy .btn { flex: 1; height: 56px; font-size: 16px; justify-content: space-between; padding: 0 26px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 18px; overflow: hidden; }
.facts > div { background: var(--paper); padding: 18px; }
.facts small { display: block; font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 4px; }
.facts b { font-weight: 500; }
.ingredients { display: flex; flex-wrap: wrap; gap: 8px; }
.ingredients span { padding: 8px 14px; border-radius: 99px; background: var(--card); font-size: 14px; }
.note { background: var(--blush); border-radius: var(--r-lg); padding: 26px; position: relative; transform: rotate(-.6deg); }
.note p { font-family: var(--f-display); font-style: italic; font-size: 24px; line-height: 1.25; margin: 10px 0 14px; letter-spacing: -.01em; }
.note::before { content: ''; position: absolute; top: -10px; left: 50%; width: 90px; height: 22px; margin-left: -45px; background: rgba(242,179,61,.6); transform: rotate(2deg); }
.more { padding: 40px 0 120px; }

/* =====================================================
   Drawer / modal / reels / toast
   ===================================================== */
.scrim { position: fixed; inset: 0; background: rgba(23,20,15,.4); z-index: 150; opacity: 0; pointer-events: none; transition: opacity .4s; backdrop-filter: blur(2px); }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 10px; right: 10px; bottom: 10px; width: min(460px, calc(100vw - 20px)); background: var(--paper); z-index: 160; border-radius: 26px; transform: translateX(110%); transition: transform .6s var(--ease-out); display: flex; flex-direction: column; overflow: hidden; box-shadow: -30px 0 80px -30px rgba(0,0,0,.4); }
.drawer.on { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--f-display); font-weight: 400; font-size: 32px; letter-spacing: -.02em; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--card); }
.bag-group { padding: 16px 0; }
.bag-group + .bag-group { border-top: 1px dashed var(--line); }
.bag-group__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 600; }
.bag-group__head .avatar { width: 28px; height: 28px; font-size: 13px; }
.bag-group__head small { margin-left: auto; font: 500 11px var(--f-mono); color: var(--ink-3); text-transform: uppercase; }
.bag-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 8px 0; }
.bag-item .ph { width: 64px; height: 64px; border-radius: 14px; }
.bag-item b { font-family: var(--f-display); font-weight: 400; font-size: 19px; display: block; line-height: 1.1; }
.bag-item small { color: var(--ink-3); font-size: 13px; }
.bag-item .stepper { background: var(--paper-2); }
.bag-empty { text-align: center; padding: 60px 10px; }
.bag-empty .plate-empty { width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 24px; box-shadow: inset 0 0 0 2px var(--line), inset 0 0 0 26px var(--card), inset 0 0 0 27px var(--line); }
.bag-empty h3 { font-family: var(--f-display); font-weight: 400; font-size: 30px; margin: 0 0 8px; }
.totals { display: flex; flex-direction: column; gap: 6px; font-size: 14px; margin-bottom: 16px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-family: var(--f-display); font-size: 26px; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 6px; }
.totals .cookcut { color: var(--herb); font-size: 13px; }

.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 16px; pointer-events: none; }
.modal.on { pointer-events: auto; }
.modal::before { content: ''; position: absolute; inset: 0; background: rgba(23,20,15,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.modal.on::before { opacity: 1; }
.receipt { position: relative; width: min(420px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: #FFFDF8; padding: 34px 30px; font-family: var(--f-mono); font-size: 13px; transform: translateY(40px) rotate(2deg); opacity: 0; transition: transform .7s var(--ease-out), opacity .4s; --mask: radial-gradient(circle at 8px 0, transparent 7px, #000 7.5px) 0 0/16px 51% repeat-x, radial-gradient(circle at 8px 100%, transparent 7px, #000 7.5px) 0 100%/16px 51% repeat-x; -webkit-mask: var(--mask); mask: var(--mask); }
.modal.on .receipt { transform: none; opacity: 1; }
.receipt h3 { font-family: var(--f-display); font-size: 40px; font-weight: 400; letter-spacing: -.03em; margin: 8px 0; text-align: center; }
.receipt .c { text-align: center; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.receipt hr { border: 0; border-top: 1.5px dashed var(--line); margin: 18px 0; }
.receipt .ln { display: flex; justify-content: space-between; gap: 10px; margin: 6px 0; }
.receipt .stamp { margin: 22px auto 6px; width: 150px; height: 150px; border-radius: 50%; border: 3px solid var(--tomato); color: var(--tomato); display: grid; place-items: center; text-align: center; font: 700 13px var(--f-mono); letter-spacing: .1em; transform: rotate(-12deg); text-transform: uppercase; animation: stamp .6s .4s var(--ease-out) both; }
@keyframes stamp { from { transform: rotate(-12deg) scale(2.2); opacity: 0; } }
.receipt .proto { background: var(--paper-2); padding: 12px; border-radius: 8px; font-size: 11px; line-height: 1.6; margin-top: 16px; text-align: center; }
.receipt .btn { width: 100%; margin-top: 18px; font-family: var(--f-ui); }

.reels { position: fixed; inset: 0; z-index: 260; background: #0B0A09; color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .4s; }
.reels.on { opacity: 1; pointer-events: auto; }
.reel { position: relative; height: min(92svh, 860px); aspect-ratio: 9/16; max-width: 100vw; border-radius: 26px; overflow: hidden; background: #000; }
.reel__media { position: absolute; inset: 0; }
.reel__media .ph { position: absolute; inset: 0; background: #111; }
.reel__media img { animation: reelpan 6s linear both; }
@keyframes reelpan { from { transform: scale(1.35) translate(4%, 3%); } to { transform: scale(1.08) translate(-3%, -2%); } }
.reel.paused .reel__media img { animation-play-state: paused; }
.reel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5), transparent 22%, transparent 50%, rgba(0,0,0,.85)); pointer-events: none; }
.reel__bars { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 4px; z-index: 3; }
.reel__bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.reel__bars span i { display: block; height: 100%; width: 0; background: #fff; }
.reel__bars span.done i { width: 100%; }
.reel__bars span.cur i { animation: bar 6s linear forwards; }
.reel.paused .reel__bars span.cur i { animation-play-state: paused; }
@keyframes bar { to { width: 100%; } }
.reel__top { position: absolute; top: 30px; left: 16px; right: 16px; display: flex; align-items: center; gap: 10px; z-index: 3; font-size: 14px; font-weight: 600; }
.reel__top small { font-weight: 400; opacity: .7; }
.reel__top .iconbtn { margin-left: auto; box-shadow: none; background: rgba(255,255,255,.14); color: #fff; }
.reel__info { position: absolute; left: 18px; right: 18px; bottom: 20px; z-index: 3; }
.reel__info h3 { font-family: var(--f-display); font-weight: 400; font-size: 40px; line-height: .95; letter-spacing: -.03em; margin: 8px 0 8px; }
.reel__info p { font-size: 14px; opacity: .85; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reel__info .btn { width: 100%; justify-content: space-between; }
.reel__tap { position: absolute; top: 80px; bottom: 200px; width: 40%; z-index: 2; }
.reel__tap--l { left: 0; } .reel__tap--r { right: 0; }
.reel__caption { position: absolute; left: 0; right: 0; top: 46%; text-align: center; font-family: var(--f-display); font-style: italic; font-size: 30px; z-index: 2; text-shadow: 0 2px 30px rgba(0,0,0,.6); padding: 0 24px; animation: capIn 6s ease both; pointer-events: none; }
@keyframes capIn { 0% { opacity: 0; transform: translateY(14px); } 12%, 70% { opacity: 1; transform: none; } 85%, 100% { opacity: 0; } }
.reels__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 20px; }
.reels__nav:hover { background: rgba(255,255,255,.2); }
.reels__nav--prev { left: max(16px, calc(50% - min(92svh, 860px) * 9 / 32 - 80px)); }
.reels__nav--next { right: max(16px, calc(50% - min(92svh, 860px) * 9 / 32 - 80px)); }
.reels__hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; opacity: .4; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%); z-index: 280; background: var(--ink); color: var(--paper); border-radius: 99px; padding: 8px 8px 8px 8px; display: flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 500; transition: transform .6s var(--ease-out); box-shadow: 0 20px 40px -10px rgba(0,0,0,.4); max-width: calc(100vw - 32px); }
.toast.on { transform: translate(-50%, 0); }
.toast .ph { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.toast button { background: var(--paper); color: var(--ink); border-radius: 99px; padding: 8px 14px; font-weight: 600; font-size: 13px; white-space: nowrap; }

.fly { position: fixed; z-index: 290; border-radius: 50%; overflow: hidden; pointer-events: none; transition: transform .85s cubic-bezier(.5, -0.3, .7, 1), opacity .85s; }
.fly img { width: 100%; height: 100%; object-fit: cover; }

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1180px) {
  .dash { grid-template-columns: 1fr 300px; }
  .dash__side { display: none; }
  .store-body { grid-template-columns: minmax(0, 1fr); }
  .aside-card { position: static; }
  .store-bar { grid-template-columns: repeat(3, 1fr); }
  .store-bar > div:nth-child(n+4) { display: none; }
}
@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .nav__links, .nav__loc { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--nav-h) + 20px); min-height: auto; gap: 10px; }
  .hero__copy { order: 2; }
  .plate { width: min(88vw, 460px); order: 1; margin-top: 10px; }
  .hero__title .ln2 { padding-left: .5em; }
  .people { grid-template-columns: 1fr; }
  .person--1, .person--2, .person--3 { grid-column: auto; aspect-ratio: 4/5; margin-top: 0; }
  .people__note { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 280px; }
  .hq__top { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash__orders { border-left: 0; border-top: 1px solid rgba(255,255,255,.07); max-height: 420px; }
  .calc { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1/-1; }
  .dish { grid-template-columns: minmax(0, 1fr); }
  .dish__media { position: relative; height: 60svh; padding: var(--nav-h) 0 0 0; flex-direction: column-reverse; gap: 0; }
  .dish__stage { border-radius: 0; }
  .dish__thumbs { flex-direction: row; width: auto; padding: 10px 16px 0; }
  .dish__thumbs button { width: 56px; }
  .dish__info { padding-top: 30px; }
  .story { grid-template-columns: 1fr; }
  .grid .ticket--feature { grid-column: auto; }
  .grid .ticket--feature .ticket__img { aspect-ratio: 4/4.4; }
  .grid .ticket--feature .ticket__name { font-size: 26px; }
  .search { min-width: 0; flex: 1; }
  .reels__nav { display: none; }
  .reel { height: 100svh; border-radius: 0; width: 100vw; aspect-ratio: auto; }
  .mood-float { display: none; }
  .mood { grid-template-columns: 1fr auto; }
  .mood__n { display: none; }
  .mood__blurb span:first-child { display: none; }
}
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .nav__bag { display: none; }
  .tabbar { display: flex; position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 120; background: rgba(23,20,15,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 22px; padding: 6px; justify-content: space-around; }
  .tabbar a, .tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0 6px; color: rgba(244,238,227,.55); font-size: 11px; font-weight: 600; border-radius: 16px; position: relative; }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar .on { color: var(--paper); background: rgba(255,255,255,.08); }
  .tabbar__count { position: absolute; top: 4px; left: 55%; background: var(--tomato); color: #fff; font: 600 10px/16px var(--f-mono); min-width: 16px; height: 16px; border-radius: 99px; padding: 0 4px; display: none; }
  .tabbar__count.has { display: block; }
  .toast { bottom: 96px; }
  .hero__ticker { gap: 20px; }
  .hero__search { padding-left: 16px; }
  .hero__search .btn { padding: 0 18px; height: 44px; }
  .hero__search .arrow { display: none; }
  .hero__ticker b { font-size: 26px; }
  .hero__sub { font-size: 16px; margin: 20px 0 24px; }
  .plate__tag { padding: 8px 12px; font-size: 12px; }
  .plate__tag .count { font-size: 22px; }
  .plate__tag--a { left: 0; bottom: 4%; }
  .plate__tag--b { right: 0; top: 4%; }
  .rail { grid-auto-columns: 78vw; gap: 14px; }
  .ticket__name { font-size: 23px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid .ticket { padding: 6px; border-radius: 20px; }
  .grid .ticket__img { border-radius: 15px; aspect-ratio: 4/5; }
  .grid .ticket__name, .grid .ticket--feature .ticket__name { font-size: 18px; }
  .grid .ticket__body { padding: 2px 6px 8px; gap: 7px; }
  .grid .ticket__badges { top: 12px; left: 12px; right: 12px; }
  .grid .ticket__badges .badge:last-child { display: none; }
  .grid .ticket__cook .avatar { display: none; }
  .grid .ticket__cook { font-size: 12px; }
  .grid .ticket__perf { margin: 2px -6px 0; height: 14px; }
  .grid .ticket__meta span:last-child { display: none; }
  .grid .addfab { width: 36px; height: 36px; font-size: 18px; right: 8px; bottom: 8px; }
  .grid .price { font-size: 13px; }
  .kgrid { grid-template-columns: 1fr; }
  .filters { position: relative; top: auto !important; }
  .filters__row { flex-wrap: wrap; }
  .filters__row .search { order: -1; flex-basis: 100%; }
  .seg button { padding: 0 12px; }
  .filters__sub .filters__count { display: none; }
  .reels-cta { padding-right: 16px; font-size: 14px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:last-child { display: none; }
  .dash__main { padding: 18px; }
  .inv__item { grid-template-columns: 44px 1fr auto; }
  .inv__item .toggle { display: none; }
  .calc__box { padding: 24px; }
  .calc__bar { grid-template-columns: 90px 1fr 70px; }
  .mrow { grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; }
  .mrow__name { font-size: 22px; }
  .mrow__desc { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .store-bar { grid-template-columns: 1fr 1fr; }
  .store-bar > div:nth-child(3) { display: none; }
  .store-bar > div { padding: 18px 12px 18px 0; }
  .store-bar > div:nth-child(2) { padding-left: 16px; }
  .store-bar b { font-size: 22px; }
  .store-hero { height: 78svh; }
  .drop-box .big { font-size: 40px; }
  .drop-box .clock { font-size: 22px; }
  .buy { bottom: 86px; }
  .facts { grid-template-columns: 1fr; }
  .footer__word { margin-top: 50px; }
  .quote p { font-size: 21px; }
  .page-head { padding-top: calc(var(--nav-h) + 24px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .split-line > span { transform: none; }
}

/* =====================================================
   KITCHEN HQ — cook's phone app (#/hq)
   ===================================================== */
body.hq-mode { background: var(--night); color: var(--paper); padding-bottom: 0; }
.hq-mode .nav, .hq-mode .tabbar { display: none; }
.hqapp { min-height: 100svh; max-width: 1280px; margin: 0 auto; padding: 40px var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6vw; align-items: center; }
.hqapp__back { display: table; margin-bottom: 48px; font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; opacity: .6; }
.hqapp__back:hover { opacity: 1; color: var(--saffron); }
.hqapp__intro h1 { font-size: clamp(48px, 6vw, 96px); margin: 22px 0 26px; }
.hqapp__intro h1 em { color: var(--saffron); }
.hqapp__intro p { color: rgba(244,238,227,.72); font-size: 18px; max-width: 44ch; }
.hqapp__points { list-style: none; padding: 0; margin: 28px 0; max-width: 44ch; }
.hqapp__points li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(244,238,227,.75); }
.hqapp__points b { color: var(--saffron); font-weight: 600; }

.phone { position: relative; width: 390px; height: min(844px, calc(100svh - 80px)); border-radius: 52px; background: #0E0D0C; color: var(--paper); overflow: hidden; box-shadow: 0 0 0 10px #1F1D1A, 0 0 0 11px rgba(255,255,255,.08), 0 60px 120px -30px rgba(0,0,0,.9); isolation: isolate; }
.phone__screen { position: absolute; inset: 0; overflow-y: auto; padding-bottom: 120px; scrollbar-width: none; overscroll-behavior: contain; }
.phone__screen::-webkit-scrollbar { display: none; }

.hq-top { padding: 52px 16px 6px; background: radial-gradient(120% 80% at 100% 0%, rgba(242,179,61,.12), transparent 60%); }
.hq-top__row { display: flex; align-items: center; gap: 12px; }
.hq-top__x { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; }
.hq-top__who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.hq-top__who span { font: 500 10.5px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; opacity: .5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hq-top__who b { font-family: var(--f-display); font-weight: 400; font-size: 25px; letter-spacing: -.02em; line-height: 1.1; }
.hq-open { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border-radius: 99px; background: rgba(255,255,255,.08); font: 600 13px var(--f-ui); color: rgba(244,238,227,.7); transition: background .3s, color .3s; flex: none; }
.hq-open i { width: 28px; height: 28px; border-radius: 50%; background: #4A4540; transition: background .3s, box-shadow .3s; }
.hq-open[aria-pressed="true"] { background: var(--herb); color: #fff; }
.hq-open[aria-pressed="true"] i { background: #8FD19E; box-shadow: 0 0 0 0 rgba(143,209,158,.6); animation: pulseG 1.8s infinite; }
@keyframes pulseG { 70% { box-shadow: 0 0 0 8px rgba(143,209,158,0); } 100% { box-shadow: 0 0 0 0 rgba(143,209,158,0); } }
.hq-drop { margin-top: 16px; background: var(--night-2); border-radius: 22px; padding: 14px; display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; position: relative; }
.hq-ring { width: 64px; height: 64px; transform: rotate(-90deg); }
.hq-ring circle { fill: none; stroke-width: 6; stroke: rgba(255,255,255,.1); }
.hq-ring #hqRing { stroke: var(--saffron); stroke-linecap: round; transition: stroke-dashoffset .9s var(--ease-out); }
.hq-drop__c { position: absolute; left: 14px; top: 50%; width: 64px; margin-top: -32px; height: 64px; display: grid; place-content: center; text-align: center; }
.hq-drop__c b { font-family: var(--f-display); font-weight: 400; font-size: 22px; line-height: 1; }
.hq-drop__c small { font: 500 9px var(--f-mono); opacity: .5; text-transform: uppercase; }
.hq-drop__txt small { display: block; font: 500 10px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; opacity: .5; }
.hq-drop__txt b { display: block; font: 600 26px var(--f-mono); letter-spacing: -.02em; margin: 2px 0; }
.hq-drop__txt span { color: var(--saffron); font-weight: 600; font-size: 13px; }

.hq-body { padding: 6px 16px; }
.hq-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: rgba(255,255,255,.06); border-radius: 14px; margin: 10px 0; }
.hq-seg button { height: 40px; border-radius: 11px; font: 600 13px var(--f-ui); color: rgba(244,238,227,.6); transition: background .25s, color .25s; }
.hq-seg button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.hq-seg i { font: 600 11px var(--f-mono); font-style: normal; background: rgba(255,255,255,.12); padding: 1px 6px; border-radius: 99px; margin-left: 4px; }
.hq-seg button[aria-selected="true"] i { background: var(--ink); color: var(--paper); }
.hq-hint { font: 500 10.5px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; opacity: .4; margin: 2px 0 10px; text-align: right; }
.hq-orders { display: flex; flex-direction: column; gap: 10px; }
.hq-swipe { position: relative; border-radius: 18px; overflow: hidden; transition: opacity .3s, transform .3s; }
.hq-swipe.leaving { opacity: 0; transform: scale(.95); }
.hq-swipe__under { position: absolute; inset: 0; background: var(--herb); color: #fff; display: flex; align-items: center; padding-left: 20px; font-weight: 700; font-size: 16px; transition: background .2s; }
.hq-swipe.armed .hq-swipe__under { background: #3F8A50; }
.hq-order { position: relative; background: var(--paper); color: var(--ink); border-radius: 18px; padding: 14px; touch-action: pan-y; user-select: none; -webkit-user-select: none; transition: transform .3s var(--ease-out); cursor: grab; }
.hq-order.fresh { animation: orderIn .7s var(--ease-out) both; }
.hq-order__top { display: flex; justify-content: space-between; gap: 8px; font: 600 10.5px var(--f-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.hq-order__top .del { color: var(--tomato); }
.hq-order__items { font-family: var(--f-display); font-size: 20px; line-height: 1.15; letter-spacing: -.01em; margin: 8px 0 12px; }
.hq-order__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hq-order__foot b { font: 600 15px var(--f-mono); }
.hq-order__foot div { display: flex; gap: 6px; }
.hq-order__foot button { height: 40px; padding: 0 16px; border-radius: 99px; background: var(--ink); color: var(--paper); font: 600 13px var(--f-ui); }
.hq-order__foot button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.hq-empty { padding: 50px 20px; text-align: center; opacity: .5; font-family: var(--f-display); font-style: italic; font-size: 20px; }

.hq-h { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 10px; }
.hq-h h2 { font-family: var(--f-display); font-weight: 400; font-size: 26px; letter-spacing: -.02em; margin: 0; }
.hq-h span { font: 500 10.5px var(--f-mono); text-transform: uppercase; opacity: .5; }
.hq-menu { display: flex; flex-direction: column; gap: 10px; }
.hq-dish { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--night-2); border-radius: 18px; padding: 10px; transition: opacity .3s; }
.hq-dish.off { opacity: .5; }
.hq-dish__img { width: 56px; height: 56px; border-radius: 12px; background: #2a2724 center/cover; }
.hq-dish__info b { display: block; font-size: 15px; line-height: 1.2; font-weight: 600; }
.hq-dish__info small { display: block; font-size: 12px; opacity: .55; margin: 3px 0 8px; }
.hq-meter { height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.hq-meter i { display: block; height: 100%; background: var(--saffron); border-radius: 4px; transition: width .5s var(--ease-out); }
.hq-dish__ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.hq-switch { width: 44px; height: 26px; border-radius: 99px; background: rgba(255,255,255,.15); position: relative; transition: background .25s; flex: none; }
.hq-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease-out); }
.hq-switch[aria-pressed="true"] { background: var(--herb); }
.hq-switch[aria-pressed="true"]::after { transform: translateX(18px); }
.hq-step { display: inline-flex; align-items: center; background: rgba(255,255,255,.07); border-radius: 99px; padding: 2px; }
.hq-step button { width: 30px; height: 30px; border-radius: 50%; font-size: 16px; color: var(--paper); }
.hq-step button:active { background: rgba(255,255,255,.12); }
.hq-step output { min-width: 26px; text-align: center; font: 600 13px var(--f-mono); }
.hq-big { display: block; width: 100%; height: 54px; border-radius: 99px; background: var(--saffron); color: var(--ink); font: 700 15px var(--f-ui); margin-top: 14px; transition: transform .2s; }
.hq-big:active { transform: scale(.98); }
.hq-big.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.hq-note { font-size: 12.5px; opacity: .5; margin: 14px 0; line-height: 1.5; }

.hq-money { background: var(--night-2); border-radius: 22px; padding: 18px; margin-top: 10px; }
.hq-money small { font: 500 10.5px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; opacity: .5; }
.hq-money__big { font-family: var(--f-display); font-size: 58px; color: var(--saffron); letter-spacing: -.04em; line-height: 1; margin: 6px 0; }
.hq-money__sub { font-size: 13px; opacity: .6; }
.hq-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 140px; margin-top: 18px; }
.hq-bars button { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.hq-bars i { width: 100%; background: rgba(255,255,255,.14); border-radius: 6px; display: block; transition: background .2s; }
.hq-bars button:hover i, .hq-bars button:focus i { background: rgba(255,255,255,.3); }
.hq-bars .today i { background: var(--saffron); }
.hq-bars span { font: 500 10px var(--f-mono); opacity: .5; }
.hq-barval { font: 600 12px var(--f-mono); color: var(--saffron); margin-top: 10px; }
.hq-list { list-style: none; padding: 0; margin: 0; background: var(--night-2); border-radius: 18px; }
.hq-list li { display: flex; justify-content: space-between; padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.06); font-size: 14px; }
.hq-list li:first-child { border-top: 0; }
.hq-list span { opacity: .65; }
.hq-list b { font: 600 14px var(--f-mono); }

.hq-store { display: block; border-radius: 22px; overflow: hidden; background: var(--night-2); margin-top: 10px; }
.hq-store__cover { height: 150px; background: #2a2724 center/cover; }
.hq-store__in { display: flex; align-items: center; gap: 10px; padding: 14px; }
.hq-store__in b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 21px; line-height: 1.1; }
.hq-store__in small { font-size: 12px; opacity: .55; }
.hq-store__go { margin-left: auto; color: var(--saffron); font-weight: 600; font-size: 13px; }
.hq-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.hq-stats div { background: var(--night-2); border-radius: 16px; padding: 12px 6px; text-align: center; }
.hq-stats b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 24px; }
.hq-stats small { font: 500 10px var(--f-mono); text-transform: uppercase; opacity: .5; }
.hq-row { display: flex; justify-content: space-between; align-items: center; background: var(--night-2); border-radius: 16px; padding: 14px 16px; font-size: 14px; }
.hq-reviews { display: flex; flex-direction: column; gap: 8px; }
.hq-reviews p { margin: 0; background: var(--night-2); border-radius: 16px; padding: 14px; font-family: var(--f-display); font-style: italic; font-size: 17px; line-height: 1.3; }
.hq-reviews small { display: block; font: 500 12px var(--f-ui); font-style: normal; opacity: .5; margin-top: 6px; }

.hq-banner { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 20; background: var(--paper); color: var(--ink); border-radius: 18px; padding: 13px 16px; font-size: 13.5px; line-height: 1.35; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); transform: translateY(-160%); transition: transform .55s var(--ease-out); pointer-events: none; }
.hq-banner.on { transform: none; }

.hq-tabs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 15; display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 8px calc(14px + env(safe-area-inset-bottom)); background: rgba(14,13,12,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(255,255,255,.07); }
.hq-tabs button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; color: rgba(244,238,227,.45); font: 600 10.5px var(--f-ui); transition: color .2s; }
.hq-tabs button[aria-current="true"] { color: var(--paper); }
.hq-tabs svg { width: 22px; height: 22px; }
.hq-tabs i { position: absolute; top: 0; left: 56%; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--tomato); color: #fff; font: 600 10px/17px var(--f-mono); font-style: normal; display: none; }
.hq-tabs i.on { display: block; }
.hq-tabs .hq-tabs__new svg { width: 46px; height: 46px; padding: 11px; margin-top: -20px; border-radius: 50%; background: var(--saffron); color: var(--ink); box-shadow: 0 0 0 5px #0E0D0C; stroke-width: 2.2; }
.hq-tabs .hq-tabs__new { color: var(--saffron); }

.hq-sheet { position: absolute; inset: 0; z-index: 30; pointer-events: none; }
.hq-sheet.on { pointer-events: auto; }
.hq-sheet__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .4s; }
.hq-sheet.on .hq-sheet__scrim { opacity: 1; }
.hq-sheet__card { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92%; overflow-y: auto; background: #1A1816; border-radius: 26px 26px 0 0; padding: 10px 18px calc(24px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .55s var(--ease-out); }
.hq-sheet.on .hq-sheet__card { transform: none; }
.hq-sheet__grab { width: 40px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.2); margin: 4px auto 14px; }
.hq-sheet h2 { font-family: var(--f-display); font-weight: 400; font-size: 32px; letter-spacing: -.02em; margin: 0 0 14px; }
.hq-photo { position: relative; display: grid; place-items: center; height: 170px; border-radius: 18px; border: 1.5px dashed rgba(255,255,255,.25); background: center/cover; text-align: center; font-size: 14px; line-height: 1.6; color: rgba(244,238,227,.7); cursor: pointer; margin-bottom: 14px; }
.hq-photo input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hq-photo.has { border-style: solid; border-color: transparent; }
.hq-photo.has span { display: none; }
.hq-field { display: block; margin-bottom: 12px; }
.hq-field > span { display: block; font: 500 10.5px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; opacity: .5; margin-bottom: 6px; }
.hq-field input { width: 100%; height: 48px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--paper); font: 500 16px var(--f-ui); padding: 0 14px; }
.hq-field input:focus { outline: none; border-color: var(--saffron); }
.hq-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hq-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hq-chips button { height: 36px; padding: 0 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); font: 600 13px var(--f-ui); color: var(--paper); }
.hq-chips button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: none; }

@media (max-width: 860px) {
  .hqapp { display: block; padding: 0; min-height: 0; }
  .hqapp__intro { display: none; }
  .phone { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; box-shadow: none; }
  .hq-top { padding-top: max(16px, env(safe-area-inset-top)); }
}

/* ---------- Eating / Cooking switch ---------- */
.mode { display: inline-flex; padding: 3px; border-radius: 99px; background: rgba(23,20,15,.07); }
.mode button { height: 34px; padding: 0 14px; border-radius: 99px; font: 600 13px var(--f-ui); display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); transition: background .25s, color .25s; }
.mode button[aria-pressed="true"] { background: var(--ink); color: var(--paper); cursor: default; }
.mode button[data-mode-to]:hover { background: rgba(23,20,15,.08); color: var(--ink); }
.mode__av { width: 22px; height: 22px; margin-left: -8px; border-radius: 50%; background: var(--tomato); color: #fff; display: grid; place-items: center; font: italic 400 10.5px var(--f-display); }
.nav.is-dark:not(.is-solid) .mode { background: rgba(255,255,255,.14); }
.nav.is-dark:not(.is-solid) .mode button { color: rgba(255,255,255,.85); }
.nav.is-dark:not(.is-solid) .mode button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.mode--dark { display: flex; width: 100%; margin-bottom: 14px; background: rgba(255,255,255,.07); }
.mode--dark button { flex: 1; justify-content: center; color: rgba(244,238,227,.6); }
.mode--dark button[aria-pressed="true"] { background: var(--saffron); color: var(--ink); }
.mode--dark button[data-mode-to]:hover { background: rgba(255,255,255,.08); color: var(--paper); }
.mode--dark .mode__av { margin-left: 0; }
@media (max-width: 1100px) { .nav__loc { display: none; } }
@media (max-width: 960px) { .nav .mode { display: none; } }

.tabbar__av { width: 22px; height: 22px; border-radius: 50%; background: var(--tomato); color: #fff; display: grid; place-items: center; font: italic 400 11px var(--f-display); box-shadow: 0 0 0 2px var(--saffron); margin-bottom: 1px; }
.tabbar .tabbar__cook { color: var(--saffron); }

.modewipe { position: fixed; inset: 0; z-index: 350; pointer-events: none; display: grid; place-items: center; text-align: center; clip-path: circle(0 at var(--x, 50%) var(--y, 50%)); visibility: hidden; }
.modewipe.cook { background: var(--night); color: var(--paper); visibility: visible; }
.modewipe.eat { background: var(--paper); color: var(--ink); visibility: visible; }
.modewipe.on { clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); transition: clip-path .75s var(--ease); pointer-events: auto; }
.modewipe.out { opacity: 0; transition: opacity .45s; }
.modewipe b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 9vw, 120px); letter-spacing: -.04em; line-height: .95; opacity: 0; transform: translateY(20px); transition: opacity .4s .25s, transform .6s .25s var(--ease-out); }
.modewipe.cook b em { color: var(--saffron); }
.modewipe.eat b em { color: var(--tomato); }
.modewipe small { display: block; margin-top: 16px; font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .1em; opacity: 0; transition: opacity .4s .4s; }
.modewipe.on b { opacity: 1; transform: none; }
.modewipe.on small { opacity: .6; }
.toast { width: max-content; padding-right: 8px; }
.toast > span:not(.avatar) { flex: 1; min-width: 0; line-height: 1.3; }
