/* Cormorant Garamond 600, cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Cormorant Garamond 600, latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cormorant Garamond 600, latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope 400 700, cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/manrope-var-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Manrope 400 700, latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/manrope-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Manrope 400 700, latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/manrope-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Restaurant Istar — styles for the public pages.
   Everything floats on "the sea" (fluid.js): one melted gradient coloured by
   the dish in focus. Glass panels, plates that break out of them, one loud
   black pill for calls. Design: docs/superpowers/specs/2026-12-01-…-design.md
   No inline styles anywhere: the Content-Security-Policy forbids them.
   ========================================================================== */

:root {
  --ink: #17110c;
  --ink-2: rgba(23, 17, 12, 0.76);
  --smoke: rgba(74, 62, 50, 0.2);
  --tile: rgba(255, 252, 247, 0.34);
  --edge: rgba(255, 255, 255, 0.46);
  --pill: #0e0b08;
  --pill-ink: #fff;
  --glass: rgba(250, 244, 236, 0.56);
  --ground: #d9c9b4;
  --hover: rgba(255, 255, 255, 0.26);

  --font-name: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;   /* the restaurant's name only */
  --font-body: Manrope, 'Segoe UI', system-ui, -apple-system, sans-serif;

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --max: 1360px;
  --bar: 72px;
  --out: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: linear(0, 0.009, 0.035 2.1%, 0.141, 0.281 6.7%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1.004 83.8%, 1);
}
/* Sushi was shot on black: the lights go down. */
.night {
  --ink: #f8f1e7;
  --ink-2: rgba(248, 241, 231, 0.78);
  --smoke: rgba(255, 255, 255, 0.07);
  --tile: rgba(255, 255, 255, 0.05);
  --edge: rgba(255, 255, 255, 0.16);
  --pill: #f8f1e7;
  --pill-ink: #17110c;
  --glass: rgba(30, 27, 26, 0.64);
  --ground: #100e0e;
  --hover: rgba(255, 255, 255, 0.1);
}

