@font-face{font-family:"PT Serif";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/PTSerif-Bold.ttf") format("truetype")}
:root{color-scheme:dark;--gold:#b7a562}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#181818;font-family:Arial,Helvetica,sans-serif}.test-tools{position:fixed;z-index:40;inset:0 0 auto;height:34px;background:#181816;color:#c6c1b6;border-bottom:1px solid #333333;display:flex;justify-content:space-between;align-items:center;padding:0 18px;font-size:9px;letter-spacing:.6px}.test-tools>div{display:flex;align-items:center;gap:17px}.test-tools button,.test-tools select{font:10px Arial,sans-serif;background:none;border:0;color:#b7a562;cursor:pointer;padding:5px}.test-tools select{background:#25231e;border:1px solid #b7a562;margin-left:4px}.test-tools label{color:#aaa;font-size:9px;letter-spacing:0}button:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:4px}#website{position:absolute;inset:34px 0 0;width:100%;height:calc(100% - 34px);border:0;background:white}.cinema{position:fixed;inset:0;z-index:1000;background:#181818;overflow:hidden;transition:opacity .3s ease}.cinema::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.13;background:repeating-linear-gradient(0deg,transparent 0 35px,#48443d 36px),repeating-linear-gradient(90deg,transparent 0 35px,#48443d 36px)}.cinema.is-playing{background:#181818}.cinema.revealing{pointer-events:none;opacity:0}.cinema.hidden{display:none}#name-canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0}#name-canvas.visible{opacity:1}#welcome{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;width:min(90%,600px);color:#f1f1f1}.welcome-name{font:clamp(24px,4vw,40px) Arial,sans-serif;margin:0;letter-spacing:-1px}.welcome-name span{color:var(--gold)}.welcome-caption{font-size:10px;letter-spacing:5px;color:#bbb;margin:12px 0 45px}#welcome button{display:block;width:230px;margin:13px auto;padding:15px 20px;border:1px solid #b7a562;background:none;color:#b7a562;font-size:12px;cursor:pointer}#welcome #enter-sound{background:var(--gold);color:#171717;border-color:var(--gold)}#enter-sound span{float:right}#welcome #enter-muted{font-size:11px;border:0;padding:8px}.welcome-note{margin-top:30px;font-size:10px;color:#88816f}#skip{position:absolute;right:25px;bottom:23px;background:none;border:1px solid #534b3e;color:#b7a562;font:11px Arial,sans-serif;padding:10px 15px;cursor:pointer}#scene-label{position:absolute;left:25px;bottom:24px;color:#8e887d;font-size:9px;letter-spacing:2px}#preview-notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);padding:13px 20px;background:#1d1d1d;color:#b7a562;z-index:2000;max-width:90%;border:1px solid #b7a562;font-size:12px}@media(max-width:600px){.test-tools{height:46px;padding:4px 8px;gap:4px}.test-tools>span{max-width:85px;font-size:7px;line-height:1.4}.test-tools>div{gap:4px}.test-tools button{font-size:9px}.test-tools label{font-size:0}.test-tools select{font-size:9px;max-width:75px}#website{top:46px;height:calc(100% - 46px)}#scene-label{max-width:190px;line-height:1.6;bottom:21px;left:15px}#skip{right:15px;bottom:20px}}@media(prefers-reduced-motion:reduce){.cinema{transition:none}}

#reading-progress{position:fixed;top:34px;left:0;width:100%;height:4px;z-index:80;pointer-events:none;background:#b7a562}
#reading-progress>span{display:block;width:100%;height:100%;background:#b7a562;box-shadow:0 0 3px #b7a562;transform:scaleX(0);transform-origin:left center;transition:transform .1s linear}
#complete-title{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(92vw,1000px);text-align:center;font:700 clamp(22px,3.3vw,44px)/1.25 "PT Serif","Times New Roman",Times,serif;color:var(--gold);opacity:0;pointer-events:none;text-wrap:balance}
#complete-title .title-letters,#complete-title .title-word{display:inline-block;max-width:100%;color:var(--gold);background:linear-gradient(115deg,#b7a562 0%,#b7a562 40%,#b7a562 46%,#b7a562 49%,#f4f4f4 50%,#b7a562 53%,#b7a562 59%,#b7a562 100%);background-size:250% 100%;background-position:100% 0;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 1px 0 #b7a562) drop-shadow(0 0 5px #b7a56222)}
#name-canvas{transition:none}
.title-resolving #complete-title,.title-settled #complete-title{opacity:1}
.title-settled #name-canvas{visibility:hidden}
.title-settled .title-letters{animation:gold-reflection .54s cubic-bezier(.4,0,.2,1) both}
@keyframes gold-reflection{from{background-position:100% 0}to{background-position:0% 0}}
@media(max-width:600px){#reading-progress{top:46px;height:4px}#complete-title{font-size:clamp(21px,5.8vw,30px)}}
@media(prefers-reduced-motion:reduce){#reading-progress>span,#name-canvas,#complete-title{transition:none}}

@media(prefers-reduced-motion:reduce){.title-settled .title-letters{animation:none}}

/* Welcome: the original vector paths build and remain in place through polish. */
#welcome-logo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.65);width:min(80vw,500px,76vh);aspect-ratio:4096/3639;pointer-events:none}
#welcome-logo[hidden]{display:none}
#welcome-logo>svg{display:block;width:100%;height:100%;overflow:visible}
#welcome-logo path{fill:#b7a562;fill-opacity:0;stroke:#b7a562;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1}
#welcome-logo.assembling path{animation:logo-trace 1.05s cubic-bezier(.3,0,.25,1) var(--piece-delay) both,logo-fill .55s ease calc(var(--piece-delay) + .65s) both}
@keyframes logo-trace{to{stroke-dashoffset:0}}
@keyframes logo-fill{to{fill-opacity:1;stroke-opacity:0}}
.logo-shine{position:absolute;inset:0;background:linear-gradient(115deg,transparent 40%,#b7a5623b 45%,#efefefe6 49%,#f7f7f7 50%,#b7a5623b 55%,transparent 60%);background-size:250% 100%;background-position:100% 0;opacity:0;-webkit-mask:url('angelo-rodriguez-logo-completo-dorado.svg?v=oficial-1') center/contain no-repeat;mask:url('angelo-rodriguez-logo-completo-dorado.svg?v=oficial-1') center/contain no-repeat}
.polished .logo-shine{opacity:1;animation:gold-reflection .54s cubic-bezier(.4,0,.2,1) both}
.logo-intro #complete-title{display:none}
.logo-intro #name-canvas{pointer-events:none}
@media(max-width:600px){#welcome-logo{width:min(90vw,76vh)}}
@media(prefers-reduced-motion:reduce){#welcome-logo.assembling path{animation:none;fill-opacity:1;stroke:none}.polished .logo-shine{animation:none;opacity:0}}

#welcome-logo.polished path{animation:none;fill-opacity:1;stroke-opacity:0;stroke-dashoffset:0}

/* As the page lands, the resolved title is pushed down by its weight. */
.cinema.revealing{opacity:1;background:transparent;transition:background .18s ease;pointer-events:none}
.cinema.revealing::before{opacity:0;transition:opacity .18s ease}
.cinema.revealing #scene-label,.cinema.revealing #skip{visibility:hidden}
@media(prefers-reduced-motion:reduce){.cinema.revealing{opacity:0}}

#complete-title .title-word{display:inline-block;white-space:nowrap}
#complete-title.two-words .title-letters{background:none;-webkit-text-fill-color:initial;filter:none;animation:none}
.title-settled #complete-title.two-words .title-word{animation:gold-reflection .54s cubic-bezier(.4,0,.2,1) both}
@media(prefers-reduced-motion:reduce){.title-settled #complete-title.two-words .title-word{animation:none}}

/* Reuse the entry's native vector strokes for the short reverse exit. */
.title-settled.title-exiting #name-canvas{visibility:visible;pointer-events:none}
.title-exiting .logo-shine{display:none}
.title-exiting #complete-title .title-word,.title-exiting #complete-title:not(.two-words) .title-letters{filter:drop-shadow(0 0 3px #b7a56288)}

/* The welcome mark releases its own vector pieces into revolving gold traces. */
.logo-exit-fragments{position:absolute;pointer-events:none;z-index:2;isolation:isolate;filter:drop-shadow(0 0 4px #b7a56255)}
.logo-exit-fragments>svg{width:100%;height:100%;display:block;overflow:visible}
.logo-exit-fragments g{transform-box:fill-box;transform-origin:center}
.logo-exit-ring{position:absolute;inset:-9%;border:1px solid transparent;border-top-color:#b7a562;border-right-color:#b7a56255;border-radius:50%;box-shadow:0 -1px 5px #b7a56222;opacity:0}
.logo-exit-ring+ .logo-exit-ring{inset:4%;border-top-color:transparent;border-bottom-color:#b7a562;border-left-color:#b7a56277}
.logo-exit-spark{position:absolute;display:block;background:#b7a562;box-shadow:0 0 5px #b7a562b3;opacity:0;transform-origin:center;will-change:transform,opacity}
@media(prefers-reduced-motion:reduce){.logo-exit-fragments{display:none}}

.cinema.fast-route.revealing #complete-title{visibility:hidden}
