.plates {
  --bg: #ededeb;
  --fg: #20201f;
  --panel: #f9f9f8;
  --line: #ababaa;
  --cta: #242424;
  --on: #fff;
  --chrome: #d9d9d7;
  --menu-surface: #fafaf9;
  --card-surface: #f8f8f7;
  --control-line: #787878;
  --control-selected: #ddd;
  --control-hover: #e2e2e2;
  --muted-copy: #484848;
  --radius: .2rem;
  --pad: clamp(1rem, 6vw, 7rem);
}
.plates :is(.article-mast, .article-menu) { color: var(--fg); background: var(--chrome); }
.plates :is(.article-mast, .article-menu) button { color: var(--fg); }
.plates .floating-soundtrack {
  color: var(--fg);
  background: var(--panel);
  border-color: var(--control-line);
}
.plates .floating-soundtrack:is(:hover, :focus-visible) { background: var(--control-hover); }
.plates main, .plates-dialog { font-family: system-ui, sans-serif; }
.plates main [hidden] { display: none; }
.plates main .button { min-height: 46px; padding-inline: 1.1rem; }
.plates-top, .plates-top nav, .plates-crumb, .plates-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem 1.1rem;
}
.plates-top { justify-content: space-between; padding: .6rem var(--pad); border-bottom: 1px solid var(--line); background: var(--panel); }
.plates-crumb { gap: .35rem .65rem; }
.plates-top a:not(.button), .plates-actions a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; }
.plates-crumb a:first-child { font-weight: 750; }
.plates h1, .plates h2, .plates h3 { letter-spacing: -.055em; }
.plates h1 { font-weight: 560; }
.plates-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(34rem, 50vw, 52rem);
  padding: clamp(3rem, 7vw, 7rem) var(--pad);
  overflow: hidden;
  color: #f4f3f1;
  background: #181818;
}
.plates-environment {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: right bottom;
  mask-image: linear-gradient(to bottom, transparent, black 24%);
  z-index: -2;
}
.plates-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #181818 0%, #181818e0 27%, #18181844 53%, transparent 67%);
  pointer-events: none;
}
.plates-hero-copy { max-width: max-content; position: relative; z-index: 1; }
.plates-hero h1 { font-size: clamp(3.5rem, 7.1vw, 9rem); margin: .15em 0 .24em; line-height: .87; }
.plates-hero em { font-family: Georgia, serif; font-size: .63em; font-weight: 400; }
.plates-hero-copy p:not(.plates-eyebrow) { max-width: 33ch; }
.plates-eyebrow { font-size: .86rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; }
.plates .plates-hero .button { color: #20201f; background: #f4f3f1; border-color: #f4f3f1; }
.plates-figures { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.plates-figure {
  position: absolute;
  left: var(--destination);
  bottom: var(--floor);
  width: calc(clamp(5.6rem, 9vw, 9.5rem) * var(--size, 1));
  aspect-ratio: 3 / 5;
  transform: translateX(-50%);
  animation: plates-cross var(--duration) linear var(--delay, 0s) both;
}
.plates-figure::before {
  content: "";
  position: absolute;
  inset: auto 8% 5% 14%;
  height: 8%;
  background: #000a;
  border-radius: 50%;
  filter: blur(6px);
}
.plates-figure span {
  position: absolute;
  inset: 0;
  background: var(--sprite) 100% 0 / 400% 100% no-repeat;
  animation: plates-steps .6s step-end var(--delay, 0s) var(--loops);
}
.plates-figure-left {
  --sprite: url("images/guest-left.webp");
  --start: -3%;
  --destination: 61%;
  --floor: 9%;
  --offset: 2%;
  --duration: 4.8s;
  --loops: 8;
}
.plates-figure-right {
  --sprite: url("images/guest-right.webp");
  --start: 103%;
  --destination: 69%;
  --floor: 9%;
  --offset: 4%;
  --duration: 4.2s;
  --loops: 7;
}
.plates-figure-coat {
  --sprite: url("images/guest-coat.webp");
  --start: -6%;
  --destination: 48%;
  --floor: 12%;
  --offset: -2%;
  --duration: 4.2s;
  --loops: 7;
  --delay: .45s;
  --size: .84;
}
.plates-figure-wave {
  --sprite: url("images/guest-wave.webp");
  --start: 106%;
  --destination: 81%;
  --floor: 6%;
  --offset: 0%;
  --duration: 3.6s;
  --loops: 6;
  --delay: .55s;
  --size: .94;
}
.plates-figure-scarf {
  --sprite: url("images/guest-scarf.webp");
  --start: 105%;
  --destination: 91%;
  --floor: 12%;
  --offset: 1%;
  --duration: 2.4s;
  --loops: 4;
  --delay: .25s;
  --size: .83;
}
@keyframes plates-cross {
  from { left: var(--start); bottom: calc(var(--floor) + var(--offset)); }
  91% { bottom: var(--floor); }
  to { left: var(--destination); bottom: var(--floor); }
}
@keyframes plates-steps {
  0% { background-position-x: 0%; transform: translateY(0); }
  25% { background-position-x: 33.333%; transform: translateY(-1%); }
  50% { background-position-x: 66.667%; transform: translateY(0); }
  75% { background-position-x: 33.333%; transform: translateY(-1%); }
}
.plates-section-head, .plates-room-grid, .plates-fields { display: grid; gap: 1rem; }
.plates-section-head { grid-template-columns: 1fr minmax(12rem, 26rem); align-items: end; }
.plates-section-head h2, .plates-section-head p { margin: 0; }
.plates-menu { background: var(--menu-surface); }
.plates-downtown { margin-top: clamp(2.2rem, 5vw, 4.2rem); scroll-margin-top: 6rem; }
.plates-downtown h3 { font-size: clamp(1.45rem, 3vw, 2.35rem); }
.plates-switch { display: inline-flex; gap: .25rem; margin: 1.3rem 0 1.15rem; }
.plates-switch button { min-width: 6.7rem; justify-content: center; }
.plates-switch button[aria-pressed="false"] { background: var(--panel); color: var(--fg); }
.plates .plates-switch button[aria-pressed="true"] { color: var(--on); background: var(--cta); box-shadow: none; }
.plates-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.55rem, 1.8vw, 1.4rem); }
.plates main .plates-item {
  color: var(--fg);
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  display: grid;
  align-content: start;
  border-radius: .25rem;
}
.plates main .plates-item:hover { filter: none; box-shadow: none; }
.plates-item:is(:hover,:focus-visible) strong { text-decoration: underline; text-underline-offset: .22em; }
.plates-item img { width: 100%; height: auto; display: block; aspect-ratio: 1; object-fit: contain; padding: .3rem; transition: transform .2s ease; }
#drinks .plates-item img { aspect-ratio: 4 / 5; padding: .5rem .7rem; }
.plates-item:is(:hover,:focus-visible) img { transform: scale(1.035); }
.plates-item-copy { display: grid; gap: .26rem; padding: .9rem; }
.plates-item-copy strong { font-size: 1.05rem; }
.plates-item-copy span, .plates-item-copy small { line-height: 1.35; font-size: .88rem; }
.plates-item-copy small { font-weight: 700; }
.plates-reserve { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.1fr); align-items: start; gap: clamp(1.5rem, 5vw, 6rem); background: var(--chrome); }
.plates-fields { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; margin-bottom: 1rem; }
.plates-picker, .plates-date { background: var(--panel); border: 1px solid var(--control-line); border-radius: .2rem; }
.plates-picker { position: relative; min-width: 0; }
.plates-picker[open] { z-index: 3; }
.plates-picker summary, .plates-date { min-height: 4.9rem; padding: .65rem .85rem; }
.plates-picker summary { position: relative; display: grid; list-style: none; gap: .14rem; padding-right: 2rem; }
.plates-picker summary::-webkit-details-marker { display: none; }
.plates-picker summary::after { content: ""; width: .5rem; height: .5rem; position: absolute; right: .9rem; top: 1.85rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plates-picker[open] summary::after { transform: rotate(225deg); }
.plates-picker summary span, .plates-date > span { font-size: .86rem; font-weight: 700; }
.plates-picker fieldset {
  position: absolute;
  inset: calc(100% + .25rem) -1px auto;
  min-width: 0;
  max-height: 13rem;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--panel);
  border: 1px solid var(--control-line);
  border-radius: .2rem;
  box-shadow: 0 .4rem 1.25rem #0002;
  margin: 0;
  padding: .35rem;
}
.plates-picker[data-picker="time"] fieldset { inset: auto -1px calc(100% + .25rem); }
.plates-picker fieldset label { display: block; cursor: pointer; position: relative; margin: 0; font-weight: 500; }
.plates-picker fieldset span { display: flex; align-items: center; min-height: 44px; padding: .4rem .6rem; }
.plates-picker fieldset input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; }
.plates-picker fieldset input:checked + span { background: var(--control-selected); font-weight: 750; }
.plates-picker fieldset input:focus-visible + span { outline: 2px solid currentColor; outline-offset: -2px; }
.plates-picker fieldset label:hover span { background: var(--control-hover); }
.plates-date { display: grid; justify-content: stretch; margin: 0; gap: 0; }
.plates-date input { border: 0; min-height: 0; background: transparent; padding: 0; margin: 0; min-width: 0; }
.plates-note { font-size: .88rem; color: var(--muted-copy); }
.plates-reserve output:empty { display: none; }
.plates-dialog { width: min(94vw,58rem); background: var(--panel); color: var(--fg); }
.plates-dialog::backdrop { background: #090909b3; }
.plates-dialog .close { position: sticky; z-index: 1; top: 0; background: var(--panel); }
.plates .plates-dialog [data-close] {
  min-height: 44px;
  padding-inline: .9rem;
  color: var(--on);
  background: var(--cta);
  border-color: var(--cta);
  font-weight: 700;
}
.plates .plates-dialog [data-close]:focus-visible { outline-color: var(--fg); }
.plates-dialog-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1rem 1.5rem; }
.plates-dialog-grid img { width: 100%; height: auto; max-height: 66dvh; object-fit: contain; }
.plates-dialog h2 { font-size: clamp(1.7rem, 4vw, 3rem); margin-bottom: .22rem; }
.plates-dialog h3 { margin: .9rem 0 .2rem; }
.plates-dialog p { margin: .35rem 0; }
.plates-price { font-size: 1.2rem; font-weight: 750; }
.plates-serving { font-size: .9rem; }
.plates-nutrition { border-top: 2px solid currentColor; margin: .6rem 0; }
.plates-nutrition div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: .32rem 0; }
.plates-nutrition dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; }
.plates-story h1, .plates-dietary h1 { font-size: clamp(2.85rem, 7vw, 6rem); max-width: 16ch; }
.plates-story-image { display: block; width: min(100%,52rem); height: auto; margin-top: 1.25rem; }
.plates-room-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 1.35rem 0; }
.plates-room-grid article { border: 1px solid var(--line); background: var(--card-surface); padding: clamp(1rem, 3.4vw, 2.3rem); }
.plates-room-grid h2 { font-size: 1.75rem; }
.plates-sr { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
@media (max-width: 55rem) {
  .plates-reserve { grid-template-columns: 1fr; }
  .plates-hero { min-height: clamp(33rem, 75vw, 42rem); }
  .plates-items { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 38rem) {
  .plates-hero { align-items: start; padding-block: 2.2rem 15rem; min-height: 34rem; }
  .plates-environment { inset: auto 0 0 auto; width: 155%; max-width: none; mask-image: linear-gradient(to bottom, transparent, black 28%); }
  .plates-hero::before { background: linear-gradient(to bottom, #181818 7%, #181818e8 38%, #18181833 61%, transparent 73%); }
  .plates-figure { width: calc(clamp(3.65rem, 15vw, 5rem) * var(--size, 1)); }
  .plates-figure-left { --destination: 46%; --floor: 8%; --offset: 18%; }
  .plates-figure-right { --destination: 64%; --floor: 8%; --offset: 1%; }
  .plates-figure-coat { --destination: 13%; --floor: 12%; --offset: 11%; }
  .plates-figure-wave { --destination: 29%; --floor: 6%; --offset: 0%; }
  .plates-figure-scarf { --destination: 85%; --floor: 13%; --offset: 1%; }
  .plates-section-head, .plates-dialog-grid, .plates-room-grid { grid-template-columns: 1fr; }
  .plates-top nav { gap: .25rem .65rem; }
  .plates-dialog-grid img { max-height: 37dvh; }
  .plates-item-copy { padding: .62rem; }
}
@media (prefers-reduced-motion: reduce) {
  .plates-figure, .plates-figure span { animation: none; }
  .plates-item img { transition: none; }
}

@media (prefers-color-scheme: dark) {
  .plates {
    --bg: #1b1b1b;
    --fg: #f1efed;
    --ink: var(--fg);
    --paper: var(--bg);
    --panel: #292929;
    --line: #666;
    --border: var(--line);
    --cta: #eceae6;
    --on: #1d1d1d;
    --chrome: #232323;
    --menu-surface: #1c1c1c;
    --card-surface: #262626;
    --control-line: #858585;
    --control-selected: #4a4a4a;
    --control-hover: #3a3a3a;
    --muted-copy: #c4c1bd;
  }
  .plates .article-menu .menu-close { border-color: var(--control-line); }
  .plates .menu-toggle img { filter: drop-shadow(0 0 1px #fff8); }
}
