:root{color-scheme:dark;--white:#f5f3ed;--red:#c41818;--pad:clamp(22px,4vw,72px);--line:#ffffff29}
*{box-sizing:border-box}html{scroll-behavior:smooth;scrollbar-width:none}html::-webkit-scrollbar{display:none}body{margin:0;background:#181b18;color:var(--white);font-family:'Helvetica Neue',Arial,sans-serif;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #fff;outline-offset:5px}button,a{touch-action:manipulation}
#scene{position:fixed;inset:0;background:#252824 url('assets/espacio-3085.webp') center/cover}#scene canvas{display:block;width:100%;height:100%}.shade{position:fixed;inset:0;pointer-events:none;background:linear-gradient(180deg,#0007,transparent 24%,transparent 67%,#000a),linear-gradient(90deg,#0b100b9c,transparent 61%)}
header{position:fixed;inset:0 0 auto;z-index:3;padding:28px var(--pad);display:flex;justify-content:space-between;align-items:center;gap:30px}.brand{display:flex;align-items:flex-end;gap:14px;flex-shrink:0}.brand img{width:153px;height:auto;display:block}.brand span{font-size:9px;letter-spacing:1.3px;white-space:nowrap;opacity:.55;margin-bottom:2px}.edition{font-size:11px;letter-spacing:.03em;display:flex;align-items:center;gap:10px}.edition i{width:6px;height:6px;border-radius:50%;background:var(--red)}.edition span{opacity:.45;margin-left:3px}header button{border:0;border-bottom:1px solid #ffffff60;background:transparent;padding:10px 0;font-size:11px;transition:border-color .2s}header button:hover{border-color:#fff}
main{position:relative;pointer-events:none}.chapter{height:150vh}.chapter:last-child{height:100vh}.copy{position:fixed;left:var(--pad);top:22vh;max-width:650px;opacity:0;transform:translateY(18px);visibility:hidden;pointer-events:none;transition:opacity .55s,transform .7s}.chapter.active .copy{opacity:1;transform:none;visibility:visible}.eyebrow{font-size:10px;font-weight:500;letter-spacing:2px;text-transform:uppercase;margin:0 0 28px;display:flex;align-items:center;gap:12px;color:#e1e1d8}.eyebrow::before{content:'';width:6px;height:6px;flex-shrink:0;background:var(--red);border-radius:50%}h1,h2{font-weight:500;letter-spacing:-.06em;line-height:1.04;margin:0 0 25px;text-shadow:0 4px 35px #0002}h1{font-size:clamp(54px,5.8vw,86px)}h2{font-size:clamp(47px,5vw,74px)}em{font:inherit;color:#d5d8cb}.copy>p:last-of-type{font-size:14px;line-height:1.65;color:#dadcd3;margin:0;font-weight:400;max-width:300px;text-shadow:0 1px 15px #0006}.inline-button{pointer-events:auto;background:transparent;border:0;border-bottom:1px solid #ffffff60;padding:9px 0;font-size:11px;margin-top:23px;letter-spacing:.03em}
.set-selector{position:fixed;bottom:85px;left:50%;transform:translateX(-50%);z-index:5;max-width:calc(100% - 44px)}#set-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.chapters{display:flex;gap:0;background:#161a16e8;border:1px solid var(--line);border-radius:6px;padding:5px;box-shadow:0 12px 35px #0002}.chapters a{display:flex;align-items:center;gap:12px;padding:15px 23px;border-radius:2px;white-space:nowrap;font-size:12px;position:relative;color:#b7bcb2;transition:color .3s,background .3s}.chapters a span{font-size:9px;letter-spacing:.02em;opacity:.5}.chapters a[aria-current]{color:#20251f;background:#eeeee5}.chapters a[aria-current] span{opacity:1;color:var(--red)}.chapters a:hover:not([aria-current]){background:#ffffff0c;color:#fff}
footer{position:fixed;inset:auto 0 0;padding:24px var(--pad);display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:3;font-size:10px;color:#bdc1b6}.scroll-cue{display:flex;align-items:center;gap:11px;font-size:10px;letter-spacing:.025em}.scroll-line{height:25px;width:1px;background:linear-gradient(transparent,#fff)}.view-controls{display:flex;gap:19px}footer button{border:0;border-bottom:1px solid #ffffff28;background:transparent;padding:8px 0;font-size:10px;color:#ccd0c4;transition:color .2s,border-color .2s}footer button:hover,footer button[aria-pressed=true]{color:#fff;border-color:#fff}footer p{font-size:9px;letter-spacing:.03em;opacity:.5;margin:0}.progress{position:fixed;inset:auto 0 0;height:1px;background:#ffffff15;z-index:6}.progress span{height:100%;display:block;background:var(--red);width:0}
.backdrop-controls{display:flex;align-items:center;justify-content:center;gap:7px;margin:0 auto 10px;background:#161a16e8;border:1px solid var(--line);border-radius:5px;width:fit-content;padding:5px 9px}.backdrop-controls[hidden]{display:none}.backdrop-controls>span{font-size:10px;opacity:.45;margin:0 5px}.backdrop-controls button{display:flex;align-items:center;gap:7px;padding:7px 9px;font-size:10px;background:transparent;border:1px solid transparent;border-radius:2px}.backdrop-controls button[aria-pressed=true]{border-color:#ffffff60;background:#ffffff07}.backdrop-controls i{width:10px;height:10px;border:1px solid #ffffff40;border-radius:50%;background:var(--swatch)}
#loading{position:fixed;inset:0;display:grid;place-items:center;background:#181b18;margin:0;font-size:11px;letter-spacing:.1em;z-index:8;transition:opacity .6s}#loading.ready{opacity:0;pointer-events:none}.hide-copy .copy{opacity:0!important;visibility:hidden!important}.hide-copy .shade{background:linear-gradient(180deg,#0005,transparent 22%,transparent 73%,#0009)}
dialog{border:1px solid var(--line);background:#181b18;color:var(--white);padding:32px;width:min(1050px,94vw);max-height:90dvh;border-radius:4px}dialog::backdrop{background:#070a07dc;backdrop-filter:blur(10px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:20px;font-size:20px;letter-spacing:-.025em}.dialog-head span{display:block;font-size:11px;opacity:.5;margin-top:9px;letter-spacing:0}.dialog-head button{background:none;border:1px solid var(--line);border-radius:3px;padding:10px 15px;font-size:12px}dialog img{display:block;width:100%;height:auto;margin:18px 0;border-radius:2px}dialog p{font-size:12px;line-height:1.8;max-width:750px;color:#aeb5a6}body.modal-open{overflow:hidden}.no-js{position:fixed;inset:0;z-index:10;background:#181b18;padding:30px}.no-js img{width:100%;margin-top:30px}
@media(min-width:1100px){.copy{max-width:55vw}.copy::after{content:'';display:block;width:28px;height:28px;border-bottom:1px solid #ffffff70;border-right:1px solid #ffffff70;position:absolute;left:-18px;top:-28px;transform:rotate(180deg);opacity:.5}}
@media(max-width:1050px){.edition{display:none}footer p{max-width:155px;text-align:right;line-height:1.5}.chapters a{padding:14px 17px}}
@media(max-width:700px){header{padding-top:23px;gap:18px}.brand img{width:126px}.brand span{display:none}header button{font-size:10px}.copy{top:145px;max-width:calc(100% - 44px)}h1{font-size:clamp(39px,10vw,60px)}h2{font-size:clamp(34px,8.5vw,49px)}h1,h2{margin-bottom:19px}.eyebrow{font-size:9px;letter-spacing:1.4px;margin-bottom:18px;gap:9px}.copy>p:last-of-type{font-size:12px;line-height:1.6;max-width:255px}.shade{background:linear-gradient(180deg,#0009 0%,#0007 34%,#0000 58%,#000a 100%)}.chapter{height:155vh}.chapter:last-child{height:100vh}.set-selector{bottom:112px;width:calc(100% - 44px)}.chapters{display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:4px}.chapters a{font-size:11px;justify-content:center;padding:12px 7px;gap:9px}.chapters a span{font-size:9px}footer{padding:0 var(--pad) 19px;flex-wrap:wrap;gap:17px}.scroll-cue{font-size:9px;max-width:110px;line-height:1.5}.scroll-line{flex-shrink:0;height:21px}.view-controls{gap:15px}footer button{font-size:9px}footer p{max-width:none;width:100%;text-align:left;font-size:8px;letter-spacing:.04em}.inline-button{margin-top:16px;font-size:10px}.backdrop-controls{gap:1px;padding:4px 7px;margin-bottom:7px}.backdrop-controls button{font-size:10px;padding:6px}.backdrop-controls>span{font-size:9px}dialog{padding:20px}.dialog-head{font-size:17px}}
@media(max-width:370px){.copy{top:126px}.brand img{width:110px}.view-controls{gap:10px}.scroll-cue{max-width:95px}footer button{font-size:8px}}
@media(max-height:650px) and (min-width:701px){.copy{top:24vh}h1,h2{font-size:45px}.eyebrow{margin-bottom:15px}.copy>p:last-of-type{font-size:12px}.set-selector{bottom:65px}footer{padding-bottom:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.copy,.chapters a{transition:none}}
/* Presentation pass: keep secondary controls legible on phones. */
@media(max-width:700px){header button{font-size:11px}.copy>p:last-of-type{font-size:13px}.chapters a{font-size:12px}footer button{font-size:11px}.scroll-cue{font-size:10px;max-width:105px}.view-controls{gap:12px}footer p{font-size:9px}.inline-button{font-size:11px}}
@media(max-width:370px){footer button{font-size:10px}.view-controls{gap:9px}.scroll-cue{font-size:9px;max-width:90px}}
/* V07 art direction: narrower editorial column and scene-specific atmosphere. */
@media(min-width:900px){.copy{top:24vh;max-width:40vw}h1{font-size:clamp(51px,4.8vw,74px)}h2{font-size:clamp(43px,4.3vw,66px)}.copy>p:last-of-type{max-width:280px}.shade{background:linear-gradient(180deg,#0006,transparent 24%,transparent 67%,#0009),linear-gradient(90deg,#090d0be0, #090d0b60 26%,transparent 54%)}}
body[data-set="1"] em{color:#e3b494}body[data-set="2"] em{color:#b6d3e4}body[data-set="3"] em{color:#c1cde0}em{transition:color .7s}.hide-copy .shade{background:linear-gradient(180deg,#0004,transparent 22%,transparent 73%,#0008)}
@media(prefers-reduced-motion:reduce){em{transition:none}}
