body.boston-home>header{background:#fff;display:flex;flex-wrap:nowrap;gap:12px;padding:6px max(4%,calc((100% - 78rem)/2));border-bottom:1px solid #d9e6f3;box-shadow:none}
.boston-home>header .logo{margin:0;flex:0 1 clamp(122px,38vw,210px);max-width:43%;width:auto}
.boston-home>header .header-actions{width:auto;margin-left:auto;gap:6px}
.boston-home>header .header-quote{white-space:nowrap;max-width:none;padding:10px 15px;background:#084cc5;color:white;border-radius:9px;font-size:1rem;animation:none;box-shadow:none}
.boston-home>header .menu-toggle{border:0;background:transparent;box-shadow:none;width:44px;height:44px;flex:0 0 44px;gap:5px;padding:8px;animation:none}
.boston-home>header .menu-toggle span{background:#0c346d;width:25px;height:3px;flex:0 0 3px}
.boston-home .entry{padding:0;background:white}
.boston-hero{position:relative;isolation:isolate;background:linear-gradient(115deg,#003087,#005ccf);color:white;overflow:hidden}
.boston-hero:after{content:"";display:block;height:clamp(115px,25vw,400px);background:url(boston-skyline.jpg) center 47% / cover no-repeat}
.boston-copy{margin:auto;max-width:81rem;padding:clamp(18px,3vw,40px) 5% clamp(16px,2vw,24px)}
.boston-copy .region-label{margin:0;color:white;font-size:clamp(.78rem,2.7vw,1.1rem);font-weight:750;letter-spacing:.075em;text-transform:uppercase}
.boston-copy h1{color:#64f4ff;font-size:clamp(2.35rem,8.7vw,4.8rem);margin:.12em 0;line-height:1.03;letter-spacing:-.04em}
.boston-copy h1 span{display:block;color:white;font-size:.55em;font-weight:550;letter-spacing:0}
.boston-copy .region-summary{color:white;margin:12px 0 0;font-size:clamp(.95rem,2vw,1.18rem);line-height:1.35}
.boston-copy .intro-sms{display:inline-flex;gap:7px;align-items:center;min-height:44px;color:white;font-weight:700;text-underline-offset:4px;text-shadow:0 1px 3px #06326d}
.boston-home .entry-grid{max-width:81rem;margin:auto;padding:clamp(10px,2vw,24px) 3% 0;gap:clamp(10px,1.4vw,20px);grid-auto-rows:1fr}
.boston-home .entry-card{min-height:0;border-radius:14px}
.boston-home .entry-content{min-height:clamp(200px,24vw,312px);padding:clamp(16px,3vw,36px);justify-content:center}
.boston-home .entry-card:after{background:linear-gradient(90deg,#04192ce0,#04192ca8 48%,#06182b11)}
.boston-home .entry-content h2{margin:0 0 5px;line-height:1.03;font-size:clamp(1.75rem,6.1vw,3.4rem)}
.boston-home .entry-content p{margin:2px 0 12px;line-height:1.25;color:#fff}
.boston-home .entry-content .button{background:#064bc5;color:#fff;box-shadow:none;padding:10px 16px;min-height:44px;border-radius:8px}
.boston-copy .schedule-invite{color:white;margin:.45rem 0 0;font-size:1rem;font-weight:650;line-height:1.3;text-shadow:0 1px 4px #052950}
.boston-copy .hero-text-link{display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;background:#062a59;color:#fff;border-radius:9px;padding:9px 15px;margin-top:10px;text-decoration:none;line-height:1.25}
.hero-text-link span{font-size:1rem;color:#fff}.hero-text-link strong{font-size:1.14rem;color:#fff;text-decoration:underline;text-underline-offset:3px}

.boston-hero{min-height:clamp(240px,61vw,490px);background:#073d99 url(boston-hero-evening.webp) center bottom/100% 100% no-repeat}
.boston-hero:after{display:none}
.boston-copy{padding:clamp(17px,4vw,40px) 6% 0}
.boston-copy h1{font-size:clamp(2.35rem,9.6vw,5rem)}
.boston-copy .region-summary{font-size:clamp(.83rem,3vw,1.16rem);margin-top:8px}
.boston-copy .region-summary:before{content:"";display:block;width:38px;height:3px;background:#56f3f9;margin-bottom:6px}
.boston-home .entry-content{min-height:clamp(154px,38vw,246px);padding:clamp(12px,2.8vw,27px) 6%}
.boston-home .entry-card{height:auto;min-height:0}
.boston-home .entry-content h2{font-size:clamp(1.55rem,6.4vw,3rem)}
@media(min-width:800px){.boston-hero{background-size:auto 100%;background-position:right bottom}.boston-copy{background:linear-gradient(90deg,#073d99 25%,transparent 65%);min-height:inherit}}

body.boston-home>header,.boston-home .entry{width:min(100%,1024px);margin-inline:auto;box-sizing:border-box}
body.boston-home>header{justify-content:space-between;min-height:clamp(60px,15vw,155px);padding:4px clamp(6px,3vw,30px);gap:6px;border:0;background:#fff}
.boston-home>header .logo{position:relative;inset:auto;flex:0 1 39%;width:39%;max-width:39%;aspect-ratio:420/155;background:url(reference-head.webp) left center/243.81% 100% no-repeat}
.boston-home>header .logo img{opacity:0}
.boston-home>header .header-actions{position:static;display:flex;flex-shrink:0;gap:clamp(6px,1.4vw,16px)}
.boston-home>header .header-quote{padding:clamp(7px,1.55vw,16px) clamp(8px,2.5vw,28px);font-size:clamp(.8rem,3.2vw,2rem);max-width:none;min-height:36px}
body.boston-home>header .menu-toggle{width:36px;height:44px;flex:0 0 36px;padding:4px;gap:4px;border:0;background:transparent;box-shadow:none}
.boston-home>header .menu-toggle span{opacity:1}
.boston-home .boston-hero{aspect-ratio:1024/622;min-height:0;background:url(reference-hero.webp) center/100% 100% no-repeat}
.boston-home .boston-copy,.boston-home .entry-content h2,.boston-home .entry-content p{position:absolute;clip-path:inset(50%);width:1px;height:1px;padding:0;margin:0;overflow:hidden}
.boston-home .entry-grid{display:block;padding:0;margin:0}
.boston-home .entry-card{position:relative;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;min-height:0;height:auto;opacity:1;transform:none;aspect-ratio:1024/441;background:white url(reference-office.webp) center/100% 100% no-repeat}
.boston-home .entry-card:nth-child(2){aspect-ratio:1024/318;background-image:url(reference-home.webp)}
.boston-home .entry-card:after,.boston-home .entry-card:before,.boston-home .entry-card img{display:none}
.boston-home .entry-content{position:absolute;inset:0;padding:0;min-height:0;background:none}
.boston-home .entry-content .button{position:absolute;inset:3% 2%;padding:0;margin:0;width:auto;max-width:none;min-height:0;height:auto;background:transparent;color:transparent;box-shadow:none;font-size:0}
.boston-home .entry-content .button span{visibility:hidden}

.boston-home>header .social-marks{display:flex;align-items:center;gap:clamp(4px,1vw,10px);margin:0}.boston-home>header .social-marks svg{display:block;width:24px;height:24px}
.boston-home .entry-card:nth-child(2){aspect-ratio:1024/441;background:white}
.boston-home .entry-card:nth-child(2)::before{content:"";position:absolute;display:block;inset:7.9% 2.3% 2.6%;border-radius:clamp(10px,2.5vw,26px);background:linear-gradient(90deg,#071827c9,transparent 85%),url(residential-interior.jpg) center/cover}
.boston-home .entry-card:nth-child(2) h2,.boston-home .entry-card:nth-child(2) p{position:absolute;left:8.1%;clip-path:none;width:auto;height:auto;overflow:visible;color:white;margin:0;padding:0;line-height:1}
.boston-home .entry-grid{container-type:inline-size}
.boston-home .entry-card:nth-child(2) h2{top:21%;font-size:6.75cqw}
.boston-home .entry-card:nth-child(2) p{top:56%;font-size:3.1cqw}
.boston-home .entry-content .button{inset:70% auto auto 7.9%;width:35.5%;height:17.2%;font-size:clamp(12px,3cqw,30px);line-height:1;color:white;background:#034bd6;border-radius:.95cqw;display:flex;justify-content:center;align-items:center;padding:0}
.boston-home .entry-content .button span{display:none}


.boston-home .schedule-bar{box-sizing:border-box;width:100%;margin:0;background:#0b2e50;color:#fff;text-align:center}
.schedule-bar .schedule-strip{display:block;box-sizing:border-box;width:100%;padding:9px 4px;text-align:center;text-decoration:none;color:white;font:600 clamp(.75rem,3.12vw,1rem)/1.35 system-ui,sans-serif}
.schedule-strip:focus-visible{outline:2px solid #9fd5ff;outline-offset:-2px}
.boston-home>header .header-actions{width:auto;justify-content:flex-end;gap:clamp(14px,4vw,24px)}
.boston-home>header .social-marks{gap:12px}
.boston-home>header .social-marks svg{width:clamp(26px,7.5vw,32px);height:clamp(26px,7.5vw,32px)}
#before-after[hidden]{display:none}#before-after{padding:clamp(20px,4vw,48px) 4%;background:#f5f9fc;color:#102e57}#before-after h2{margin:0 0 16px}.gallery-jobs{display:grid;gap:18px}.gallery-jobs article{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gallery-jobs figure{margin:0;position:relative}.gallery-jobs img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#e3ecf2;border-radius:8px}.gallery-jobs figcaption{position:absolute;left:6px;top:6px;border-radius:4px;background:#102e57;color:white;padding:2px 8px;font-weight:600}.gallery-jobs h3{grid-column:1/-1;margin:0;overflow-wrap:anywhere}

/* Keep each comparison compact while preserving the full photographs. */
#before-after .gallery-jobs{width:min(84%, 500px);margin-inline:auto}
#before-after h2,#before-after .gallery-jobs h3{text-align:center}

#before-after .gallery-kicker{text-align:center;text-transform:uppercase;letter-spacing:.14em;font:700 .73rem/1.5 system-ui;color:#236097;margin:0 0 5px}
#before-after h2{margin:0 auto 4px}
#before-after .gallery-guide{text-align:center;font-size:.95rem;margin:0 0 18px;color:#405874}
.gallery-jobs article{background:white;border:1px solid #d4e1ec;border-radius:14px;padding:8px;box-shadow:0 3px 12px #123a5710}
.gallery-jobs h3{padding:8px 6px 5px;color:#102e57;font-size:clamp(1.15rem,3vw,1.4rem);font-weight:750;line-height:1.25}
.gallery-thumb{position:relative;display:block;cursor:zoom-in}
.gallery-thumb:focus-visible,.gallery-viewer button:focus-visible{outline:3px solid #3989df;outline-offset:2px}
.gallery-badge{position:absolute;top:5px;left:5px;padding:2px 7px;background:#102e57;color:white;border-radius:4px;font:600 .75rem/1.5 system-ui}
.gallery-viewer{box-sizing:border-box;width:min(94vw,850px);max-height:93vh;max-height:93dvh;padding:12px;margin:auto;background:white;color:#102e57;border:0;border-radius:16px}
.gallery-viewer::backdrop{background:#091c32dd}
.gallery-tools,.gallery-switch{display:flex;align-items:center;justify-content:space-between;gap:10px}
.gallery-tools strong{overflow-wrap:anywhere}
.gallery-full{display:block;width:100%;height:min(62vh,680px);object-fit:contain;background:#edf3f7;border-radius:8px;margin:8px 0}
.gallery-switch{justify-content:center}
.gallery-viewer button{cursor:pointer;padding:8px 16px;min-height:44px;border:1px solid #c8d8e7;border-radius:8px;background:white;color:#12365b;font:600 .92rem system-ui;white-space:nowrap}
.gallery-viewer button[aria-pressed=true]{background:#184c84;color:white}

#before-after .gallery-jobs article > h3{grid-row:1;grid-column:1/-1}
#before-after .gallery-jobs article > .gallery-thumb{grid-row:2}
