:root{--ink:#100908;--cream:#f1e4c9;--gold:#daba76;--muted:#bbaa8c;--wine:#6e1212;--ease:cubic-bezier(.16,1,.3,1)}
*{box-sizing:border-box}html{background:var(--ink);color:var(--cream);font-family:'Cormorant Garamond',Georgia,serif}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:6px}button{cursor:pointer}#scroll{height:850svh;min-height:850vh}#backdrop{position:fixed;inset:0;overflow:hidden;z-index:-1;background:radial-gradient(ellipse at 25% 55%,#2f1910 0%,#180d09 39%,#100908 74%)}.light{position:absolute;inset:-25%;pointer-events:none}.light-a{background:radial-gradient(ellipse at 28% 38%,#af763215,transparent 42%)}.light-b{background:radial-gradient(ellipse at 64% 70%,#64171a12,transparent 40%)}.texture{position:absolute;inset:0;opacity:.025;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}
header{position:fixed;top:0;left:0;right:0;height:92px;padding:18px 4vw;display:flex;align-items:center;justify-content:space-between;z-index:10;background:linear-gradient(#100908ed,#10090800)}.brand{display:flex;align-items:center;gap:14px;color:var(--gold);text-decoration:none;font-family:Cinzel,Georgia,serif;letter-spacing:.24em;font-size:20px}.brand img{border-radius:50%;width:54px;height:54px}.brand small{display:block;font-size:8px;letter-spacing:.23em;margin-top:4px}.brand span{line-height:1.3}#explore{border:0;background:none;color:var(--gold);font-family:Cinzel,serif;font-size:10px;letter-spacing:.15em;padding:12px 0 12px 16px}#explore span{font-size:20px;margin-left:18px;display:inline-block;transition:transform .5s var(--ease)}#explore:hover span{transform:translate(3px,3px)}
#hero{position:fixed;inset:0;z-index:8;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:radial-gradient(ellipse at center,#211209e8,#100908 72%);padding:80px 22px 35px;will-change:opacity,transform}.hero-rule{width:1px;height:35px;background:linear-gradient(transparent,#daba7677);margin-bottom:16px}.hero-overline{font-family:Cinzel,serif;font-size:10px;letter-spacing:.36em;color:var(--gold);margin:0 0 20px}.crest{width:clamp(170px,31vh,310px);height:auto;border-radius:50%;filter:drop-shadow(0 8px 40px #d6a85618)}h1{font-family:Cinzel,Georgia,serif;font-weight:500;font-size:clamp(32px,4vw,58px);letter-spacing:.02em;color:var(--gold);margin:25px 0 12px}.hero-sub{font-style:italic;font-size:clamp(20px,2vw,26px);line-height:1.35;color:#dac9a9;margin:0}#begin{border:0;background:none;color:var(--gold);margin-top:26px;padding:10px 18px;display:flex;flex-direction:column;align-items:center;gap:15px;font-family:Cinzel,serif;font-size:9px;letter-spacing:.2em}#begin i{font-family:Georgia,serif;font-size:25px;font-style:normal;display:block;animation:invite 2.5s ease-in-out infinite}@keyframes invite{0%,100%{transform:translateY(0);opacity:.45}50%{transform:translateY(7px);opacity:1}}
#experience{position:fixed;inset:100px 5vw 66px;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);column-gap:5vw;opacity:0;visibility:hidden;pointer-events:none}#experience.present{visibility:visible;pointer-events:auto}#scene{position:relative;min-width:0;min-height:0;overflow:hidden;contain:layout paint}.scene-halo{position:absolute;inset:0;background:radial-gradient(ellipse at 40% 48%,#ba783b12,transparent 64%);pointer-events:none}#factory{position:absolute;inset:34px 0 48px;width:100%;height:calc(100% - 82px);overflow:hidden}#world{will-change:transform;transform-origin:0 0}.scene-index,.scene-caption{position:absolute;left:0;right:0;display:flex;align-items:center;justify-content:space-between;font-family:Cinzel,serif;letter-spacing:.17em;font-size:9px;color:#c9b1829c;pointer-events:none;z-index:2}.scene-index{top:5px;padding-bottom:15px;border-bottom:1px solid #c9a24b1a}.scene-index>span:first-child{color:var(--gold)}.scene-caption{bottom:12px}.cutaway{font-size:8px;letter-spacing:.1em;color:#bba67b88}.cutaway b{font-size:17px;font-weight:400;margin-left:9px}.live-dot{width:4px;height:4px;border-radius:50%;background:#cfad6f;box-shadow:0 0 12px #daba7655}
#copy-panel{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:32px 0 34px}.copy-rule{width:45px;height:1px;background:var(--gold);opacity:.7;margin-bottom:26px}#txt{display:grid;position:relative;min-width:0}.blk{grid-area:1/1;min-width:0;opacity:0;visibility:hidden;pointer-events:none;align-self:center}.blk.on{visibility:visible;pointer-events:auto}.eyebrow{display:flex;align-items:center;gap:13px;font-family:Cinzel,serif;font-size:10px;letter-spacing:.16em;color:var(--muted);text-transform:uppercase;margin-bottom:18px}.eyebrow span{color:var(--gold);letter-spacing:.06em}.blk h2{font-family:Cinzel,Georgia,serif;font-size:clamp(27px,2.8vw,45px);font-weight:500;line-height:1.16;color:var(--gold);margin:0 0 22px;letter-spacing:-.025em;text-wrap:balance}.blk p{font-size:clamp(20px,1.7vw,26px);line-height:1.45;margin:0;color:#ecdfc6;max-width:480px;text-wrap:pretty}.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}.chips span{border-top:1px solid #c9a24b45;padding:10px 0 0;font-family:Cinzel,serif;font-size:10px;letter-spacing:.08em;color:#cab58a}.chips span+span{margin-left:13px}.btn{display:inline-flex;align-items:center;gap:14px;margin-top:26px;border:1px solid #b8954c80;background:linear-gradient(130deg,#d8b56c,#e8ce91);color:#23150b;padding:15px 20px;font-family:Cinzel,serif;font-size:10px;letter-spacing:.1em;box-shadow:0 5px 22px #0002;transition:transform .4s var(--ease),box-shadow .4s}.btn:hover{transform:translateY(-2px);box-shadow:0 9px 25px #bc8c3f1a}.btn:active{transform:translateY(0)}
#chapter-nav{display:flex;gap:7px;margin-top:28px;width:100%;max-width:280px}#chapter-nav button{position:relative;flex:1;height:44px;min-width:40px;padding:0;background:none;border:0;color:var(--muted)}#chapter-nav button:before{content:"";position:absolute;left:0;right:0;top:21px;height:1px;background:#daba7633;transition:background .35s}#chapter-nav button:after{content:"";position:absolute;left:0;right:0;top:20px;height:3px;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform .6s var(--ease)}#chapter-nav button.on:after{transform:scaleX(1)}#chapter-nav button:hover:before{background:#daba7699}footer{position:fixed;left:4vw;right:4vw;bottom:max(20px,env(safe-area-inset-bottom));z-index:4;display:flex;justify-content:space-between;color:#bba67b80;font-family:Cinzel,serif;font-size:8px;letter-spacing:.18em;pointer-events:none}#counter{color:var(--gold);font-size:10px;letter-spacing:.1em}#counter i{font-style:normal;color:#bba67b66;padding:0 8px}#progress{position:fixed;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,#6e1212,#e4c784);transform:scaleX(0);transform-origin:left;z-index:20;pointer-events:none}.pipe-flow{mix-blend-mode:screen}
@media(min-width:901px) and (max-height:720px){#experience{top:85px;bottom:50px}.blk h2{font-size:32px;margin-bottom:14px}.blk p{font-size:21px;line-height:1.35}.eyebrow{margin-bottom:12px}.chips{margin-top:18px}#chapter-nav{margin-top:20px}.copy-rule{margin-bottom:18px}.hero-rule{display:none}.crest{width:25vh}h1{margin-top:16px}}
@media(max-width:900px){header{height:72px;padding:12px 5vw}.brand img{width:44px;height:44px}.brand{font-size:16px;gap:10px}.brand small{font-size:6px}#explore{font-size:8px;letter-spacing:.07em}#explore span{margin-left:8px}#experience{inset:78px 6vw 43px;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:12px}#scene{min-height:100px}#factory{inset:23px 0 25px;height:calc(100% - 48px)}.scene-index{font-size:8px;top:0;padding-bottom:9px}.scene-caption{bottom:3px;font-size:7px}.cutaway{font-size:6px}.cutaway b{font-size:12px;margin-left:4px}#copy-panel{padding:16px 0 0;border-top:1px solid #c9a24b30;justify-content:flex-start}.copy-rule{display:none}.eyebrow{font-size:8px;margin-bottom:10px;gap:10px}.blk h2{font-size:clamp(24px,4.5vw,35px);line-height:1.13;margin-bottom:12px;letter-spacing:-.03em}.blk p{font-size:clamp(18px,2.8vw,22px);line-height:1.3;max-width:100%}.chips{margin-top:14px;gap:6px}.chips span{font-size:8px;padding-top:8px;letter-spacing:.05em}.chips span+span{margin-left:8px}#chapter-nav{margin-top:9px;max-width:280px;height:44px}#chapter-nav button{height:44px}.btn{margin-top:15px;font-size:9px;padding:12px 16px;min-height:44px}footer{bottom:max(13px,env(safe-area-inset-bottom));font-size:6px}#counter{font-size:8px}.hero-overline{font-size:8px;letter-spacing:.25em}.hero-rule{height:22px;margin-bottom:10px}.crest{width:min(60vw,29vh)}h1{font-size:clamp(30px,7.5vw,44px)}.hero-sub{font-size:21px}#begin{font-size:8px;letter-spacing:.1em;margin-top:20px;gap:8px}}
@media(max-width:400px){#experience{left:5vw;right:5vw}.blk h2{font-size:25px}.blk p{font-size:18px}.chips span{font-size:7.5px}.brand span{font-size:14px}#explore{font-size:7px}}
@media(max-width:900px) and (max-height:680px){header{height:60px}#experience{top:62px;bottom:34px;gap:7px}#copy-panel{padding-top:10px}.blk h2{font-size:22px;margin-bottom:8px}.blk p{font-size:16px;line-height:1.25}.eyebrow{margin-bottom:6px;font-size:7px}.chips{margin-top:9px}.chips span{font-size:6px;padding-top:6px}.btn{font-size:8px;padding:10px 13px;margin-top:10px}#chapter-nav{margin-top:3px;height:40px}#chapter-nav button{height:40px}.scene-caption{display:none}#factory{bottom:0;height:calc(100% - 23px)}#begin{margin-top:12px}.hero-rule{display:none}h1{margin:16px 0 10px}.crest{width:25vh}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}#world,#hero{will-change:auto}}
@media(max-width:900px) and (orientation:landscape) and (max-height:520px){header{height:58px;padding:8px 4vw}.brand img{width:38px;height:38px}#experience{inset:62px 4vw 32px;grid-template-columns:minmax(0,1.35fr) minmax(270px,1fr);grid-template-rows:1fr;column-gap:4vw}#scene{min-height:0}#copy-panel{border-top:0;padding:0;justify-content:center}.blk h2{font-size:22px;line-height:1.1;margin-bottom:9px}.blk p{font-size:16px;line-height:1.24}.eyebrow{font-size:7px;margin-bottom:7px}.chips{margin-top:10px}.btn{min-height:36px;margin-top:10px;font-size:8px;padding:10px 12px}#chapter-nav{height:30px;margin-top:3px}#chapter-nav button{height:30px}.hero-rule,.hero-overline{display:none}#hero{padding:54px 20px 20px}.crest{width:25vh}h1{font-size:30px;margin:10px 0 5px}.hero-sub{font-size:18px}#begin{margin-top:8px;font-size:7px;gap:2px}#begin i{font-size:18px}}
/* One room across the whole composition: no rectangular photo/copy seam. */
#backdrop{background:radial-gradient(ellipse at 32% 55%,#22150f,#100908 78%)}
#ambience{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;opacity:0;mask-image:linear-gradient(90deg,#000 0%,#000 43%,#000d 54%,#0007 67%,transparent 84%);-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 43%,#000d 54%,#0007 67%,transparent 84%)}
#environment-world{transform-origin:0 0;will-change:transform}
.ambience-veil{position:absolute;inset:0;background:linear-gradient(90deg,#1009080a 0%,#1009080a 39%,#10090822 48%,#10090888 64%,#100908bb 100%);pointer-events:none}
#scene{contain:layout;overflow:hidden}.scene-halo{opacity:.45}
#copy-panel{position:relative;z-index:1}
.copy-rule{width:30px;background:#d8b97d99;margin-bottom:23px}
.eyebrow{letter-spacing:.2em;color:#c6b494;font-size:9px}.eyebrow span{font-size:12px}
.blk h2{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;font-size:clamp(39px,4vw,62px);line-height:1.02;letter-spacing:-.025em;margin-bottom:23px;color:#f0dfba}
.title-line{display:block;overflow:hidden;padding-bottom:.07em;margin-bottom:-.02em}.title-line>span{display:block;transform-origin:0 100%}.title-accent{font-style:italic;font-weight:400;color:#d9b775}
.blk p{color:#e5d9c2;line-height:1.48;font-size:clamp(20px,1.6vw,25px);max-width:450px}
.chips span{color:#bdab87;border-color:#c9a24b30;font-size:9px}
@media(min-width:901px) and (max-height:720px){.blk h2{font-size:43px;margin-bottom:17px}.blk p{font-size:20px;line-height:1.36}.copy-rule{margin-bottom:18px}}
@media(max-width:900px){#ambience{mask-image:linear-gradient(180deg,#000 0%,#000 24%,#000c 43%,#0004 61%,transparent 78%);-webkit-mask-image:linear-gradient(180deg,#000 0%,#000 24%,#000c 43%,#0004 61%,transparent 78%)}.ambience-veil{background:linear-gradient(180deg,#10090818 0%,#10090808 34%,#10090866 56%,#100908dd 79%,#100908ee 100%)}#copy-panel{border-top:0;padding-top:12px}.blk h2{font-size:clamp(31px,6vw,43px);line-height:1.02;margin-bottom:13px}.blk p{font-size:clamp(18px,2.8vw,22px);line-height:1.32}.eyebrow{font-size:8px;letter-spacing:.15em;margin-bottom:11px}.eyebrow span{font-size:9px}.chips span{font-size:7px}.scene-index{border-bottom-color:transparent}}
@media(max-width:900px) and (max-height:680px){.blk h2{font-size:27px;margin-bottom:9px}.blk p{font-size:16px;line-height:1.27}.eyebrow{font-size:7px;margin-bottom:7px}#copy-panel{padding-top:8px}}
@media(max-width:900px) and (orientation:landscape) and (max-height:520px){#ambience{mask-image:linear-gradient(90deg,#000 0%,#000 38%,#0008 58%,transparent 82%);-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 38%,#0008 58%,transparent 82%)}.ambience-veil{background:linear-gradient(90deg,#10090800 30%,#10090899 64%,#100908dd)}.blk h2{font-size:30px}.blk p{font-size:16px}#copy-panel{padding:0}}
/* The physical world is clipped only by the browser viewport, never by an
   internal top/bottom rectangle. Horizontal bounds still protect the copy. */
#scene{overflow:visible;contain:none}
#factory{overflow:visible;clip-path:inset(-10000px 0 -10000px 0)}
@media(max-width:900px){#copy-panel:before{content:"";position:absolute;z-index:-1;left:-8vw;right:-8vw;top:-48px;bottom:-90px;background:linear-gradient(180deg,transparent 0%,#100908e8 60px,#100908fa 130px);pointer-events:none}}
@media(max-width:900px) and (orientation:landscape) and (max-height:520px){#copy-panel:before{display:none}}
/* Fixed navigation remains readable while the real equipment passes behind it. */
header{background:linear-gradient(180deg,#100908f7 0%,#100908d9 60%,#10090800 100%)}
