/* Approved mobile composition, isolated from the desktop hero. */
.mobile-hero{display:none}
@media(max-width:700px){
.hero-scroll-scene{display:none}
.mobile-hero{display:block;position:relative;height:clamp(720px,calc(100svh - var(--mobile-header-height,77px)),850px);overflow:hidden;isolation:isolate;background:#171c43;border-bottom:1px solid var(--red);--p:0}.mobile-hero [aria-hidden=true]{pointer-events:none}.mobile-atmosphere{position:absolute;inset:-6%;background:#171c43 url('img/hero-affinity/ambiente-extendido.webp') 40% center/cover;z-index:0}.mobile-sky{position:absolute;inset:0;z-index:1;transform-origin:78% 25%}.mobile-sky>img{position:absolute;max-width:none;width:var(--sky-width);left:var(--sky-left);top:40px;mask-image:linear-gradient(transparent,#000 12%,#000 70%,transparent)}
.mobile-city,.mobile-terrace{position:absolute;max-width:none;pointer-events:none;transform-origin:72% 60%}.mobile-city{width:var(--city-width);height:var(--city-height);left:var(--city-left);top:var(--city-top);z-index:2}.city-camera,.child-float{position:absolute;inset:0}.city-camera>img,.child-float>img{position:absolute;inset:0;width:100%;height:100%;max-width:none}.city-camera{mask-image:linear-gradient(#000 75%,transparent)}.portal-patch{clip-path:inset(17.3% 46.7% 73.6% 48.6% round 10px)}.child-float{z-index:1}.floating-child{clip-path:inset(16% 46% 73% 48%)}.mobile-terrace{z-index:3;left:var(--terrace-left);top:var(--terrace-top);width:var(--terrace-width);height:var(--terrace-height);transform-origin:72% 76%}.mobile-terrace>img{width:100%;height:100%;max-width:none}.mobile-fog{position:absolute;z-index:4;inset:auto -10% -5%;height:40%;opacity:.4;transform-origin:center bottom;mask-image:linear-gradient(transparent,#000 90%)}.mobile-fog img{width:100%;height:100%;object-fit:fill}.mobile-leaves{position:absolute;z-index:5;left:-15%;bottom:-10%;width:130%;height:30%;filter:brightness(.4);transform-origin:center bottom}.mobile-leaves img{width:100%;height:100%;object-fit:fill}.mobile-shade{position:absolute;inset:0;z-index:6;background:linear-gradient(90deg,#060915b8 0%,#06091585 35%,#0609150a 70%,transparent),linear-gradient(180deg,#0507194d,transparent 65%)}.mobile-exit{position:absolute;inset:0;z-index:7;opacity:0;background:linear-gradient(180deg,#090a091a,#090a09)}.mobile-copy{position:relative;z-index:8;padding:36px 6% 0;max-width:82%;transform-origin:left top}.mobile-hero .eyebrow{font:10px 'Barlow Condensed',sans-serif;letter-spacing:2.3px;margin:0 0 14px}.mobile-copy h1{font:400 clamp(58px,16.4vw,86px)/1.02 'Anton',Impact,sans-serif;letter-spacing:-1px;margin:0 0 18px}.mobile-copy h1 span{display:block}.mobile-copy .red{color:var(--red)}.mobile-copy .description{font:13px/1.65 'DM Sans',sans-serif;max-width:210px;margin:0 0 18px;text-wrap:balance}.mobile-copy .explore{display:inline-flex;gap:18px;align-items:center;justify-content:space-between;background:var(--red);padding:14px 17px;min-height:46px;font:600 12px 'Barlow Condensed',sans-serif;letter-spacing:1.3px}.mobile-copy .explore>span:last-child{font-size:18px}.mobile-hero .art-note{position:absolute;bottom:17px;right:6%;z-index:9;font:8px 'Barlow Condensed',sans-serif;letter-spacing:1.5px;margin:0;opacity:.65}
/* One ordinary scroll timeline, from the first pixel of scrolling. No pinning. */
.mobile-hero-native .mobile-hero{view-timeline-name:--mobile;view-timeline-axis:block;view-timeline-inset:var(--mobile-header-height,77px) 0px}.mobile-hero-native .mobile-sky{animation:sky-retreat 1s linear both;animation-timeline:--mobile;animation-range:exit 0% exit 85%}.mobile-hero-native .mobile-city{animation:city-retreat 1s linear both;animation-timeline:--mobile;animation-range:exit 0% exit 85%}.mobile-hero-native .mobile-terrace{animation:terrace-forward 1s linear both;animation-timeline:--mobile;animation-range:exit 0% exit 85%}.mobile-hero-native .child-float{animation:child-hover 1s ease-in-out both;animation-timeline:--mobile;animation-range:exit 0% exit 75%}.mobile-hero-native .mobile-leaves{animation:leaves-in 1s linear both;animation-timeline:--mobile;animation-range:exit 0% exit 90%}.mobile-hero-native .mobile-fog{animation:fog-in 1s linear both;animation-timeline:--mobile;animation-range:exit 0% exit 85%}.mobile-hero-native .mobile-copy{animation:copy-out 1s linear both;animation-timeline:--mobile;animation-range:exit 0% exit 65%}.mobile-hero-native .mobile-exit{animation:exit-dark 1s linear both;animation-timeline:--mobile;animation-range:exit 35% exit 100%}
@keyframes sky-retreat{from{transform:translateY(0) scale(1.04)}to{transform:translateY(45px) scale(.99)}}@keyframes city-retreat{from{transform:translateY(0) scale(1.04)}to{transform:translateY(76px) scale(.96)}}@keyframes terrace-forward{from{transform:translateY(0) scale(1)}to{transform:translateY(42px) scale(1.055)}}@keyframes child-hover{0%,50%,100%{transform:translateY(0)}25%,75%{transform:translateY(-7px)}}@keyframes leaves-in{from{transform:translateY(25%) scale(1.08)}to{transform:translateY(-8%) scale(1.03)}}@keyframes fog-in{from{transform:translateY(15%)}to{transform:translateY(-7%)}}@keyframes copy-out{from{opacity:1}to{opacity:.08}}@keyframes exit-dark{from{opacity:0}to{opacity:.92}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.mobile-hero *{animation:none!important;transform:none!important}}
/* The original column enters from outside a landscape crop; blend its upper cut only. */
.mobile-terrace>img{mask-image:linear-gradient(180deg,transparent 0%,#000 14%)}

}

@media(max-width:700px){.mobile-copy .explore{text-transform:uppercase}}

@media(max-width:700px){
.mobile-terrace>img{position:absolute;inset:0;mask-image:none}
.mobile-terrace>.extended-terrace{height:125%;bottom:auto}
.mobile-terrace{transform-origin:60% 90%}
.city-camera .native-portal{z-index:1}.city-camera .native-trees{z-index:2}
}
@media(max-width:700px){.city-camera{mask-image:linear-gradient(180deg,transparent,#000 12%,#000 78%,transparent)}}

@media(max-width:700px){.city-camera .affinity-child{position:absolute;inset:5.5% auto auto 29.8%;width:3.6%;height:8.43%;z-index:3}.affinity-child .native-floating-child{width:100%;height:100%;object-fit:contain;clip-path:none}}

@media(max-width:700px){.city-camera .affinity-child,.mobile-hero-native .city-camera .affinity-child{animation:ambient-child-hover 4.5s ease-in-out infinite;animation-timeline:auto;animation-range:normal}}
@media(prefers-reduced-motion:reduce){.city-camera .affinity-child{animation:none!important}}
