/* Prologue → first act. All movement is on transform/opacity layers. */
body[data-page=home] .site-header{background:#080e1b;border-bottom-color:rgba(230,197,130,.13)}
.theatre-track{position:relative;height:285svh;isolation:isolate;background:#090d17}
.theatre-stage{height:calc(100svh - var(--header-height));min-height:560px;position:sticky;top:var(--header-height);overflow:hidden;isolation:isolate;background:#090d17}
.stage-portrait,.stage-shade,.stage-lights,.stage-dust,.stage-floor,.memory-atmosphere{position:absolute;inset:0;pointer-events:none}
.stage-portrait{background:url('/assets/rosa-rio-palco-elegante-v2.jpg') 68% 43%/cover no-repeat;transform-origin:73% 47%;z-index:-5}
.stage-shade{z-index:-4;background:linear-gradient(90deg,rgba(6,10,19,.52),transparent 68%),linear-gradient(0deg,#070c16 0%,transparent 35%)}
.stage-floor{inset:83% -20% -30%;z-index:-3;background:repeating-linear-gradient(90deg,transparent 0 13%,rgba(230,197,130,.05) 13.1% 13.2%,transparent 13.3% 26%),linear-gradient(0deg,#0b0d15,transparent);transform:perspective(500px) rotateX(60deg);transform-origin:bottom}
.stage-lights{z-index:-2;overflow:hidden;mix-blend-mode:screen;opacity:.85}
.light-beam{position:absolute;width:95%;height:155%;top:-45%;background:conic-gradient(from 157deg at 50% 0%,transparent 0deg,rgba(235,194,122,.015) 5deg,rgba(235,194,122,.13) 18deg,rgba(235,194,122,.025) 36deg,transparent 43deg);transform-origin:50% 0%;opacity:.7}
.beam-one{left:6%;transform:rotate(-24deg);animation:spotlight-one 13s ease-in-out infinite alternate}
.beam-two{left:45%;transform:rotate(17deg);opacity:.38;animation:spotlight-two 17s ease-in-out infinite alternate}
.light-halo{position:absolute;inset:-40% -15% 0 30%;background:radial-gradient(ellipse at 60% 20%,rgba(244,203,130,.2),transparent 54%);animation:stage-breath 8s ease-in-out infinite alternate}
.stage-dust{z-index:3;overflow:hidden;opacity:.5}
.stage-dust i{position:absolute;left:var(--x);top:var(--y);width:2px;height:2px;border-radius:50%;background:#e9cf98;box-shadow:0 0 7px #c49c57;animation:dust-drift 7s ease-in-out var(--delay) infinite alternate}
.stage-prologue{position:absolute;left:max(8%,calc((100% - 1200px)/2));top:13%;width:48%;z-index:2}
.stage-kicker{font-size:10px;letter-spacing:.27em;margin-bottom:28px}
.stage-name{font-size:clamp(115px,12.8vw,210px);line-height:.78;letter-spacing:-.06em;font-weight:500;max-width:630px;margin:0 0 35px -8px}
.name-mask{display:block;overflow:hidden;padding:8px 10px 14px;margin-bottom:-10px}
.name-mask>*{display:block}
.stage-name em{font-style:normal;color:#e6c582}
.stage-invitation>p{font-family:Bodoni,Georgia,serif;color:#f5f0e5;font-size:clamp(23px,2.2vw,34px);line-height:1.25;letter-spacing:-.02em}
.stage-invitation>p em{color:#d5cbb8}
.stage-story-link{display:inline-flex;align-items:center;gap:26px;color:#e6c582;font-size:12px;line-height:1.4;min-height:44px;border-bottom:1px solid rgba(230,197,130,.3);margin-top:18px;transition:color 150ms,transform 150ms}
.stage-story-link>span{font-size:23px;transition:transform 150ms}
.stage-tools{position:absolute;top:17px;right:36px;z-index:10;display:flex;gap:25px}
.stage-tools button{background:none;padding:4px 0;min-height:44px;color:#d3c7b4;font-size:10px;letter-spacing:.02em;border-bottom:1px solid transparent;transition:color 150ms,border-color 150ms}
.stage-tools button>span{font-size:18px;display:inline-block;margin-right:6px}
.stage-act-nav{position:absolute;right:33px;top:43%;display:grid;gap:20px;z-index:9}
.stage-act-nav button{background:none;color:#d5c9b5;display:flex;align-items:center;gap:12px;min-width:44px;min-height:44px;font-size:10px;font-variant-numeric:tabular-nums}
.stage-act-nav i{width:4px;height:4px;background:#9b8b72;border-radius:50%;transition:transform 200ms,background 200ms}
.stage-act-nav [aria-current] i{background:#e6c582;transform:scale(1.8);box-shadow:0 0 0 5px rgba(230,197,130,.1)}
.stage-act-nav [aria-current]{color:#f7e5ba}
.stage-bottom{position:absolute;left:6%;right:6%;bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:9}
.stage-act-label,.stage-edition{font-size:9px;text-transform:uppercase;letter-spacing:.18em;color:#d5c6ab}
.stage-scroll{background:none;color:#f0dec0;display:flex;align-items:center;gap:22px;min-height:44px;font-size:11px;padding:0 8px}
.scroll-arrow{display:block;font-size:25px;font-weight:400;animation:scroll-invitation 2.6s ease-in-out infinite}
.stage-progress{position:absolute;bottom:0;left:0;right:0;height:2px;background:#27231e;z-index:10}
.stage-progress>div{height:100%;background:#e6c582;transform:scaleX(.001);transform-origin:left}
.curtain-wing{position:absolute;inset:0 auto 0 0;width:51%;z-index:5;pointer-events:none}
.wing-right{left:auto;right:0}
.velvet-curtain{position:absolute;inset:-5% -2% -6%;background:repeating-linear-gradient(90deg,#1c0910 0%,#551326 4%,#83243a 8%,#441020 12%,#17090f 16%,#581528 20%);box-shadow:inset -12px 0 24px #10060c,10px 0 25px rgba(0,0,0,.7);border-right:1px solid #a2734e}
.velvet-curtain:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,3,8,.75),transparent 65%),radial-gradient(ellipse at 100% 8%,rgba(246,182,111,.2),transparent 65%);mix-blend-mode:screen}
.curtain-left{transform:translateX(-88%);border-bottom-right-radius:55% 7%}
.curtain-right{transform:translateX(88%);border-right:0;border-left:1px solid #a2734e;border-bottom-left-radius:55% 7%;box-shadow:inset 12px 0 24px #10060c,-10px 0 25px rgba(0,0,0,.7)}
.curtain-edge{position:absolute;top:0;bottom:0;right:5px;width:3px;background:linear-gradient(90deg,#5b3d27,#c69b56,#63442e);opacity:.6}
.curtain-right .curtain-edge{right:auto;left:5px}
.stage-valance{position:absolute;left:-3%;right:-3%;top:-54px;height:85px;border-radius:0 0 50% 50%;z-index:6;pointer-events:none;background:repeating-linear-gradient(90deg,#290c17,#64182d 8%,#290c17 14%,#7a2036 20%);border-bottom:2px solid #755034;box-shadow:0 8px 25px rgba(0,0,0,.55)}
.stage-intro{position:absolute;inset:0;z-index:7;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;opacity:0;pointer-events:none;color:#ecd4a4;text-align:center}
.stage-intro>strong{font-family:Bodoni,Georgia,serif;font-size:clamp(70px,12vw,170px);font-weight:500;letter-spacing:-.05em;line-height:1}
.stage-intro>span{font-size:10px;text-transform:uppercase;letter-spacing:.23em;padding-inline:20px}
.memory-atmosphere{z-index:-1;opacity:0;background:radial-gradient(ellipse at 20% 60%,#403626 0%,#24251f 45%,#0e1419 82%)}
.memory-atmosphere>div{position:absolute;inset:0;background:repeating-linear-gradient(100deg,transparent 0 160px,rgba(230,197,130,.025) 161px 162px,transparent 163px 320px)}
.memory-atmosphere>span{position:absolute;top:2%;left:-3%;font-family:Bodoni,Georgia,serif;font-size:clamp(130px,20vw,350px);color:rgba(221,194,140,.055);letter-spacing:-.06em;white-space:nowrap}
.stage-memory{position:absolute;inset:0;opacity:0;z-index:2;pointer-events:none}
.theatre-track[data-act="1"] .stage-memory{pointer-events:auto}
.memory-plate{position:absolute;top:10%;left:12%;width:32%;max-width:480px;height:73%;margin:0;padding:11px 11px 30px;background:#c8b28d;box-shadow:15px 35px 80px rgba(0,0,0,.5);transform:rotate(-4deg)}
.memory-image-window{width:100%;height:100%;overflow:hidden;background:#d8c59d}
.memory-image-window img{width:100%;height:100%;object-fit:cover;object-position:50% 43%;transform:scale(1.09)}
.memory-plate figcaption{position:absolute;bottom:8px;left:11px;right:8px;margin:0;font-size:9px;line-height:1.3;color:#34271a}
.memory-copy{position:absolute;left:52%;top:20%;width:36%;max-width:520px}
.memory-copy .eyebrow{font-size:10px;margin-bottom:28px;color:#c9b88d}
.memory-copy h2{font-size:clamp(45px,4.9vw,77px);line-height:1.06;letter-spacing:-.045em;margin-bottom:25px;color:#f2e9d5}
.memory-copy h2>span{display:block}
.memory-copy h2 em{color:#e8c485}
.memory-description{font-size:14px;line-height:1.8;max-width:340px;color:#d6cfbe}
.memory-copy .stage-story-link{margin-top:20px}
.memory-handnote{position:absolute;bottom:13%;left:28%;font-family:Bodoni,Georgia,serif;font-size:clamp(20px,2.3vw,35px);color:#e7d6af;transform:rotate(-7deg);z-index:3;text-shadow:0 3px 15px #10110f;pointer-events:none}
.after-theatre{padding:100px 0 110px;text-align:center}
.after-theatre>p{font-family:Bodoni,Georgia,serif;font-size:clamp(25px,3vw,45px);color:#eee3cf;line-height:1.5;letter-spacing:-.025em}
.after-theatre>p span{color:#e6c582}
.after-theatre>.text-link{margin-top:25px}
.stage-sleeping *{animation-play-state:paused!important}
@keyframes spotlight-one{from{transform:rotate(-24deg)}to{transform:rotate(-12deg)}}
@keyframes spotlight-two{from{transform:rotate(17deg)}to{transform:rotate(5deg)}}
@keyframes stage-breath{from{opacity:.45;transform:scale(.97)}to{opacity:.9;transform:scale(1.04)}}
@keyframes dust-drift{from{transform:translate3d(0,0,0);opacity:.15}to{transform:translate3d(10px,calc(-1 * var(--drift)),0);opacity:.7}}
@keyframes scroll-invitation{0%,100%{transform:translateY(-3px);opacity:.55}50%{transform:translateY(4px);opacity:1}}
@media(hover:hover) and (pointer:fine){
 .stage-story-link:hover>span{transform:translate(3px,-3px)}
 .stage-tools button:hover{color:#f4dfb6;border-color:#806740}
 .stage-scroll:hover .scroll-arrow{color:#fff4d6}
}
@media(min-width:1600px){.stage-portrait{background-position:center 43%}.stage-prologue{top:16%}.memory-copy{top:24%}}
@media(max-width:1100px){
 .stage-prologue{left:8%;top:20%}.stage-name{font-size:clamp(110px,14vw,160px)}
 .stage-portrait{background-position:66% center}.stage-kicker{font-size:9px;letter-spacing:.17em}
 .stage-act-nav{right:18px}.stage-edition{display:none}.stage-bottom{left:8%;right:8%}
 .memory-plate{left:9%;width:35%;height:66%;top:16%}.memory-copy{left:51%;top:23%;width:38%}
 .memory-copy h2{font-size:clamp(40px,5vw,62px)}.memory-description{font-size:13px}.memory-copy .eyebrow{margin-bottom:20px}
}
@media(max-width:767px){
 .theatre-track{height:260svh}.theatre-stage{min-height:650px}
 .stage-portrait{background-size:auto 78%;background-position:78% 0;background-color:#080e1b}
 .stage-shade{background:linear-gradient(0deg,#070c16 0%,rgba(7,12,22,.98) 17%,rgba(7,12,22,.65) 42%,transparent 70%)}
 .stage-prologue{left:8%;top:auto;bottom:16%;width:84%}
 .stage-kicker{margin-bottom:20px;font-size:8px;letter-spacing:.19em}
 .stage-name{font-size:clamp(100px,25vw,165px);line-height:.8;margin-bottom:18px}
 .name-mask{display:inline-block;margin-right:7px;padding-right:8px;margin-bottom:-8px}
 .stage-invitation>p{font-size:25px;line-height:1.2}
 .stage-invitation .stage-story-link{font-size:10px;margin-top:12px;gap:16px;min-height:38px}
 .stage-tools{top:12px;left:8%;right:8%;justify-content:space-between;gap:15px}
 .stage-tools button{font-size:9px;color:#e8d9c2;min-height:44px}
 .stage-tools button>span{font-size:16px;margin-right:4px}
 .stage-act-nav{right:8px;top:43%;gap:12px}.stage-act-nav button{padding:8px 4px;gap:8px;min-width:28px}.stage-act-nav button>span{display:none}
 .stage-bottom{left:8%;right:8%;bottom:18px;gap:5px;align-items:center}
 .stage-act-label{font-size:7px;letter-spacing:.12em;max-width:100px;line-height:1.7}
 .stage-scroll{font-size:9px;gap:10px;padding:0;max-width:190px}.scroll-arrow{font-size:23px}
 .stage-valance{height:70px;top:-50px}.curtain-wing{width:51.5%}
 .velvet-curtain{background:repeating-linear-gradient(90deg,#1b080f 0%,#60182c 7%,#3b0f1e 13%,#1b080f 19%,#6c1b30 26%)}
 .light-beam{width:180%;left:-30%;top:-20%;height:125%}.beam-two{left:5%}.stage-dust{opacity:.35}
 .memory-atmosphere>span{top:9%;font-size:110px;left:-4%}
 .memory-plate{left:12%;top:11%;width:57%;height:40%;max-width:none;padding:7px 7px 23px}
 .memory-plate figcaption{font-size:6px;bottom:7px;left:7px}
 .memory-copy{left:12%;top:55%;width:78%;max-width:450px}
 .memory-copy .eyebrow{font-size:8px;margin-bottom:14px;letter-spacing:.13em}
 .memory-copy h2{font-size:clamp(33px,9vw,50px);line-height:1.04;margin-bottom:15px}
 .memory-copy h2>span{display:inline}.memory-copy h2>span:after{content:' '}
 .memory-description{font-size:15px;line-height:1.6;max-width:330px}
 .memory-copy .stage-story-link{font-size:11px;margin-top:7px;min-height:38px}
 .memory-handnote{left:53%;bottom:auto;top:45%;font-size:22px;max-width:130px;line-height:1.1}
 .after-theatre{padding-block:65px 70px}.after-theatre>p{font-size:27px}.after-theatre>p br{display:none}
}
@media(max-height:720px) and (min-width:768px){
 .theatre-stage{min-height:500px}.stage-prologue{top:13%}.stage-name{font-size:clamp(100px,11vw,155px);margin-bottom:19px}.stage-kicker{margin-bottom:16px}.stage-invitation>p{font-size:25px}.stage-story-link{margin-top:10px}.memory-copy{top:16%}.memory-copy h2{font-size:clamp(39px,4.2vw,61px);margin-bottom:15px}.memory-copy .eyebrow{margin-bottom:17px}.memory-description{font-size:13px}
}
@media(max-height:740px) and (max-width:767px){
 .theatre-stage{min-height:590px}
 .stage-prologue{bottom:17%}.stage-name{font-size:clamp(95px,25vw,140px)}
 .stage-kicker{margin-bottom:15px}.stage-invitation>p{font-size:23px}
 .memory-plate{top:12%;height:34%;width:49%}
 .memory-handnote{top:40%;left:49%;font-size:19px}
 .memory-copy{top:50%}.memory-copy h2{font-size:33px;margin-bottom:12px}
 .memory-copy .eyebrow{margin-bottom:10px}.memory-description{font-size:13.5px}
 .stage-bottom{bottom:12px}
}
/* Accessible, readable document flow rather than a frozen cinematic scene. */
.theatre-static{height:auto}
.theatre-static .theatre-stage{position:relative;top:auto;height:auto;min-height:0;overflow:hidden}
.theatre-static .stage-prologue{position:relative;left:auto;top:auto;bottom:auto;width:auto;min-height:700px;margin:0 10%;padding-block:100px 90px;display:flex;flex-direction:column;justify-content:center}
.theatre-static .stage-portrait{height:700px;background-position:65% center}
.theatre-static .stage-shade{height:700px}
.theatre-static .stage-memory{position:relative;inset:auto;display:grid;grid-template-columns:1fr 1fr;gap:9%;padding:80px 10%;align-items:center;opacity:1;pointer-events:auto;background:#24251f}
.theatre-static .memory-plate{position:relative;inset:auto;width:100%;height:560px;transform:rotate(-3deg)}
.theatre-static .memory-copy{position:relative;inset:auto;width:100%;transform:none}
.theatre-static .memory-handnote{display:none}
.theatre-static .stage-intro,.theatre-static .curtain-wing,.theatre-static .stage-valance,.theatre-static .stage-lights,.theatre-static .stage-dust,.theatre-static .stage-floor,.theatre-static .memory-atmosphere,.theatre-static .stage-progress{display:none}
html[data-motion=off] .theatre-track *,html[data-motion=off] .theatre-track *:before{animation:none!important;transition:none!important}
@media(max-width:767px){
 .theatre-static .stage-prologue{min-height:710px;margin-inline:8%;padding-top:300px;padding-bottom:70px}
 .theatre-static .stage-portrait{height:710px;background-size:auto 70%;background-position:78% top}
 .theatre-static .stage-shade{height:710px}
 .theatre-static .stage-memory{grid-template-columns:1fr;padding:65px 10%;gap:40px}
 .theatre-static .memory-plate{height:440px;width:90%;margin:auto}
}
@media print{.theatre-track{height:auto}.theatre-stage{position:static;height:auto}.stage-prologue,.stage-memory{position:relative;inset:auto;opacity:1;transform:none}.stage-tools,.curtain-wing,.stage-valance,.stage-intro,.stage-bottom,.stage-act-nav{display:none}}
