/* Gallery: an open sketchbook with a small window into the finished house. */
.gallery-light{position:relative;isolation:isolate;overflow:hidden;background:#f5f3ed;color:#394d3e;border-bottom:1px solid #d5d7cc}
.gallery-light-inner{position:relative;min-height:490px;padding-top:54px;padding-bottom:64px}
.gallery-airy-copy{position:relative;z-index:2;width:55%;max-width:680px}
.gallery-light-kicker{font-size:9px;letter-spacing:.16em;color:#7e866f;margin:0 0 35px}
.gallery-light h1{font:400 clamp(68px,7.3vw,108px)/.94 var(--font-display,serif);letter-spacing:-.045em;margin:0}
.gallery-light h1 em{display:inline-block;font-weight:400;color:#788367;margin:8px 0 0 38px;white-space:nowrap}
.gallery-light-footer{display:flex;align-items:flex-end;gap:32px;margin-top:36px}
.gallery-light-footer p{font-size:11px;line-height:1.9;color:#76816c;margin:0}
.gallery-light-link{display:inline-flex;gap:24px;align-items:center;font-size:10px;color:#53664a;border-bottom:1px solid #aab49b;padding:8px 0;text-decoration:none;white-space:nowrap}
.gallery-light-link span{font-size:23px;font-weight:300;transition:transform .25s}.gallery-light-link:hover span{transform:translateY(4px)}.gallery-light-link:focus-visible{outline:2px solid #7c8a65;outline-offset:6px}
.gallery-light-index{position:absolute;right:4%;top:6px;font:400 150px/1 var(--font-display,serif);letter-spacing:-.07em;color:#b5b19a;opacity:.16;pointer-events:none}
.gallery-airy-art{position:absolute;right:-55px;top:38px;width:610px;height:390px;pointer-events:none;z-index:1}
.gallery-airy-arcs{position:absolute;inset:0;width:100%;height:100%;color:#a4ad90;opacity:.58}
.gallery-airy-structure{position:absolute;left:-58px;top:0;width:650px;height:365px;object-fit:contain;opacity:.64;mask-image:linear-gradient(90deg,transparent,#000 19%,#000 91%,transparent)}
.gallery-airy-window{position:absolute;right:96px;top:118px;width:190px;height:202px;border-radius:49% 51% 47% 53% / 48% 46% 54% 52%;overflow:hidden;transform:rotate(-9deg);box-shadow:0 0 0 7px #f5f3ed,0 0 0 8px #adb69a55;background:#e9ecdf}
.gallery-airy-window img{position:absolute;width:350px;height:232px;max-width:none;left:-112px;top:-12px;object-fit:cover;transform:rotate(9deg);filter:saturate(.8)}
.gallery-airy-note{position:absolute;right:121px;bottom:24px;color:#909780;font-size:8px;letter-spacing:.1em;transform:rotate(-5deg)}
.gallery-airy-wave{position:absolute;left:0;bottom:0;width:100%;height:43px;color:#a9b39c;opacity:.6;pointer-events:none}
@media(min-width:1600px){.gallery-airy-art{right:0;width:650px}}
@media(max-width:1100px){.gallery-light-inner{min-height:460px}.gallery-airy-art{right:-125px;width:560px;top:48px;opacity:.9}.gallery-airy-copy{width:58%}.gallery-light h1{font-size:8vw}.gallery-light-footer{display:block}.gallery-light-link{margin-top:15px}}
@media(max-width:700px){.gallery-light-inner{min-height:600px;padding-top:32px;padding-bottom:42px}.gallery-airy-copy{width:100%;max-width:none}.gallery-light-kicker{font-size:7px;letter-spacing:.12em;margin-bottom:28px;max-width:90%}.gallery-light h1{font-size:clamp(58px,14.7vw,88px);line-height:.94}.gallery-light h1 em{margin:9px 0 0 7%;white-space:nowrap}.gallery-light-index{font-size:115px;top:8px;right:2%;opacity:.13}.gallery-airy-art{width:440px;height:275px;right:-62px;top:200px;opacity:1}.gallery-airy-structure{left:-45px;top:0;width:470px;height:264px;opacity:.6}.gallery-airy-window{width:140px;height:148px;right:88px;top:83px;box-shadow:0 0 0 5px #f5f3ed,0 0 0 6px #adb69a55}.gallery-airy-window img{width:265px;height:176px;left:-85px;top:-12px}.gallery-airy-note{display:none}.gallery-light-footer{margin-top:250px;display:flex;align-items:center;justify-content:space-between;gap:15px}.gallery-light-footer p{font-size:10px;line-height:1.85}.gallery-light-link{font-size:9px;gap:14px;margin:0}.gallery-airy-wave{height:30px}}
@media(max-width:370px){.gallery-light h1{font-size:14.2vw}.gallery-light-footer{align-items:flex-start;flex-direction:column;gap:14px}.gallery-light-inner{min-height:625px}}
@media(prefers-reduced-motion:reduce){.gallery-light *{transition:none!important}}

/* Quiet motion: floating color window, slightly faster drafting arcs. */
.gallery-airy-window{animation:gallery-window-float 12s ease-in-out infinite}
.gallery-airy-arcs{transform-origin:55% 51%;animation:gallery-arcs-sway 8s ease-in-out infinite}
.gallery-airy-structure{animation:gallery-sketch-appear 1.6s ease-out both}
.gallery-airy-wave path{stroke-dasharray:1;stroke-dashoffset:1;animation:gallery-wave-draw 2.4s .25s ease-out both}
.gallery-light.is-outside *{animation-play-state:paused!important}
@keyframes gallery-window-float{0%,100%{transform:translate(0,0) rotate(-9deg)}50%{transform:translate(-7px,-5px) rotate(-8deg)}}
@keyframes gallery-arcs-sway{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
@keyframes gallery-sketch-appear{from{opacity:0;translate:0 6px}to{translate:0 0}}
@keyframes gallery-wave-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media(max-width:700px){.gallery-airy-arcs{animation:none}.gallery-airy-window{animation-name:gallery-window-float-mobile}}
@keyframes gallery-window-float-mobile{0%,100%{transform:translate(0,0) rotate(-9deg)}50%{transform:translate(-4px,-4px) rotate(-8deg)}}
@media(prefers-reduced-motion:reduce){.gallery-light *{animation:none!important;transition:none!important}.gallery-airy-wave path{stroke-dashoffset:0}.gallery-airy-structure{translate:none}}
