/* The three square photographs and their centered titles are always visible.
   Hover scales only the image plane; shared pcard scroll ownership is unchanged. */
.page-home main>.home-connected{position:relative;background:#fff;color:#111;padding:0;isolation:isolate;scroll-margin-top:var(--header-h)}
.home-connected__stage{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;width:100%;margin:0;background:#fff;border-top:1px solid rgba(0,0,0,.10)}
.home-connected__entry{position:relative;display:block;min-width:0;aspect-ratio:1/1;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:#fff;color:#fff;text-decoration:none;outline-offset:-5px}
.home-connected__entry:not(:last-child)::after{content:"";position:absolute;right:0;top:12%;bottom:12%;width:1px;background:rgba(0,0,0,.075);z-index:3;pointer-events:none}
.home-connected__visual{position:absolute;inset:0;transform:scale(1);transform-origin:50% 50%;transition:transform .7s cubic-bezier(.4,0,.2,1);pointer-events:none}
.home-connected__visual::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.22),rgba(0,0,0,.54) 36%,rgba(0,0,0,.54) 72%,rgba(0,0,0,.25));pointer-events:none}
.home-connected__entry .frame{width:100%;height:100%;aspect-ratio:auto;overflow:hidden}
.home-connected__entry .frame picture,.home-connected__entry .frame img{display:block;width:100%;height:100%}
.page-home .home-connected__entry .frame img{object-fit:cover;transform:none;transition:none}
.home-connected__entry--1 .frame img{object-position:22% 50%!important}
.home-connected__entry .home-connected__title{margin:0;color:#fff;font-family:var(--serif);font-weight:400;font-size:clamp(28px,3vw,48px);line-height:1.2;letter-spacing:-.025em;text-transform:none;text-wrap:balance}
.home-connected__copy{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(14px,1.5vw,22px);padding:clamp(20px,2.4vw,36px);text-align:center;pointer-events:none}
.home-connected__entry .home-connected__description{flex:0 0 auto;max-width:32ch;margin:0;color:#fff;font-family:var(--sans);font-size:clamp(14px,1.2vw,18px);font-weight:400;line-height:1.65;hyphens:none;overflow-wrap:anywhere;text-wrap:pretty;padding-top:0}
.home-connected__entry:focus-visible{outline:2px solid #fff}
@media(hover:hover) and (pointer:fine){
 .home-connected__entry:hover .home-connected__visual{transform:scale(1.04)}
}
@media(max-width:700px){
 .home-connected__stage{grid-template-columns:minmax(0,1fr)}
 .home-connected__entry:not(:last-child)::after{left:8%;right:8%;top:auto;bottom:0;width:auto;height:1px}
 .home-connected__copy{padding:clamp(24px,7vw,40px)}
 .home-connected__entry .home-connected__title{font-size:clamp(32px,8.5vw,48px)}
 .home-connected__entry .home-connected__description{font-size:15px}
}
@media(prefers-reduced-motion:reduce){
 .home-connected__entry .home-connected__visual{transition:none;transform:none}
}
@media print{
 .home-connected__entry{break-inside:avoid}
 .home-connected__visual{transform:none}
}
/* Retain the current reading layouts while the established shared controller
   again owns their image, typography and stack-layer motion. */
.page-home main>.home-horizon,.page-home main>.home-whats-on{min-height:0;display:flex;align-items:center;background:#fff;padding-block:clamp(40px,4.6vw,68px)}
.page-home .home-horizon>.wrap,.page-home .home-whats-on>.wrap{width:100%}
.page-home .home-horizon .editorial__media{grid-column:8/13;grid-row:1}
.page-home .home-horizon .editorial__text{grid-column:1/7;grid-row:1}
/* Give the architectural photo a taller window, keeping the roof apex visible. */
.page-home .home-horizon__frame{aspect-ratio:6/5;max-height:540px}
.page-home .home-horizon__frame img{object-position:50% 0%!important}
.page-home .home-whats-on__layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.page-home .home-photo-stack{max-height:calc(100svh - var(--header-h) - 110px);margin-bottom:0}

@media(max-width:767px){
 .page-home main>.home-horizon,.page-home main>.home-whats-on{padding-block:36px 40px}
 .page-home .home-horizon .editorial{gap:22px}
 .page-home .home-horizon .editorial__media{grid-column:1/-1;grid-row:2}
 .page-home .home-horizon .editorial__text{grid-column:1/-1;grid-row:1}
 .page-home .home-horizon__frame{max-height:360px}
 .page-home .home-whats-on__layout{grid-template-columns:minmax(0,1fr);gap:20px}
 .page-home .home-photo-stack{max-width:min(100%,calc((100svh - 370px)*1.3));margin-inline:auto;margin-top:0}
}
@media(max-height:600px){
 .page-home .home-photo-stack{max-height:none;max-width:100%}
}
/* Compact the handoff to Horizon on touch-size layouts. Content determines
   its height, so a tall screen no longer inserts an empty half-screen. */
@media(max-width:1100px){
 .page-home main>.home-connected + .home-horizon{padding-block:40px}
}

@media print{
 .page-home main>.home-horizon,.page-home main>.home-whats-on{min-height:0;padding-block:40px}
}

/* A compact editorial introduction; the existing title reveal owns motion. */
.home-connected__intro{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:clamp(24px,4vw,64px);row-gap:24px;padding-block:clamp(72px,5.8vw,88px);color:#111}
.home-connected__intro .label{margin:0 0 18px;color:#111;font-family:var(--sans)}
.home-connected__intro .home-connected__intro-title{margin:0;color:#111;font-family:var(--serif);font-size:clamp(32px,7.1vw,108px);font-weight:400;line-height:1.04;letter-spacing:-.025em;text-transform:none}
.home-connected__intro-line{display:block}
.home-connected__intro>.link{justify-self:end;align-self:end;margin-bottom:8px;font-family:var(--sans);white-space:nowrap}
@media(max-width:600px){
 .home-connected__intro{grid-template-columns:minmax(0,1fr);padding-block:clamp(40px,10vw,48px);row-gap:24px}
 .home-connected__intro .home-connected__intro-title{font-size:clamp(32px,8.3vw,50px)}
 .home-connected__intro>.link{justify-self:start;margin-bottom:0}
}
