/* Fonts are bundled so the demo works offline. Both families cover Greek. */
@font-face { font-family: "Sofia Sans"; src: url(../assets/fonts/sofia-sans-greek.woff2) format("woff2"); font-weight: 1 1000; font-display: swap; unicode-range: U+0370-03FF; }
@font-face { font-family: "Sofia Sans"; src: url(../assets/fonts/sofia-sans-latin-ext.woff2) format("woff2"); font-weight: 1 1000; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Sofia Sans"; src: url(../assets/fonts/sofia-sans-latin.woff2) format("woff2"); font-weight: 1 1000; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+2190-2193, U+2605, U+2212; }
@font-face { font-family: "Display"; src: url(../assets/fonts/sofia-sans-extra-condensed-greek.woff2) format("woff2"); font-weight: 1 1000; font-display: swap; unicode-range: U+0370-03FF; }
@font-face { font-family: "Display"; src: url(../assets/fonts/sofia-sans-extra-condensed-latin-ext.woff2) format("woff2"); font-weight: 1 1000; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF; }
@font-face { font-family: "Display"; src: url(../assets/fonts/sofia-sans-extra-condensed-latin.woff2) format("woff2"); font-weight: 1 1000; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+2605; }

:root {
  /* Sampled from Coupepe's logo and printed menus */
  --red: #cc0202;
  --pink: #f3b9c7;
  --lilac: #cdbdea;
  --mint: #a5dcc3;
  --yellow: #f8e447;
  --latte: #e8c39e;
  --black: #111;
  --cream: #fff8ec;

  --bg: var(--red);
  --ink: #fff;
  --d: min(96vh, 54vw);          /* pie diameter */
  --col-left: 50vw;
  --col-right: 5vw;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.45 "Sofia Sans", system-ui, sans-serif;
  transition: background-color .5s ease, color .3s ease;
  overflow-x: hidden;
}
body[data-sec="pizza"]  { --bg: var(--pink);   --ink: var(--black); }
body[data-sec="brunch"] { --bg: var(--lilac);  --ink: var(--black); }
body[data-sec="coffee"] { --bg: var(--latte);  --ink: var(--black); }
body[data-sec="bar"]    { --bg: var(--mint);   --ink: var(--black); }
body[data-sec="visit"]  { --bg: var(--yellow); --ink: var(--black); }
body[data-sec="place"]  { --bg: var(--black);  --ink: var(--cream); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 60; background: #fff; color: #111; padding: 10px 14px; }
.skip:focus { top: 12px; }

/* ---------- the pie ---------- */
.stage { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.pie {
  position: absolute;
  width: var(--d); height: var(--d);
  left: calc(var(--d) * -0.27);
  top: calc(50% - var(--d) / 2);
  will-change: transform;
}
.plate {
  position: absolute; top: 5%; right: 5%; bottom: 5%; left: 5%;
  border-radius: 50%;
  box-shadow: 0 30px 60px rgba(0,0,0,.35); /* outer shadow only, so the gap left by a slice shows the page colour */
}
.pie-base, .wedge, .wedge img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; }
.pie-base, .wedge img { backface-visibility: hidden; }
.wedge { filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)); will-change: transform; }

