.brand-motto {
    margin: 0 0 24px;
    font: italic 500 clamp(20px, 2.2vw, 28px)/1.2 'Cormorant Garamond', Georgia, serif;
    color: var(--purple);
}
.footer-motto { color: var(--gold-light); margin: 10px 0 14px; font-size: 21px; }

.photo-section { padding: clamp(54px, 8vw, 102px) 24px; text-align: center; background: var(--cream, #faf7f2); }
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 2vw, 24px);
    max-width: 1050px;
    margin: 28px auto 32px;
}
.photo-grid a { display: block; background: #eae3e2; overflow: hidden; border-radius: 4px; }
.photo-grid img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 35%; transition: transform .2s; }
.photo-grid a:hover img { transform: scale(1.04); }
.photo-grid a:focus-visible { outline: 3px solid #704599; outline-offset: 3px; }
.gallery-page { margin: 0; font: 16px 'Jost', sans-serif; color: #272031; background: #faf7f2; }
.gallery-header { padding: 20px 24px; background: #fff; text-align: center; border-bottom: 1px solid #e7d9d1; }
.gallery-header a { color: #452452; text-decoration: none; font: 600 32px 'Cormorant Garamond', Georgia, serif; }
.gallery-page h1 { font: 600 clamp(44px, 7vw, 76px)/1 'Cormorant Garamond', Georgia, serif; margin: 20px 0; }
.gallery-back { color: #452452; }
.photo-dialog { border: 0; border-radius: 6px; padding: 14px; background: #21182b; color: #fff; }
.photo-dialog::backdrop { background: rgb(0 0 0 / 78%); }
.photo-dialog img { display: block; max-width: min(88vw, 1200px); max-height: 76vh; margin: auto; }
.photo-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; }
.photo-controls button { min-width: 42px; min-height: 42px; color: #fff; background: #4b355b; border: 1px solid #836d91; border-radius: 4px; cursor: pointer; font-size: 20px; }
.customer-review { margin: 0; }
.customer-review + .customer-review { margin-top: 48px; }
#about:not(:has(img)), #gifting:not(:has(img)), #hero:not(:has(img)) { grid-template-columns: 1fr; }
.hero-image:not(:has(img)), .about-image:not(:has(img)), .collection-single-img:not(:has(img)), .gifting-single-img:not(:has(img)) { display: none; }
.hero-image:has(img:nth-child(2)), .about-image-main:has(img:nth-child(2)),
.gifting-single-img:has(img:nth-child(2)), .collection-single-img:has(img:nth-child(2)) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
}
.hero-image:has(img:nth-child(2)) img, .about-image-main:has(img:nth-child(2)) img,
.gifting-single-img:has(img:nth-child(2)) img, .collection-single-img:has(img:nth-child(2)) img {
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
}
@media (max-width: 640px) {
    .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .photo-grid img { transition: none; }
}
