.landing-page main{background:#fff}
.landing-page main h2{line-height:1.07;letter-spacing:-.035em}
.landing-page section[id]{scroll-margin-top:1.2rem}
.home-heading{max-width:42rem}
.home-heading h2{margin:.35rem 0 .85rem;font-size:clamp(2.05rem,4.5vw,4rem)}
.home-heading p:not(.eyebrow){font-size:1.06rem;max-width:36rem;margin:0 0 1.25rem}
.home-proof{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem clamp(1rem,4vw,3.3rem);padding:1rem 1.2rem;background:#f3f6fa;color:var(--navy);border-bottom:1px solid #e3e9f2;font-weight:700;font-size:.94rem}
.home-proof span{display:flex;gap:.55rem;align-items:center}
.home-proof span::before{content:'';display:block;width:.42rem;height:.42rem;border-radius:50%;background:var(--red)}
.home-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1rem,3vw,2rem);margin-top:2rem}
.home-service-grid article{background:#f4f6f9;border-radius:1rem;overflow:hidden;border:1px solid #e2e8f0}
.home-service-grid img{display:block;width:100%;height:auto;aspect-ratio:16/8;object-fit:cover}
.home-service-grid article div{padding:1.3rem 1.45rem 1.5rem}
.home-service-grid h3,.home-project-tile h3{font-size:clamp(1.2rem,2.1vw,1.55rem);margin:0 0 .4rem}
.home-service-list{display:grid;gap:.3rem;margin:.7rem 0 0;padding-inline-start:1.2rem}.home-service-list li::marker{color:#9d2535}
.home-project-band,.home-estimate{background:var(--navy);color:#fff}
.home-project-band .eyebrow,.home-estimate .eyebrow{color:#ff9aa4}
.home-section-row{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem 2rem}
.home-section-row .button{flex:none}
.home-project-tiles{--tile-gap:clamp(.75rem,2vw,1.35rem);display:grid;grid-auto-flow:column;grid-auto-columns:77%;gap:var(--tile-gap);overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding:3px 0 .85rem;margin:1.65rem 0 .4rem;scrollbar-color:#91a8cf #263a5b}
.home-project-tiles:focus-visible{outline:2px solid #ffa6b1;outline-offset:4px}
.home-project-tile{min-width:0;background:#182a47;overflow:hidden;border:1px solid #3a4d6c;border-radius:1rem;scroll-snap-align:start;color:white}
.home-project-tile h3{padding:.65rem 1rem}
.home-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.home-pair figure,.home-portraits figure{margin:0;position:relative}
.home-pair img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.home-pair figcaption,.home-portraits figcaption{position:absolute;inset:auto auto .55rem .55rem;border-radius:100px;padding:.16rem .52rem;color:white;background:#0a1730ed;font-weight:750;font-size:.85rem}
.home-slider-controls{display:flex;gap:.65rem;margin-top:.6rem}
.home-slider-controls[hidden]{display:none}
.home-slider-controls .button{cursor:pointer;background:transparent}
.home-slider-controls .button:disabled{opacity:.43;cursor:default}
.home-owner-block,.home-area-inner,.home-faq{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(1.4rem,5vw,4.5rem)}
.home-portraits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.home-portraits figure{border-radius:.9rem;overflow:hidden;background:#edf1f7}
.home-portraits img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center 32%}
.home-area-band{background:#edf2f8;border-block:1px solid #e1e8f2}
.home-areas{display:grid;gap:.65rem;margin:0;padding:0;list-style:none}
.home-areas li{background:#fff;border-left:4px solid var(--red);border-radius:.45rem .75rem .75rem .45rem;padding:1rem 1.13rem}
.home-areas strong,.home-areas span{display:block}
.home-areas strong{font-size:1.2rem}
.home-faq{align-items:start}
.home-faq details{padding:.8rem 0;border-bottom:1px solid #dbe2ec}
.home-faq summary{cursor:pointer;font-weight:750;min-height:32px}
.home-faq details p{margin:.45rem 0 .2rem}
.home-estimate .actions{margin-top:0;align-items:center}
.home-contact-link{color:white;font-weight:650;padding:.35rem}
.home-dock{display:none}
@media(max-width:760px){
 .landing-page{padding-bottom:calc(59px + env(safe-area-inset-bottom))}
 .home-dock{display:grid;grid-template-columns:1fr .98fr 1.05fr 1.14fr;gap:.2rem;padding:.38rem .45rem calc(.38rem + env(safe-area-inset-bottom));position:fixed;inset:auto 0 0;z-index:5;background:#0a1730;color:white;box-shadow:0 -4px 20px #09172f26}
 .home-dock a{min-width:0;display:grid;place-items:center;text-align:center;text-decoration:none;color:white;font-weight:730;font-size:.8rem;line-height:1.15;min-height:46px;padding:.1rem .15rem;border-radius:.55rem}
 .home-dock a:focus-visible{outline:2px solid white;outline-offset:-2px}
 .home-dock .dock-estimate{background:#bd2637}
 .home-owner-block,.home-area-inner,.home-faq{grid-template-columns:1fr}
 .home-portraits{max-width:33rem}
 .home-section-row{display:block}
}
@media(max-width:520px){.home-service-grid{grid-template-columns:1fr}.home-project-tiles{grid-auto-columns:91%}.home-proof{justify-content:flex-start}}

/* Shift only the section contents so full-width color bands stay in place. */
@media(prefers-reduced-motion:no-preference){
 .landing-page [data-scroll-reveal].is-in-view{--reveal-y:clamp(9px,1.65vw,21px)}
 .landing-page [data-scroll-reveal].is-in-view[data-entry="above"]{--reveal-y:clamp(-21px,-1.65vw,-9px)}
 .landing-page [data-scroll-reveal].is-in-view:not(:focus-within)>*{animation:body-section-slide .46s cubic-bezier(.18,.7,.32,1) both}
 @keyframes body-section-slide{from{transform:translateY(var(--reveal-y));opacity:.9}to{transform:translateY(0);opacity:1}}
}

/* Homepage headline motion is independent from shared card motion. */
@media(prefers-reduced-motion:no-preference){
 .landing-page .hero-copy > :not(:focus-within){
  animation:home-hero-arrive .72s cubic-bezier(.16,.74,.26,1) both;
  animation-delay:var(--hero-beat,0ms)
 }
 .landing-page .hero-copy > :nth-child(2){--hero-beat:80ms}
 .landing-page .hero-copy > :nth-child(3){--hero-beat:150ms}
 .landing-page .hero-copy > :nth-child(4){--hero-beat:220ms}
 @keyframes home-hero-arrive{from{transform:translateY(22px);opacity:.68}to{transform:translateY(0);opacity:1}}
}
@media(prefers-reduced-motion:reduce){
 html:has(body.landing-page){scroll-behavior:auto}
}

/* One-time pigment drops near the screen edges below the hero. */
.home-paint-fall{
 position:fixed;inset:0;z-index:2;overflow:hidden;pointer-events:none
}
.home-paint-drop{
 position:absolute;top:-20px;left:var(--drop-left);width:var(--drop-size);
 height:calc(var(--drop-size)*1.55);border-radius:62% 42% 46% 54%;
 background:#af2035;opacity:.82;
 animation:paint-drop-fall .98s cubic-bezier(.48,.02,.82,.72) var(--drop-delay) both
}
.home-paint-drop.blue{background:#224c87}
@keyframes paint-drop-fall{
 from{transform:translateY(0)}
 to{transform:translateY(calc(100vh + 50px))}
}
@media(prefers-reduced-motion:reduce){.home-paint-fall{display:none}}