/* brunch, coffee and bar: the pie slides away and the section's own table comes in */
.pie-wrap { position: absolute; top: 0; right: 0; bottom: 0; left: 0; transition: transform .9s cubic-bezier(.65, 0, .35, 1), opacity .6s ease; }
body[data-sec="brunch"] .pie-wrap, body[data-sec="coffee"] .pie-wrap, body[data-sec="bar"] .pie-wrap {
  transform: translate3d(-62%, 0, 0) rotate(-35deg); opacity: 0;
}
.scene {
  --sw: min(46vw, 104vh);              /* scene width */
  position: absolute; left: 1.5vw; top: 50%;
  width: var(--sw); height: calc(var(--sw) * .86); margin-top: calc(var(--sw) * -.40);
}
.dish-item {
  /* its own layer from the start, so nothing re-stacks or re-renders when the entrance ends */
  isolation: isolate; will-change: transform, opacity; backface-visibility: hidden;
  position: absolute; opacity: 0;
  transform: translate3d(0, 14%, 0) scale(.88);
  transition: transform .45s cubic-bezier(.4, 0, 1, 1), opacity .3s ease;
}
.dish-item img { position: relative; z-index: 1; display: block; width: 100%; height: auto; animation: bob 7s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -2.3s); }
/* a soft contact shadow on the table under each dish */
.dish-item::after {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -3%; height: 14%;
  background: radial-gradient(closest-side, rgba(0,0,0,.34), rgba(0,0,0,.12) 60%, transparent);
  filter: blur(4px);
}
.s-crepe::after, .s-sandwich::after { bottom: -1%; height: 22%; }
body[data-sec="brunch"] [data-scene="brunch"] .dish-item,
body[data-sec="coffee"] [data-scene="coffee"] .dish-item,
body[data-sec="bar"] [data-scene="bar"] .dish-item {
  opacity: 1; transform: none;
  transition: transform 1s cubic-bezier(.16, 1, .3, 1), opacity .6s ease;
  transition-delay: calc(.25s + var(--i) * .12s);
}
@keyframes bob { to { transform: translate3d(0, -1.6%, 0); } }
/* only the dishes on screen bob; the hidden ones stay still, so phones don't animate what nobody sees */
.dish-item img { animation-play-state: paused; }
body[data-sec="brunch"] [data-scene="brunch"] .dish-item img,
body[data-sec="coffee"] [data-scene="coffee"] .dish-item img,
body[data-sec="bar"] [data-scene="bar"] .dish-item img { animation-play-state: running; }

/* positions inside each scene, as a share of its width */
.s-crepe     { left: 0;   bottom: 34%; width: 72%; }
.s-sandwich  { left: 34%; bottom: 2%;  width: 64%; }
.s-freddo    { left: 31%; bottom: 30%; width: 36%; }
.s-espresso  { left: 0;   bottom: 4%;  width: 47%; }
.s-cappuccino{ left: 52%; bottom: 0;   width: 48%; }
.s-aperol    { left: 39%; bottom: 20%; width: 21%; }
.s-negroni   { left: 4%;  bottom: 2%;  width: 38%; }
.s-mojito    { left: 66%; bottom: 6%;  width: 22%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 30; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 20px;
  padding: 10px clamp(14px, 2vw, 28px);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.stamp { background: var(--red); padding: 9px 12px; border-radius: 8px; flex: none; }
.stamp img { width: 104px; }
.nav-links { display: flex; gap: 4px; margin-left: calc(var(--col-left) - 180px); background: var(--bg); border-radius: 8px; padding: 3px; transition: background-color .5s ease; }
.nav-links a {
  font: 800 23px/1 "Display", sans-serif; text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; padding: 9px 10px; border-radius: 6px; color: var(--ink);
  transition: color .3s;
}
.nav-links a:hover, .nav-links a.is-on { background: var(--black); color: #fff; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang {
  font: 800 16px/1 "Sofia Sans", sans-serif; color: var(--ink);
  background: var(--bg); border: 2px solid currentColor; border-radius: 6px;
  transition: background-color .5s ease;
  min-width: 44px; min-height: 44px; cursor: pointer;
}
.lang:hover { background: var(--black); color: #fff; border-color: var(--black); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 18px;
  font: 900 24px/1 "Display", sans-serif; text-transform: uppercase; letter-spacing: .02em;
  border: 3px solid var(--black); border-radius: 8px; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--black); }
.btn:active { transform: none; box-shadow: none; }
.btn-order { background: var(--yellow); color: var(--black); }
.btn-ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-ghost:hover { box-shadow: 4px 4px 0 currentColor; }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { box-shadow: 4px 4px 0 var(--red); }
.btn-lg { min-height: 58px; font-size: 30px; padding: 12px 26px; }
.block { display: flex; width: 100%; margin-top: 26px; }

/* ---------- sections ---------- */
main { position: relative; z-index: 1; overflow-x: clip; }
.sec { min-height: 100vh; padding: 112px var(--col-right) 96px var(--col-left); }
.col { max-width: 680px; }
.hero { display: flex; align-items: center; padding-top: 90px; padding-bottom: 60px; }

