/* Approved vivid-red/ivory welcome. Media and avatar retain fixed dimensions. */
#inicio.hero{--scene-paper:#fffaf3;max-width:1440px;width:100%;margin:0 auto;padding:0;background:var(--scene-paper);overflow:hidden;isolation:isolate}
#inicio .bahia-atmosphere,#inicio .commerce-background,#inicio .hero-kicker,#inicio .avatar-caption,#inicio .world-entry-links,#inicio .welcome-line,#inicio .film-bottom{display:none!important}
#inicio .clean-hero-grid{display:block;position:relative;width:100%;height:760px;min-height:760px;margin:0;padding:0;overflow:visible;aspect-ratio:auto}
#inicio .hero-copy{display:block!important;visibility:visible!important;position:absolute;inset:100px auto auto 5%;width:35%;padding:0;margin:0;text-align:left;z-index:4;pointer-events:none}
#inicio .hero-copy>.tiny{display:block;font-size:10px;letter-spacing:.2em;color:#68615b;margin:0 0 20px}
#inicio .hero-copy h1{font-size:clamp(48px,5.2vw,76px);line-height:1.02;letter-spacing:-.065em;text-align:left;margin:0 0 25px;max-width:none}
#inicio .hero-copy h1>span{white-space:nowrap}#inicio .hero-copy h1 br{display:block}#inicio .hero-copy h1 i{color:#ff1f26}
#inicio .hero-narrative{min-height:0;max-width:360px;margin:0}#inicio .narrative-idle{font-size:16px;line-height:1.65;margin:0;color:#615b57}
#inicio .character-wrap,#inicio.is-film .character-wrap,#inicio.is-film[data-film] .character-wrap{position:absolute;inset:200px auto auto 52%;width:29%;max-width:390px;min-width:0;height:auto;margin:0;padding:0;transform:translate(-50%,var(--avatar-float,0px));background:none;filter:none!important;box-shadow:none;z-index:8;animation:none!important;transition:none;grid-column:auto;grid-row:auto;overflow:visible}
#inicio .avatar-sprite{display:block;position:relative;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:1;padding:0;margin:0;border:0;border-radius:0;background:transparent url('assets/welcome-v12/avatar.webp') left top/200% 100% no-repeat;box-shadow:none!important;filter:none!important;animation:none;overflow:visible;cursor:pointer;transform-origin:50% 60%}
#inicio .avatar-sprite:focus-visible{outline:2px solid #292624;outline-offset:8px}
#inicio .avatar-mouth{display:none!important}.avatar-hair{position:absolute;inset:0;background:url('assets/welcome-v12/avatar.webp') left top/200% 100% no-repeat;pointer-events:none;z-index:1;animation:hairDrift 2.8s ease-in-out infinite alternate;animation-play-state:paused}
.hair-left{clip-path:polygon(0 49%,24% 48%,29% 65%,48% 92%,18% 100%,0 100%);transform-origin:26% 50%}.hair-right{clip-path:polygon(76% 48%,100% 49%,100% 100%,81% 100%,53% 91%,71% 67%);transform-origin:75% 49%;animation-delay:-1.4s;animation-direction:alternate-reverse}
#inicio .voice-playing .avatar-hair{animation-play-state:running}#inicio .mouth-open .avatar-sprite{background-position:100% 0}
#inicio .welcome-film,#inicio .film-scene{position:absolute;inset:0;display:block;background:none;z-index:1}.phone-scene{position:absolute;inset:0;overflow:hidden;perspective:1200px}
#inicio .phone-world{position:absolute;top:95px;right:6%;width:23%;max-width:285px;aspect-ratio:9/16;z-index:3;perspective:1000px;isolation:isolate}
#inicio .device-phone{position:absolute;inset:0;width:100%;height:100%;padding:6px;border:2px solid #b5aea3;border-radius:32px;background:linear-gradient(110deg,#f5f0e9,#8a847c 7%,#d8d0c5 14%,#f8f5f1 85%,#625e56);box-shadow:4px 1px 0 #736e66,6px 2px 0 #ddd6cb;z-index:3;transform:rotateY(-8deg);transform-origin:50% 70%;animation:none!important}
#inicio .device-screen{position:relative;overflow:hidden;width:100%;height:100%;border-radius:24px;background:var(--scene-paper);isolation:isolate}
.phone-ground{position:absolute;bottom:-31px;left:-17%;width:143%;height:27px;background:radial-gradient(ellipse,#332e2866,transparent 71%);border-radius:50%;filter:blur(4px);pointer-events:none;z-index:0}
.reel-stack,.reel-layer{position:absolute;inset:0;overflow:hidden}.reel-layer{isolation:isolate;background:#eee5d8}.reel-poster,#inicio .device-screen .reel-clip{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;background:none}
.reel-incoming{animation:reelEnter .24s cubic-bezier(.22,.61,.36,1) both;z-index:2}.reel-outgoing{animation:reelLeave .24s cubic-bezier(.22,.61,.36,1) both;z-index:1}
.device-lens{position:absolute;top:7px;left:50%;transform:translateX(-50%);width:38%;height:13px;border-radius:0 0 12px 12px;background:#282622;z-index:4}.device-home{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);height:3px;width:26%;background:#f5f2e6aa;z-index:4;border-radius:4px}
.reel-light{position:absolute;top:-25%;left:-45%;width:28%;height:160%;background:linear-gradient(90deg,transparent,#fff7eeb0,transparent);filter:blur(7px);transform:skewX(-18deg);z-index:3;pointer-events:none;mix-blend-mode:screen;opacity:0}
.commerce-card{position:absolute;width:92px;min-height:88px;padding:10px 7px;border:1px solid #fff;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:linear-gradient(135deg,#fffffff5,#ffffff9c);box-shadow:0 8px 15px #51463815,inset 1px 1px 0 #fff;backdrop-filter:blur(5px);color:#806a56;pointer-events:none;will-change:transform,opacity}
.commerce-card img{display:block;width:32px;height:32px;object-fit:contain;filter:none}.commerce-card span{display:block;width:100%;text-align:center;font-size:12px;line-height:1.2;white-space:normal;overflow-wrap:break-word;color:#554637}.commerce-card.editorial-card{background:linear-gradient(145deg,#ff3437,#ee1c25);color:#fff8ef;min-height:100px}.editorial-card small{font-size:11px;letter-spacing:1px}.editorial-card b{font:25px Georgia,serif;letter-spacing:-1px}
.phone-editorial{position:absolute;inset:0;padding:36px 18px 24px;background:#fff5e8;color:#ed252a;display:flex;flex-direction:column;gap:20px}.phone-editorial>span{font-size:13px;letter-spacing:4px}.phone-editorial strong{font:clamp(30px,4vw,58px) Georgia,serif;letter-spacing:-2px}.phone-editorial i{height:1px;background:#ed252a}.phone-editorial b{font:clamp(26px,3.1vw,43px) Georgia,serif;line-height:1.08}.phone-editorial small{font-size:13px;line-height:1.5;color:#534034}
.narrative-phase{position:absolute;left:5%;top:430px;width:30%;z-index:4;text-align:left}.phase-eyebrow{display:block;color:#69615b;font-size:10px;letter-spacing:.14em;font-weight:700;margin-bottom:10px}.narrative-phase .phase-title{font-size:clamp(22px,2.1vw,31px);line-height:1.13;letter-spacing:-1px;color:#292624;margin:0}.narrative-phase .phase-note{font-size:14px;line-height:1.6;color:#615b57;margin-top:12px}
#inicio .voice-controls{position:absolute;bottom:25px;left:5%;right:5%;width:auto;height:auto;display:flex!important;align-items:center;flex-wrap:wrap;gap:14px;padding:0;background:none;border:0;box-shadow:none;z-index:10;font-size:13px;color:#635a50;transform:none}
#inicio .voice-controls[hidden]{display:none!important}#inicio .voice-bars{display:none}#inicio #voice-status{margin-right:auto;line-height:1.4}#inicio .voice-controls button{border:1px solid #c8beb2;border-radius:9px;padding:10px 14px;min-height:44px;font:13px Arial,sans-serif;background:#fffaf3;color:#302922;cursor:pointer}#inicio #voice-pause{background:#ff1f26;border-color:#ff1f26;color:#fff}#inicio .voice-controls button:focus-visible{outline:2px solid #292624;outline-offset:3px}
#inicio.film-paused .avatar-hair,#inicio.film-paused .reel-incoming,#inicio.film-paused .reel-outgoing{animation-play-state:paused!important}
@keyframes hairDrift{from{transform:rotate(-.35deg)}to{transform:rotate(.5deg)}}@keyframes reelEnter{from{opacity:.6;transform:translateY(9%)}to{opacity:1;transform:translateY(0)}}@keyframes reelLeave{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-9%)}}
@media(min-width:761px) and (max-width:1050px){#inicio .clean-hero-grid{height:690px;min-height:690px}#inicio .hero-copy{top:70px;width:35%}#inicio .hero-copy h1{font-size:clamp(38px,5.1vw,54px)}#inicio .narrative-idle{font-size:14px}#inicio .character-wrap,#inicio.is-film .character-wrap,#inicio.is-film[data-film] .character-wrap{top:220px;width:28%;left:50%}#inicio .phone-world{top:100px;right:6%;width:23%}.narrative-phase{top:345px;width:31%}.narrative-phase .phase-note{font-size:12px}.commerce-card{width:80px;min-height:78px;padding:8px 6px}.commerce-card span{font-size:11px}.commerce-card img{width:28px;height:28px}.phone-editorial{padding:28px 12px;gap:15px}.phone-editorial strong{font-size:36px}.phone-editorial b{font-size:28px}}
@media(max-width:760px){#inicio .clean-hero-grid{height:800px;min-height:800px}#inicio .hero-copy{top:32px;left:6%;right:6%;width:auto}#inicio .hero-copy h1{font-size:clamp(39px,9.8vw,65px);line-height:1.02;max-width:none;margin-bottom:17px}#inicio .hero-copy>.tiny{font-size:9px;margin-bottom:14px}#inicio .hero-narrative{max-width:420px}#inicio .narrative-idle{font-size:14px;line-height:1.55}#inicio .character-wrap,#inicio.is-film .character-wrap,#inicio.is-film[data-film] .character-wrap{top:330px;left:26%;width:46%;max-width:285px}#inicio .phone-world{top:300px;right:7%;width:36%;max-width:235px}#inicio .device-phone{padding:5px;border-radius:24px}#inicio .device-screen{border-radius:17px}.device-lens{top:6px;height:9px;border-radius:0 0 8px 8px}.device-home{bottom:10px;height:2px}.phone-ground{bottom:-23px;height:20px;filter:blur(3px)}.commerce-card{width:68px;min-height:70px;padding:7px 5px;gap:5px}.commerce-card img{width:24px;height:24px}.commerce-card span{font-size:11px}.commerce-card.editorial-card{min-height:78px}.editorial-card b{font-size:19px}.phone-editorial{padding:27px 10px 14px;gap:13px}.phone-editorial>span{font-size:11px;letter-spacing:2px}.phone-editorial strong{font-size:30px;letter-spacing:-1.5px}.phone-editorial b{font-size:24px}.phone-editorial small{font-size:11px}.narrative-phase{left:6%;top:605px;width:84%;text-align:left}.narrative-phase .phase-title{font-size:24px;max-width:420px}.phase-eyebrow{font-size:9px;margin-bottom:8px}.narrative-phase .phase-note{display:none}#inicio .voice-controls{left:6%;right:6%;bottom:20px;gap:10px}#inicio #voice-status{flex-basis:100%;font-size:12px}#inicio .voice-controls button{flex:1}}
@media(max-width:360px){#inicio .clean-hero-grid{height:760px;min-height:760px}#inicio .hero-copy h1{font-size:37px}#inicio .narrative-idle{font-size:13px}#inicio .character-wrap,#inicio.is-film .character-wrap,#inicio.is-film[data-film] .character-wrap{top:325px}#inicio .phone-world{top:305px}.narrative-phase{top:555px}.narrative-phase .phase-title{font-size:22px}.commerce-card{width:62px;min-height:65px;padding:6px 4px}.commerce-card img{width:21px;height:21px}}
@media(prefers-reduced-motion:reduce){.avatar-hair,.reel-incoming,.reel-outgoing{animation:none!important}.commerce-card{will-change:auto}}
@media(min-width:441px) and (max-width:760px){#inicio .clean-hero-grid{height:950px;min-height:950px}#inicio .phone-world{top:325px;width:35%;max-width:230px}#inicio .character-wrap,#inicio.is-film .character-wrap,#inicio.is-film[data-film] .character-wrap{top:380px;left:26%;width:43%;max-width:300px}.narrative-phase{top:770px}}
/* Clear the legacy visually-hidden voice panel, including its focus-only layout. */
#inicio .clean-hero-grid>.voice-controls,#inicio .voice-controls:not(:focus-within),#inicio .voice-controls:focus-within{position:absolute!important;top:auto!important;bottom:25px!important;left:5%!important;right:5%!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important;clip-path:none!important;white-space:normal!important;max-width:none;justify-content:flex-start;border:0!important}
@media(max-width:760px){#inicio .clean-hero-grid>.voice-controls,#inicio .voice-controls:not(:focus-within),#inicio .voice-controls:focus-within{bottom:20px!important;left:6%!important;right:6%!important}}
/* Each shot stays crisp: the light sweep bridges cuts without double faces. */
@keyframes reelEnter{from{transform:translateY(3%)}to{transform:translateY(0)}}

/* The face is the audio control; keep the welcome free of button panels. */
#inicio .voice-controls,#inicio .voice-controls:not(:focus-within),#inicio .voice-controls:focus-within{display:none!important}
#inicio .commerce-card.location-below{width:110px;min-height:38px;padding:7px 10px;flex-direction:row;gap:7px;backdrop-filter:none;box-shadow:0 5px 12px #51463810}
#inicio .location-below img{width:22px;height:22px}#inicio .location-below span{width:auto}
#inicio .device-screen .reel-clip,#inicio .device-screen .reel-poster{object-fit:contain}
@media(max-width:440px){#inicio .narrative-phase{top:635px}}
@media(max-width:360px){#inicio .narrative-phase{top:605px}}

/* Center the magazine as a strong, readable editorial cover. */
#inicio .phone-editorial{justify-content:center;align-items:center;text-align:center;padding:34px 16px;gap:22px;font-family:Arial,Helvetica,sans-serif}
#inicio .phone-editorial>span{font-weight:700;letter-spacing:.22em;font-size:12px}
#inicio .phone-editorial strong{font-family:'Arial Black',Arial,Helvetica,sans-serif;font-weight:900;font-size:clamp(30px,3.4vw,47px);letter-spacing:-.055em;line-height:1.05;width:100%;text-align:center}
#inicio .phone-editorial i{flex-shrink:0;width:80%;height:2px}
#inicio .phone-editorial b{font-family:'Arial Black',Arial,Helvetica,sans-serif;font-weight:900;font-size:clamp(22px,2.25vw,31px);line-height:1.15;letter-spacing:-.04em;text-align:center;width:100%}
#inicio .phone-editorial small{font:12px/1.6 Arial,Helvetica,sans-serif;text-align:center}
#inicio .editorial-card b{font-family:'Arial Black',Arial,Helvetica,sans-serif;font-weight:900;font-size:22px;letter-spacing:-.05em}
@media(max-width:760px){#inicio .phone-editorial{padding:23px 9px;gap:15px}#inicio .phone-editorial>span{font-size:9px}#inicio .phone-editorial strong{font-size:clamp(23px,6.5vw,37px)}#inicio .phone-editorial b{font-size:clamp(17px,4.7vw,26px)}#inicio .phone-editorial small{font-size:10px}#inicio .editorial-card b{font-size:18px}}

#inicio .avatar-eyelids{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;overflow:visible}#inicio .eye-lid{opacity:0}#inicio .mouth-open .avatar-eyelids{transform:translateX(.5%)}

#inicio .device-screen .reel-clip,#inicio .device-screen .reel-poster{object-fit:cover!important;object-position:50% 50%;width:100%;height:100%;inset:0}
