:root{--background-dark:#17120f;--background-walnut:#2b1c15;--background-light:#eee8dc;--surface-dark:#221914;--surface-light:#f7f1e7;--text-light:#f4ede1;--text-dark:#211a16;--accent-bronze:#9b7653;--accent-brass:#b79a67;--accent-wine:#63313a;--accent-forest:#263d31;--border-decorative:rgba(183,154,103,.35);--shadow-soft:0 18px 60px rgba(33,19,12,.14);--shadow-deep:0 30px 90px rgba(0,0,0,.38);--serif:Georgia,'Times New Roman',serif;--sans:'Segoe UI',Arial,sans-serif;--rail:92px;--ease:cubic-bezier(.22,.7,.2,1)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--background-light);color:var(--text-dark);font-family:var(--sans);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}body.menu-open{overflow:hidden}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{color:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:999;top:1rem;left:1rem;background:#fff;color:#111;padding:.7rem 1rem;transform:translateY(-200%)}.skip-link:focus{transform:none}:focus-visible{outline:2px solid var(--accent-brass);outline-offset:4px}
.site-main,.site-footer{margin-left:var(--rail)}.site-rail{position:fixed;inset:0 auto 0 0;width:var(--rail);z-index:50;background:linear-gradient(160deg,#251811,#120e0c);color:var(--text-light);border-right:1px solid var(--border-decorative);display:flex;flex-direction:column;transition:width .5s var(--ease);box-shadow:8px 0 40px rgba(0,0,0,.2);overflow:hidden}.site-rail.is-expanded{width:306px}.rail-top{height:112px;display:flex;align-items:center;justify-content:center;position:relative;border-bottom:1px solid var(--border-decorative)}.monogram{width:49px;height:60px;border:1px solid var(--accent-brass);display:grid;place-items:center;font:40px/1 var(--serif);color:var(--accent-brass)}.rail-expand{position:absolute;right:4px;bottom:4px;border:0;background:transparent;font-size:18px;padding:8px;cursor:pointer;transition:transform .3s}.rail-close{display:none}.site-rail.is-expanded .rail-expand{transform:rotate(45deg)}.category-nav{padding:8px 0;flex:1;overflow-y:auto}.category-nav a,.rail-actions a{height:54px;display:grid;grid-template-columns:32px 28px 1fr;align-items:center;gap:8px;padding:0 14px;border-left:2px solid transparent;white-space:nowrap;color:#c9bfb2;transition:.25s}.category-nav a:hover,.category-nav a.is-active{background:rgba(183,154,103,.08);border-color:var(--accent-brass);color:#fff}.nav-num{font-size:9px;letter-spacing:.16em;color:var(--accent-brass)}.nav-icon{font:20px var(--serif);text-align:center}.nav-label{opacity:0;transform:translateX(-8px);transition:.3s}.site-rail.is-expanded .nav-label{opacity:1;transform:none}.rail-actions{border-top:1px solid var(--border-decorative);padding:8px 0 14px}.rail-actions a{grid-template-columns:28px 1fr 24px}.rail-actions b{font-size:11px;color:var(--accent-brass)}.mobile-header{display:none}
.hero{height:100svh;min-height:700px;position:relative;background:#18110e;color:var(--text-light);overflow:hidden}.hero-media,.hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-media img{animation:heroIn 1.8s var(--ease) both}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,8,6,.74) 0,rgba(12,8,6,.25) 42%,rgba(12,8,6,.1) 68%,rgba(12,8,6,.38)),linear-gradient(0deg,rgba(12,8,6,.58),transparent 48%)}.hero-copy{position:absolute;left:8vw;top:50%;transform:translateY(-52%);max-width:800px}.eyebrow,.section-num{text-transform:uppercase;letter-spacing:.18em;font-size:11px;font-weight:600}.eyebrow{color:#d3b98a}.hero h1{font:clamp(56px,7.5vw,126px)/.84 var(--serif);font-weight:400;letter-spacing:-.045em;margin:24px 0 32px}.hero h1 em,.section-pad h2 em{font-weight:400;color:#d5b581}.hero-lead{width:min(440px,85vw);font-size:17px;color:#ddd4c8;border-left:1px solid var(--accent-brass);padding-left:20px}.hero-enter{position:absolute;right:4vw;bottom:6vh;display:flex;align-items:center;gap:22px;text-transform:uppercase;letter-spacing:.15em;font-size:11px}.hero-enter i{width:52px;height:52px;border:1px solid rgba(255,255,255,.5);border-radius:50%;display:grid;place-items:center;font-style:normal}.hero-index{position:absolute;left:8vw;bottom:5vh;display:flex;align-items:center;gap:15px;font-size:10px;letter-spacing:.14em;text-transform:uppercase}.hero-index .line{width:70px;height:1px;background:#a88960}@keyframes heroIn{from{transform:scale(1.04);opacity:.3}to{transform:none;opacity:1}}
.section-pad{padding:clamp(80px,10vw,160px) clamp(28px,7vw,120px)}.manifesto{display:grid;grid-template-columns:1.25fr .75fr;gap:10vw;background:var(--surface-light)}.section-num{color:#856d57;margin:0 0 28px}.section-pad h2,.section-head h2{font:clamp(40px,5vw,76px)/1.05 var(--serif);font-weight:400;letter-spacing:-.035em;margin:0}.manifesto-copy{padding-top:72px;font-size:18px}.manifesto-copy p{margin:0 0 24px}.text-link{display:inline-flex;gap:40px;text-transform:uppercase;letter-spacing:.12em;font-size:11px;border-bottom:1px solid #9b7653;padding:12px 0}.category-showcase{background:var(--background-walnut);color:var(--text-light)}.section-head{margin-bottom:70px}.category-row{display:grid;grid-template-columns:55px 1fr 1.25fr 40px;gap:24px;align-items:center;min-height:115px;border-top:1px solid var(--border-decorative);transition:.3s}.category-row:last-child{border-bottom:1px solid var(--border-decorative)}.category-row>span{color:#a88960;font-size:11px}.category-row h3{font:36px var(--serif);font-weight:400;margin:0}.category-row p{color:#cbbfb2;font-size:14px}.category-row i{font-size:26px;font-style:normal;opacity:.5}.category-row:hover{padding-left:16px;background:rgba(255,255,255,.03)}
.editorial-triptych{display:grid;grid-template-columns:1.4fr .8fr;grid-template-rows:700px 360px;background:#15110e;color:white}.editorial-card{position:relative;overflow:hidden}.editorial-card--large{grid-row:span 2}.editorial-card img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}.editorial-card:after{content:'';position:absolute;inset:30% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.76))}.editorial-card:hover img{transform:scale(1.025)}.editorial-card div{position:absolute;z-index:2;left:7%;bottom:6%;right:7%}.editorial-card p{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#d5b581}.editorial-card h2{font:44px var(--serif);font-weight:400;margin:8px 0}.editorial-card a{font-size:12px;text-transform:uppercase;letter-spacing:.1em;border-bottom:1px solid #d5b581}.quote-panel{background:var(--accent-wine);display:grid;place-items:center;padding:40px;text-align:center}.quote-panel span{font:70px var(--serif);color:#b98d79;border:1px solid #b98d79;padding:0 18px}.quote-panel blockquote{font:24px/1.4 var(--serif);margin:18px 0 0}.cta-band{background:var(--accent-forest);color:#fff;text-align:center}.cta-band p:not(.section-num){max-width:550px;margin:30px auto}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;background:var(--text-light);color:var(--text-dark);padding:16px 24px;min-height:52px;border:1px solid transparent;text-transform:uppercase;letter-spacing:.12em;font-size:11px;cursor:pointer}.button--dark{background:var(--background-walnut);color:white}.button:hover{border-color:var(--accent-brass)}
.gallery-page{min-height:100vh;background:#1b1410;color:#eee4d7;padding:70px 5vw 120px}.gallery-heading{display:grid;grid-template-columns:1.1fr .8fr auto;align-items:end;gap:5vw;padding-bottom:45px}.gallery-heading h1{font:clamp(50px,7vw,100px)/.9 var(--serif);font-weight:400;margin:10px 0}.gallery-heading>p{color:#bfb2a5;max-width:520px}.gallery-modes{display:flex;border:1px solid var(--border-decorative)}.gallery-modes button,.light-switch button{background:transparent;border:0;padding:11px 16px;color:#cbbfb2;cursor:pointer;font-size:11px;letter-spacing:.12em;text-transform:uppercase}.gallery-modes button.is-active,.light-switch button.is-active{background:#d2b483;color:#24170f}.filters{border-block:1px solid var(--border-decorative);padding:18px 0;margin-bottom:38px}.filter-group{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0}.filter-group>span{width:90px;color:#a48d74;font-size:10px;text-transform:uppercase;letter-spacing:.15em}.filter-group label{cursor:pointer}.filter-group input{position:absolute;opacity:0}.filter-group label>span{display:inline-block;border:1px solid rgba(255,255,255,.14);padding:7px 11px;font-size:12px;transition:.2s}.filter-group input:checked+span,.filter-group input:checked~span{background:#795b42;border-color:#b8936e}.filter-group--wood label{display:flex;align-items:center;border:1px solid rgba(255,255,255,.14);padding:5px 9px;gap:7px}.filter-group--wood label>span{border:0;padding:0}.wood-swatch{width:23px;height:23px;border-radius:50%;background:linear-gradient(110deg,#cfb58e,#94704b)}.wood-swatch--light{background:linear-gradient(110deg,#dfcda9,#b8956e)}.wood-swatch--dark{background:linear-gradient(110deg,#75513c,#2f1b14)}.wood-swatch--painted{background:linear-gradient(110deg,#c6c0ad,#566053)}.filter-summary{display:flex;justify-content:space-between;margin-top:15px;font-size:12px}.filter-summary button{background:0;border:0;color:#cbbfb2;text-decoration:underline;cursor:pointer}.mobile-filter-button{display:none}.cinema-gallery{position:relative}.cinema-frame{position:relative;z-index:1}.cinema-frame.is-instant{animation:none!important}.cinema-frame.is-scroll-source,.cinema-frame.is-scroll-target{will-change:opacity}.cinema-frame.is-scroll-target{position:absolute;z-index:2;inset:0 0 auto;pointer-events:none}.cinema-frame.is-scroll-entering{animation:frameIn .72s linear both}.cinema-frame.is-leaving{position:absolute;z-index:2;inset:0 0 auto;animation:frameOut .72s linear both;pointer-events:none}@keyframes frameIn{from{opacity:0}to{opacity:1}}@keyframes frameOut{from{opacity:1}to{opacity:0}}.frame-media{position:relative;aspect-ratio:16/9;overflow:hidden;background:#0c0908;box-shadow:var(--shadow-deep);border:1px solid rgba(205,173,125,.35)}.frame-media:before{content:'';position:absolute;z-index:2;inset:14px;border:1px solid rgba(255,255,255,.2);pointer-events:none}.frame-media>img{width:100%;height:100%;object-fit:cover;transition:opacity .65s var(--ease),filter .65s var(--ease),transform 1.2s var(--ease)}.cinema-frame.is-scroll-source .frame-media>img,.cinema-frame.is-scroll-target .frame-media>img{transition:none}.frame-media.is-switching>img{opacity:.18;filter:blur(3px)}.light-switch{position:absolute;z-index:7;top:28px;right:28px;display:flex;background:rgba(20,14,11,.75);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.2)}.frame-caption{display:grid;grid-template-columns:1fr 1fr auto;gap:35px;padding:25px 2px;align-items:end}.frame-caption h2{font:38px var(--serif);font-weight:400;margin:0}.frame-caption p{color:#bcaea1;font-size:13px;margin:4px 0}.frame-actions{display:flex;gap:8px}.frame-actions a,.frame-actions button{border:1px solid var(--border-decorative);background:transparent;color:#eee;padding:10px 12px;font-size:11px;cursor:pointer}.gallery-controls{display:flex;justify-content:center;align-items:center;gap:30px}.gallery-controls button{width:48px;height:48px;border:1px solid var(--border-decorative);background:transparent;color:#fff;border-radius:50%;cursor:pointer}.gallery-controls span{font:18px var(--serif)}.gallery-controls i{font-style:normal;color:#8b7663}.editorial-grid{columns:3;column-gap:25px}.grid-item{display:inline-block;width:100%;margin:0 0 42px}.grid-item img{width:100%;aspect-ratio:4/5;object-fit:cover;transition:transform .8s var(--ease),filter .8s var(--ease)}.grid-item:hover img{transform:scale(1.018);filter:saturate(.96) contrast(1.02)}.grid-item--2 img{aspect-ratio:1/1}.grid-item--3 img{aspect-ratio:4/3}.grid-item span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:#bca289;margin-top:12px}.grid-item h2{font:27px var(--serif);font-weight:400;margin:3px 0}.no-results{padding:80px;text-align:center;color:#ccbfb1}
.accent-point{position:absolute;z-index:9;left:var(--x);top:var(--y);width:42px;height:42px;padding:0;display:grid;place-items:center;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.72);border-radius:50%;background:rgba(25,18,14,.68);color:#fff;box-shadow:0 0 0 7px rgba(255,255,255,.1);cursor:pointer;overflow:visible;transition:background .25s,box-shadow .25s}.accent-plus{font:25px/1 var(--serif);transition:transform .3s var(--ease)}.accent-point:hover,.accent-point:focus-visible,.accent-point.is-open{background:#8f6a49;box-shadow:0 0 0 9px rgba(255,255,255,.12)}.accent-point:hover .accent-plus,.accent-point:focus-visible .accent-plus,.accent-point.is-open .accent-plus{transform:rotate(45deg)}.accent-popover{position:absolute;left:calc(100% + 16px);top:50%;width:370px;display:grid;grid-template-columns:148px 1fr;align-items:center;gap:18px;padding:12px 18px 12px 12px;background:rgba(20,14,11,.92);border:1px solid rgba(216,187,136,.48);box-shadow:0 22px 60px rgba(0,0,0,.42);backdrop-filter:blur(14px);color:#f3eadf;text-align:left;opacity:0;visibility:hidden;transform:translate(12px,-50%) scale(.96);transform-origin:left center;transition:opacity .25s,transform .3s var(--ease),visibility .25s;pointer-events:none}.accent-point:hover .accent-popover,.accent-point:focus-visible .accent-popover,.accent-point.is-open .accent-popover{opacity:1;visibility:visible;transform:translate(0,-50%) scale(1)}.accent-lens{display:block;width:148px;height:148px;border-radius:50%;background-image:var(--accent-image);background-repeat:no-repeat;background-size:var(--lens-size,500%) auto;background-position:var(--lens-x) var(--lens-y);border:1px solid rgba(255,255,255,.62);box-shadow:inset 0 0 0 5px rgba(18,12,9,.18),0 8px 24px rgba(0,0,0,.34)}.accent-copy{display:flex;flex-direction:column;gap:9px}.accent-copy b{font:22px/1.08 var(--serif);font-weight:400}.accent-copy small{color:#cbb9a7;font-size:10px;line-height:1.45;letter-spacing:.11em;text-transform:uppercase}.accent-point.is-cropped{display:none}@media(max-width:640px){.accent-point{width:40px;height:40px}.accent-popover{width:210px;grid-template-columns:82px 1fr;gap:11px;padding:9px;left:calc(100% + 10px)}.accent-lens{width:82px;height:82px}.accent-copy{gap:6px}.accent-copy b{font-size:15px}.accent-copy small{font-size:8px;line-height:1.35}}
.project-page{background:var(--surface-light)}.project-hero{height:min(88vh,950px);min-height:650px;position:relative;background:#150f0d;color:#fff;overflow:hidden}.project-hero>img{width:100%;height:100%;object-fit:cover;transition:opacity .65s var(--ease),filter .65s var(--ease),transform 1.2s var(--ease)}.project-hero.is-switching>img{opacity:.18;filter:blur(3px)}.project-hero:after{content:'';position:absolute;z-index:2;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.8));pointer-events:none}.project-hero .light-switch{z-index:8}.project-overlay{position:absolute;z-index:5;left:7vw;bottom:7vh;max-width:760px}.project-overlay h1{font:clamp(52px,7vw,100px)/.95 var(--serif);font-weight:400;margin:10px 0}.project-overlay>p:last-child{max-width:530px}.project-story{display:grid;grid-template-columns:1.2fr .8fr;gap:10vw}.project-story dl{margin:40px 0}.project-story dl div{display:grid;grid-template-columns:140px 1fr;padding:15px 0;border-bottom:1px solid #cfc4b5}.project-story dt{text-transform:uppercase;font-size:10px;letter-spacing:.12em;color:#806e5c}.project-story dd{margin:0}.project-intent{display:grid;grid-template-columns:1.08fr .92fr;gap:10vw;background:#e1d6c5}.project-intent__copy{align-self:center;max-width:650px}.project-intent__copy p{font-size:17px;margin:0 0 24px}.project-cta{background:var(--accent-wine);color:white;text-align:center}.project-cta p{margin:25px auto;max-width:520px}
.project-view-gallery{background:#201712;color:#eee4d7}.project-view-gallery .section-head{display:grid;grid-template-columns:1fr 1fr;gap:8vw;align-items:end}.project-view-gallery .section-head>p{color:#bfb2a5;max-width:540px}.project-view-gallery__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:42px}.project-view-gallery figure{margin:0}.project-view-gallery img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}.project-view-gallery figcaption{padding-top:12px;color:#c9bcae;font-size:12px;letter-spacing:.04em}
.toast{position:fixed;z-index:120;right:24px;bottom:24px;background:#253b30;color:white;padding:14px 20px;box-shadow:var(--shadow-soft);transform:translateY(160%);transition:.35s}.toast.is-visible{transform:none}
.site-footer{background:#130f0d;color:#d8ccbf;padding:70px 6vw 30px;display:grid;grid-template-columns:100px 1.3fr 1fr .6fr;gap:40px;border-top:1px solid #504232}.footer-mark{font:70px var(--serif);color:#b69565}.footer-title{font:32px var(--serif);margin:5px 0}.footer-links,.site-footer nav{display:flex;flex-direction:column;gap:8px;font-size:13px}.copyright{grid-column:2/-1;border-top:1px solid #41372f;padding-top:20px;font-size:11px;color:#8f8175}
@media(max-width:1000px){:root{--rail:0px}.site-main,.site-footer{margin-left:0}.mobile-header{display:flex;position:fixed;z-index:60;top:0;left:0;right:0;height:68px;align-items:center;justify-content:space-between;padding:0 18px;background:rgba(26,18,14,.9);backdrop-filter:blur(14px);color:#fff;border-bottom:1px solid var(--border-decorative)}.mobile-brand{display:flex;align-items:center;gap:10px;text-transform:uppercase;letter-spacing:.14em;font-size:11px}.mobile-brand span{width:32px;height:39px;border:1px solid #b79a67;display:grid;place-items:center;font:24px var(--serif);color:#d7b986}.menu-toggle{width:44px;height:44px;background:transparent;border:0;display:grid;align-content:center;gap:5px}.menu-toggle>span:not(.sr-only){width:24px;height:1px;background:#fff}.site-rail{top:68px;width:min(340px,90vw);transform:translateX(-110%);transition:transform .35s}.site-rail.is-open{transform:none}.rail-top{display:none}.nav-label{opacity:1;transform:none}.category-nav a{grid-template-columns:34px 30px 1fr}.rail-actions a{grid-template-columns:30px 1fr 28px}.hero{min-height:650px}.hero-copy{left:7vw}.hero h1{font-size:clamp(50px,11vw,86px)}.manifesto,.project-story,.project-intent{grid-template-columns:1fr}.manifesto-copy{padding-top:0}.category-row{grid-template-columns:40px 1fr 30px}.category-row p{display:none}.editorial-triptych{grid-template-columns:1fr;grid-template-rows:650px 500px 340px}.editorial-card--large{grid-row:auto}.gallery-page{padding:110px 4vw 80px}.gallery-heading{grid-template-columns:1fr auto}.gallery-heading>p{grid-column:1/-1}.filters{position:fixed;z-index:70;inset:auto 0 0;background:#211813;padding:25px;max-height:75vh;overflow:auto;transform:translateY(105%);transition:.4s}.filters.is-open{transform:none}.mobile-filter-button{display:block;position:sticky;top:78px;z-index:15;margin:0 0 18px auto;background:#d2b483;border:0;padding:10px 16px;text-transform:uppercase;font-size:11px}.filter-group>span{width:100%;margin-top:8px}.frame-caption{grid-template-columns:1fr 1fr}.frame-actions{grid-column:1/-1}.editorial-grid{columns:2}.site-footer{grid-template-columns:70px 1fr 1fr}.site-footer nav{grid-column:2}.copyright{grid-column:1/-1}}
@media(max-width:640px){.hero{height:92svh}.hero-copy{top:44%}.hero h1{font-size:50px}.hero-lead{font-size:14px}.hero-index{display:none}.hero-enter{left:7vw;right:auto}.section-pad{padding:72px 22px}.section-pad h2,.section-head h2{font-size:40px}.category-row h3{font-size:27px}.editorial-triptych{grid-template-rows:560px 440px 320px}.gallery-heading{display:block}.gallery-modes{width:max-content;margin-top:20px}.frame-media{aspect-ratio:3/4}.frame-media img{object-position:center}.frame-media:before{inset:8px}.light-switch{top:18px;right:18px}.frame-caption{display:block}.frame-caption>p{margin:12px 0}.frame-actions{flex-wrap:wrap;margin:18px 0}.editorial-grid{columns:1}.project-hero{height:88svh;min-height:620px}.project-overlay{left:22px;right:22px;bottom:40px}.project-overlay h1{font-size:52px}.project-story dl div{grid-template-columns:105px 1fr}.project-view-gallery .section-head,.project-view-gallery__grid{grid-template-columns:1fr}.site-footer{grid-template-columns:1fr}.footer-mark{display:none}.site-footer nav,.copyright{grid-column:1}.toast{left:15px;right:15px;text-align:center}}
.filter-group label.is-unavailable{display:none}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* Один тестовый авторский просмотр: тот же кадр, без генеративной подмены геометрии. */
.concept-reveal__sketch{position:absolute;z-index:2;inset:var(--scheme-top-inset,0) 0 0;background:#e7dfd1;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .45s var(--ease),visibility .45s}
.has-concept-reveal.is-scheme .concept-reveal__sketch{opacity:1;visibility:visible}
.concept-reveal__sketch img{width:100%;height:100%;object-fit:contain}
.concept-reveal__dimensions{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.concept-reveal__dimensions .dimension-lines line,.concept-reveal__dimensions .dimension-lines path{fill:none;stroke:#986d3d;stroke-width:2;vector-effect:non-scaling-stroke}
.concept-reveal__dimensions .dimension-lines .measure{marker-start:url(#concept-dimension-arrow);marker-end:url(#concept-dimension-arrow)}
.concept-reveal__dimensions marker path{fill:#986d3d}
.concept-reveal__dimensions .measure-tags rect{fill:rgba(255,252,247,.96);stroke:rgba(152,109,61,.55);stroke-width:1.2;vector-effect:non-scaling-stroke}
.concept-reveal__dimensions .measure-tags line{stroke:#986d3d;stroke-width:1.4;vector-effect:non-scaling-stroke}
.concept-reveal__dimensions .measure-tags text{fill:#4a3524;font:700 15px var(--sans);letter-spacing:.025em}
.concept-reveal__dimensions .measure-tags text tspan{fill:#986d3d;font-weight:800}
.concept-reveal__dimensions .dimension-labels text{fill:#3d2b1c;font:700 18px var(--sans);letter-spacing:.035em;paint-order:stroke;stroke:rgba(255,255,255,.94);stroke-width:7px;stroke-linejoin:round}
.concept-reveal__dimensions .callout-lines path{fill:none;stroke:#8b6238;stroke-width:1.4;vector-effect:non-scaling-stroke;marker-end:url(#concept-callout-dot)}
.concept-reveal__dimensions #concept-callout-dot circle{fill:#8b6238}
.concept-reveal__dimensions .callout-labels text{fill:#4b3828;font:500 16px var(--sans);paint-order:stroke;stroke:rgba(255,255,255,.96);stroke-width:6px;stroke-linejoin:round}
.concept-reveal__dimensions .callout-labels text tspan:first-child{font-weight:750;letter-spacing:.055em}
.concept-reveal__dimensions .callout-labels text tspan+ tspan{fill:#6f6053;font-size:15px;font-weight:500;letter-spacing:0}
.concept-reveal__dimensions .technical-title{fill:#8b6238;font:700 21px var(--sans);letter-spacing:.14em}
.concept-reveal__dimensions .technical-note{fill:#5d5044;font:500 16px var(--sans);letter-spacing:.025em}
.concept-scheme-mobile-key{display:none}
.concept-view-switch{position:absolute;z-index:13;top:var(--concept-switch-top,62px);left:22px;display:flex;border:1px solid rgba(255,255,255,.4);background:rgba(20,14,11,.78);backdrop-filter:blur(14px);box-shadow:0 10px 28px rgba(0,0,0,.2)}
.concept-view-switch button{min-width:92px;border:0;background:transparent;padding:11px 15px;color:#ddd0c1;cursor:pointer;font-size:10px;letter-spacing:.13em;text-transform:uppercase}
.concept-view-switch button.is-active{background:#d2b483;color:#24170f}
.concept-reveal__range,.concept-reveal__divider,.concept-reveal__legend{display:none}
.has-concept-reveal.is-scheme .light-switch{opacity:0;visibility:hidden;pointer-events:none}
@media(max-width:1000px){.concept-view-switch{left:18px}.concept-view-switch button{min-width:82px;padding:10px 12px;font-size:9px}}
@media(max-width:900px),(max-height:700px){.concept-reveal__sketch{background:#eee8df}.concept-reveal__sketch>img{height:54%;object-position:center 20%}.concept-reveal__dimensions{display:none}.concept-scheme-mobile-key{display:block;position:absolute;z-index:3;left:14px;right:14px;bottom:14px;max-height:40%;overflow:auto;padding:13px 14px;background:rgba(255,252,247,.97);border:1px solid rgba(139,98,56,.28);box-shadow:0 12px 30px rgba(52,37,24,.13);color:#3d2b1c;font-size:11px;line-height:1.35}.concept-scheme-mobile-key>strong{display:block;margin-bottom:8px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#8b6238}.concept-scheme-mobile-key dl{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px;margin:0 0 8px}.concept-scheme-mobile-key dl div{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid rgba(139,98,56,.18);padding-bottom:4px}.concept-scheme-mobile-key dt{color:#6f6053}.concept-scheme-mobile-key dd{margin:0;font-weight:700;white-space:nowrap}.concept-scheme-mobile-key p{margin:0 0 7px}.concept-scheme-mobile-key small{display:block;color:#796b5f;font-size:9px}}
@media(min-width:1001px){.gallery-page{padding-top:28px}.gallery-heading{gap:3vw;padding-bottom:18px}.gallery-heading h1{font-size:clamp(46px,5vw,72px);margin:5px 0}.filters{display:grid;grid-template-columns:auto auto auto minmax(150px,1fr);align-items:center;gap:12px 24px;padding:10px 0;margin-bottom:16px}.filter-group{flex-wrap:nowrap;margin:0}.filter-group>span{width:auto;margin-right:7px}.filter-summary{align-items:center;justify-content:flex-end;gap:22px;margin-top:0;white-space:nowrap}.frame-media{height:clamp(430px,calc(100svh - 270px),760px);aspect-ratio:auto}}
@media(min-width:1001px){:root{--rail-open:clamp(286px,23vw,340px)}.site-main,.site-footer{min-width:0;transition:margin-left .5s var(--ease)}.site-main{container-name:content;container-type:inline-size}.site-rail.is-expanded{width:var(--rail-open)}body.nav-expanded .site-main,body.nav-expanded .site-footer{margin-left:var(--rail-open)}.gallery-page{padding-inline:clamp(20px,3cqw,58px)}.cinema-gallery{width:100%;max-width:calc((100svh - 270px)*16/9);margin-inline:auto}.frame-media{height:auto;aspect-ratio:16/9}.frame-media>img{width:100%;height:100%}}
@container content (max-width:1180px){.gallery-heading{grid-template-columns:1fr auto;gap:12px 24px}.gallery-heading>p{grid-column:1/-1;max-width:760px;margin:0}.filters{grid-template-columns:1fr 1fr;gap:10px 20px}.filter-group{flex-wrap:wrap}.filter-summary{grid-column:1/-1;justify-content:space-between}.frame-caption{grid-template-columns:1fr 1fr}.frame-actions{grid-column:1/-1;justify-content:flex-end}}
@container content (max-width:820px){.gallery-heading{grid-template-columns:1fr}.gallery-heading>p{grid-column:auto}.gallery-modes{justify-self:start}.filters{grid-template-columns:1fr}.filter-summary{grid-column:auto}.filter-group>span{width:100%;margin-bottom:3px}.frame-caption{grid-template-columns:1fr}.frame-actions{grid-column:auto;justify-content:flex-start}}
@media(min-width:1001px){body.nav-expanded .cinema-gallery{max-width:min(100%,calc((100svh - 350px)*16/9))}body.nav-expanded .gallery-heading h1{font-size:clamp(44px,4cqw,64px)}}
@container content (max-width:1320px){.gallery-heading{grid-template-columns:1fr auto;gap:12px 24px}.gallery-heading>p{grid-column:1/-1;max-width:760px;margin:0}.filters{grid-template-columns:1fr 1fr;gap:10px 20px}.filter-group{flex-wrap:wrap}.filter-summary{grid-column:1/-1;justify-content:space-between}.frame-caption{grid-template-columns:1fr 1fr}.frame-actions{grid-column:1/-1;justify-content:flex-end}}
@media(min-width:1001px){:root{--rail-open:clamp(224px,17vw,258px)}.nav-num{display:none}.site-rail.is-expanded .category-nav a{grid-template-columns:1fr;padding-inline:18px}.site-rail.is-expanded .nav-icon{display:none}.site-rail.is-expanded .rail-actions a{grid-template-columns:1fr 24px;padding-inline:18px}.site-rail.is-expanded .rail-actions a>span:first-child{display:none}.site-rail:not(.is-expanded){overflow:visible}.site-rail:not(.is-expanded) .category-nav{overflow:visible}.site-rail:not(.is-expanded) .category-nav a{position:relative;grid-template-columns:1fr;justify-items:center;padding:0}.site-rail:not(.is-expanded) .nav-label{display:none}.nav-icon{font-family:'Segoe UI Symbol','Segoe UI Emoji',sans-serif;font-size:22px;line-height:1;filter:grayscale(1);opacity:.92}.site-rail:not(.is-expanded) .category-nav a[data-tooltip]::after{content:attr(data-tooltip);position:absolute;z-index:80;left:calc(100% + 10px);top:50%;transform:translate(6px,-50%);padding:7px 10px;background:#f4ede1;color:#211a16;border:1px solid #b79a67;box-shadow:0 8px 24px rgba(0,0,0,.25);font-size:12px;line-height:1.2;letter-spacing:0;opacity:0;visibility:hidden;pointer-events:none;transition:.18s;white-space:nowrap}.site-rail:not(.is-expanded) .category-nav a:hover::after,.site-rail:not(.is-expanded) .category-nav a:focus-visible::after{opacity:1;visibility:visible;transform:translate(0,-50%)}}
@media(min-width:1001px){.nav-icon{font-family:'Segoe UI Symbol','Segoe UI Emoji',sans-serif;font-variant-emoji:text;font-size:22px;line-height:1;color:#d0c5b8;filter:none;opacity:.92}.category-nav a.is-active .nav-icon{color:#d7b05f;opacity:1}.category-nav a[aria-current="page"] .nav-icon{color:#d7b05f;opacity:1}body.nav-expanded .filters{grid-template-columns:1fr 1fr;gap:10px 20px}body.nav-expanded .filter-group{flex-wrap:wrap}body.nav-expanded .filter-summary{grid-column:1/-1;justify-content:space-between}}
@media(min-width:1001px){.gallery-page{padding-top:12px;padding-inline:0}.gallery-heading{grid-template-columns:minmax(330px,.7fr) minmax(0,1.3fr) auto;align-items:center;gap:16px;padding:0 24px 8px}.gallery-heading .eyebrow{font-size:9px;line-height:1.2;margin:0}.gallery-heading h1{font-size:clamp(38px,3.4vw,54px);line-height:.92;margin:4px 0}.gallery-heading>p{max-width:none;margin:0;font-size:11px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gallery-modes button{padding:8px 12px;font-size:9px}.filters{grid-template-columns:auto auto auto minmax(130px,1fr);gap:8px 18px;padding:7px 24px;margin:0}.filter-group{gap:6px}.filter-group>span{font-size:8px}.filter-group label>span{padding:5px 8px;font-size:10px}.filter-group--wood label{padding:3px 7px}.wood-swatch{width:18px;height:18px}.filter-summary{font-size:10px}.cinema-gallery,body.nav-expanded .cinema-gallery{width:100%;max-width:none;margin:0}.frame-media{width:100%;height:auto;aspect-ratio:16/9}}
@container content (max-width:1320px){.gallery-heading{grid-template-columns:1fr auto;padding-bottom:8px}.gallery-heading>p{grid-column:1/-1;white-space:normal}.filters{grid-template-columns:1fr 1fr;padding-block:7px}.filter-summary{grid-column:1/-1}.filter-group{flex-wrap:wrap}}
@container content (max-width:820px){.gallery-heading{grid-template-columns:1fr}.gallery-heading>p{grid-column:auto}.filters{grid-template-columns:1fr}.filter-summary{grid-column:auto}}
@media(min-width:1450px){body.nav-expanded .filters{grid-template-columns:auto auto auto minmax(130px,1fr);gap:8px 18px}body.nav-expanded .filter-group{flex-wrap:nowrap}body.nav-expanded .filter-summary{grid-column:auto;justify-content:flex-end}}
.gallery-stage{position:relative}@media(min-width:1001px){.gallery-stage>.filters{position:absolute;z-index:12;top:0;left:0;right:0;margin:0;padding:8px 24px;background:rgba(20,14,11,.78);border-top:0;border-bottom:1px solid rgba(211,181,133,.38);backdrop-filter:blur(16px);box-shadow:0 12px 30px rgba(0,0,0,.16)}.gallery-stage .frame-media{height:calc(100svh - 76px);min-height:540px;aspect-ratio:auto}.gallery-stage .frame-media>img{position:relative;z-index:1;object-fit:contain}.gallery-stage .frame-media:after{content:'';position:absolute;z-index:0;inset:-34px;background-image:var(--scene-image);background-position:center;background-size:cover;filter:blur(24px) brightness(.42) saturate(.72);transform:scale(1.08);pointer-events:none}.gallery-stage .frame-media:before{z-index:3}.gallery-stage .light-switch{top:auto;right:22px;bottom:22px}}@container content (max-width:1320px){.gallery-stage .frame-media{height:calc(100svh - 146px)}}
.gallery-stage .frame-media{height:100svh;min-height:560px;aspect-ratio:auto;background:#17110e}.gallery-stage .frame-media>img{position:relative;z-index:1;object-fit:cover}.gallery-stage .frame-media:after{display:none}.gallery-stage .frame-media:before{z-index:3}@media(max-width:1000px){.gallery-stage .frame-media{height:calc(100svh - 68px);min-height:520px}}
.gallery-stage .frame-media.has-concept-reveal.is-scheme{height:var(--scheme-viewport-height,calc(100svh - 8px));min-height:0;max-height:100svh;aspect-ratio:auto}
.stair-standards-link{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 24px;border-top:1px solid rgba(211,181,133,.3);background:#261b15;color:#eee4d7}.stair-standards-link div{display:flex;align-items:baseline;gap:18px}.stair-standards-link b{font:22px var(--serif);font-weight:400}.stair-standards-link span{color:#bba998;font-size:12px}.stair-standards-link nav{display:flex;gap:7px}.stair-standards-link a{border:1px solid #b8936e;padding:9px 13px;color:#f0e3d4;font-size:10px;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}.stair-standards-link a:hover,.stair-standards-link a:focus-visible{background:#b8936e;color:#21150f;outline:0}@media(max-width:700px){.stair-standards-link,.stair-standards-link div{align-items:flex-start;flex-direction:column}.stair-standards-link{padding:15px 0}.stair-standards-link div{gap:4px}.stair-standards-link nav{width:100%;overflow-x:auto}.stair-standards-link a{flex:0 0 auto}}
.nav-icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.nav-icon{width:24px;height:24px;display:block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;overflow:visible}.category-nav a.is-active .nav-icon,.category-nav a[aria-current="page"] .nav-icon{stroke-width:1.85}@media(min-width:1001px){.gallery-heading>p{font-size:13px;line-height:1.35}.filter-group>span{font-size:9px}.filter-group label>span{font-size:12px}.gallery-modes button{font-size:10px}.filter-summary{font-size:11px}}
@container content (max-width:1400px){.filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.filter-group{min-width:0;flex-wrap:wrap}.filter-summary{grid-column:1/-1}}
.content-hero{min-height:560px;padding:160px 8vw 90px;background:linear-gradient(120deg,#21150f,#3b251a 64%,#1d2f26);color:white;display:flex;flex-direction:column;justify-content:end;position:relative;overflow:hidden}.content-hero:after{content:'Э';position:absolute;right:6vw;top:4%;font:360px/1 var(--serif);color:rgba(190,157,105,.06)}.content-hero h1{font:clamp(58px,8vw,112px)/.9 var(--serif);font-weight:400;letter-spacing:-.045em;margin:18px 0}.content-hero h1 em{color:#d2b483;font-weight:400}.content-hero>p:last-child{max-width:620px;color:#cfc4b7;font-size:18px}.prose-grid,.quote-layout,.contact-form-section{display:grid;grid-template-columns:1fr 1fr;gap:10vw}.prose-grid>div:last-child{font-size:18px;padding-top:55px}.process{background:#2a1d16;color:white}.process ol{list-style:none;padding:0;margin:50px 0 0;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--border-decorative)}.process li{min-width:0;padding:30px 25px 34px;border-right:1px solid var(--border-decorative)}.process li>span{font-size:10px;letter-spacing:.15em;color:#b8936e}.process li picture{display:block;overflow:hidden;margin:26px 0 0;background:#1d140f;aspect-ratio:3/2}.process li img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.78) contrast(.96) brightness(.88);transition:transform .7s ease,filter .7s ease}.process li:hover img{transform:scale(1.025);filter:saturate(.9) contrast(.98) brightness(.94)}.process li h2{font:27px var(--serif);font-weight:400;margin:27px 0 15px}.process li p{color:#bdb1a5;font-size:14px}.region-copy{background:linear-gradient(135deg,#18100c 0%,#281a13 52%,#39271d 100%);color:#f3e9dc;text-align:center;border-block:1px solid rgba(210,180,131,.22)}.region-copy h2{color:#f3e9dc}.region-copy p{max-width:650px;margin:25px auto 35px;color:#cdbfaf}.region-copy .button{background:#d2b483;color:#24170f;border-color:#d2b483;font-weight:600}.region-copy .button:hover,.region-copy .button:focus-visible{background:#e2c79a;border-color:#e2c79a;outline:0}.contacts-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:7vw}.contact-details h2{font:40px/1.1 var(--serif);font-weight:400}.contact-details dl div{padding:15px 0;border-bottom:1px solid #cfc3b4;display:grid;grid-template-columns:120px 1fr}.contact-details dt{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#806d59}.contact-details dd{margin:0}.messengers{display:flex;gap:15px;margin-top:30px}.messengers a{border-bottom:1px solid #9b7653}.map-frame iframe{width:100%;height:500px;border:0;filter:saturate(.65) sepia(.08)}.map-frame>a{display:inline-block;margin-top:12px;font-size:12px;text-transform:uppercase;letter-spacing:.1em}.contact-form-section{background:#ddd0bd}.lead-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.lead-form label{display:flex;flex-direction:column;gap:6px}.lead-form label>span{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#735e4a}.lead-form input,.lead-form select,.lead-form textarea{width:100%;border:0;border-bottom:1px solid #8d7863;background:rgba(255,255,255,.25);padding:12px;color:#231a14;border-radius:0}.lead-form__wide{grid-column:1/-1}.consent{flex-direction:row!important;align-items:flex-start}.consent input{width:20px;height:20px}.consent span{text-transform:none!important;letter-spacing:0!important;font-size:12px!important}.consent a{text-decoration:underline}.honeypot{position:absolute!important;left:-9999px!important}.form-status{font-size:13px;margin:0}.empty-selection{text-align:center;padding:60px 0 110px}.empty-selection>span{font:70px var(--serif);color:#9a7655}.empty-selection h2{font:42px var(--serif);font-weight:400;margin:10px}.selection-list{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-bottom:80px}.selection-card{background:#f7f1e7;box-shadow:var(--shadow-soft)}.selection-card>img{width:100%;height:250px;object-fit:cover}.selection-card>div{padding:22px}.selection-card p{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#816d5c}.selection-card h2{font:26px var(--serif);font-weight:400;margin:5px 0}.selection-card>div>div{display:flex;justify-content:space-between;margin-top:20px}.selection-card a,.selection-card button{font-size:11px;text-transform:uppercase;background:none;border:0;border-bottom:1px solid #9a7655;cursor:pointer}.quote-layout{border-top:1px solid #bdad9b;padding-top:80px}.legal-page{max-width:1000px;margin:auto;padding-top:140px}.legal-page h1{font:clamp(48px,6vw,80px)/1 var(--serif);font-weight:400}.legal-page h2{font:30px var(--serif);font-weight:400;margin-top:45px}.legal-page a{text-decoration:underline}
@media(max-width:1300px){.process ol{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.prose-grid,.quote-layout,.contact-form-section,.contacts-layout{grid-template-columns:1fr}.process ol{grid-template-columns:1fr 1fr}.selection-list{grid-template-columns:1fr 1fr}.content-hero{padding-top:130px}.contact-form-section>div:last-child{padding-top:0}}
@media(max-width:640px){.process ol{grid-template-columns:1fr}.selection-list{grid-template-columns:1fr}.lead-form{grid-template-columns:1fr}.lead-form__wide{grid-column:1}.content-hero{min-height:500px;padding:120px 22px 65px}.content-hero h1{font-size:50px}.contacts-layout{padding-inline:22px}.map-frame iframe{height:380px}.legal-page h1{font-size:40px;overflow-wrap:anywhere;hyphens:auto}}

/* Gallery index */
.gallery-overview{min-height:100vh;background:#17110e;color:#eee4d7;padding:120px 5vw 130px}.gallery-overview__hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.65fr);gap:8vw;align-items:end;margin-bottom:70px}.gallery-overview__hero .eyebrow{grid-column:1/-1}.gallery-overview__hero h1{font:clamp(58px,7.2vw,112px)/.88 var(--serif);font-weight:400;letter-spacing:-.045em;margin:10px 0 0}.gallery-overview__hero h1 em{color:#d2b483;font-weight:400}.gallery-overview__hero>p:last-child{color:#bfb2a5;font-size:16px;line-height:1.7;margin:0 0 8px}.gallery-overview__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--border-decorative)}.gallery-overview-card{display:grid;grid-template-columns:minmax(180px,.82fr) minmax(0,1fr);min-height:340px;border-bottom:1px solid var(--border-decorative);position:relative}.gallery-overview-card:nth-child(odd){border-right:1px solid var(--border-decorative)}.gallery-overview-card figure{overflow:hidden;margin:0;background:#0c0908}.gallery-overview-card img{width:100%;height:100%;object-fit:cover;filter:saturate(.88);transition:transform .75s var(--ease),filter .75s var(--ease)}.gallery-overview-card__copy{padding:38px 32px;display:flex;flex-direction:column}.gallery-overview-card__copy>span{color:#d2b483;font:italic 14px var(--serif)}.gallery-overview-card h2{font:clamp(30px,3vw,47px)/1 var(--serif);font-weight:400;margin:26px 0 18px}.gallery-overview-card p{color:#aa9d91;font-size:13px;line-height:1.65;margin:0}.gallery-overview-card small{margin-top:auto;padding-top:28px;text-transform:uppercase;letter-spacing:.12em;color:#d8c7b4}.gallery-overview-card small b{float:right;font-size:18px}.gallery-overview-card:hover img,.gallery-overview-card:focus-visible img{transform:scale(1.035);filter:saturate(1)}.gallery-overview-card:focus-visible{outline:2px solid #d2b483;outline-offset:-2px}.not-found-actions{display:flex;align-items:center;gap:28px;margin-top:28px}.not-found-actions .text-link{border-bottom:1px solid #d2b483;padding:10px 0;text-transform:uppercase;letter-spacing:.12em;font-size:11px}
@media(max-width:1150px){.gallery-overview__grid{grid-template-columns:1fr}.gallery-overview-card:nth-child(odd){border-right:0}.gallery-overview-card{grid-template-columns:minmax(260px,.8fr) 1fr}}
@media(max-width:700px){.gallery-overview{padding:110px 22px 80px}.gallery-overview__hero{display:block;margin-bottom:48px}.gallery-overview__hero h1{font-size:52px;margin:16px 0 28px}.gallery-overview-card{display:block;min-height:0}.gallery-overview-card figure{aspect-ratio:4/3}.gallery-overview-card__copy{padding:25px 4px 34px}.gallery-overview-card h2{font-size:38px;margin:16px 0 12px}.gallery-overview-card small{margin-top:8px}.not-found-actions{align-items:flex-start;flex-direction:column;gap:8px}}

/* Gallery viewport: the complete 3:2 image stays visible; the open rail absorbs excess width. */
@media(min-width:1001px){
  :root{--rail-open:clamp(240px,calc(100vw - 150svh + 99px),430px)}
  .site-rail.is-expanded{width:var(--rail-open)}
  body.nav-expanded .site-main,body.nav-expanded .site-footer{margin-left:var(--rail-open)}
  .rail-top{justify-content:flex-start;padding-inline:18px}
  .rail-expand{right:16px;bottom:50%;transform:translateY(50%);display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid rgba(183,154,103,.38);border-radius:999px;background:rgba(255,255,255,.035);font-size:10px;line-height:1;letter-spacing:.08em;text-transform:uppercase}
  .site-rail.is-expanded .rail-expand{transform:translateY(50%)}
  .rail-expand__icon::before{content:'→';font-size:16px}
  .site-rail.is-expanded .rail-expand__icon::before{content:'←'}
  .rail-expand__label{display:none}
  .site-rail.is-expanded .rail-expand__label{display:inline}
  .gallery-stage .frame-media{height:calc(100svh - 76px);min-height:540px;aspect-ratio:auto}
  .gallery-stage .frame-media>img{width:100%;height:100%;object-fit:contain;object-position:center}
}

@media(max-width:1000px){
  .site-rail.is-expanded{width:min(340px,90vw)}
  .gallery-stage .frame-media>img{object-fit:contain;object-position:center}
}

/* Immersive category gallery */
body.gallery-immersive{--rail:72px;overflow:hidden;background:#120e0c}
body.gallery-immersive .site-main{height:100dvh;margin-left:var(--rail);overflow:hidden;transition:none}
body.gallery-immersive.nav-expanded .site-main,
body.gallery-immersive.nav-expanded .site-footer{margin-left:var(--rail)}
body.gallery-immersive .site-footer{display:none}
body.gallery-immersive .site-rail{width:var(--rail)}
body.gallery-immersive .site-rail.is-expanded{width:292px}
body.gallery-immersive .rail-top{height:92px}
body.gallery-immersive .category-nav a,
body.gallery-immersive .rail-actions a{height:48px}

body.gallery-immersive .gallery-page{position:relative;display:grid;grid-template-rows:64px minmax(0,1fr);width:100%;height:100dvh;min-height:0;padding:0;background:#120e0c;color:#f4ede1;overflow:hidden}
body.gallery-immersive .gallery-heading{position:relative;z-index:30;display:grid;grid-template-columns:minmax(190px,1fr) auto minmax(0,1.7fr);align-items:center;gap:18px;height:64px;padding:0 18px 0 24px;border-bottom:1px solid rgba(183,154,103,.25);background:rgba(20,14,11,.96);box-shadow:0 8px 30px rgba(0,0,0,.18)}
body.gallery-immersive .gallery-heading__title{min-width:0;display:flex;align-items:baseline;gap:13px}
body.gallery-immersive .gallery-heading .eyebrow{flex:0 0 auto;margin:0;font-size:8px;line-height:1.2;letter-spacing:.16em;white-space:nowrap}
body.gallery-immersive .gallery-heading h1{min-width:0;margin:0;font:30px/.95 var(--serif);font-weight:400;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.gallery-immersive .gallery-menu-button{display:none}
body.gallery-immersive .gallery-controls{position:static;display:flex;align-items:center;justify-content:center;gap:10px;width:auto;height:auto}
body.gallery-immersive .gallery-controls button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid rgba(211,181,133,.35);border-radius:50%;background:transparent;color:#f4ede1;cursor:pointer;transition:.2s}
body.gallery-immersive .gallery-controls button:hover{background:#d2b483;color:#24170f;border-color:#d2b483}
body.gallery-immersive .gallery-controls>span{display:flex;align-items:center;gap:6px;min-width:58px;justify-content:center;font:16px var(--serif)}
body.gallery-immersive .gallery-controls i{font-style:normal;color:#8f7965}
body.gallery-immersive .gallery-controls [data-total]{color:#a99582}
body.gallery-immersive .gallery-heading__tools{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:7px}
body.gallery-immersive .gallery-result-count{margin-right:3px;color:#bba998;font-size:10px;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
body.gallery-immersive .gallery-result-count b{color:#ead8bd}
body.gallery-immersive .gallery-tool-button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 11px;border:1px solid rgba(211,181,133,.3);background:transparent;color:#ddd0c1;cursor:pointer;font-size:9px;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;transition:.2s}
body.gallery-immersive .gallery-tool-button:hover,
body.gallery-immersive .gallery-tool-button[aria-expanded=true]{border-color:#d2b483;background:rgba(210,180,131,.13);color:#fff}
body.gallery-immersive .gallery-tool-button>b{font:inherit;font-weight:500}
body.gallery-immersive .gallery-tool-button--info>span{width:18px;height:18px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;font:italic 13px var(--serif);text-transform:none}
body.gallery-immersive .gallery-tool-button--filters>b{min-width:18px;height:18px;display:grid;place-items:center;border-radius:10px;background:#d2b483;color:#24170f;font-size:9px}
body.gallery-immersive .gallery-modes{height:34px;display:flex;border:1px solid rgba(211,181,133,.3)}
body.gallery-immersive .gallery-modes button{min-height:32px;padding:0 10px;font-size:9px}

body.gallery-immersive .gallery-stage{position:relative;min-width:0;min-height:0;height:auto;overflow:hidden;background:#120e0c}
body.gallery-immersive .cinema-gallery,
body.gallery-immersive .cinema-frame{position:absolute;inset:0;width:100%;height:100%;min-height:0}
body.gallery-immersive .cinema-frame.is-scroll-target,
body.gallery-immersive .cinema-frame.is-leaving{inset:0}
body.gallery-immersive .gallery-stage .frame-media,
body.gallery-immersive .gallery-stage .frame-media.has-concept-reveal.is-scheme{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;border:0;box-shadow:none;background:#17110e;overflow:hidden}
body.gallery-immersive .gallery-stage .frame-media:after{content:'';display:block;position:absolute;z-index:0;inset:-42px;background-image:var(--scene-image);background-position:center;background-size:cover;filter:blur(34px) brightness(.34) saturate(.72);transform:scale(1.08);opacity:.94;pointer-events:none}
body.gallery-immersive .gallery-stage .frame-media:before{content:'';position:absolute;z-index:2;inset:0;border:0;background:linear-gradient(180deg,rgba(11,8,7,.26),transparent 18%),linear-gradient(0deg,rgba(11,8,7,.68),transparent 27%);pointer-events:none}
body.gallery-immersive .gallery-stage .frame-media>img{position:absolute;z-index:1;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;object-position:center}
body.gallery-immersive .gallery-stage .frame-media.is-simulated-night>img,
.project-hero.is-simulated-night>img{filter:brightness(.58) saturate(.78) contrast(1.08) sepia(.08)}
body.gallery-immersive .gallery-stage .concept-reveal__sketch{z-index:4}
body.gallery-immersive .light-switch{z-index:8;top:18px;right:20px;bottom:auto}
body.gallery-immersive .concept-view-switch{z-index:8;top:18px;left:20px}

body.gallery-immersive .frame-caption{position:absolute;z-index:7;left:22px;right:22px;bottom:18px;display:grid;grid-template-columns:minmax(250px,.8fr) minmax(260px,1.2fr) auto;align-items:end;gap:28px;padding:17px 20px;border:1px solid rgba(224,198,156,.24);background:linear-gradient(90deg,rgba(18,12,10,.82),rgba(18,12,10,.56) 62%,rgba(18,12,10,.76));box-shadow:0 14px 42px rgba(0,0,0,.24);backdrop-filter:blur(10px)}
body.gallery-immersive .frame-caption p{margin:0;color:#c8b8a8;font-size:11px;line-height:1.45}
body.gallery-immersive .frame-caption__title>p{margin-bottom:5px;color:#d2b483;font-size:9px;letter-spacing:.13em;text-transform:uppercase}
body.gallery-immersive .frame-caption h2{margin:0;font:clamp(24px,2.1vw,36px)/1 var(--serif);font-weight:400}
body.gallery-immersive .frame-caption__description{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}
body.gallery-immersive .frame-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px}
body.gallery-immersive .frame-actions a,
body.gallery-immersive .frame-actions button{min-height:38px;padding:9px 12px;border:1px solid rgba(211,181,133,.42);background:rgba(23,16,13,.62);font-size:9px;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap}
body.gallery-immersive .frame-actions a{background:#d2b483;color:#24170f;border-color:#d2b483}

body.gallery-immersive .gallery-scrim{display:none;position:absolute;z-index:18;inset:0;width:100%;height:100%;padding:0;border:0;background:rgba(8,6,5,.46);backdrop-filter:blur(2px);cursor:default}
body.gallery-immersive .gallery-scrim:not([hidden]){display:block}
body.gallery-immersive .gallery-drawer{position:absolute;z-index:20;top:0;right:0;bottom:0;width:min(390px,calc(100% - 28px));padding:0;background:rgba(28,20,16,.98);border-left:1px solid rgba(211,181,133,.35);box-shadow:-24px 0 70px rgba(0,0,0,.38);color:#eee4d7;overflow-y:auto;overscroll-behavior:contain;transform:translateX(104%);visibility:hidden;transition:transform .42s var(--ease),visibility .42s}
body.gallery-immersive .gallery-drawer.is-open{transform:none;visibility:visible}
body.gallery-immersive .gallery-drawer>header{position:sticky;z-index:2;top:0;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 24px 20px;border-bottom:1px solid rgba(211,181,133,.25);background:rgba(28,20,16,.97);backdrop-filter:blur(12px)}
body.gallery-immersive .gallery-drawer>header p{margin:0 0 4px;color:#d2b483;font-size:9px;letter-spacing:.15em;text-transform:uppercase}
body.gallery-immersive .gallery-drawer>header h2{margin:0;font:34px/1 var(--serif);font-weight:400}
body.gallery-immersive .gallery-drawer>header button{width:38px;height:38px;padding:0;border:1px solid rgba(211,181,133,.35);border-radius:50%;background:transparent;color:#f3e9dd;font-size:24px;line-height:1;cursor:pointer}
body.gallery-immersive .gallery-drawer__copy{padding:28px 24px}
body.gallery-immersive .gallery-drawer__copy>p{margin:0;color:#c9bcaf;font-size:15px;line-height:1.7}
body.gallery-immersive .gallery-drawer__copy section{margin-top:26px;padding-top:22px;border-top:1px solid rgba(211,181,133,.2)}
body.gallery-immersive .gallery-drawer__copy section h3{margin:0 0 10px;font:24px/1.1 var(--serif);font-weight:400}
body.gallery-immersive .gallery-drawer__copy section p{margin:0;color:#b9aa9b;font-size:12px;line-height:1.7}
body.gallery-immersive .gallery-drawer__copy .button{display:inline-flex;margin-top:25px;background:#d2b483;color:#24170f}
body.gallery-immersive .gallery-drawer__copy dl{margin:30px 0 0}
body.gallery-immersive .gallery-drawer__copy dl div{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-top:1px solid rgba(211,181,133,.2)}
body.gallery-immersive .gallery-drawer__copy dt{color:#a89787;font-size:10px;letter-spacing:.1em;text-transform:uppercase}
body.gallery-immersive .gallery-drawer__copy dd{margin:0;text-align:right;font-size:12px}
body.gallery-immersive .gallery-drawer .filters{position:static;display:block;margin:0;padding:8px 24px 24px;border:0;background:transparent;max-height:none;overflow:visible;transform:none;box-shadow:none}
body.gallery-immersive .gallery-drawer .filter-group{display:flex;align-items:center;gap:8px;margin:0;padding:22px 0;border-bottom:1px solid rgba(211,181,133,.2)}
body.gallery-immersive .gallery-drawer .filter-group>span{width:100%;margin:0 0 4px;color:#bba58d;font-size:9px;letter-spacing:.16em;text-transform:uppercase}
body.gallery-immersive .gallery-drawer .filter-group label>span{padding:8px 10px;font-size:11px}
body.gallery-immersive .gallery-drawer .filter-group--wood label{padding:7px 9px}
body.gallery-immersive .gallery-drawer .filter-group label.is-unavailable{opacity:.28;cursor:not-allowed}
body.gallery-immersive .gallery-drawer .filter-group input:focus-visible~span,
body.gallery-immersive .gallery-drawer .filter-group input:focus-visible+.wood-swatch{outline:2px solid var(--accent-brass);outline-offset:3px}
body.gallery-immersive .gallery-drawer .filter-summary{position:sticky;bottom:-24px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px -24px -24px;padding:16px 24px calc(16px + env(safe-area-inset-bottom));border-top:1px solid rgba(211,181,133,.3);background:rgba(28,20,16,.98);box-shadow:0 -18px 35px rgba(0,0,0,.2)}
body.gallery-immersive .gallery-drawer .filter-summary button{min-height:42px;padding:10px 12px;border:1px solid rgba(211,181,133,.38);background:transparent;color:#d7c8b9;text-decoration:none;font-size:10px;letter-spacing:.1em;text-transform:uppercase}
body.gallery-immersive .gallery-drawer .filter-summary .filter-apply{background:#d2b483;color:#24170f;border-color:#d2b483;text-decoration:none}

body.gallery-immersive .editorial-grid{position:absolute;inset:0;height:100%;padding:30px clamp(22px,3vw,52px) 60px;overflow-y:auto;columns:3;column-gap:24px;background:#17110e;overscroll-behavior:contain}
body.gallery-immersive .editorial-grid .grid-item{margin-bottom:30px}
body.gallery-immersive .is-grid-mode .gallery-controls{opacity:.35;pointer-events:none}
body.gallery-immersive .is-grid-mode .gallery-result-count{color:#e2d2bd}
body.gallery-immersive .has-open-drawer .gallery-controls{opacity:0;pointer-events:none}

body.gallery-immersive .gallery-page:fullscreen{grid-template-rows:minmax(0,1fr)}
body.gallery-immersive .gallery-page:fullscreen .gallery-heading{position:absolute;z-index:40;top:0;left:0;right:0;background:linear-gradient(180deg,rgba(18,12,10,.9),rgba(18,12,10,.55) 72%,transparent);border:0;box-shadow:none}

@media(max-width:1250px) and (min-width:1001px){
  body.gallery-immersive .gallery-heading{grid-template-columns:minmax(170px,1fr) auto minmax(0,1.35fr);gap:11px;padding-inline:16px}
  body.gallery-immersive .gallery-heading .eyebrow,
  body.gallery-immersive .gallery-result-count,
  body.gallery-immersive .gallery-tool-button--info>b,
  body.gallery-immersive .gallery-tool-button--fullscreen>b{display:none}
  body.gallery-immersive .gallery-tool-button--info,
  body.gallery-immersive .gallery-tool-button--fullscreen{width:34px;padding:0}
  body.gallery-immersive .frame-caption{grid-template-columns:minmax(230px,.85fr) minmax(220px,1fr) auto;gap:18px}
}

@media(min-width:1001px){
  body.gallery-immersive .gallery-page{grid-template-rows:minmax(0,1fr)}
  body.gallery-immersive .gallery-heading{position:absolute;top:0;left:0;right:0;background:rgba(20,14,11,.88);backdrop-filter:blur(14px)}
  body.gallery-immersive .gallery-stage{grid-row:1;height:100%}
  body.gallery-immersive .gallery-stage .frame-media>img{object-fit:cover}
  body.gallery-immersive .light-switch,
  body.gallery-immersive .concept-view-switch{top:82px}
  body.gallery-immersive .gallery-drawer{top:64px}
}

@media(max-width:1000px){
  body.gallery-immersive{--rail:0px}
  body.gallery-immersive .mobile-header{display:none}
  body.gallery-immersive .site-main,
  body.gallery-immersive.nav-expanded .site-main{height:100dvh;margin-left:0}
  body.gallery-immersive .site-rail,
  body.gallery-immersive .site-rail.is-expanded{z-index:80;top:56px;width:min(320px,88vw)}
  body.gallery-immersive .gallery-page{grid-template-rows:56px minmax(0,1fr);height:100dvh}
  body.gallery-immersive .gallery-heading{height:56px;grid-template-columns:42px minmax(92px,1fr) auto;gap:8px;padding:0 10px;background:rgba(20,14,11,.97)}
  body.gallery-immersive .gallery-menu-button{width:40px;height:40px;display:grid;align-content:center;justify-content:center;gap:5px;padding:0;border:0;background:transparent;cursor:pointer}
  body.gallery-immersive .gallery-menu-button>span{display:block;width:21px;height:1px;background:#eee4d7}
  body.gallery-immersive .gallery-heading__title{display:block;min-width:0}
  body.gallery-immersive .gallery-heading .eyebrow{display:none}
  body.gallery-immersive .gallery-heading h1{font-size:22px}
  body.gallery-immersive .gallery-heading__tools{gap:4px}
  body.gallery-immersive .gallery-result-count,
  body.gallery-immersive .gallery-tool-button--info>b,
  body.gallery-immersive .gallery-tool-button--fullscreen>b{display:none}
  body.gallery-immersive .gallery-tool-button{min-height:34px;padding-inline:9px}
  body.gallery-immersive .gallery-tool-button--info,
  body.gallery-immersive .gallery-tool-button--fullscreen{width:34px;padding:0}
  body.gallery-immersive .gallery-modes{height:34px}
  body.gallery-immersive .gallery-modes button{padding-inline:8px}
  body.gallery-immersive .gallery-controls{position:fixed;z-index:15;inset:56px 0 0;display:block;width:auto;height:auto;pointer-events:none}
  body.gallery-immersive .gallery-controls button{position:absolute;top:50%;width:42px;height:42px;transform:translateY(-50%);background:rgba(20,14,11,.58);backdrop-filter:blur(9px);pointer-events:auto}
  body.gallery-immersive .gallery-controls button:first-child{left:9px}
  body.gallery-immersive .gallery-controls button:last-child{right:9px}
  body.gallery-immersive .gallery-controls>span{position:absolute;left:50%;bottom:12px;min-width:62px;height:32px;transform:translateX(-50%);border:1px solid rgba(211,181,133,.32);background:rgba(20,14,11,.68);backdrop-filter:blur(9px);pointer-events:auto}
  body.gallery-immersive .gallery-stage .frame-media,
  body.gallery-immersive .gallery-stage .frame-media.has-concept-reveal.is-scheme{height:100%;min-height:0}
  body.gallery-immersive .gallery-stage .frame-media:after{inset:-28px;filter:blur(28px) brightness(.31) saturate(.68)}
  body.gallery-immersive .gallery-stage .frame-media:before{background:linear-gradient(180deg,rgba(11,8,7,.34),transparent 15%),linear-gradient(0deg,rgba(11,8,7,.78),transparent 32%)}
  body.gallery-immersive .frame-caption{left:12px;right:12px;bottom:58px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:14px 15px;background:linear-gradient(90deg,rgba(18,12,10,.86),rgba(18,12,10,.7));backdrop-filter:blur(9px)}
  body.gallery-immersive .frame-caption__description{display:none}
  body.gallery-immersive .frame-caption h2{font-size:clamp(21px,5vw,29px)}
  body.gallery-immersive .frame-actions{align-self:end}
  body.gallery-immersive .frame-actions a,
  body.gallery-immersive .frame-actions button{min-height:36px;padding:8px 9px;font-size:8px}
  body.gallery-immersive .light-switch{top:13px;right:13px}
  body.gallery-immersive .concept-view-switch{top:13px;left:13px}
  body.gallery-immersive .gallery-drawer{top:auto;left:0;right:0;bottom:0;width:100%;max-height:min(82dvh,720px);border:1px solid rgba(211,181,133,.36);border-bottom:0;border-radius:20px 20px 0 0;box-shadow:0 -24px 70px rgba(0,0,0,.45);transform:translateY(104%);transition:transform .42s var(--ease),visibility .42s}
  body.gallery-immersive .gallery-drawer.is-open{transform:none}
  body.gallery-immersive .gallery-drawer>header{padding:18px 20px 15px;border-radius:20px 20px 0 0}
  body.gallery-immersive .gallery-drawer>header:before{content:'';position:absolute;top:7px;left:50%;width:42px;height:3px;border-radius:2px;background:rgba(238,228,215,.32);transform:translateX(-50%)}
  body.gallery-immersive .gallery-drawer>header h2{font-size:30px}
  body.gallery-immersive .gallery-drawer__copy{padding:24px 20px}
  body.gallery-immersive .gallery-drawer .filters{padding-inline:20px}
  body.gallery-immersive .gallery-drawer .filter-summary{margin-inline:-20px;padding-inline:20px}
  body.gallery-immersive .editorial-grid{columns:2;padding:22px 16px 50px;column-gap:14px}
  body.gallery-immersive .editorial-grid .grid-item{margin-bottom:22px}
}

@media(max-width:640px){
  body.gallery-immersive .gallery-heading{grid-template-columns:42px minmax(70px,1fr) auto;padding-right:7px}
  body.gallery-immersive .gallery-heading h1{font-size:20px}
  body.gallery-immersive .gallery-tool-button--fullscreen{display:none}
  body.gallery-immersive .gallery-modes button[data-mode=cinema]{display:none}
  body.gallery-immersive .is-grid-mode .gallery-modes button[data-mode=cinema]{display:block;border:1px solid rgba(211,181,133,.3)}
  body.gallery-immersive .is-grid-mode .gallery-modes button[data-mode=grid]{display:none}
  body.gallery-immersive .gallery-modes{border:0}
  body.gallery-immersive .gallery-modes button[data-mode=grid]{border:1px solid rgba(211,181,133,.3)}
  body.gallery-immersive .gallery-tool-button--filters{padding-inline:8px}
  body.gallery-immersive .gallery-tool-button--filters>span{font-size:0}
  body.gallery-immersive .gallery-tool-button--filters>span:after{content:'Фильтр';font-size:9px}
  body.gallery-immersive .frame-caption{display:block;bottom:55px;padding:13px 14px}
  body.gallery-immersive .frame-caption__title>p{padding-right:78px}
  body.gallery-immersive .frame-caption h2{max-width:calc(100% - 74px);font-size:22px}
  body.gallery-immersive .frame-actions{position:absolute;right:12px;bottom:12px;display:block}
  body.gallery-immersive .frame-actions a{display:none}
  body.gallery-immersive .frame-actions button{width:40px;height:40px;padding:0;font-size:0;border-radius:50%;background:rgba(23,16,13,.78)}
  body.gallery-immersive .frame-actions button span{font-size:20px}
  body.gallery-immersive .editorial-grid{columns:1;padding-inline:12px}
}

@media(max-height:650px) and (orientation:landscape){
  body.gallery-immersive .gallery-page{grid-template-rows:48px minmax(0,1fr)}
  body.gallery-immersive .gallery-heading{height:48px}
  body.gallery-immersive .gallery-heading h1{font-size:20px}
  body.gallery-immersive .frame-caption{bottom:10px;padding-block:10px}
  body.gallery-immersive .gallery-controls{inset:48px 0 0}
}

/* Responsive gallery refinements */
body.gallery-immersive{--gallery-bar-height:64px}
body.gallery-immersive .gallery-modes{margin:0}
body.gallery-immersive .frame-actions{grid-column:auto;margin:0;flex-wrap:nowrap}

body.gallery-immersive .editorial-grid .grid-item{break-inside:avoid}
body.gallery-immersive .editorial-grid .grid-item__media{position:relative;overflow:hidden;background:#0f0b09}
body.gallery-immersive .editorial-grid .grid-item__media>a{display:block;line-height:0}
body.gallery-immersive .editorial-grid .grid-item__media img{display:block;transition:opacity .45s var(--ease),filter .45s var(--ease),transform .8s var(--ease)}
body.gallery-immersive .editorial-grid .grid-item__media.is-switching img{opacity:.25;filter:blur(3px)}
body.gallery-immersive .editorial-grid .grid-item__copy{display:block;color:inherit;text-decoration:none}
body.gallery-immersive .editorial-grid .light-switch{z-index:3;top:12px;right:12px;bottom:auto}
body.gallery-immersive .editorial-grid .light-switch button{padding:8px 10px;font-size:9px}

body.gallery-immersive .gallery-drawer--filters{top:var(--gallery-bar-height);left:0;right:0;bottom:auto;width:100%;max-height:min(52dvh,460px);border:0;border-bottom:1px solid rgba(211,181,133,.42);box-shadow:0 26px 70px rgba(0,0,0,.42);transform:translateY(calc(-100% - 12px));overflow-y:auto}
body.gallery-immersive .gallery-drawer--filters.is-open{transform:none}
body.gallery-immersive .gallery-drawer--filters>header{align-items:center;padding:13px 20px 11px}
body.gallery-immersive .gallery-drawer--filters>header p{margin:0}
body.gallery-immersive .gallery-drawer--filters>header h2{font-size:27px}
body.gallery-immersive .gallery-drawer--filters .filters{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr)) auto;align-items:start;gap:18px;padding:4px 20px 18px;overflow:visible}
body.gallery-immersive .gallery-drawer--filters .filter-group{align-content:start;margin:0;padding:13px 0 0;border:0}
body.gallery-immersive .gallery-drawer--filters .filter-group>span{margin-bottom:7px}
body.gallery-immersive .gallery-drawer--filters .filter-group label{min-height:36px;border-radius:999px;transition:border-color .2s ease,background .2s ease,transform .2s ease}
body.gallery-immersive .gallery-drawer--filters .filter-group label>span{display:inline-flex;align-items:center;min-height:36px;padding:7px 13px;border-radius:999px;transition:color .2s ease,background .2s ease,border-color .2s ease}
body.gallery-immersive .gallery-drawer--filters .filter-group label:hover>span{border-color:rgba(211,181,133,.72);color:#fff8ec}
body.gallery-immersive .gallery-drawer--filters .filter-group input:focus-visible+span,
body.gallery-immersive .gallery-drawer--filters .filter-group input:focus-visible~span{outline:2px solid #e4c89d;outline-offset:3px}
body.gallery-immersive .gallery-drawer--filters .filter-group input:checked+span,
body.gallery-immersive .gallery-drawer--filters .filter-group input:checked~span{background:#d2b483;border-color:#d2b483;color:#24170f;box-shadow:0 7px 22px rgba(0,0,0,.24)}
body.gallery-immersive .gallery-drawer--filters .filter-group--wood label{padding:5px 11px 5px 6px;border-radius:999px}
body.gallery-immersive .gallery-drawer--filters .filter-group--wood label>span{min-height:auto;padding:0;border:0;border-radius:0}
body.gallery-immersive .gallery-drawer--filters .filter-group--wood label:hover{border-color:rgba(211,181,133,.72);background:rgba(211,181,133,.08)}
body.gallery-immersive .gallery-drawer--filters .filter-group--wood label:has(input:checked){border-color:#d2b483;background:#d2b483;color:#24170f;box-shadow:0 7px 22px rgba(0,0,0,.24)}
body.gallery-immersive .gallery-drawer--filters .filter-group--wood input:checked~span{background:transparent;box-shadow:none}
body.gallery-immersive .gallery-drawer--filters .filter-summary{position:static;align-self:stretch;display:grid;align-content:center;gap:7px;min-width:142px;margin:0;padding:11px 0 0 18px;border:0;border-left:1px solid rgba(211,181,133,.2);box-shadow:none;background:transparent}
body.gallery-immersive .gallery-drawer--filters .filter-summary button{width:100%;min-height:36px}

@media(min-width:1001px) and (max-width:1450px){
  body.gallery-immersive .frame-caption{grid-template-columns:minmax(330px,.9fr) minmax(300px,1.15fr) auto;gap:18px}
  body.gallery-immersive .frame-caption h2{font-size:clamp(24px,2vw,30px)}
}

@media(max-width:1000px){
  body.gallery-immersive{--gallery-bar-height:calc(56px + env(safe-area-inset-top))}
  body.gallery-immersive .gallery-page{grid-template-rows:var(--gallery-bar-height) minmax(0,1fr)}
  body.gallery-immersive .gallery-heading{height:var(--gallery-bar-height);padding-top:env(safe-area-inset-top)}
  body.gallery-immersive .site-rail,
  body.gallery-immersive .site-rail.is-expanded{top:var(--gallery-bar-height)}
  body.gallery-immersive .gallery-controls{inset:var(--gallery-bar-height) 0 0}
  body.gallery-immersive .gallery-controls>span{bottom:calc(12px + env(safe-area-inset-bottom))}

  body.gallery-immersive .gallery-drawer--filters{top:0;left:0;right:0;bottom:auto;width:100%;max-height:min(58dvh,480px);border:0;border-bottom:1px solid rgba(211,181,133,.42);border-radius:0 0 18px 18px;transform:translateY(calc(-100% - 12px));overflow:hidden}
  body.gallery-immersive .gallery-drawer--filters.is-open{transform:none}
  body.gallery-immersive .gallery-drawer--filters>header{padding:12px 16px 10px;border-radius:0}
  body.gallery-immersive .gallery-drawer--filters>header:before{display:none}
  body.gallery-immersive .gallery-drawer--filters>header h2{font-size:25px}
  body.gallery-immersive .gallery-drawer--filters .filters{display:flex;align-items:stretch;gap:16px;padding:0 16px 16px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-width:thin}
  body.gallery-immersive .gallery-drawer--filters .filter-group{flex:0 0 min(280px,76vw);align-content:start;padding-top:13px;scroll-snap-align:start}
  body.gallery-immersive .gallery-drawer--filters .filter-summary{flex:0 0 150px;min-width:150px;padding:13px 0 0 16px;scroll-snap-align:end}
}

@media(max-width:1000px) and (orientation:portrait){
  body.gallery-immersive .gallery-stage .frame-media>img{object-position:center top}
  body.gallery-immersive .gallery-stage .frame-media:after{filter:blur(30px) brightness(.4) saturate(.72)}
  body.gallery-immersive .frame-caption{top:calc(66.6667vw + 14px);bottom:auto;grid-template-columns:minmax(0,1fr) auto;align-items:center;max-height:calc(100% - 66.6667vw - 78px);overflow:auto}
  body.gallery-immersive .frame-caption__title{grid-column:1;grid-row:1}
  body.gallery-immersive .frame-caption__description{grid-column:1/-1;grid-row:2;display:-webkit-box;-webkit-line-clamp:3;margin-top:10px}
  body.gallery-immersive .frame-actions{grid-column:2;grid-row:1;position:static;right:auto;bottom:auto;align-self:center}
  body.gallery-immersive .gallery-controls button{top:33.3333vw}
}

@media(max-width:640px) and (orientation:portrait){
  body.gallery-immersive .frame-caption{display:grid;left:12px;right:12px;padding:14px}
  body.gallery-immersive .frame-caption__title>p{padding-right:0}
  body.gallery-immersive .frame-caption h2{max-width:none;font-size:clamp(21px,6vw,27px)}
  body.gallery-immersive .frame-caption__description{font-size:11px;line-height:1.5}
  body.gallery-immersive .frame-actions{display:flex;gap:7px}
  body.gallery-immersive .frame-actions a{display:inline-flex;align-items:center;min-height:38px;padding-inline:10px}
  body.gallery-immersive .frame-actions button{position:static;width:40px;height:40px}
  body.gallery-immersive .editorial-grid .light-switch{top:9px;right:9px}
}

@media(max-height:650px) and (orientation:landscape){
  body.gallery-immersive{--gallery-bar-height:calc(48px + env(safe-area-inset-top))}
  body.gallery-immersive .gallery-page{grid-template-rows:var(--gallery-bar-height) minmax(0,1fr)}
  body.gallery-immersive .gallery-heading{height:var(--gallery-bar-height);padding-top:env(safe-area-inset-top)}
  body.gallery-immersive .gallery-controls{inset:var(--gallery-bar-height) 0 0}
  body.gallery-immersive .gallery-stage .frame-media>img{object-fit:cover;object-position:center}
  body.gallery-immersive .frame-caption{top:auto;bottom:10px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 14px}
  body.gallery-immersive .frame-caption__title{grid-column:1;grid-row:1;min-width:0}
  body.gallery-immersive .frame-caption__title>p{display:none}
  body.gallery-immersive .frame-caption h2{max-width:none;font-size:24px;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.gallery-immersive .frame-caption__description{display:none}
  body.gallery-immersive .frame-actions{grid-column:2;grid-row:1;position:static;right:auto;bottom:auto;display:flex}
  body.gallery-immersive .frame-actions a{display:inline-flex;align-items:center}
  body.gallery-immersive .gallery-controls>span{top:8px;bottom:auto}
}

/* Immersive left-side gallery console */
body.gallery-immersive{--gallery-dock:78px;--gallery-panel:min(410px,calc(100vw - var(--gallery-dock)))}
body.gallery-immersive .site-main,
body.gallery-immersive.nav-expanded .site-main,
body.gallery-immersive .site-footer,
body.gallery-immersive.nav-expanded .site-footer{margin-left:0}
body.gallery-immersive .site-rail,
body.gallery-immersive .site-rail.is-expanded{z-index:90;top:0;width:min(292px,88vw);transform:translateX(-105%);transition:transform .38s var(--ease),box-shadow .38s var(--ease)}
body.gallery-immersive .site-rail.is-open{transform:none;box-shadow:24px 0 70px rgba(0,0,0,.48)}

body.gallery-immersive .gallery-page,
body.gallery-immersive .gallery-page:fullscreen{display:block;width:100%;height:100dvh;padding:0;overflow:hidden}
body.gallery-immersive .gallery-stage{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}
body.gallery-immersive .gallery-page:fullscreen{isolation:isolate}
body.gallery-immersive .gallery-page:fullscreen .gallery-stage{z-index:1}
body.gallery-immersive .gallery-page:fullscreen .gallery-heading{z-index:70;pointer-events:auto}
body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-project__actions,
body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-project__actions>*{position:relative;z-index:1;pointer-events:auto}
body.gallery-immersive .gallery-page:fullscreen .site-rail{z-index:90}
body.gallery-immersive .gallery-heading,
body.gallery-immersive .gallery-page:fullscreen .gallery-heading{position:absolute;z-index:60;inset:0 auto 0 0;display:flex;flex-direction:column;align-items:center;gap:8px;width:var(--gallery-dock);height:auto;padding:10px 8px calc(10px + env(safe-area-inset-bottom));border:0;border-right:1px solid rgba(211,181,133,.3);background:linear-gradient(180deg,rgba(20,14,11,.96),rgba(20,14,11,.88));box-shadow:12px 0 34px rgba(0,0,0,.22);backdrop-filter:blur(16px);overflow-x:hidden;overflow-y:auto;scrollbar-width:none}
body.gallery-immersive .gallery-heading::-webkit-scrollbar{display:none}
body.gallery-immersive .gallery-heading__title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.gallery-immersive .gallery-menu-button{order:0;flex:0 0 52px;display:grid;width:58px;height:52px;align-content:center;justify-content:center;gap:5px;padding:0;border:1px solid rgba(211,181,133,.3);background:rgba(255,255,255,.025);cursor:pointer}
body.gallery-immersive .gallery-menu-button>span{display:block;width:22px;height:1px;background:#eee4d7}
body.gallery-immersive .gallery-heading__tools{order:1;display:flex;flex:0 0 auto;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;width:100%;min-width:0}
body.gallery-immersive .gallery-controls{order:2;position:static;display:grid;grid-template-columns:repeat(2,26px);gap:4px;width:58px;height:auto;margin:0;padding-top:7px;border-top:1px solid rgba(211,181,133,.2);pointer-events:auto}
body.gallery-immersive .gallery-controls button{position:static;width:26px;height:30px;transform:none;border-radius:0;background:transparent;backdrop-filter:none;pointer-events:auto}
body.gallery-immersive .gallery-controls button:first-child,
body.gallery-immersive .gallery-controls button:last-child{left:auto;right:auto;top:auto}
body.gallery-immersive .gallery-controls>span{position:static;grid-column:1/-1;display:flex;width:58px;min-width:0;height:24px;transform:none;border:0;background:transparent;backdrop-filter:none;font-size:13px;pointer-events:none}

body.gallery-immersive .gallery-tool-button{flex:0 0 auto;width:58px;min-height:50px;padding:6px 3px;flex-direction:column;gap:4px;border-color:rgba(211,181,133,.28);font-size:7px;line-height:1.1;letter-spacing:.08em;white-space:normal;text-align:center}
body.gallery-immersive .gallery-tool-button>span{font-size:15px;line-height:1}
body.gallery-immersive .gallery-tool-button>b{display:block;max-width:52px;font-size:7px;line-height:1.15;overflow:hidden;text-overflow:ellipsis}
body.gallery-immersive .gallery-tool-button--project{order:1}
body.gallery-immersive .gallery-tool-button--project>span{font:17px/1 var(--serif);letter-spacing:-.06em;text-transform:none}
body.gallery-immersive .gallery-tool-button--info{order:2}
body.gallery-immersive .gallery-tool-button--filters{order:3}
body.gallery-immersive .gallery-tool-button--filters>span{font-size:7px;line-height:1.15}
body.gallery-immersive .gallery-tool-button--filters>b{min-width:18px;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;font-size:8px}
body.gallery-immersive .gallery-global-light{order:4;display:grid;grid-template-columns:1fr 1fr;width:58px;border:1px solid rgba(211,181,133,.3)}
body.gallery-immersive .gallery-global-light button{display:flex;min-width:0;height:47px;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:0;border:0;background:transparent;color:#cbbfb2;cursor:pointer}
body.gallery-immersive .gallery-global-light button+button{border-left:1px solid rgba(211,181,133,.22)}
body.gallery-immersive .gallery-global-light span{font-size:13px;line-height:1}
body.gallery-immersive .gallery-global-light b{font-size:7px;font-weight:500;letter-spacing:.06em;text-transform:uppercase}
body.gallery-immersive .gallery-global-light button.is-active{background:#d2b483;color:#24170f}
body.gallery-immersive .gallery-modes{order:5;display:grid;width:58px;height:auto;border-color:rgba(211,181,133,.3)}
body.gallery-immersive .gallery-modes button,
body.gallery-immersive .gallery-modes button[data-mode=cinema],
body.gallery-immersive .gallery-modes button[data-mode=grid]{display:block;min-height:29px;padding:0 3px;border:0;font-size:7px}
body.gallery-immersive .gallery-modes button+button{border-top:1px solid rgba(211,181,133,.22)}
body.gallery-immersive .gallery-tool-button--fullscreen{order:6;display:flex}
body.gallery-immersive .gallery-result-count{order:7;width:58px;margin:0;padding-top:7px;border-top:1px solid rgba(211,181,133,.2);font-size:7px;line-height:1.35;text-align:center;white-space:normal}

body.gallery-immersive .gallery-stage .frame-media>img{object-fit:contain!important;object-position:center!important}
body.gallery-immersive .gallery-stage .frame-media:after{inset:-52px;filter:blur(42px) brightness(.3) saturate(.72);opacity:1}
body.gallery-immersive .gallery-stage .frame-media:before{background:linear-gradient(90deg,rgba(11,8,7,.3),transparent 15%,transparent 85%,rgba(11,8,7,.18))}
body.gallery-immersive .cinema-gallery .light-switch{display:none}
body.gallery-immersive .concept-view-switch{top:12px;left:calc(var(--gallery-dock) + 12px)}

body.gallery-immersive .frame-caption{position:absolute;z-index:46;inset:0 auto 0 var(--gallery-dock);display:flex;width:var(--gallery-panel);max-height:none;flex-direction:column;align-items:stretch;justify-content:center;gap:22px;padding:clamp(28px,5vw,62px) clamp(24px,3.4vw,46px);border:0;border-right:1px solid rgba(224,198,156,.3);background:linear-gradient(135deg,rgba(18,12,10,.985),rgba(29,20,16,.94));box-shadow:24px 0 70px rgba(0,0,0,.42);backdrop-filter:blur(18px);overflow-y:auto;transform:translateX(calc(-100% - var(--gallery-dock)));opacity:0;visibility:hidden;transition:transform .42s var(--ease),opacity .3s ease,visibility .42s}
body.gallery-immersive .is-project-panel-open .cinema-frame.is-active .frame-caption{transform:none;opacity:1;visibility:visible}
body.gallery-immersive .frame-caption__close{position:absolute;top:18px;right:18px;width:40px;height:40px;padding:0;border:1px solid rgba(211,181,133,.35);border-radius:50%;background:transparent;color:#f4ede1;font-size:25px;cursor:pointer}
body.gallery-immersive .frame-caption__title>p{margin:0 48px 10px 0;padding:0;color:#d2b483;font-size:9px;line-height:1.5;letter-spacing:.14em}
body.gallery-immersive .frame-caption h2{max-width:none;margin:0;font-size:clamp(30px,3.3vw,48px);line-height:.98}
body.gallery-immersive .frame-caption__description{display:block;margin:0;color:#c8b8a8;font-size:14px;line-height:1.7;overflow:visible;-webkit-line-clamp:unset}
body.gallery-immersive .frame-actions{position:static;display:grid;grid-template-columns:1fr auto;align-items:stretch;gap:8px;margin-top:5px}
body.gallery-immersive .frame-actions a,
body.gallery-immersive .frame-actions button{position:static;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 13px;font-size:9px;border-radius:0}
body.gallery-immersive .frame-actions button{width:auto;height:auto}

body.gallery-immersive .gallery-scrim{z-index:40;left:var(--gallery-dock);width:calc(100% - var(--gallery-dock))}
body.gallery-immersive .gallery-drawer,
body.gallery-immersive .gallery-drawer--filters{z-index:50;inset:0 auto 0 var(--gallery-dock);width:var(--gallery-panel);max-height:none;padding:0;border:0;border-right:1px solid rgba(211,181,133,.35);border-radius:0;background:rgba(28,20,16,.985);box-shadow:24px 0 70px rgba(0,0,0,.45);overflow-x:hidden;overflow-y:auto;transform:translateX(calc(-100% - var(--gallery-dock)));visibility:hidden;transition:transform .42s var(--ease),visibility .42s}
body.gallery-immersive .gallery-drawer.is-open,
body.gallery-immersive .gallery-drawer--filters.is-open{transform:none;visibility:visible}
body.gallery-immersive .gallery-drawer>header,
body.gallery-immersive .gallery-drawer--filters>header{padding:22px 24px 18px;border-radius:0}
body.gallery-immersive .gallery-drawer>header:before,
body.gallery-immersive .gallery-drawer--filters>header:before{display:none}
body.gallery-immersive .gallery-drawer--filters .filters{position:static;display:block;margin:0;padding:8px 24px 24px;overflow:visible}
body.gallery-immersive .gallery-drawer--filters .filter-group{display:flex;flex:0 1 auto;align-items:center;align-content:normal;gap:8px;margin:0;padding:20px 0;border-bottom:1px solid rgba(211,181,133,.2);scroll-snap-align:none}
body.gallery-immersive .gallery-drawer--filters .filter-group>span{width:100%;margin:0 0 5px}
body.gallery-immersive .gallery-drawer--filters .filter-summary{position:sticky;bottom:-24px;display:flex;min-width:0;margin:24px -24px -24px;padding:16px 24px calc(16px + env(safe-area-inset-bottom));border:0;border-top:1px solid rgba(211,181,133,.3);background:rgba(28,20,16,.985);box-shadow:0 -18px 35px rgba(0,0,0,.2)}
body.gallery-immersive .gallery-drawer--filters .filter-summary button{width:auto;min-height:42px}
body.gallery-immersive .editorial-grid{padding-left:calc(var(--gallery-dock) + clamp(18px,3vw,52px))}
body.gallery-immersive .editorial-grid .light-switch{display:none}

@media(max-width:700px){
  body.gallery-immersive{--gallery-dock:60px;--gallery-panel:calc(100vw - var(--gallery-dock))}
  body.gallery-immersive .gallery-heading,
  body.gallery-immersive .gallery-page:fullscreen .gallery-heading{width:var(--gallery-dock);padding:7px 6px calc(7px + env(safe-area-inset-bottom));gap:6px}
  body.gallery-immersive .gallery-menu-button,
  body.gallery-immersive .gallery-tool-button{width:48px;min-height:46px}
  body.gallery-immersive .gallery-menu-button{flex-basis:46px}
  body.gallery-immersive .gallery-tool-button>b{max-width:44px}
  body.gallery-immersive .gallery-global-light,
  body.gallery-immersive .gallery-modes,
  body.gallery-immersive .gallery-controls,
  body.gallery-immersive .gallery-result-count{width:48px}
  body.gallery-immersive .gallery-controls{grid-template-columns:repeat(2,22px)}
  body.gallery-immersive .gallery-controls button{width:22px;height:28px}
  body.gallery-immersive .gallery-controls>span{width:48px;font-size:12px}
  body.gallery-immersive .gallery-global-light button{height:42px}
  body.gallery-immersive .gallery-tool-button--fullscreen{display:flex}
  body.gallery-immersive .frame-caption{width:var(--gallery-panel);padding:64px 22px 28px;justify-content:flex-start}
  body.gallery-immersive .frame-caption h2{font-size:clamp(28px,9vw,40px)}
  body.gallery-immersive .frame-caption__description{font-size:13px;line-height:1.6}
  body.gallery-immersive .frame-actions{grid-template-columns:1fr}
  body.gallery-immersive .gallery-drawer,
  body.gallery-immersive .gallery-drawer--filters{width:var(--gallery-panel);max-height:none;border-radius:0}
  body.gallery-immersive .gallery-drawer--filters .filters{display:block;padding:8px 20px 24px;overflow:visible}
  body.gallery-immersive .gallery-drawer--filters .filter-group{display:flex;width:auto;padding:18px 0}
  body.gallery-immersive .gallery-drawer--filters .filter-summary{margin-inline:-20px;padding-inline:20px}
  body.gallery-immersive .editorial-grid{columns:1;padding:18px 12px 44px calc(var(--gallery-dock) + 12px)}
}

@media(max-height:560px){
  body.gallery-immersive .gallery-heading__tools{gap:4px}
  body.gallery-immersive .gallery-tool-button{min-height:42px;padding-block:4px}
  body.gallery-immersive .gallery-tool-button>b,
  body.gallery-immersive .gallery-result-count{display:none}
  body.gallery-immersive .gallery-global-light button{height:36px}
  body.gallery-immersive .gallery-controls{padding-top:4px}
}

/* Permanent gallery sidebar */
body.gallery-immersive{--gallery-sidebar:clamp(286px,22vw,340px)}
body.gallery-immersive .gallery-heading,
body.gallery-immersive .gallery-page:fullscreen .gallery-heading{inset:0 auto 0 0;width:var(--gallery-sidebar);align-items:stretch;gap:0;padding:18px 18px calc(20px + env(safe-area-inset-bottom));background:linear-gradient(165deg,rgba(24,17,14,.99),rgba(16,12,10,.985));overflow-y:auto}
body.gallery-immersive .gallery-stage{left:var(--gallery-sidebar);width:auto}
body.gallery-immersive .gallery-menu-button{order:0;flex:0 0 42px;width:46px;height:42px;margin:0 0 20px;padding:0}
body.gallery-immersive .gallery-heading__title{order:1;position:static!important;display:block!important;width:auto!important;height:auto!important;margin:0!important;padding:0 0 18px!important;overflow:visible!important;clip:auto!important;white-space:normal!important;border:0!important;border-bottom:1px solid rgba(211,181,133,.22)!important}
body.gallery-immersive .gallery-heading .eyebrow{display:block;margin:0 0 7px;color:#c9a979;font-size:8px;letter-spacing:.16em;text-transform:uppercase}
body.gallery-immersive .gallery-heading h1{display:block;margin:0;font:clamp(28px,2.4vw,39px)/.95 var(--serif);font-weight:400;white-space:normal;overflow:visible}
body.gallery-immersive .gallery-heading__description{margin:12px 0 0;color:#aa9b8d;font-size:10px;line-height:1.55}

body.gallery-immersive .gallery-sidebar-project{order:2;padding:19px 0 17px;border-bottom:1px solid rgba(211,181,133,.22)}
body.gallery-immersive .gallery-sidebar-project>p:first-child{margin:0 0 7px;color:#d2b483;font-size:8px;line-height:1.4;letter-spacing:.12em;text-transform:uppercase}
body.gallery-immersive .gallery-sidebar-project h2{margin:0;font:clamp(22px,1.9vw,29px)/1.03 var(--serif);font-weight:400}
body.gallery-immersive .gallery-sidebar-project>p:nth-of-type(2){margin:11px 0 0;color:#c2b4a7;font-size:10px;line-height:1.55}
body.gallery-immersive .gallery-sidebar-project__actions{display:grid;grid-template-columns:1fr 42px;gap:7px;margin-top:14px}
body.gallery-immersive .gallery-sidebar-project__actions a,
body.gallery-immersive .gallery-sidebar-project__actions button{display:flex;min-height:40px;align-items:center;justify-content:center;padding:9px 11px;border:1px solid rgba(211,181,133,.42);background:transparent;color:#eee4d7;cursor:pointer;font-size:8px;letter-spacing:.1em;text-transform:uppercase}
body.gallery-immersive .gallery-sidebar-project__actions a{background:#d2b483;border-color:#d2b483;color:#24170f;font-size:11px;font-weight:700;letter-spacing:.06em}
body.gallery-immersive .gallery-sidebar-project__actions button{padding:0;font-size:20px}

body.gallery-immersive .gallery-controls{order:3;display:grid;grid-template-columns:38px 1fr 38px;align-items:center;gap:7px;width:100%;margin:16px 0 0;padding:0 0 16px;border:0;border-bottom:1px solid rgba(211,181,133,.22)}
body.gallery-immersive .gallery-controls button{width:38px;height:38px;border-radius:50%}
body.gallery-immersive .gallery-controls>span{grid-column:auto;grid-row:auto;width:auto;height:38px;border:1px solid rgba(211,181,133,.25);font-size:15px}

body.gallery-immersive .gallery-heading__tools{order:4;display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:8px;width:100%;padding:16px 0;border-bottom:1px solid rgba(211,181,133,.22)}
body.gallery-immersive .gallery-modes{order:1;display:grid;grid-template-columns:1fr 1fr;width:100%;height:40px}
body.gallery-immersive .gallery-modes button,
body.gallery-immersive .gallery-modes button[data-mode=cinema],
body.gallery-immersive .gallery-modes button[data-mode=grid]{display:block;min-height:38px;padding:0 5px;font-size:8px}
body.gallery-immersive .gallery-modes button+button{border:0;border-left:1px solid rgba(211,181,133,.22)}
body.gallery-immersive .gallery-global-light{order:2;display:grid;grid-template-columns:1fr 1fr;width:100%;height:40px}
body.gallery-immersive .gallery-global-light button{height:38px;flex-direction:row;gap:5px}
body.gallery-immersive .gallery-global-light b{font-size:8px}
body.gallery-immersive .gallery-global-concept{order:3;grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;width:100%;height:36px;border:1px solid rgba(211,181,133,.3)}
body.gallery-immersive .gallery-global-concept[hidden]{display:none}
body.gallery-immersive .gallery-global-concept button{min-height:34px;padding:0 5px;border:0;background:transparent;color:#cbbfb2;cursor:pointer;font-size:8px;letter-spacing:.08em;text-transform:uppercase}
body.gallery-immersive .gallery-global-concept button+button{border-left:1px solid rgba(211,181,133,.22)}
body.gallery-immersive .gallery-global-concept button.is-active{background:#d2b483;color:#24170f}
body.gallery-immersive .gallery-tool-button--fullscreen{order:4;display:flex;width:100%;min-height:40px;flex-direction:row;gap:7px;padding:7px 9px}
body.gallery-immersive .gallery-tool-button--fullscreen>span{font-size:16px}
body.gallery-immersive .gallery-tool-button--fullscreen>b{max-width:none;font-size:8px}
body.gallery-immersive .gallery-result-count{order:5;display:flex;width:auto;align-items:center;justify-content:center;margin:0;padding:0;border:1px solid rgba(211,181,133,.25);font-size:8px;text-align:center}

body.gallery-immersive .gallery-sidebar-filters{order:5;padding-top:18px}
body.gallery-immersive .gallery-sidebar-filters__heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:4px}
body.gallery-immersive .gallery-sidebar-filters__heading p{margin:0 0 3px;color:#a99582;font-size:7px;letter-spacing:.14em;text-transform:uppercase}
body.gallery-immersive .gallery-sidebar-filters__heading h2{margin:0;font:25px/1 var(--serif);font-weight:400}
body.gallery-immersive .gallery-sidebar-filters__heading>b{display:grid;width:24px;height:24px;place-items:center;border-radius:50%;background:#d2b483;color:#24170f;font-size:9px}
body.gallery-immersive .gallery-sidebar-filters .filters{display:block;margin:0;padding:0;border:0;background:transparent}
body.gallery-immersive .gallery-sidebar-filters .filter-group{display:flex;align-items:center;gap:6px;margin:0;padding:13px 0;border-bottom:1px solid rgba(211,181,133,.16)}
body.gallery-immersive .gallery-sidebar-filters .filter-group>span{width:100%;margin:0 0 3px;color:#a99582;font-size:7px;letter-spacing:.13em;text-transform:uppercase}
body.gallery-immersive .gallery-sidebar-filters .filter-group label{min-height:28px;border-radius:999px}
body.gallery-immersive .gallery-sidebar-filters .filter-group label>span{display:inline-flex;min-height:28px;align-items:center;padding:5px 8px;border-radius:999px;font-size:8px}
body.gallery-immersive .gallery-sidebar-filters .filter-group input:checked+span,
body.gallery-immersive .gallery-sidebar-filters .filter-group input:checked~span{background:#d2b483;border-color:#d2b483;color:#24170f}
body.gallery-immersive .gallery-sidebar-filters .filter-group--wood label{padding:4px 7px 4px 4px;border-radius:999px}
body.gallery-immersive .gallery-sidebar-filters .filter-group--wood label:has(input:checked){border-color:#d2b483;background:#d2b483;color:#24170f}
body.gallery-immersive .gallery-sidebar-filters .filter-group--wood label>span{min-height:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body.gallery-immersive .gallery-sidebar-filters .filter-group--wood input:checked~span{background:transparent;box-shadow:none}
body.gallery-immersive .gallery-sidebar-filters .wood-swatch{width:18px;height:18px}
body.gallery-immersive .gallery-sidebar-filters .filter-summary{position:static;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:13px 0 0;padding:0;background:transparent;border:0;box-shadow:none;color:#a99582;font-size:8px}
body.gallery-immersive .gallery-sidebar-filters .filter-summary button{min-height:34px;padding:7px 9px;border:1px solid rgba(211,181,133,.3);background:transparent;color:#ddd0c1;cursor:pointer;font-size:7px;letter-spacing:.08em;text-transform:uppercase}
body.gallery-immersive .gallery-sidebar-selection{order:6;padding:16px 0 0}
body.gallery-immersive .gallery-sidebar-selection button{display:flex;width:100%;min-height:50px;align-items:center;justify-content:center;gap:10px;padding:11px 14px;border:1px solid #d2b483;background:#d2b483;color:#24170f;box-shadow:0 10px 26px rgba(0,0,0,.2);cursor:pointer;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
body.gallery-immersive .gallery-sidebar-selection button:hover,
body.gallery-immersive .gallery-sidebar-selection button:focus-visible{background:#e4c89d;border-color:#e4c89d}
body.gallery-immersive .frame-caption{display:none!important}
body.gallery-immersive .cinema-gallery .concept-view-switch{display:none}
body.gallery-immersive .editorial-grid{padding-left:clamp(18px,3vw,52px)}

@media(min-aspect-ratio:3/2) and (min-width:701px){
  body.gallery-immersive{--gallery-sidebar:clamp(250px,calc(100vw - 150dvh),340px)}
}

@media(max-width:700px){
  body.gallery-immersive{--gallery-sidebar:clamp(158px,44vw,205px)}
  body.gallery-immersive .gallery-heading,
  body.gallery-immersive .gallery-page:fullscreen .gallery-heading{width:var(--gallery-sidebar);padding:11px 10px calc(14px + env(safe-area-inset-bottom))}
  body.gallery-immersive .gallery-menu-button{width:38px;height:36px;min-height:36px;flex-basis:36px;margin-bottom:12px}
  body.gallery-immersive .gallery-heading h1{font-size:24px}
  body.gallery-immersive .gallery-heading__description,
  body.gallery-immersive .gallery-sidebar-project>p:nth-of-type(2){display:none}
  body.gallery-immersive .gallery-heading__title{padding-bottom:12px!important}
  body.gallery-immersive .gallery-sidebar-project{padding:13px 0 12px}
  body.gallery-immersive .gallery-sidebar-project h2{font-size:19px}
  body.gallery-immersive .gallery-sidebar-project__actions{grid-template-columns:1fr 34px;margin-top:10px}
  body.gallery-immersive .gallery-sidebar-project__actions a,
  body.gallery-immersive .gallery-sidebar-project__actions button{min-height:34px;padding:6px;font-size:7px}
  body.gallery-immersive .gallery-sidebar-project__actions a{font-size:9px}
  body.gallery-immersive .gallery-controls{grid-template-columns:30px 1fr 30px;margin-top:11px;padding-bottom:11px}
  body.gallery-immersive .gallery-controls button{width:30px;height:32px}
  body.gallery-immersive .gallery-controls>span{width:auto;height:32px;font-size:12px}
  body.gallery-immersive .gallery-heading__tools{grid-template-columns:1fr;padding:11px 0}
  body.gallery-immersive .gallery-modes,
  body.gallery-immersive .gallery-global-light,
  body.gallery-immersive .gallery-global-concept{height:34px}
  body.gallery-immersive .gallery-modes button,
  body.gallery-immersive .gallery-global-light button{min-height:32px;height:32px}
  body.gallery-immersive .gallery-tool-button--fullscreen,
  body.gallery-immersive .gallery-result-count{min-height:32px;height:32px;width:100%}
  body.gallery-immersive .gallery-sidebar-filters{padding-top:13px}
  body.gallery-immersive .gallery-sidebar-filters__heading h2{font-size:21px}
  body.gallery-immersive .gallery-sidebar-filters .filter-group{gap:4px;padding:10px 0}
  body.gallery-immersive .gallery-sidebar-filters .filter-group label>span{min-height:25px;padding:4px 6px;font-size:7px}
  body.gallery-immersive .gallery-sidebar-filters .filter-group--wood label{padding:3px 5px 3px 3px}
  body.gallery-immersive .gallery-sidebar-filters .wood-swatch{width:15px;height:15px}
  body.gallery-immersive .gallery-sidebar-filters .filter-summary{display:grid;align-items:start}
  body.gallery-immersive .gallery-sidebar-selection{padding-top:12px}
  body.gallery-immersive .gallery-sidebar-selection button{min-height:44px;padding:9px;font-size:8px}
  body.gallery-immersive .editorial-grid{padding:12px}
}

/* Slider-first gallery: compact permanent menu and edge-to-edge image */
body.gallery-immersive .gallery-heading__title{padding-bottom:14px!important}
body.gallery-immersive .gallery-sidebar-filters{order:2;padding:15px 0;border-bottom:1px solid rgba(211,181,133,.22)}
body.gallery-immersive .gallery-sidebar-filters .filter-group{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));align-items:stretch;gap:6px;padding-bottom:8px}
body.gallery-immersive .gallery-sidebar-filters .filter-group>span{display:none}
body.gallery-immersive .gallery-sidebar-filters__heading{margin-bottom:7px}
/* The site-wide mobile sheet turns .filters into a fixed bottom drawer.
   In the permanent gallery menu filters must stay in normal document flow. */
body.gallery-immersive .gallery-sidebar-filters .filters{position:static;inset:auto;z-index:auto;max-height:none;margin:0;padding:0;overflow:visible;transform:none;transition:none;box-shadow:none}
body.gallery-immersive .gallery-sidebar-filters[data-gallery-filter-category="stairs"] .filter-group{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0}
body.gallery-immersive .gallery-sidebar-filters[data-gallery-filter-category="stairs"] .filter-group label>span{min-height:38px;padding:6px 4px;font-size:10px;line-height:1.1}
body.gallery-immersive .gallery-sidebar-filters .filter-group label{display:block;width:100%;min-width:0}
body.gallery-immersive .gallery-sidebar-filters .filter-group label>span{display:flex;width:100%;height:100%;min-height:46px;align-items:center;justify-content:center;padding:8px 7px;font-size:clamp(12px,1vw,15px);font-weight:600;line-height:1.18;text-align:center;letter-spacing:-.015em}
body.gallery-immersive .gallery-sidebar-project{order:3;padding:16px 0}
body.gallery-immersive .gallery-heading__tools{order:4;padding:14px 0;border-bottom:0}
body.gallery-immersive .gallery-global-light{order:1;grid-column:1/-1}
body.gallery-immersive .gallery-global-concept{order:2}
body.gallery-immersive .gallery-tool-button--fullscreen{order:3}
body.gallery-immersive .gallery-result-count{order:4}
body.gallery-immersive .gallery-result-count__label{margin-left:.38em}
body.gallery-immersive .gallery-global-light{height:48px}
body.gallery-immersive .gallery-global-light button{height:46px;gap:7px}
body.gallery-immersive .gallery-global-light span{font-size:17px}
body.gallery-immersive .gallery-global-light b{font-size:13px;font-weight:600;letter-spacing:.03em}
body.gallery-immersive .gallery-global-concept{height:44px}
body.gallery-immersive .gallery-global-concept button{min-height:42px;font-size:13px;font-weight:600;letter-spacing:.04em}
body.gallery-immersive .gallery-tool-button--fullscreen{min-height:44px}
body.gallery-immersive .gallery-tool-button--fullscreen>b{font-size:11px;letter-spacing:.04em}
body.gallery-immersive .gallery-result-count{font-size:11px}

/* Equal 2 × 2 control grid: light, fullscreen and frame-count buttons. */
body.gallery-immersive .gallery-heading__tools{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:48px}
body.gallery-immersive .gallery-heading__tools>*{box-sizing:border-box;min-width:0}
body.gallery-immersive .gallery-global-light{grid-column:1/-1;width:100%;height:48px}
body.gallery-immersive .gallery-tool-button--fullscreen,
body.gallery-immersive .gallery-result-count{width:100%;height:48px;min-height:48px}
body.gallery-immersive .gallery-tool-button--fullscreen{grid-column:1}
body.gallery-immersive .gallery-result-count{grid-column:2}
body.gallery-immersive .gallery-global-concept{display:none!important}

body.gallery-immersive button:not(.accent-point),
body.gallery-immersive .gallery-sidebar-project__actions a,
body.gallery-immersive .gallery-sidebar-filters .filter-group label,
body.gallery-immersive .gallery-sidebar-filters .filter-group label>span,
body.gallery-immersive .gallery-global-light,
body.gallery-immersive .gallery-global-concept,
body.gallery-immersive .gallery-result-count{border-radius:6px!important}
body.gallery-immersive .gallery-global-light,
body.gallery-immersive .gallery-global-concept{overflow:hidden}

body.gallery-immersive .gallery-stage .frame-media:after{display:none}
body.gallery-immersive .gallery-stage .frame-media:before{background:linear-gradient(90deg,rgba(11,8,7,.12),transparent 12%,transparent 88%,rgba(11,8,7,.12))}
body.gallery-immersive .gallery-stage .frame-media>img{width:100%;height:100%;object-fit:cover!important;object-position:center!important}

body.gallery-immersive .gallery-stage>.gallery-controls{position:absolute;z-index:55;inset:0;display:block;width:auto;height:auto;margin:0;padding:0;border:0;pointer-events:none}
body.gallery-immersive .gallery-stage>.gallery-controls button{position:absolute;top:50%;display:grid;width:50px;height:70px;place-items:center;padding:0;transform:translateY(-50%);border:1px solid rgba(255,255,255,.28);border-radius:6px;background:rgba(18,13,11,.36);box-shadow:0 8px 28px rgba(0,0,0,.22);backdrop-filter:blur(10px);color:#fff;font-size:23px;line-height:1;opacity:.82;pointer-events:auto;transition:opacity .2s ease,background .2s ease,transform .2s ease}
body.gallery-immersive .gallery-stage>.gallery-controls button:first-child{left:14px;right:auto}
body.gallery-immersive .gallery-stage>.gallery-controls button:last-child{right:14px;left:auto}
body.gallery-immersive .gallery-stage>.gallery-controls button:hover,
body.gallery-immersive .gallery-stage>.gallery-controls button:focus-visible{background:rgba(18,13,11,.68);opacity:1;transform:translateY(-50%) scale(1.04)}
body.gallery-immersive .gallery-stage>.gallery-controls>span{display:none}

body.gallery-immersive .site-rail,
body.gallery-immersive .site-rail.is-expanded{width:var(--gallery-sidebar);max-width:none}
body.gallery-immersive .site-rail .rail-top{height:80px;flex:0 0 80px;justify-content:flex-start;padding:14px 18px}
body.gallery-immersive .site-rail .monogram{width:42px;height:48px;font-size:31px}
body.gallery-immersive .site-rail .rail-expand{display:none}
body.gallery-immersive .site-rail .rail-close{position:absolute;top:16px;right:16px;display:flex;min-height:38px;align-items:center;gap:8px;padding:7px 9px;border:1px solid rgba(211,181,133,.32);background:transparent;color:#e9dfd3;cursor:pointer;font-size:9px;letter-spacing:.1em;text-transform:uppercase}
body.gallery-immersive .site-rail .rail-close b{font:22px/1 var(--sans);font-weight:300}
body.gallery-immersive .site-rail.is-open .nav-label{opacity:1;transform:none}
body.gallery-immersive .site-rail .category-nav{padding:10px 0}
body.gallery-immersive .site-rail .category-nav a{min-height:58px;height:auto;grid-template-columns:27px minmax(0,1fr);gap:11px;padding:9px 18px;font-size:16px}
body.gallery-immersive .site-rail .category-nav .nav-icon{display:block;width:22px;height:22px;grid-column:1;color:#c9a979;opacity:1}
body.gallery-immersive .site-rail .category-nav .nav-label{display:block;grid-column:2;min-width:0;color:#e9dfd3;font-size:16px;font-weight:600;line-height:1.15;letter-spacing:.01em;opacity:1!important;transform:none!important;white-space:normal}
body.gallery-immersive .site-rail .rail-actions a{grid-template-columns:24px minmax(0,1fr) auto;gap:10px;padding:0 18px;font-size:11px}

/* The direction drawer starts after the permanent gallery sidebar and slides
   out from underneath it. Keep its full width visible in the image area. */
@media(min-width:701px){
  body.gallery-immersive .gallery-drawer[data-gallery-info]{inset:0 auto 0 var(--gallery-sidebar);width:min(410px,calc(100vw - var(--gallery-sidebar)));transform:translateX(-100%)}
  body.gallery-immersive .gallery-drawer[data-gallery-info].is-open{transform:none}
  body.gallery-immersive .gallery-scrim{left:var(--gallery-sidebar);width:calc(100% - var(--gallery-sidebar))}
}

@media(max-width:700px){
  body.gallery-immersive .gallery-heading__title{padding-bottom:10px!important}
  body.gallery-immersive .gallery-sidebar-filters{padding:10px 0}
  body.gallery-immersive .gallery-sidebar-filters .filter-group{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
  body.gallery-immersive .gallery-sidebar-filters .filter-group label>span{min-height:42px;padding:6px 3px;font-size:11px;line-height:1.12}
  body.gallery-immersive .gallery-sidebar-project{padding:12px 0}
  body.gallery-immersive .gallery-heading__tools{grid-template-columns:1fr 1fr;padding:10px 0}
  body.gallery-immersive .gallery-global-light{width:100%;height:42px}
  body.gallery-immersive .gallery-global-light button{height:40px}
  body.gallery-immersive .gallery-global-light span{font-size:14px}
  body.gallery-immersive .gallery-global-light b{font-size:11px}
  body.gallery-immersive .gallery-global-concept{height:40px}
  body.gallery-immersive .gallery-global-concept button{min-height:38px;font-size:11px}
  body.gallery-immersive .gallery-tool-button--fullscreen,
  body.gallery-immersive .gallery-result-count{width:100%}
  body.gallery-immersive .gallery-tool-button--fullscreen>b,
  body.gallery-immersive .gallery-result-count{font-size:10px}
  body.gallery-immersive .gallery-stage>.gallery-controls{width:auto}
  body.gallery-immersive .gallery-stage>.gallery-controls button{width:42px;height:56px;border-radius:8px;font-size:19px}
  body.gallery-immersive .gallery-stage>.gallery-controls button:first-child{left:8px}
  body.gallery-immersive .gallery-stage>.gallery-controls button:last-child{right:8px}
  body.gallery-immersive .site-rail .rail-top{height:66px;flex-basis:66px;padding:10px}
  body.gallery-immersive .site-rail .monogram{width:36px;height:42px;font-size:27px}
  body.gallery-immersive .site-rail .rail-close{top:12px;right:10px;min-height:34px;padding:6px;font-size:8px}
  body.gallery-immersive .site-rail .category-nav a{min-height:54px;height:auto;grid-template-columns:22px minmax(0,1fr);gap:7px;padding:7px 10px;font-size:13px}
  body.gallery-immersive .site-rail .category-nav .nav-label{font-size:13px;line-height:1.12}
  body.gallery-immersive .site-rail .rail-actions a{grid-template-columns:20px minmax(0,1fr) auto;gap:6px;padding:0 10px;font-size:9px}
}

body.gallery-immersive .gallery-page:fullscreen .gallery-heading{z-index:70}
body.gallery-immersive .gallery-menu-entry{order:0;display:flex;align-items:center;gap:10px;margin:0 0 20px}
body.gallery-immersive .gallery-menu-entry .gallery-menu-button{flex:0 0 auto;margin:0}
body.gallery-immersive .gallery-menu-hint{display:flex;align-items:center;gap:7px;padding:0;border:0;background:transparent;color:#e5cfac;cursor:pointer;font-size:12px;letter-spacing:.08em;line-height:1.15;text-transform:uppercase;white-space:nowrap}
body.gallery-immersive .gallery-menu-hint i{font:25px/1 var(--serif);font-style:normal;color:#d2b483}
body.gallery-immersive .gallery-menu-hint b{font-weight:600}
@media(max-width:700px){
  body.gallery-immersive .gallery-menu-entry{gap:7px;margin-bottom:12px}
  body.gallery-immersive .gallery-menu-hint{gap:5px;font-size:9px;white-space:normal}
  body.gallery-immersive .gallery-menu-hint i{font-size:19px}
}

/* Mobile gallery: image first, controls below */
@media(max-width:700px){
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)){display:flex;width:100%;height:auto;min-height:100dvh;padding:0;overflow:visible;flex-direction:column}
  body.gallery-immersive .gallery-page:fullscreen{height:100dvh;overflow-y:auto}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-stage{position:relative;inset:auto;left:auto;order:1;width:100%;height:auto;overflow:visible;z-index:1}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .cinema-gallery,
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .cinema-frame{position:relative;inset:auto;width:100%;height:auto;min-height:0}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .frame-media,
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .frame-media.has-concept-reveal.is-scheme{position:relative;inset:auto;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:3/2;border:0;box-shadow:none}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .frame-media:before{display:none}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .frame-media>img{width:100%;height:100%;object-fit:contain!important;object-position:center!important}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-heading{position:relative;inset:auto;order:2;display:flex;width:100%;height:auto;min-height:0;padding:18px 16px calc(28px + env(safe-area-inset-bottom));background:linear-gradient(165deg,#211712,#120e0c);box-shadow:none;overflow:visible;z-index:2}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-heading__title{padding-bottom:15px!important}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-menu-entry{margin-bottom:15px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-filters{padding-top:14px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-project{padding:16px 0}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-heading__tools{padding:14px 0}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-selection{padding-top:14px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-stage>.gallery-controls{z-index:4}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-stage>.gallery-controls button{width:42px;height:56px}
}

/* Compact left menu on landscape phones */
@media(max-width:950px) and (max-height:500px){
  body.gallery-immersive{--gallery-landscape-menu:clamp(166px,31vw,210px)}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)){display:block;height:100dvh;min-height:0;overflow:hidden}
  body.gallery-immersive .gallery-page:fullscreen{overflow:hidden}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-stage{position:absolute;inset:0 0 0 var(--gallery-landscape-menu);left:var(--gallery-landscape-menu);width:auto;height:100dvh;overflow:hidden}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .cinema-gallery,
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .cinema-frame{position:absolute;inset:0;width:100%;height:100%}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .frame-media,
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .frame-media.has-concept-reveal.is-scheme{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .frame-media>img{object-fit:contain!important;object-position:center!important}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-heading{position:absolute;inset:0 auto 0 0;width:var(--gallery-landscape-menu);height:100dvh;min-height:0;padding:7px 8px 9px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-heading::-webkit-scrollbar{display:none}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-menu-entry{gap:5px;margin:0 0 6px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-menu-entry .gallery-menu-button{width:30px;height:28px;min-height:28px;flex-basis:30px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-menu-entry .gallery-menu-button>span{width:16px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-menu-hint{gap:3px;font-size:6px;line-height:1.05}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-menu-hint i{font-size:13px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-heading__title{padding:0 0 7px!important}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-heading .eyebrow{margin-bottom:3px;font-size:6px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-heading h1{font-size:20px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-filters{padding:7px 0}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-filters__heading{margin-bottom:2px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-filters__heading p{display:none}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-filters__heading h2{font-size:16px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-filters__heading>b{width:17px;height:17px;font-size:7px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-filters .filters{padding:6px;border:1px solid rgba(211,181,133,.2);border-radius:5px;background:rgba(255,255,255,.025)}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-filters .filter-group{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:4px 0 6px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-filters .filter-group>span{margin-bottom:0;font-size:6px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-filters .filter-group label>span{min-height:24px;padding:3px 2px;font-size:7px;line-height:1.05}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-filters .filter-summary{display:flex;margin-top:4px;font-size:7px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-filters .filter-summary button{min-height:25px;padding:4px 5px;font-size:6px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-project{padding:7px 0}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-project>p:first-child{margin-bottom:3px;font-size:6px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-project h2{font-size:16px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-project__actions{grid-template-columns:1fr 28px;gap:4px;margin-top:7px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-project__actions a,
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-project__actions button{min-height:28px;padding:4px;font-size:7px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-project__actions a{font-size:8px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-heading__tools{gap:4px;padding:7px 0}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-global-light{height:30px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-global-light button{height:28px;gap:3px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-global-light span{font-size:11px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-global-light b{font-size:8px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-tool-button--fullscreen{min-height:29px;padding:4px 5px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-tool-button--fullscreen>span{font-size:12px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-tool-button--fullscreen>b{font-size:7px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-result-count{display:none}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-selection{padding-top:7px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-selection button{min-height:30px;padding:5px;font-size:7px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-stage>.gallery-controls button{width:34px;height:44px;font-size:17px}
}

/* Portrait phones: every visible control occupies an equal cell. */
@media (max-width:700px) and (min-height:501px){
  body.gallery-immersive .gallery-heading__tools{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:48px}
  body.gallery-immersive .gallery-global-light{grid-column:1/-1;width:100%;height:48px}
  body.gallery-immersive .gallery-global-light button{height:46px}
  body.gallery-immersive .gallery-tool-button--fullscreen,
  body.gallery-immersive .gallery-result-count{width:100%;height:48px;min-height:48px}
  body.gallery-immersive .gallery-tool-button--fullscreen{grid-column:1}
  body.gallery-immersive .gallery-result-count{grid-column:2}
}

/* Contacts: light editorial layout with an adaptive Yandex business map. */
.contacts-modern{background:#f2ede4;color:#241c17}
.contacts-modern__hero{min-height:0;padding-top:132px;padding-bottom:54px;border-bottom:1px solid #d5cabb}
.contacts-modern__hero .eyebrow{color:#987753}
.contacts-modern__hero h1{margin:14px 0 18px;font:500 clamp(58px,7vw,108px)/.92 var(--serif);letter-spacing:-.05em}
.contacts-modern__hero>p:last-child{max-width:720px;margin:0;color:#75695f;font-size:16px;line-height:1.75}
.contacts-modern__main{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:clamp(42px,7vw,110px);align-items:center;padding-top:72px;padding-bottom:90px}
.yandex-map-shell{position:relative;min-height:500px;overflow:hidden;background:#d7d0c5;box-shadow:0 24px 70px rgba(44,32,23,.13)}
.yandex-map-shell iframe{position:absolute;inset:0;width:100%;height:100%;border:0;filter:saturate(.76) contrast(.97)}
.yandex-map-shell__credits{position:absolute;z-index:2;top:10px;left:10px;display:flex;max-width:280px;flex-direction:column;align-items:flex-start;gap:2px;pointer-events:none}
.yandex-map-shell__credits a{padding:2px 5px;background:rgba(24,18,14,.66);color:#eee;font-size:9px;line-height:1.25;pointer-events:auto}
.contacts-modern__details{display:flex;min-width:0;flex-direction:column;align-items:flex-start}
.contacts-modern__hours{margin:6px 0 25px;color:#998d82;font-size:12px;letter-spacing:.1em;text-transform:uppercase}
.contacts-modern__phone{font:500 clamp(34px,3.7vw,62px)/1 var(--serif);letter-spacing:-.035em;white-space:nowrap}
.contacts-modern__details address{max-width:560px;margin:38px 0 18px;font:normal 500 clamp(25px,2.4vw,40px)/1.2 var(--serif)}
.contacts-modern__email{font:24px/1.25 var(--serif);color:#7b5a3d;overflow-wrap:anywhere}
.contacts-modern__actions{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:38px;padding-top:24px;border-top:1px solid #cfc2b3}
.contacts-modern__actions a{font-size:10px;letter-spacing:.09em;text-transform:uppercase;border-bottom:1px solid #9b7653;padding-bottom:4px}
.contacts-modern .contact-form-section{border-top:1px solid #c7b8a6;background:#ded2c0}
.contacts-modern .contact-form-section h2{margin:12px 0 18px;font:500 clamp(42px,5vw,76px)/.96 var(--serif);letter-spacing:-.04em}
.contacts-modern .contact-form-section>div>p:last-child{max-width:560px;color:#685c51;line-height:1.7}
@media(max-width:1200px){
  .contacts-modern__main{grid-template-columns:1fr;gap:48px}
  .yandex-map-shell{min-height:500px}
}
@media(max-width:1000px){
  .contacts-modern__hero{padding-top:118px}
  .contacts-modern__main{grid-template-columns:1fr;gap:48px;padding-top:50px}
  .yandex-map-shell{min-height:480px}
  .contacts-modern__details address{margin-top:30px}
}
@media(max-width:640px){
  .contacts-modern__hero{padding:104px 20px 42px}
  .contacts-modern__hero h1{font-size:52px}
  .contacts-modern__hero>p:last-child{font-size:14px}
  .contacts-modern__main{padding:28px 20px 70px;gap:38px}
  .yandex-map-shell{min-height:420px;margin-inline:-20px}
  .yandex-map-shell__credits{top:7px;left:7px;max-width:210px}
  .yandex-map-shell__credits a{font-size:8px}
  .contacts-modern__phone{font-size:36px;white-space:normal}
  .contacts-modern__details address{font-size:28px}
  .contacts-modern__email{font-size:21px}
}

@media (max-width:700px){
  body.gallery-immersive .gallery-menu-entry{width:100%;justify-content:space-between}
  body.gallery-immersive .gallery-menu-entry .gallery-menu-hint{order:1}
  body.gallery-immersive .gallery-menu-entry .gallery-menu-button{order:2}
  body.gallery-immersive .gallery-menu-hint b{order:1}
  body.gallery-immersive .gallery-menu-hint i{order:2;transform:rotate(180deg)}
}

/* Shared square brand mark. */
.monogram{border:0;padding:0;margin-bottom:6px}
.monogram>img{display:block;width:100%;height:100%;object-fit:contain}
.mobile-brand>span{padding:0;border:0;margin-bottom:4px;background:transparent}
.mobile-brand>span>img{display:block;width:100%;height:100%;object-fit:contain}
.footer-mark{display:flex;align-items:flex-start;padding-bottom:8px}
.footer-mark>img{display:block;width:150px;height:150px;object-fit:contain}
@media(min-width:1001px){.site-footer{grid-template-columns:154px 1.3fr 1fr .6fr}}
@media(min-width:1001px){.monogram{width:58px;height:58px}.rail-top{height:98px}}
@media(max-width:1000px){.mobile-brand>span{width:52px;height:52px}.mobile-brand{gap:9px}.monogram{width:80px;height:80px}.rail-top{height:116px}}
@media(max-width:640px){.footer-mark>img{width:104px;height:104px}}
body.gallery-immersive .site-rail .monogram{width:50px;height:56px}
@media(max-width:700px){body.gallery-immersive .site-rail .monogram{width:42px;height:48px}}

/* One consistent presentation size for the shared horizontal brand logo. */
.monogram,.mobile-brand>span,.footer-mark,.footer-mark>img{width:72px;height:72px}
.mobile-brand{gap:0}
body.gallery-immersive .site-rail .monogram{width:72px;height:72px}
@media(max-width:700px){.monogram,.mobile-brand>span,.footer-mark,.footer-mark>img,body.gallery-immersive .site-rail .monogram{width:56px;height:56px}}
@media(max-width:640px){.footer-mark{display:flex}}

/* Enlarged, lower-contrast logo treatment. */
.monogram>img,.mobile-brand>span>img,.footer-mark>img{filter:brightness(.92) contrast(.72) saturate(.78);opacity:.9}
@media(min-width:1001px){
  :root{--rail:168px}
  .site-footer{grid-template-columns:170px 1.3fr 1fr .6fr}
  .rail-top{height:110px}
  .monogram,.footer-mark,.footer-mark>img{width:144px;height:80px}
}
@media(max-width:1000px){
  .mobile-header{height:82px}
  .site-rail{top:82px}
  .mobile-brand>span{width:112px;height:62px}
  .footer-mark,.footer-mark>img{width:144px;height:80px}
}
@media(max-width:700px){
  .monogram,.mobile-brand>span,.footer-mark,.footer-mark>img,body.gallery-immersive .site-rail .monogram{width:112px;height:62px}
  body.gallery-immersive .site-rail .rail-top{height:80px;flex-basis:80px}
}

/* Fullscreen portrait gallery fits entirely within the phone viewport. */
@media (max-width:700px) and (min-height:501px){
  body.gallery-immersive .gallery-page:fullscreen{display:flex;width:100vw;height:100dvh;min-height:0;flex-direction:column;overflow:hidden;background:#17100d}
  body.gallery-immersive .gallery-page:fullscreen .gallery-stage{position:relative;left:auto;order:1;width:100%;height:min(34dvh,66vw);min-height:0;flex:0 0 min(34dvh,66vw)}
  body.gallery-immersive .gallery-page:fullscreen .cinema-gallery,
  body.gallery-immersive .gallery-page:fullscreen .cinema-frame,
  body.gallery-immersive .gallery-page:fullscreen .frame-media{width:100%;height:100%;min-height:0;aspect-ratio:auto}
  body.gallery-immersive .gallery-page:fullscreen .gallery-heading{position:relative;inset:auto;order:2;display:flex;width:100%;height:auto;min-height:0;flex:1 1 auto;justify-content:space-between;padding:10px 12px calc(10px + env(safe-area-inset-bottom));overflow:hidden}
  body.gallery-immersive .gallery-page:fullscreen .gallery-menu-entry{min-height:38px;margin:0}
  body.gallery-immersive .gallery-page:fullscreen .gallery-menu-button{width:40px;height:36px;min-height:36px;flex-basis:40px}
  body.gallery-immersive .gallery-page:fullscreen .gallery-menu-hint{font-size:10px}
  body.gallery-immersive .gallery-page:fullscreen .gallery-heading__title{padding:0!important}
  body.gallery-immersive .gallery-page:fullscreen .gallery-heading .eyebrow{display:none}
  body.gallery-immersive .gallery-page:fullscreen .gallery-heading h1{font-size:25px}
  body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-filters{padding:7px 0}
  body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-filters__heading{margin-bottom:5px}
  body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-filters__heading p{display:none}
  body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-filters__heading h2{font-size:21px}
  body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-filters .filter-group{gap:4px;padding:5px 0}
  body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-filters .filter-group label>span{min-height:38px;padding:5px;font-size:9px}
  body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-filters .filter-summary{display:none}
  body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-project{padding:8px 0}
  body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-project>p:first-child{margin-bottom:4px;font-size:7px}
  body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-project h2{font-size:19px}
  body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-project__actions{grid-template-columns:1fr 36px;gap:5px;margin-top:8px}
  body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-project__actions a,
  body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-project__actions button{min-height:38px;padding:5px;font-size:8px}
  body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-project__actions a{font-size:9px}
  body.gallery-immersive .gallery-page:fullscreen .gallery-heading__tools{gap:5px;padding:8px 0;grid-auto-rows:42px}
  body.gallery-immersive .gallery-page:fullscreen .gallery-global-light,
  body.gallery-immersive .gallery-page:fullscreen .gallery-tool-button--fullscreen,
  body.gallery-immersive .gallery-page:fullscreen .gallery-result-count{height:42px;min-height:42px}
  body.gallery-immersive .gallery-page:fullscreen .gallery-global-light button{height:40px}
  body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-selection{padding-top:8px}
  body.gallery-immersive .gallery-page:fullscreen .gallery-sidebar-selection button{min-height:46px;padding:8px;font-size:9px}
}

/* Mobile gallery: the photo and all controls share one viewport without
   vertical scrolling. The complete 3:2 frame stays visible without cropping. */
@media(max-width:700px){
  body.gallery-immersive{overflow:hidden}
  body.gallery-immersive .site-main{height:100dvh;min-height:0;overflow:hidden}
  body.gallery-immersive .gallery-heading__tools{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:5px;padding:7px 0}
  body.gallery-immersive .gallery-global-light{order:1;grid-column:1/-1}
  body.gallery-immersive .gallery-tool-button--info{order:2;grid-column:1/-1;display:flex;width:100%;min-height:36px;height:clamp(36px,4.5dvh,46px);flex-direction:row;gap:7px;padding:6px 10px}
  body.gallery-immersive .gallery-tool-button--info>b{display:block!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap;font-size:9px;line-height:1.15}
  body.gallery-immersive .gallery-tool-button--fullscreen{order:3;grid-column:1;width:100%}
  body.gallery-immersive .gallery-tool-button--fullscreen>b{display:block!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:normal}
  body.gallery-immersive .gallery-result-count{order:4;grid-column:2;display:flex!important;width:100%}
  body.gallery-immersive .gallery-sidebar-selection{padding:7px 0 4px}
}

@media(max-width:700px) and (min-height:501px){
  body.gallery-immersive .gallery-page:not(:fullscreen){display:flex;width:100%;height:100dvh;min-height:0;flex-direction:column;overflow:hidden}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-stage{position:relative;inset:auto;left:auto;order:1;width:100%;height:min(66.6667vw,42dvh);min-height:0;flex:0 0 min(66.6667vw,42dvh);overflow:hidden;background:#100b09}
  body.gallery-immersive .gallery-page:not(:fullscreen) .cinema-gallery{position:relative;inset:auto;width:100%;height:100%}
  body.gallery-immersive .gallery-page:not(:fullscreen) .cinema-frame{position:absolute;inset:0;width:100%;height:100%}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-stage .frame-media{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-stage .frame-media>img{position:absolute!important;inset:0!important;display:block;width:100%;height:100%!important;object-fit:contain!important;object-position:center!important}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-heading{position:relative;inset:auto;order:2;display:flex;width:100%;height:auto;min-height:0;flex:1 1 0;justify-content:space-between;padding:8px 12px calc(10px + env(safe-area-inset-bottom));overflow:hidden}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-menu-entry{min-height:32px;margin:0 0 5px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-menu-entry .gallery-menu-button{width:36px;height:32px;min-height:32px;flex-basis:36px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-heading__title{padding:0 0 7px!important}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-heading .eyebrow{margin-bottom:3px;font-size:6px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-heading h1{font-size:23px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-filters{padding:6px 0}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-filters__heading{margin-bottom:3px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-filters__heading p{display:none}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-filters__heading h2{font-size:19px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-filters__heading>b{width:20px;height:20px;font-size:8px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-filters .filter-group{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding:3px 0 5px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-filters .filter-group label>span{min-height:clamp(30px,3.7dvh,38px);padding:4px 3px;font-size:9px;line-height:1.05}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-filters .filter-summary{display:flex;margin-top:4px;font-size:7px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-filters .filter-summary button{min-height:27px;padding:4px 6px;font-size:6px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-project{padding:7px 0}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-project>p:first-child{margin-bottom:3px;font-size:6px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-project h2{font-size:17px;line-height:1}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-project__actions{grid-template-columns:1fr 30px;gap:4px;margin-top:6px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-project__actions a,
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-project__actions button{min-height:30px;padding:4px;font-size:7px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-heading__tools{padding:6px 0}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-global-light{height:clamp(36px,4.8dvh,46px)}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-global-light button{height:100%}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-tool-button--fullscreen,
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-result-count{height:clamp(36px,4.5dvh,44px);min-height:36px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-selection button{min-height:clamp(40px,5dvh,48px);padding:7px;font-size:8px}
}

@media(max-width:700px) and (min-height:501px) and (max-height:760px){
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-stage{height:min(66.6667vw,44dvh);flex-basis:min(66.6667vw,44dvh)}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-heading{padding-top:5px;padding-bottom:5px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-menu-entry{min-height:28px;margin-bottom:3px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-menu-entry .gallery-menu-button{width:32px;height:28px;min-height:28px;flex-basis:32px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-heading h1{font-size:19px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-filters{padding:3px 0}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-filters__heading h2{font-size:16px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-filters .filter-group label>span{min-height:25px;font-size:8px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-filters .filter-summary{display:none}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-project{padding:4px 0}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-project h2{font-size:15px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-project__actions a,
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-project__actions button{min-height:26px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-global-light,
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-tool-button--info,
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-tool-button--fullscreen,
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-result-count{height:30px;min-height:30px}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-global-light button{height:100%}
  body.gallery-immersive .gallery-page:not(:fullscreen) .gallery-sidebar-selection button{min-height:34px}
}

/* Readable mobile controls. Keep the compact one-screen layout, but never
   reduce action labels to desktop-caption sizes. */
@media(max-width:700px){
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-menu-hint{font-size:13px;line-height:1.2}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-filters .filter-group label>span{font-size:12px;line-height:1.12}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-filters .filter-summary button{font-size:10px;line-height:1.15}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-project__actions a{font-size:12px;line-height:1.15}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-project__actions button{font-size:17px;line-height:1}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-global-light b{font-size:12px;line-height:1.1}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-tool-button--info>b{font-size:11px;line-height:1.15}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-tool-button--fullscreen>b{font-size:11px;line-height:1.15}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-result-count{font-size:11px;line-height:1.15}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-selection button{font-size:12px;line-height:1.15}
}

@media(max-width:700px) and (max-height:760px){
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-menu-hint{font-size:11px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-filters .filter-group label>span{font-size:11px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-project__actions a{font-size:11px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-project__actions button{font-size:16px}
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-global-light b,
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-tool-button--info>b,
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-tool-button--fullscreen>b,
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-result-count,
  body.gallery-immersive .gallery-page:is(:fullscreen,:not(:fullscreen)) .gallery-sidebar-selection button{font-size:11px}
}

/* Brand palette: warm walnut, brass and ivory instead of green/wine accents. */
.content-hero{background:linear-gradient(120deg,#17100c 0%,#2c1d15 58%,#493224 100%)}
.content-hero:after{content:'';right:clamp(18px,5vw,90px);top:clamp(42px,5vw,78px);width:clamp(280px,36vw,520px);height:clamp(280px,36vw,520px);background:url('../images/brand/eskalera-mark-v1.png') center/contain no-repeat;opacity:.075;filter:sepia(.3) saturate(.8) brightness(1.18);pointer-events:none}
.project-cta{background:linear-gradient(135deg,#1a110d 0%,#2b1c15 48%,#4a3223 100%);color:#f3e9dc;border-block:1px solid rgba(210,180,131,.22)}
.project-cta h2{color:#f3e9dc}
.project-cta h2 em{color:#d7b77f}
.project-cta p{color:#cdbfaf}
.project-cta .button{background:#d2b483;color:#24170f;border-color:#d2b483;font-weight:600}
.project-cta .button:hover,.project-cta .button:focus-visible{background:#e2c79a;border-color:#e2c79a;outline:0}

@media(max-width:640px){
  .content-hero:after{right:-18px;top:76px;width:270px;height:270px;opacity:.065}
}
