.photo-album { gap: clamp(24px,3vw,42px); padding-block: 14px 24px; perspective: 1200px; }
.album-card { position: relative; min-width: 0; margin: 0; padding: 10px 10px 22px; background: #fffef9; border: 1px solid #d9dfd0; border-radius: 5px; box-shadow: 0 2px 3px #203e2d12,0 16px 30px -15px #203e2d4d; transform: rotate(-1deg); }
.album-card:nth-child(2n) { transform: rotate(1.1deg) translateY(8px); }
.album-card::before { content: ''; position: absolute; inset: 8px -5px -5px 5px; z-index: -1; background: #edf0e5; border: 1px solid #d5dccb; border-radius: 5px; transform: rotate(1.4deg); }
.album-open { display: block; color: var(--ink); transform-style: preserve-3d; }
.album-print { position: relative; overflow: hidden; border-radius: 3px; background: #e6eadf; transform: perspective(1000px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); transition: transform .18s ease,box-shadow .25s; }
.album-print img { display: block; width: 100%; aspect-ratio: 3/4; height: auto; max-height: 520px; object-fit: contain; }
.album-photo-tag { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); border: 1px solid #ffffff6b; background: #203e2dcf; color: white; padding: 7px 11px; border-radius: 18px; font-size: 14px; line-height: 1.3; }
.album-expand { position: absolute; bottom: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #fffef4ed; color: #25472d; font-size: 25px; box-shadow: 0 3px 12px #0003; }
.album-card figcaption { padding: 18px 9px 0; }
.album-title { display: block; font: italic 24px/1.18 Georgia,serif; letter-spacing: -.025em; }
.album-caption { display: block; font-size: 16px; line-height: 1.6; color: #5c685a; margin-top: 12px; }
.album-invite { display: inline-block; margin-top: 16px; color: #365e37; font-size: 14px; border-bottom: 1px solid #a1b78a; padding-block: 4px; }
.service-card > .album-card { margin-bottom: 24px; }
.album-dialog { width: min(1120px,94vw); max-height: 92dvh; padding: 0; border: 1px solid #c8d5bb; border-radius: 20px; background: #f7f5ed; color: #203e2d; box-shadow: 0 30px 100px #0007; overflow: auto; }
.album-dialog::backdrop { background: #10281ed9; backdrop-filter: blur(6px); }
.album-dialog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid #d8dfcf; }
.album-dialog-toolbar > span { font: italic 20px Georgia,serif; }
.album-dialog button { min-height: 44px; border: 1px solid #b7c8a7; background: #fdfdf6; color: #25472d; border-radius: 24px; padding: 10px 16px; font-size: 14px; }
.album-dialog-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); align-items: start; }
.album-detail-image { position: relative; margin: 20px; overflow: hidden; border-radius: 10px; align-self: start; background: #e6eadf; }
.album-detail-image > img { width: 100%; height: auto; display: block; }
.album-dialog-copy { min-width: 0; padding: 24px 28px 24px 10px; }
.album-kicker { font-size: 14px; text-transform: uppercase; letter-spacing: .09em; color: #507344; margin: 0; }
.album-dialog-copy h2 { font-size: clamp(30px,3vw,43px); margin: 12px 0; }
.album-dialog-copy p { font-size: 16px; line-height: 1.6; }
.album-dialog-copy .album-subtitle { font-weight: 650; margin: .3rem 0; }
.album-dialog-copy .album-curiosity { border-top: 1px solid #d8dfcf; margin-top: 1rem; padding-top: .85rem; }
.album-dialog-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 24px; }
.album-position { font-size: 14px; white-space: nowrap; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) { .album-card { transition: transform .3s,box-shadow .3s; } .album-card:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 20px 40px -15px #203e2d66; } }
@media (min-width:641px) and (max-width:980px) { .photo-album { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:720px) { .album-dialog-layout { grid-template-columns: 1fr; } .album-detail-image { margin: 12px 16px 0; max-width: 100%; } .album-dialog-copy { padding: 24px 20px; } .album-dialog { width: 94vw; max-height: 94dvh; } }
@media (max-width:640px) { .photo-album { grid-template-columns: 1fr; gap: 30px; padding-inline: 4px; } .album-card:nth-child(2n) { transform: rotate(.6deg); } }
@media (prefers-reduced-motion:reduce) { .album-card,.album-card:nth-child(2n),.album-print { transform: none; transition: none; } }