/* The sea's colours for the stand-in gradient; registered so they can fade. */
@property --sea-1 { syntax: '<color>'; inherits: true; initial-value: #f0c9a8; }
@property --sea-2 { syntax: '<color>'; inherits: true; initial-value: #d9d8a0; }
@property --sea-3 { syntax: '<color>'; inherits: true; initial-value: #f1dfc6; }
@property --sea-4 { syntax: '<color>'; inherits: true; initial-value: #a3bfc6; }

/* ---- Base ---- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 110px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/1.5 var(--font-body);
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
  transition: background-color 0.8s, color 0.5s;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; text-align: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
main { overflow-x: clip; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 14px 20px;
  border-radius: 24px;
  background: var(--pill);
  color: var(--pill-ink);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }
.icon { flex: none; }

/* Stands in until the sea starts. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(60% 80% at 10% 14%, var(--sea-3), transparent),
    radial-gradient(70% 90% at 62% 36%, var(--sea-4), transparent),
    radial-gradient(60% 70% at 96% 88%, var(--sea-1), transparent),
    radial-gradient(80% 80% at 8% 96%, var(--sea-2), transparent),
    var(--ground);
  transition: --sea-1 1.2s, --sea-2 1.2s, --sea-3 1.2s, --sea-4 1.2s;
}
.sea { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s; }
.sea.is-on { opacity: 1; }
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Buttons ---- */

/* Call buttons: solid, never a gradient (owner's choice). One square corner, like a label clipped to the glass. */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 60px;
  padding: 8px 8px 8px 26px;
  border-radius: 30px 30px 30px 4px;
  background: var(--pill);
  color: var(--pill-ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 34px -14px rgba(20, 12, 4, 0.55);
  transition: transform 0.35s var(--out), background-color 0.5s, color 0.5s;
}
.pill small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; opacity: 0.78; }
.pill__dot {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pill-ink);
  color: var(--pill);
  transition: transform 0.5s var(--spring);
}
.soft, .ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 28px;
  border-radius: 30px;
  font-weight: 700;
  transition: transform 0.35s var(--out), background-color 0.25s;
}
.soft { background: var(--tile); box-shadow: inset 0 1px 0 var(--edge), inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
}
.pill:active, .soft:active, .ghost:active { transform: scale(0.97); transition-duration: 0.1s; }
@media (hover: hover) {
  .pill:hover .pill__dot { transform: scale(1.12) rotate(-12deg); }
  .soft:hover { background: var(--hover); }
  .ghost:hover { background: rgba(255, 255, 255, 0.28); }
}

/* ---- Header ---- */

.bar {
  position: fixed;
  z-index: 40;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: 50%;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(var(--max), 100% - 2 * var(--gutter));
  height: var(--bar);
  padding: 0 14px 0 28px;
  border-radius: 36px;
  background: var(--glass);
  box-shadow: inset 0 1px 0 var(--edge), inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 14px 30px -20px rgba(30, 18, 6, 0.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.7);
  backdrop-filter: blur(24px) saturate(1.7);
  transition: background-color 0.5s, color 0.4s, transform 0.6s var(--out);
}
.bar.on-photo { color: #fff; background: rgba(24, 16, 8, 0.3); }
.tuck .bar { transform: translateY(calc(-40px - var(--bar))); }
.mark { display: block; flex: none; }
.logo { width: auto; height: 56px; overflow: visible; }
.bar__nav { display: flex; gap: 4px; margin-left: auto; }
.bar__nav a { padding: 10px 16px; border-radius: 22px; font-weight: 600; font-size: 15px; transition: background-color 0.2s; }
.bar__nav a[aria-current] { background: var(--hover); }
@media (hover: hover) { .bar__nav a:hover { background: var(--hover); } }
.langs { display: flex; font-size: 13px; font-weight: 700; }
.langs a { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 22px; }
.langs a[aria-current] { background: var(--pill); color: var(--pill-ink); }
.bar.on-photo .langs a[aria-current] { background: #fff; color: #17110c; }
@media (hover: hover) { .langs a:not([aria-current]):hover { background: var(--hover); } }
.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; border-radius: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__close { display: block; }

/* ---- Footer ---- */

.site-footer {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin: 0 auto;
  padding: 110px 0 60px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: 'logo contact nav' 'logo meta meta';
  gap: 24px 72px;
  align-items: start;
}
.site-footer .mark { grid-area: logo; }
.site-footer .logo { height: 148px; }
.site-footer__nav { grid-area: nav; display: grid; justify-items: start; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.site-footer__contact { grid-area: contact; display: grid; gap: 6px; padding-top: 8px; font-style: normal; max-width: 32em; }
.site-footer__phone { font-weight: 700; }
.site-footer__meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 14px; color: var(--ink-2); }
.site-footer__langs { display: inline-flex; gap: 4px; }
.site-footer__langs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; text-decoration: underline; text-underline-offset: 4px; }
.site-footer__langs a[aria-current] { text-decoration: none; font-weight: 700; }
.site-footer__credit a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) { .site-footer__nav a:hover, .site-footer__phone:hover { text-decoration: underline; text-underline-offset: 5px; } }

/* ---- Sticky call bar (phones) ---- */

.call-bar {
  position: fixed;
  z-index: 39;
  right: 14px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateY(calc(100% + 40px));
  visibility: hidden;
  transition: transform 0.6s var(--out), visibility 0s 0.6s;
}
.call-bar.is-visible { transform: none; visibility: visible; transition: transform 0.6s var(--out); }
@media (min-width: 900px) { .call-bar { display: none; } }

/* ---- Simple pages (404) ---- */

.simple-page { width: min(720px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 190px 0 60px; display: grid; gap: 22px; justify-items: start; }
.simple-page h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1; letter-spacing: -0.045em; }
.simple-page p { font-size: 19px; color: var(--ink-2); }
.simple-page__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

/* ==========================================================================
   Allergen badges (spec §7.2): fill colour + number colour per allergen.
   Kept in step with src/Menu/Allergens.php (MenuPageTest checks it).
   ========================================================================== */

.al {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 11px;
  background: var(--al);
  color: var(--al-text);
  box-shadow: inset 0 0 0 1px rgba(23, 20, 17, 0.18);
  font: 700 12px/1 var(--font-body);
  font-variant-numeric: tabular-nums;
}
.al-1 { --al: #B7791F; --al-text: #171411; }
.al-2 { --al: #C93F24; --al-text: #FFFFFF; }
.al-3 { --al: #F2C230; --al-text: #171411; }
.al-4 { --al: #1F5FA8; --al-text: #FFFFFF; }
.al-5 { --al: #7A4B26; --al-text: #FFFFFF; }
.al-6 { --al: #5F7A2E; --al-text: #FFFFFF; }
.al-7 { --al: #9CCBEA; --al-text: #171411; }
.al-8 { --al: #D4A373; --al-text: #171411; }
.al-9 { --al: #24773A; --al-text: #FFFFFF; }
.al-10 { --al: #C9A227; --al-text: #171411; }
.al-11 { --al: #E3CFA6; --al-text: #171411; }
.al-12 { --al: #7E2F6B; --al-text: #FFFFFF; }
.al-13 { --al: #6B5CC0; --al-text: #FFFFFF; }
.al-14 { --al: #137F7F; --al-text: #FFFFFF; }
.al-list { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.al-list { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }

/* ==========================================================================
   Menu page
   ========================================================================== */

.page-menu main { padding-top: calc(28px + var(--bar)); }

/* ---- Categories ---- */

.cats {
  position: sticky;
  z-index: 30;
  top: calc(24px + var(--bar));
  width: fit-content;
  max-width: min(var(--max), 100% - 2 * var(--gutter));
  margin: 0 auto;
  border-radius: 27px;
  overflow: hidden;
  background: var(--glass);
  box-shadow: inset 0 1px 0 var(--edge), inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 14px 30px -20px rgba(30, 18, 6, 0.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.7);
  backdrop-filter: blur(24px) saturate(1.7);
  transition: background-color 0.6s, top 0.6s var(--out);
}
.tuck .cats { top: calc(14px + env(safe-area-inset-top, 0px)); }
.cats__track {
  --l: 0px;
  --r: 0px;
  position: relative;
  display: flex;
  padding: 5px;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--l) calc(100% - var(--r)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--l) calc(100% - var(--r)), transparent);
}
.cats__track::-webkit-scrollbar { display: none; }
.cats__track.is-l { --l: 54px; }
.cats__track.is-r { --r: 54px; }
.cats__link {
  position: relative;
  z-index: 1;
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.3s;
}
.js .cats__link[aria-current] { color: var(--pill-ink); }
.cats__blob {
  position: absolute;
  left: 0;
  top: 5px;
  height: 44px;
  border-radius: 22px;
  background: var(--pill);
  transition: transform 0.55s var(--out), width 0.55s var(--out), background-color 0.5s, opacity 0.3s;
}
.cats.is-idle .cats__blob { opacity: 0; }

/* ---- The stage ---- */

.stage {
  position: relative;
  width: min(var(--max), 100% - 2 * var(--gutter));
  display: grid;
  min-height: clamp(520px, 100svh - 280px, 680px);
  margin: 66px auto 0;
}
.stage.is-off { display: none; }
/* Text and price are in the flow, so a long name plus a row of allergens can never run into the price. */
.stage__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 54px 64px 138px;
  border-radius: 56px;
  background: var(--smoke);
  box-shadow: inset 0 1.5px 0 var(--edge), inset 0 0 0 1px rgba(255, 255, 255, 0.13), inset 0 -60px 90px -60px rgba(30, 18, 6, 0.2), 0 50px 90px -50px rgba(40, 24, 8, 0.5);
  transition: background-color 0.8s;
}
.stage__text { width: 43%; display: grid; }
.stage__text > div { grid-area: 1 / 1; display: grid; align-content: start; gap: min(22px, 2.2svh); }
.stage__name { font-weight: 700; font-size: clamp(40px, min(5.1vw, 8.2svh), 82px); line-height: 0.98; letter-spacing: -0.05em; text-wrap: balance; overflow-wrap: break-word; }
.stage__name.is-m { font-size: clamp(34px, min(4vw, 6.6svh), 62px); line-height: 1.02; letter-spacing: -0.045em; }
.stage__name.is-s { font-size: clamp(30px, 2.9vw, 44px); line-height: 1.06; letter-spacing: -0.035em; }
.stage__name.is-xs { font-size: clamp(25px, 2.2vw, 33px); line-height: 1.12; letter-spacing: -0.03em; }
.stage__desc { max-width: 27em; font-size: 18px; font-weight: 500; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px 0 5px; border-radius: 16px; background: rgba(255, 255, 255, 0.34); font-size: 14px; font-weight: 600; }
.night .chip { background: rgba(255, 255, 255, 0.1); }
.stage__foot { display: flex; align-items: center; gap: 26px; width: 43%; margin-top: auto; padding-top: 18px; }
.stage__price { display: grid; }
.stage__price > div { grid-area: 1 / 1; white-space: nowrap; }
.stage__price b { font-size: 34px; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.stage__price span { margin-left: 14px; font-weight: 600; color: var(--ink-2); }
.stage__nav { display: flex; gap: 8px; }
.stage__nav button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--hover);
  box-shadow: inset 0 1px 0 var(--edge);
  transition: transform 0.3s var(--out), background-color 0.2s;
}
.stage__nav button:active { transform: scale(0.9); transition-duration: 0.08s; }
@media (hover: hover) {
  .stage__nav button:hover { background: rgba(255, 255, 255, 0.44); }
  .night .stage__nav button:hover { background: rgba(255, 255, 255, 0.2); }
}
.stage__rail {
  position: absolute;
  left: 44px;
  bottom: 14px;
  width: 46%;
  height: 112px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  padding: 0 20px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34px calc(100% - 60px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 34px calc(100% - 60px), transparent);
}
.stage__rail::-webkit-scrollbar { display: none; }
.stage__rail button { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 26px; transition: background-color 0.4s; }
.stage__rail img { width: 56px; height: 56px; object-fit: contain; pointer-events: none; transition: transform 0.6s var(--spring); }
.stage__rail button[aria-current] { background: rgba(255, 255, 255, 0.3); }
.night .stage__rail button[aria-current] { background: rgba(255, 255, 255, 0.1); }
.stage__rail button[aria-current] img { transform: translateY(-15px) scale(1.34); }
.stage__rail button:focus-visible { outline-offset: -4px; }
@media (hover: hover) { .stage__rail button:not([aria-current]):hover img { transform: translateY(-5px) scale(1.12); } }

.stage__plates {
  position: absolute;
  right: -40px;
  top: -60px;
  bottom: -40px;
  width: 58%;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  perspective: 1400px;
}
.stage__plates:active { cursor: grabbing; }
.plate { position: absolute; left: 0; top: 0; will-change: transform, opacity; pointer-events: none; }
.plate__tilt { width: 100%; height: 100%; }
.plate img { width: 100%; height: 100%; object-fit: contain; }
.plate.is-solid img { width: 86%; height: auto; margin: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 48px; }
.plate.is-solid .plate__tilt { display: grid; place-items: center; }
/* Before the script: the first plate, roughly where the script will put it. */
.plate--first { inset: 0 3% 4%; display: grid; place-items: center; }
.plate--first .plate__tilt { height: 98%; }
.stage__bits { position: absolute; inset: 0; pointer-events: none; }
.bit { position: absolute; will-change: transform; filter: drop-shadow(0 18px 14px rgba(40, 22, 6, 0.32)); }
.bit--near { filter: blur(6px); opacity: 0.82; }
.stage__cta { position: absolute; z-index: 3; right: max(-26px, calc((var(--max) - 100vw) / 2 + 10px)); bottom: 38px; }
.flyer { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; object-fit: contain; transform-origin: 0 0; will-change: transform; }

/* ---- The list ---- */

.list { position: relative; width: min(var(--max), 100% - 2 * var(--gutter)); margin: 0 auto; padding-top: 110px; }
.find {
  position: absolute;
  right: 0;
  top: 114px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 360px;
  height: 56px;
  padding: 0 20px;
  border-radius: 28px;
  background: var(--tile);
  box-shadow: inset 0 1px 0 var(--edge);
}
.find:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.find input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: inherit; font: 500 16px var(--font-body); outline: none; }
.find input::placeholder { color: var(--ink-2); opacity: 1; }
.cat { display: none; }
/* Arriving at /menu#sushi: the browser would scroll past the stage. Its top is what we want. */
.js .cat { scroll-margin-top: 4000px; }
.cat.is-current, .cat:target { display: block; }
.js .cat:target:not(.is-current), .list.is-searching .cat { display: none; }
.cat__title { min-height: 64px; margin-bottom: 84px; padding-right: 400px; font-size: clamp(32px, 4.4vw, 64px); font-weight: 700; line-height: 1.02; letter-spacing: -0.04em; }
.cat__title:focus { outline: none; }
.group { margin-top: 90px; }
.group__title { margin-bottom: 72px; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.035em; line-height: 1.05; }
.group__title small, .tile__title small { margin-left: 8px; font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.bento { display: grid; gap: 56px; }
.bento + .bento { margin-top: 18px; }
.bento__row, .found__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 318px; gap: 56px 18px; }
.found__grid > .tile--list { grid-column: 1 / -1; grid-row-end: auto; align-self: start; }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: 24px;
  border-radius: 38px;
  background: linear-gradient(var(--tint, transparent), var(--tint, transparent)), var(--tile);
  box-shadow: inset 0 1.5px 0 var(--edge), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.5s var(--out), background-color 0.8s;
}
.js .tile[data-dish] { cursor: pointer; }
.tile[data-dish]::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.42), transparent 70%);
  transition: opacity 0.4s;
}
.night .tile[data-dish]::before, .tile--dark[data-dish]::before { background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.12), transparent 70%); }
.tile--dark { --ink: #f8f1e7; --ink-2: rgba(248, 241, 231, 0.78); --edge: rgba(255, 255, 255, 0.16); color: var(--ink); background: rgba(17, 14, 13, 0.88); }
.tile__hit { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.tile__plate { position: absolute; left: 50%; top: -42px; width: 88%; height: 214px; translate: -50% 0; pointer-events: none; perspective: 900px; }
.tile__plate.is-long { top: -18px; width: 106%; height: 196px; }
.tile__plate img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.7s var(--out); will-change: transform; }
.tile--solid .tile__plate { top: 12px; width: calc(100% - 24px); height: 158px; }
.tile--solid .tile__plate img { object-fit: cover; border-radius: 28px; }
.tile__name { position: relative; font-size: 20px; font-weight: 700; line-height: 1.14; letter-spacing: -0.028em; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tile__desc { position: relative; margin-top: 5px; font-size: 14px; font-weight: 500; line-height: 1.42; color: var(--ink-2); overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tile .al-list { position: relative; margin-top: 8px; }
.tile__foot { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.tile__price { margin-left: auto; font-size: 19px; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile--long .tile__name { font-size: 17px; -webkit-line-clamp: 4; }
.tile--long .tile__desc { display: none; }
/* Allergens take a line: one line less for the description, and a slightly smaller plate. */
.tile:has(> .al-list) .tile__desc { -webkit-line-clamp: 1; }
.tile:has(> .al-list) .tile__plate { height: 190px; }
.tile--solid:has(> .al-list) .tile__plate { height: 132px; }
@media (hover: hover) {
  .tile[data-dish]:hover { transform: translateY(-6px); }
  .tile[data-dish]:hover::before { opacity: 1; }
  .tile:hover .tile__plate img { transform: translateY(-10px) rotate(calc(var(--rz, 0) * 1deg)) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)) scale(1.07); transition-duration: 0.25s; }
  .tile--solid:hover .tile__plate img { transform: scale(1.02); }
}
.tile[data-dish]:active { transform: scale(0.985); transition-duration: 0.1s; }

/* Price lists: dishes without a photo, and drinks. */
.tile--list { justify-content: flex-start; padding: 34px 36px; }
.tile__title { margin-bottom: 12px; font-size: 27px; line-height: 1.1; letter-spacing: -0.035em; }
.rows { margin: 0; padding: 0; list-style: none; column-gap: 56px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 2px 14px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); break-inside: avoid; }
.row__name { grid-column: 1; font-weight: 600; line-height: 1.3; }
.row__weight { grid-column: 2; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.row__price { grid-column: 3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row__desc, .row .al-list { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }

.next {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 190px;
  margin-top: 76px;
  padding: 34px 46px;
  border-radius: 48px;
  background: var(--smoke);
  box-shadow: inset 0 1.5px 0 var(--edge);
  transition: transform 0.5s var(--out);
}
.next small { display: block; font-size: 16px; font-weight: 600; color: var(--ink-2); }
.next b { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.045em; }
.next img { position: absolute; right: 5%; top: -40px; width: 34%; height: calc(100% + 76px); object-fit: contain; pointer-events: none; transition: transform 0.8s var(--out); }
.next:active { transform: scale(0.99); transition-duration: 0.1s; }
@media (hover: hover) { .next:hover img { transform: translateX(-18px) rotate(-7deg) scale(1.05); } }

.found__none { display: grid; justify-items: start; gap: 18px; font-size: 20px; }
.legend { margin-top: 60px; border-radius: 38px; background: var(--tile); box-shadow: inset 0 1.5px 0 var(--edge); }
.legend summary { display: flex; align-items: center; min-height: 72px; padding: 0 36px; border-radius: 38px; font-size: 20px; font-weight: 700; letter-spacing: -0.025em; cursor: pointer; list-style: none; }
.legend summary::-webkit-details-marker { display: none; }
.legend summary::after { content: '+'; margin-left: auto; font-size: 30px; font-weight: 400; transition: rotate 0.4s var(--out); }
.legend[open] summary::after { rotate: 45deg; }
.legend__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px 24px; margin: 0; padding: 0 36px 32px; list-style: none; }
.legend__list li { display: flex; align-items: center; gap: 10px; }
.list__note { margin: 24px 36px 0; font-size: 14px; color: var(--ink-2); }
.back {
  position: fixed;
  z-index: 35;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px 0 20px;
  border-radius: 26px;
  font-weight: 700;
  background: var(--glass);
  box-shadow: inset 0 1px 0 var(--edge), 0 16px 34px -16px rgba(30, 18, 6, 0.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.7);
  backdrop-filter: blur(24px) saturate(1.7);
  animation: rise 0.5s var(--out);
}
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(0.94); } }
.menu-unavailable { width: min(720px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 120px 0; display: grid; gap: 24px; justify-items: start; font-size: 22px; }

/* ---- Bento sizes (wide screens) ---- */

@media (min-width: 900px) {
  .back { left: 66%; }
  .bento__row--bigl > :nth-child(1) { grid-area: 1 / 1 / 3 / 3; }
  .bento__row--bigr > :nth-child(1) { grid-area: 1 / 1; }
  .bento__row--bigr > :nth-child(2) { grid-area: 1 / 2; }
  .bento__row--bigr > :nth-child(3) { grid-area: 1 / 3 / 3 / 5; }
  .bento__row--bigr > :nth-child(4) { grid-area: 2 / 1; }
  .bento__row--bigr > :nth-child(5) { grid-area: 2 / 2; }
  .bento__row--widel > :nth-child(1), .bento__row--wider > :nth-child(3), .bento__row--two > * { grid-column: span 2; }
  .bento__row--full > *, .bento__row--listfull > * { grid-column: 1 / -1; }
  .bento__row--listfull { grid-auto-rows: auto; }
  .bento__row--list1 > .tile--list { grid-area: 1 / 3 / 2 / 5; }
  .bento__row--list2 > .tile--list { grid-area: 1 / 3 / 3 / 5; }
  .bento__row--list1 > .tile--list, .bento__row--list2 > .tile--list { overflow: auto; }
  .bento__row--list1 > .tile--list { padding: 26px 32px; }
  .bento__row--list1 .row { padding: 8px 0; }
  .rows--2 { columns: 2; }
  .rows--3 { columns: 3; }

  .tile--big { padding: 36px; }
  .tile--big .tile__plate, .tile--big .tile__plate.is-long, .tile--big:has(> .al-list) .tile__plate { top: -64px; width: 104%; height: 490px; }
  .tile--big .tile__name { font-size: clamp(30px, 2.7vw, 42px); line-height: 1.03; letter-spacing: -0.04em; -webkit-line-clamp: 3; }
  .tile--big .tile__desc { max-width: 30em; margin-top: 10px; font-size: 16px; -webkit-line-clamp: 3; }
  .tile--big .tile__foot { margin-top: 16px; font-size: 16px; }
  .tile--big .tile__price { font-size: 27px; }
  .tile--big.tile--long .tile__name { font-size: 25px; }
  .tile--big.tile--solid .tile__plate, .tile--big.tile--solid:has(> .al-list) .tile__plate { top: 16px; width: calc(100% - 32px); height: 400px; }
  .tile--big:has(> .al-list) .tile__desc, .tile--wide:has(> .al-list) .tile__desc, .tile--full:has(> .al-list) .tile__desc { -webkit-line-clamp: 2; }

  .tile--wide, .tile--full { padding: 32px 50% 30px 34px; }
  .tile--wide .tile__plate, .tile--wide .tile__plate.is-long, .tile--full .tile__plate, .tile--full .tile__plate.is-long, .tile--wide:has(> .al-list) .tile__plate, .tile--full:has(> .al-list) .tile__plate { left: auto; right: -14px; top: -46px; width: 56%; height: calc(100% + 66px); translate: none; }
  .tile--wide .tile__name, .tile--full .tile__name { font-size: 27px; letter-spacing: -0.035em; -webkit-line-clamp: 3; }
  .tile--wide.tile--long .tile__name, .tile--full.tile--long .tile__name { font-size: 19px; -webkit-line-clamp: 6; }
  .tile--wide .tile__desc, .tile--full .tile__desc { font-size: 15px; -webkit-line-clamp: 4; }
  .tile--wide .tile__foot, .tile--full .tile__foot { justify-content: flex-start; gap: 18px; }
  .tile--wide .tile__price, .tile--full .tile__price { order: -1; margin: 0; font-size: 24px; }
  .tile--wide.tile--solid .tile__plate, .tile--wide.tile--solid:has(> .al-list) .tile__plate { right: 14px; top: 14px; width: 46%; height: calc(100% - 28px); }
  .tile--full { padding-right: 56%; }
  .tile--full .tile__plate { right: 4%; width: 46%; }
}
@media (max-width: 1400px) { .stage__cta { right: -10px; } }
@media (min-width: 900px) and (max-width: 1180px) {
  .bento__row, .found__grid { grid-auto-rows: 336px; }
  .stage__panel { padding-left: 44px; }
  .stage__text, .stage__foot { width: 45%; }
  .stage__rail { left: 24px; }
  .tile { padding: 20px; }
  .tile__name { font-size: 18px; }
  .site-footer__inner { gap: 24px 40px; }
  .place__info { padding: 44px 40px; }
  .take { padding-left: 44px; }
}

/* ---- Phones and small tablets ---- */

@media (max-width: 899px) {
  :root { --gutter: max(18px, env(safe-area-inset-left, 0px)); --bar: 60px; }
  .bar { padding: 0 8px 0 20px; gap: 4px; border-radius: 30px; }
  .bar .logo { height: 44px; }
  .langs { margin-left: auto; }
  .nav-toggle { display: grid; }
  .bar__nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    margin: 0;
    padding: 10px;
    border-radius: 34px;
    color: #17110c;
    background: rgba(250, 244, 236, 0.97);
    box-shadow: 0 24px 50px -20px rgba(30, 18, 6, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px) scale(0.97);
    transform-origin: 90% 0;
    transition: opacity 0.2s, transform 0.4s var(--out), visibility 0s 0.4s;
  }
  .nav-open .bar__nav { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.4s var(--out); }
  .bar__nav a { display: flex; align-items: center; min-height: 56px; padding: 0 20px; border-radius: 26px; font-size: 20px; font-weight: 700; letter-spacing: -0.025em; }
  .bar__nav a[aria-current] { background: rgba(23, 17, 12, 0.08); }
  .tuck .bar:not(.nav-open) { transform: translateY(calc(-40px - var(--bar))); }
  .tuck .bar.nav-open { transform: none; }

  .site-footer { padding: 72px 0 60px; }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'logo' 'contact' 'nav' 'meta'; gap: 22px; }
  .site-footer .logo { height: 110px; }
  .has-call-bar .site-footer { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
  .page-menu .site-footer { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }

  /* Categories: a dock at the thumb. */
  .cats, .tuck .cats { position: fixed; top: auto; left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: auto; max-width: none; border-radius: 30px; }
  .cats__track { padding: 6px; }
  .cats__link { min-height: 48px; border-radius: 24px; }
  .cats__blob { top: 6px; height: 48px; border-radius: 24px; }

  .stage { display: block; width: min(520px, 100% - 2 * 22px); min-height: 0; margin-top: 34px; padding-bottom: 8px; }
  .stage__panel { min-height: 570px; padding: min(77vw, 390px) 28px 34px; border-radius: 46px; }
  .stage__text { width: auto; min-height: 158px; }
  .stage__text > div { gap: 10px; }
  .stage__name { font-size: clamp(36px, 10.4vw, 48px); letter-spacing: -0.045em; }
  .stage__name.is-m { font-size: clamp(30px, 8.4vw, 38px); }
  .stage__name.is-s { font-size: clamp(24px, 6.6vw, 30px); }
  .stage__name.is-xs { font-size: 21px; line-height: 1.16; }
  .stage__desc { font-size: 16px; line-height: 1.45; }
  .stage__foot { width: auto; min-height: 76px; padding-top: 16px; }
  .stage__nav { display: none; }
  .stage__price b { font-size: 30px; }
  .stage__price span { display: block; margin: 4px 0 0; }
  .stage__rail { position: static; order: 3; width: auto; height: 100px; margin: 14px -22px -24px; padding: 0 16px 8px; }
  .stage__plates { left: -22px; right: -22px; top: -40px; bottom: auto; width: auto; height: min(98vw, 440px); }
  .stage__cta { right: -12px; bottom: 146px; min-height: 58px; padding-left: 22px; }
  .pill { font-size: 15px; }

  .list { padding-top: 56px; }
  .find { position: relative; top: auto; width: 100%; margin-bottom: 36px; }
  .cat__title { min-height: 0; margin-bottom: 62px; padding: 0; }
  .group { margin-top: 70px; }
  .group__title { margin-bottom: 58px; }
  .bento, .found__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 48px 12px; }
  .bento__row { display: contents; }
  .tile { min-height: 270px; padding: 132px 16px 18px; border-radius: 30px; }
  .tile__plate, .tile:has(> .al-list) .tile__plate { top: -34px; width: 106%; height: 160px; }
  .tile__plate.is-long { top: -14px; height: 140px; }
  .tile__name { font-size: 17px; -webkit-line-clamp: 4; }
  .tile--long .tile__name { font-size: 15px; -webkit-line-clamp: 7; }
  .tile__desc, .tile:has(> .al-list) .tile__desc { font-size: 13px; -webkit-line-clamp: 3; }
  .tile__foot { font-size: 13px; }
  .tile__price { font-size: 17px; }
  .tile--solid .tile__plate, .tile--solid:has(> .al-list) .tile__plate { top: 10px; width: calc(100% - 20px); height: 112px; }
  .tile--solid .tile__plate img { border-radius: 22px; }
  .tile--m { grid-column: 1 / -1; padding: min(74vw, 320px) 24px 24px; }
  .tile--m .tile__plate, .tile--m .tile__plate.is-long, .tile--m:has(> .al-list) .tile__plate { top: -48px; width: 100%; height: min(84vw, 370px); }
  .tile--m .tile__name { font-size: 28px; letter-spacing: -0.035em; }
  .tile--m.tile--long .tile__name { font-size: 22px; }
  .tile--m .tile__desc { font-size: 15px; -webkit-line-clamp: 4; }
  .tile--m .tile__price { font-size: 24px; }
  .tile--m.tile--solid .tile__plate, .tile--m.tile--solid:has(> .al-list) .tile__plate { top: 14px; width: calc(100% - 28px); height: min(66vw, 290px); }
  .tile--list { grid-column: 1 / -1; min-height: 0; padding: 28px 24px; }
  .next { min-height: 150px; margin-top: 60px; padding: 26px; border-radius: 38px; }
  .next img { right: -4%; width: 46%; }
  .next__text { max-width: 60%; }
  .back { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); white-space: nowrap; }
  .legend summary { padding: 0 24px; }
  .legend__list { padding: 0 24px 26px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list__note { margin: 20px 4px 0; }
  .simple-page { padding-top: 150px; }
}

/* ==========================================================================
   Homepage
   ========================================================================== */

.h2 { font-size: clamp(32px, 4.4vw, 64px); font-weight: 700; line-height: 1.02; letter-spacing: -0.04em; }
.h2--s { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.03em; }

/* Square at the top of the page; the bottom corners round off as you scroll (--round: 0 to 1, home.js). */
.hero { position: relative; height: max(600px, 100svh); overflow: hidden; border-radius: 0 0 calc(56px * var(--round, 0)) calc(56px * var(--round, 0)); color: #fff; background: #17110c; isolation: isolate; }
.hero__scenes, .hero__shade { position: absolute; inset: 0; }
.hero__scenes { z-index: 0; isolation: isolate; }
.hero__scene { position: absolute; inset: 0; overflow: hidden; visibility: hidden; }
.hero__scene.is-on { visibility: visible; }
.hero__scene img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  z-index: 1;
  background:
    linear-gradient(to top, rgba(14, 8, 3, 0.84) 0%, rgba(14, 8, 3, 0.52) 32%, rgba(14, 8, 3, 0) 66%),
    linear-gradient(to bottom, rgba(14, 8, 3, 0.4), rgba(14, 8, 3, 0) 22%);
}
.hero__content { position: absolute; z-index: 1; left: 50%; translate: -50% 0; bottom: clamp(40px, 7vh, 84px); width: min(var(--max), 100% - 2 * var(--gutter)); }
.hero__title { margin-left: -0.04em; font: 600 clamp(62px, 10.2vw, 168px)/0.84 var(--font-name); letter-spacing: -0.03em; }
.hero__text { max-width: 33em; margin: clamp(26px, 2.9vw, 50px) 0 28px; font-size: clamp(16px, 1.25vw, 19px); color: rgba(255, 255, 255, 0.92); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .pill { --pill: #fff; --pill-ink: #17110c; }
.hero :focus-visible { outline-color: #fff; }
.hero__thumbs {
  position: absolute;
  z-index: 1;
  right: max(var(--gutter), calc(50% - var(--max) / 2));
  bottom: clamp(40px, 7vh, 84px);
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
}
.hero__thumbs button { position: relative; width: 74px; height: 74px; border-radius: 25px; overflow: hidden; transition: width 0.6s var(--out); }
.hero__thumbs button[aria-pressed='true'] { width: 148px; }
.hero__thumbs img { position: absolute; left: 50%; top: 0; width: 148px; max-width: none; height: 100%; object-fit: cover; translate: -50% 0; }
.hero__thumbs i { position: absolute; left: 10px; right: 10px; bottom: 9px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.34); overflow: hidden; opacity: 0; transition: opacity 0.3s; }
.hero__thumbs i::after { content: ''; display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.hero__thumbs button[aria-pressed='true'] i { opacity: 1; }
.js .hero__thumbs button[aria-pressed='true'] i::after { animation: fill 6s linear forwards; }
@keyframes fill { to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  /* The title only moves: hiding it would delay the first thing people see. */
  @keyframes hero-slide { from { transform: translateY(30px); } }
  @keyframes hero-rise { from { opacity: 0; transform: translateY(26px); } }
  .hero__title { animation: hero-slide 1.1s var(--out) both; }
  .hero__text { animation: hero-rise 1s var(--out) 0.2s both; }
  .hero__cta { animation: hero-rise 1s var(--out) 0.3s both; }
}

.spaces { display: grid; gap: 40px; width: min(var(--max), 100% - 2 * var(--gutter)); margin: 0 auto; padding: 130px 0 40px; scroll-margin-top: -20px; }
.spaces__row { display: flex; gap: 18px; height: clamp(440px, 66svh, 660px); }
.space { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 48px; color: #fff; background: #2a2018; isolation: isolate; transition: flex-grow 0.9s var(--out); }
.space__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 1.4s ease, transform 7s linear; }
.space__img.is-on { opacity: 1; transform: scale(1); }
.space::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, rgba(14, 8, 3, 0.8), rgba(14, 8, 3, 0)); }
.space__text { position: absolute; z-index: 2; left: 34px; right: 34px; bottom: 30px; }
.space__text h3 { font-size: clamp(28px, 3vw, 46px); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; }
.space__text p { max-width: 30em; margin-top: 6px; color: rgba(255, 255, 255, 0.9); }
@media (hover: hover) and (min-width: 900px) { .spaces__row:hover .space:hover { flex-grow: 2.1; } }
.space:focus-visible { flex-grow: 2.1; outline-color: #fff; outline-offset: -6px; }

.kitchen { position: relative; display: grid; justify-items: center; padding: 120px 0 110px; overflow: clip; text-align: center; }
.kitchen__text { margin: 14px 0 30px; padding: 0 var(--gutter); font-size: 18px; color: var(--ink-2); }
.wheel { position: relative; width: 100%; height: clamp(360px, 44vw, 560px); margin: 0; padding: 0; list-style: none; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; overflow: visible; }
.wheel:active { cursor: grabbing; }
.wheel:focus-visible { outline: none; }
.wheel:focus-visible + .wheel__cap b { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.js .wheel__item { position: absolute; left: 50%; top: 0; will-change: transform; pointer-events: none; }
.wheel__item img { width: 100%; height: 100%; object-fit: contain; }
.js .wheel__name, .js .wheel__price { display: none; }
html:not(.js) .wheel { display: flex; gap: 40px; padding: 0 var(--gutter); overflow: auto hidden; }
html:not(.js) .wheel__item { flex: none; display: grid; align-content: center; gap: 6px; width: 320px; font-weight: 600; }
.wheel__cap { display: grid; justify-items: center; min-height: 108px; margin: 4px 0 24px; padding: 0 var(--gutter); }
.wheel__cap > div { grid-area: 1 / 1; }
.wheel__cap b { display: block; max-width: 18em; font-size: clamp(26px, 2.8vw, 42px); line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.wheel__cap span { font-size: 17px; font-weight: 600; color: var(--ink-2); }

/* Take-away: the bowl rises out of the top of the panel and touches nothing else. */
.take {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
  align-items: center;
  width: min(var(--max), 100% - 2 * var(--gutter));
  min-height: 360px;
  margin: 60px auto 0;
  padding: 48px 60px;
  border-radius: 48px;
  background: var(--smoke);
  box-shadow: inset 0 1.5px 0 var(--edge), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.take__text { display: grid; justify-items: start; gap: 20px; }
.take__text p { max-width: 26em; font-size: 18px; color: var(--ink-2); }
.take__text .pill { margin-top: 6px; }
.take__plate { position: absolute; right: 8%; bottom: 22px; width: min(36%, 450px); pointer-events: none; }
.take__plate img { width: 100%; }

.place { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; width: min(var(--max), 100% - 2 * var(--gutter)); min-height: 500px; margin: 18px auto 0; }
.place__info { display: flex; flex-direction: column; align-items: flex-start; gap: 34px; padding: 52px 60px 48px; border-radius: 48px; background: var(--tile); box-shadow: inset 0 1.5px 0 var(--edge); }
.place__info .h2 { font-size: clamp(32px, 3.4vw, 52px); }
.place__facts { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; font-size: 18px; line-height: 1.4; }
.place__facts li { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 16px; }
.place__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--hover); box-shadow: inset 0 1px 0 var(--edge); }
.place__info .pill { margin-top: auto; }
.place__map { position: relative; margin: 0; min-height: 420px; border-radius: 48px; overflow: hidden; background: #e5ddd0; }
.place__map a, .place__map img { position: absolute; inset: 0; width: 100%; height: 100%; }
.place__map img { object-fit: cover; transition: transform 1.2s var(--out); }
.place__map a:focus-visible { outline-offset: -6px; border-radius: 48px; }
.place__map figcaption { position: absolute; right: 18px; bottom: 16px; padding: 3px 12px; border-radius: 14px; font-size: 12px; color: #3d3833; background: rgba(255, 252, 247, 0.82); pointer-events: none; }
@media (hover: hover) {
  .place__map:hover img { transform: scale(1.05); }
  .place__facts a:hover { text-decoration: underline; text-underline-offset: 4px; }
}

@media (max-width: 899px) {
  .hero { height: max(580px, 100svh); border-radius: 0 0 calc(40px * var(--round, 0)) calc(40px * var(--round, 0)); }
  .hero__title { font-size: clamp(66px, 20.5vw, 112px); }
  .hero__content { bottom: 138px; }
  .hero__text { margin: 22px 0 22px; }
  .hero__thumbs { left: var(--gutter); right: auto; bottom: 30px; gap: 7px; padding: 7px; border-radius: 28px; }
  .hero__thumbs button { width: 62px; height: 62px; border-radius: 22px; }
  .hero__thumbs button[aria-pressed='true'] { width: 116px; }
  .spaces { gap: 26px; padding: 90px 0 20px; }
  .spaces__row { flex-direction: column; height: auto; }
  .space { flex: none; height: 400px; border-radius: 38px; }
  .space__text { left: 26px; right: 26px; bottom: 24px; }
  .kitchen { padding: 90px 0 80px; }
  .wheel { height: 350px; }
  .take { grid-template-columns: minmax(0, 1fr); min-height: 0; margin-top: 0; padding: 34px 26px 26px; border-radius: 38px; gap: 26px; }
  .take__text p { font-size: 16px; }
  .take__plate { position: static; justify-self: center; width: min(100%, 360px); }
  .place { grid-template-columns: minmax(0, 1fr); gap: 14px; min-height: 0; margin-top: 14px; }
  .place__info { gap: 26px; padding: 34px 26px 28px; border-radius: 38px; }
  .place__facts { font-size: 17px; }
  .place__map { min-height: 340px; border-radius: 38px; }
}

/* ---- Motion and transparency preferences ---- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .bar, .cats, .back { background: #f4ece1; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .night .bar, .night .cats, .night .back { background: #1c1918; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: var(--ink); --tile: rgba(255, 252, 247, 0.8); --smoke: rgba(255, 252, 247, 0.6); }
  .night { --tile: #1c1918; --smoke: #1c1918; }
}
