/* Measurement report pages: shared layout blocks (November 20, 2026). */

/* Hero: the sample report stack starts level with the top of the text column. */
@media(min-width:851px){
  body.mp-roof-page .mp-report-hero>.mp-report-stack{margin-top:-24px}
}

/* Accuracy guarantee at the bottom of What's Included (same as the Commercial page). */
main .mp-tour-band .md-included-guarantee{padding-bottom:64px}
main .mp-tour-band .md-included-guarantee .mp-guarantee{margin:0 auto;padding-top:28px;border-top:1px solid #e9e6e3;justify-content:center}
@media(max-width:900px){main .mp-tour-band .md-included-guarantee{padding-bottom:48px}}

/* "Included with every report" on a white background. */
body.measurement-polish main .mp-included-reports>.mp-viewer-band{background:#fff}

/* CTA report image: portrait report pages are shown narrower so more of the page is visible. */
main .mp2-cta-page.mp2-cta-portrait{width:62%;right:12%}
@media(max-width:860px){main .mp2-cta-page.mp2-cta-portrait{width:64%;left:18%}}

/* Keep space between a gray band (e.g. "Need the rest of the exterior?") and the red CTA panel. */
main .mp-cross-band+.mp2-cta{padding-top:72px}
@media(max-width:600px){main .mp-cross-band+.mp2-cta{padding-top:48px}}

/* Copied from the /measurements page (assets/pages/measurements/two-column.css). */
.mp2-coverage{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:56px;align-items:center;padding-block:76px;scroll-margin-top:90px}
.mp2-coverage h2{font-size:clamp(30px,2.8vw,40px);letter-spacing:-1.3px;margin:0 0 18px}
.mp2-coverage p{font-size:16px;line-height:1.7;color:#524e4a;margin:0 0 22px;max-width:440px}
.mp2-coverage-link{display:inline-flex;align-items:center;gap:8px;color:#db0000;font-weight:600;font-size:15px;text-decoration:underline;text-underline-offset:4px}
.mp2-coverage-link:hover{color:#b80c00}
.measurement-polish .mp2-coverage .mp-atlantic-map{margin:0;border-radius:14px}
/* Red CTA panel, same design as the Accuracy page CTA, plus reveal, button feedback and a compact phone layout. */
main .mp2-cta{padding:0 0 88px;background:#fff}
main .mp2-cta-panel{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center;background:linear-gradient(120deg,#db0000 0%,#b80c00 45%,#951400 100%);border-radius:20px;padding:0 0 0 64px;overflow:hidden;min-height:400px}
main .mp2-cta-copy{padding:64px 0;color:#fff}
main .mp2-cta-copy h2{color:#fff;font-size:clamp(30px,3vw,40px);line-height:1.15;letter-spacing:-1.2px;margin:0 0 28px}
main .mp2-cta-lead{display:block;font-weight:400;letter-spacing:-.8px;color:rgba(255,255,255,.92);margin-bottom:6px}
main .mp2-cta-button{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:14px 30px;border-radius:7px;background:#fff;color:#db0000;font-size:16px;font-weight:700;text-decoration:none;box-shadow:0 0 0 rgba(60,0,0,0);transition:background .2s ease,transform .18s ease,box-shadow .2s ease}
main .mp2-cta-button:hover{background:#fff5f1;color:#b80c00;transform:translateY(-2px);box-shadow:0 14px 26px -12px rgba(60,0,0,.6)}
main .mp2-cta-button:active{transform:translateY(0) scale(.97);box-shadow:0 4px 10px -6px rgba(60,0,0,.5);transition-duration:.08s}
main .mp2-cta-button:focus-visible{outline:3px solid #fff;outline-offset:3px}
main .mp2-cta-arrow{display:inline-flex;width:0;margin-left:0;opacity:0;overflow:hidden;transform:translateX(-8px);transition:width .22s ease,margin-left .22s ease,opacity .2s ease,transform .22s ease}
main .mp2-cta-arrow svg{flex:none;width:18px;height:18px}
main .mp2-cta-button:hover .mp2-cta-arrow,main .mp2-cta-button:focus-visible .mp2-cta-arrow{width:18px;margin-left:10px;opacity:1;transform:none}
main .mp2-cta-art{position:relative;align-self:stretch;min-height:400px}
main .mp2-cta-page{position:absolute;width:80%;right:6%;top:64px;height:auto;box-sizing:border-box;padding:10px;border-radius:8px;background:#fff;box-shadow:0 24px 50px rgba(70,0,0,.35);transform:rotate(4deg)}
/* Reveal: cta.js adds mp2-cta-anim only when the panel starts below the fold, then is-in when it scrolls into view. */
@media(prefers-reduced-motion:no-preference){
main .mp2-cta.mp2-cta-anim:not(.is-in) .mp2-cta-copy h2,main .mp2-cta.mp2-cta-anim:not(.is-in) .mp2-cta-button,main .mp2-cta.mp2-cta-anim:not(.is-in) .mp2-cta-page{opacity:0}
main .mp2-cta.is-in .mp2-cta-copy h2{animation:mp2CtaRise .7s cubic-bezier(.2,.7,.2,1) backwards}
main .mp2-cta.is-in .mp2-cta-button{animation:mp2CtaRise .7s .14s cubic-bezier(.2,.7,.2,1) backwards}
main .mp2-cta.is-in .mp2-cta-page{animation:mp2CtaPage 1s .2s cubic-bezier(.2,.75,.25,1) backwards}
}
/* Desktop: hovering the red panel shows the button arrow. */
@media(hover:hover){main .mp2-cta-panel:hover .mp2-cta-arrow{width:18px;margin-left:10px;opacity:1;transform:none}}
@keyframes mp2CtaRise{from{opacity:0;transform:translateY(18px)}}
@keyframes mp2CtaPage{from{opacity:0;transform:translateY(80px) rotate(0deg)}}
@media(hover:none){main .mp2-cta-arrow{width:18px;margin-left:10px;opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){main .mp2-cta-button,main .mp2-cta-arrow{transition:none}main .mp2-cta-button:hover,main .mp2-cta-button:active{transform:none}}
/* Tablet and phone: centered copy, then a smaller report cover peeking up from the bottom edge of the panel. */
@media(max-width:860px){main .mp2-cta-panel{grid-template-columns:1fr;padding:0 28px;gap:0;text-align:center;min-height:0}main .mp2-cta-copy{padding:48px 0 0}main .mp2-cta-copy h2{margin-bottom:24px}main .mp2-cta-button{min-width:280px}main .mp2-cta-art{min-height:0;height:220px;max-width:460px;width:100%;margin:36px auto 0}main .mp2-cta-page{width:84%;left:8%;right:auto;top:0;transform:rotate(3deg)}}
@media(max-width:600px){main .mp2-cta{padding-bottom:56px}main .mp2-cta-panel{padding:0 20px;border-radius:16px}main .mp2-cta-copy{padding-top:36px}main .mp2-cta-copy h2{font-size:28px;margin-bottom:22px}main .mp2-cta-button{display:flex;width:100%;min-width:0;box-sizing:border-box}main .mp2-cta-art{height:150px;margin-top:28px}main .mp2-cta-page{width:82%;left:9%;padding:7px}}
@media(max-width:860px){.mp2-coverage{grid-template-columns:1fr;gap:28px;padding-block:56px}.mp2-coverage p{max-width:600px}}
@media(max-width:600px){.mp2-coverage h2{font-size:30px}}

/* Round 3 (November 20, 2026) */
/* Roof and Full Exterior: Custom Branded Reports and Gutter Report Add-On on white. */
body.measurement-polish main .mp-detail-band,body.measurement-polish main .mp-included-reports .mp-detail-band,body.measurement-polish main .rr-gutter-band{background:#fff}

/* Same title size for the 3D band, Custom Branded Reports and Measurements Coverage. */
body.measurement-polish main .md-film-band h2,body.measurement-polish main #branded-reports h3,body.measurement-polish main .mp2-coverage h2{font-size:clamp(30px,2.8vw,40px);letter-spacing:-1.3px;line-height:1.12}

/* Common Questions always sits on a gray band (as on /measurements). */
main .mp-overview-faq-band{background:#f8f6f4}
body.measurement-polish main .mp-overview-faq-band .mp-faq{background:transparent}

/* Roof and Full Exterior: size the 3D viewer so the whole model and the three points under it fit on a laptop screen. */
body.measurement-polish main .mp-film-section .mp-real-film{width:min(100%,max(560px,calc((100vh - 340px)*1.7)));margin-inline:auto}

/* Roof and Full Exterior: centered 3D section title. */
body.measurement-polish main .mp-film-section .mp-included-heading{text-align:center;margin-inline:auto}

/* Round 5: smaller Custom Branded Reports visual (all pages) and Gutter Report Add-On visual (Roof). */
@media(min-width:851px){
  body.measurement-polish main .mp-brand-only .mp-brand-preview{height:390px}
  body.measurement-polish main .mp-brand-only .mp-brand-paper{max-width:252px;top:24px}
  body.measurement-polish main .rr-gutter-preview{max-width:310px}
}
/* No divider line between Custom Branded Reports and Gutter Report Add-On. */
body.measurement-polish main .mp-included-reports+.rr-gutter-band{border-top:0}
