:root {
  color-scheme: light;
  --paper: #f4e9d6;
  --receipt: #fffaf0;
  --ink: #211c16;
  --rust: #9f2d19;
  --bright: #fbca84;
  --frame: #262c23;
  --line: #b4a48b;
  --muted: #605346;
  --sans: Inter, system-ui, sans-serif;
  --mono: ui-monospace, "Courier New", monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--sans); }
a { color: inherit; text-underline-offset: .23em; }
button { font: inherit; }
:focus-visible { outline: 3px solid #ae411e; outline-offset: 4px; }
p, figure, h1, h2, h3, ul { margin: 0; }
.shell { width: min(100% - 72px, 1260px); margin-inline: auto; }
.skip { position: fixed; top: 0; left: 12px; z-index: 3; padding: 10px; background: var(--paper); transform: translateY(-130%); }
.skip:focus { transform: none; }
.top { min-height: 53px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.top a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: .79rem; }
.studio { text-decoration: none; }
.top nav { display: flex; gap: clamp(14px, 4vw, 40px); font-weight: 700; }
.top nav a { text-decoration: none; }
.top a:hover { text-decoration: underline; }

.front { margin-top: clamp(13px, 3vw, 34px); }
.sign { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px 24px; margin-bottom: clamp(12px, 2vw, 23px); }
.sign h1 { display: flex; align-items: baseline; gap: .1em; font-size: clamp(3.4rem, 12.1vw, 10rem); letter-spacing: -.108em; line-height: .78; font-weight: 700; color: var(--rust); white-space: nowrap; }
.sign h1 span { margin-right: .065em; letter-spacing: -.085em; color: var(--ink); font: 700 .62em/.8 var(--mono); }
.sign-info { display: grid; gap: 3px; padding-bottom: 1px; font-size: clamp(.78rem, 1.6vw, 1.05rem); color: var(--muted); }
.sign-info strong { color: var(--ink); }

.hatch { display: grid; grid-template-columns: minmax(0,1fr) 163px; gap: 12px; padding: 12px 12px 18px; border: 1px solid #121612; border-bottom: 10px solid #171b16; background: var(--frame); box-shadow: 0 5px 0 #a75c3d; }
.window { display: grid; position: relative; isolation: isolate; overflow: hidden; margin: 0; min-height: 250px; height: clamp(300px, 35vw, 458px); border: 1px solid #120e0b; background: #332a20; }
.hatch-scene { position: absolute; inset: 0; }
.hatch-scene img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 52%; }
.hatch-scene .hatch-detail { position: absolute; inset: 0; visibility: hidden; }
.hatch-detail.is-ready { visibility: visible; }
.window::after { position: absolute; content: ""; inset: 0; pointer-events: none; box-shadow: inset 0 0 30px rgb(0 0 0 / .3); }
.window figcaption { z-index: 1; position: absolute; bottom: 13px; left: 13px; padding: 6px 11px; font: 700 .79rem/1.35 var(--mono); color: var(--ink); background: var(--bright); }

.switchboard { display: grid; align-content: center; gap: 9px; padding: 10px 8px; border: 1px solid #495043; }
.switchboard-label { margin-bottom: 3px; color: #f3e4cf; font: 700 .73rem/1.35 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.switchboard button { position: relative; min-height: 44px; padding: 7px 8px 7px 24px; border: 1px solid #6f7666; border-bottom: 3px solid #121611; background: #32392e; color: #f7efdf; cursor: pointer; text-align: left; font-weight: 700; font-size: .84rem; }
.switchboard button::before { position: absolute; content: ""; left: 8px; top: calc(50% - 3px); width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 50%; }
.switchboard button:hover { border-color: #e7bf9c; }
.switchboard button:focus-visible { outline-color: var(--bright); }
.switchboard button[aria-pressed="true"] { color: var(--ink); background: var(--bright); border-color: #fbca84; border-bottom-color: #b7773e; }
.switchboard button[aria-pressed="true"]::before { background: currentColor; }

.below { position: relative; display: grid; grid-template-columns: minmax(0,1.55fr) minmax(230px,1fr); gap: clamp(18px, 5vw, 66px); align-items: start; margin: -7px clamp(0px, 3vw, 42px) 0; }
.receipt { scroll-margin-top: 64px; padding: 18px clamp(15px, 3.5vw, 38px) 25px; background: var(--receipt); box-shadow: 0 5px 14px #1f1a1614; border: 1px solid #ddd0ba; border-top: 3px solid #d7a879; }
.receipt-meta { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; font: 700 .72rem/1.4 var(--mono); color: var(--muted); }
.menu-group h2 { margin: 10px 0 1px; font-size: clamp(1.6rem, 3.1vw, 2.7rem); line-height: 1.14; letter-spacing: -.055em; }
.menu-grid { list-style: none; padding: 0; }
.menu-grid li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 1px 10px; padding-block: 9px; border-bottom: 1px dashed #d4c8b7; }
.item { font-size: .95rem; font-weight: 700; }
.price { color: var(--rust); font: 700 .88rem/1.2 var(--mono); white-space: nowrap; }
.description { grid-column: 1 / -1; color: var(--muted); font-size: .81rem; }

.visit { margin-top: clamp(28px, 6vw, 75px); padding: 18px 0; border-top: 2px solid var(--rust); }
.visit h2 { font-size: clamp(1.6rem, 3.1vw, 2.65rem); line-height: 1.1; letter-spacing: -.05em; margin-bottom: 9px; }
.visit address { font-style: normal; }
.visit p { color: var(--muted); }
.visit-links { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 18px; margin-top: 14px; }
.visit-links a { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; font-size: .86rem; font-weight: 700; }
.visit-links .map-link { background: var(--rust); color: white; text-decoration: none; padding: 7px 12px; }
.map-link:hover { background: #742414; }

.footer { display: flex; justify-content: space-between; gap: 12px 25px; align-items: start; border-top: 1px solid var(--line); margin-top: 27px; padding-block: 18px 24px; font-size: .79rem; color: var(--muted); }
.footer a { white-space: nowrap; font-weight: 700; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 42px); }
  .hatch { grid-template-columns: minmax(0,1fr) 132px; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 28px); }
  .top { min-height: 46px; gap: 8px; }
  .sign { display: block; margin-bottom: 12px; }
  .sign h1 { font-size: clamp(3.45rem, 16vw, 6.2rem); }
  .sign-info { display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 8px; gap: 1px 10px; font-size: .74rem; }
  .hatch { grid-template-columns: minmax(0,1fr); gap: 7px; padding: 7px 7px 12px; border-bottom-width: 7px; }
  .window { min-height: 0; height: clamp(190px, 57vw, 340px); }
  .window figcaption { bottom: 8px; left: 8px; font-size: .73rem; padding: 5px 8px; }
  .switchboard { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 5px; border: 0; padding: 0; }
  .switchboard-label { display: none; }
  .switchboard button { padding: 5px 2px; font-size: clamp(.72rem, 3vw, .87rem); text-align: center; }
  .switchboard button::before { display: none; }
  .below { grid-template-columns: minmax(0,1fr); margin: -4px 7px 0; gap: 23px; }
  .receipt { padding: 12px 13px 16px; }
  .visit { margin-top: 0; padding: 15px 0 0; }
  .footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Keep the specials card and menu controls together in the service window. */
.top .window-link { display: none; }
.hatch-controls {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
  min-width: 0;
}
.daily-offer {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #e7b974;
  border-bottom: 3px solid #89522e;
  background: #f6dfb6;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.daily-offer:hover, .daily-offer[aria-pressed="true"] { background: var(--bright); }
.daily-offer:focus-visible { outline-color: var(--bright); }
.daily-label { color: var(--rust); font: 700 .72rem/1.2 var(--mono); }
.daily-offer strong { font-size: .88rem; line-height: 1.2; }
.daily-price { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 700 .78rem/1.3 var(--mono); white-space: nowrap; }
.daily-price > span:last-child { font-size: 1.14rem; line-height: .8; }
.combo-total { display: flex; justify-content: space-between; gap: 10px; margin-top: 11px; font-weight: 700; }
.combo-total strong { color: var(--rust); font-family: var(--mono); }

@media (max-width: 700px) {
  .hatch-controls { gap: 6px; }
  .daily-offer { grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; min-height: 53px; padding: 5px 8px; }
  .daily-label { grid-column: 1; grid-row: 1; }
  .daily-offer strong { grid-column: 1; grid-row: 2; font-size: .78rem; }
  .daily-price { grid-column: 2; grid-row: 1 / 3; }
}

/* A QR scan opens the prices and category controls at the top of the page. */
.menu-direct .top .menu-jump, .menu-direct .window { display: none; }
.menu-direct .top .window-link { display: inline-flex; }
.menu-direct .front { margin-top: 14px; }
.menu-direct .sign h1 { font-size: clamp(2.65rem, 8vw, 4.5rem); }
.menu-direct .hatch { display: block; }
.menu-direct .hatch-controls { grid-template-columns: minmax(0, 1fr) minmax(130px, 210px); grid-template-rows: auto; }
.menu-direct .switchboard { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.menu-direct .switchboard-label { grid-column: 1 / -1; }
@media (max-width: 700px) {
  .menu-direct .hatch-controls { grid-template-columns: minmax(0, 1fr); }
}
