/* Continuous coast: existing grid coordinates, images and form behavior are retained. */
.prelaunch-hero .hero-content{height:100%;padding:0}
.prelaunch-hero .logo{position:absolute;top:6.6%;left:0;right:0;width:min(25vw,520px);height:auto;margin:0 auto}
.prelaunch-hero .location{position:absolute;top:30.5%;left:0;right:0;width:40%;margin:0 auto;font-size:clamp(18px,1.65vw,30px)}
.prelaunch-hero h1{position:absolute;top:46.5%;left:4%;right:4%;width:auto;margin:0;transform:none;font-size:clamp(32px,3.5vw,64px);line-height:1.3}
.prelaunch-hero .hero-shade{background:linear-gradient(180deg,#003c48e8 0%,#074552ac 26%,#092f4166 49%,#05242b18 72%,#317b8860 88%,#317b88 100%)}
.prelaunch .hero-fish.swim-fish{top:68%;left:4%;right:auto;opacity:.48;width:clamp(58px,6.3vw,95px)}
.prelaunch .hero-fish.swim-fish[data-swim-direction="-1"]{left:auto;right:4%;top:73%}
.hero-water-edge{position:absolute;z-index:2;bottom:-2px;left:0;width:100%;height:105px;pointer-events:none;overflow:hidden}
.hero-water-edge svg{display:block;width:100%;height:100%;overflow:visible}
.wave-back{fill:#5c9da65c}.wave-front{fill:#317b88}
.hero.prelaunch-hero .down-link{bottom:10px;z-index:3}
.floating-register.glass{position:fixed;z-index:1000;left:50%;right:auto;bottom:var(--cta-bottom,24px);transform:translateX(-50%);min-height:54px;padding:13px 32px;white-space:nowrap;font-family:Bozon,'Avenir Next',sans-serif;font-size:clamp(21px,2vw,30px);font-weight:400;color:white;background:#07596f50;border:1px solid #ffffff9c;box-shadow:0 4px 18px #001b2424;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);opacity:1;visibility:visible;transition:background .2s,opacity .2s}
.floating-register.glass:hover{background:#07596f80;transform:translateX(-50%)}
.floating-register.glass.on-light{color:#17444a;background:#f8faf76b;border-color:#527f839c}
.floating-register.glass.at-form,body:has(.registration input:focus) .floating-register{opacity:0;visibility:hidden;pointer-events:none}
.catalogue-water{background:#001a31}
.catalogue-water:before{display:none;animation:none}
.water-ambience{position:sticky;top:0;height:100svh;margin-bottom:-100svh;pointer-events:none;z-index:-1;overflow:hidden;background:#001a31}
.water-artwork{position:absolute;inset:-6px;background:url('assets/prelaunch/agua-enviada.webp?v=8d532fabce7bf7d5') center var(--water-progress,0%)/cover;filter:blur(.7px);transform:scale(1.012)}
.water-ambience:after{content:'';position:absolute;inset:0;background:linear-gradient(#317b88 0%,transparent 26%);opacity:var(--water-entry,1)}
.water-glow{position:absolute;inset:-8%;background:radial-gradient(ellipse at 24% 24%,#a3e6ef30,transparent 40%),radial-gradient(ellipse at 80% 55%,#82d4e724,transparent 38%);opacity:var(--water-light,.45);mix-blend-mode:screen;transform:translate3d(-1%,0,0);filter:blur(12px)}
.chapter-heading .chapter-category{color:#a8e2e6}
.photo-print{padding:3px 3px 0}
.print-caption{min-height:38px;padding:5px 9px;font-size:clamp(14px,1.3vw,22px);gap:10px}
.print-caption .environment-number{min-width:24px;min-height:24px;font-size:11px}
.print-expand{font-size:22px}
.chapter-convivencia{padding-bottom:75px}
.film-section .section-title{max-width:1500px;margin-left:auto;margin-right:auto;line-height:1.2}
.water-to-sand{position:relative;overflow:hidden;isolation:isolate;margin-top:-1px}
.water-to-sand:before{content:'';position:absolute;inset:-1px 0 0;background:linear-gradient(#001a31,transparent 63%);z-index:1;pointer-events:none}
.water-to-sand:after{content:'';position:absolute;inset:0 0 -1px;background:linear-gradient(transparent 62%,#f4d8b3 100%);z-index:2;pointer-events:none}
.sand-surface{background-color:#f4d8b3;background-image:url('assets/prelaunch/sand.svg?v=1807b8f12f1e2b60');background-size:220px}
.registration,.builder-section{background:#f8faf7;color:#17444a}
.registration #form-title{color:#17444a}
.registration .form-box{background:#17444a}
.registration{padding-bottom:90px}
.builder-section{padding-top:50px;padding-bottom:110px}
@keyframes coast-front{0%,100%{transform:translate3d(-45px,0,0)}50%{transform:translate3d(45px,5px,0)}}
@keyframes coast-back{0%,100%{transform:translate3d(40px,1px,0)}50%{transform:translate3d(-40px,-4px,0)}}
@keyframes ocean-drift{0%,100%{transform:translate3d(-3px,0,0) scale(1.012)}50%{transform:translate3d(3px,3px,0) scale(1.018)}}
@keyframes ocean-glow{0%,100%{transform:translate3d(-1%,0,0) scale(1)}50%{transform:translate3d(2%,2%,0) scale(1.04)}}
@keyframes shore-breath{0%,100%{transform:translate3d(0,-4px,0) scale(1.015);opacity:.65}50%{transform:translate3d(0,6px,0) scale(1.025);opacity:1}}
@media(prefers-reduced-motion:no-preference){
 .wave-front{animation:coast-front 12s ease-in-out infinite}.wave-back{animation:coast-back 16s ease-in-out infinite}
 .water-artwork{animation:ocean-drift 25s ease-in-out infinite}.water-glow{animation:ocean-glow 19s ease-in-out infinite}
 .shore-swash{animation:shore-breath 9s ease-in-out infinite}
 .hero-water-edge path,.water-artwork,.water-glow,.shore-swash{animation-play-state:paused}
 .motion-visible .hero-water-edge path,.motion-visible .water-artwork,.motion-visible .water-glow,.motion-visible .shore-swash{animation-play-state:running}
 .motion-asleep .hero-water-edge path,.motion-asleep .water-artwork,.motion-asleep .water-glow,.motion-asleep .shore-swash{animation-play-state:paused}
}
@media(min-width:1800px){.print-caption{min-height:44px}}
@media(max-width:600px){
 .hero.prelaunch-hero{min-height:600px}
 .prelaunch-hero h1{top:48.5%;left:4%;right:4%;margin:0;line-height:1.24;font-size:5.8vw}
 .prelaunch-hero .hero-content{padding:0}
 .prelaunch-hero .logo{top:6.35%;width:61.4vw}
 .prelaunch-hero .location{top:25%;width:84%;font-size:clamp(14px,3.6vw,18px);gap:18px}
 .prelaunch .hero-fish.swim-fish{width:58px;top:68%;left:3%}
 .prelaunch .hero-fish.swim-fish[data-swim-direction="-1"]{top:72%;right:3%;left:auto}
 .hero-water-edge{height:70px}
 .hero.prelaunch-hero .down-link{display:none}
 .floating-register.glass{bottom:max(var(--cta-bottom,6.5svh),env(safe-area-inset-bottom));min-height:48px;min-width:46vw;padding:10px 24px;font-size:22px}
 .motion-toggle{bottom:24px;right:12px;width:38px;height:38px}
 .water-artwork{background-size:auto 175svh;filter:blur(.5px)}
 .print-caption{min-height:34px;padding:4px 2px;gap:5px;font-size:13px}
 .photo-print{padding:2px 2px 0}
 .print-caption .environment-number{min-width:20px;min-height:20px;font-size:9px}
 .print-expand{font-size:16px}
 .chapter-convivencia{padding-bottom:45px}
 .film-section .section-title{font-size:clamp(28px,7.8vw,34px)}
 .film-section .section-title br{display:none}
 .water-to-sand{height:270px;background-position:52% 65%}
 .shore-swash{background-position:52% 65%}
 .registration{padding-bottom:70px}
 .builder-section{padding-top:25px;padding-bottom:85px}
}
@media(prefers-reduced-motion:reduce){
 .water-artwork{background-position:center top;transform:none}
 .water-glow{display:none}.hero-water-edge path,.shore-swash{animation:none;transform:none}
 .prelaunch .hero-fish.swim-fish{left:4%;right:auto}
 .prelaunch .hero-fish.swim-fish[data-swim-direction="-1"]{left:auto;right:4%}
}

/* News photography fills half of each card, flush with its outside edges. */
.news-card{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:0;padding:0;overflow:hidden}
.news-card .news-copy{align-self:center;padding:clamp(24px,3vw,44px)}
.news-image{position:relative;min-width:0;min-height:300px;width:100%}
.news-card .news-photo{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;border-radius:0}
.news-school .news-photo{object-position:50% 58%}
@media(max-width:600px){
 .news-card{gap:0;padding:0}
 .news-card .news-copy{padding:25px 20px}
 .news-image{min-height:0;aspect-ratio:1.5}
}

/* Revised environment grouping and a portrait plan with the access road below. */
.reference-piscina-raia{left:58.9%;top:33%}
.mosaic-bem-estar .photo-print:nth-child(5){grid-column:span 12}
.mosaic-bem-estar .photo-print:nth-child(5) img{aspect-ratio:2.65}
.news-card .news-copy h2,.news-card .news-copy h3{font-size:clamp(28px,2.8vw,44px)}
.news-card .news-summary{font-size:clamp(17px,1.4vw,21px)}
.news-card .news-source{margin-bottom:0!important}
@media(max-width:600px){
 .mosaic-bem-estar .photo-print:nth-child(4){grid-column:span 2!important}
 .mosaic-bem-estar .photo-print:nth-child(4) img{aspect-ratio:1.4!important}
 .masterplan-paper .plan-viewport{width:100%;margin:28px 0 0;aspect-ratio:331/1403;min-height:0}
 .masterplan-paper .plan-canvas{position:absolute;left:0;top:100%;width:calc(100% * 1403 / 331);transform:rotate(-90deg);transform-origin:0 0}
 .masterplan-paper .plan-reference{transform:translate(-50%,-50%) rotate(90deg);width:22px;height:22px;font-size:10px}
}
