/* The photos are original local JPEG files; presentation happens only in CSS. */
.hero-art--photo { height: 600px; }
.postcard--photo { width: 320px; padding: 18px 18px 20px; }
.postcard--photo .postcard-top { height: 37px; margin-bottom: 17px; }
.postcard--photo .postcard-title { font-size: 26px; margin: 17px 0 11px; }
.postcard--photo .postcard-caption { font-size: 7px; letter-spacing: 1.15px; }
.hero-art--photo .love-seal { right: -4px; top: 25px; }
.hero-art--photo .star-one { top: 17px; }
.hero-art--photo .art-note { bottom: -6px; }
.portrait-window { display: block; position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--blush); }
.hero-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; }
.photo-expand { position: absolute; bottom: 12px; right: 12px; width: 32px; height: 32px; border: 1px solid #fff5e988; border-radius: 50%; color: #fff8ef; background: #402b3270; display: grid; place-items: center; font: 22px/1 var(--serif); transition: background .2s; }
.photo-link { cursor: zoom-in; }
.photo-link:hover .photo-expand { background: var(--wine); }
.photo-album { border-bottom: 1px solid var(--line); }
.album-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 45px; }
.album-heading .eyebrow { margin-bottom: 18px; }
.album-heading h2 { margin-bottom: 0; }
.album-heading > p { color: var(--muted); font-size: 12px; line-height: 1.9; margin-bottom: 4px; max-width: 370px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.photo-card { margin: 0; padding: 10px 10px 0; background: #fffaf1; border: 1px solid #eaded4; box-shadow: 0 7px 15px #63402e08; transition: transform .2s, box-shadow .2s; min-width: 0; }
.photo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 25px #63402e12; }
.photo-frame { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: #ecdcd5; }
.photo-frame > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.photo-card figcaption { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 13px 4px; }
.photo-card figcaption > span { font: italic 19px/1.35 var(--serif); color: var(--wine); }
.photo-card figcaption > small { font-size: 8px; color: #a78c8e; letter-spacing: 1px; }
.landscape-photo { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; }
.landscape-photo img { display: block; position: absolute; top: 50%; left: 50%; width: 56.25%; height: 177.7778%; max-width: none; object-fit: contain; transform: translate(-50%, -50%) rotate(-90deg); }
.album-note { text-align: center; margin-top: 36px; margin-bottom: 0; font-size: 20px; transform: rotate(-2deg); }
.photo-viewer { border: 1px solid #f0dbce33; border-radius: 4px; padding: 0 20px; color: #faeee4; background: #34242d; width: min(1100px, calc(100vw - 32px)); height: calc(100vh - 32px); height: calc(100dvh - 32px); max-width: none; max-height: none; overflow: hidden; }
.photo-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.photo-viewer::backdrop { background: #1e101be6; backdrop-filter: blur(5px); }
.photo-viewer-header { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.photo-viewer-header > span { font-size: 9px; letter-spacing: 1.6px; }
.viewer-close, .viewer-arrow { display: grid; place-items: center; border-radius: 50%; border: 1px solid #c69ca066; color: #faeee4; background: transparent; width: 44px; height: 44px; flex-shrink: 0; }
.viewer-close:hover, .viewer-arrow:hover { background: #775266; }
.viewer-close:focus-visible, .viewer-arrow:focus-visible { outline: 2px solid #f2c8cc; outline-offset: 3px; }
.viewer-close svg, .viewer-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.viewer-stage { min-height: 0; position: relative; overflow: hidden; }
#viewer-photo { position: absolute; left: 50%; top: 50%; max-width: none; max-height: none; object-fit: contain; transform: translate(-50%, -50%); }
.viewer-controls { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.viewer-caption { text-align: center; }
.viewer-caption p { margin: 0 0 3px; font: italic 24px/1.25 var(--serif); }
.viewer-caption > span { font-size: 8px; letter-spacing: 1.5px; color: #d0afb8; }
@media (max-width: 1000px) {
  .hero-art--photo { height: 575px; }
  .photo-grid { gap: 19px; }
  .photo-card figcaption > span { font-size: 17px; }
}
@media (max-width: 760px) {
  .hero-art--photo { height: 540px; margin-top: 10px; }
  .hero-art--photo .postcard--photo { width: 300px; }
  .hero-art--photo .love-seal { right: 3px; top: 2px; }
  .hero-art--photo .star-one { top: -2px; left: 4px; }
  .hero-art--photo .art-note { bottom: -14px; }
  .album-heading { display: block; margin-bottom: 28px; }
  .album-heading .eyebrow { font-size: 8px; }
  .album-heading h2 { font-size: 40px; }
  .album-heading > p { font-size: 13px; margin: 19px 0 0; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 13px; }
  .photo-card { padding: 6px 6px 0; }
  .photo-card figcaption { min-height: 65px; padding: 11px 3px; gap: 5px; }
  .photo-card figcaption > span { font-size: 16px; }
  .photo-card figcaption > small { font-size: 7px; }
  .photo-expand { width: 27px; height: 27px; bottom: 8px; right: 8px; }
  .photo-card:last-child { grid-column: 1 / -1; }
  .photo-card:last-child .photo-frame { aspect-ratio: 16 / 9; }
  .photo-card:last-child .photo-expand { width: 32px; height: 32px; }
  .album-note { font-size: 18px; }
  .photo-viewer { width: calc(100vw - 14px); height: calc(100vh - 14px); height: calc(100dvh - 14px); padding-inline: 12px; }
  .photo-viewer-header { min-height: 62px; }
  .photo-viewer-header > span { font-size: 7px; letter-spacing: 1px; }
  .viewer-controls { min-height: 96px; gap: 10px; }
  .viewer-caption p { font-size: 20px; }
}
@media (max-width: 390px) {
  .hero-art--photo { height: 505px; }
  .hero-art--photo .postcard--photo { padding: 14px; }
  .postcard--photo .postcard-title { font-size: 23px; }
  .postcard--photo .postcard-caption { font-size: 6px; }
  .photo-card figcaption > span { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-card { transition: none; }
}
@media print {
  .photo-viewer, .photo-expand { display: none !important; }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-card { break-inside: avoid; }
  .photo-card figcaption > span { font-size: 12pt; }
}
