/* A quiet, full-screen frame for the restaurant's original photographs. */
html.photo-viewer-is-open { overflow: hidden; scroll-behavior: auto !important; }
.photo-viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 22px clamp(22px, 4vw, 68px) 26px;
  border: 0;
  color: var(--paper, #f8f2eb);
  background: radial-gradient(ellipse at 40% 35%, #34453255, transparent 68%), linear-gradient(135deg, #1b2c20, #101c14 64%, #263023);
  overflow: hidden;
  z-index: 1400;
  overscroll-behavior: contain;
}
.photo-viewer:not([open]) { display: none; }
.photo-viewer[open] { display: block; }
.photo-viewer::backdrop { background: #101c14ed; }
.photo-viewer-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 24px;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.photo-viewer-top {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #9d8b6152;
}
.photo-viewer-brand {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  color: #d7c8a8;
  font: 500 10px/1.6 var(--sans);
  letter-spacing: .24em;
}
.photo-viewer-brand span { color: #e8e8dfc7; font-size: 11px; letter-spacing: .1em; }
.photo-viewer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 10px 15px;
  border: 1px solid #9d8b616b;
  border-radius: 3px;
  color: #f8f2eb;
  background: linear-gradient(145deg, #3b4f354f, #1b2c2088);
  box-shadow: 0 3px 0 #0b140ec9;
  font: 500 11px/1.6 var(--sans);
  letter-spacing: .04em;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}
.photo-viewer-button svg { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.photo-viewer-button:hover { background: linear-gradient(145deg, #64794a6b, #32442d99); border-color: #d7c8a8bb; }
.photo-viewer-button:focus-visible { outline-color: #e7d3a4; outline-offset: 4px; }
.photo-viewer-button:disabled { opacity: .32; cursor: default; }
.photo-viewer-close { border-color: transparent; background: transparent; box-shadow: none; padding-right: 4px; }
.photo-viewer-close svg { width: 24px; height: 24px; }
.photo-viewer-figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 25px; height: 100%; min-height: 0; margin: 0; }
.photo-viewer-stage { position: relative; height: 100%; min-height: 0; min-width: 0; overflow: hidden; }
.photo-viewer-canvas {
  width: 100%;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-y pinch-zoom;
  scrollbar-width: thin;
  scrollbar-color: #9d8b61 #1b2c20;
  outline: none;
}
.photo-viewer-image-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  box-shadow: none;
  appearance: none;
  cursor: zoom-in;
  touch-action: inherit;
}
.photo-viewer-image-frame:disabled { cursor: default; }
.photo-viewer-image-frame:focus-visible, .photo-viewer-canvas:focus-visible, .photo-viewer-canvas:has(.photo-viewer-image-frame:focus-visible) { outline: 2px solid #e7d3a4; outline-offset: -3px; }
/* A photograph stays anchored while the shared button feedback runs. */
.photo-viewer-image-frame.is-pressing { transform: none !important; filter: none; box-shadow: none !important; }
.photo-viewer-image-frame.is-pressing .photo-viewer-image { filter: brightness(.93); }
.photo-viewer-image-frame.is-bouncing { animation: none; }
.photo-viewer-image {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 2px;
  object-fit: contain;
  box-shadow: 0 14px 52px #0004;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.photo-viewer-hint { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 24px); margin: 0; padding: 6px 12px; border: 1px solid #d7c8a840; border-radius: 999px; color: #f8f2eb; background: #101c14bd; backdrop-filter: blur(7px); font: 400 10px/1.6 var(--sans); letter-spacing: .06em; white-space: nowrap; pointer-events: none; }
.photo-viewer.is-zoomed .photo-viewer-canvas { touch-action: pan-x pan-y pinch-zoom; }
.photo-viewer.is-zoomed .photo-viewer-image-frame { cursor: zoom-out; }
.photo-viewer.is-zoomed .photo-viewer-image { max-width: none; max-height: none; }
.photo-viewer.is-zoomed .photo-zoom-plus { display: none; }
.photo-viewer-flight { position: fixed; max-width: none; max-height: none; margin: 0; padding: 0; object-fit: cover; pointer-events: none; z-index: 3; box-shadow: 0 14px 52px #0004; }
.photo-viewer-info { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 25px; width: min(1120px, 100%); margin-inline: auto; padding-top: 2px; }
.photo-viewer-copy h2 { margin: 0; color: #f8f2eb; font: 400 clamp(22px, 2.1vw, 30px)/1.55 var(--serif); letter-spacing: .06em; }
.photo-viewer-copy p { max-width: 68ch; margin: 8px 0 0; color: #dddccfc9; font: 400 12px/1.85 var(--sans); letter-spacing: .02em; }
.photo-viewer-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; max-width: 100%; margin-top: 4px; border-bottom: 1px solid #9d8b618c; color: #e7d3a4; font: 500 11px/1.6 var(--sans); letter-spacing: .04em; }
.photo-viewer-link svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms ease; }
.photo-viewer-link:hover { color: #fff4d9; border-color: #e7d3a4; }
.photo-viewer-link:hover svg { transform: translateX(4px); }
.photo-viewer-link:focus-visible { outline-color: #e7d3a4; outline-offset: 3px; }
.photo-viewer-tools { display: flex; align-items: center; gap: 24px; padding-bottom: 3px; }
.photo-viewer-pager { display: flex; align-items: center; gap: 16px; }
.photo-viewer-arrow { width: 46px; height: 46px; padding: 10px; border-radius: 50%; }
.photo-viewer-counter { display: flex; align-items: baseline; justify-content: center; gap: 9px; min-width: 63px; margin: 0; color: #c2b68e; font: 400 10px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: .05em; }
.photo-viewer-counter strong { color: #f8f2eb; font: 400 26px/1 var(--serif); letter-spacing: .02em; }
.photo-viewer-counter>span:first-of-type { opacity: .5; }
.photo-viewer-loading, .photo-viewer-error { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.photo-viewer-loading { pointer-events: none; }
.photo-viewer-loading span { width: 34px; height: 34px; border: 1px solid #9d8b6155; border-top-color: #d7c8a8; border-radius: 50%; animation: photo-loading 950ms linear infinite; }
.photo-viewer-error { flex-direction: column; gap: 18px; padding: 24px; color: #e8e8df; font: 12px/1.8 var(--sans); text-align: center; }
.photo-viewer[open] .photo-viewer-top { animation: photo-tools-arrive 420ms var(--ease) both; }
.photo-viewer[open] .photo-viewer-info { animation: photo-tools-arrive 620ms 80ms var(--ease) both; }
@keyframes photo-tools-arrive { from { opacity:0; transform:translateY(13px); } to { opacity:1; transform:none; } }
@keyframes photo-loading { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .photo-viewer-info { gap: 20px; }
  .photo-viewer-tools { gap: 14px; }
  .photo-viewer-pager { gap: 10px; }
  .photo-viewer-copy p { font-size: 11px; }
  .photo-viewer-zoom { padding-inline: 11px; font-size: 10px; }
}
@media (max-width: 650px) {
  .photo-viewer { padding: calc(14px + env(safe-area-inset-top)) 17px calc(16px + env(safe-area-inset-bottom)); }
  .photo-viewer-shell { gap: 16px; }
  .photo-viewer-top { padding-bottom: 10px; gap: 10px; }
  .photo-viewer-brand { flex-direction: column; align-items: flex-start; gap: 3px; font-size: 9px; }
  .photo-viewer-brand span { font-size: 10px; }
  .photo-viewer-close { font-size: 11px; gap: 9px; }
  .photo-viewer-figure { gap: 18px; }
  .photo-viewer-info { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
  .photo-viewer-copy h2 { font-size: 22px; line-height: 1.5; }
  .photo-viewer-copy p { max-height: 75px; margin-top: 7px; font-size: 11px; line-height: 1.85; overflow-y: auto; }
  .photo-viewer-tools { width: 100%; justify-content: space-between; gap: 14px; }
  .photo-viewer-button { min-height: 44px; }
  .photo-viewer-zoom { padding: 10px 12px; font-size: 11px; gap: 8px; }
  .photo-viewer-pager { gap: 12px; }
  .photo-viewer-counter { min-width: 57px; gap: 8px; }
  .photo-viewer-arrow { width: 44px; height: 44px; }
}
@media (max-width: 360px) {
  .photo-viewer { padding-inline: 13px; }
  .photo-viewer-copy h2 { font-size: 20px; }
  .photo-viewer-pager { gap: 7px; }
  .photo-viewer-tools { gap: 10px; }
  .photo-viewer-zoom { font-size: 10px; padding-inline: 10px; }
}
@media (max-height: 560px) {
  .photo-viewer { padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .photo-viewer-shell { gap: 8px; }
  .photo-viewer-top { padding-bottom: 6px; }
  .photo-viewer-figure { gap: 10px; }
  .photo-viewer-info { max-height: 44vh; max-height: 44dvh; gap: 10px; padding: 2px 4px 6px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #9d8b61 #1b2c20; }
  .photo-viewer-copy h2 { font-size: 20px; }
  .photo-viewer-copy p { max-height: 40px; margin-top: 4px; font-size: 10px; overflow-y: auto; }
  .photo-viewer-link { margin-top: 2px; font-size: 10px; }
  .photo-viewer-hint { bottom: 8px; font-size: 9px; padding: 4px 10px; }
}
@media (max-height: 560px) and (min-width: 560px) {
  .photo-viewer-shell { gap: 10px; }
  .photo-viewer-top { padding-bottom: 7px; }
  .photo-viewer-brand { flex-direction: row; align-items: center; }
  .photo-viewer-figure { gap: 12px; }
  .photo-viewer-info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; }
  .photo-viewer-copy h2 { font-size: 19px; }
  .photo-viewer-copy p { max-height: 40px; margin-top: 4px; font-size: 10px; overflow-y: auto; }
  .photo-viewer-tools { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-viewer *, .photo-viewer *::before, .photo-viewer *::after { animation: none !important; transition: none !important; }
  .photo-viewer-flight { display: none; }
}
@media print { .photo-viewer { display: none !important; } }