h1, h2 {
  font-family: "Display", sans-serif; font-weight: 900; text-transform: uppercase;
  line-height: .86; letter-spacing: -.005em; margin: 0;
}
h1 { font-size: clamp(76px, 10.4vw, 176px); }
h2 { font-size: clamp(78px, 10vw, 164px); }
h3 { font: 900 28px/1 "Display", sans-serif; text-transform: uppercase; margin: 0 0 8px; letter-spacing: .02em; }
.lede { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.32; font-weight: 600; margin: 18px 0 0; max-width: 34em; }
.kicker { font: 800 25px/1.1 "Display", sans-serif; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 10px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.now {
  display: inline-block; margin: 0 0 18px;
  font: 800 23px/1.1 "Display", sans-serif; text-transform: uppercase; letter-spacing: .04em;
}
.now a { color: var(--yellow); text-underline-offset: 3px; }

/* ---------- marquee bands: the lines from their printed menus ---------- */
.band {
  position: relative; z-index: 2; overflow: hidden; background: var(--black); color: #fff;
  font: 900 44px/1 "Display", sans-serif; text-transform: uppercase; padding: 13px 0 11px;
  transform: rotate(-1.2deg) scale(1.03);
}
.band-alt { background: var(--red); transform: rotate(1.2deg) scale(1.03); }
.band-track { display: flex; width: max-content; animation: band 40s linear infinite; }
.band-track span { white-space: nowrap; padding-right: .3em; }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- photos ---------- */
.photo { margin: 28px 0 0; border: 3px solid var(--black); border-radius: 8px; overflow: hidden; background: var(--black); }
.photo img { width: 100%; }
.photo-room { transform: rotate(.7deg); }
.bar-intro { display: flex; align-items: flex-start; gap: 24px; }
.photo-night { flex: none; width: 190px; margin-top: 18px; transform: rotate(2.5deg); }

/* ---------- menu sheet: echoes the black header bars of the printed menu ---------- */
.sheet { margin-top: 30px; background: var(--bg); transition: background-color .5s ease; border: 3px solid var(--black); border-radius: 8px; color: var(--black); overflow: hidden; }
.tools { padding: 12px; border-bottom: 3px solid var(--black); }
.search {
  width: 100%; min-height: 48px; padding: 8px 12px;
  font: 600 17px/1.2 "Sofia Sans", sans-serif; color: var(--black);
  background: var(--cream); border: 3px solid var(--black); border-radius: 6px;
}
.search::placeholder { color: #5c5147; opacity: 1; }
.search:focus-visible { outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  min-height: 44px; padding: 6px 12px; cursor: pointer;
  font: 800 21px/1 "Display", sans-serif; text-transform: uppercase; letter-spacing: .02em;
  color: var(--black); background: transparent; border: 2px solid var(--black); border-radius: 22px;
}
.chip:hover { background: rgba(0,0,0,.1); }
.chip[aria-pressed="true"] { background: var(--black); color: #fff; }
.sheet-status { margin: 10px 0 0; font-weight: 800; font-size: 15px; }
.sheet-status:empty { display: none; }

.tabs { display: flex; flex-wrap: wrap; gap: 3px; background: var(--black); border-bottom: 3px solid var(--black); }
.tab {
  flex: 1 1 auto; min-height: 50px; padding: 8px 12px;
  font: 800 25px/1 "Display", sans-serif; text-transform: uppercase; letter-spacing: .02em;
  color: var(--black); background: var(--bg); border: 0; cursor: pointer; transition: background-color .5s ease;
}
.tab:hover { box-shadow: inset 0 0 0 99px rgba(0,0,0,.1); }
.tab[aria-selected="true"] { background: var(--black); color: #fff; box-shadow: none; }
.tab:focus-visible { outline-offset: -6px; }
.group-title {
  margin: 0; padding: 8px 14px 6px; text-align: center;
  background: var(--black); color: #fff;
  font: 900 26px/1 "Display", sans-serif; text-transform: uppercase; letter-spacing: .05em;
}
summary.group-title {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 46px; text-align: left; cursor: pointer; list-style: none;
}
summary.group-title::-webkit-details-marker { display: none; }
summary.group-title:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.caret { width: 11px; height: 11px; flex: none; margin-right: 4px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
details[open] > summary .caret { transform: translateY(2px) rotate(225deg); }
.group + .group { border-top: 3px solid var(--bg); }
.items { list-style: none; margin: 0; padding: 0; }
.items li { border-bottom: 1px solid rgba(0,0,0,.55); }
.items li:last-child { border-bottom: 0; }
.item { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 10px 14px 9px; text-align: left; color: inherit; font: inherit; }
.item-btn { background: none; border: 0; cursor: pointer; }
.item-btn:hover { background: rgba(255,255,255,.35); }
.item-btn:hover .thumb { transform: scale(1.06) rotate(-2deg); }
.item-btn:focus-visible { outline-offset: -5px; }
.item-text { min-width: 0; }
.item-name { display: block; font: 900 27px/1.02 "Display", sans-serif; text-transform: uppercase; letter-spacing: .01em; }
.item-desc { display: block; font-size: 16px; line-height: 1.32; margin-top: 3px; }
.item-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.tag { padding: 2px 7px 1px; font-size: 13px; font-weight: 800; line-height: 1.3; color: #fff; background: var(--black); border-radius: 4px; }
.tag-spicy { background: #a80000; }
.tag-vegan, .tag-veg { background: #14583c; }
.thumb { flex: none; width: 72px; height: 72px; object-fit: cover; border: 2px solid var(--black); border-radius: 6px; background: var(--black); transition: transform .15s ease; }
.empty { margin: 0; padding: 22px 14px; font-weight: 700; text-align: center; }
.fine { margin: 0; padding: 10px 14px 12px; font-size: 14px; line-height: 1.35; }

/* ---------- spin the pie ---------- */
.spin-box { margin-top: 28px; position: relative; background: var(--bg); border: 3px solid var(--black); border-radius: 8px; color: var(--black); overflow: hidden; transition: background-color .5s ease; }
.spin-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px; }
.spin-head p { margin: 0; font: 900 31px/1 "Display", sans-serif; text-transform: uppercase; }
.spin-head .btn:disabled { opacity: .55; cursor: progress; transform: none; box-shadow: none; }
#spinResult.is-spinning { opacity: .25; transition: opacity .2s; }
.pick { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); border-top: 3px solid var(--black); animation: pop .35s cubic-bezier(.2,1.3,.5,1); }
.pick > img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.pick-text { padding: 14px; }
.pick-text .kicker { font-size: 21px; margin-bottom: 4px; }
.pick-text h3 { font-size: 48px; line-height: .95; margin: 0; }
.pick-text p:not(.kicker) { margin: 8px 0 0; font-size: 16px; line-height: 1.32; }
.pick-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pick-actions .btn-ghost { color: var(--black); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* ---------- visit ---------- */
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.visit-grid p { margin: 0 0 8px; font-weight: 600; font-size: 17px; }
.link { font-weight: 800; text-underline-offset: 3px; display: inline-block; padding: 4px 0; }
.link-icon { display: inline-flex; align-items: center; gap: 8px; }
.link-icon svg { flex: none; transition: transform .15s ease; }
.link-icon:hover svg { transform: rotate(-8deg) scale(1.1); }
.review-cta { margin: 14px 0 0; }

/* open / closed label */
.status { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: 15px; line-height: 1.25; }
.status::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #a80000; border: 1px solid #111; }
.status.is-open::before { background: #18a862; }
.visit-grid p.status { font-weight: 800; font-size: 15px; }
.visit-care { grid-column: 1 / -1; padding-top: 18px; border-top: 2px solid var(--ink); }
.visit-care p { max-width: 40em; }
.status-hero { width: fit-content; margin: 0 0 14px; padding: 7px 12px; background: var(--cream); color: var(--black); border: 2px solid var(--black); border-radius: 20px; }
.now:empty { display: none; }

/* reviews */
.reviews { margin-top: 34px; padding-top: 22px; border-top: 3px solid var(--black); }
.reviews-title { font-size: 44px; line-height: .95; margin: 0; }
.scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0 0; }
.scores > div { padding: 10px; background: var(--black); color: #fff; border-radius: 6px; }
.scores dt { font: 800 19px/1 "Display", sans-serif; text-transform: uppercase; letter-spacing: .03em; }
.scores dd { margin: 5px 0 0; font-size: 16px; }
.scores b { font: 900 46px/.95 "Display", sans-serif; }
.scores .votes { font-size: 13px; line-height: 1.2; }
.quote { margin: 20px 0 0; }
.quote blockquote { margin: 0; font: 900 34px/1.02 "Display", sans-serif; }
.quote figcaption { margin-top: 6px; font-size: 15px; font-weight: 800; }
.reviews .fine { padding: 14px 0 0; }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 2; background: var(--red); color: #fff; padding: 56px 5vw 44px; text-align: center; }
.foot-logo { width: min(320px, 70vw); margin: 0 auto; }
.foot-line { font: 900 clamp(38px, 6vw, 72px)/.95 "Display", sans-serif; text-transform: uppercase; margin: 28px 0 22px; }
.foot-note { font-size: 14px; margin: 0; }

/* ---------- mobile order bar ---------- */
.order-bar {
  display: none; position: fixed; z-index: 25; left: 12px; right: 12px;
  /* 72px, not 12px: keeps the bar above the Netlify badge in the bottom-right corner */
  bottom: calc(72px + env(safe-area-inset-bottom));
  min-height: 58px; border: 3px solid var(--black); border-radius: 8px;
  background: var(--yellow); color: var(--black); cursor: pointer;
  font: 900 30px/1 "Display", sans-serif; text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}

/* ---------- order chooser ---------- */
.chooser {
  width: min(480px, calc(100vw - 32px)); padding: 26px 24px 24px;
  border: 3px solid var(--black); border-radius: 12px;
  background: var(--cream); color: var(--black);
}
.chooser::backdrop { background: rgba(10,0,0,.72); }
.chooser h2 { font-size: min(66px, 15vw); line-height: .9; }
.chooser h2:focus { outline: none; }
.chooser p:not(.kicker) { margin: 12px 0 0; font-weight: 600; }
.chooser-close {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px;
  font-size: 32px; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--black);
}
.chooser-opts { display: grid; gap: 12px; margin-top: 20px; }
.opt {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; padding: 12px 20px; border-radius: 8px; border: 3px solid var(--black);
  font: 900 42px/1 "Display", sans-serif; text-decoration: none; color: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.opt:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--black); }
.opt-wolt { background: #0072a8; }
.opt-efood { background: #cc0202; }
.chooser { max-height: 90vh; max-height: 90dvh; overflow-y: auto; }
.chooser p.chooser-note { margin: 14px 0 0; font-size: 15px; line-height: 1.35; }
.chooser p.chooser-note:empty { display: none; }

/* ---------- dish view ---------- */
.dish { padding: 0; width: min(560px, calc(100vw - 32px)); }
.dish-close { z-index: 2; background: var(--cream); border: 3px solid var(--black); border-radius: 8px; }
.dish-img { width: 100%; height: auto; }
.dish-text { padding: 18px 20px 20px; }
.dish-body-text .dish-text { padding-top: 26px; padding-right: 60px; }
.dish-text h2 { font-size: min(62px, 14vw); }
.dish-text p:not(.kicker) { margin: 10px 0 0; font-weight: 600; }
.dish-text .block { margin-top: 18px; }

/* ---------- phone slice navigation ---------- */
.slice-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; color: var(--ink); background: var(--bg); border: 2px solid currentColor; border-radius: 6px; cursor: pointer; transition: background-color .5s ease; }
.slices { width: min(420px, calc(100vw - 24px)); padding: 20px 16px 16px; }
.slices .kicker { margin: 0 44px 12px 4px; font-size: 32px; }
.slice-nav { display: block; width: 100%; height: auto; }
.slice-nav a { cursor: pointer; }
.slice-nav text { font: 900 29px/1 "Display", sans-serif; text-transform: uppercase; text-anchor: middle; fill: #111; pointer-events: none; }
.slice-nav a:hover path, .slice-nav a:focus path { filter: brightness(.88); }
.slice-nav a:focus { outline: none; }
.slice-nav a:focus-visible path { stroke-width: 8; }

/* ---------- phones and small tablets ---------- */
@media (max-width: 900px) {
  :root { --d: 74vw; --col-left: 16px; --col-right: 16px; }
  body { font-size: 17px; }
  .pie { left: auto; right: -20vw; top: 62px; }
  .scene { --sw: 82vw; left: 9vw; top: 66px; margin-top: 0; height: calc(var(--sw) * .78); }
  body[data-sec="brunch"] .pie-wrap, body[data-sec="coffee"] .pie-wrap, body[data-sec="bar"] .pie-wrap { transform: translate3d(62%, 0, 0) rotate(35deg); }
  .nav-links { display: none; }
  .nav-order { display: none; }
  .order-bar { display: block; }
  .sec { padding-top: 78vw; padding-bottom: 72px; }
  .hero { min-height: 100svh; align-items: flex-end; padding-top: calc(70px + 74vw); padding-bottom: 152px; }
  .cta { display: none; } /* the fixed order bar does this job on phones */
  h1 { font-size: 19vw; }
  h2 { font-size: 24vw; }
  .kicker { font-size: 23px; }
  .cta .btn { flex: 1 1 auto; font-size: 26px; padding: 12px 14px; }
  .band { font-size: 34px; }
  .bar-intro { display: block; }
  .photo-night { width: 170px; }
  .visit-grid { grid-template-columns: 1fr; gap: 16px; }
  /* the pie stays behind the page on phones, so running text gets a solid backing */
  .sec:not(.hero) .lede, .visit-grid, .reviews { position: relative; background: var(--bg); transition: background-color .5s ease; }
  .slice-btn { display: inline-flex; }
  .scores { grid-template-columns: repeat(2, 1fr); }
  .pick { grid-template-columns: 1fr; }
  .pick > img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
  .spin-head .btn { width: 100%; font-size: 28px; min-height: 54px; }
  .thumb { width: 64px; height: 64px; }
  .foot { padding-bottom: 164px; }
  .sheet, .photo, .btn-dark { position: relative; }
  .tab { font-size: 23px; padding: 8px; }
  .item-name { font-size: 26px; }
}
/* wider tablets keep two columns but with a smaller pie */
@media (min-width: 901px) and (max-width: 1180px) {
  .nav-links { margin-left: auto; }
  .nav-right { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band-track { animation: none; }
  body, .sheet, .btn, .opt, .tab, .spin-box, .thumb, .caret { transition: none; }
  .pick { animation: none; }
  .pie-wrap, .dish-item { transition: opacity .3s ease !important; transform: none !important; }
  .dish-item img { animation: none; }
}

/* =====================================================================
   Polish: entrances, scroll reveals, the room gallery, photo viewer
   ===================================================================== */
:root { --out: cubic-bezier(.16, 1, .3, 1); }

/* a whisper of print grain over everything, like their paper menus */
body::after {
  content: ""; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 45; pointer-events: none;
  background: url(../assets/img/grain.png) repeat; opacity: .55;
}

/* first load: the pie rolls in, the hero copy rises line by line */
.js .stage { animation: stage-in 1.5s var(--out) backwards; }
@keyframes stage-in { from { opacity: 0; transform: translate3d(-5vw, 3vh, 0) scale(.94); } }
.js .hero .col > * { animation: rise 1.1s var(--out) backwards; }
.js .hero .col > :nth-child(1) { animation-delay: .25s; }
.js .hero .col > :nth-child(2) { animation-delay: .33s; }
.js .hero .col > :nth-child(3) { animation-delay: .41s; }
.js .hero .col > :nth-child(4) { animation-delay: .52s; }
.js .hero .col > :nth-child(5) { animation-delay: .62s; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 34px, 0); } }
.js .nav { animation: nav-in .9s var(--out) .1s backwards; }
@keyframes nav-in { from { opacity: 0; transform: translate3d(0, -16px, 0); } }

/* blocks ease up as they scroll into view (only when JS can bring them back) */
.js .rv {
  opacity: 0; transform: translate3d(0, 30px, 0);
  transition: opacity .9s var(--out), transform 1.1s var(--out), background-color .5s ease;
  transition-delay: var(--rd, 0s), var(--rd, 0s), 0s;
}
.js .rv.in { opacity: 1; transform: none; }
.js .photo-night.rv { transform: translate3d(0, 30px, 0) rotate(5deg); }
.js .photo-night.rv.in { transform: rotate(2.5deg); }
.js h2.rv { --rd: .06s; }
.js .lede.rv { --rd: .12s; }
.js .sheet.rv, .js .spin-box.rv, .js .visit-grid.rv { --rd: .18s; }

/* dialogs open with a little lift instead of popping */
dialog[open] { animation: dlg-in .42s var(--out); }
dialog[open]::backdrop { animation: fade .3s ease; }
@keyframes dlg-in { from { opacity: 0; transform: translate3d(0, 18px, 0) scale(.97); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- the room: a dark gallery that slides sideways ---------- */
.place { position: relative; z-index: 2; background: var(--black); color: var(--cream); }
.place-pin { display: flex; flex-direction: column; justify-content: center; gap: 30px; padding: 110px 0 56px; }
.place-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 60px; padding: 0 5vw; }
.place-head .kicker { color: var(--pink); }
.place-head h2 { font-size: clamp(78px, 9vw, 150px); }
.place-head .lede { max-width: 26em; margin: 0 0 6px; font-weight: 500; color: rgba(255, 248, 236, .82); }
.place-track { --sh: clamp(260px, min(54vh, calc(100vh - 360px)), 600px); display: flex; gap: 22px; width: max-content; padding: 0 5vw; will-change: transform; }
.shot { flex: none; margin: 0; }
.shot-frame {
  display: block; position: relative; overflow: hidden; padding: 0; margin: 0;
  height: var(--sh); aspect-ratio: var(--ar); border: 0; border-radius: 10px;
  background: #1e1b19; cursor: zoom-in; color: inherit;
}
.shot-frame img {
  position: absolute; top: 0; left: -6%; width: 112%; max-width: none; height: 100%; object-fit: cover;
  transform: translate3d(var(--px, 0px), 0, 0);
  transition: scale .9s var(--out);
}
.shot-frame:hover img { scale: 1.045; }
.shot-frame::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
.shot-frame:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
.shot figcaption { display: flex; gap: 10px; align-items: baseline; margin-top: 12px; font: 700 17px/1.2 "Sofia Sans", sans-serif; color: rgba(255, 248, 236, .78); }
.shot figcaption b, .lb-fig figcaption b { font: 900 19px/1 "Display", sans-serif; color: var(--pink); letter-spacing: .04em; }
.place-foot { display: flex; align-items: center; gap: 18px; padding: 0 5vw; font: 800 18px/1 "Display", sans-serif; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 248, 236, .7); }
.place-bar { flex: 1; height: 2px; background: rgba(255, 248, 236, .16); overflow: hidden; border-radius: 2px; }
.place-bar i { display: block; height: 100%; background: var(--pink); transform-origin: 0 50%; transform: scaleX(var(--p, .125)); }
.place-count { font-variant-numeric: tabular-nums; min-width: 4.6em; }

/* desktop: the section pins and the photos travel past as you scroll down */
.place.is-pinned .place-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; padding-bottom: 5vh; }
/* phones (and reduced motion): a swipeable row that snaps to each photo */
.place:not(.is-pinned) .place-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 5vw; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 4px; }
.place:not(.is-pinned) .place-track::-webkit-scrollbar { display: none; }
.place:not(.is-pinned) .shot { scroll-snap-align: start; }
.place:not(.is-pinned) .place-track::after { content: ""; flex: none; width: 1px; }
.place:not(.is-pinned) .place-hint { display: none; }

/* ---------- photo viewer ---------- */
.lightbox {
  width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; background: transparent; color: var(--cream); overflow: visible;
}
.lightbox::backdrop { background: rgba(8, 6, 5, .92); }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lb-fig img { width: auto; max-width: 100%; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb-fig img.swap { animation: lb-swap .45s var(--out); }
@keyframes lb-swap { from { opacity: 0; transform: translate3d(var(--dir, 0px), 0, 0); } }
.lb-fig figcaption { display: flex; gap: 10px; align-items: baseline; margin-top: 14px; font: 700 18px/1.2 "Sofia Sans", sans-serif; }
.lb-close { position: fixed; top: 14px; right: 14px; color: var(--cream); background: rgba(255, 255, 255, .08); border-radius: 50%; }
.lb-nav {
  position: fixed; top: 50%; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .1); color: var(--cream); font-size: 26px; cursor: pointer;
  transition: background-color .2s ease, transform .2s var(--out);
}
.lb-nav:hover { background: var(--pink); color: var(--black); transform: scale(1.06); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-close:focus-visible, .lb-nav:focus-visible { outline-color: var(--pink); }

.foot-credit { opacity: .8; margin-bottom: 6px; }

@media (max-width: 900px) {
  .place-pin { gap: 22px; padding: 64px 0 48px; }
  .place-head { display: block; padding: 0 16px; }
  .place-head h2 { font-size: 24vw; }
  .place-head .lede { margin-top: 14px; }
  .place-track { gap: 12px; padding: 0 16px; }
  .place:not(.is-pinned) .place-track { scroll-padding: 0 16px; }
  .shot-frame { height: auto; width: 80vw; aspect-ratio: 4 / 5; }
  .shot figcaption { font-size: 15px; }
  .place-foot { padding: 0 16px; }
  .lb-nav { top: auto; bottom: 18px; margin-top: 0; }
  .lb-fig img { max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); }
}

@media (prefers-reduced-motion: reduce) {
  .js .stage, .js .hero .col > *, .js .nav, dialog[open], dialog[open]::backdrop, .lb-fig img.swap { animation: none; }
  .js .rv, .js .photo-night.rv { opacity: 1; transform: none; transition: none; }
  .shot-frame img { transition: none; }
}

/* ---------- older and touch devices ---------- */
/* touch screens: no hover lifts that stay stuck after a tap */
@media (hover: none) {
  .btn:hover, .opt:hover, .lb-nav:hover { transform: none; box-shadow: none; }
  .item-btn:hover { background: none; }
  .item-btn:hover .thumb { transform: none; }
  .shot-frame:hover img { scale: none; }
  .btn:active, .opt:active { transform: translate(1px, 1px); }
}
/* browsers without aspect-ratio (Safari before 15) */
@supports not (aspect-ratio: 1 / 1) {
  .shot-frame { width: calc(var(--sh) * var(--arn)); }
  .pick > img { height: 220px; }
}
@media (max-width: 900px) {
  @supports not (aspect-ratio: 1 / 1) { .shot-frame { width: 80vw; height: 100vw; } }
}
/* the <dialog> stand-in from main.js */
.no-dialog dialog { display: none; }
.no-dialog dialog[open] {
  display: block; position: fixed; z-index: 101; top: 50%; left: 50%; right: auto; bottom: auto; margin: 0;
  -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); animation: none;
  max-height: 90vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.dlg-shade { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100; background: rgba(10, 0, 0, .8); }
.dlg-shade.on { display: block; }

/* search found nothing here, but another section has it */
.elsewhere { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 14px 20px; margin-top: -8px; }
.elsewhere p { flex: 1 0 100%; margin: 0 0 2px; text-align: center; font-size: 15px; font-weight: 600; }
.jump {
  min-height: 44px; padding: 6px 14px; cursor: pointer;
  font: 800 21px/1 "Display", sans-serif; text-transform: uppercase; letter-spacing: .02em;
  color: #fff; background: var(--black); border: 2px solid var(--black); border-radius: 22px;
}
.jump:hover { background: var(--red); border-color: var(--red); }

/* phones turned sideways: too short for the pie above the text, so the content comes first */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .stage { display: none; }
  .sec, .hero { padding-top: 84px; }
  .hero { min-height: 0; padding-bottom: 156px; }
  .cta { display: none; }
  h1 { font-size: 10.5vw; }
  h2, .place-head h2 { font-size: 12vw; }
  .place-pin { padding-top: 84px; }
  .shot-frame { width: auto; height: 62vh; aspect-ratio: var(--ar); }
}
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  @supports not (aspect-ratio: 1 / 1) { .shot-frame { width: calc(62vh * var(--arn)); height: 62vh; } }
}
