.photo-launch, .theme-photo-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; cursor: zoom-in; overflow: hidden; }
.photo-launch img, .theme-photo-open img { transition: transform .35s ease; }
.photo-launch:hover img, .theme-photo-open:hover img { transform: scale(1.025); }
.photo-launch-label { position: absolute; right: 16px; bottom: 16px; background: #fff; color: #173b43; padding: 11px 16px; font: 700 .82rem 'DM Sans',sans-serif; box-shadow: 0 5px 18px rgba(0,0,0,.12); }
.photo-launch:hover .photo-launch-label, .theme-photo-open:hover .photo-launch-label { background: #173b43; color: #fff; }
.photo-launch:focus-visible, .theme-photo-open:focus-visible, .tour-open-photos:focus-visible { outline: 3px solid #b48243; outline-offset: 3px; }
.tour-open-photos { position: absolute; z-index: 3; top: 20px; right: 20px; padding: 12px 18px; border: 1px solid rgba(255,255,255,.9); background: rgba(14,56,64,.78); color: #fff; font: 700 .83rem 'DM Sans',sans-serif; cursor: zoom-in; }
.tour-image-open { position: absolute; inset: 0; z-index: 1; width: 100%; border: 0; background: transparent; cursor: zoom-in; }
.tour-overlay { z-index: 2; pointer-events: none; }
.tour-controls { pointer-events: auto; }
.tour-image-open:focus-visible { outline: 3px solid #b48243; outline-offset: -6px; }
.tour-open-photos:hover { background: #fff; color: #173b43; }
.photo-dialog { width: min(96vw,1160px); max-width: none; max-height: 96dvh; padding: 0; border: 0; background: #f5f7f4; color: #183b42; box-shadow: 0 25px 80px rgba(2,22,28,.45); }
.photo-dialog::backdrop { background: rgba(4,25,30,.88); }
.photo-dialog-inner { display: flex; flex-direction: column; max-height: 96dvh; }
.photo-dialog-head, .photo-dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 20px; }
.photo-dialog-head h2 { margin: 0; font: 400 clamp(1.6rem,3vw,2.35rem)/1.1 'Cormorant Garamond',Georgia,serif; }
.photo-dialog-heading { min-width: 0; }
.photo-dialog-heading p { max-width: 790px; margin: 6px 0 0; font-size: clamp(.88rem,1.6vw,1rem); line-height: 1.5; }
.photo-dialog-heading p[hidden] { display: none; }
.photo-dialog-close { flex: none; width: 42px; height: 42px; border: 1px solid #adc6c1; border-radius: 50%; background: transparent; color: #183b42; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.photo-dialog-close:hover { background: #183b42; color: #fff; }
.photo-dialog-stage { min-height: 0; flex: 1; position: relative; display: flex; align-items: center; justify-content: center; background: #092b32; }
.photo-dialog-stage img { display: block; max-width: 100%; max-height: min(72dvh,680px); width: auto; height: auto; object-fit: contain; }
.photo-dialog-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(8,40,48,.72); color: #fff; font-size: 1.4rem; cursor: pointer; }
.photo-dialog-arrow:hover { background: #fff; color: #173b43; }
.photo-dialog-arrow.prev { left: 16px; }
.photo-dialog-arrow.next { right: 16px; }
.photo-dialog-foot { font-size: .9rem; line-height: 1.35; }
.photo-dialog-foot span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.photo-dialog button:focus-visible { outline: 3px solid #b48243; outline-offset: 3px; }
body.photo-dialog-open { overflow: hidden; }
@media (max-width:700px) {
  .photo-dialog { width: 100vw; max-height: 100dvh; height: 100dvh; }
  .photo-dialog-inner { height: 100%; max-height: none; }
  .photo-dialog-stage img { max-height: calc(100dvh - 210px); }
  .photo-dialog-arrow { width: 40px; height: 40px; }
  .photo-dialog-arrow.prev { left: 8px; }
  .photo-dialog-arrow.next { right: 8px; }
  .photo-dialog-head,.photo-dialog-foot { padding: 13px 16px; }
  .tour-open-photos { top: 12px; right: 12px; }
}
@media(prefers-reduced-motion:reduce) { .photo-launch img, .theme-photo-open img { transition: none; } }
