body{--night:#1c201c;--ivory:#f4f2e9;--ochre:#edc368;--rule:#ffffff39;--pad:clamp(22px,5vw,96px);--head:66px;background:var(--ivory);color:#242d27}
body>.mast{position:sticky;top:0;z-index:8;background:var(--night);height:var(--head);min-height:0;padding:0 var(--pad);color:var(--ivory);border-bottom:1px solid #ffffff24;gap:clamp(18px,4vw,72px)}
body>.mast .brand svg{color:var(--ochre)}.mast .phone-top{border:1px solid #ffffff73}
#atelier,#servicii,#contact{scroll-margin-top:var(--head)}.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.workshop{position:relative;background:var(--night);color:var(--ivory)}
.film-scroll .workshop:not(.configured)::after,.workshop.tracking::after{content:"";display:block;height:clamp(2150px,408svh,4750px)}
.stage-workshop{height:calc(100vh - var(--head));height:calc(100svh - var(--head));min-height:465px;display:flex;flex-direction:column;background:var(--night)}
.film-scroll .workshop:not(.configured) .stage-workshop,.tracking .stage-workshop{position:sticky;top:var(--pin,var(--head))}
.scene-workshop{container-type:size;position:relative;flex:1;min-height:0;isolation:isolate;overflow:hidden}
.optics{margin:0;position:absolute;inset:0 0 0 auto;width:min(76%,300cqh);isolation:isolate;overflow:hidden;background:var(--night);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.12) 7%,rgba(0,0,0,.65) 18%,#000 35%)}
/* The original 3:2 action sits within one larger photographic set.
   The aperture changes with the device. The camera is independent of scroll. */
.photo-window{position:absolute;inset:0;container-type:size;overflow:hidden;isolation:isolate;background:#45473a}
.photo-window>*{
 --gutter:14cqw;
 --action-w:max(min(calc(100cqw - var(--gutter)),150cqh),calc(100cqw / var(--span-x)),calc(150cqh / var(--span-y)));
 --action-h:calc(var(--action-w) * 2 / 3);
 --world-w:calc(var(--action-w) * var(--span-x));--world-h:calc(var(--action-h) * var(--span-y));
 --side:calc((var(--world-w) - var(--action-w)) / 2);--sky:calc((var(--world-h) - var(--action-h)) / 2);
 --left:clamp(calc(100cqw - var(--action-w) - var(--side)),calc((100cqw - var(--action-w) + var(--gutter)) / 2),var(--side));
 --top:clamp(calc(100cqh - var(--action-h) - var(--sky)),calc((100cqh - var(--action-h)) * .53),var(--sky));
}
.action-still,.optics canvas{position:absolute;display:block;left:var(--left);top:var(--top);height:var(--action-h)}
.action-still{width:var(--action-w);background:var(--preview) center/100% 100% no-repeat}
.first-photo,.first-photo img{display:block;width:100%;height:100%}
.optics canvas{width:calc(100cqw - var(--left));visibility:hidden;pointer-events:none}
.photo-window.drawn canvas{visibility:visible}
.photo-window.drawn .action-still{visibility:hidden}
.photo-window.sprite .action-still{visibility:visible}
.photo-window.sprite .first-photo{visibility:hidden}
.set{position:absolute;left:calc(var(--left) - var(--side));top:calc(var(--top) - var(--sky));width:var(--world-w);height:var(--world-h);pointer-events:none}
.set::before,.set::after{content:"";position:absolute;inset:0;background-position:center;background-repeat:no-repeat;background-size:100% 100%}
.set::before{background-image:var(--sketch)}.set::after{background-image:var(--photo)}
.yard-set{opacity:0}
.photo-window>*{--span-x:1.66666667;--span-y:2.5}
.room-set{--sketch:var(--camera-normal);--photo:url(assets/decor-camera-normal-mic.webp);--dense:url(assets/decor-camera-normal-mare.webp)}
.yard-set{--sketch:var(--curte-normal);--photo:url(assets/decor-curte-normal-mic.webp);--dense:url(assets/decor-curte-normal-mare.webp)}
@container (max-aspect-ratio:1/1){
.photo-window>*{--span-x:1.33333333;--span-y:3.5}
.room-set{--sketch:var(--camera-portret);--photo:url(assets/decor-camera-portret-mic.webp);--dense:url(assets/decor-camera-portret-mare.webp)}
.yard-set{--sketch:var(--curte-portret);--photo:url(assets/decor-curte-portret-mic.webp);--dense:url(assets/decor-curte-portret-mare.webp)}
}
@container (min-aspect-ratio:7/4){
.photo-window>*{--span-x:2;--span-y:1.5}
.room-set{--sketch:var(--camera-larg);--photo:url(assets/decor-camera-larg-mic.webp);--dense:url(assets/decor-camera-larg-mare.webp)}
.yard-set{--sketch:var(--curte-larg);--photo:url(assets/decor-curte-larg-mic.webp);--dense:url(assets/decor-curte-larg-mare.webp)}
}
@container (min-width:960px){.set::after{background-image:var(--dense)}}
@media(min-resolution:1.5dppx){@container(min-width:650px){.set::after{background-image:var(--dense)}}}

.scene-workshop::after{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(0deg,rgba(19,22,19,.24),transparent 15%)}
.words{position:absolute;z-index:2;left:var(--pad);top:50%;transform:translateY(-50%);width:33%;pointer-events:none}
.chapter-note{display:flex;align-items:center;gap:.65rem;font-size:.83rem;font-weight:640;letter-spacing:.025em;color:var(--ochre)}
.tag-glyph{position:relative;display:inline-block;height:12px;width:19px;background:var(--ochre);clip-path:polygon(0 50%,24% 0,100% 0,100% 100%,24% 100%)}
.tag-glyph::before{content:"";position:absolute;width:3px;height:3px;left:4px;top:4.5px;border-radius:50%;background:var(--night)}
.story-title{font-size:clamp(3.5rem,6.7vw,8.4rem);font-weight:515;letter-spacing:-.07em;line-height:.92;margin:.35em 0 .24em;text-wrap:balance}
.story-title em{display:block;font:italic 1.10em/.92 "Instrument Serif",Georgia,serif;letter-spacing:-.045em;color:var(--ochre)}
.story-line{font-weight:420;font-size:clamp(1rem,1.23vw,1.35rem);line-height:1.46;max-width:32ch;color:#e6e7dc;text-wrap:pretty}
.story-tools{display:flex;align-items:center;flex-wrap:wrap;gap:0 1rem;margin-top:1.35rem;min-height:44px;pointer-events:none}
.story-tools>*{pointer-events:auto;min-height:44px;display:inline-flex;align-items:center;font:600 .94rem/1.2 "Inter Tight",Arial,sans-serif}
.story-tools button,.story-tools a{color:var(--ivory);border:0;background:none;padding:0}
.story-tools .next-scene{background:var(--ochre);color:#23281f;border-radius:2px;padding:0 15px}
.story-tools .skip-story{text-decoration:underline;text-underline-offset:.23em;text-decoration-color:#a7ab9d;text-decoration-thickness:1px}
.workshop button:focus-visible,.workshop a:focus-visible{outline:2px solid #fff;outline-offset:4px}
.story-bottom{display:flex;align-items:center;justify-content:space-between;gap:2rem;background:var(--night);padding:0 var(--pad);border-top:1px solid var(--rule);min-height:66px}
.timeline{display:flex;align-items:center;gap:clamp(10px,2vw,35px);width:min(76%,930px)}
.timeline button{flex:1;position:relative;min-width:0;background:none;border:0;color:#cccfc4;min-height:48px;text-align:left;padding:12px 0 5px;font:500 .86rem/1.1 "Inter Tight",Arial,sans-serif}
.timeline button::before,.timeline button::after{content:"";position:absolute;left:0;right:0;top:5px;height:2px;background:#555c50}
.timeline button::after{background:var(--ochre);transform:scaleX(var(--part,0));transform-origin:left}
.timeline button[aria-current]{color:var(--ochre)}.film-caption{font-size:.78rem;color:#b0b5a8}
.services{background:var(--ivory);color:#26332c}.services .service-intro h2{margin-top:0}.services h2 em,.contact h2 em{font-family:"Instrument Serif",Georgia,serif;font-weight:400}.services h2 em{color:#765434}
.loading-photo{aspect-ratio:1.5}.extra{padding:.6rem 0;border-top:1px solid #a0aaa6}.extra summary{cursor:pointer;min-height:44px;align-content:center;font-weight:640}
.extra a,.request a{text-decoration:underline;text-underline-offset:.24em}.extra a{display:inline-flex;align-items:center;min-height:44px}.contact{background:#dfbc70}.contact-body p+p{margin-top:.55rem}
@media(max-width:760px) and (orientation:portrait){
 body{--head:55px;--pad:clamp(16px,5vw,29px)}body>.mast{gap:7px}.mast .brand{font-size:clamp(.82rem,3.6vw,1rem);gap:5px}.mast .brand svg{width:29px}.mast .phone-top{font-size:clamp(.78rem,3.1vw,.92rem);min-height:34px;padding-inline:10px}
 .photo-window>*{--gutter:0px}
 .stage-workshop{min-height:460px}.film-scroll .workshop:not(.configured)::after,.workshop.tracking::after{height:clamp(1850px,325svh,3400px)}
 .scene-workshop{display:grid;grid-template-rows:minmax(160px,1fr) auto}.optics{position:relative;inset:auto;width:auto;mask-image:none}.scene-workshop::after{display:none}
 .words{position:static;transform:none;width:auto;padding:clamp(13px,2.6svh,25px) var(--pad) clamp(9px,2svh,20px)}
 .chapter-note{font-size:.8rem}.tag-glyph{width:16px;height:10px}.tag-glyph::before{top:3.5px}
 .story-title{font-size:clamp(2.45rem,10.7vw,4.1rem);line-height:1.04;margin:.09em 0 .12em;white-space:normal}.story-title em{display:inline;font-size:1.05em}
 .story-line{font-size:clamp(.97rem,3.75vw,1.08rem);line-height:1.35;max-width:40ch;min-height:2.7em}
 .story-tools{margin-top:.6rem;gap:0 .9rem}.story-tools>*{font-size:.86rem}
 .story-bottom{padding:0 var(--pad);min-height:49px}.timeline{width:100%;gap:8px}.timeline button{font-size:clamp(.70rem,2.9vw,.84rem);min-height:44px}.film-caption{display:none}
}
@media(max-height:570px) and (orientation:landscape){
 body{--head:43px;--pad:20px}.mast .phone-top{min-height:30px}.stage-workshop{min-height:240px}.story-bottom{min-height:40px}.timeline button{min-height:36px}
 .words{width:34%;}.chapter-note{font-size:.74rem}.story-title{font-size:clamp(2rem,9svh,3.7rem);margin:.2em 0}.story-line{font-size:.87rem;line-height:1.27}.story-tools{gap:0 .65rem;margin-top:.55rem}.story-tools>*{font-size:.79rem;min-height:34px}
}
@media(max-width:375px) and (max-height:710px) and (orientation:portrait){
 .words{padding-block:9px 6px}.story-line{font-size:.91rem}.story-tools{margin-top:.25rem}.chapter-note{font-size:.74rem}.story-title{font-size:2.2rem}.timeline button{font-size:.7rem}
}

/* Reserve the same opening geometry while the first response is in flight. */
.film-scroll .workshop:not(.configured) .story-bottom[hidden]{display:flex!important;visibility:hidden}
.film-scroll .workshop:not(.configured) .next-scene[hidden]{display:inline-flex!important;visibility:hidden}
