/* Featured work — the white doors remain the cover when scripting is unavailable. */
.home-gallery { touch-action: pan-y pinch-zoom; }
.home-gallery-frames { overflow: hidden; }
.home-gallery-frame { position: absolute; inset: 0; opacity: 0; z-index: 0; transition: opacity .85s ease; }
.home-gallery-frame.is-previous { opacity: 1; z-index: 1; }
.home-gallery-frame.is-current { opacity: 1; z-index: 2; }
.home-gallery .home-gallery-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.home-gallery .arch-hero-shade { z-index: 1; }
.home-gallery .arch-hero-content { z-index: 2; }
.home-gallery:not([data-index="0"])[data-index] .arch-hero-shade { background: linear-gradient(90deg,rgba(245,244,240,.72),rgba(245,244,240,.20) 46%,transparent 78%),linear-gradient(0deg,rgba(245,244,240,.68),transparent 59%); }
.home-gallery-frames { isolation:isolate; }
.home-gallery .home-gallery-controls { position:absolute; z-index:3; right:var(--gutter); bottom:4px; display:flex; align-items:center; gap:4px; }
.home-gallery .home-gallery-controls[hidden] { display:none; }
.home-gallery-count { border:0; background:transparent; border-radius:0; padding:0; display:grid; align-items:center; justify-content:end; min-width:48px; min-height:44px; font:600 .85rem/1 Manrope,Arial,sans-serif; font-variant-numeric:tabular-nums; letter-spacing:.045em; color:#20221c; text-shadow:0 0 3px #fff,0 0 6px #fffffff2,0 0 10px #ffffffe5; }
.home-gallery-controls button:focus-visible { outline:2px solid #292c25; outline-offset:1px; }
.home-gallery-manual:not(:focus-visible){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);border:0;}
.home-gallery-manual:focus-visible{border:1px solid #3f4239;padding:7px 12px;color:#22251d;background:#f5f4f0;font-size:.82rem;}
.home-gallery-credit.arch-image-credit { display:flex; justify-content:space-between; align-items:center; gap:16px; padding-block:12px; color:#45473f; }
.home-gallery-caption { display:flex; align-items:center; gap:clamp(14px,2vw,35px); min-width:0; }
.home-gallery-caption p { display:flex; align-items:baseline; flex-wrap:wrap; line-height:1.45; gap:0 10px; }
.home-gallery-caption-category { font-size:.92rem; font-weight:600; }
.home-gallery-caption-name { font-size:.86rem; }
.home-gallery-service { display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:.26em; font-size:.875rem; text-align:right; }
.home-gallery-credit .home-gallery-sr { display:block; position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
@media(max-width:760px){
 .home-gallery .arch-hero-content { padding-bottom:56px; }
 .home-gallery-credit.arch-image-credit { align-items:flex-start; gap:12px; }
 .home-gallery-caption { align-items:baseline; gap:10px; }
 .home-gallery-caption p { display:block; }
 .home-gallery-caption-category, .home-gallery-caption-name { display:block; }
 .home-gallery-caption-name { font-size:.81rem; }
 .home-gallery-service { max-width:34%; justify-content:flex-end; font-size:.81rem; }
}
@media(max-width:420px){
 .home-gallery-caption-category { font-size:.875rem; }
}
@media(prefers-reduced-motion:reduce){
 .home-gallery-frame { transition:none; }
}
