
/* Shared footer structure, with a separate mobile community and legal area. */
.footer-details{display:contents}
.footer-details>span{order:0}
.footer-bottom .install{order:1}
.footer-legal{order:2}
.footer-community{font-size:14px}
@media(max-width:799px){
 footer .footer-connect{display:contents}
 footer .footer-community{grid-column:1/-1;text-align:center;justify-self:center;margin:0}
 footer .footer-bottom{flex-direction:column;align-items:center;gap:20px}
 footer .footer-bottom .install{order:0;margin:0;align-self:center}
 footer .footer-details{display:flex;order:1;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 24px;width:100%;text-align:center}
 footer .footer-legal{margin-left:0!important;justify-content:center!important}
}

@media(max-width:799px){footer>div:first-child{text-align:center}footer>div:first-child .brand img{margin-inline:auto}}

@media(max-width:799px){
 .closing{text-align:center;padding:42px 6%}
 .closing h2{max-width:16ch;margin-inline:auto;font-size:clamp(1.8rem,7.5vw,2.4rem);line-height:1.12;text-wrap:balance}
 .closing .button{margin-top:22px;min-width:200px;justify-content:center}
 footer{grid-template-columns:1fr;text-align:center;gap:28px;padding-top:38px}
 footer>div:first-child p{max-width:320px;margin-inline:auto}
 footer .footer-social-content{grid-column:1/-1}
 footer .footer-social{flex-direction:row;justify-content:center;align-items:center;gap:24px;margin:12px 0 0}
 footer .footer-community{margin-top:4px}
 footer .footer-bottom{margin-top:4px}
}

/* Keep portrait subjects' heads inside the Visit and Studio image frames. */
.content-split>img[src*="/img_5490-"],
.content-split>img[src*="/img_5466-"],
.people-story>figure>img[src*="/img_5466-"]{object-position:center 20%}

/* AgencyCrate attribution matches the existing monochrome footer. */
footer .agency-credit{grid-column:1/-1;justify-self:center;margin-top:-20px}
footer .agency-credit>a[href]{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;margin:0;font-size:12px;color:var(--muted);text-decoration:none}
footer .agency-credit img{display:block;width:100px;height:50px;object-fit:contain;filter:brightness(0);opacity:.9}
footer .agency-credit>a[href]:hover{color:var(--ink)}
footer .agency-credit>a[href]:focus-visible{outline:2px solid currentColor;outline-offset:5px}
@media(max-width:799px){footer .agency-credit{margin-top:-8px}}

/* Consistent footer columns and an evenly aligned utility row. */
footer{column-gap:40px;row-gap:32px}
footer .agency-credit{margin-top:0}
@media(min-width:800px){
 footer{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;text-align:center}
 footer>div:first-child .brand{display:inline-flex}
 footer>div:first-child .brand img{margin-inline:auto}
 footer>div:first-child p{max-width:320px;margin:20px auto 0}
 footer h3{margin:0 0 18px;line-height:1.5}
 footer>div:nth-child(2)>p{margin:0;line-height:1.7}
 footer>div:nth-child(2)>a{display:inline-flex;align-items:center;min-height:44px;margin-top:6px}
 footer .footer-social{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:24px;margin:0}
 footer .footer-social a{margin:0;min-height:44px}
 footer .footer-community{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:6px}
 footer .footer-bottom{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 40px;align-items:center;padding-top:20px;text-align:left}
 footer .footer-details{display:contents}
 footer .footer-details>span{grid-column:1;grid-row:1;justify-self:start}
 footer .footer-bottom .install{grid-column:2;grid-row:1;justify-self:center;margin:0;min-height:44px}
 footer .footer-legal{grid-column:3;grid-row:1;justify-self:end;margin-left:0!important;gap:24px}
 footer .footer-legal a{display:inline-flex;align-items:center;min-height:44px;margin:0}
}
@media(max-width:799px){
 footer{row-gap:28px}
 footer .footer-bottom{gap:16px}
 footer .footer-details{flex-direction:column;gap:8px}
 footer .footer-legal{gap:24px}
 footer .footer-legal a{display:inline-flex;align-items:center;min-height:44px;margin:0}
 footer .footer-bottom .install{min-height:44px}
 footer .agency-credit{margin-top:0}
}

/* Four distinct footer columns with a compact shared bottom row. */
footer.footer-four{grid-template-columns:1.25fr 1fr .85fr 1fr;gap:36px;align-items:start;text-align:left}
footer.footer-four>div:first-child .brand{display:block;width:230px}
footer.footer-four>div:first-child .brand img{margin:0}
footer.footer-four>div:first-child p{max-width:290px;margin:20px 0 0}
footer.footer-four h3{margin:0 0 18px;line-height:1.5}
footer.footer-four .footer-connect{display:block}
footer.footer-four .footer-social{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0;margin:0}
footer.footer-four .footer-social a{margin:0;min-height:44px}
footer.footer-four .footer-explore>a{display:flex;align-items:center;justify-content:flex-start;min-height:44px;margin:0;font-size:14px}
footer.footer-four .footer-explore .install{display:block;min-height:44px;padding:0;border:0;background:none;color:var(--muted);font:inherit;font-size:14px;text-align:left;text-decoration:underline;cursor:pointer}
footer.footer-four .footer-explore .install[hidden]{display:none}
footer.footer-four .footer-bottom{display:grid;grid-template-columns:1fr auto 1fr;grid-column:1/-1;gap:20px;align-items:center;padding-top:18px}
footer.footer-four .footer-copyright{grid-column:1;grid-row:1;justify-self:start}
footer.footer-four .footer-legal{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;justify-self:center;gap:24px;margin:0!important}
footer.footer-four .footer-legal a{display:inline-flex;align-items:center;min-height:44px;margin:0}
footer.footer-four .agency-credit{grid-column:3;grid-row:1;justify-self:end;margin:0}
@media(min-width:800px) and (max-width:1050px){
 footer.footer-four{column-gap:24px;grid-template-columns:1.1fr 1fr .8fr 1fr}
 footer.footer-four>div:first-child .brand{width:190px;max-width:100%}
 footer.footer-four>div:first-child .brand img{width:100%}
}
@media(max-width:799px){
 footer.footer-four{grid-template-columns:1fr;text-align:center;gap:28px}
 footer.footer-four>div:first-child .brand{margin-inline:auto}
 footer.footer-four>div:first-child p{margin-inline:auto}
 footer.footer-four .footer-social{flex-direction:row;justify-content:center;gap:24px}
 footer.footer-four .footer-explore>a{justify-content:center}
 footer.footer-four .footer-explore .install{margin-inline:auto;text-align:center}
 footer.footer-four .footer-bottom{grid-template-columns:1fr;gap:8px;padding-top:22px}
 footer.footer-four .footer-copyright{grid-column:1;grid-row:1;justify-self:center}
 footer.footer-four .footer-legal{grid-column:1;grid-row:2}
 footer.footer-four .agency-credit{grid-column:1;grid-row:3;justify-self:center;margin-top:8px}
}
