* { box-sizing: border-box; }
body { margin: 0; background: #f0eddf; color: #263d33; font-family: Arial, sans-serif; }
a { color: inherit; }
.skip { position: absolute; top: -100px; left: 12px; padding: 12px; background: #fffdf5; z-index: 2; }
.skip:focus { top: 12px; }
header { padding: 22px 5%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #c8cbbd; }
header a { text-decoration: none; padding: 12px; }
.logo { font: bold 36px Georgia, serif; }
main { max-width: 1440px; padding: 52px 5%; margin: auto; }
.eyebrow { font-size: 12px; letter-spacing: 2px; }
h1 { font: normal clamp(46px, 8vw, 84px)/1.05 Georgia, serif; margin: 16px 0; }
.intro { line-height: 1.6; font-size: 17px; max-width: 600px; }
.photo-count { font-size: 13px; color: #536153; margin: 28px 0 30px; }
.photo-album { columns: 3; column-gap: 28px; }
.photo-print { display: block; break-inside: avoid; background: #fffdf5; padding: 12px 12px 18px; margin: 0 0 28px; box-shadow: 0 3px 10px #28382c18; text-decoration: none; border: 1px solid #e2dfd0; }
.photo-print img { display: block; width: 100%; height: auto; }
.photo-print:hover { box-shadow: 0 7px 20px #28382c30; }
button { font: inherit; cursor: pointer; min-height: 44px; }
button:focus-visible, a:focus-visible { outline: 3px solid #b17422; outline-offset: 4px; }
dialog { width: min(1100px, 95vw); max-height: 94dvh; background: #fffdf5; color: #263d33; border: 0; padding: 16px; }
dialog::backdrop { background: #0c1d17e8; }
body.viewer-open { overflow: hidden; }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.viewer-bar button { border: 0; background: #ebe8da; padding: 10px 18px; border-radius: 24px; }
#photo-position { white-space: nowrap; font-size: 14px; }
.viewer-stage { position: relative; margin: 16px 0 0; background: #e9e6db; }
#viewer-image { display: block; width: 100%; height: 65dvh; object-fit: contain; }
#photo-load-status { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; margin: 0; padding: 20px; background: #e9e6db; }
[hidden] { display: none !important; }
footer { padding: 30px 5%; border-top: 1px solid #c8cbbd; }
@media (max-width: 800px) {
  .photo-album { columns: 2; column-gap: 16px; }
  .photo-print { padding: 8px 8px 14px; margin-bottom: 16px; }
  main { padding-top: 32px; }
}
@media (max-width: 420px) {
  .photo-album { columns: 1; }
  .viewer-bar { gap: 6px; flex-wrap: wrap; }
  .viewer-bar button { padding: 10px 12px; }
  #viewer-image { height: 55dvh; }
}
