/* Scoped to the landing page's second chapter; the opening stays intact. */
#work.work-gallery-section{width:calc(100% - 52px);max-width:1748px;margin:84px auto 42px;color:#e4d8cc;scroll-margin-top:28px}
.gallery-heading{display:flex;justify-content:space-between;align-items:end;gap:48px;padding:0 14px 32px}
.gallery-heading .small-label{color:#c8ab96;font-size:12px}
.gallery-heading h2{font:400 clamp(57px,6.5vw,104px)/.96 'Cormorant Garamond',Georgia,serif;letter-spacing:-.045em;margin:20px 0 0;color:#f1eae0}
.gallery-heading h2 em{font-weight:400}
.gallery-heading>p{max-width:282px;color:#bfa696;font-size:14px;line-height:1.75;margin:0 0 2px}
.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 14px 24px}
.gallery-tabs{display:flex;gap:8px;flex-wrap:wrap}
.gallery-tabs button{border:1px solid #e4d8cc35;color:#c4aa97;padding:13px 21px;border-radius:999px;min-height:46px;font-size:13px;transition:background .25s,color .25s,border-color .25s}
.gallery-tabs button[aria-selected=true]{color:#681b10;background:#e4d8cc;border-color:#e4d8cc}
.gallery-tabs button:hover{color:#f1eae0;border-color:#e4d8cc80}
.gallery-tabs button[aria-selected=true]:hover{color:#681b10}
.gallery-motion{color:#bfa696;font-size:12px;min-height:44px;white-space:nowrap;padding:10px 0 10px 16px}
.gallery-motion span{display:inline-block;width:20px;text-align:center;margin-right:5px}
.work-gallery{--gallery-card-width:clamp(280px,32vw,440px);--gallery-gap:18px;display:grid;gap:25px;min-width:0;align-content:start}
.gallery-lane{overflow:hidden;touch-action:pan-y;cursor:grab;scrollbar-width:none;overscroll-behavior-x:contain;border-radius:15px;padding:2px 0 4px;outline-offset:5px}
.gallery-lane.is-dragging{cursor:grabbing;user-select:none}
.gallery-lane::-webkit-scrollbar{display:none}
.gallery-track{display:flex;gap:var(--gallery-gap);width:max-content;align-items:start;will-change:transform}
.gallery-group{display:flex;flex:none;gap:var(--gallery-gap);align-items:start}
.gallery-project{width:var(--gallery-card-width);flex:none;display:block;color:#e4d8cc;outline-offset:-2px;border-radius:14px;-webkit-user-drag:none}
.gallery-art{aspect-ratio:3/2;width:100%;border-radius:14px;overflow:hidden;isolation:isolate;transition:opacity .35s;background:#e4d8cc}
.gallery-art img{display:block;width:100%;height:100%;object-fit:contain;transform:none}
.gallery-art--wine{background:#6b190c}.gallery-art--black{background:#080908}.gallery-art--charcoal{background:#25221f}.gallery-art--white{background:#fff}.gallery-art--paper{background:#e4d8cc}
.gallery-caption{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:13px 3px 0;height:59px;box-sizing:border-box}
.gallery-caption strong{font:400 24px/1.1 'Cormorant Garamond',Georgia,serif;letter-spacing:-.015em;display:block;color:#f1eae0}
.gallery-caption small{display:block;font-size:10px;line-height:1.5;color:#bfa696;margin-top:5px;letter-spacing:.02em}
.gallery-caption i{font:normal 20px/1 sans-serif;flex-shrink:0;color:#bb8c6e;transition:translate .3s}
.gallery-project:hover .gallery-caption i{translate:2px -2px}
.gallery-project:hover .gallery-art{opacity:.88}
.gallery-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:27px 14px 0;padding:25px 0 0;border-top:1px solid #e4d8cc26}
.gallery-footer-copy{display:flex;flex-direction:column;gap:7px;color:#bfa696;font-size:12px;line-height:1.5}
.gallery-footer-copy small{font-size:11px;color:#a28a78}
.gallery-touch-hint{display:none}
.gallery-footer-actions{display:flex;align-items:center;gap:25px}
.gallery-browse{display:flex;flex-wrap:wrap;gap:9px 20px;font-size:12px;line-height:1.5;color:#e4d8cc}
.gallery-browse span{margin-left:5px}
.gallery-arrows{display:flex;gap:8px}
.gallery-arrows button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #e4d8cc44;border-radius:50%;font:22px/1 Georgia,serif;color:#e4d8cc;transition:background .25s}
.gallery-arrows button:hover{background:#6b190c}
#work.work-gallery-section :is(button,a,[tabindex]):focus-visible{outline:2px solid #e4d8cc;outline-offset:4px}
@media(max-width:900px){.gallery-heading{gap:24px;padding-inline:3px}.gallery-heading>p{font-size:12px;max-width:230px}.gallery-toolbar{padding-inline:3px}.gallery-tabs button{padding:12px 16px;font-size:12px}.gallery-footer{margin-inline:3px}.gallery-caption strong{font-size:22px}}
@media(max-width:600px){
 #work.work-gallery-section{width:calc(100% - 32px);margin:57px auto 28px;scroll-margin-top:24px}
 .gallery-heading{display:block;padding-bottom:25px}.gallery-heading h2{font-size:58px;margin-top:17px}.gallery-heading>p{max-width:290px;margin-top:22px;font-size:13px;line-height:1.7}
 .gallery-toolbar{flex-wrap:wrap;gap:5px;padding-bottom:18px;position:relative}
 .gallery-tabs{gap:7px;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-tabs button{padding:11px 8px;min-height:44px;font-size:12px}
 .gallery-motion{margin-left:auto;padding:6px 0;min-height:35px;font-size:11px}
 .work-gallery{--gallery-card-width:clamp(238px,76vw,330px);--gallery-gap:12px;gap:20px}
 .gallery-art{border-radius:12px}.gallery-lane{border-radius:12px}.gallery-caption{padding-top:10px;height:56px;gap:8px}.gallery-caption small{font-size:9px}.gallery-caption strong{font-size:21px}.gallery-caption i{font-size:17px}
 .gallery-touch-hint{display:inline}.gallery-desktop-hint{display:none}
 .gallery-footer{flex-wrap:wrap;gap:18px;margin-top:19px;padding-top:20px}.gallery-footer-copy{width:100%;gap:4px}.gallery-footer-actions{width:100%;justify-content:space-between;gap:12px}.gallery-browse{font-size:12px}
}
@media(pointer:coarse){.gallery-touch-hint{display:inline}.gallery-desktop-hint{display:none}}
@media(prefers-reduced-motion:reduce){.gallery-motion{display:none}.work-gallery-section *{scroll-behavior:auto!important;transition:none!important;animation:none!important}.gallery-desktop-hint{display:none}}
