:root{--night:#090a09;--red:#ff3029;--brand-red:#ba0321;--bone:#f2f0eb;--line:#42433e;--display:'Anton',Impact,'Arial Narrow',sans-serif;--narrow:'Barlow Condensed','Arial Narrow',sans-serif;--body:'DM Sans',Arial,sans-serif;color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--night);color:var(--bone);font-family:var(--body);-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--display);font-weight:400}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}img{display:block;max-width:100%}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--bone);outline-offset:5px}::selection{background:var(--red);color:var(--night)}.skip{position:fixed;left:20px;top:-100px;padding:15px;color:var(--night);background:var(--bone);z-index:100}.skip:focus{top:10px}.header{height:91px;padding:5px 5%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);position:relative;z-index:2;background:var(--night)}.logo-link img{height:75px;width:76px;object-fit:contain}.header nav{display:flex;gap:43px;align-items:center}.header nav>a,footer nav>a{font-family:var(--narrow);font-size:13px;font-weight:600;letter-spacing:2.4px;text-transform:uppercase}.header nav>a:not(.button):hover,footer nav>a:hover{color:var(--red)}.header nav .outline{margin-left:4px;padding:11px 26px;min-height:41px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:16px 32px;min-height:54px;text-transform:uppercase;font-family:var(--narrow);font-size:16px;font-weight:700;letter-spacing:2px;border:1px solid transparent;transition:background .18s,color .18s,transform .18s}.button:hover{transform:translateY(-2px)}.outline{color:var(--red);border-color:var(--red);background:transparent}.outline:hover{background:var(--red);color:var(--night)}.solid{color:white;background:var(--red)}.solid:hover{background:#d91719}.black{color:var(--bone);background:var(--night);min-width:260px;min-height:63px;font-size:20px}.black:hover{background:#282823}.menu-button{display:none}.hero{position:relative;min-height:620px;isolation:isolate;overflow:hidden;display:flex;align-items:center;border-bottom:1px solid var(--red)}.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 55%;z-index:-2}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#090a09f0 0%,#090a09cc 19%,#090a0955 40%,transparent 64%),linear-gradient(0deg,#090a0966,transparent 25%);z-index:-1}.hero-content{padding:44px 5% 47px;width:100%}.eyebrow{font-family:var(--narrow);font-size:12px;letter-spacing:3px;font-weight:400;text-transform:uppercase;line-height:1.5}.hero h1{font-size:clamp(85px,10.5vw,154px);line-height:.98;letter-spacing:-2.5px;margin:7px 0 13px;max-width:65%}.hero h1 em{font-style:normal;color:var(--red)}.hero-description{font-size:17px;letter-spacing:.5px;margin-bottom:25px}.hero .button{min-width:280px;min-height:58px}.art-note{position:absolute;right:3%;bottom:22px;font-family:var(--narrow);font-size:9px;letter-spacing:1.5px;color:#e2dfd9}.discipline-strip{display:flex;align-items:center;gap:24px;padding:22px 2.2% 15px;color:var(--red)}.discipline-strip>span{height:1px;flex:1;background:var(--red)}.discipline-strip p{font-family:var(--narrow);font-size:15px;font-weight:500;letter-spacing:4px;white-space:nowrap}.section{padding:30px 3.3% 30px}.section-intro{padding:0 1.8% 21px}.section-intro h2{font-size:clamp(30px,4.5vw,62px);letter-spacing:-.6px;line-height:1.2;margin:6px 0 4px}.section-intro>p:last-child{font-size:17px}.concept-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.concept-card{padding:0;border:1px solid #8b8b80;background:transparent;color:var(--bone);text-align:left;min-width:0}.card-image{display:block;position:relative;overflow:hidden}.card-image img{width:100%;aspect-ratio:1.83;object-fit:cover;transition:transform .6s}.concept-card:first-child img{object-position:70% center}.concept-card:hover img{transform:scale(1.035)}.image-plus{position:absolute;top:15px;right:15px;display:grid;place-items:center;width:36px;height:36px;background:var(--night);font-size:22px;opacity:0;transform:translateY(6px);transition:opacity .2s,transform .2s}.concept-card:hover .image-plus,.concept-card:focus-visible .image-plus{opacity:1;transform:none}.card-caption{display:flex;align-items:center;justify-content:space-between;padding:11px 17px 13px;border-top:1px solid #8b8b80;gap:15px}.card-caption strong{display:block;font-family:var(--narrow);font-size:16px;font-weight:600;letter-spacing:2px}.card-caption small{display:block;font-family:var(--narrow);font-size:10px;font-weight:500;letter-spacing:2px;margin-top:4px}.tag{font-family:var(--narrow);font-size:10px;letter-spacing:1.7px;border:1px solid #aaa99f;padding:6px 12px;white-space:nowrap}.game-details{margin-top:25px;border-block:1px solid #42433e}.game-details summary{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;padding:18px 18px;list-style:none}.game-details summary::-webkit-details-marker{display:none}.game-details summary small{font-family:var(--narrow);font-size:9px;letter-spacing:2px;color:#a8a79f;display:block;margin-bottom:5px}.game-details summary strong{font-family:var(--display);font-size:25px;font-weight:400;letter-spacing:1px}.game-summary-right{font-family:var(--narrow);font-size:12px;letter-spacing:2px;display:flex;align-items:center;gap:26px;color:var(--red)}.details-plus{font-size:30px;display:inline-block;transition:transform .2s}.game-details[open] .details-plus{transform:rotate(45deg)}.game-inner{display:grid;grid-template-columns:1.25fr 1fr;gap:40px;padding:20px 18px 30px}.game-screenshot{align-self:start;background:none;border:1px solid var(--line);padding:0;color:var(--bone);text-align:left}.game-screenshot>img{aspect-ratio:1.81;object-fit:cover;width:100%}.game-screenshot>span{display:flex;justify-content:space-between;padding:10px 14px;font-family:var(--narrow);font-size:10px;letter-spacing:2px}.game-screenshot b{font-size:18px;line-height:1}.game-copy>.eyebrow{font-size:10px;letter-spacing:2px;color:var(--red)}.game-copy h3{font-size:45px;line-height:1.1;margin:10px 0 16px}.game-copy>p:not(.eyebrow):not(.release){font-size:13px;line-height:1.9;color:#bbb9b1;max-width:460px}.game-copy dl{margin:20px 0}.game-copy dl>div{display:flex;gap:15px;margin:9px 0;font-size:11px;line-height:1.6}.game-copy dt{font-family:var(--narrow);font-weight:600;font-size:11px;color:var(--red);letter-spacing:1px;min-width:85px}.game-copy dd{margin:0;color:#bbb9b1}.release{font-family:var(--narrow);font-size:10px;letter-spacing:2px;color:#9c9a90}.studio{position:relative;display:grid;grid-template-columns:44% 56%;border-block:1px solid var(--line);min-height:285px;overflow:hidden;isolation:isolate}.studio-copy{padding:30px 0 35px 11.4%;z-index:1}.studio h2{font-size:clamp(32px,4.3vw,60px);line-height:1.12;margin:7px 0 22px;letter-spacing:-.5px}.studio .button{font-size:14px;min-height:43px;padding:10px 24px}.studio-art{position:relative;min-height:285px;overflow:hidden}.studio-art>img{position:absolute;width:114%;max-width:none;top:50%;left:6%;transform:translateY(-36%);opacity:.93;filter:sepia(.2);mix-blend-mode:screen}.construction-grid{position:absolute;inset:0;width:100%;height:100%;z-index:1}.studio-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,var(--night),transparent 25%)}#studio-more{padding-top:22px;padding-right:18px;max-width:480px}#studio-more p{font-size:13px;line-height:1.9;color:#bbb9b1;margin-bottom:10px}.studio-social{display:inline-block;margin-top:10px;font-family:var(--narrow);font-size:12px;letter-spacing:2px;color:var(--red)}.contact{background:var(--red);color:var(--night);padding:25px 5% 28px;display:grid;grid-template-columns:1fr auto;gap:25px 60px;align-items:center}.contact h2{font-size:clamp(48px,7.8vw,112px);line-height:.97;letter-spacing:-1.5px}.contact-links{grid-column:1/-1;max-width:620px;border-top:1px solid #090a0966;padding-top:20px}.contact-links p{font-size:14px;margin-bottom:15px}.contact-links a{display:flex;justify-content:space-between;border-top:1px solid #090a0933;padding:14px 0;font-family:var(--narrow);font-size:20px;letter-spacing:1px}.contact-links a:hover{color:white}footer{padding:20px 5% 24px;display:flex;align-items:center;justify-content:space-between;gap:40px}footer>a>img{width:76px;height:75px;object-fit:contain}footer nav{display:flex;gap:45px}footer nav a{font-size:11px}footer>p{border-left:1px solid #76766b;padding:12px 0 12px 5%;font-family:var(--narrow);font-size:9px;letter-spacing:1.8px;line-height:1.8;color:#b8b6ae}footer>p span{font-size:8px;letter-spacing:1.3px;color:#84847b}.lightbox{width:min(1300px,96vw);max-width:96vw;max-height:95dvh;background:var(--night);color:var(--bone);border:1px solid #7b7a70;padding:47px 12px 12px;box-shadow:0 20px 100px #000b}.lightbox::backdrop{background:#050505ed}.lightbox img{width:100%;max-height:calc(95dvh - 95px);object-fit:contain}.lightbox p{font-family:var(--narrow);font-size:10px;letter-spacing:2px;margin-top:13px}.close-dialog{position:absolute;right:12px;top:10px;border:0;color:var(--bone);background:transparent;text-transform:uppercase;font-family:var(--narrow);font-size:14px;letter-spacing:2px;padding:3px 6px}.mobile-nav{padding:10px 6% 20px;border-bottom:1px solid var(--line);background:var(--night)}.mobile-nav a{display:block;padding:15px 0;font-family:var(--narrow);text-transform:uppercase;letter-spacing:2px;font-size:17px;border-bottom:1px solid #333}[hidden]{display:none!important}
@media(min-width:1800px){.hero{min-height:750px}.hero-content,.header,.contact,footer{padding-left:max(5%,calc((100vw - 1600px)/2));padding-right:max(5%,calc((100vw - 1600px)/2))}.section{padding-inline:max(3.3%,calc((100vw - 1660px)/2))}}
@media(max-width:1100px){.header{height:76px}.logo-link img{width:60px;height:59px}.hero{min-height:520px}.hero h1{font-size:108px;line-height:.96}.hero-content{padding-top:32px;padding-bottom:36px}.eyebrow{font-size:11px}.hero-description{font-size:15px}.hero .button{min-width:242px;min-height:49px;font-size:15px}.hero h1{margin-bottom:11px}.discipline-strip p{font-size:13px;letter-spacing:3px}.studio{min-height:255px}.studio-art{min-height:255px}.studio h2{font-size:45px}.studio-copy{padding-top:26px}.contact h2{font-size:83px}.contact .black{min-width:215px}.game-inner{gap:25px}.game-copy h3{font-size:36px}footer nav{gap:25px}footer>p{max-width:300px}.card-caption{padding-inline:14px}}
@media(max-width:700px){.header{height:77px;padding:5px 6%}.logo-link img{width:61px;height:60px}.header nav{display:none}.menu-button{display:flex;align-items:center;gap:24px;background:none;border:1px solid var(--red);color:var(--red);padding:9px 15px;font-family:var(--narrow);font-size:14px;letter-spacing:2px;text-transform:uppercase}.menu-button span{font-size:20px}.hero{min-height:600px;align-items:flex-start}.hero-image{object-position:62% center}.hero:after{background:linear-gradient(90deg,#090a09b0,transparent 100%),linear-gradient(180deg,#090a0922 50%,#090a09bb 100%)}.hero-content{padding:32px 6% 45px}.hero h1{font-size:clamp(75px,17.5vw,108px);max-width:100%;letter-spacing:-1px;line-height:1;margin-top:12px;margin-bottom:18px}.hero .eyebrow{font-size:10px;letter-spacing:2.4px}.hero-description{font-size:13px;max-width:270px;line-height:1.8;margin-bottom:22px}.hero .button{font-size:14px;min-width:230px;padding:13px 20px}.art-note{right:6%;bottom:14px;font-size:8px;letter-spacing:1.2px}.discipline-strip{padding:18px 4% 7px;gap:10px}.discipline-strip p{font-size:10px;letter-spacing:1.3px}.section{padding:27px 5% 28px}.section-intro{padding:0 0 20px}.section-intro .eyebrow{font-size:9px;letter-spacing:2px}.section-intro h2{font-size:clamp(29px,6.7vw,45px);margin:8px 0 8px;line-height:1.18}.section-intro>p:last-child{font-size:13px;line-height:1.7}.concept-grid{grid-template-columns:1fr;gap:20px}.card-image img{aspect-ratio:1.65}.concept-card:first-child img{object-position:70% center}.card-caption{padding:12px 13px}.card-caption strong{font-size:15px}.card-caption small{font-size:9px}.tag{font-size:9px;letter-spacing:1px;padding:6px 9px}.image-plus{opacity:1;transform:none;top:10px;right:10px;width:30px;height:30px;font-size:20px}.game-details{margin-top:23px}.game-details summary{padding:17px 0}.game-details summary strong{font-size:25px}.game-details summary small{font-size:8px;letter-spacing:1.4px}.game-summary-right{font-size:9px;letter-spacing:1px;gap:13px}.details-plus{font-size:25px}.game-inner{grid-template-columns:1fr;padding:0 0 25px;gap:25px}.game-copy h3{font-size:42px}.game-copy>p:not(.eyebrow):not(.release){max-width:100%;font-size:13px}.studio{grid-template-columns:1fr;min-height:480px}.studio-copy{padding:29px 6% 31px}.studio h2{font-size:clamp(38px,9vw,53px);line-height:1.13;max-width:85%}.studio .eyebrow{font-size:10px}.studio-art{min-height:245px;position:relative;z-index:-1}.studio-art>img{width:94%;left:20%;top:20%;transform:translateY(-26%)}.studio-art:after{background:linear-gradient(180deg,var(--night),transparent 30%)}.construction-grid{opacity:.8}.studio #studio-more{padding-right:0;max-width:100%}.contact{padding:27px 6% 30px;grid-template-columns:1fr;gap:23px}.contact h2{font-size:clamp(49px,12.8vw,80px);letter-spacing:-.8px}.contact .black{justify-self:start;min-width:210px;min-height:51px;font-size:17px}.contact-links{width:100%}.contact-links p{font-size:13px}.contact-links a{font-size:18px}footer{padding:24px 6%;display:grid;grid-template-columns:70px 1fr;gap:22px}footer>a>img{width:62px;height:61px}footer nav{justify-content:flex-end;gap:20px}footer nav a{font-size:10px;letter-spacing:1.5px}footer>p{grid-column:1/-1;max-width:none;border-left:0;border-top:1px solid var(--line);padding:16px 0 0;font-size:9px}.lightbox{padding-top:45px}.lightbox p{font-size:9px;letter-spacing:1px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
.concept-card:first-child .card-image img{aspect-ratio:16/9;object-position:center;transform:scale(1);transform-origin:center}.concept-card:first-child:hover .card-image img{transform:scale(1.03)}
img{height:auto}
/* Portada de Vespertales: conserva el protagonista a la derecha. */
.hero-image{object-position:65% 50%}
.hero:after{background:linear-gradient(90deg,#090a09ed 0%,#090a09b0 24%,#090a0933 45%,transparent 68%),linear-gradient(0deg,#090a0977,transparent 23%)}
@media(max-width:700px){.hero{min-height:760px}.hero-image{top:auto;bottom:0;height:66%;object-position:73% 50%}.hero:after{background:linear-gradient(180deg,#090a09 0%,#090a09 27%,#090a09d9 39%,#090a0933 61%,#090a0922 84%,#090a09bb 100%)}.hero-content{padding-bottom:45px}.art-note{bottom:14px}}
/* Navegación: Inter Semibold, como el header de Riot Games. */
.header nav>a{font-family:'Inter',Arial,sans-serif;font-size:14px;line-height:1.2;font-weight:600;letter-spacing:.6px}
.mobile-nav a{font-family:'Inter',Arial,sans-serif;font-size:16px;font-weight:600;letter-spacing:1.28px}
/* Navegación junto al logo; contacto destacado en el extremo derecho. */
@media(min-width:701px){
  .header{justify-content:flex-start;gap:44px}
  .header nav{flex:1;min-width:0;gap:32px}
  .header nav .nav-contact,.header nav .outline{margin-left:auto}
}
/* Vespertales tiene un capítulo propio, siempre abierto. */
.vespertales-section{padding-top:48px;padding-bottom:60px;border-top:1px solid var(--line)}
.vespertales-section .section-intro{padding-bottom:32px}
.vespertales-section .game-inner{grid-template-columns:1.25fr 1fr;align-items:center;padding:0 1.8%;gap:48px}
.vespertales-section .game-screenshot{align-self:center}
.vespertales-section .game-copy h3{font-size:40px}
@media(max-width:700px){.vespertales-section{padding-top:32px;padding-bottom:38px}.vespertales-section .section-intro{padding-bottom:25px}.vespertales-section .game-inner{grid-template-columns:1fr;padding:0;gap:27px}.vespertales-section .game-copy h3{font-size:36px}}
/* Footer inspirado en la distribución de Riot, con los enlaces de Nebli. */
.site-footer{display:block;padding:34px 4% 29px;background:#252423;color:#b6b4af}
.site-footer .footer-top{display:flex;align-items:center;gap:34px;padding-bottom:33px}
.site-footer .footer-brand{display:block;flex:0 0 auto}
.site-footer .footer-brand img{width:54px;height:54px;object-fit:contain;opacity:.7;transition:opacity .2s}
.site-footer .footer-brand:hover img{opacity:1}
.site-footer .footer-nav{display:flex;flex:1;flex-wrap:wrap;align-items:center;gap:18px 28px}
.site-footer .footer-nav a{font-family:'Inter',Arial,sans-serif;font-size:11px;line-height:1.5;font-weight:600;letter-spacing:.2px;color:#cfcdc8;text-transform:uppercase;padding:8px 0}
.site-footer .footer-nav a:hover{color:var(--bone)}
.site-footer .footer-socials{display:flex;align-items:center;gap:6px;margin-left:auto}
.site-footer .footer-socials a{display:grid;place-items:center;width:40px;height:40px;color:#c4c2bd;transition:color .2s,background .2s;border-radius:6px}
.site-footer .footer-socials a:hover{color:white;background:#ffffff0c}
.site-footer .footer-socials svg{display:block}
.site-footer .footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:25px;border-top:1px solid #ffffff18;padding-top:25px}
.site-footer .footer-credits p{font-family:'Inter',Arial,sans-serif;font-size:11px;line-height:1.7;letter-spacing:0;color:#a3a19c}
.site-footer .footer-credits .footer-art-note{font-size:10px;color:#7f7e79;margin-top:4px}
.site-footer .footer-back{display:inline-flex;align-items:center;gap:13px;flex-shrink:0;font-family:'Inter',Arial,sans-serif;font-size:11px;font-weight:500;letter-spacing:.2px;text-transform:uppercase;padding:10px 0;color:#bbb9b4}
.site-footer .footer-back:hover{color:var(--bone)}
@media(max-width:700px){.site-footer{padding:28px 6%}.site-footer .footer-top{flex-wrap:wrap;gap:20px;padding-bottom:25px}.site-footer .footer-brand img{width:50px;height:50px}.site-footer .footer-nav{order:3;flex-basis:100%;justify-content:flex-start;gap:12px 23px}.site-footer .footer-nav a{font-size:10px}.site-footer .footer-socials{margin-left:auto}.site-footer .footer-bottom{align-items:flex-start;gap:20px;flex-wrap:wrap;padding-top:20px}.site-footer .footer-credits p{font-size:10px}.site-footer .footer-credits .footer-art-note{font-size:9px}.site-footer .footer-back{font-size:10px;padding:0}}
/* Sélection de langue, toujours disponible sur desktop et mobile. */
.language-switch{display:flex;align-items:center;gap:3px;flex-shrink:0;font-family:'Inter',Arial,sans-serif;font-size:11px;color:#77766e}
.language-switch button{display:grid;place-items:center;min-width:34px;min-height:44px;padding:0 5px;border:0;background:transparent;color:#8f8d85;font:inherit;font-weight:600;letter-spacing:.4px;cursor:pointer}
.language-switch button[aria-pressed="true"]{color:var(--bone)}
.language-switch button:hover{color:var(--red)}
@media(min-width:701px){.header{gap:32px}.header .language-switch{margin-left:-12px}}
@media(max-width:700px){.header{gap:14px}.language-switch{margin-left:auto}.menu-button{gap:12px;padding-inline:11px}.header .logo-link{flex-shrink:0}}
@media(min-width:701px) and (max-width:850px){.header{gap:20px;padding-inline:4%}.header nav{gap:18px}.header nav .outline{padding:10px 14px}.header .language-switch{margin-left:0}}
/* Conserva la silueta del logo Group y lo presenta en blanco. */
.logo-link img,.site-footer .footer-brand img{filter:brightness(0) invert(1)}
.site-footer .footer-brand img{opacity:1}

/* Vespertales identity above the game details. */
.vespertales-section .game-logo{width:320px;max-width:100%;height:auto;margin:0 0 24px}
@media(max-width:700px){.vespertales-section .game-logo{width:280px;margin-bottom:22px}}
/* Prueba: acercamiento de cámara controlado por la posición del scroll. */
.hero-scroll-scene{position:relative}
.hero-scroll-hint{display:none;position:absolute;left:5%;bottom:23px;align-items:center;gap:13px;font-family:var(--narrow);font-size:10px;letter-spacing:2px;color:#f2f0ebad;pointer-events:none}
.hero-scroll-track{width:75px;height:1px;background:#f2f0eb33;overflow:hidden}
.hero-scroll-track>span{display:block;width:100%;height:100%;background:var(--red);transform-origin:left;transform:scaleX(var(--hero-progress,0))}
.hero-motion-ready .hero-scroll-hint{display:flex}
.hero-motion-ready .hero-content,.hero-motion-ready .hero-image{will-change:transform,opacity}
.hero-motion-ready .hero-image{transform-origin:70% 76%}
.hero-motion-ready .hero:after{opacity:calc(1 - var(--hero-progress,0) * .65)}
@media(max-width:700px),(prefers-reduced-motion:reduce){.hero-scroll-hint{display:none!important}}
/* Cuatro planos: cielo, ciudad, terraza con personajes y vegetación cercana. */
.hero-depth-stage{position:absolute;z-index:-3;pointer-events:none;opacity:0;isolation:isolate}
.hero-depth-stage img{position:absolute;inset:0;width:100%;height:100%;max-width:none;transform-origin:56% 46%;will-change:transform}
.hero-depth-stage .depth-sky{z-index:0}
.hero-depth-stage .depth-city{z-index:1}
.hero-depth-stage .depth-terrace{z-index:2}
.hero-depth-stage .depth-foliage{z-index:3}
@media(max-width:700px),(prefers-reduced-motion:reduce){.hero-depth-stage{display:none}}
/* Stable stacking: one visible scene, without negative animated layers or scroll crossfades. */
.hero .hero-image{z-index:0}
.hero .hero-depth-stage{z-index:1}
.hero:after{z-index:2;pointer-events:none}
.hero-content,.hero-scroll-hint,.hero .art-note{position:relative;z-index:3}
.hero .hero-scroll-hint,.hero .art-note{position:absolute}
.hero-motion-ready .hero-image{opacity:0;will-change:auto}
.hero-motion-ready .hero-depth-stage{opacity:1}
.hero-motion-ready .hero:after{opacity:.65}
.hero-depth-stage img{transform:translate3d(0,0,0);backface-visibility:hidden}
.hero-motion-ready .hero-content{backface-visibility:hidden}
/* Animate while the hero leaves the viewport, with normal document scrolling. */
@supports (animation-timeline:view()) and (animation-range:exit 0% exit 250px){
  .hero-native-scroll .hero-scroll-scene{view-timeline-name:--hero-depth-scroll;view-timeline-axis:block;view-timeline-inset:var(--hero-header-height,91px) 0px}
  .hero-native-scroll .hero-depth-stage img{animation:hero-plane-move 1s cubic-bezier(.215,.61,.355,1) both,hero-plane-drift 1s linear both;animation-timeline:--hero-depth-scroll,--hero-depth-scroll;animation-range:exit 0% exit 250px,exit 0% exit 100%}
  .depth-sky{--plane-drift:.45;--plane-x:-.048%;--plane-scale:1.0048}
  .depth-city{--plane-drift:.28;--plane-x:-.42%;--plane-scale:1.042}
  .depth-terrace{--plane-drift:.08;--plane-x:-1.68%;--plane-scale:1.168}
  .depth-foliage{--plane-drift:0;--plane-x:-2.88%;--plane-scale:1.288}
  .hero-native-scroll .hero-scroll-track>span{animation:hero-scroll-progress 1s linear both;animation-timeline:--hero-depth-scroll;animation-range:exit 0% exit 250px}
}
@keyframes hero-plane-move{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(var(--plane-x),0,0) scale(var(--plane-scale))}}
@keyframes hero-scroll-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* Independent left-hand darkness keeps the title legible over every depth plane. */
.hero:after{background:linear-gradient(0deg,#090a0966,transparent 25%)}
.hero-shade{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(90deg,rgba(5,7,15,.96) 0%,rgba(5,7,15,.85) 20%,rgba(7,9,20,.58) 36%,rgba(7,9,20,.17) 53%,transparent 70%)}
@media(max-width:700px){.hero-shade{background:linear-gradient(90deg,rgba(5,7,15,.9),rgba(5,7,15,.65) 38%,rgba(7,9,20,.12) 80%,transparent)}}

/* Distant planes lag behind the page; the terrace and characters stay together. */
@keyframes hero-plane-drift{from{translate:0 0}to{translate:0 calc(var(--hero-height) * var(--plane-drift))}}

/* Keep navigation available and section anchors clear of the header. */
:root{--header-height:91px}
html{scroll-padding-top:calc(var(--header-height) + 20px)}
.header{position:sticky;top:0;z-index:50}
.mobile-nav{position:fixed;top:var(--header-height);left:0;right:0;z-index:49;max-height:calc(100dvh - var(--header-height));overflow-y:auto}
@media(max-width:1100px){:root{--header-height:76px}}
@media(max-width:700px){:root{--header-height:77px}}

/* Trial: a longer shadow sweep remains visible while the hero exits. */
.hero-shade:after{content:'';position:absolute;inset:0 auto 0 0;width:150%;background:linear-gradient(90deg,var(--night) 0%,var(--night) 75%,transparent 100%);transform:translate3d(-100%,0,0)}
.hero-motion-ready .hero-shade:after{transform:translate3d(calc(-100% + var(--hero-shadow-progress,0) * 100%),0,0);will-change:transform}
@supports (animation-timeline:view()) and (animation-range:exit 0% exit 250px){
  .hero-native-scroll .hero-shade:after{animation:hero-shadow-close 1s cubic-bezier(.4,0,.2,1) both;animation-timeline:--hero-depth-scroll;animation-range:exit 40% exit 90%}
}
@keyframes hero-shadow-close{from{transform:translate3d(-100%,0,0)}to{transform:translate3d(0,0,0)}}

.vespertales-section .vt-discover{margin-top:22px;font-size:14px;min-height:46px;padding:12px 24px}

/* Página actual en la navegación: marcada y no clickeable. */
.header nav{align-self:stretch}
.header nav>a:not(.button){color:#b8b6ae;transition:color .18s}
.header nav>a:not(.button):hover{color:var(--bone)}
.header nav .nav-current{position:relative;align-self:stretch;display:flex;align-items:center;font-family:'Inter',Arial,sans-serif;font-size:14px;line-height:1.2;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:var(--bone);cursor:default}
.header nav .nav-current:after{content:'';position:absolute;left:0;right:0;bottom:-6px;height:3px;background:var(--red)}
.mobile-nav .nav-current{display:block;padding:15px 0 15px 12px;border-bottom:1px solid #333;border-left:3px solid var(--red);font-family:'Inter',Arial,sans-serif;font-size:16px;font-weight:600;letter-spacing:1.28px;text-transform:uppercase;color:var(--red)}
