/* styles.css */
:root{--ink:#1d282e;--dark:#151d22;--cream:#f1eee7;--gold:#d7b588;--gold-deep:#ab8457;--serif:Georgia,'Times New Roman',serif;--sans:'Segoe UI',Inter,-apple-system,BlinkMacSystemFont,Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:80px}body{margin:0;font:16px/1.5 var(--sans);background:var(--dark);color:var(--cream);-webkit-font-smoothing:antialiased}body.modal-open{overflow:hidden}button,a,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}img{max-width:100%}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #f3cd8d;outline-offset:4px}::selection{background:var(--gold);color:#111}.mono{font-size:.65rem;letter-spacing:.16em;font-weight:650;text-transform:uppercase}.eyebrow{display:flex;align-items:center;gap:13px;font-size:.68rem;letter-spacing:.23em;font-weight:600;text-transform:uppercase}.eyebrow-rule{display:inline-block;height:1px;width:37px;background:var(--gold)}.gold{color:var(--gold)}.reveal{opacity:1;transform:none}.has-js .reveal{opacity:0;transform:translateY(28px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.75,.2,1)}.has-js .reveal.is-visible{opacity:1;transform:none}
/* Short introductory film */
.preloader{position:fixed;inset:0;background:#141d22;color:white;z-index:300;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;transition:opacity .6s ease,visibility .6s ease}.preloader.is-hidden{opacity:0;visibility:hidden;pointer-events:none}.loader-mark{width:64px;height:80px;position:relative;perspective:300px}.loader-frame{position:absolute;inset:0;border:3px solid var(--gold)}.loader-door{position:absolute;inset:4px;background:#c4ad8e;transform-origin:left center;animation:loaderDoor 1.8s ease-in-out infinite alternate;box-shadow:inset -3px 0 4px #82674d}.preloader-word{font-size:clamp(1.4rem,3vw,2.1rem);letter-spacing:.16em;font-weight:700;margin:12px 0 0}.preloader-word span{color:var(--gold)}.preloader-sub{color:#b7a58e}.preloader-line{height:1px;width:150px;background:linear-gradient(90deg,transparent,var(--gold),transparent);margin-top:10px}.skip-loader{border:none;background:none;color:#9eadaf;margin-top:19px;font-size:.75rem;text-decoration:underline;text-underline-offset:4px}@keyframes loaderDoor{0%{transform:rotateY(0)}100%{transform:rotateY(-65deg)}}
/* Header */
.site-header{height:82px;position:fixed;z-index:120;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,4.5vw,80px);background:linear-gradient(to bottom,rgba(13,20,23,.68),transparent);transition:height .3s ease,background .3s ease,border-color .3s;gap:20px}.site-header.is-scrolled{height:68px;background:rgba(22,30,35,.91);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border-bottom:1px solid rgba(255,255,255,.09)}.header-brand{display:inline-flex;align-items:center;gap:11px;font-size:1.06rem;letter-spacing:.07em;font-weight:750;white-space:nowrap}.brand-51{font-weight:420;color:#d9dfda}.brand-emblem{display:inline-flex;position:relative;border:2px solid var(--gold);height:31px;width:25px;border-bottom:0;align-items:end}.brand-emblem span{display:block;height:27px;width:16px;background:#d5b78d;transform:skewY(-8deg);transform-origin:bottom left}.main-nav{display:flex;align-items:center;gap:clamp(13px,2.2vw,35px);font-size:.78rem}.main-nav a{opacity:.79;white-space:nowrap;transition:color .2s,opacity .2s}.main-nav a:hover,.main-nav a.is-current{opacity:1;color:var(--gold)}.header-actions{display:flex;align-items:center;gap:16px}.sound-toggle{display:flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.2);border-radius:24px;color:#edf0ee;padding:9px 12px;background:rgba(255,255,255,.06);white-space:nowrap;font-size:.71rem}.sound-toggle[aria-pressed=true]{border-color:var(--gold);color:var(--gold)}.menu-toggle{display:none;background:none;border:0;padding:8px}.menu-toggle span{height:2px;background:#fff;width:25px;display:block;margin:5px 0;transition:transform .2s}
.journey-progress{position:fixed;right:21px;top:50%;transform:translateY(-50%);z-index:100;display:flex;flex-direction:column;align-items:center;gap:13px;color:#f7eddb;text-shadow:0 1px 8px #0007;pointer-events:none}.journey-progress-label{writing-mode:vertical-rl}.journey-track{height:130px;width:2px;background:#ddd6c480;position:relative}.journey-fill{position:absolute;top:0;left:0;width:100%;height:0;background:var(--gold);box-shadow:0 0 10px var(--gold)}.journey-progress-current{font-size:.63rem}
/* Cover */
.hero{min-height:100svh;min-height:100vh;position:relative;display:flex;align-items:center;isolation:isolate;overflow:hidden;background:#1a2328}.hero-media{position:absolute;inset:0;z-index:-3;animation:heroScale 16s ease-out both}.hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 51%;filter:saturate(.87) contrast(1.05) brightness(.7)}.hero:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(10,17,22,.94) 0%,rgba(11,17,22,.85) 28%,rgba(15,23,27,.36) 80%),linear-gradient(0deg,#11191edb,transparent 45%)}.hero-grain{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.23;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.19'/%3E%3C/svg%3E")}.hero-content{width:min(1100px,100%);padding:140px clamp(26px,9.5vw,170px) 120px;animation:appear 1.3s .2s ease both}.hero-eyebrow{color:#e2cfb5;margin-bottom:30px}.hero h1{font-size:clamp(2.8rem,7.4vw,7rem);white-space:nowrap;letter-spacing:-.05em;font-weight:760;line-height:1.03;margin:0}.hero-number{color:#d5d8d6;font-weight:300}.hero-subline{font-size:clamp(1.15rem,1.75vw,1.62rem);color:#e1ddd5;margin:14px 0 30px;font-weight:350;letter-spacing:.02em}.hero-divider{height:1px;width:68px;background:var(--gold);margin:30px 0}.hero h2{font-size:clamp(1.7rem,3.2vw,3rem);line-height:1.23;max-width:800px;letter-spacing:-.035em;margin:0;font-weight:500}.hero h2 em,.interlude-title em,.section-heading em,.closing h2 em,.compare-dialog-main h2 em{font-family:var(--serif);font-weight:400;color:var(--gold)}.hero-meta{color:#c8c9c3;font-size:.9rem;margin:22px 0 34px}.hero-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.btn{border:1px solid transparent;min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:14px 24px;font-size:.84rem;font-weight:650;transition:transform .25s,background .25s,border-color .25s;border-radius:2px}.btn:hover{transform:translateY(-3px)}.btn-gold{background:var(--gold);color:#1b2529}.btn-gold:hover{background:#efd1a8}.btn-ghost{border-color:#ffffff80;color:#fff;background:rgba(255,255,255,.025)}.btn-ghost:hover{border-color:var(--gold);background:rgba(255,255,255,.09)}.hero-bottom{position:absolute;bottom:28px;left:clamp(25px,4.5vw,80px);right:clamp(30px,4.5vw,80px);display:flex;justify-content:space-between;align-items:center;gap:15px;color:#d3cbbc99}.hero-bottom a{display:flex;align-items:center;gap:12px;color:#eee4d5}.hero-bottom svg{animation:bounce 2s infinite}@keyframes heroScale{from{transform:scale(1.08)}to{transform:scale(1)}}@keyframes appear{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}@keyframes bounce{50%{transform:translateY(5px)}}
.interlude{min-height:66vh;background:#f0ede6;color:#273238;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;padding:90px 22px 75px;position:relative}.interlude-label{color:#987c5a}.interlude-title{font-size:clamp(2rem,4.9vw,5.4rem);line-height:1.12;font-weight:500;max-width:880px;letter-spacing:-.046em;margin:24px auto}.interlude-title em{color:#9f805d}.interlude-sub{max-width:490px;color:#647077;font-size:.98rem}.interlude-index{margin-top:55px;display:flex;flex-wrap:wrap;gap:25px;justify-content:center;color:#88908f}
/* Animated chapters: giant architectural door fixed in space while page scrolls */
.chapter{height:calc(var(--scene-steps) * 100svh);position:relative;isolation:isolate}.chapter-sticky{height:100svh;position:sticky;top:0;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;isolation:isolate}.chapter-wall{position:absolute;inset:0;z-index:-2;overflow:hidden}.chapter--kids .chapter-wall{background:radial-gradient(circle at 67% 36%,#ded4c5 0%,#b8ab9f 42%,#8b8179 100%)}.chapter--kids .wall-pattern{position:absolute;inset:0;opacity:.16;background-image:radial-gradient(#746a64 7px,transparent 8px);background-size:92px 92px}.chapter--bath .chapter-wall{background:linear-gradient(122deg,#374249,#677073 47%,#343c43 100%)}.chapter--bath .wall-pattern{inset:0;position:absolute;opacity:.22;background-image:linear-gradient(4deg,transparent 49.9%,#c0c6bf 50%,transparent 50.1%),linear-gradient(90deg,transparent 49.85%,#c3c8c4 50%,transparent 50.15%);background-size:300px 180px}.chapter--country .chapter-wall{background:linear-gradient(130deg,#415252,#263c45 45%,#172a35)}.chapter--country .wall-pattern{position:absolute;inset:0;opacity:.2;background:repeating-linear-gradient(90deg,transparent 0,transparent 130px,#d7bc9750 132px,transparent 134px),linear-gradient(0deg,#9f7a4f44,transparent 55%)}.wall-light{position:absolute;inset:-30%;background:radial-gradient(ellipse at 50% 34%,rgba(255,244,212,.21) 0%,transparent 48%);pointer-events:none}.chapter--bath .wall-light{background:radial-gradient(ellipse at 45% 25%,rgba(225,227,225,.2),transparent 60%)}.chapter-meta,.chapter-bottom{width:100%;position:absolute;left:0;padding:0 clamp(22px,6vw,100px);display:flex;justify-content:space-between;align-items:center;gap:20px}.chapter-meta{top:100px;z-index:4}.chapter-bottom{bottom:24px;z-index:4;font-size:.83rem;color:#f1e9dc}.chapter-bottom .mono{color:#efe7d7a9}.chapter-tag{font-size:.85rem;color:#fff}.chapter--kids .chapter-meta,.chapter--kids .chapter-bottom{color:#302c29}.chapter--kids .chapter-tag{color:#352e28}.chapter--kids .chapter-bottom .mono{color:#554e4a}.stage-body{width:100%;height:100%;padding:156px 6vw 70px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:0}.door-stage{width:min(78vw,890px);height:min(70vh,650px);min-height:280px;position:relative;display:flex;align-items:center;justify-content:center;perspective:1400px;isolation:isolate}.door-frame{width:100%;height:100%;position:relative;perspective:1800px;transform-style:preserve-3d;border:clamp(9px,1.1vw,16px) solid #e6d7bd;outline:2px solid #f9efdb70;box-shadow:inset 0 0 0 6px #473c34a3,0 16px 24px #0004,0 38px 75px #0006;transition:box-shadow .3s}.chapter--bath .door-frame{border-color:#45484b;outline-color:#a9aaa840;box-shadow:inset 0 0 0 5px #9d9f9e7d,0 25px 65px #06080b88}.chapter--country .door-frame{border-color:#896950;outline-color:#c7aa8380;box-shadow:inset 0 0 0 5px #473324aa,0 28px 60px #090c1080}.door-aperture{position:absolute;inset:0;background:#111d20;overflow:hidden}.photo-zoom{display:block;border:0;padding:0;position:absolute;inset:0;width:100%;height:100%;background:#162026;overflow:hidden;color:white;text-align:left;cursor:zoom-in}.photos-layer,.scene-photo,.photo-shading{position:absolute;inset:0;width:100%;height:100%}.scene-photo{object-fit:cover;object-position:center;opacity:0;transition:opacity .55s ease;filter:saturate(.93)}.scene-photo.current{opacity:1}.photo-shading{background:linear-gradient(to top,#071013ba,transparent 33%);pointer-events:none}.photo-caption{position:absolute;left:25px;right:25px;bottom:19px;display:flex;justify-content:space-between;align-items:center;gap:18px;font-size:.89rem;text-shadow:0 2px 8px #0007}.zoom-hint{position:absolute;top:20px;left:20px;padding:10px 13px;background:rgba(18,29,31,.56);backdrop-filter:blur(8px);display:flex;align-items:center;gap:9px;font-size:.72rem;opacity:0;transition:opacity .2s}.photo-zoom:hover .zoom-hint,.photo-zoom:focus-visible .zoom-hint{opacity:1}.door-leaf{position:absolute;inset:0;transform-origin:left center;transform:rotateY(var(--angle));transform-style:preserve-3d;z-index:3;pointer-events:none;will-change:transform;backface-visibility:visible}.door-leaf-face{position:absolute;inset:0;background:linear-gradient(125deg,#fcf9f0,#e5ddcf 28%,#c5b9a7 76%,#f3ebdc);border:7px solid #d5c7b0;box-shadow:inset 0 0 0 3px #f7f3eb,inset -20px 0 24px #51453844,12px 12px 19px #1116;backface-visibility:hidden;overflow:hidden}.chapter--bath .door-leaf-face{background:repeating-linear-gradient(90deg,#464a4b 0,#4a5052 33px,#383e40 35px,#393f40 43px);border-color:#242b2c;box-shadow:inset 0 0 0 4px #85898b,inset -20px 0 25px #0009,10px 8px 30px #0005}.chapter--country .door-leaf-face{background:repeating-linear-gradient(90deg,#a58460 0,#9a7754 39px,#805c3e 41px,#ad8e6b 51px);border-color:#765638;box-shadow:inset 0 0 0 4px #b89d7a,inset -20px 0 30px #38251380,10px 8px 25px #0006}.leaf-moulding{position:absolute;border:5px double #b4a58d8c;left:8%;right:8%;box-shadow:inset 1px 4px 10px #fff6,0 2px 7px #0002}.leaf-moulding--top{top:7%;height:35%}.leaf-moulding--bottom{bottom:7%;height:33%}.chapter--bath .leaf-moulding{border-color:#737779aa;box-shadow:inset 1px 3px 8px #0008}.chapter--country .leaf-moulding{border-color:#ccad80a8;box-shadow:inset 0 4px 8px #4e351060}.door-handle{position:absolute;right:5%;top:49%;width:12px;height:51px;transform:translateY(-50%);border-radius:9px;background:linear-gradient(90deg,#a18459,#f5ddb3,#997347);box-shadow:0 4px 8px #0007}.door-handle:after{content:"";position:absolute;left:6px;top:21px;width:58px;height:9px;transform:translateX(-100%);border-radius:9px;background:linear-gradient(#fff0ca,#8b6940);box-shadow:0 3px 3px #0006}.chapter--bath .door-handle{background:linear-gradient(90deg,#0d0f10,#a1a7a7,#1a1e20)}.chapter--bath .door-handle:after{background:linear-gradient(#aab0b0,#1a1e20)}.door-leaf-edge{position:absolute;top:0;right:0;width:15px;height:100%;background:#847153;transform:rotateY(90deg);transform-origin:right;box-shadow:0 0 15px #0005}.plaque{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(37,42,43,.94);color:#f8f4e8;width:min(75%,450px);min-height:148px;padding:25px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;box-shadow:0 7px 27px #0006;border:1px solid #d8b98b7a;text-align:center}.chapter--bath .plaque{background:#e4ded2;color:#273033}.chapter--country .plaque{background:#20343c;color:#f3eadc}.plaque-number,.plaque-tiny{font-size:clamp(.55rem,.8vw,.71rem);letter-spacing:.18em}.plaque-name{font:400 clamp(1.8rem,3.3vw,3.4rem)/1.05 var(--serif);white-space:nowrap}.plaque-line{width:48px;height:1px;background:#ceac7c}.door-floor{position:absolute;bottom:-25px;width:114%;height:40px;transform:perspective(230px) rotateX(45deg);background:radial-gradient(ellipse at center,#0c0b0a96,transparent 75%);pointer-events:none}.chapter-prompt{display:flex;gap:12px;align-items:center;font-size:.73rem;letter-spacing:.08em;color:#f7efdf;min-height:24px;text-shadow:0 1px 2px #0006}.chapter--kids .chapter-prompt{color:#433a34;text-shadow:none}.prompt-star{color:var(--gold);font-size:.9rem}.chapter-prompt svg{animation:bounce 2s ease-in-out infinite}.compare-chip{z-index:5;position:absolute;top:18px;right:18px;opacity:0;visibility:hidden;pointer-events:none;background:rgba(17,28,32,.71);border:1px solid #ffffff70;backdrop-filter:blur(10px);color:white;padding:11px 12px;display:flex;gap:7px;align-items:center;font-size:.8rem;transition:opacity .3s,background .2s}.compare-chip:hover{background:rgba(17,28,32,.91)}.compare-chip.is-visible{opacity:1;visibility:visible;pointer-events:auto}.compare-chip-symbol{font-size:1.18rem;line-height:1}
/* About */
.about{min-height:850px;background:#f1eee7;color:#253139;display:grid;grid-template-columns:minmax(280px,43%) 1fr;gap:clamp(35px,6vw,105px);align-items:center;padding:clamp(80px,9vw,140px) clamp(25px,9vw,145px)}.about-visual{min-height:660px;background:linear-gradient(125deg,#ded4c2,#bbb3a3);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;box-shadow:20px 25px 55px #232a2b17}.about-visual:after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 130px #55473744}.about-arch{border:18px solid #d2c2a9;border-bottom:0;width:67%;height:77%;border-radius:260px 260px 0 0;position:relative;background:#403b36;box-shadow:0 15px 40px #0004}.about-arch-door{position:absolute;inset:10px 7px 0;background:linear-gradient(135deg,#957557,#5b483a);border-radius:240px 240px 0 0;box-shadow:inset 0 0 0 13px #937358,inset 0 0 0 18px #554234}.about-arch-door:before{content:"";position:absolute;left:50%;top:20%;bottom:8%;width:2px;background:#d3ad8080}.about-arch-door:after{content:"";position:absolute;right:10%;top:53%;background:#e0ba82;width:9px;height:9px;border-radius:50%;box-shadow:0 0 0 5px #0006}.about-visual-label{position:absolute;bottom:27px;left:28px;color:#fff;z-index:2;line-height:1.9}.about-copy{max-width:650px}.about-copy .eyebrow{color:#988062}.section-heading{font-size:clamp(2.4rem,4.2vw,5rem);line-height:1.12;font-weight:510;letter-spacing:-.049em;margin:29px 0}.section-heading em{color:#a27f58}.about-lead{font-size:1.15rem;font-weight:500;line-height:1.7;max-width:590px}.numbers{display:flex;gap:30px;padding:30px 0;margin:20px 0;border-top:1px solid #d1cbc0;border-bottom:1px solid #d1cbc0}.numbers>div{flex:1;display:flex;flex-direction:column;gap:9px}.numbers strong{font-size:clamp(3rem,5vw,5.6rem);font-weight:450;line-height:1;letter-spacing:-.07em}.numbers strong span{color:#ac8860;font-size:.6em}.numbers div>span{font-size:.8rem;color:#667078}.about-detail{color:#617078;line-height:1.9;margin:22px 0}.work-note{display:flex;gap:16px;border-left:2px solid #b3916a;padding:14px 18px;background:#e7e2d8;color:#4c555b;font-size:.83rem;line-height:1.7}.work-note p{margin:0}.work-note svg{flex-shrink:0;color:#a07e59;margin-top:4px}
/* Last door and contact CTA */
.closing{position:relative;min-height:100svh;background:#111a1f;isolation:isolate;padding:120px 35px;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden}.closing-backdrop{position:absolute;inset:0;z-index:-1;overflow:hidden}.closing-glow{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 18%,#b18a5166,transparent 47%),linear-gradient(0deg,#080e12,#1a2a32)}.closing-frame{position:absolute;left:50%;top:17%;transform:translateX(-50%);height:75%;width:min(70vw,700px);border:12px solid #80664a;box-shadow:0 30px 70px #000a}.closing-panel{height:100%;background:linear-gradient(115deg,#2c383a,#17242b);box-shadow:inset 0 0 0 5px #b7a07d38}.closing-content{position:relative;width:100%;max-width:1100px;margin:auto;padding:30px 20px;background:radial-gradient(ellipse,#11191bdc,#11191ba0 52%,transparent 75%)}.eyebrow.center{justify-content:center;color:#d8c2a3}.closing h2{font-size:clamp(2.8rem,6.3vw,7.6rem);font-weight:450;line-height:1.08;letter-spacing:-.056em;margin:25px auto}.closing-text{font-size:.98rem;line-height:1.8;max-width:610px;margin:25px auto 41px;color:#c0c9c9}.contact-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:100%;max-width:1040px;margin:auto}.contact-pill{border:1px solid #ffffff36;background:rgba(237,238,230,.075);min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:13px;padding:17px 17px;color:#f2f2eb;text-align:left;transition:background .25s,transform .25s,border-color .25s}.contact-pill:hover{transform:translateY(-4px);border-color:#d2b08890;background:rgba(226,202,165,.14)}.contact-pill>span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:5px}.contact-pill strong{font-size:.86rem}.contact-pill small{font-size:.67rem;color:#d2d0c7}.social-icon{width:36px;height:36px;border:1px solid #bcaa8b66;display:flex;align-items:center;justify-content:center;color:var(--gold);font-size:.72rem;font-weight:750;flex:none}.social-icon-max{font-size:1.35rem}.closing-location{display:block;margin-top:42px;color:#c2c0b0}.site-footer{background:#11191d;border-top:1px solid #ffffff1a;min-height:113px;padding:23px clamp(28px,6vw,100px);display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;color:#aab4b6;font-size:.79rem}.footer-brand{font-size:1.08rem;font-weight:720;letter-spacing:.05em;color:#f0eee4}.footer-brand span{color:var(--gold)}.site-footer a:hover{color:var(--gold)}
/* Floating contact menu */
.floating-contacts{position:fixed;bottom:27px;right:27px;z-index:130;display:flex;flex-direction:column;align-items:end;gap:8px}.floating-main{background:var(--gold);color:#17232a;border:1px solid #e5c59b;display:flex;align-items:center;gap:9px;border-radius:30px;padding:13px 17px;font-size:.81rem;font-weight:700;box-shadow:0 8px 25px #0005}.floating-list{display:none;background:#f0ede6;color:#253139;min-width:164px;padding:8px;flex-direction:column;box-shadow:0 15px 35px #0004;border-radius:5px}.floating-contacts.is-open .floating-list{display:flex}.floating-list a,.floating-list button{display:block;padding:11px 12px;background:transparent;border:0;text-align:left;color:#26333a;font-size:.8rem}.floating-list a:hover,.floating-list button:hover{background:#d7c6ae}
/* Dialogs */
dialog{max-width:none;max-height:none;border:0;padding:0;color:#f5eee5;background:#141e23}dialog::backdrop{background:#070b0cda;backdrop-filter:blur(10px)}.image-dialog{width:100vw;height:100dvh;overflow:hidden}.dialog-top{height:70px;padding:0 clamp(22px,4vw,70px);display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #ffffff22}.dialog-close{background:transparent;border:1px solid #ffffff45;color:#fff;padding:7px;display:flex;align-items:center;justify-content:center;width:39px;height:39px}.dialog-close:hover{background:#ffffff23}.dialog-center{height:calc(100% - 138px);display:flex;justify-content:center;align-items:center;gap:10px;padding:12px clamp(10px,3vw,55px)}.dialog-center img{width:min(80vw,1350px);height:100%;object-fit:contain}.dialog-arrow{flex-shrink:0;width:46px;height:46px;border:1px solid #ffffff6c;background:#ffffff12;color:#fff}.dialog-arrow:hover{background:#ffffff30}.dialog-bottom{padding:0 clamp(25px,6vw,100px);height:68px;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#cccfc8}.compare-dialog{width:100vw;height:100dvh;overflow-y:auto}.compare-dialog-main{display:flex;flex-direction:column;align-items:center;text-align:center;padding:26px 15px 50px}.compare-dialog-main h2{font-weight:450;font-size:clamp(2.3rem,4.6vw,4rem);margin:5px 0 3px}.compare-dialog-main p{margin:4px 0 22px;color:#d2d2cd}.compare-canvas{width:min(89vw,820px);aspect-ratio:1.42;position:relative;overflow:hidden;isolation:isolate;box-shadow:0 15px 50px #0006;user-select:none;touch-action:pan-y}.compare-canvas img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 44%}.compare-after{clip-path:inset(0 calc(100% - var(--split)) 0 0)}.compare-label{position:absolute;z-index:2;top:16px;padding:6px 12px;background:#15232acf;color:#fff;font-size:.71rem;letter-spacing:.1em}.compare-label-before{right:15px}.compare-label-after{left:15px}.compare-divider{position:absolute;inset:0 auto 0 var(--split);transform:translateX(-50%);background:#ffffffb0;width:2px;z-index:3;pointer-events:none;display:flex;align-items:center;justify-content:center}.compare-divider span{width:46px;height:46px;border-radius:50%;background:#e3c69d;color:#1b292f;border:2px solid #fff;display:flex;align-items:center;justify-content:center;font-size:1.8rem;box-shadow:0 4px 19px #0006;white-space:nowrap}.compare-range{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:ew-resize;z-index:4;margin:0}.compare-dialog-main .compare-disclaimer{font-size:.69rem;margin-top:15px;color:#b7bdbb}.max-dialog{width:min(92vw,590px);max-height:90dvh;overflow-y:auto;border:1px solid #bca17c55}.max-dialog .dialog-top{padding:0 23px}.max-dialog-body{padding:25px clamp(22px,4vw,49px) 39px;text-align:center}.max-letter{font-size:2.5rem;display:inline-grid;place-items:center;border:2px solid var(--gold);width:70px;height:70px;color:var(--gold)}.max-dialog h2{font:400 2rem/1.2 var(--serif)}.max-dialog-body p{line-height:1.8;color:#c0c7c7}.max-number{font-size:1.4rem;letter-spacing:.03em;margin:22px auto}.max-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.btn-outline{color:#fff;border-color:#ffffff60}#copy-result{font-size:.78rem;min-height:24px;color:var(--gold)}
/* Responsive */
@media(max-width:1100px){.main-nav{gap:15px}.main-nav a{font-size:.73rem}.sound-toggle span{display:none}.about{padding:80px 5vw;gap:45px}.contact-actions{grid-template-columns:repeat(2,minmax(0,1fr));max-width:650px}}@media(max-width:800px){.site-header{height:70px;padding:0 23px}.site-header.is-scrolled{height:65px}.main-nav{position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;align-items:stretch;background:#1c282ef8;gap:0;padding:14px 25px 22px;box-shadow:0 20px 35px #0006}.main-nav.is-open{display:flex}.main-nav a{padding:13px 0;border-bottom:1px solid #ffffff16;font-size:.93rem}.menu-toggle{display:block}.hero-content{padding:128px 6vw 120px}.hero h1{font-size:clamp(2.5rem,8.5vw,5.5rem)}.hero-bottom>span:last-child{display:none}.chapter-meta{top:87px}.chapter-bottom{bottom:14px}.door-stage{width:min(86vw,670px);height:min(65vh,600px)}.chapter-bottom span:first-child{max-width:55%}.about{grid-template-columns:1fr}.about-visual{min-height:480px;max-width:650px;width:100%;justify-self:center}.about-copy{max-width:650px;justify-self:center}.journey-progress{right:10px}.closing{padding:100px 20px}.contact-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.header-brand{font-size:.88rem}.brand-emblem{height:27px;width:22px}.brand-emblem span{height:23px}.header-actions{gap:5px}.sound-toggle{padding:7px;border:0}.hero{min-height:100svh}.hero-media img{object-position:62% center}.hero:before{background:linear-gradient(90deg,#111a20dc,#111a207c),linear-gradient(0deg,#111b20,transparent 70%)}.hero-content{padding:116px 6vw 115px}.hero h1{font-size:clamp(2rem,9.35vw,3.3rem);letter-spacing:-.05em}.hero-subline{font-size:1.05rem}.hero h2{font-size:clamp(1.45rem,6vw,2.1rem);line-height:1.3}.hero h2 br{display:none}.hero-eyebrow{font-size:.59rem;letter-spacing:.12em}.hero-meta{font-size:.75rem;max-width:310px}.btn{width:100%;min-height:49px}.hero-actions{gap:9px}.hero-bottom{left:23px;right:23px;bottom:17px}.hero-bottom span:first-child{font-size:.53rem;max-width:150px}.hero-bottom a{font-size:.54rem}.interlude{padding:90px 23px 75px;min-height:65svh}.interlude-title{font-size:clamp(2.1rem,9vw,3.5rem)}.interlude-index{gap:9px}.interlude-index span{font-size:.58rem}.chapter-meta{top:88px;padding:0 20px;font-size:.72rem}.chapter-bottom{padding:0 20px;bottom:23px}.chapter-bottom .mono{display:none}.chapter-bottom span:first-child{max-width:100%;font-size:.76rem}.chapter-tag{font-size:.7rem}.stage-body{padding:150px 7vw 87px}.door-stage{width:min(91vw,430px);height:min(64svh,570px);min-height:275px}.door-frame{border-width:9px}.plaque{width:82%;min-height:120px;padding:15px 8px}.plaque-name{font-size:clamp(1.45rem,7vw,2.1rem);white-space:normal}.plaque-number,.plaque-tiny{font-size:.56rem}.leaf-moulding--top{top:7%;height:34%}.leaf-moulding--bottom{height:32%}.door-handle{right:7%;height:35px}.door-handle:after{width:36px}.photo-caption{left:11px;right:11px;bottom:13px;font-size:.68rem}.zoom-hint{font-size:.63rem;padding:7px;top:9px;left:9px}.chapter-prompt{font-size:.64rem;gap:7px}.compare-chip{top:9px;right:8px;padding:8px;font-size:.63rem}.about{padding:75px 22px;gap:43px}.about-visual{min-height:430px}.section-heading{font-size:2.4rem}.about-lead{font-size:1.02rem}.numbers{gap:15px}.numbers strong{font-size:3.3rem}.numbers div>span{font-size:.71rem}.about-detail{font-size:.89rem}.closing{padding:100px 18px}.closing-content{padding:25px 0;background:radial-gradient(ellipse,#10191de8,#10191ddc 55%,transparent 87%)}.closing h2{font-size:clamp(2.65rem,11vw,4.4rem)}.closing-text{font-size:.88rem}.closing .eyebrow{font-size:.55rem;letter-spacing:.09em}.closing .eyebrow-rule{width:18px}.contact-actions{grid-template-columns:1fr 1fr;gap:7px}.contact-pill{min-height:77px;padding:11px 9px;gap:6px}.social-icon{width:27px;height:27px;font-size:.57rem}.social-icon svg{width:18px}.contact-pill strong{font-size:.73rem}.contact-pill small{font-size:.59rem}.contact-pill>svg{display:none}.site-footer{padding:30px 22px;gap:13px;justify-content:center;text-align:center}.site-footer>*{width:100%}.floating-contacts{bottom:15px;right:13px}.floating-main{padding:11px 14px}.journey-progress{display:none}.dialog-top{height:59px;padding:0 15px}.dialog-center{height:calc(100% - 114px);padding:10px 0;gap:0}.dialog-center img{width:calc(100vw - 74px);object-fit:contain}.dialog-arrow{width:35px;height:39px}.dialog-bottom{height:55px;padding:0 16px;font-size:.75rem}.compare-dialog-main{padding:21px 12px 50px}.compare-canvas{width:94vw;aspect-ratio:.95}.max-number{font-size:1.2rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.has-js .reveal{opacity:1;transform:none}.hero-media{animation:none}}

/* ============ v2 · SCROLL-CONTROLLED CAMERA & ARCHITECTURAL DOORS ============ */
.chapter{--camera-ease:0;}
.chapter-sticky{contain:layout style;}
.stage-body{position:relative;}
.door-stage{
  --cam-x:0px;--cam-y:0px;--cam-sx:1;--cam-sy:1;
  transform:translate3d(var(--cam-x),var(--cam-y),0) scale(var(--cam-sx),var(--cam-sy));
  transform-origin:50% 50%;will-change:transform;
  perspective:2400px;overflow:visible;
}
.door-frame{transform-style:preserve-3d;perspective:1800px;isolation:isolate;}
/* The casing stays visible while the camera moves toward the threshold. */
.door-frame:before{content:"";position:absolute;inset:-19px;z-index:2;pointer-events:none;border:clamp(5px,.8vw,12px) ridge #e4d6be;border-bottom-color:#a68c6d;box-shadow:0 10px 28px #0005,inset 0 0 13px #251e1990;}
.chapter--bath .door-frame:before{border-color:#8d9698;border-bottom-color:#444d50;box-shadow:inset 0 0 12px #020608ad,0 12px 20px #0008;}
.chapter--country .door-frame:before{border-color:#c3a07c;border-bottom-color:#6a4e31;}
.door-frame:after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;border:6px solid #30251e6e;box-shadow:inset 0 0 16px 8px #0006;}
.door-aperture{z-index:0;}
.door-leaf{z-index:4;backface-visibility:visible;}
.door-leaf-face{backface-visibility:hidden;}
.door-leaf-back{position:absolute;inset:0;transform:rotateY(180deg);backface-visibility:hidden;background:linear-gradient(95deg,#a39b8c,#d4c5b2 20%,#e8dcc7 75%,#928370);border:10px double #bda98c;box-shadow:inset 0 0 0 15px #d9cbb7,inset 0 0 0 21px #9a8674,0 15px 40px #0008;}
.chapter--bath .door-leaf-back{background:linear-gradient(90deg,#2e3537,#6b7071 25%,#41494c);border-color:#7e8687;box-shadow:inset 0 0 0 14px #30393b,inset 0 0 0 20px #7a8386,0 15px 35px #0008;}
.chapter--country .door-leaf-back{background:repeating-linear-gradient(90deg,#76573b 0 12px,#957453 12px 28px,#aa8963 30px 40px);border-color:#c1a27e;box-shadow:inset 0 0 0 15px #977454,inset 0 0 0 22px #60432b,0 15px 35px #0008;}
.door-hinge{position:absolute;left:-3px;top:12%;height:76%;width:8px;z-index:5;pointer-events:none;background:linear-gradient(to bottom,transparent 0 7%,#e1bf86 7% 17%,transparent 17% 77%,#e1bf86 77% 89%,transparent 89%);filter:drop-shadow(1px 1px 2px #0009);}
/* Door leaf is deliberately visible left of the jamb, including its reverse face. */
.door-leaf{filter:drop-shadow(7px 5px 14px rgba(0,0,0,.3));}
.door-frame .photo-zoom{opacity:var(--gallery-visibility,0);transition:opacity .1s linear;}
.chapter-prompt{position:relative;z-index:6;}
/* Child's room: toy shelf and hand-drawn stars inspired by the actual room. */
.chapter--kids .door-leaf-face{background:linear-gradient(115deg,#f9f5ec,#e8dfd3 44%,#c9c0b4);border-color:#cdbba5;}
.kids-door-details{position:absolute;inset:0;pointer-events:none;}
.kids-toys{position:absolute;width:78%;height:26%;left:11%;top:9%;filter:drop-shadow(0 7px 5px #4c39362c);}
.kids-star{position:absolute;font-size:clamp(22px,3vw,36px);color:#be9e7b;font-family:Georgia,serif;text-shadow:0 1px 1px #fff9;}
.kids-star-a{left:12%;top:47%}.kids-star-b{right:12%;top:46%;color:#a5b2a1}.kids-star-c{right:17%;bottom:15%;font-size:24px;}
.kids-door-whisper{position:absolute;bottom:15%;left:0;right:0;text-align:center;font-size:clamp(10px,1.3vw,16px);font-style:italic;font-family:Georgia,serif;letter-spacing:.09em;color:#847667;}
.chapter--kids .plaque{background:rgba(47,55,57,.94);border-color:#d0b999;min-height:132px;}
.bath-door-detail,.country-door-detail{position:absolute;inset:9% 15% auto;display:flex;flex-direction:column;justify-content:center;align-items:center;opacity:.8;pointer-events:none;}
.bath-ring{display:block;border:2px solid #abb5b4;width:78px;height:78px;border-radius:50%;box-shadow:0 0 0 9px #d0d4d412,inset 0 0 0 6px #d2d8d81a;}
.bath-waterlines{font:30px Georgia,serif;color:#cbd4d3;margin-top:8px;letter-spacing:.1em;}
.country-door-detail svg{width:100%;max-height:110px;filter:drop-shadow(0 5px 3px #3321116b)}
.country-door-detail span{font:italic 16px Georgia,serif;color:#f0d5af;margin-top:7px;}
/* The blueprint replaces the old decorative arch photograph entirely. */
.about-visual{background:radial-gradient(circle at 60% 38%,#283c41 0,#15252d 62%,#0a171d 100%);border:1px solid #c8a57736;box-shadow:17px 21px 60px #202a291f;min-height:660px;}
.about-visual:after{box-shadow:inset 0 0 100px #050a0c95;pointer-events:none;}
.blueprint-shell{width:100%;height:100%;min-height:660px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:4px;padding:26px clamp(18px,3vw,36px);position:relative;isolation:isolate;z-index:1;color:#eddbb9;}
.blueprint-top,.blueprint-foot{width:100%;display:flex;align-items:center;justify-content:space-between;gap:13px;color:#e2c9a4b8;font-size:.58rem;}
.floorplan{width:min(100%,490px);max-height:450px;overflow:visible;filter:drop-shadow(0 0 12px #ad8e5830);}
.draw-line{stroke-dasharray:1100;stroke-dashoffset:1100;transition:stroke-dashoffset 1.65s cubic-bezier(.22,.75,.2,1);transition-delay:calc(var(--i) * 110ms);}
.about-visual.is-visible .draw-line{stroke-dashoffset:0;}
.plan-fixtures,.plan-room-labels,.plan-measures,.plan-measure-text{opacity:0;transition:opacity .85s ease 1.25s;}
.about-visual.is-visible .plan-fixtures,.about-visual.is-visible .plan-room-labels,.about-visual.is-visible .plan-measures,.about-visual.is-visible .plan-measure-text{opacity:1;}
.blueprint-signature{display:flex;gap:18px;width:100%;border-top:1px solid #c7aa7c55;border-bottom:1px solid #c7aa7c55;padding:15px 7px 13px;justify-content:space-around;opacity:0;transform:translateY(12px);transition:opacity .7s ease 1.8s,transform .7s ease 1.8s;}
.about-visual.is-visible .blueprint-signature{opacity:1;transform:none;}
.blueprint-signature>div{display:flex;align-items:baseline;gap:10px;}
.blueprint-signature strong{font:400 2.6rem/1 Georgia,serif;color:#f2d2a0;}
.blueprint-signature strong span{font-size:.57em;}
.blueprint-signature small{font-size:.57rem;letter-spacing:.09em;color:#d7c4a7;}
@media(max-width:800px){.about-visual,.blueprint-shell{min-height:540px}.floorplan{max-height:340px}.blueprint-shell{padding:24px 21px}}
@media(max-width:540px){.door-stage{width:min(78vw,380px);height:min(63svh,540px)}.door-frame{border-width:8px}.door-frame:before{inset:-10px;border-width:7px}.door-frame:after{border-width:3px}.door-hinge{width:5px}.kids-toys{top:12%;height:22%}.kids-door-whisper{font-size:9px;bottom:13%}.kids-star{font-size:19px}.chapter--kids .plaque{min-height:105px;padding:8px}.chapter--kids .plaque-name{font-size:clamp(1.35rem,6vw,1.9rem)}.bath-ring{width:45px;height:45px}.bath-waterlines{font-size:17px}.country-door-detail span{font-size:11px}.about-visual,.blueprint-shell{min-height:500px}.floorplan{max-height:300px}.blueprint-signature strong{font-size:2rem}.blueprint-signature small{font-size:.48rem}}
@media(prefers-reduced-motion:reduce){.draw-line{stroke-dashoffset:0!important}.plan-fixtures,.plan-room-labels,.plan-measures,.plan-measure-text,.blueprint-signature{opacity:1!important;transform:none!important}}

/* Clean camera view: captions and guidance move into a readable sticky HUD. */
.chapter-gallery-hud{position:absolute;z-index:9;left:clamp(22px,6vw,100px);bottom:54px;display:flex;flex-direction:column;gap:4px;max-width:min(520px,62vw);opacity:0;transform:translateY(12px);transition:opacity .25s ease,transform .25s ease;pointer-events:none;background:#0d1b21c9;border:1px solid #ddcba64f;border-left:3px solid #d5b78a;backdrop-filter:blur(8px);padding:12px 18px;box-shadow:0 8px 25px #0005;}
.chapter-gallery-hud .hud-word{font-size:.51rem;color:#d2b38b;}
.chapter-gallery-hud .hud-caption{font-size:.89rem;line-height:1.35;color:#fff;}
.chapter-gallery-hud .hud-fraction{font-size:.61rem;color:#e9dece;}
.chapter.is-entered .chapter-gallery-hud{opacity:1;transform:none;}
.chapter.is-entered .chapter-bottom,.chapter.is-entered .chapter-prompt{opacity:0;pointer-events:none;}
.chapter-prompt,.chapter-bottom{transition:opacity .24s ease;}
.chapter-prompt{background:#1a2838c9;border-radius:24px;padding:7px 14px;color:#fff!important;text-shadow:0 1px 7px #0009!important;}
.chapter-meta{transition:color .23s ease;}
.chapter.is-entered .chapter-meta>span{background:#101b21c7;color:#fff;text-shadow:0 2px 6px #000b;padding:6px 11px;border:1px solid #ffffff26;backdrop-filter:blur(6px);}
/* Show the inner door handle on the visible reverse leaf while entering. */
.door-leaf-back:before{content:"";position:absolute;top:49%;left:13%;width:14px;height:51px;transform:translateY(-50%);background:linear-gradient(90deg,#8b744e,#f5ddb4,#a08255);border-radius:8px;box-shadow:0 3px 8px #0005;}
.door-leaf-back:after{content:"";position:absolute;top:49%;left:13%;width:62px;height:10px;transform:translate(-19%,-50%);border-radius:8px;background:linear-gradient(#f8dfac,#947247);box-shadow:0 3px 8px #0008;}
.chapter--bath .door-leaf-back:before,.chapter--bath .door-leaf-back:after{background:linear-gradient(#bbbfc0,#42494b);}
@media(max-width:540px){.chapter-gallery-hud{bottom:72px;left:16px;max-width:calc(100% - 155px);min-width:156px;padding:7px 10px;gap:2px;}.chapter-gallery-hud .hud-caption{font-size:.69rem}.chapter-gallery-hud .hud-word{font-size:.44rem}.chapter-gallery-hud .hud-fraction{font-size:.52rem}.chapter.is-entered .chapter-meta>span{padding:4px 7px;font-size:.65rem}.chapter.is-entered .chapter-bottom{opacity:0}}

/* The open door's inner handle stays visible beside the left jamb. */
.door-side-handle{position:absolute;left:-44px;top:50%;z-index:6;display:block;width:38px;height:75px;transform:translateY(-50%);opacity:clamp(0,calc((var(--door-open) - .65)*3.8),1);pointer-events:none;filter:drop-shadow(0 3px 4px #0008);}
.side-handle-plate{position:absolute;top:12px;left:12px;width:13px;height:44px;border-radius:8px;background:linear-gradient(90deg,#92744d,#f1d6a6,#8c6b45);}
.side-handle-grip{position:absolute;left:-1px;top:27px;height:9px;width:35px;border-radius:8px;background:linear-gradient(#ffefc8,#9d8057);}
.chapter--bath .side-handle-plate,.chapter--bath .side-handle-grip{background:linear-gradient(#acb2b2,#434c50);}
.chapter--country .side-handle-plate,.chapter--country .side-handle-grip{background:linear-gradient(#dcb787,#88603f);}
@media(max-width:540px){.door-side-handle{left:-23px;width:22px;height:60px}.side-handle-plate{left:10px;width:8px;height:30px}.side-handle-grip{top:23px;left:0;width:21px;height:6px}}

/* door-v3.css */
/* PRO.REMONT51 v3 — dimensional door assemblies, reversible optical camera.
   Local materials and CSS 3-D keep the site fast, offline and static-host compatible. */
.chapter{--portal-w:min(70vw,35svh,356px);--portal-h:calc(var(--portal-w)*2.28);}
.chapter-sticky{overflow:hidden;contain:layout style;}
.stage-body{position:absolute;inset:0;height:100%;width:100%;padding:0;margin:0;display:block;min-height:0;pointer-events:none;}
.door-stage{height:100%;width:100%;max-height:none;min-height:0;perspective:none;isolation:auto;overflow:visible;pointer-events:none;}
.door-dolly{position:absolute;left:50%;top:50%;width:var(--portal-w);height:var(--portal-h);transform:translate(-50%,-50%) translate3d(var(--camera-x,0px),var(--camera-y,0px),0) scale(var(--camera-scale,1));transform-origin:center 48%;perspective:1700px;transform-style:preserve-3d;will-change:transform;pointer-events:none;filter:drop-shadow(2px 13px 19px #090e0e79);}
.door-stage:after{content:"";position:absolute;width:calc(var(--portal-w)*2.1);height:38px;top:calc(50% + var(--portal-h)/2 - 2px);left:50%;transform:translateX(-50%) scaleX(calc(.92 + var(--door-shadow-progress,0)*.3));background:radial-gradient(ellipse at center,#0008 0%,#080c0c27 48%,transparent 73%);pointer-events:none;opacity:.65;}
.door-frame{width:100%;height:100%;border:0!important;outline:0!important;box-shadow:none!important;background:#201e1b;overflow:visible;perspective:1800px;transform-style:preserve-3d;isolation:auto;pointer-events:none;}
.door-frame:before,.door-frame:after{display:none!important;}
.physical-trim{position:absolute;inset:-19px;z-index:9;pointer-events:none;transform:translateZ(13px);filter:drop-shadow(2px 7px 4px #0003);}
.trim{position:absolute;display:block;background:linear-gradient(90deg,#645b52 0%,#d6c9b7 11%,#fbf8ee 38%,#d0c2af 74%,#958572 96%,#51493d 100%);border:1px solid #ffffff3f;box-shadow:inset -3px 0 5px #56473553,inset 2px 0 3px #fff8,3px 6px 7px #0004;}
.trim-left{left:0;top:0;width:19px;height:100%;}
.trim-right{right:0;top:0;width:19px;height:100%;background:linear-gradient(90deg,#6f655a 0%,#d7c9b9 15%,#fcf7ed 43%,#b8a995 83%,#62584d 100%);}
.trim-top{left:0;right:0;top:0;height:19px;background:linear-gradient(#faf7ee,#dbceba 35%,#b6a691 75%,#615244);}
.trim-joint{position:absolute;top:0;width:22px;height:21px;z-index:2;background:linear-gradient(140deg,#faf7f0 0%,#cfbfab 52%,#8b7c6a 100%);clip-path:polygon(0 0,100% 0,0 100%)}
.joint-left{left:0}.joint-right{right:0;transform:scaleX(-1)}
.chapter--bath .trim{background:linear-gradient(90deg,#24292d,#6b7375 19%,#c0c5c3 47%,#666f71 80%,#343a3e);border-color:#a2aab03b}
.chapter--bath .trim-top{background:linear-gradient(#c5cac8,#697174,#2c3437)}
.chapter--bath .trim-joint{background:linear-gradient(135deg,#c0c6c3,#323a3e)}
.chapter--country .trim{background:linear-gradient(90deg,#513c2f,#c3a27d 18%,#e2c39d 48%,#a07856 83%,#493428);border-color:#eed7b453}
.chapter--country .trim-top{background:linear-gradient(#e2c7a5,#b48b68,#553b2d)}
.chapter--country .trim-joint{background:linear-gradient(135deg,#f2d9b2,#614530)}
.door-aperture{inset:5px!important;overflow:hidden;background:#1b252a;position:absolute;z-index:1;box-shadow:inset 0 1px 10px #000c,inset -8px 0 10px #090c0c70;}
.jamb-depth{position:absolute;z-index:3;pointer-events:none;display:block;}
.jamb-depth-left{top:0;bottom:0;left:0;width:11px;background:linear-gradient(90deg,#161413,#61594e 60%,#988e80);box-shadow:2px 0 6px #0009}
.jamb-depth-right{top:0;bottom:0;right:0;width:11px;background:linear-gradient(90deg,#8d8376,#514941 45%,#1a1918);box-shadow:-2px 0 6px #0009}
.jamb-depth-top{left:0;right:0;top:0;height:13px;background:linear-gradient(#131313,#6f675e 60%,#978a79);box-shadow:0 3px 6px #000a}
.chapter--bath .jamb-depth{filter:grayscale(1)}
.chapter--country .jamb-depth{filter:sepia(.45)}
.door-aperture .photo-zoom{opacity:1!important;pointer-events:none;background:#172124;}
.chapter.is-entered .door-aperture .photo-zoom{pointer-events:auto;}
.photos-layer,.photo-zoom,.scene-photo{width:100%;height:100%;}
.scene-photo{opacity:0;transition:none!important;object-fit:cover;object-position:center;filter:saturate(.98) contrast(1.015);transform:scale(1.016);backface-visibility:hidden;}
.scene-photo.current{opacity:1;}
.photo-shading{background:linear-gradient(to top,#0e19283d,transparent 27%);}
.photo-caption,.zoom-hint{display:none!important;}
.door-leaf{position:absolute;inset:7px;z-index:5;transform-origin:0 50%;transform:rotateY(var(--angle,0deg));transform-style:preserve-3d;will-change:transform;filter:none;backface-visibility:visible;pointer-events:none;}
.door-leaf-face,.door-leaf-back{position:absolute;inset:0;border:2px solid #c7b7a0;box-shadow:inset 0 0 0 6px #d5c8b6,inset 0 0 0 8px #ac9b83,3px 5px 12px #0005;overflow:visible;backface-visibility:hidden;transform-style:preserve-3d;}
.door-leaf-face{transform:translateZ(11px);background:linear-gradient(90deg,#0e11111b,transparent 20%,#fff7 42%,transparent 70%,#17140e44),url('assets/veneer-kids.webp') center/100% 100%;}
.door-leaf-back{transform:rotateY(180deg) translateZ(11px);background:linear-gradient(90deg,#10101533,transparent 40%,#ffffff33 70%,#090b0b45),url('assets/veneer-kids.webp') center/100% 100%;border:2px solid #b7a692;box-shadow:inset 0 0 0 6px #dfd2c0,inset 0 0 0 8px #ac9d8b,0 3px 13px #0005;}
.chapter--bath .door-leaf-face,.chapter--bath .door-leaf-back{background-image:linear-gradient(90deg,#090d1180,transparent 28%,#c9d3d022 55%,#10151677),url('assets/veneer-bath.webp');border-color:#454c50;box-shadow:inset 0 0 0 6px #586166,inset 0 0 0 8px #30383a,5px 5px 13px #0009;}
.chapter--country .door-leaf-face,.chapter--country .door-leaf-back{background-image:linear-gradient(90deg,#20110658,transparent 32%,#ffe3a52e 54%,#2414066f),url('assets/veneer-country.webp');border-color:#8a6649;box-shadow:inset 0 0 0 6px #b4916f,inset 0 0 0 8px #60442e,4px 6px 12px #0007;}
.door-leaf-edge{position:absolute;top:0;right:0;width:23px;height:100%;background:linear-gradient(90deg,#897a66,#d1c0a4,#6a5b4b);transform:rotateY(90deg) translateZ(11px);transform-origin:right center;box-shadow:inset 2px 0 4px #0006;}
.chapter--bath .door-leaf-edge{background:linear-gradient(90deg,#232d31,#7e8889,#282d2f)}
.chapter--country .door-leaf-edge{background:linear-gradient(90deg,#5d402c,#b58e6b,#463120)}
.leaf-seal{position:absolute;right:-5px;top:8px;bottom:8px;background:#171b1ccc;width:3px;transform:translateZ(1px);box-shadow:0 0 3px #0009}
.door-latch{position:absolute;right:-12px;top:51%;width:23px;height:41px;transform:translateY(-50%) rotateY(90deg);transform-origin:right;background:linear-gradient(90deg,#c4c7c7,#6b7172);border-radius:2px;box-shadow:0 1px 2px #0009;}
.door-latch:before{content:"";position:absolute;top:11px;left:7px;width:9px;height:12px;background:linear-gradient(#7a7d7c,#f2f2e7);border-radius:2px;}
.door-panel{position:absolute;left:10%;right:10%;border:1px solid #86796281;box-shadow:inset 0 3px 7px #0003,inset 3px 0 4px #0003,0 -2px 2px #fff6,0 2px 4px #fff3;}
.panel-upper{top:8%;height:36%;}
.panel-lower{bottom:8%;height:36%;}
.door-panel:before{content:"";position:absolute;inset:8px;border:2px ridge #cfc1ac6e;box-shadow:inset 1px 2px 5px #0002,0 0 2px #fff8;}
.chapter--bath .door-panel{border-color:#a2a9a943;box-shadow:inset 0 2px 4px #0009,inset 2px 0 4px #0005,0 2px 1px #8f98982f;}
.chapter--bath .door-panel:before{border-color:#8f949431;}
.chapter--country .door-panel{border-color:#412f20b5;box-shadow:inset 0 4px 7px #0007,0 -2px 3px #e7c49546;}
.chapter--country .door-panel:before{border-color:#d2ae8159;}
.hardware-rose{position:absolute;right:11%;top:52%;width:29px;height:29px;transform:translate(50%,-50%) translateZ(2px);border-radius:50%;background:radial-gradient(circle at 32% 27%,#fff4da,#b9ad94 37%,#6b6156 74%,#e8dfc5 91%);box-shadow:1px 3px 6px #0007,inset 0 0 0 2px #a49a84,inset -1px -2px 2px #514b41;}
.hardware-rose:before{content:"";position:absolute;inset:7px;border-radius:50%;background:radial-gradient(circle at 37% 35%,#f7ead0,#6f665a 80%);box-shadow:0 0 3px #0008;}
.hardware-spindle{position:absolute;left:50%;top:50%;width:1px;height:1px;transform:rotate(var(--handle-deg,0deg));transform-origin:center center;}
.hardware-lever{position:absolute;right:0;top:-5px;width:66px;height:11px;border-radius:7px 3px 3px 7px;background:linear-gradient(#fff9e1 0%,#c0b49b 30%,#756c5d 74%,#d5c5ab 100%);box-shadow:1px 4px 3px #0008,inset -2px 0 3px #fff8;}
.hardware-tip{position:absolute;left:-66px;top:-5px;width:6px;height:11px;border-radius:4px;background:linear-gradient(#eae1cd,#776957)}
.door-keyhole{position:absolute;right:11%;top:calc(52% + 48px);width:12px;height:20px;transform:translateX(50%) translateZ(2px);background:linear-gradient(90deg,#6c6357,#d3c6b0,#5b5449);border-radius:4px;box-shadow:0 2px 3px #0007}
.door-keyhole:before{content:"";position:absolute;top:5px;left:4px;width:4px;height:6px;background:#1c1d1c;border-radius:50%;box-shadow:0 3px 0 #1c1d1c}
.hardware-rose--inside{right:11%}
.chapter--bath .hardware-rose{background:radial-gradient(circle at 30% 25%,#f6f7f3,#9ba5a7 42%,#30383c 81%,#a0aaad);box-shadow:1px 3px 5px #0008,inset 0 0 0 2px #5b6266;}
.chapter--bath .hardware-rose:before{background:radial-gradient(circle at 37% 32%,#d2d9d8,#333a3e 85%)}
.chapter--bath .hardware-lever{background:linear-gradient(#f1f2f0,#a0a8ab 26%,#20292d 78%,#878e91);}
.chapter--country .hardware-rose{background:radial-gradient(circle at 32% 22%,#f7e6c5,#c39b68 40%,#65482e 76%,#e6bd87);}
.chapter--country .hardware-rose:before{background:radial-gradient(circle at 30% 20%,#e9cd9c,#6a4a2f 85%)}
.chapter--country .hardware-lever{background:linear-gradient(#f6ddb1,#c79c62 26%,#624429 78%,#bf9568)}
.door-hinge-assembly{position:absolute;top:var(--hinge-y);left:-9px;height:38px;width:17px;transform:translate(-45%,-50%) translateZ(15px);z-index:9;filter:drop-shadow(1px 1px 3px #0008);}
.hinge-pin{position:absolute;left:2px;top:0;height:100%;width:8px;border-radius:5px;background:linear-gradient(90deg,#353637,#dcd8c8 35%,#b0a790 64%,#454746);box-shadow:inset 1px 0 2px #fff6;}
.hinge-plate{position:absolute;left:8px;top:5px;width:9px;height:27px;border-radius:1px;background:linear-gradient(90deg,#c8bb9d,#877b67);}
.hinge-screw{position:absolute;left:12px;width:2px;height:2px;border-radius:50%;background:#4a433a;z-index:1}
.hinge-screw-top{top:10px}.hinge-screw-bottom{bottom:10px}
.chapter--bath .hinge-pin,.chapter--bath .hinge-plate{filter:grayscale(1) brightness(.78)}
.chapter--country .hinge-pin,.chapter--country .hinge-plate{filter:sepia(.4)}
/* Add local physically motivated illumination rather than graphic ornaments on the slab. */
.chapter-wall{z-index:-2;}
.chapter--kids .chapter-wall{background:radial-gradient(ellipse at 51% 23%,#f6f0e8 0%,#d8cbbc 43%,#aea093 100%);}
.chapter--kids .wall-pattern{opacity:.12;background-size:74px 74px;background-image:radial-gradient(#917f71 4px,transparent 5px)}
.chapter--bath .chapter-wall{background:linear-gradient(105deg,#414b50,#748083 43%,#3d454b);}
.chapter--bath .wall-pattern{opacity:.11;background-size:160px 90px;}
.chapter--country .chapter-wall{background:linear-gradient(112deg,#3c4b4b,#54646b 45%,#283a42);}
.chapter--country .wall-pattern{opacity:.08}
.wall-light{background:radial-gradient(ellipse at 54% 22%,#fff2d884,transparent 55%)!important;}
.chapter--bath .wall-light{background:radial-gradient(ellipse at 50% 18%,#eff7f953,transparent 56%)!important;}
/* Project typography sits beside the architectural scene, never on the leaf or image. */
.project-ident{position:absolute;z-index:8;top:35%;left:clamp(34px,6vw,110px);max-width:min(270px,23vw);display:flex;flex-direction:column;gap:12px;color:#f9f5ec;pointer-events:none;text-shadow:0 2px 10px #0006;transition:opacity .2s;}
.project-ident-kicker{font-size:.65rem;color:#e9cd9f;letter-spacing:.2em;}
.project-ident strong{font:400 clamp(2.2rem,4vw,4.4rem)/.98 var(--serif);letter-spacing:-.025em;}
.project-ident-caption{font-size:.84rem;opacity:.86;line-height:1.5;}
.chapter--kids .project-ident{color:#352f2a;text-shadow:none;}
.chapter--kids .project-ident-kicker{color:#796146;}
.chapter-meta{display:none!important;}
.chapter-bottom{display:none!important;}
.chapter-prompt{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);width:max-content;max-width:90%;z-index:6;pointer-events:none;display:flex;align-items:center;justify-content:center;}
.chapter-gallery-hud{left:clamp(22px,6vw,100px);bottom:25px;min-width:210px;max-width:300px;padding:12px 18px;transition:opacity .18s ease,transform .18s ease;pointer-events:none;}
.chapter-gallery-hud .hud-caption{font-size:.83rem;}
.chapter.is-entered .chapter-gallery-hud{opacity:1;}
.chapter.is-entered .chapter-prompt{opacity:0;}
.compare-chip{top:auto;right:-40px;bottom:18px;transform:translateX(100%);font-size:.76rem;padding:10px 12px;white-space:nowrap;z-index:10;}
.chapter.is-entered .compare-chip{opacity:1;visibility:visible;pointer-events:auto;}
/* Sticky layout on narrow phones keeps all controls outside the photograph. */
@media(max-width:1100px){.project-ident{top:26%;max-width:24vw}.project-ident strong{font-size:clamp(1.65rem,3.5vw,3rem)}.project-ident-caption{font-size:.74rem}}
@media(max-width:800px){
.chapter{--portal-w:min(65vw,25svh,330px);}
.project-ident{left:18px;top:77px;max-width:none;width:calc(100% - 38px);gap:3px;align-items:center;text-align:center;}
.project-ident strong{font-size:clamp(1.4rem,4vw,1.8rem);}
.project-ident-kicker{font-size:.55rem;}
.project-ident-caption{display:none;}
.door-dolly{top:47%;}
.compare-chip{top:auto;right:4px;bottom:-48px;transform:none;}
.chapter-gallery-hud{left:50%;transform:translate(-50%,12px);bottom:37px;max-width:min(380px,calc(100vw - 32px));width:fit-content;min-width:210px;text-align:center;align-items:center;padding:9px 14px;background:#132028de;}
.chapter.is-entered .chapter-gallery-hud{transform:translateX(-50%);}
.chapter-gallery-hud .hud-caption{font-size:.75rem;}
.chapter-prompt{bottom:43px;padding:7px 12px;font-size:.64rem;}
.chapter.in-viewport .floating-contacts{display:none}
body.is-door-scene .floating-contacts{opacity:0;pointer-events:none;transform:translateY(12px);}
}
@media(max-width:540px){
.chapter{--portal-w:min(62vw,25svh,270px);}
.door-dolly{top:46.5%;}
.project-ident{top:75px;}
.project-ident strong{font-size:1.42rem;}
.door-panel:before{inset:5px;}
.physical-trim{inset:-13px;}
.trim-left,.trim-right{width:13px;}.trim-top{height:13px;}.trim-joint{width:14px;height:15px;}
.door-aperture{inset:4px!important;}
.hardware-lever{width:44px;}.hardware-tip{left:-44px;}
.hardware-rose{width:23px;height:23px;}
.door-hinge-assembly{height:27px;left:-6px;}
.hinge-plate{height:18px;top:5px;}.hinge-screw-top{top:7px}.hinge-screw-bottom{bottom:7px}
.chapter-gallery-hud{bottom:41px;min-width:220px;max-width:calc(100vw - 56px);}
.chapter-gallery-hud .hud-caption{font-size:.68rem;}
.chapter-gallery-hud .hud-word,.chapter-gallery-hud .hud-fraction{font-size:.52rem;}
.compare-chip{bottom:-42px;right:0;max-height:34px;}
}
@media(prefers-reduced-motion:reduce){.door-dolly,.door-leaf,.hardware-spindle,.scene-photo{will-change:auto!important}.project-ident{transition:none!important}}

/* Last-pass collision and physical-material refinements. */
.door-leaf-back:before,.door-leaf-back:after{content:none!important;display:none!important;}
.chapter.is-entered .chapter-prompt{opacity:0!important;visibility:hidden;}
.chapter--country .compare-chip{position:absolute;z-index:12;top:auto;left:auto;right:clamp(22px,5vw,90px);bottom:26px;transform:none;}
@media(max-width:800px){.chapter--country .compare-chip{left:50%;right:auto;bottom:8px;transform:translateX(-50%);max-height:36px;}.chapter-gallery-hud{bottom:58px;}}
/* Both handles share the same latch axis on opposite sides of a 40 mm leaf. */
.hardware-rose--inside{right:auto!important;left:11%;transform:translate(-50%,-50%) translateZ(2px)}
.hardware-rose--inside .hardware-lever{right:auto;left:0;}

/* ================== PRO.REMONT51 v4 : inward opening / camera ================== */
/* Genuine uniform 3-D transformation; never scale X/Y independently. */
.door-dolly{
  transform-origin:50% 50%;
  transform:translate(-50%,-50%) translate3d(var(--camera-x,0px),var(--camera-y,0px),0) scale(var(--camera-scale,1));
  perspective:1800px;
  filter:drop-shadow(3px 9px 13px #0b0e1160);
}
.door-frame{perspective:1800px;transform-style:preserve-3d;}
.door-leaf{transform-origin:0 50%;transform:rotateY(var(--angle,0deg));}
/* Side surfaces remain truly attached to the same pivoting leaf. */
.door-leaf-face,.door-leaf-back{backface-visibility:hidden;}
.door-leaf-face{transform:translateZ(11px);}
.door-leaf-back{transform:rotateY(180deg) translateZ(11px);}
.door-leaf-edge{transform-origin:right center;}
.door-aperture{background:#182029;}
.door-aperture .photo-zoom{overflow:hidden;}
/* Projection plane is cropped by the original physical jamb at all times. */
.door-aperture .photos-layer{
  position:absolute;left:0;top:0;right:0;bottom:auto;
  width:100%;height:100%;overflow:hidden;
  transform:translateZ(-2px);
}
.door-aperture .scene-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 44%;}
.door-aperture .scene-photo:first-child{opacity:1;}
/* A continuous shadow at the hinge / frame keeps the leaf grounded as it turns. */
.door-leaf-face{box-shadow:inset 0 0 0 6px #d5c8b6,inset 0 0 0 8px #ac9b83,2px 5px 12px #080d1350;}
.door-hinge-assembly{transform:translate(-45%,-50%) translateZ(15px);}
/* The text and comparison controls are outside the near-field image frame. */
.chapter-gallery-hud{
  position:absolute;z-index:12;bottom:clamp(17px,3.0vh,30px);left:clamp(16px,3.6vw,62px);
  max-width:min(370px,39vw);min-width:160px;padding:9px 13px;
  background:#102029ea;box-shadow:0 6px 25px #0006;
}
.chapter--country .compare-chip{bottom:clamp(20px,3vh,33px);right:clamp(18px,4vw,72px);}
.chapter-prompt{position:absolute;bottom:21px;}
/* The later gallery remains in exactly the same opening; shadows and leaf are stationary. */
@media(max-width:800px){
  .chapter-gallery-hud{left:16px;bottom:69px;max-width:calc(100vw - 32px);width:fit-content;min-width:170px;transform:translateY(12px);}
  .chapter.is-entered .chapter-gallery-hud{transform:none;}
  .chapter--country .compare-chip{right:14px;left:auto;bottom:15px;transform:none;}
  .door-dolly{top:46.5%;}
  .chapter-prompt{bottom:16px;}
}
@media(max-width:540px){
  .chapter-gallery-hud{left:12px;bottom:70px;max-width:min(280px,calc(100vw - 24px));padding:7px 10px;}
  .chapter--country .compare-chip{right:12px;bottom:16px;left:auto;transform:none;}
}
/* Composite the near photographic plane behind the physical 3-D leaf. Without
   this flattened parent stacking layer, Chromium depth-sorts a door opened
   inwards behind the flat photo, making the slab incorrectly disappear. */
.door-frame{transform-style:flat;}

/* Film-grade exit gallery rail: text belongs outside the photograph on phones. */
@media(max-width:800px){
 .chapter.is-entered .chapter-sticky:after{content:"";position:absolute;inset:auto 0 0;height:92px;background:#14232b;box-shadow:0 -1px 0 #dfc99e4d;z-index:10;pointer-events:none;}
 .chapter-gallery-hud,.chapter.is-entered .chapter-gallery-hud{bottom:13px;left:12px;max-width:min(275px,calc(100vw - 25px));min-width:170px;transform:none;}
 .chapter--country .chapter-gallery-hud{max-width:min(188px,49vw);min-width:144px;}
 .chapter--country .compare-chip{bottom:19px;right:10px;z-index:13;}
 .chapter-gallery-hud{box-shadow:none;padding:5px 9px;border-left-width:2px;background:transparent;backdrop-filter:none;}
 .chapter-gallery-hud .hud-caption{font-size:.72rem;line-height:1.23;}
 .chapter-gallery-hud .hud-word{font-size:.45rem;}
 .chapter-gallery-hud .hud-fraction{font-size:.49rem;}
}
/* Fast accessibility route for users requesting minimal animation. */
.reduced-gallery{display:none;}
@media(prefers-reduced-motion:reduce){
 .chapter--reduced{height:auto!important;min-height:0!important;}
 .chapter--reduced .chapter-sticky{height:auto!important;position:relative!important;min-height:0;padding:105px 18px 50px;display:block;}
 .chapter--reduced .stage-body,.chapter--reduced .chapter-prompt,.chapter--reduced .chapter-gallery-hud{display:none!important;}
 .chapter--reduced .project-ident{position:relative!important;left:auto!important;top:auto!important;margin:0 0 22px;opacity:1!important;max-width:none;width:auto;text-align:left;align-items:flex-start;}
 .chapter--reduced .project-ident-caption{display:block;}
 .chapter--reduced .reduced-gallery{position:relative;z-index:3;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:14px;max-width:1100px;margin:0 auto;}
 .reduced-gallery-item{display:flex;flex-direction:column;overflow:hidden;border:1px solid #c6ad8660;border-radius:8px;text-align:left;padding:0;background:#15242acc;color:#fff;cursor:zoom-in;}
 .reduced-gallery-item img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;}
 .reduced-gallery-item span{padding:11px 13px;font-size:.85rem;}
 .chapter--reduced .chapter--country .compare-chip{position:relative;}
 .chapter--country.chapter--reduced .compare-chip{opacity:1!important;visibility:visible!important;position:relative;left:18px;right:auto;bottom:auto;transform:none;margin-bottom:25px;pointer-events:auto;}
}

/* Preserve the photo unobstructed; contacts remain available in top nav/footer. */
body.is-door-scene .floating-contacts{opacity:0;pointer-events:none;transform:translateY(12px);}
.reduced-gallery-title{display:none;}
@media(prefers-reduced-motion:reduce){
  .chapter--reduced .reduced-gallery-title{display:block;position:relative;z-index:4;margin:0 auto 21px;max-width:1100px;color:#f3dfb9;font:400 clamp(1.9rem,5vw,3rem)/1.12 var(--serif);}
  .chapter--kids.chapter--reduced .reduced-gallery-title{color:#40352d;}
}

/* door-three.css */
/* PRO.REMONT51 · Three.js integration. Existing layout, colors and assets preserved. */
.chapter{height:calc(var(--scene-steps) * 100svh)}
.chapter .door-stage{position:absolute;inset:0;overflow:hidden;isolation:isolate;pointer-events:none}
.chapter .door-stage:after,.chapter .door-shadows,.chapter .door-floor{display:none!important}
.door-dolly{z-index:2;pointer-events:none!important}
.door-webgl-host{position:absolute;inset:0;z-index:3;opacity:1;pointer-events:none;overflow:hidden;will-change:opacity}
.door-webgl-host canvas{display:block;width:100%;height:100%;pointer-events:none}
.chapter.three-active .door-dolly{opacity:0!important;visibility:hidden;}
.fullscreen-gallery{position:absolute;inset:0;z-index:4;opacity:0;pointer-events:none;will-change:opacity;background:#18242a;overflow:hidden}
.fullscreen-gallery .photo-zoom{display:block!important;position:absolute;inset:0!important;width:100%!important;height:100%!important;overflow:hidden;pointer-events:inherit!important;border:0;background:#18242a;cursor:zoom-in;}
.fullscreen-gallery .photos-layer,.fullscreen-gallery .scene-photo{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 50%;max-width:none!important;max-height:none!important;transform:none!important;transition:none!important;filter:none;}
.fullscreen-gallery .scene-photo{opacity:0}
.fullscreen-gallery .scene-photo:first-child{opacity:1}
.fullscreen-gallery .photo-shading{opacity:.28;background:linear-gradient(to top,#0b1825a3,transparent 25%);pointer-events:none}
.chapter.is-entered .fullscreen-gallery .photo-zoom{pointer-events:auto!important}
.chapter-gallery-hud{z-index:10!important;left:clamp(20px,5vw,72px);bottom:clamp(20px,3vw,35px);max-width:min(400px,58vw);background:rgba(17,27,30,.72);backdrop-filter:blur(10px);}
.chapter:not(.is-entered) .chapter-gallery-hud{opacity:0!important;pointer-events:none}
.chapter .chapter-prompt{z-index:11;bottom:20px;transition:opacity .2s;}
.chapter .project-ident{z-index:9;transition:opacity .12s;}
.chapter .compare-chip{z-index:13!important;bottom:clamp(23px,3vw,38px)!important;right:clamp(20px,5vw,65px)!important;left:auto!important;transform:none!important}
.chapter .skip-experience{position:absolute;bottom:72px;left:50%;transform:translateX(-50%);border:1px solid #e0cda6a8;background:#14232ccf;color:#f8eddb;font:600 .7rem/1.3 system-ui,sans-serif;letter-spacing:.03em;border-radius:28px;padding:10px 17px;z-index:14;pointer-events:auto;cursor:pointer;box-shadow:0 6px 24px #0003;transition:background .18s,opacity .12s;white-space:nowrap}
.chapter .skip-experience:hover{background:#293d47}
.chapter--kids .chapter-wall{background:radial-gradient(ellipse at 51% 23%,#f4efe7 0%,#d9cbbd 43%,#b5a493 100%)}
.chapter--bath .chapter-wall{background:linear-gradient(105deg,#40494f,#717b80 43%,#3c4449)}
.chapter--country .chapter-wall{background:linear-gradient(110deg,#3d4b4a,#526166 46%,#283a3e)}
@media(max-width:800px){
 .chapter .project-ident{top:83px;left:13px;right:13px;width:auto;max-width:none;align-items:center;text-align:center}
 .chapter .project-ident strong{font-size:clamp(1.4rem,5vw,2rem)}
 .chapter .chapter-gallery-hud{bottom:15px;left:12px;transform:none!important;min-width:0;max-width:min(70vw,330px);padding:8px 11px;gap:3px;background:#12232ac9}
 .chapter--country .chapter-gallery-hud{max-width:53vw}
 .chapter .chapter-gallery-hud .hud-caption{font-size:.72rem;line-height:1.25}
 .chapter .compare-chip{bottom:19px!important;right:10px!important;left:auto!important;font-size:.67rem;padding:9px 10px}
 .chapter .skip-experience{bottom:80px;font-size:.66rem;padding:9px 12px}
 .chapter .chapter-prompt{bottom:18px;max-width:95%;white-space:normal;text-align:center;font-size:.62rem}
 .fullscreen-gallery .photo-zoom{inset:0 0 68px 0!important;height:calc(100% - 68px)!important}
 .chapter.is-entered .chapter-sticky:after{content:"";position:absolute;left:0;right:0;bottom:0;height:68px;background:#14232b;z-index:8;pointer-events:none}
}
@media(max-width:500px){
 .chapter .chapter-gallery-hud{max-width:calc(100vw - 28px)}
 .chapter--country .chapter-gallery-hud{max-width:55vw}
 .chapter .chapter-gallery-hud .hud-word,.chapter .chapter-gallery-hud .hud-fraction{font-size:.5rem}
 .chapter .chapter-gallery-hud .hud-caption{font-size:.68rem}
 .chapter .skip-experience{bottom:85px}
}
@media(prefers-reduced-motion:reduce){.door-webgl-host,.fullscreen-gallery,.skip-experience{display:none!important}}

/* Definitive fix: the legacy CSS door is never rendered, even between scenes.
   This rule also protects cached/older HTML if it still contains the obsolete markup. */
.chapter .door-dolly,.chapter .door-shadows,.chapter .door-floor{display:none!important;visibility:hidden!important}
.chapter:not(.three-active) .door-webgl-host{opacity:0!important;visibility:hidden!important}
.chapter.three-active .door-webgl-host{visibility:visible}
.chapter.three-error .fullscreen-gallery{opacity:1!important;pointer-events:auto!important}
.chapter.three-error .fullscreen-gallery .photo-zoom{pointer-events:auto!important}
.chapter.three-error .door-webgl-host{display:none!important}
.sound-toggle[hidden]{display:none!important}
@media (hover:none),(pointer:coarse){.sound-toggle{display:none!important}}

/* v5: the gallery fills the sticky VIEWPORT instead of a small door-stage box.
   No standalone rectangular photo exists in the 3D doorway anymore. */
.chapter-sticky{isolation:isolate}
.chapter-sticky>.fullscreen-gallery{position:absolute;inset:0;width:100%;height:100%;z-index:4;
 overflow:hidden;transform:translateZ(0);background:#17252a;}
.chapter-sticky>.fullscreen-gallery .photo-zoom{inset:0!important;width:100%!important;height:100%!important;}
.chapter-sticky>.fullscreen-gallery .photos-layer{position:absolute;inset:0;}
.chapter-sticky>.fullscreen-gallery .scene-photo{object-fit:cover;object-position:center center;}
/* Keep floating labels visible above the full-viewport gallery. */
.chapter-sticky>.chapter-gallery-hud{z-index:10!important}
@media(max-width:800px){
 .chapter-sticky>.fullscreen-gallery .photo-zoom{inset:0!important;height:100%!important}
 /* Use the entire mobile viewport: do not introduce a fake empty photo footer. */
 .chapter.is-entered .chapter-sticky:after{display:none!important}
 .chapter-sticky>.fullscreen-gallery .scene-photo{object-position:50% 50%}
}

/* responsive-v6.css */
/* PRO.REMONT51 v6 — responsive layer for v5's full-screen galleries.
   Desktop art direction and original GLB are unchanged. */
html,body{max-width:100%;overflow-x:clip}
.hero, .chapter-sticky{min-width:0}
/* Give touch targets room without changing the desktop layout. */
@media (hover:none),(pointer:coarse){
  .menu-toggle,.chapter .skip-experience,.floating-main,.compare-chip{touch-action:manipulation}
}
@media (max-width:800px){
  html{scroll-padding-top:70px}
  .site-header{padding-inline:clamp(14px,4vw,23px);height:calc(70px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px)}
  .site-header.is-scrolled{height:calc(65px + env(safe-area-inset-top,0px))}
  .header-brand{min-width:0;letter-spacing:.045em}
  .main-nav.is-open{max-height:calc(100svh - 65px - env(safe-area-inset-top,0px));overflow-y:auto;overscroll-behavior:contain}
  .hero{min-height:100svh;min-height:100dvh}
  .hero-content{min-width:0;max-width:100%;padding:clamp(108px,16svh,144px) 6vw clamp(105px,14svh,138px)}
  .hero h1{font-size:clamp(1.85rem,9.25vw,4.25rem);letter-spacing:-.055em;overflow-wrap:anywhere}
  .hero h2{font-size:clamp(1.45rem,5.8vw,2.55rem)}
  .hero-actions .btn{max-width:100%}
  .chapter{height:calc(var(--scene-steps) * 100svh)}
  .chapter .chapter-sticky{height:100svh;min-height:0;overflow:hidden;isolation:isolate}
  .chapter .stage-body{position:static;padding:0;width:100%;height:100%;min-height:0;pointer-events:none}
  /* Keep each real GLB door as a separate full-viewport 3D scene. */
  .chapter .door-stage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;min-height:0!important;transform:none!important;overflow:hidden!important;perspective:none}
  .chapter .door-webgl-host{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}
  .chapter .door-webgl-host canvas{width:100%;height:100%;display:block}
  /* Important: the gallery is a SIBLING of .stage-body in v5, not its child.
     The original 16:9 photos must be entirely visible on portrait screens. */
  .chapter-sticky>.fullscreen-gallery{position:absolute;inset:0;width:100%;height:100%;background:#17252a;overflow:hidden;isolation:isolate}
  .chapter-sticky>.fullscreen-gallery::before{
    content:"";position:absolute;inset:-24px;z-index:0;pointer-events:none;
    background-image:linear-gradient(#111e2470,#111e2470),var(--photo-backdrop);
    background-size:cover;background-position:center;
    filter:blur(16px) saturate(.85);transform:scale(1.025);
  }
  .chapter-sticky>.fullscreen-gallery .photo-zoom{
    display:block!important;position:absolute!important;
    inset:calc(88px + env(safe-area-inset-top,0px)) 0 calc(94px + env(safe-area-inset-bottom,0px))!important;
    width:100%!important;height:auto!important;max-width:none!important;overflow:hidden;
    background:transparent!important;z-index:1;
  }
  .chapter-sticky>.fullscreen-gallery .photos-layer{position:absolute!important;inset:0!important;width:100%;height:100%;background:transparent}
  .chapter-sticky>.fullscreen-gallery .scene-photo{
    position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
    object-fit:contain!important;object-position:center center!important;
  }
  .chapter-sticky>.fullscreen-gallery .photo-shading{pointer-events:none;opacity:.12}
  .chapter.is-entered .chapter-sticky::after{display:none!important}
  .chapter .chapter-meta{top:calc(79px + env(safe-area-inset-top,0px));left:0;right:0;padding:0 16px;z-index:12}
  .chapter .chapter-tag{display:none}
  .chapter .project-ident{
    position:absolute;top:calc(132px + env(safe-area-inset-top,0px));left:13px;right:13px;
    width:auto;max-width:none;text-align:center;align-items:center;gap:5px;z-index:9;pointer-events:none
  }
  .chapter .project-ident strong{font-size:clamp(1.43rem,5.7vw,2.1rem);line-height:1.12}
  .chapter .project-ident-caption{font-size:clamp(.66rem,2.45vw,.82rem);line-height:1.25}
  .chapter.is-entered .project-ident{opacity:0!important;pointer-events:none}
  .chapter .chapter-prompt{
    position:absolute;bottom:calc(16px + env(safe-area-inset-bottom,0px));left:50%;
    transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);
    text-align:center;padding:8px 12px;line-height:1.3;z-index:11
  }
  .chapter .chapter-bottom{bottom:calc(70px + env(safe-area-inset-bottom,0px));padding:0 16px;z-index:9}
  .chapter .chapter-bottom span:first-child{font-size:.69rem;max-width:100%}
  .chapter .skip-experience{
    position:absolute;left:50%;right:auto;
    bottom:calc(83px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);
    z-index:14;min-height:43px;padding:10px 17px;white-space:nowrap
  }
  .chapter .chapter-gallery-hud{
    position:absolute;left:calc(12px + env(safe-area-inset-left,0px))!important;
    bottom:calc(15px + env(safe-area-inset-bottom,0px))!important;
    transform:none!important;width:auto;min-width:0;max-width:calc(100vw - 24px);
    padding:8px 11px;gap:3px;z-index:11!important
  }
  .chapter .chapter-gallery-hud .hud-word,.chapter .chapter-gallery-hud .hud-fraction{font-size:.54rem}
  .chapter .chapter-gallery-hud .hud-caption{font-size:.74rem;line-height:1.3}
  .chapter--country .chapter-gallery-hud{max-width:calc(100vw - 163px)!important}
  .chapter .compare-chip{
    left:auto!important;right:calc(12px + env(safe-area-inset-right,0px))!important;
    bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;top:auto!important;
    max-width:135px;min-height:42px;z-index:13!important;
    font-size:.67rem;padding:8px 10px;transform:none!important
  }
  /* The contact button must not cover the gallery, its caption or comparison action. */
  body.is-door-scene .floating-contacts{display:none!important}
  .floating-contacts{right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(14px + env(safe-area-inset-bottom,0px));transition:opacity .12s,visibility .12s}
  .chapter.three-error .skip-experience,.chapter.three-error .chapter-prompt{display:none!important}
  .chapter.three-error .fullscreen-gallery{opacity:1!important;pointer-events:auto!important}
  .chapter.three-error .fullscreen-gallery .photo-zoom{pointer-events:auto!important}
  .image-dialog{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0}
  .dialog-top{min-height:calc(58px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 12px 0}
  .dialog-center{min-width:0;width:100%;overflow:hidden}
  .dialog-center img{min-width:0;max-width:calc(100vw - 90px);max-height:100%;object-fit:contain}
  .dialog-bottom{padding-inline:12px;gap:9px}
}
@media(max-width:400px){
  .header-brand{font-size:.84rem}
  .chapter .project-ident{top:calc(115px + env(safe-area-inset-top,0px))}
  .chapter .project-ident strong{font-size:clamp(1.36rem,5.7vw,1.7rem)}
  .chapter .project-ident-caption{font-size:.65rem}
  .chapter .chapter-gallery-hud .hud-caption{font-size:.7rem}
  .chapter--country .chapter-gallery-hud{max-width:calc(100vw - 156px)!important}
  .chapter .compare-chip{max-width:129px;font-size:.63rem}
}
@media(max-width:800px) and (max-height:700px){
  .chapter .project-ident{top:calc(101px + env(safe-area-inset-top,0px))}
  .chapter .project-ident-caption,.chapter .chapter-bottom{display:none}
  .chapter .skip-experience{bottom:calc(70px + env(safe-area-inset-bottom,0px))}
  .chapter-sticky>.fullscreen-gallery .photo-zoom{
    inset:calc(65px + env(safe-area-inset-top,0px)) 0 calc(77px + env(safe-area-inset-bottom,0px))!important
  }
}
/* Short landscape phones: keep the photograph and its caption usable. */
@media(max-width:900px) and (max-height:480px) and (orientation:landscape){
  .chapter .chapter-meta,.chapter .project-ident-caption,.chapter .chapter-bottom{display:none}
  .chapter .project-ident{top:65px}
  .chapter-sticky>.fullscreen-gallery .photo-zoom{inset:60px 0 60px!important}
  .chapter .skip-experience{bottom:18px}
  .chapter .chapter-gallery-hud{bottom:8px!important}
  .chapter .chapter-gallery-hud .hud-word{display:none}
  .chapter .chapter-gallery-hud .hud-caption{font-size:.67rem}
}
/* Low-motion version uses the existing static photo grids. */
@media(prefers-reduced-motion:reduce){
  .chapter.chapter--reduced{height:auto!important;min-height:0!important}
  .chapter.chapter--reduced .chapter-sticky{
    height:auto!important;min-height:0!important;position:relative!important;display:block!important;
    padding:105px 18px 44px!important
  }
  .chapter.chapter--reduced .stage-body,.chapter.chapter--reduced .door-stage,
  .chapter.chapter--reduced .fullscreen-gallery{display:none!important}
  .chapter.chapter--reduced .project-ident{position:relative!important;inset:auto!important;opacity:1!important;margin-bottom:22px!important}
  .chapter.chapter--reduced .reduced-gallery-title{display:block!important}
  .chapter.chapter--reduced .reduced-gallery{display:grid!important}
  .chapter.chapter--reduced .compare-chip{position:relative!important;inset:auto!important;transform:none!important;margin:22px 0 0!important}
}

/* The no-WebGL fallback displays photos immediately: hide door-only headings. */
.chapter.three-error .project-ident,.chapter.three-error .chapter-bottom{display:none!important}

/* Horizontal phone screens can be wider than 800 CSS pixels: retain the touch menu
   and full image viewport rather than squeezing desktop navigation into 390px height. */
@media(min-width:801px) and (max-width:950px) and (max-height:480px) and (orientation:landscape) and (pointer:coarse){
 .site-header{height:58px;padding:0 18px}
 .main-nav{position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;align-items:stretch;background:#1c282ef8;gap:0;padding:8px 20px;max-height:calc(100svh - 58px);overflow-y:auto}
 .main-nav.is-open{display:flex}
 .main-nav a{padding:8px 0;border-bottom:1px solid #ffffff16}
 .menu-toggle{display:block}
 .chapter .door-stage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;min-height:0!important}
 .chapter-sticky>.fullscreen-gallery{position:absolute;inset:0}
 .chapter-sticky>.fullscreen-gallery .photo-zoom{inset:58px 0 55px!important;height:auto!important}
 .chapter-sticky>.fullscreen-gallery .scene-photo{object-fit:contain!important}
 .chapter .chapter-meta,.chapter .chapter-bottom{display:none}
 .chapter .chapter-gallery-hud{bottom:8px!important;left:12px!important;padding:5px 9px}
 .chapter .compare-chip{bottom:9px!important}
 body.is-door-scene .floating-contacts{display:none!important}
}
/* A phone rotated sideways is only 390px tall: the usual centred hero pushed
   the title entirely above the viewport. Make that hero vertically scrollable. */
@media(max-width:950px) and (max-height:480px) and (orientation:landscape) and (pointer:coarse){
 .hero{height:auto!important;min-height:560px!important;align-items:flex-start!important;overflow:hidden}
 .hero-content{padding:95px 6vw 105px!important;max-width:850px}
 .hero h1{font-size:clamp(2.1rem,5.2vw,3.5rem)!important}
 .hero h2{font-size:clamp(1.28rem,3vw,2rem)!important;line-height:1.25!important}
 .hero-meta{font-size:.7rem}
 .hero-actions{display:flex;flex-flow:row wrap;max-width:680px}
 .hero-actions .btn{width:auto;min-height:42px}
 .hero-bottom{bottom:15px}
}


/* v6.1: reliable compact fallback and genuinely usable reduced-motion view.
   Do not make visitors scroll through several empty walls when WebGL fails. */
.chapter.chapter--static,.chapter.chapter--reduced{height:auto!important;min-height:0!important}
.chapter.chapter--static .chapter-sticky,.chapter.chapter--reduced .chapter-sticky{
 position:relative!important;display:block!important;height:auto!important;min-height:0!important;
 padding:clamp(100px,14vw,135px) clamp(14px,4vw,28px) 44px!important;overflow:hidden
}
.chapter.chapter--static .stage-body,.chapter.chapter--static .door-stage,
.chapter.chapter--static .fullscreen-gallery,.chapter.chapter--static .chapter-meta,
.chapter.chapter--static .chapter-gallery-hud,.chapter.chapter--static .chapter-bottom,
.chapter.chapter--static .chapter-prompt,.chapter.chapter--static .skip-experience,
.chapter.chapter--reduced .stage-body,.chapter.chapter--reduced .door-stage,
.chapter.chapter--reduced .fullscreen-gallery,.chapter.chapter--reduced .chapter-meta,
.chapter.chapter--reduced .chapter-gallery-hud,.chapter.chapter--reduced .chapter-bottom,
.chapter.chapter--reduced .chapter-prompt,.chapter.chapter--reduced .skip-experience{display:none!important}
.chapter.chapter--static .project-ident,.chapter.chapter--reduced .project-ident{
 display:flex!important;position:relative!important;inset:auto!important;transform:none!important;
 opacity:1!important;visibility:visible!important;align-items:center!important;text-align:center!important;
 margin:0 auto 20px!important;width:100%!important;max-width:680px!important
}
.chapter .reduced-gallery-title{display:none!important}
.chapter.chapter--static .reduced-gallery,.chapter.chapter--reduced .reduced-gallery{
 display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));
 gap:clamp(12px,2.2vw,22px);width:min(1060px,100%);margin-inline:auto;
 position:relative;z-index:6
}
.reduced-gallery-item{display:flex;flex-direction:column;gap:10px;min-width:0;text-align:left;
 padding:9px 9px 13px;background:#17252ccf;border:1px solid #cba8765c;color:#f3ebe0;
 box-shadow:0 10px 28px #0003;cursor:zoom-in;border-radius:4px}
.reduced-gallery-item img{display:block;width:100%;aspect-ratio:16/9;height:auto;object-fit:contain;
 background:#0d171d;user-select:none}
.reduced-gallery-item span{padding:0 3px;font-size:clamp(.77rem,2.7vw,.95rem);line-height:1.4}
.chapter.chapter--static .compare-chip,.chapter.chapter--reduced .compare-chip{
 display:flex!important;position:relative!important;inset:auto!important;
 margin:22px auto 0!important;transform:none!important;opacity:1!important;
 visibility:visible!important;pointer-events:auto!important;width:max-content
}
/* Fullscreen lightbox uses remaining height rather than a fixed sum that
   ignored iOS safe areas and shrank images on 320px screens. */
@media (max-width:800px),((max-height:480px) and (pointer:coarse)){
 .image-dialog{display:flex;flex-direction:column;height:100dvh;max-height:100dvh;overflow:hidden}
 .image-dialog:not([open]){display:none}
 .image-dialog .dialog-top{flex:0 0 auto;height:auto;min-height:calc(58px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px)}
 .image-dialog .dialog-center{flex:1 1 auto;height:auto!important;min-height:0;width:100%;position:relative;padding:8px 8px;gap:0}
 .image-dialog .dialog-center img{width:100%;height:100%;min-width:0;max-width:100%!important;max-height:100%!important;object-fit:contain}
 .image-dialog .dialog-arrow{flex:none;position:absolute;z-index:2;top:50%;transform:translateY(-50%);
   width:42px;height:48px;background:#132329cc;border-color:#ffffff86;touch-action:manipulation}
 .image-dialog #image-prev{left:4px}
 .image-dialog #image-next{right:4px}
 .image-dialog .dialog-bottom{flex:0 0 auto;height:auto;min-height:58px;padding:10px max(12px,env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));gap:10px}
 .image-dialog .dialog-bottom #dialog-caption{min-width:0;overflow-wrap:anywhere}
 .site-header{padding-left:max(14px,env(safe-area-inset-left,0px));padding-right:max(14px,env(safe-area-inset-right,0px))}
}
/* Fallback's heading lives outside the hidden 3D stage. */
.chapter.chapter--static .reduced-gallery-title,.chapter.chapter--reduced .reduced-gallery-title{
 display:block!important;position:relative;z-index:6;text-align:center;
 margin:0 auto 24px;max-width:800px;padding:0 10px;
 font:500 clamp(1.65rem,5vw,2.7rem)/1.15 Georgia,'Times New Roman',serif;
 color:#fff3df;text-shadow:0 2px 8px #0007;
}
.chapter--kids.chapter--static .reduced-gallery-title,.chapter--kids.chapter--reduced .reduced-gallery-title{
 color:#25343b;text-shadow:0 1px 2px #fff9
}

/* telegram-edge.css */
/* PRO.REMONT51 v6.2 - unobtrusive fixed Telegram group tab.
   Namespaced styles preserve all existing GLB, gallery, and desktop components. */
.telegram-edge-link {
  position: fixed;
  z-index: 125;
  top: 52%;
  left: max(0px, env(safe-area-inset-left, 0px));
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 45px;
  min-height: 175px;
  padding: 12px 9px;
  color: #f2e7d8;
  background: rgba(21, 33, 39, .93);
  border: 1px solid rgba(215, 181, 136, .75);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  box-shadow: 4px 6px 24px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.telegram-edge-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  color: #d7b588;
  width: 24px;
  height: 24px;
}
.telegram-edge-icon svg {display: block; width: 22px; height: 22px;}
.telegram-edge-label {
  display: block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .025em;
  line-height: 1.1;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.telegram-edge-link:hover,
.telegram-edge-link:focus-visible {
  background: rgba(37, 57, 64, .97);
  box-shadow: 4px 9px 29px rgba(0, 0, 0, .36);
}
.telegram-edge-link:focus-visible {outline: 3px solid #f3cd8d; outline-offset: 3px;}
/* A modal photograph/comparison should never have the fixed link above it. */
body.modal-open .telegram-edge-link {visibility: hidden; pointer-events: none;}
@media (max-width: 600px) {
  /* Reserve space in the hero copy for the left tab on narrow screens. */
  .hero-content { padding-left: max(50px, 6vw); }
  .telegram-edge-link {
    top: 51%;
    width: 39px;
    min-height: 160px;
    padding: 10px 7px;
    gap: 7px;
    border-radius: 0 10px 10px 0;
  }
  .telegram-edge-label {font-size: 10px;}
  .telegram-edge-icon, .telegram-edge-icon svg {width: 20px; height: 20px;}
}
@media (max-height: 480px) and (orientation: landscape) {
  .telegram-edge-link {top: 56%; min-height: 0; gap: 5px; padding: 6px 6px; width: 33px;}
  .telegram-edge-label {font-size: 9px;}
  .telegram-edge-icon, .telegram-edge-icon svg {width: 17px; height: 17px;}
}
@media (prefers-reduced-motion: reduce) {
  .telegram-edge-link {transition: none;}
}
/* Readable source content until enhancement succeeds, including when JS is disabled. */
html:not(.app-ready) .reveal{opacity:1!important;transform:none!important}
html:not(.app-ready) .site-header{position:relative;height:auto;min-height:70px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px;gap:12px}
html:not(.app-ready) .header-actions,html:not(.app-ready) .floating-contacts{display:none!important}
html:not(.app-ready) .main-nav{display:flex!important;position:static;flex-wrap:wrap;flex-direction:row;gap:8px 16px;width:100%;padding:0;background:transparent;max-height:none}
html:not(.app-ready) .main-nav a{padding:4px 0;font-size:.8rem}
html:not(.app-ready) body .chapter{height:auto!important;min-height:0!important;padding:60px 20px!important}
html:not(.app-ready) body .chapter .chapter-sticky{position:relative!important;display:block!important;height:auto!important;min-height:0!important;overflow:visible!important;padding:0!important}
html:not(.app-ready) body .chapter .stage-body{display:block!important;position:static!important;height:auto!important;padding:0!important}
html:not(.app-ready) body .chapter .project-ident{position:relative!important;inset:auto!important;transform:none!important;opacity:1!important;visibility:visible!important;width:auto!important;max-width:none!important;align-items:center!important;text-align:center!important;margin:0 auto 24px!important}
html:not(.app-ready) body .chapter .door-stage,html:not(.app-ready) body .chapter .fullscreen-gallery{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;max-width:none!important;transform:none!important;opacity:1!important;visibility:visible!important;overflow:visible!important;background:transparent!important;pointer-events:auto!important}
html:not(.app-ready) body .chapter .photo-zoom{position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;overflow:visible!important;background:transparent!important}
html:not(.app-ready) body .chapter .photos-layer{position:relative!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:16px;width:100%!important;height:auto!important}
html:not(.app-ready) body .chapter .scene-photo{position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;max-width:100%!important;opacity:1!important;transform:none!important;object-fit:contain!important}
html:not(.app-ready) body .chapter .photo-shading,html:not(.app-ready) body .chapter .chapter-prompt,html:not(.app-ready) body .chapter .chapter-gallery-hud,html:not(.app-ready) body .chapter .chapter-meta,html:not(.app-ready) body .chapter .chapter-bottom,html:not(.app-ready) body .chapter .door-webgl-host,html:not(.app-ready) body .chapter .skip-experience,html:not(.app-ready) body .chapter .compare-chip,html:not(.app-ready) body .chapter .reduced-gallery,html:not(.app-ready) body .chapter .reduced-gallery-title{display:none!important}
html:not(.app-ready) .fullscreen-gallery::before{display:none!important}
@supports not (height:100svh){.chapter{height:calc(var(--scene-steps)*100vh)}.chapter-sticky{height:100vh}.hero{min-height:100vh}}
