/* Shared navigation, then tightly scoped homepage and gallery layouts. */
@media (min-width:1121px) {
 .main-nav { gap:18px; }
 .main-nav a { white-space:nowrap; }
 .site-header { gap:20px; padding-inline:3vw; }
}
.home-about .about-grid { grid-template-columns:minmax(180px, .65fr) minmax(0,1.35fr); gap:64px; align-items:center; }
.home-about-signature { display:grid; justify-items:center; text-align:center; gap:16px; }
.home-about-signature img { width:74px; height:100px; object-fit:contain; }
.home-about-signature .script-line { font-size:2.1rem; line-height:1.4; }
.home-about .about-copy h3 { font-size:2rem; }
.home-about .about-copy p { max-width:65ch; }
.home-more-prices { margin-top:16px; }
.home-more-prices summary { color:var(--teal-dark); cursor:pointer; padding:14px 0; font-weight:700; }
.home-more-prices summary:focus-visible { outline:2px solid var(--teal); outline-offset:4px; }
.home-gallery .gallery-grid { gap:18px; }
.home-gallery .gallery-item { border-radius:6px; box-shadow:none; }
.home-gallery .gallery-item > a { display:block; width:100%; aspect-ratio:4/3; }
.home-gallery .gallery-item img { width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
.home-gallery .gallery-item figcaption { padding:10px 12px; font-size:.875rem; }
.home-services .service-card { box-shadow:none; border:0; border-top:2px solid #c7dfe0; border-radius:0; background:transparent; padding:24px 12px; }
.price-section .price-note { box-shadow:none; background:transparent; }
.home-voucher-band { width:100%; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,480px); gap:48px; justify-content:center; align-items:center; padding:40px max(24px,calc((100% - 1180px)/2)); border-block:1px solid #c8dee0; background:#e5f3f2; }
.home-voucher-band h2 { margin:8px 0 12px; font:600 2.1rem/1.15 'Cormorant Garamond',Georgia,serif; max-width:27ch; }
.home-voucher-band .script-line { font-size:1.8rem; margin:0; }
.home-voucher-sample { margin:0; min-width:0; }
.home-voucher-sample a { display:block; border:1px solid #c5d9d9; border-radius:3px; box-shadow:0 12px 28px #173e3b16; }
.home-voucher-band .home-voucher-sample img { display:block; width:100%; height:auto; aspect-ratio:210/99; object-fit:contain; border-radius:3px; }
.home-voucher-sample figcaption { margin-top:10px; color:#496366; font-size:.875rem; text-align:center; }
.home-voucher-sample a:focus-visible { outline:3px solid var(--teal); outline-offset:5px; }
.home-voucher-band .button { margin-top:12px; }
.blog-preview .post-card img { width:100%; aspect-ratio:16/10; object-fit:cover; }
.blog-preview .post-card p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
.gallery-page { padding-block:40px 64px; }
.gallery-page h1 { font:600 3rem/1.1 'Cormorant Garamond',Georgia,serif; }
.gallery-page .gallery-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.gallery-page figure { margin:0; min-width:0; }
.gallery-page figure a { display:block; overflow:hidden; border-radius:6px; }
.gallery-page figure img { width:100%; aspect-ratio:1/1; object-fit:cover; transition:transform .2s; }
.gallery-page figure a:hover img { transform:scale(1.025); }
.gallery-page figcaption { padding:10px 0; font-size:.875rem; }
.gallery-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:18px; margin-top:36px; }
.gallery-dialog { width:min(100% - 24px,1000px); max-height:calc(100dvh - 24px); padding:16px; border:0; border-radius:6px; background:#fff; }
.gallery-dialog::backdrop { background:#142426dc; }
.gallery-dialog-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.gallery-dialog button { width:44px; height:44px; border:1px solid var(--line); border-radius:6px; background:#fff; cursor:pointer; }
.gallery-dialog button svg { width:20px; height:20px; }
.gallery-dialog [data-gallery-prev] svg { transform:rotate(-90deg); }
.gallery-dialog [data-gallery-next] svg { transform:rotate(90deg); }
.gallery-dialog-image { width:100%; height:min(66dvh,700px); object-fit:contain; }
.gallery-dialog-caption { overflow-wrap:anywhere; margin:12px 0 0; }
@media(max-width:1120px) { .home-about .about-grid { gap:28px; } }
@media(max-width:760px) {
 .home-services .service-card { display:grid; grid-template-columns:44px minmax(0,1fr); gap:4px 16px; padding:20px 0; text-align:left; }
 .home-services .service-icon { grid-row:1/3; align-self:center; margin:0; }
 .home-services .service-card h3 { margin:0; font-size:1rem; }
 .home-services .service-card p { grid-column:2; margin:0; font-size:.9rem; }
 .home-services .service-grid { gap:0; }
 .price-section .price-note { padding:16px 0 0; border:0; }
 .price-section .price-note .script-line { display:none; }
 .home-about .about-grid { grid-template-columns:1fr; gap:16px; }
 .home-about-signature { display:none; }
 .home-about .about-copy h3 { font-size:1.85rem; }
 .home-gallery .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .home-gallery .gallery-item figcaption { padding:8px; }
 .home-voucher-band { grid-template-columns:1fr; padding:30px 20px; gap:24px; }
 .home-voucher-band h2 { font-size:2rem; }
 .home-voucher-band .button { white-space:normal; text-align:center; }
 .gallery-page .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
 .gallery-page h1 { font-size:2.4rem; }
}
@media(prefers-reduced-motion:reduce) { .gallery-page figure img { transition:none; } }
