/* Fluid layout: use CSS viewport pixels, including Retina/scaled desktop displays. */
:root{--site-wide:clamp(1240px,78vw,1840px);--site-gutter:clamp(20px,2.4vw,56px)}
img,video{max-width:100%}body>header,.site-footer{box-sizing:border-box}body>header #nav{min-width:0}.site-footer .footer-group,.site-footer .footer-identity{min-width:0}.site-footer .footer-email-link{overflow-wrap:anywhere}
@media(min-width:1600px){
body>header{height:clamp(100px,5vw,128px)!important;min-height:clamp(100px,5vw,128px)!important;padding-left:max(var(--site-gutter),calc((100% - var(--site-wide))/2))!important;padding-right:max(var(--site-gutter),calc((100% - var(--site-wide))/2))!important;gap:clamp(26px,2vw,54px)}
body>header #nav{gap:clamp(16px,1vw,28px)}body>header #nav>a,body>header #nav .nav-group>summary{font-size:clamp(12px,.65vw,16px)}
body>header a.brand.brand-logo{width:clamp(145px,7vw,190px)!important;min-width:clamp(145px,7vw,190px)!important;max-width:190px!important}body>header a.brand.brand-logo>img{width:100%!important;max-height:100px!important}
.utility{padding-left:max(var(--site-gutter),calc((100% - var(--site-wide))/2))!important;padding-right:max(var(--site-gutter),calc((100% - var(--site-wide))/2))!important}
body:not(.home-page)>main:is(.materials-page,.tech-page,.aluminium-project,.company-page,.direction-editorial,.site-photos-page,.wood-page,.works-page,.market-page,.colors-page,.systems-page,.system-detail-page){width:100%;max-width:var(--site-wide)!important;margin-left:auto;margin-right:auto;padding-left:var(--site-gutter)!important;padding-right:var(--site-gutter)!important}
.section,.vestis-intro,.page-trail,.page-links,.system-columns,.construction-grid,.gallery-controls,.bento-grid,.home-page .home-categories .bento-grid{max-width:var(--site-wide)!important}
.home-page .hero{width:100%;max-width:none!important;height:clamp(640px,38vw,1000px)!important;max-height:1000px!important;min-height:0!important}
.home-page .hero .hero-copy{width:clamp(460px,26vw,650px)!important;padding:clamp(22px,1.4vw,38px)!important}.home-page .hero .hero-copy h1{font-size:clamp(30px,1.65vw,46px)!important}.home-page .hero .hero-copy p{font-size:clamp(14px,.85vw,19px)!important}.home-page .hero .hero-copy .button{font-size:clamp(13px,.72vw,16px)!important;min-height:44px!important}
.site-footer .footer-main,.site-footer .footer-cta{padding-left:max(var(--site-gutter),calc((100% - var(--site-wide))/2))!important;padding-right:max(var(--site-gutter),calc((100% - var(--site-wide))/2))!important}
.direction-editorial .de-video-opening{min-height:clamp(510px,28vw,720px)}.direction-editorial .de-video-opening h1{font-size:clamp(88px,4.8vw,122px)}.direction-editorial .de-opening-copy p,.direction-editorial .de-cover-story>div>p{font-size:clamp(15px,.85vw,19px)}.direction-editorial .de-opening-copy .de-deck{font-size:clamp(31px,1.8vw,44px)}.direction-editorial .de-work-image{aspect-ratio:1.6}
}
@media(max-width:600px){body>header{padding-left:5%!important;padding-right:5%!important}.site-footer .footer-cta{flex-wrap:wrap}.site-footer .footer-cta-link{max-width:100%;white-space:normal}.direction-editorial .de-masthead{flex-wrap:wrap}.direction-editorial .de-video-opening h1{font-size:clamp(42px,14.6vw,57px)}}

@media(max-width:760px){.contact-4in1-workspace{grid-template-columns:minmax(0,1fr)!important}.contact-4in1-workspace>*,.contact-4in1-guides,.contact-4in1-guides .app-card,.contact-4in1-guides .app-card-body{min-width:0!important;max-width:100%;width:100%}.contact-4in1-guides .app-specs li{grid-template-columns:20px minmax(0,1fr)}.contact-4in1-guides .button,.contact-4in1-guides .app-chip{white-space:normal;overflow-wrap:anywhere;max-width:100%}}

@media(max-width:760px){.contact-assistant-page .contact-grid{grid-template-columns:minmax(0,1fr)!important;min-width:0}.contact-assistant-page .contact-grid>*,.contact-assistant-page form{min-width:0;max-width:100%}.contact-assistant-page :is(input,select,textarea){min-width:0;max-width:100%;width:100%;box-sizing:border-box}}

