/* Progressive enhancement and dynamic-content safety; Cinema rules remain intact. */
header .brand{flex-direction:column;gap:5px;text-align:center}
header .brand img{width:120px;height:auto;aspect-ratio:900/703;object-fit:contain;border-radius:0;background:transparent;flex-shrink:0}
header .brand small{font-size:10px;font-weight:700;line-height:1.4;letter-spacing:.05em;white-space:nowrap}
@media(max-width:760px){header .brand img{width:100px}header .brand small{font-size:9px}}
header nav{font-size:17px;font-weight:700}
header nav a{padding-block:8px}
@media(max-width:760px){header nav{font-size:15px;gap:6px}header nav a{padding-block:10px}}
@media(max-width:360px){header nav{font-size:14px;gap:4px}}
.menu-item,.menu-group{scroll-margin-top:160px}
.menu-item>div{min-width:0;overflow-wrap:anywhere}
.availability{font-style:italic}
.contact-info a{overflow-wrap:anywhere}
.map-box.map-embedded{position:relative;min-width:0;overflow:hidden;padding:0}
.map-box.map-embedded iframe{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;max-width:100%;border:0}
/* Many Admin-managed slides must not widen the mobile Hero controls. */
.cinema-hero .overlay-controls{max-width:calc(100% - 24px);width:max-content;flex-wrap:wrap;justify-content:center}
.cinema-hero .overlay-controls button{flex-shrink:0}

/* Descriptions retain the existing Cinema caption position. */
.cinema-hero .food-slide .hero-description{max-width:min(550px,45%);max-height:160px;overflow-y:auto;overflow-wrap:anywhere;white-space:pre-line;margin:0;padding:8px 12px;font-size:14px;line-height:1.5;background:#171a18ed;pointer-events:auto}
.cinema-hero .hero-description[hidden]{display:none}
@media(max-width:760px){.cinema-hero .food-slide .hero-description{top:16px;left:20px;right:20px;max-width:none;max-height:160px}}
@media(max-width:760px){
  .cinema-hero{min-height:0;align-items:flex-start}
  .cinema-hero .motion-copy{padding-top:calc(var(--hero-caption-height,160px) + 40px);padding-bottom:calc(var(--hero-controls-height,44px) + 50px)}
}

#gallery .dish-grid>figure>figcaption{overflow-wrap:anywhere;white-space:pre-line}

/* Printed menu pages share one accessible viewer on desktop and mobile. */
.printed-menu-viewer{width:min(1100px,96vw);height:94vh;height:94dvh;max-width:96vw;max-height:94vh;max-height:94dvh;padding:12px;border:1px solid #ffffff40;border-radius:8px;background:#20242c;color:#fff;overflow:hidden}
.printed-menu-viewer[open]{display:flex;flex-direction:column;gap:10px}
.printed-menu-viewer::backdrop{background:#000d}
.printed-menu-toolbar,.printed-menu-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}
.printed-menu-viewer button{min-height:44px;padding:8px 14px;border:1px solid #ffffff60;border-radius:5px;background:#303640;color:#fff;font:inherit}
.printed-menu-viewer button:hover{background:#454e5c}
.printed-menu-viewer button:focus-visible{outline:3px solid #f2cf8d;outline-offset:2px}
.printed-menu-counter{font-size:14px}
.printed-menu-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:auto}
.printed-menu-stage img{width:100%;height:100%;object-fit:contain;touch-action:pan-y pinch-zoom}
@media(max-width:480px){.printed-menu-viewer{padding:8px}.printed-menu-navigation button{font-size:13px;padding:8px}.printed-menu-counter{font-size:12px}}

.reservations { scroll-margin-top: 8rem; }
.reservation-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 44rem; margin-top: 1.5rem; }
.reservation-form label { display: grid; gap: .35rem; min-width: 0; }
.reservation-form input:not([type=hidden]), .reservation-form textarea, .reservation-form select { width: 100%; min-width: 0; padding: .65rem; border: 1px solid #738078; border-radius: .3rem; background: #fff; color: #20312c; font: inherit; }
.reservation-time { min-width: 0; margin: 0; padding: 0; border: 0; }
.reservation-time legend { padding: 0 0 .35rem; }
.reservation-time-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.reservation-notes, .reservation-submit { grid-column: 1 / -1; }
.reservation-submit .reservation-notice { margin-top: 1rem; }
.reservation-notice { padding: .75rem 1.5rem; background: #edf3ed; color: #20312c; }
.reservation-errors { background: #fff0eb; color: #7b2525; }
@media (max-width: 600px) { .reservation-form { grid-template-columns: minmax(0, 1fr); } }