/* Frank Gehry memorial ornament: confined to empty public-page margins. */
:root{--decor-content:1240px}
@media(min-width:1600px){:root{--decor-content:var(--site-wide)}}
body:has(>main){isolation:isolate}
body:has(>main)::before,body:has(>main)::after{content:'';position:fixed;top:0;bottom:0;width:max(0px,calc((100% - var(--decor-content))/2));pointer-events:none;z-index:-1;background-repeat:no-repeat;background-size:100% auto;opacity:.9}
body:has(>main)::before{left:0;background-image:url('/assets/decoracion/gehry-arles-torre.webp');background-position:left 45%;-webkit-mask-image:linear-gradient(to right,#000 0%,#000 65%,transparent 100%);mask-image:linear-gradient(to right,#000 0%,#000 65%,transparent 100%)}
body:has(>main)::after{right:0;background-image:url('/assets/decoracion/gehry-arles-pliegues.webp');background-position:right center;-webkit-mask-image:linear-gradient(to left,#000 0%,#000 65%,transparent 100%);mask-image:linear-gradient(to left,#000 0%,#000 65%,transparent 100%)}
@media(max-width:1280px){body:has(>main)::before,body:has(>main)::after{display:none}}
@media print{body:has(>main)::before,body:has(>main)::after{display:none}}

/* Tower and dedication share one responsive block. */
body:has(>main)::before{display:none}
body:has(>main)::after{background-size:auto 110%;background-position:right center}
.site-footer .gehry-tribute{padding:25px 20px;text-align:center;background:var(--ground,#FAF9F6);border-bottom:1px solid #D6D1C7;color:#6B502E;font:500 13px/1.55 Raleway,Arial,sans-serif}
.site-footer .gehry-tribute .gehry-tower{display:none}
.site-footer .gehry-tribute p{margin:0 auto;max-width:46ch}.site-footer .gehry-tribute strong{font-weight:600}.site-footer .gehry-tribute .gehry-years{white-space:nowrap}.site-footer .gehry-tribute .gehry-note{font-size:12px;font-style:italic;font-weight:400;margin-top:4px}
@media(min-width:1600px){body.gehry-side-visible .site-footer .gehry-tribute{position:fixed;top:50%;bottom:auto;transform:translateY(-42%);left:6px;width:var(--gehry-side-space);padding:0;z-index:-1;border:0;background:transparent;pointer-events:none;text-align:center}body.gehry-side-visible .site-footer .gehry-tribute .gehry-tower{display:block;width:100%;height:auto;max-height:calc(100dvh - 330px);object-fit:contain;object-position:center bottom;margin:0 auto -3px}.site-footer .gehry-tribute p{padding:0 8px;margin:0 auto;background:rgba(250,249,246,.88)}.site-footer .gehry-tribute .gehry-caption{font-size:clamp(11px,.58vw,18px);line-height:1.5}.site-footer .gehry-tribute .gehry-note{font-size:clamp(10px,.5vw,15px);margin-top:4px}.site-footer .gehry-tribute .gehry-years{display:inline}}
@media print{.site-footer .gehry-tribute{position:static;transform:none;width:auto}.site-footer .gehry-tribute .gehry-tower{display:none}}

body.gehry-side-visible::after{width:var(--gehry-side-space)}

/* Align both memorial images below the navigation, preserving their aspect ratios. */
@media(min-width:1600px){body.gehry-side-visible{--gehry-image-height:min(calc(var(--gehry-side-space) * 580 / 352),calc(100dvh - var(--gehry-top,140px) - 110px))}body.gehry-side-visible .site-footer .gehry-tribute{top:var(--gehry-top,140px);transform:none}body.gehry-side-visible .site-footer .gehry-tribute .gehry-tower{height:var(--gehry-image-height);max-height:none;object-fit:contain;object-position:center top;margin-bottom:-3px}body.gehry-side-visible::after{top:var(--gehry-top,140px);bottom:auto;height:calc(var(--gehry-image-height) + 65px);background-size:cover;background-position:right top}}

/* Full-height memorial composition, leaving room for its caption. */
@media(min-width:1600px){body.gehry-side-visible{--gehry-image-height:max(240px,calc(100dvh - var(--gehry-top,140px) - 95px))}body.gehry-side-visible .site-footer .gehry-tribute .gehry-tower{object-fit:cover;object-position:center top}}
