/*
Theme Name: Thoughtful Roofer
Description: Custom PHP theme for the Thoughtful Roofer conversion.
Version: 0.1.0
Text Domain: thoughtful-roofer
*/
@font-face{font-family:Outfit;src:url('assets/fonts/outfit.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:Poppins;src:url('assets/fonts/poppins-regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Poppins;src:url('assets/fonts/poppins-semibold.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
:root{--tr-navy:#002d49;--tr-blue:#14699a;--tr-red:#ee212b;--tr-red-dark:#ac110e;--tr-ink:#222;--tr-muted:#575760;--tr-white:#fff;--tr-soft:#f7f8f9;--tr-gray:#f0f0f0;--tr-width:1300px}
*{box-sizing:border-box}
body{margin:0;background:var(--tr-soft);color:var(--tr-ink);font-family:Poppins,sans-serif;font-size:16px;line-height:1.65}
main :is(h1,h2,h3,h4,h5,h6) { overflow-wrap: anywhere; }
h1,h2,h3{font-family:Outfit,sans-serif;font-weight:600;line-height:1.15;text-transform:capitalize}
h1{font-size:50px}h2{font-size:45px}h3{font-size:23px}
a{color:var(--tr-blue);text-decoration:none}img{max-width:100%;height:auto}
.tr-container{max-width:var(--tr-width);margin-inline:auto;padding-inline:30px}
.tr-section{padding:var(--tr-section-padding) 30px}
.tr-skip{position:absolute;left:-9999px}.tr-skip:focus{left:1rem;top:1rem;z-index:1000;background:white;padding:1rem}
.tr-header{position:absolute;top:0;left:0;right:0;z-index:10;background:transparent}
.tr-header-inner{min-height:100px;display:grid;grid-template-columns:1fr 3.5fr 1fr;align-items:center;gap:1rem;padding-block:10px}
.tr-brand img{display:block;width:200px;height:100px;object-fit:contain}
.tr-header-phone{justify-self:end;color:white;text-decoration:none;font-weight:600}
.tr-nav{justify-self:center}
.tr-nav>ul{display:flex;gap:1.25rem;list-style:none;margin:0;padding:0}
.tr-nav>ul>li>a{color:white;text-decoration:none}
.tr-mobile-dock-actions { display: none; }
.tr-mobile-action {
    display: grid; place-items: center; flex: none;
    width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px;
    background: transparent; color: white; font: inherit; font-size: 22px; line-height: 1;
    cursor: pointer;
}
a.tr-mobile-action { background: var(--tr-red-dark); text-decoration: none; font-size: 18px; }
a.tr-mobile-action:hover { background: #860b09; }
.tr-mobile-action:focus-visible, .tr-menu-card:focus-visible {
    outline: 2px solid white; outline-offset: 3px;
}
html:has(.tr-mobile-menu[open]) { overflow: hidden; }
.tr-mobile-menu {
    position: fixed; inset: 0; width: 100%; max-width: none;
    height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0;
    background: var(--tr-navy); color: white; overflow: hidden;
}
.tr-mobile-menu[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.tr-mobile-menu > h2 {
    width: 100%; max-width: var(--tr-width); margin: 0 auto; font-size: 24px;
    padding: max(14px, env(safe-area-inset-top)) var(--tr-mobile-dock-right) 4px var(--tr-mobile-dock-left);
}
.tr-mobile-menu > nav {
    width: 100%; max-width: var(--tr-width); margin-inline: auto;
    padding: 0 var(--tr-mobile-dock-right) 20px var(--tr-mobile-dock-left);
    overflow-y: auto; overscroll-behavior: contain;
}
.tr-menu-group { margin-top: 16px; }
.tr-menu-group h3 { margin: 0 0 8px; font-size: 1rem; }
.tr-menu-cards {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px; margin: 0; padding: 0; list-style: none;
}
.tr-menu-card {
    display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 8px;
    height: 100%; min-height: 44px; padding: 10px clamp(10px, 3vw, 14px);
    color: white; border: 1px solid white; border-radius: var(--tr-card-radius);
    font-size: .875rem; line-height: 1.32; overflow-wrap: anywhere;
}
.tr-menu-card:hover { background: #ffffff14; }
.tr-menu-icon {
    display: grid; place-items: center; width: 28px; height: 28px;
    color: white; background: var(--tr-red-dark); border-radius: 50%; line-height: 1;
}
@media (max-width: 359px) {
    .tr-menu-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 700px) {
    .tr-menu-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.tr-button{display:inline-block;background:var(--tr-red-dark);color:white;font-weight:500;text-decoration:none;text-transform:uppercase;transition:all .5s ease;border:1px solid var(--tr-red);border-radius:50px;padding:7px 20px;box-shadow:0 7px 10px -7px #b2b2be}.tr-button:hover,.tr-button:focus{background:rgba(255,255,255,.1);color:inherit;border-color:var(--tr-red)}
.tr-migrated-layout{width:100%;margin:0}.tr-layout-section{max-width:var(--tr-width);margin-inline:auto;padding:var(--tr-section-padding) 30px}.tr-layout-section:first-child{max-width:none;padding:0}.tr-layout-section:first-child>.tr-layout-row:not(.tr-has-background){max-width:var(--tr-width);margin:auto;padding:60px 30px}.tr-layout-row{display:flex;flex-wrap:wrap;align-items:center;gap:clamp(18px,2.5vw,32px)}.tr-layout-row>.tr-layout-group{flex:1 1 220px;min-width:0}.tr-layout-row>.tr-shared-widget{flex:0 0 auto}.tr-layout-spacer{height:1.5rem}
.tr-has-background{background-position:center;background-size:cover;background-repeat:no-repeat;position:relative;isolation:isolate;color:white;padding:clamp(32px,6vw,72px)}.tr-has-background:before{content:'';position:absolute;inset:0;z-index:-1;background:var(--tr-hero-scrim)}.tr-has-background h1,.tr-has-background p{text-shadow:1px 1px 2px #000}.tr-has-background a:not(.tr-button){color:white}.tr-layout-section:first-child>.tr-has-background{padding:250px max(30px,calc((100vw - 1300px)/2)) 100px}.tr-layout-section:first-child>.tr-has-background>.tr-layout-group{max-width:860px}
.tr-image-text{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:clamp(24px,4vw,56px)}.tr-image-text--reverse img{order:2}.tr-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:24px}.tr-card{background:var(--tr-soft);padding:24px}.tr-card h2{font-size:1.5rem}.tr-callout,.tr-hero,.tr-article-header{background:var(--tr-navy);color:white}.tr-article-body{max-width:900px}.tr-article-body img{display:block;margin-block:1.5rem}
.tr-faq details{border-bottom:1px solid #d8d8dc;padding:1rem 0}.tr-faq summary{cursor:pointer;font-weight:600}.tr-footer{background:var(--tr-navy);color:white}.tr-footer a{color:white}
.tr-home-hero{position:relative;isolation:isolate;background-color:var(--tr-navy);background-position:40% 50%;background-size:cover;color:#fff;padding:0 30px}.tr-home-video{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:40% 50%}.tr-home-hero-inner{position:relative;max-width:var(--tr-width);margin-inline:auto;padding-top:250px;z-index:1}.tr-home-hero-grid{display:grid;grid-template-columns:1.3fr .8fr 1fr;gap:1em;align-items:center}.tr-home-hero-copy h1,.tr-home-hero-copy p{text-shadow:1px 1px 2px #000}.tr-home-hero-copy a:not(.tr-button){color:#fff}.tr-home-estimate{background:#fff;color:var(--tr-navy);margin-bottom:-100px;position:relative;z-index:2;border-radius:20px;padding:20px}.tr-home-estimate h2{font-family:Outfit,sans-serif;font-size:30px;font-weight:600;text-align:center;text-transform:capitalize;margin:.25em 0 1em}.tr-home-estimate input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),.tr-home-estimate select,.tr-home-estimate textarea{max-width:100%;font:inherit;background:#fff;color:#0f172a;line-height:1.5;border:1px solid #d1d5db;border-radius:4px;padding:.5em .75em}.tr-home-estimate input:focus-visible,.tr-home-estimate select:focus-visible,.tr-home-estimate textarea:focus-visible{outline:2px solid var(--tr-blue);outline-offset:2px}.tr-home-hero+.tr-migrated-layout{padding-top:100px}
.tr-home-trust-strip{background:var(--tr-blue);color:white;position:relative;padding:30px}.tr-home-trust-inner{max-width:var(--tr-width);margin:auto}.tr-home-trust-strip h2{font-size:25px}.tr-home-trust-strip .tr-layout-section{padding:0}.tr-home-trust-strip .tr-layout-row{align-items:start}.tr-home-sections>.tr-layout-section:first-child{max-width:var(--tr-width);padding:100px 30px}
.tr-reference{padding:var(--tr-section-padding) 30px}.tr-reference>.tr-container{padding:0}.tr-reference-eyebrow{display:inline-flex;align-items:center;gap:.5em;font-weight:600;letter-spacing:1px;text-transform:uppercase}.tr-reference-eyebrow img{width:1.5em;height:1.5em}.tr-reference--trust{background:rgba(20,104,153,.2)}.tr-reference--company{background:linear-gradient(to left,rgba(255,255,255,.5),rgba(255,255,255,.5)),url('assets/reference/bg-image-gradient-red-img.webp') center/cover no-repeat}.tr-reference--services{color:white;background:linear-gradient(var(--tr-hero-scrim),var(--tr-hero-scrim)),url('assets/reference/architectural-shingles-decatur-thoughtful-roofer-background.webp') center/cover no-repeat}.tr-reference--difference{color:white;background:linear-gradient(var(--tr-hero-scrim),var(--tr-hero-scrim)),url('assets/reference/gradient-accent-huntsville-thoughtful-roofer-img.webp') center/cover no-repeat,url('assets/reference/roof-replacement-athens-thoughtful-roofer-hero.webp') center/cover no-repeat}.tr-reference--faq{background:linear-gradient(to left,rgba(255,255,255,.81),rgba(255,255,255,.81)),url('assets/reference/halftone-pattern-hartselle-thoughtful-roofer-img.webp') center/700px 700px no-repeat,url('assets/reference/brand-accent-meridianville-thoughtful-roofer-img.webp.optimized.webp') center/contain no-repeat}.tr-reference--financing{color:white;background:linear-gradient(var(--tr-hero-scrim),var(--tr-hero-scrim)),url('assets/reference/top-rated-roofing-huntsville-thoughtful-roofer-background.webp') center/cover no-repeat}
@media(max-width:1024px){h1,h2{font-size:40px}.tr-nav,.tr-header-phone{display:none}.tr-layout-section:first-child>.tr-has-background{padding-top:150px}}
@media(max-width:768px){h1,h2{font-size:30px}h3{font-size:26px}}
@media(max-width:1024px){.tr-home-hero-grid{grid-template-columns:1fr .1fr 1fr}}
@media(max-width:767px){.tr-layout-section:first-child>.tr-has-background{padding:100px 30px 60px}.tr-layout-row>.tr-layout-group:not(.tr-shared-widget){flex-basis:100%}.tr-image-text{grid-template-columns:1fr}.tr-image-text--reverse img{order:0}.tr-home-hero-inner{padding-top:150px}.tr-home-hero-grid{grid-template-columns:1fr}.tr-home-hero-spacer{display:none}.tr-home-estimate{margin-top:20px}.tr-home-trust-strip{padding-top:120px}.tr-home-sections>.tr-layout-section:first-child{padding-block:60px}}
@media(prefers-reduced-motion:reduce){.tr-home-video{display:none}}
/* Full-width reference treatments around the original homepage sections. */
.tr-home-section{background:#fff}.tr-home-section>.tr-layout-section{padding:var(--tr-section-padding) 30px;max-width:var(--tr-width)}
.tr-home-section--trust{background:rgba(20,104,153,.2)}
.tr-home-section--company{background:linear-gradient(to left,rgba(255,255,255,.5),rgba(255,255,255,.5)),url('assets/reference/bg-image-gradient-red-img.webp') center/cover no-repeat}
.tr-home-section--services{color:#fff;background:linear-gradient(to left,rgba(0,46,74,.75),rgba(0,46,74,.75)),url('assets/reference/architectural-shingles-decatur-thoughtful-roofer-background.webp') center/cover no-repeat}
.tr-home-section--difference{color:#fff;background:linear-gradient(to left,rgba(0,45,73,.75),rgba(0,45,73,.75)),url('assets/reference/roof-replacement-athens-thoughtful-roofer-hero.webp') center/cover no-repeat}
.tr-home-section--financing{color:#fff;background:linear-gradient(to left,rgba(0,0,0,.65),rgba(0,0,0,.65)),url('assets/reference/top-rated-roofing-huntsville-thoughtful-roofer-background.webp') center/cover no-repeat}
.tr-home-section--faq{background:linear-gradient(to left,rgba(255,255,255,.81),rgba(255,255,255,.81)),url('assets/reference/halftone-pattern-hartselle-thoughtful-roofer-img.webp') center/700px 700px no-repeat}
.tr-home-section--services a:not(.tr-button),.tr-home-section--difference a:not(.tr-button),.tr-home-section--financing a:not(.tr-button){color:#fff}
@media(max-width:1024px){.tr-home-section>}
@media(max-width:767px){.tr-home-section>}
/* The hero is already inset by its grid; do not apply generic section spacing again. */
.tr-home-hero-copy>.tr-layout-section,.tr-home-estimate>.tr-layout-section{max-width:none;margin:0;padding:0}
.tr-home-hero-copy>.tr-layout-section>.tr-layout-row:not(.tr-has-background),.tr-home-estimate>.tr-layout-section>.tr-layout-row:not(.tr-has-background){padding:0}
.tr-home-section--services .tr-card,.tr-home-section--difference .tr-card,.tr-home-section--financing .tr-card{color:var(--tr-ink)}
.tr-home-section--services .tr-card a:not(.tr-button),.tr-home-section--difference .tr-card a:not(.tr-button),.tr-home-section--financing .tr-card a:not(.tr-button){color:var(--tr-blue)}
/* Some legacy pages put the hero image on the section itself, rather than a child. */
.tr-migrated-layout>.tr-layout-section.tr-has-background:first-child{max-width:none;padding:250px max(30px,calc((100vw - 1300px)/2)) 100px}
.tr-migrated-layout>.tr-layout-section.tr-has-background:first-child> .tr-layout-group{max-width:860px}
@media(max-width:1024px){.tr-migrated-layout>.tr-layout-section.tr-has-background:first-child{padding:150px 30px 80px}}
@media(max-width:767px){.tr-migrated-layout>.tr-layout-section.tr-has-background:first-child{padding:80px 30px 60px}}
@media(min-width:1025px){.tr-hide-desktop{display:none!important}}
@media(min-width:768px) and (max-width:1024px){.tr-hide-tablet{display:none!important}}
@media(max-width:767px){.tr-hide-mobile{display:none!important}}
main iframe { max-width: 100%; }
.tr-map{display:block;width:100%;min-height:350px;border:0}
.tr-blog-page>.tr-layout-section:first-child{max-width:none;padding:250px max(30px,calc((100vw - 1300px)/2)) 100px;background:var(--tr-navy);color:#fff}.tr-blog-page>.tr-layout-section:first-child>.tr-layout-group{max-width:860px}.tr-blog-fallback{padding:250px 0 100px;background:var(--tr-navy);color:#fff}
.tr-post-list{display:grid;gap:24px}.tr-post-card{display:grid;grid-template-columns:minmax(160px,1fr) 2fr;gap:24px;align-items:center}.tr-post-card img{display:block;width:100%;height:auto}.tr-post-card h3{margin:0 0 .5em}
@media(max-width:1024px){.tr-blog-page>.tr-layout-section:first-child,.tr-blog-fallback{padding-top:150px;padding-bottom:80px}}
@media(max-width:767px){.tr-blog-page>.tr-layout-section:first-child,.tr-blog-fallback{padding-top:80px;padding-bottom:60px}.tr-post-card{grid-template-columns:1fr}}
.tr-testimonial{margin:0;background:#fff;color:var(--tr-ink);padding:30px;border-radius:12px;box-shadow:0 8px 30px #002d4914}.tr-testimonial blockquote{margin:0 0 1.25em}.tr-testimonial figcaption{display:flex;align-items:center;gap:.75em;color:var(--tr-navy)}.tr-testimonial figcaption img{width:48px;height:48px;border-radius:50%;object-fit:cover}.tr-testimonial cite{font-style:normal;font-weight:600}
.tr-media-gallery{display:grid;grid-template-columns:repeat(var(--tr-gallery-columns),minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0}.tr-media-gallery img{display:block;width:100%;height:auto}.tr-media-gallery li{min-width:0}
@media (max-width: 767px) {
    .tr-media-gallery { grid-template-columns: repeat(var(--tr-gallery-mobile-columns, 1), minmax(0, 1fr)); }
}
.tr-social-links{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:1em 0;padding:0}.tr-social-links a{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--tr-navy);color:#fff;text-decoration:none}.tr-social-links a:hover,.tr-social-links a:focus-visible{background:var(--tr-red-dark)}
.tr-sitemap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,4vw,48px)}.tr-sitemap h2{font-size:26px}.tr-sitemap ul{padding-left:1.2em}.tr-sitemap li{margin:.4em 0}
@media(max-width:767px){.tr-sitemap{grid-template-columns:1fr}}
.tr-table-scroll{overflow-x:auto}.tr-data-table{width:100%;border-collapse:collapse;background:#fff;color:var(--tr-ink)}.tr-data-table th,.tr-data-table td{border:1px solid #d7e0e6;padding:14px;text-align:left;vertical-align:top}.tr-data-table th{background:var(--tr-navy);color:#fff}.tr-tab-list{display:none;gap:.5rem;flex-wrap:wrap;border-bottom:1px solid #cbd5dc}.tr-tabs.is-enhanced>.tr-tab-list{display:flex}.tr-tab-list button{border:0;border-bottom:3px solid transparent;background:transparent;padding:14px 18px;font:inherit;font-weight:600;color:var(--tr-navy);cursor:pointer}.tr-tab-list button[aria-selected=true]{border-color:var(--tr-red);color:var(--tr-red-dark)}.tr-tab-panel{padding-block:24px}.tr-tabs.is-enhanced>.tr-tab-panel>.tr-tab-fallback-title{display:none}.tr-tab-panel[hidden]{display:none}
/* Homepage treatments follow the saved reference's full-width sections and grids. */
.tr-refhome{background:#fff}.tr-refhome-wrap{max-width:1300px;margin:0 auto}.tr-refhome-section{padding:var(--tr-section-padding) 30px}.tr-refhome h1,.tr-refhome h2,.tr-refhome h3{margin:0 0 .45em}.tr-refhome p{margin:0 0 1em}.tr-refhome-eyebrow{display:flex;align-items:center;gap:9px;font-weight:600;letter-spacing:1px;text-transform:uppercase}.tr-refhome-eyebrow img{width:24px;height:24px}.tr-refhome-two{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.tr-refhome-center{text-align:center;max-width:1000px}.tr-refhome-center .tr-refhome-eyebrow{justify-content:center}.tr-refhome-actions{display:flex;gap:15px;flex-wrap:wrap;margin-top:22px}
.tr-refhome-hero{position:relative;isolation:isolate;background-color:#002d49;background-position:40% 50%;background-size:cover;color:#fff;padding:0 30px}.tr-refhome-video{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:40% 50%}.tr-refhome-hero-inner{padding-top:250px;position:relative}.tr-refhome-hero-grid{display:grid;grid-template-columns:1.3fr .8fr 1fr;gap:1em;align-items:center}.tr-refhome-hero-copy{padding-bottom:70px}.tr-refhome-hero-copy h1,.tr-refhome-hero-copy>p{text-shadow:1px 1px 2px #000}.tr-refhome-hero-phone{display:inline-block;color:#fff;text-decoration:none;font-weight:600;margin-top:18px}.tr-refhome-form{background:#fff;color:#002d49;border-radius:20px;padding:20px;position:relative;margin-bottom:-100px;z-index:2}.tr-refhome-form-title{text-align:center;font-family:Outfit,sans-serif;font-size:25px;font-weight:600;text-transform:capitalize}.tr-refhome-form input:not([type=submit]):not([type=button]),.tr-refhome-form textarea{width:100%;max-width:100%;border:1px solid #d1d5db;border-radius:4px;background:#fff;color:#222;font:inherit;padding:9px 10px}.tr-refhome-form textarea{min-height:76px}.tr-refhome-form .gform_wrapper .gform_fields{row-gap:10px}.tr-refhome-form input[type=submit]{background:#ac110e;color:#fff;text-transform:uppercase;border:1px solid #ee212b;border-radius:50px;padding:9px 24px;cursor:pointer}.tr-refhome-form .gform_required_legend{display:none}
.tr-refhome-stats{background:var(--tr-blue);color:#fff;padding:30px}.tr-refhome-stats-grid{display:grid;grid-template-columns:2fr 1fr;text-align:center;gap:1em}.tr-refhome-stat-items{display:grid;grid-template-columns:repeat(3,1fr);gap:1em}.tr-refhome-stat-items strong{display:block;font-family:Outfit,sans-serif;font-size:45px;line-height:1.1}.tr-refhome-stat-items span{display:block}.tr-refhome-trust{background:var(--tr-light-blue)}.tr-refhome-company{background:linear-gradient(to left,rgba(255,255,255,.5),rgba(255,255,255,.5)),url('assets/reference/bg-image-gradient-red-img.webp') center/cover no-repeat}.tr-refhome-company-image{position:relative;display:flex;align-items:center}.tr-refhome-company-image>img{width:100%;display:block;border-radius:15px}.tr-refhome-badge{position:absolute;left:0;bottom:30px;background:#14699a;color:#fff;border-radius:15px;padding:20px 30px;text-align:center}.tr-refhome-badge strong{display:block;font:600 45px/1 Outfit,sans-serif}.tr-refhome-badge span{display:block}.tr-refhome-feature-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.tr-refhome-feature-pair strong{font:600 23px/1.2 Outfit,sans-serif}
.tr-refhome-services-intro{background:linear-gradient(var(--tr-hero-scrim),var(--tr-hero-scrim)),url('assets/reference/architectural-shingles-decatur-thoughtful-roofer-background.webp') center/cover no-repeat fixed;color:#fff;padding-bottom:var(--tr-section-padding)}.tr-refhome-service-area{background:linear-gradient(to right,#fff,rgba(255,255,255,.49)),url('assets/reference/circle-dots-img.webp') 90% 51%/500px 500px no-repeat}.tr-refhome-service-grid{position:relative;margin-block-start:calc(-1 * var(--tr-section-gap));display:grid;grid-template-columns:repeat(6,1fr);gap:1em}.tr-refhome-service-card{grid-column:span 2;background:#fff;text-align:center;box-shadow:none;border-radius:var(--tr-card-radius);padding:30px;transition:transform .3s}.tr-refhome-service-card:nth-child(n+4){grid-column:span 3}.tr-refhome-service-card:hover{transform:translateY(-10px)}.tr-refhome-service-icon{display:inline-flex;justify-content:center;align-items:center;width:70px;height:70px;margin-bottom:20px;background:#14699a;border-radius:50%}.tr-refhome-service-icon img{width:40px;height:40px}.tr-refhome-service-card a{font-weight:600;text-transform:uppercase;text-decoration:none}
.tr-refhome-difference{color:#fff;background:linear-gradient(var(--tr-hero-scrim),var(--tr-hero-scrim)),url('assets/reference/gradient-accent-huntsville-thoughtful-roofer-img.webp') center/cover no-repeat,url('assets/reference/roof-replacement-athens-thoughtful-roofer-hero.webp') center/cover no-repeat}.tr-refhome-difference-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:30px;align-items:center}.tr-refhome-difference-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.tr-refhome-difference-cards article{background:#fff;color:#222;border-radius:15px;padding:30px;text-align:center}.tr-refhome-difference-cards article>span{display:grid;place-items:center;margin:0 auto 20px;width:56px;height:56px;border-radius:50%;background:#14699a;color:#fff;font-size:28px}.tr-refhome-projects{background:#fff}.tr-refhome-faq{background:linear-gradient(to left,rgba(255,255,255,.81),rgba(255,255,255,.81)),url('assets/reference/halftone-pattern-hartselle-thoughtful-roofer-img.webp') center/700px 700px no-repeat,url('assets/reference/brand-accent-meridianville-thoughtful-roofer-img.webp.optimized.webp') center/contain no-repeat}.tr-refhome-questions details{background:#fff;border:0;border-radius:8px;margin-bottom:10px;padding:16px 20px}.tr-refhome-questions summary{color:#002d49}.tr-refhome-questions details p{margin:12px 0 0}
.tr-refhome-financing{color:#fff;background:linear-gradient(var(--tr-hero-scrim),var(--tr-hero-scrim)),url('assets/reference/top-rated-roofing-huntsville-thoughtful-roofer-background.webp') center/cover no-repeat;padding-bottom:var(--tr-section-padding)}.tr-refhome-financing-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;position:relative;margin-block-start:calc(-1 * var(--tr-section-gap))}.tr-refhome-financing-cards article{display:grid;grid-template-columns:1fr 1fr;background:#fff;border-radius:15px;overflow:hidden;box-shadow:0 5px 20px #0002}.tr-refhome-financing-cards article>div{padding:30px}.tr-refhome-financing-cards img{width:100%;height:100%;object-fit:cover}.tr-refhome-contact{padding-top:0}.tr-refhome-contact-panel{min-height:250px;display:grid;place-items:center;background:#e7f0f6;border-radius:15px}.tr-refhome-brands{background:var(--tr-light-blue)}.tr-refhome-brand-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:30px;align-items:center;margin-top:35px}.tr-refhome-brand-grid img{max-height:90px;width:100%;object-fit:contain}.tr-refhome-updates{background:#fff}.tr-refhome-preserved{background:#002d49;color:#fff;padding:30px}.tr-refhome-preserved summary{cursor:pointer}.tr-refhome-preserved .tr-migrated-layout{background:#fff;color:#222}.tr-refhome-preserved .tr-has-background{color:#fff}
/* The cards overlap the previous band. Their container owns the space below the last row. */
.tr-refhome-service-area, .tr-refhome-financing-area {
    display: flow-root;
    padding: 0 30px var(--tr-section-padding);
}
@media(max-width:1024px){.tr-refhome-hero-inner{padding-top:150px}.tr-refhome-hero-grid{grid-template-columns:1fr .1fr 1fr}.tr-refhome-two,.tr-refhome-difference-grid{grid-template-columns:1fr}.tr-refhome-service-grid{grid-template-columns:repeat(4,1fr)}.tr-refhome-service-card:nth-child(n){grid-column:span 2}.tr-refhome-service-card:last-child{grid-column:span 4}.tr-refhome-stats-grid{grid-template-columns:1fr 1fr}.tr-refhome-financing-cards{grid-template-columns:1fr}}
@media(max-width:767px){.tr-refhome-hero-inner{padding-top:150px}.tr-refhome-hero-grid{grid-template-columns:1fr}.tr-refhome-hero-copy{padding-bottom:0;text-align:center}.tr-refhome-hero-copy .tr-refhome-eyebrow,.tr-refhome-hero-copy .tr-refhome-actions{justify-content:center}.tr-refhome-hero-spacer{display:none}.tr-refhome-form{margin-top:20px}.tr-refhome-stats{padding-top:120px}.tr-refhome-stats-grid,.tr-refhome-stat-items,.tr-refhome-feature-pair,.tr-refhome-difference-cards,.tr-refhome-financing-cards article{grid-template-columns:1fr}.tr-refhome-service-grid{grid-template-columns:1fr}.tr-refhome-service-card:nth-child(n){grid-column:auto}.tr-refhome-brand-grid{grid-template-columns:repeat(2,1fr)}.tr-refhome-company-image{order:2}}
@media(prefers-reduced-motion:reduce){.tr-refhome-video{display:none}.tr-refhome-service-card{transition:none}}
.tr-refhome-form .gform_wrapper.gravity-theme .gform_footer input[type=submit],.tr-refhome-form .gform_wrapper.gravity-theme .gform_footer button[type=submit],.tr-refhome-form .gform_wrapper .gform_footer .gform_button{background:#ac110e!important;color:#fff!important;border:1px solid #ee212b!important;border-radius:50px!important;padding:9px 24px!important;text-transform:uppercase;box-shadow:0 7px 10px -7px #b2b2be!important}
.tr-refhome-form-title{font-size:30px}.tr-refhome-form .gform_wrapper .gform_fields{row-gap:1.5em}.tr-refhome-form .gfield_required_text{font-size:0}.tr-refhome-form .gfield_required_text:after{content:'*';font-size:14px;color:#dc2626}.tr-refhome-contact-panel iframe{display:block;width:100%;min-height:420px;height:100%;border:0;border-radius:15px}
@media(max-width:767px){.tr-refhome-form-title{font-size:25px}}
@media(prefers-reduced-motion:reduce){.tr-refhome-hero{background-image:url('../../uploads/2026/10/thoughtful-roofer-hero-poster-img.webp')}}
/* Restored legacy navigation with a direct route to the complete directory. */
.tr-header-inner{grid-template-columns:minmax(150px,1fr) auto auto;gap:24px}.tr-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px}.tr-header-phone{white-space:nowrap}.tr-header-estimate{white-space:nowrap;font-size:13px}.tr-nav>ul{align-items:center;gap:1.15rem}.tr-nav-disclosure>summary{color:#fff;cursor:pointer;list-style:none;white-space:nowrap}
.tr-nav-disclosure>summary::-webkit-details-marker{display:none}
.tr-nav-disclosure>summary::after{content:'';display:inline-block;width:.42em;height:.42em;margin:0 .12em .2em .55em;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}
.tr-nav-disclosure[open]>summary::after{transform:translateY(.19em) rotate(225deg)}
.tr-nav-disclosure>summary:focus-visible,.tr-menu-button:focus-visible{outline:2px solid #fff;outline-offset:3px}.tr-directory{background:#eef5f9}.tr-directory-groups{display:grid;gap:12px}.tr-directory-groups>details{background:#fff;border-radius:10px;padding:18px 22px}.tr-directory-groups>details>summary{cursor:pointer;font-family:Outfit,sans-serif;font-size:22px;font-weight:600;color:#002d49}.tr-directory-count{font:400 14px/1 Poppins,sans-serif;color:#575760}.tr-directory-groups ul{columns:3;column-gap:36px;padding-left:20px}.tr-directory-groups li{break-inside:avoid;margin:.5em 0}
@media(max-width:1100px) and (min-width:1025px){.tr-header-inner{gap:12px}.tr-nav>ul{gap:.65rem}.tr-header-estimate{font-size:11px}.tr-header-phone{font-size:13px}}
@media(max-width:1024px){.tr-header-inner{grid-template-columns:1fr auto}.tr-header-actions{display:none}.tr-directory-groups ul{columns:2}}
@media(max-width:600px){.tr-directory-groups ul{columns:1}}
/* The sitemap has its own hero so its content clears the overlay header. */
.tr-directory-hero{background:var(--tr-navy);color:#fff;padding:250px 0 72px}.tr-directory-hero h1{margin:0 0 12px}.tr-directory-hero p{margin:0;color:#fff}.tr-directory-section{padding:var(--tr-section-padding) 0}.tr-directory-intro{margin-bottom:28px}.tr-directory-intro h2{margin:0 0 10px}.tr-directory-intro p{margin:0}.tr-directory-groups>details{padding:0;overflow:hidden;box-shadow:0 6px 22px rgba(0,45,73,.06)}.tr-directory-groups>details>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;padding:20px 24px}.tr-directory-groups>details>summary::-webkit-details-marker{display:none}.tr-directory-groups>details>summary:focus-visible{outline:3px solid var(--tr-blue);outline-offset:-3px}.tr-directory-indicator{width:32px;height:32px;display:grid;place-items:center;flex:none;background:#eaf2f7;color:var(--tr-navy);border-radius:50%}.tr-directory-indicator:after{content:'+';font:400 24px/1 Outfit,sans-serif}.tr-directory-groups>details[open] .tr-directory-indicator:after{content:'−'}.tr-directory-groups>details>ul{border-top:1px solid #dce7ee;margin:0;padding:20px 30px 24px 46px}.tr-directory-groups a{text-decoration:none}.tr-directory-groups a:hover,.tr-directory-groups a:focus{text-decoration:none}
@media(max-width:1024px){.tr-directory-hero{padding:80px 0 60px}}
@media(max-width:767px){.tr-directory-hero{padding:60px 0 48px}.tr-directory-groups>details>summary{padding:18px}.tr-directory-groups>details>ul{padding:16px 22px 20px 38px}}

/* Shared interior patterns, drawn from the saved service and residential pages. */
:root {
    --tr-card-radius: 15px;
    --tr-card-outline: #e4dfd4;
    --tr-card-inset: clamp(20px, 2.2vw, 30px);
    --tr-grid-gap: clamp(16px, 2vw, 30px);
    --tr-light-blue: #d0e1eb;
    --tr-section-padding: clamp(36px, calc(12.5vw - 40px), 120px);
    --tr-section-gutter: clamp(20px, 3vw, 30px);
    --tr-section-gap: clamp(16px, 2vw, 28px);
}
.tr-surface-white { --tr-band: #fff; color: var(--tr-ink); }
.tr-surface-mist { --tr-band: var(--tr-light-blue); color: var(--tr-ink); }
.tr-surface-navy { --tr-band: var(--tr-navy); color: white; }
:is(.tr-surface-white, .tr-surface-mist, .tr-surface-navy):not(.tr-has-background) { background-color: var(--tr-band); }
.tr-layout-section:is(.tr-surface-white, .tr-surface-mist, .tr-surface-navy):not(.tr-has-background) {
    max-width: none;
    padding-inline: max(30px, calc((100% - var(--tr-width)) / 2 + 30px));
}
.tr-surface-navy a:not([class]) { color: inherit; }
.tr-layout-section > :is(h2, h3) { margin: 0 0 14px; color: inherit; }
.tr-layout-section > .tr-rich-text { max-width: 76ch; }
.tr-layout-section > .tr-rich-text > :first-child { margin-top: 0; }
.tr-layout-section > :is(h2, h3, .tr-rich-text) + .tr-feature-grid { margin-top: clamp(24px, 3vw, 42px); }
.tr-feature-grid + .tr-layout-row, .tr-feature-grid + .tr-feature-grid { margin-top: var(--tr-grid-gap); }
.tr-layout-group.tr-feature-grid {
    display: grid;
    grid-template-columns: repeat(var(--tr-columns, 3), minmax(0, 1fr));
    align-items: stretch;
    gap: var(--tr-grid-gap);
}
.tr-feature-grid--2 { --tr-columns: 2; }
.tr-feature-grid--4 { --tr-columns: 4; }
.tr-feature-grid--5 { --tr-columns: 5; }
.tr-feature-grid--6 { --tr-columns: 3; }
.tr-feature-grid > :is(.tr-layout-group, .tr-card),
.tr-surface-card, .tr-surface-accent-card, .tr-card-grid > .tr-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    padding: var(--tr-card-inset);
    border-radius: var(--tr-card-radius);
    background: white;
    box-shadow: none;
    color: var(--tr-ink);
    overflow-wrap: anywhere;
}
.tr-feature-grid > .tr-surface-accent-card, .tr-layout-group.tr-surface-accent-card {
    color: white;
    background: var(--tr-navy);
}
.tr-feature-grid > .tr-layout-group > .tr-layout-group:not(.tr-shared-widget) { width: 100%; }
.tr-feature-grid > .tr-layout-group > .tr-layout-row {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
.tr-feature-grid .tr-layout-row > hr { flex: 1; border: 0; border-top: 1px solid currentColor; opacity: .45; }
.tr-feature-grid :is(h2, h3, h4), .tr-card-grid > .tr-card :is(h2, h3) {
    margin: 0;
    font: 600 clamp(21px, 1.7vw, 26px)/1.16 Outfit, sans-serif;
    text-transform: none;
}
.tr-feature-grid .tr-card > h3 + div:not(:empty) { margin-top: 10px; }
.tr-feature-grid .tr-layout-group > .tr-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    color: inherit;
}
.tr-feature-grid :is(p, ul) { margin-block: 0; }
.tr-feature-grid .tr-icon-list:not(:has(i)) { list-style: none; padding-left: 0; }
.tr-feature-grid > .tr-layout-group > i, .tr-feature-grid > .tr-card > i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--tr-blue);
    color: white;
    font-size: 23px;
}
.tr-feature-grid .tr-layout-row > i { color: var(--tr-blue); font-size: 22px; }
.tr-feature-grid .tr-surface-accent-card .tr-layout-row > i { color: white; }
.tr-feature-grid > .tr-layout-group > :is(.tr-shared-widget, .tr-button):last-child { margin-top: auto; }
.tr-layout-group.tr-media-split { align-items: center; gap: clamp(28px, 4vw, 50px); }
:is(.tr-media-split, .tr-photo-form) > .tr-layout-group > img:only-child {
    display: block; width: 100%; height: auto; border-radius: var(--tr-card-radius);
}
.tr-media-split > .tr-layout-group > img:only-child { box-shadow: 0 10px 10px -7px #0003; }
.tr-article-header.tr-section { padding-top: 235px; }
.tr-article-header h1 { max-width: 32ch; margin: 0 0 .3em; }
.tr-article-body { background: white; padding-inline: clamp(22px, 5vw, 64px); }
.tr-article-body > img:first-child { border-radius: var(--tr-card-radius); }
.tr-article-body h2 { font-size: clamp(26px, 3vw, 36px); margin: 1.5em 0 .5em; }
@media (max-width: 1024px) {
    .tr-layout-group.tr-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tr-article-header.tr-section { padding-top: 80px; }
}
@media (max-width: 767px) {
    .tr-layout-group.tr-feature-grid { grid-template-columns: minmax(0, 1fr); }
    .tr-article-header.tr-section { padding-top: 60px; }
}
.tr-layout-group.tr-source-grid {
    display: grid;
    grid-template-columns: repeat(var(--tr-source-columns), minmax(0, 1fr));
    gap: var(--tr-grid-gap);
    align-items: stretch;
}
.tr-layout-group.tr-photo-form { align-items: start; }
.tr-photo-form-copy { grid-column: 1 / -1; min-width: 0; }
.tr-photo-form-copy > hr { margin: 0 0 clamp(16px, 2vw, 24px); border: 0; border-top: 1px solid currentColor; opacity: .38; }
.tr-photo-form-copy > :is(h2,h4) { margin: 0 0 12px; }
.tr-photo-form-copy > .tr-rich-text p { margin: 0; }
.tr-layout-section:first-child > .tr-has-background + .tr-source-grid.tr-feature-grid {
    position: relative;
    margin-top: calc(-1 * var(--tr-grid-overlap));
    padding-block: 0;
}
@media (max-width: 1024px) {
    .tr-layout-group.tr-source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .tr-layout-group.tr-source-grid { grid-template-columns: minmax(0, 1fr); }
    .tr-layout-section:first-child > .tr-has-background + .tr-source-grid.tr-feature-grid { margin-top: max(-16px, calc(-1 * var(--tr-grid-overlap))); }
}
@media (min-width: 768px) {
    .tr-feature-grid > .tr-surface-card > .tr-layout-row:has(> :is(h2, h3)) {
        min-height: 2.32em;
        font-size: clamp(21px, 1.7vw, 26px);
    }
}

/* The header floats within the content width as it compacts on scroll. */
html {
    --tr-header-float-gap: 12px;
    scroll-padding-top: calc(var(--tr-header-height, 100px) + var(--wp-admin--admin-bar--height, 0px) + var(--tr-header-float-gap) + 12px);
}
.tr-header {
    --tr-header-progress: 0;
    --tr-header-radius: calc(var(--tr-card-radius) * var(--tr-header-progress));
    --tr-logo-height: 76px;
    --tr-logo-reduction: 32px;
    position: sticky;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--tr-header-float-gap) * var(--tr-header-progress));
    width: calc(100% - max(32px, 100% - var(--tr-width)) * var(--tr-header-progress));
    margin-inline: auto;
    border-radius: var(--tr-header-radius);
    background-color: var(--tr-navy);
    z-index: 30;
}
.tr-header .tr-brand img {
    height: calc(var(--tr-logo-height) - var(--tr-logo-reduction) * var(--tr-header-progress));
    width: auto;
    max-width: 100%;
    transition: height 140ms ease-out;
}
.tr-header .tr-header-inner {
    --tr-header-block-inset: calc(10px - 3px * var(--tr-header-progress));
    --tr-header-inline-inset: clamp(14px, 3vw, calc(30px - 10px * var(--tr-header-progress)));
    min-height: 0;
    padding-block: var(--tr-header-block-inset);
    padding-inline: var(--tr-header-inline-inset);
}
.tr-button-label { display: inline-flex; align-items: center; gap: .45em; max-width: 100%; }
.tr-button-label > span { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 1025px) {
    .tr-header-actions { align-self: stretch; }
    .tr-header .tr-header-estimate {
        --tr-estimate-pill-radius: calc(50px * (1 - var(--tr-header-progress)));
        --tr-estimate-pill-height: calc(1lh + 16px);
        --tr-estimate-cap-height: calc(100% + 2 * var(--tr-header-block-inset));
        --tr-estimate-right-radius: calc(var(--tr-estimate-pill-radius) + var(--tr-header-radius));
        display: inline-flex; align-items: center; justify-content: center;
        height: calc(var(--tr-estimate-pill-height) * (1 - var(--tr-header-progress)) + var(--tr-estimate-cap-height) * var(--tr-header-progress));
        margin-inline-end: calc(-1 * var(--tr-header-inline-inset) * var(--tr-header-progress));
        padding-block: 0;
        border-width: calc(1px * (1 - var(--tr-header-progress)));
        border-radius: var(--tr-estimate-pill-radius) var(--tr-estimate-right-radius) var(--tr-estimate-right-radius) var(--tr-estimate-pill-radius);
        box-shadow: 0 7px 10px -7px rgb(178 178 190 / calc(1 - var(--tr-header-progress)));
        transition: background-color 140ms ease;
    }
    .tr-header-estimate:focus-visible { outline-offset: -5px; }
    body:has(.tr-refhome-hero, main > article > .tr-migrated-layout > .tr-layout-section.tr-has-background:first-child,
             main > article > .tr-migrated-layout > .tr-layout-section:first-child > .tr-has-background:first-child) > .tr-header {
        position: fixed;
        background-color: var(--tr-navy);
    }
    body:has(.tr-refhome-hero, main > article > .tr-migrated-layout > .tr-layout-section.tr-has-background:first-child,
             main > article > .tr-migrated-layout > .tr-layout-section:first-child > .tr-has-background:first-child) > .tr-header[data-scroll-ready] {
        background-color: rgb(0 45 73 / var(--tr-header-progress));
        transition: background-color 160ms ease-out, box-shadow 160ms ease-out;
    }
    .tr-article-header.tr-section, .tr-directory-hero, .tr-blog-fallback,
    .tr-blog-page > .tr-layout-section:first-child:not(.tr-has-background) { padding-top: 72px; }
}
.tr-header.is-scrolled { box-shadow: 0 4px 16px rgb(0 25 42 / calc(.18 * var(--tr-header-progress))); }
/* Keep navigation actions and the modal close control in the same thumb zone. */
@media (max-width: 1024px) {
    html {
        --tr-mobile-dock-left: max(16px, env(safe-area-inset-left));
        --tr-mobile-dock-right: max(16px, env(safe-area-inset-right));
        --tr-mobile-dock-height: calc(64px + env(safe-area-inset-bottom));
        scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + 12px);
        scroll-padding-bottom: calc(var(--tr-mobile-dock-height) + 12px);
    }
    body { padding-bottom: var(--tr-mobile-dock-height); }
    .tr-header, .tr-header.is-scrolled {
        position: fixed; top: auto; bottom: 0; width: 100%; margin: 0; border-radius: 0;
        box-shadow: 0 -4px 16px rgb(0 25 42 / .16);
    }
    .tr-header .tr-header-inner, .tr-mobile-menu-dock {
        min-height: var(--tr-mobile-dock-height); gap: 8px;
        padding: 8px var(--tr-mobile-dock-right) calc(8px + env(safe-area-inset-bottom)) var(--tr-mobile-dock-left);
    }
    .tr-header .tr-header-inner { grid-template-columns: minmax(0, 1fr) auto; }
    .tr-header .tr-brand { width: fit-content; max-width: 100%; }
    .tr-header .tr-brand img { height: 42px; }
    .tr-mobile-dock-actions { display: flex; align-items: center; gap: 8px; }
    .tr-mobile-menu-dock {
        display: flex; align-items: center; justify-content: flex-end; width: 100%;
        box-shadow: 0 -1px rgb(255 255 255 / .28);
    }
}
@media (prefers-reduced-motion: reduce) {
    .tr-header.is-scrolled { --tr-header-progress: 1 !important; }
    body .tr-header, .tr-header .tr-brand img, .tr-header .tr-header-estimate { transition: none !important; }
}
.tr-migrated-layout > .tr-layout-section:first-child:has(> h1):not(.tr-has-background) {
    max-width: none;
    padding: clamp(34px, 5vw, 72px) max(24px, calc((100% - var(--tr-width)) / 2 + 30px));
}
.tr-layout-section:first-child:has(> h1) > h2:first-child { margin: 0 0 12px; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.tr-layout-section:first-child > h1 { margin: 0 0 16px; }
.tr-layout-section:first-child > h1 + .tr-rich-text p { margin: 0; }

/* A form and its introduction share the same white surface as the estimate panel. */
.tr-form-card, .tr-layout-group.tr-form-panel {
    min-width: 0;
    padding: clamp(22px, 3vw, 42px);
    border: var(--tr-card-frame);
    border-radius: var(--tr-card-radius);
    background: white;
    color: var(--tr-ink);
    box-shadow: none;
    text-shadow: none;
}
.tr-layout-group.tr-form-panel > :is(h2,h3) {
    margin: 0 0 22px;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.12;
    text-transform: none;
    color: var(--tr-navy);
}
.tr-layout-group:has(> .tr-form-card:only-child) { background: transparent; }
.tr-form-panel > .tr-layout-group > .tr-form-card:only-child, .tr-form-panel > .tr-form-card {
    padding: 0;
    border: 0;
    box-shadow: none;
}
.tr-layout-row.tr-form-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
}
.tr-source-grid:has(.tr-social-links) .tr-layout-group:not(:where(.tr-card--blueprint,.tr-card--paper)) > .tr-button {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-transform: none;
    color: var(--tr-blue);
    text-decoration: none;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.tr-source-grid:has(.tr-social-links) .tr-social-links { gap: 8px; margin: auto 0 0; }
.tr-source-grid:has(.tr-social-links) .tr-card > i {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--tr-blue); color: white;
    margin-bottom: 14px;
}
.tr-source-grid:has(.tr-social-links) :where(.tr-layout-group:not(.tr-card--blueprint)) > .tr-card h3 a { color: var(--tr-navy); }
#main .gform_wrapper.gform-theme form {
    --gf-color-primary: var(--tr-red-dark);
    --gf-color-primary-darker: #870d0b;
    --gf-color-primary-contrast: white;
    --gf-ctrl-radius: 8px;
    --gf-ctrl-border-color: #8295a1;
    --gf-ctrl-outline-color-focus: var(--tr-blue);
    --gf-ctrl-btn-radius: 50px;
    color: var(--tr-ink);
}
#main :is(.tr-form-card,.tr-refhome-form) .gform_required_legend {
    margin: 0 0 20px;
    font-size: .875rem;
    color: var(--tr-muted);
    text-shadow: none;
}
#main .gform_wrapper.gform-theme .gfield_label { color: var(--tr-navy); font-weight: 600; }
#main .gform_wrapper.gform-theme :is(.gform_next_button,.gform_button,.gform_previous_button) {
    border-radius: 50px;
    padding: 10px 24px;
    background: var(--tr-red-dark);
    border: 1px solid var(--tr-red);
    color: white;
    font-family: inherit;
    font-weight: 600;
}
#main .gform_wrapper.gform-theme .gform_previous_button {
    color: var(--tr-navy);
    background: white;
    border-color: #8295a1;
}
#main .gform_wrapper.gform-theme :is(.gform_next_button,.gform_button):hover { background: #870d0b; }
#main .gform_wrapper :is(input,textarea,select,button):focus-visible {
    outline: 3px solid var(--tr-blue); outline-offset: 2px;
}
@media (max-width: 1024px) {
    .tr-layout-row.tr-form-split { grid-template-columns: minmax(0,1fr); }
}
.tr-source-grid:has(.tr-social-links) :is(.tr-card > i, .tr-social-links a) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tr-form-card { width: 100%; container-type: inline-size; }
#main .tr-form-card .gform_fields > .gfield { min-width: 0; }
#main .tr-form-card .gform_fields > [data-field-span="12"] { grid-column: 1 / -1; }
#main .tr-form-card .gform_fields > [data-field-span="6"] { grid-column: span 6; }
@container (max-width: 430px) {
    #main .tr-form-card .gform_fields > .gfield { grid-column: 1 / -1; }
}

/* One scrim above the media (including the video poster) and below all content. */
:root { --tr-hero-scrim: rgb(2 9 16 / 57%); }
.tr-refhome-hero, .tr-home-hero, .tr-has-background { z-index: 0; }
.tr-refhome-hero::before,
.tr-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: var(--tr-hero-scrim);
}
.tr-layout-section:first-child.tr-has-background::before,
.tr-layout-section:first-child .tr-has-background::before,
.tr-has-background:has(h1)::before {
    background: var(--tr-hero-scrim);
    pointer-events: none;
}
:is(.tr-refhome-hero, .tr-home-hero, .tr-has-background, .tr-header) .tr-button:is(:hover, :focus) {
    background: #870d0b;
    color: white;
}

/* Article lists, independent feature boxes and grouped source widgets. */
.tr-editorial-section.tr-layout-row {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    align-items: start;
    gap: clamp(32px,5vw,76px);
}
.tr-editorial-section > .tr-layout-group:first-child > h2:first-child:has(+ h2) {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--tr-blue);
    font: 600 .94rem/1.4 Outfit,sans-serif;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.tr-editorial-section > .tr-layout-group:first-child > h2:first-child:has(+ h2)::before {
    content: "";
    flex: 0 0 23px;
    height: 23px;
    background: url('assets/reference/roof-mark.svg') center / contain no-repeat;
}
.tr-editorial-section > .tr-layout-group:first-child > h2 + h2 {
    margin: 0 0 24px;
    color: var(--tr-navy);
    line-height: 1.1;
}
.tr-post-card, .tr-migrated-layout .tr-info-card, .tr-widget-panel, .tr-migrated-layout .tr-callout {
    min-width: 0;
    background: white;
    color: var(--tr-ink);
    border: var(--tr-card-frame);
    border-radius: var(--tr-card-radius);
    box-shadow: none;
    overflow-wrap: anywhere;
}
.tr-post-list { gap: 20px; }
.tr-post-card {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    text-align: start;
}
.tr-post-card:has(> .tr-post-card-media) { grid-template-columns: minmax(0,.8fr) minmax(0,1.35fr); }
.tr-post-card-media { display: block; min-width: 0; position: relative; }
.tr-post-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tr-post-card-copy { align-self: center; min-width: 0; padding: clamp(20px,2.2vw,32px); }
.tr-post-card-copy > :is(h2,h3) { font: 600 clamp(21px,1.8vw,27px)/1.18 Outfit,sans-serif; text-transform: none; margin: 0; }
.tr-post-card-copy > :is(h2,h3) a { color: var(--tr-navy); text-decoration: none; }
.tr-post-card-copy > :is(h2,h3) a:hover, .tr-post-card-copy > :is(h2,h3) a:focus-visible { color: var(--tr-blue); text-decoration: none; }
.tr-post-card:focus-within { outline: 3px solid var(--tr-blue); outline-offset: 3px; }
.tr-post-card-copy p { color: var(--tr-muted); margin: 12px 0 0; line-height: 1.55; }
.tr-card-grid > .tr-post-card { display: flex; flex-direction: column; }
.tr-card-grid > .tr-post-card .tr-post-card-media { aspect-ratio: 16 / 9; }
.tr-card-grid > .tr-post-card .tr-post-card-copy { align-self: stretch; }
.tr-migrated-layout .tr-info-card, .tr-widget-panel, .tr-migrated-layout .tr-callout { padding: var(--tr-card-inset); }
.tr-widget-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
}
.tr-widget-panel > .tr-button:last-child { margin-top: auto; }
.tr-migrated-layout :is(.tr-info-card, .tr-callout) > :is(h2,h3) {
    margin: 0 0 8px;
    font: 600 clamp(20px,1.5vw,25px)/1.2 Outfit,sans-serif;
    text-transform: none;
    color: var(--tr-navy);
}
.tr-migrated-layout :is(.tr-info-card, .tr-callout) a:not(.tr-button) { color: var(--tr-blue); }
.tr-migrated-layout .tr-info-card > img { display: block; border-radius: 10px; margin-bottom: 14px; }
.tr-migrated-layout :is(.tr-info-card, .tr-callout, .tr-widget-panel) p { text-shadow: none; }
.tr-migrated-layout :is(.tr-info-card,.tr-callout) p:first-child { margin-top: 0; }
.tr-migrated-layout :is(.tr-info-card,.tr-callout) p:last-child { margin-bottom: 0; }
.tr-migrated-layout :is(.tr-widget-panel,.tr-surface-card,.tr-surface-accent-card) > :is(.tr-card,.tr-callout),
.tr-feature-grid > .tr-layout-group > .tr-info-card {
    background: transparent;
    color: inherit;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}
.tr-widget-panel > i, .tr-migrated-layout .tr-info-card > i {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 50%; background: var(--tr-blue); color: white;
    font-size: 22px;
}
.tr-migrated-layout .tr-info-card > i { margin-bottom: 12px; }
.tr-widget-panel--step > :is(h2,h3,h4,h5,h6) {
    margin: 0; min-width: 42px; padding: 8px 12px;
    border-radius: 10px; background: var(--tr-navy); color: white;
    text-align: center; font: 600 20px/1.25 Outfit,sans-serif;
}
.tr-box-collection { display: grid; gap: 16px; min-width: 0; }
.tr-box-collection > .tr-layout-spacer { display: none; }
.tr-box-collection.tr-label-collection {
    display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,155px),1fr)); gap: 10px;
}
.tr-label-collection > .tr-info-card {
    display: flex; flex-direction: row; align-items: center; gap: 8px;
    padding: 12px 15px; border: var(--tr-card-frame);
    box-shadow: none; border-radius: 8px;
}
.tr-migrated-layout .tr-label-collection > .tr-info-card > h3 { margin: 0; font-size: 1.05rem; }
.tr-migrated-layout .tr-label-collection > .tr-info-card > i { margin: 0; width: 28px; height: 28px; font-size: 15px; }
@media (max-width: 1024px) {
    .tr-editorial-section.tr-layout-row { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 600px) {
    .tr-post-card:has(> .tr-post-card-media) { grid-template-columns: minmax(0,1fr); }
    .tr-post-card-media { aspect-ratio: 16 / 9; }
}

.tr-card-grid > .tr-post-card .tr-post-card-media img {
    position: static; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
}
@media (max-width: 600px) {
    .tr-post-card-media img { position: static; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
}

/* Former builder spacer rows already sit between sections with their own padding. */
.tr-migrated-layout > .tr-layout-section:not(.tr-has-background):empty,
.tr-migrated-layout > .tr-layout-section:not(.tr-has-background):has(> .tr-layout-spacer:only-child) {
    display: none;
}
.tr-migrated-layout > .tr-layout-section:has(> hr:only-child) { padding-block: 0; }
.tr-article-body :is(div,nav):is(.key-takeaways,.article-summary-box,.summary-box,.table-of-contents,.comparison-table,.gauge-comparison) {
    margin-block: clamp(24px,4vw,42px);
    padding: var(--tr-card-inset);
    border: var(--tr-card-frame);
    border-radius: var(--tr-card-radius);
    color: var(--tr-ink);
    background: white;
    box-shadow: none;
    overflow-wrap: anywhere;
}
.tr-article-body :is(div,nav):is(.key-takeaways,.article-summary-box,.summary-box) {
    color: white;
}
.tr-article-body :is(div,nav):is(.table-of-contents,.key-takeaways,.article-summary-box,.summary-box,.comparison-table,.gauge-comparison) > :first-child { margin-top: 0; }
.tr-article-body :is(div,nav):is(.table-of-contents,.key-takeaways,.article-summary-box,.summary-box,.comparison-table,.gauge-comparison) > :last-child { margin-bottom: 0; }
.tr-article-body :is(.table-of-contents,.key-takeaways,.article-summary-box,.summary-box) li + li { margin-top: .5em; }
.tr-article-body :is(.table-of-contents,.key-takeaways,.article-summary-box,.summary-box) :is(ul,ol) { padding-inline-start: 1.3em; }
.tr-article-body :is(.table-of-contents,.key-takeaways,.article-summary-box,.summary-box) li::marker { color: var(--tr-blue); }
.tr-article-body .cta-container a {
    display: inline-block; padding: 10px 22px; border-radius: 50px; background: var(--tr-red-dark);
    color: white; font-weight: 600; text-decoration: none;
}
.tr-article-body .cta-container a:is(:hover,:focus-visible) { background: #870d0b; text-decoration: none; }
.tr-article-body .autoseo-infographic-container img { margin-inline: auto; border-radius: 10px; }
.tr-article-body table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .96em; overflow-wrap: anywhere; }
.tr-article-body :is(td,th) { text-align: start; vertical-align: top; padding: clamp(6px,1vw,14px); border: 1px solid #c9d9e3; }
.tr-article-body thead { background: var(--tr-navy); color: white; }
.tr-article-body tbody tr:nth-child(even) { background: var(--tr-soft); }
.tr-article-body :is(.comparison-table,.gauge-comparison) { overflow-x: auto; }
.tr-post-card.type-location:not(:has(> .tr-post-card-media)) .tr-post-card-copy::before {
    content: ""; display: block; width: 32px; height: 32px; margin-bottom: 12px;
    background: url('assets/reference/roof-mark.svg') center / contain no-repeat;
}

.tr-cost-chart > div {
    padding: clamp(14px,2vw,28px) !important;
    background: white; border-radius: var(--tr-card-radius) !important;
    border: var(--tr-card-frame) !important; box-shadow: none !important;
}
.tr-cost-chart > div > h3, .tr-cost-chart > div > p { color: var(--tr-navy) !important; }
.tr-cost-chart > div > div {
    display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px;
    height: auto !important; margin: 0 !important; align-items: end;
}
.tr-cost-chart > div > div > div {
    position: static !important; width: auto !important;
    min-width: 0; overflow-wrap: anywhere;
    display: grid; grid-template-rows: auto auto auto minmax(3.5em,auto);
}
.tr-cost-chart > div > div > div > div:first-child {
    width: min(80%,70px); margin-inline: auto; background: var(--tr-blue) !important;
}
.tr-cost-chart > div > div > div:last-child > div:first-child { background: var(--tr-red-dark) !important; }
.tr-cost-chart > div > div > div > div:nth-child(n+2) { color: var(--tr-navy) !important; }
.tr-cost-chart > div > div > div > div:nth-child(2) { font-size: clamp(14px,1.4vw,18px) !important; }
.tr-cost-chart > div > div > div > div:last-child { font-size: 13px !important; color: var(--tr-muted) !important; }
.tr-layout-section.tr-surface-mist > .tr-rich-text > p[style*="color: #ffffff"] { color: var(--tr-ink) !important; }
.tr-layout-section.tr-surface-mist:has(> .tr-button) > .tr-rich-text > p[style*="text-align: center"] { text-align: start !important; }
.tr-media-split .tr-icon-list:has(> li > i), .tr-layout-row:has(.tr-cost-chart) .tr-icon-list {
    list-style: none; padding-inline-start: 0;
}
.tr-media-split .tr-icon-list > li:has(> i), .tr-layout-row:has(.tr-cost-chart) .tr-icon-list > li {
    display: flex; gap: .8em; align-items: baseline;
    padding-block: .62em; border-bottom: 1px solid #ccdce5;
}
.tr-icon-list-text { min-width: 0; overflow-wrap: anywhere; }
.tr-media-split .tr-icon-list li > i, .tr-layout-row:has(.tr-cost-chart) .tr-icon-list li > i { color: var(--tr-blue); flex-shrink: 0; }
.tr-layout-row:has(> .tr-layout-group > iframe:only-child) > .tr-layout-group:has(> iframe:only-child) {
    overflow: hidden; border-radius: var(--tr-card-radius); box-shadow: none;
}
.tr-layout-row > .tr-layout-group > iframe:only-child {
    display: block; width: 100%; height: clamp(300px,32vw,450px); border: 0;
}

/* Repeated customer quotes and featured stories share the same column rhythm. */
.tr-testimonial-grid, .tr-editorial-section .tr-post-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 28px);
    align-items: stretch;
}
.tr-testimonial-grid > :not(.tr-testimonial) { grid-column: 1 / -1; }
.tr-testimonial {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.tr-refhome-trust .tr-refhome-two {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr);
    gap: clamp(24px, 4vw, 56px);
}
.tr-refhome-reviews {
    --tr-review-gap: 14px;
    --tr-review-height: clamp(350px, 35vw, 510px);
    --tr-review-fade: clamp(36px, 5vw, 80px);
    --tr-review-fade-direction: to bottom;
    --tr-review-group-display: grid;
    --tr-review-motion: tr-reviews-up 145s;
    min-width: 0;
}
.tr-review-viewport {
    height: var(--tr-review-height); overflow-y: auto;
    scrollbar-width: thin;
}
.tr-review-viewport:focus-visible {
    outline: 2px solid var(--tr-navy); outline-offset: -2px;
}
.tr-review-group {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--tr-review-gap);
    margin: 0; padding: 0 0 var(--tr-review-gap); list-style: none;
}
.tr-review-group[aria-hidden] { display: none; }
.tr-refhome-reviews .tr-testimonial {
    height: 100%; justify-content: start; gap: 8px; padding: clamp(14px, 1.5vw, 20px);
    padding: round(clamp(14px, 1.5vw, 20px), 1px);
}
.tr-refhome-review-rating { color: #825500; letter-spacing: .12em; line-height: 1; }
.tr-refhome-reviews .tr-testimonial p { margin: 0; font-size: .9375rem; line-height: 1.6; }
.tr-refhome-reviews figcaption { margin-top: auto; padding-top: 4px; font-size: .875rem; line-height: 1.5; font-weight: 600; }
@keyframes tr-reviews-up { to { transform: translateY(-50%); } }
@keyframes tr-reviews-left { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
    .tr-refhome-reviews[data-animated] .tr-review-track { animation: var(--tr-review-motion) linear infinite; }
    .tr-refhome-reviews[data-animated] .tr-review-group[aria-hidden] { display: var(--tr-review-group-display); }
    .tr-refhome-reviews[data-animated] .tr-review-viewport { scrollbar-width: none; cursor: pointer; }
    .tr-refhome-reviews[data-animated]:not([data-paused]) .tr-review-viewport:not(:focus-visible) {
        mask-image: linear-gradient(var(--tr-review-fade-direction), transparent, black var(--tr-review-fade), black calc(100% - var(--tr-review-fade)), transparent);
    }
    .tr-refhome-reviews[data-paused] .tr-review-track { animation-play-state: paused; }
}
@media (hover: hover) {
    .tr-review-viewport:hover .tr-review-track { animation-play-state: paused; }
}
@media (min-width: 901px) {
    .tr-refhome-reviews { position: relative; align-self: stretch; min-height: var(--tr-review-height); }
    .tr-refhome-reviews[data-animated] .tr-review-viewport {
        position: absolute; inset: calc(-1 * var(--tr-section-padding)) 0; height: auto;
    }
}
@media (max-width: 900px) {
    .tr-refhome-trust .tr-refhome-two { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 768px) and (max-width: 900px) {
    .tr-refhome-reviews[data-animated] { margin-block-end: calc(-1 * var(--tr-section-padding)); }
}
@media (max-width: 767px) {
    .tr-refhome-reviews {
        --tr-review-fade: clamp(12px, 4vw, 30px);
        --tr-review-fade-direction: to right;
        --tr-review-group-display: flex;
        --tr-review-motion: tr-reviews-left 220s;
    }
    .tr-review-viewport { height: auto; overflow-x: auto; overflow-y: hidden; }
    .tr-review-track { display: flex; width: max-content; }
    .tr-review-group {
        /* Give each copy the same end gap so half the track is one complete loop. */
        display: flex; flex: none; padding: 0 var(--tr-review-gap) 0 0;
    }
    .tr-review-group > li { width: clamp(230px, calc(100vw - 90px), 320px); }
}
.tr-editorial-section .tr-post-card { display: flex; flex-direction: column; }
.tr-editorial-section .tr-post-card-media img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.tr-editorial-section .tr-post-card-copy { align-self: stretch; }
.tr-layout-section:has(> .tr-media-gallery) {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}
/* Reserve the crop before lazy images load, regardless of their intrinsic dimensions. */
.tr-media-gallery li { position: relative; overflow: hidden; border-radius: var(--tr-card-radius); }
.tr-media-gallery li::before { content: ""; display: block; padding-top: 140%; }
.tr-media-gallery li img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tr-refhome-final {
    padding-inline: clamp(16px, 2vw, 30px);
    background: linear-gradient(to top, var(--tr-navy) 50%, var(--tr-white) 50%);
}
.tr-refhome-final-card {
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    min-height: clamp(340px, 36vw, 460px); overflow: hidden;
    border-radius: var(--tr-card-radius); color: var(--tr-white);
    background-color: var(--tr-red-dark);
    background-image: linear-gradient(to bottom, #ffffff1b 1px, transparent 1px),
                      linear-gradient(to right, #ffffff1b 1px, transparent 1px);
    background-size: 40px 40px;
}
.tr-refhome-final-copy {
    align-self: center;
    padding: clamp(28px, 4vw, 50px);
}
.tr-refhome-final-copy h2 { margin: 0 0 16px; color: inherit; }
.tr-refhome-final-copy p { margin: 0 0 24px; color: inherit; }
.tr-refhome-final-photo { position: relative; }
.tr-refhome-final-photo img {
    position: absolute; inset: 0; display: block;
    width: 100%; height: 100%; object-fit: cover;
}
.tr-final-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.tr-final-actions .tr-button[href] {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
    background: var(--tr-white); border-color: var(--tr-white); color: var(--tr-red-dark);
}
.tr-final-actions .tr-call-button[href] { background: transparent; color: var(--tr-white); }
.tr-final-actions .tr-button[href]:is(:hover, :focus-visible) {
    background: var(--tr-navy); border-color: var(--tr-white); color: var(--tr-white);
}
.tr-final-actions .tr-button[href]:focus-visible { outline: 2px solid var(--tr-white); outline-offset: 3px; }
.tr-refhome-contact-panel { display: flex; flex-direction: column; overflow: hidden; }
.tr-refhome-contact-panel iframe { flex: 1; border-radius: 0; }
.tr-refhome-contact-panel address { width: 100%; padding: 16px 20px; font-style: normal; color: var(--tr-navy); }
.tr-refhome-contact-panel address a { display: inline-block; margin-inline-start: 1em; }
.tr-posts-more { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; flex-wrap: wrap; }
.tr-posts-status { text-align: center; }
.tr-posts-status:empty { margin: 0; }
/* The copy sets the row height when the commercial photos sit beside it. */
.tr-refhome-commercial-photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 2vw, 20px);
}
.tr-refhome-commercial-photos img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--tr-card-radius);
}
@media (min-width: 1025px) {
    .tr-refhome-commercial-photos {
        contain: size;
        align-self: stretch;
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }
    .tr-refhome-commercial-photos img { height: 100%; aspect-ratio: auto; }
}

.tr-footer {
    --tr-footer-line: rgb(255 255 255 / .23);
    --tr-footer-text: #e2eef6;
    padding: clamp(28px, 4.2vw, 52px) clamp(20px, 4.2vw, 60px) 0;
    font-size: .9375rem; line-height: 1.55;
}
.tr-footer-inner { max-width: var(--tr-width); margin-inline: auto; }
.tr-footer-contact-row, .tr-footer-grid {
    display: grid; gap: clamp(20px, 3.5vw, 44px); align-items: start;
    padding-bottom: clamp(22px, 3vw, 34px); border-bottom: 1px solid var(--tr-footer-line);
}
.tr-footer-contact-row { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) minmax(0, .95fr); }
.tr-footer h2 { margin: 0 0 8px; color: white; font-size: 1.2rem; line-height: 1.25; }
.tr-footer ul { list-style: none; padding: 0; margin: 0; }
.tr-footer a { color: var(--tr-footer-text); overflow-wrap: anywhere; }
.tr-footer a:hover { color: white; }
.tr-footer :is(a,button):focus-visible { outline: 2px solid white; outline-offset: 3px; }
.tr-footer-brand { display: inline-block; }
.tr-footer-brand img { display: block; width: 152px; height: auto; }
.tr-footer-about p { max-width: 49ch; margin: 10px 0 0; color: var(--tr-footer-text); }
.tr-footer-about p a { color: white; font-weight: 600; }
.tr-footer :is(.tr-footer-contact,.tr-footer-explore,.tr-footer-group) li > a {
    display: inline-block; padding-block: 4px; min-height: 32px;
}
.tr-footer .tr-footer-contact li > a {
    display: inline-grid; grid-template-columns: 16px minmax(0, 1fr);
    gap: 8px; align-items: baseline;
}
.tr-footer-contact i { color: #b7d6ea; font-size: .875em; }
.tr-footer-grid {
    grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .85fr);
    padding-top: clamp(22px, 3vw, 34px);
}
.tr-footer-services > ul { columns: 2; column-gap: clamp(16px, 3vw, 32px); }
.tr-footer-services li { break-inside: avoid; }
.tr-footer-toggle { display: none; }
.tr-footer-bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    column-gap: 20px; row-gap: 10px; padding-block: 14px; color: var(--tr-footer-text);
}
.tr-footer-bottom small { font-size: .8125rem; }
.tr-footer-credit { display: inline-block; margin-inline-start: .4em; }
.tr-footer .tr-footer-credit a { text-decoration: underline; text-underline-offset: .18em; }
.tr-footer .tr-social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.tr-footer .tr-social-links li { margin: 0; }
.tr-footer .tr-social-links a {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: #ffffff16; color: white;
}
.tr-footer .tr-social-links i { display: block; line-height: 1; }
.tr-footer .tr-social-links a:hover { background: var(--tr-red-dark); }
@media (max-width: 899px) {
    .tr-footer-contact-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tr-footer-about { grid-column: 1 / -1; }
    .tr-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tr-footer-services { grid-column: 1 / -1; }
    .tr-footer-grid[data-collapsible] { display: block; padding-block: 0; }
    .tr-footer-grid[data-collapsible] .tr-footer-group + .tr-footer-group { border-top: 1px solid var(--tr-footer-line); }
    .tr-footer-grid[data-collapsible] .tr-footer-group h2 { margin: 0; }
    .tr-footer-grid[data-collapsible] .tr-footer-group-label { display: none; }
    .tr-footer-grid[data-collapsible] .tr-footer-toggle {
        display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
        min-height: 50px; padding: 8px 3px; border: 0; background: transparent; color: inherit;
        font: inherit; text-align: start; cursor: pointer;
    }
    .tr-footer-toggle > i { font-size: .75em; }
    .tr-footer-toggle[aria-expanded="true"] > i { transform: rotate(180deg); }
    .tr-footer-grid[data-collapsible] .tr-footer-group:not(:has(.tr-footer-toggle[aria-expanded="true"])) > ul { display: none; }
    .tr-footer-grid[data-collapsible] .tr-footer-group > ul { padding-bottom: 12px; }
    .tr-footer :is(.tr-footer-contact,.tr-footer-explore,.tr-footer-group) li > a { min-height: 36px; }
}
@media (max-width: 369px) {
    .tr-footer-contact-row { grid-template-columns: minmax(0, 1fr); }
    .tr-footer-services > ul { columns: 1; }
}
.tr-directory details[id] { scroll-margin-top: calc(var(--tr-header-height, 85px) + 12px); }
@media (max-width: 860px) {
    .tr-layout-section:has(> .tr-media-gallery), .tr-refhome-final-card { grid-template-columns: minmax(0, 1fr); }
    .tr-refhome-final-card { min-height: 0; }
    .tr-refhome-final-photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
    .tr-testimonial-grid, .tr-editorial-section .tr-post-list { grid-template-columns: minmax(0, 1fr); }
    .tr-refhome-contact-panel iframe { min-height: 300px; }
}

/* Imported articles sometimes set link decoration inline. Keep theme and article links consistent. */
a:any-link, a:any-link :is(u, [style*="text-decoration"]) { text-decoration: none !important; }
a:any-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
:where(.tr-article-body,.tr-rich-text) :where(p,li,td) a:where(:not([class])) { color: #1672a2; font-weight: 600; }
:is(.tr-rich-text,.tr-info-card) a:not(.tr-button) span[style*="color:"] { color: inherit !important; }
:is(.tr-has-background,.tr-surface-navy) .tr-rich-text a:not([class]) { color: #b8e4ff; }
.tr-icon-list li:has(.fa-check-circle) { list-style: none; }
.tr-icon-list .fa-check-circle { font-size: 1.25em; line-height: 1; color: var(--tr-blue); }
.tr-icon-list .fa-check-circle { vertical-align: -.06em; margin-inline-end: .45em; }
.tr-layout-row:has(.tr-cost-chart) .tr-icon-list li > .fa-check-circle, .tr-media-split .tr-icon-list li > .fa-check-circle { margin-inline-end: 0; }
:is(.tr-surface-navy,.tr-has-background) .tr-icon-list .fa-check-circle { color: #b8e4ff; }

.tr-article-body :is(.key-takeaways ul, #key-takeaways + ul) { list-style: none; padding-inline-start: 0; }
.tr-article-body :is(.key-takeaways ul, #key-takeaways + ul) > li {
    position: relative; padding-inline-start: 1.9em;
}
.tr-article-body :is(.key-takeaways ul, #key-takeaways + ul) > li::before {
    content: "\f058"; content: "\f058" / "";
    position: absolute; inset-inline-start: 0; top: .17em;
    font: 900 1.25em/1 "Font Awesome 5 Free"; color: var(--tr-blue);
}

.tr-column-label { display: none; }
@media (max-width: 767px) {
    :is(.tr-table-scroll,.wp-block-table,.comparison-table,.gauge-comparison):has(table[data-tr-table]) { overflow: visible; min-width: 0; }
    table[data-tr-table], table[data-tr-table] > :is(tbody,thead,tfoot), table[data-tr-table] tr, table[data-tr-table] :is(td,th) {
        display: block; box-sizing: border-box; width: 100% !important; min-width: 0 !important;
        max-width: 100%; white-space: normal !important; overflow-wrap: anywhere;
    }
    table[data-tr-table] { border: 0; background: transparent; }
    table[data-tr-table] colgroup { display: none; }
    table[data-tr-table] tr[data-tr-head] {
        position: absolute; width: 1px !important; height: 1px;
        padding: 0; border: 0; overflow: hidden; clip-path: inset(50%);
    }
    table[data-tr-table] tr:not([data-tr-head]) {
        margin: 0 0 16px; padding: 4px 16px;
        background: white; color: var(--tr-ink); border: 1px solid #cbdbe4; border-radius: 12px;
    }
    table[data-tr-table] tr:not([data-tr-head]) > :is(td,th) {
        padding: 10px 0; border: 0; background: transparent; color: inherit; text-align: start;
    }
    table[data-tr-table] tr:not([data-tr-head]) > :is(td,th) + :is(td,th) { border-top: 1px solid #dce7ed; }
    table[data-tr-table] tr:not([data-tr-head]) > :first-child { font-weight: 600; color: var(--tr-navy); }
    .tr-column-label { display: block; color: var(--tr-blue); font: 600 .875rem/1.4 Outfit,sans-serif; margin-bottom: 3px; }
    table[data-tr-table] :is(td,th) > p { margin-block: .2em; }
}

/* One surface per card. The renderer assigns the role; layout grids own the columns. */
:root {
    --tr-card-frame: 1px solid var(--tr-card-outline);
    --tr-photo-inset: 8px;
    --tr-photo-height: clamp(124px, 10vw, 156px);
    --tr-photo-radius: calc(var(--tr-card-radius) - 6px);
    --tr-blueprint: linear-gradient(#ffffff09 1px, transparent 1px),
        linear-gradient(90deg, #ffffff09 1px, transparent 1px);
}
:is(.tr-card--paper,.tr-card--photo,.tr-layout-group.tr-form-panel,.tr-testimonial,
    .tr-refhome-form,.tr-refhome-contact-panel,.tr-directory-groups > details) {
    background: var(--tr-white);
    border: var(--tr-card-frame);
    border-radius: var(--tr-card-radius);
    box-shadow: none;
    color: var(--tr-ink);
}
.tr-refhome-feature-pair > div { padding: 16px; border: var(--tr-card-frame); background: white; border-radius: var(--tr-card-radius); }
.tr-card--paper:has(> a.tr-button[href]:last-child, > .tr-shared-widget:last-child > a.tr-button:only-child) {
    padding-bottom: 0;
}
.tr-card--paper > .tr-shared-widget:last-child:has(> a.tr-button:only-child) {
    align-self: stretch; margin: auto calc(-1 * var(--tr-card-inset)) 0; width: auto;
}
.tr-card--paper > a.tr-button[href]:last-child,
.tr-card--paper > .tr-shared-widget:last-child > a.tr-button[href]:only-child {
    display: grid; place-items: center; align-self: stretch; min-height: 48px;
    max-width: none; margin: auto calc(-1 * var(--tr-card-inset)) 0; padding: 12px var(--tr-card-inset);
    background: var(--tr-red-dark); color: white; border: 0; box-shadow: none;
    border-radius: 0 0 calc(var(--tr-card-radius) - 1px) calc(var(--tr-card-radius) - 1px);
    text-align: center; text-transform: none; font-weight: 600;
}
.tr-card--paper > .tr-shared-widget:last-child > a.tr-button[href]:only-child { margin: 0; }
.tr-card--paper a.tr-button[href]:last-child:is(:hover,:focus-visible) { background: #870d0b; color: white; }
.tr-card--paper a.tr-button[href]:last-child:focus-visible { outline: 2px solid white; outline-offset: -5px; }

.tr-info-card .tr-image-box-icon {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--tr-navy);
}
.tr-info-card .tr-image-box-icon img { display: block; width: 23px; height: 23px; object-fit: contain; }

/* Inset photo with a badge centered on its lower edge when the card has an icon. */
.tr-roof-issues-grid { --tr-photo-height: clamp(164px, 14vw, 208px); }
:is(.tr-migrated-layout,.tr-card-grid,.tr-refhome-service-grid) .tr-card--photo:not(.tr-post-card) {
    --tr-photo-padding: 20px;
    position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 10px;
    padding: 0 var(--tr-photo-padding) 16px; text-align: start;
}
.tr-card--photo > .tr-info-card { position: static; }
:is(.tr-migrated-layout,.tr-card-grid,.tr-refhome-service-grid) .tr-card--photo > img,
.tr-migrated-layout .tr-card--photo > .tr-info-card > img {
    display: block; flex: none; align-self: stretch; width: calc(100% + 2 * (var(--tr-photo-padding) - var(--tr-photo-inset)));
    max-width: none; height: var(--tr-photo-height); object-fit: cover;
    margin: var(--tr-photo-inset) calc(var(--tr-photo-inset) - var(--tr-photo-padding)) 0;
    border-radius: var(--tr-photo-radius);
}
:is(.tr-migrated-layout,.tr-refhome-service-grid) .tr-card--photo:has(> i, > .tr-image-box-icon, > .tr-info-card > :is(i,.tr-image-box-icon), > .tr-layout-row > i, > .tr-refhome-service-icon) > img {
    margin-bottom: 16px;
}
:is(.tr-migrated-layout,.tr-refhome-service-grid) .tr-card--photo > :is(i,.tr-image-box-icon),
.tr-migrated-layout .tr-card--photo > :is(.tr-info-card,.tr-layout-row) > :is(i,.tr-image-box-icon),
.tr-refhome-service-grid .tr-card--photo > .tr-refhome-service-icon {
    position: absolute; top: calc(var(--tr-photo-inset) + var(--tr-photo-height)); left: var(--tr-photo-padding);
    transform: translateY(-50%); display: grid; place-items: center; margin: 0;
    width: 40px; height: 40px; border-radius: 50%; font-size: 19px;
    background: var(--tr-navy); color: white; box-shadow: 0 0 0 3px white;
}
.tr-refhome-service-icon img { width: 24px; height: 24px; }
.tr-refhome-service-card :is(h3,p) { margin-block: 0; }
.tr-refhome-service-card a { margin-top: auto; }
.tr-card--photo > .tr-button { align-self: flex-start; }
.tr-refhome-financing-cards article.tr-card--photo { display: flex; flex-direction: column; }
.tr-refhome-financing-cards .tr-card--photo > img,
.tr-post-card.tr-card--photo > .tr-post-card-media {
    order: -1; display: block; margin: var(--tr-photo-inset) var(--tr-photo-inset) 0;
    border-radius: var(--tr-photo-radius); overflow: hidden; width: calc(100% - 2 * var(--tr-photo-inset));
    aspect-ratio: 3 / 2; height: auto; object-fit: cover;
}
.tr-post-card.tr-card--photo { display: flex; flex-direction: column; }
.tr-post-card.tr-card--photo .tr-post-card-media > img { display: block; position: static; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.tr-post-card .tr-post-card-copy { align-self: stretch; }
.tr-post-card:focus-within { outline: 2px solid var(--tr-blue); outline-offset: 2px; }

/* Accents always win, including the appointment card and editorial summary boxes. */
:is(.tr-layout-group.tr-card--blueprint,.tr-callout.tr-card--blueprint,.tr-services-closing),
.tr-article-body :is(div,nav):is(.key-takeaways,.article-summary-box,.summary-box,.cta-container) {
    background-color: var(--tr-navy); background-image: var(--tr-blueprint); background-size: 20px 20px;
    border: 0; border-radius: var(--tr-card-radius); box-shadow: none; color: white;
}
.tr-card-grid > .tr-card--blueprint {
    background-color: var(--tr-navy); background-image: var(--tr-blueprint); background-size: 20px 20px; color: white; border: 0;
}
.tr-card--blueprint :is(h2,h3,h4,p,li,.tr-rich-text,.tr-info-card,.tr-callout),
.tr-migrated-layout .tr-card--blueprint :is(h2,h3,h4,a:not(.tr-button)),
.tr-article-body :is(.key-takeaways,.article-summary-box,.summary-box) :is(h2,h3,h4,p,strong,li,a) { color: white; }
.tr-article-body :is(.key-takeaways,.article-summary-box,.summary-box) li::before { color: #b8e4ff; }
.tr-card--blueprint :is(.tr-button,.tr-social-links a)[href],
.tr-card--blueprint :is(.tr-button,.tr-social-links a)[href]:is(:visited,:hover,:focus-visible,:active) {
    background: var(--tr-red-dark); border: 1px solid #fc7377; color: white; box-shadow: none;
}
.tr-card--blueprint :is(.tr-button,.tr-social-links a)[href]:is(:hover,:focus-visible,:active) { background: #870d0b; }
.tr-card--blueprint .tr-button[href] { padding: 9px 20px; }
.tr-card--blueprint .tr-call-button[href] { background: var(--tr-navy); border-color: #fff; }
.tr-card--blueprint :is(.tr-button,.tr-social-links a)[href]:focus-visible { outline: 2px solid white; outline-offset: 3px; }

#gform_1 { scroll-margin-top: calc(var(--tr-header-height, 85px) + 16px); }

/* Shared quote and contact form. */
.tr-inquiry-trap { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.tr-inquiry [disabled] { cursor: wait; }
.tr-inquiry .tr-inquiry-error { text-shadow: none; }
.tr-inquiry { container-type: inline-size; color: var(--tr-navy); }
.tr-inquiry [hidden] { display: none !important; }
.tr-inquiry h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 38px); }
.tr-inquiry fieldset { min-inline-size: 0; padding: 0; margin: 18px 0 0; border: 0; }
.tr-inquiry legend { max-width: 100%; padding: 0; font: 600 1.35rem/1.2 Outfit,sans-serif; }
.tr-inquiry-progress { display: flex; align-items: center; gap: 14px; }
.tr-inquiry-progress > span, .tr-inquiry-note { font-size: .82rem; color: #486372; }
.tr-inquiry-progress > div { flex: 1; display: flex; gap: 4px; }
.tr-inquiry-progress i { flex: 1; height: 4px; border-radius: 5px; background: #dce6ec; }
.tr-inquiry-progress i.is-current { background: var(--tr-blue); }
.tr-inquiry .tr-inquiry-hint { margin: 5px 0 10px; color: #486372; font-size: .93rem; }
.tr-inquiry-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.tr-service-choices { display: grid; gap: 6px; }
.tr-inquiry button.tr-service-choice {
    display: grid; grid-template-columns: 24px minmax(0,1fr) 12px; align-items: center;
    gap: 10px; min-height: 44px; padding: 8px 12px; text-align: left;
    background: white; color: var(--tr-navy); border: var(--tr-card-frame); border-radius: var(--tr-card-radius);
}
.tr-service-choice-icon { justify-self: center; font-size: 18px; color: var(--tr-blue); }
.tr-service-choice > i:last-child { color: var(--tr-blue); font-size: .72rem; }
.tr-service-choice strong, .tr-service-choice small { display: block; }
.tr-service-choice strong { font: 600 1rem/1.2 Outfit,sans-serif; }
.tr-service-choice small { margin-top: 2px; font: 400 .82rem/1.35 Poppins,sans-serif; color: #486372; }
.tr-inquiry button.tr-service-choice:is(:hover,[aria-pressed="true"]) { background: #edf5f9; border-color: var(--tr-blue); }
.tr-inquiry :is(input,textarea,button):focus-visible {
    outline: 2px solid var(--tr-blue); outline-offset: 2px;
}
.tr-inquiry-fields, .tr-inquiry-message { margin-top: 12px; }
.tr-inquiry-fields label, .tr-inquiry-message { display: grid; gap: 4px; font-weight: 600; font-size: .92rem; }
.tr-inquiry-fields input, .tr-inquiry-message textarea {
    font: 400 1rem/1.4 Poppins,sans-serif; width: 100%; min-width: 0; padding: 8px 10px;
    border: 1px solid #9eb2bd; border-radius: 8px; color: var(--tr-ink); background: white;
}
.tr-inquiry-message textarea { resize: vertical; min-height: 96px; }
.tr-inquiry-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 16px; }
.tr-inquiry-actions [data-back] { margin-right: auto; background: white; color: var(--tr-navy); border: 1px solid #adc1cc; }
.tr-inquiry button { min-height: 44px; padding: 8px 20px; border-radius: 99px; cursor: pointer; font: 600 .94rem/1.3 Outfit,sans-serif; text-transform: none; }
.tr-inquiry .tr-button:is(:hover,:focus-visible) { background: #870d0b; color: white; }
.tr-inquiry .tr-inquiry-note { margin: 10px 0 0; }
.tr-inquiry-consent {
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 8px;
    margin-top: 12px; padding-block: 4px; font-size: .86rem; cursor: pointer;
}
.tr-inquiry-consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--tr-blue); }
.tr-inquiry .tr-inquiry-consent-help { margin: 2px 0 0 26px; font-size: .82rem; }
.tr-inquiry-consent-help a { text-decoration: underline; }
body:has([data-tr-inquiry][data-recaptcha-key]) .grecaptcha-badge { visibility: hidden; }
.tr-inquiry .tr-inquiry-error { margin: 8px 0 0; color: var(--tr-red-dark); font-size: .9rem; }
.tr-inquiry-error:empty { display: none; }
.tr-inquiry-done h3 { margin: 0; }
@container (max-width: 345px) {
    .tr-inquiry-fields { grid-template-columns: minmax(0,1fr); }
}
.tr-inquiry-actions:has([data-advance][hidden]) { display: none; }

.tr-article-body .cta-container { margin-block: 24px; padding: var(--tr-card-inset); }
.tr-article-body .cta-container > a:any-link { display: inline-block; padding: 10px 20px; background: var(--tr-red-dark); color: white; border-radius: 99px; }
.tr-article-body .cta-container > a:is(:hover,:focus-visible) { background: #870d0b; }

/* The media, estimate panel and statistics are one hero on every template. */
.tr-quote-hero { position: relative; isolation: isolate; }
.tr-quote-hero .tr-refhome-hero { background-image: none; }
.tr-hero-photo {
    position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%;
    object-fit: cover; object-position: 40% center; border-radius: 0;
}
.tr-quote-hero .tr-refhome-hero-inner { padding-top: clamp(130px, 14vw, 210px); }
.tr-quote-hero .tr-refhome-hero-grid {
    display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
    column-gap: clamp(30px, 6vw, 90px); align-items: center;
}
.tr-quote-hero .tr-refhome-hero-copy { max-width: 72ch; padding-bottom: clamp(32px, 5vw, 70px); overflow-wrap: anywhere; }
.tr-quote-hero .tr-refhome-hero-copy h1 { margin: 0 0 16px; color: white; line-height: 1.08; }
.tr-quote-hero-description { margin-bottom: 20px; }
.tr-quote-hero-description :is(p,strong,time), .tr-quote-hero-description a:any-link { color: white; }
.tr-quote-hero-description p { margin: 0 0 .65em; }
.tr-quote-hero .tr-refhome-actions { align-items: center; }
.tr-quote-hero .tr-refhome-hero-phone { margin: 0; }
.tr-quote-hero .tr-refhome-actions .tr-button { display: inline-flex; gap: .55em; align-items: center; }
.tr-quote-hero .tr-refhome-form {
    --tr-hero-form-inset: 20px;
    align-self: end; margin: 0 0 -58px; padding: 0; text-align: start; overflow: hidden;
}
.tr-quote-hero .tr-inquiry-header {
    padding: 16px var(--tr-hero-form-inset);
    background: var(--tr-red-dark); color: white;
}
.tr-quote-hero .tr-inquiry-header .tr-refhome-form-title {
    display: flex; align-items: center; justify-content: center; gap: .4em;
    margin: 0; color: inherit; font: 600 clamp(22px,2.2vw,30px)/1.15 Outfit,sans-serif;
}
.tr-hero-form-logo {
    flex: none; width: clamp(34px, 3vw, 44px); height: auto;
    /* Trim the stray wordmark pixels at the edge of the archived icon. */
    clip-path: inset(0 3% 0 0);
}
@container (max-width: 300px) {
    .tr-quote-hero .tr-inquiry-header .tr-refhome-form-title { font-size: 20px; }
}
.tr-quote-hero .tr-inquiry-header .tr-inquiry-progress { margin-top: 8px; }
.tr-quote-hero .tr-inquiry-header .tr-inquiry-progress > span { color: inherit; }
.tr-quote-hero .tr-inquiry-header .tr-inquiry-progress i {
    height: 5px; border: 1px solid rgb(255 255 255 / .7); background: transparent;
}
.tr-quote-hero .tr-inquiry-header .tr-inquiry-progress i.is-current { background: white; }
.tr-quote-hero .tr-refhome-form :is(form,.tr-inquiry-done) { padding: var(--tr-hero-form-inset); }
.tr-quote-hero .tr-refhome-form form[data-initialized] fieldset,
.tr-quote-hero .tr-refhome-form fieldset:first-of-type { margin-top: 0; }
.tr-quote-hero .tr-refhome-hero { z-index: 1; }
.tr-quote-hero .tr-refhome-stats-grid { grid-template-columns: minmax(0,1.65fr) minmax(300px,1fr); column-gap: clamp(30px,6vw,90px); }
.tr-quote-hero .tr-refhome-stat-items { --tr-stat-gap: 1em; gap: var(--tr-stat-gap); margin: 0; }
.tr-quote-hero .tr-refhome-stat-items > div { position: relative; display: grid; grid-template-areas: "value" "label"; align-content: start; }
.tr-quote-hero .tr-refhome-stat-items > div + div::before {
    content: ""; position: absolute; inset-block: 4px;
    inset-inline-start: calc(var(--tr-stat-gap) / -2);
    border-inline-start: 1px solid rgb(255 255 255 / 55%);
}
.tr-quote-hero .tr-refhome-stat-items dd { grid-area: value; margin: 0; font: 600 clamp(28px,3.5vw,45px)/1.1 Outfit,sans-serif; }
.tr-quote-hero .tr-refhome-stat-items dt { grid-area: label; font-size: clamp(.8rem,1.25vw,1rem); }
@media (max-width: 767px) {
    .tr-quote-hero .tr-refhome-hero { padding: 0 18px; }
    .tr-quote-hero .tr-refhome-hero-inner { padding-block: 36px 22px; }
    .tr-quote-hero .tr-refhome-hero-grid, .tr-quote-hero .tr-refhome-stats-grid { grid-template-columns: minmax(0,1fr); }
    .tr-quote-hero .tr-refhome-hero-copy { padding-bottom: 0; }
    .tr-quote-hero .tr-refhome-form { margin: 0; }
    .tr-quote-hero .tr-refhome-stats { padding: 18px 14px; }
    .tr-quote-hero .tr-refhome-stat-items { --tr-stat-gap: 10px; grid-template-columns: repeat(2,minmax(0,1fr)) minmax(max-content,1fr); }
}


@media (max-width: 767px) { .tr-refhome-services-intro { background-attachment: scroll; } }

/* Desktop dropdowns share the icon cards used by the full-screen mobile menu. */
@media (min-width: 1025px) {
    .tr-header-inner { position: relative; }
    /* Extend the trigger's hover area down to the panel without moving the label. */
    .tr-nav { align-self: stretch; margin-block: calc(-1 * var(--tr-header-block-inset)); }
    .tr-nav > ul { height: 100%; }
    .tr-nav > ul > li:has(> .tr-nav-disclosure) { align-self: stretch; }
    .tr-nav-disclosure {
        display: grid; align-content: center;
        height: calc(100% + 8px); padding-bottom: 8px;
    }
    .tr-mega-menu {
        position: absolute; inset-inline: 20px; top: calc(100% + 8px);
        max-height: calc(100vh - 154px);
        max-height: max(120px, calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 144px));
        overflow-y: auto; overscroll-behavior: contain;
        padding: clamp(20px, 2vw, 30px);
        border: 1px solid rgb(255 255 255 / .35); border-radius: var(--tr-card-radius);
        background: var(--tr-blue); color: white; box-shadow: 0 14px 36px rgb(0 25 42 / .25);
    }
    .tr-mega-menu ul { list-style: none; padding: 0; margin: 0; }
    .tr-mega-overview { grid-column: -2 / -1; }
    .tr-mega-overview .tr-menu-card {
        border-color: var(--tr-red); background: var(--tr-red-dark);
    }
    .tr-mega-overview .tr-menu-card:hover { background: #860b09; }
    .tr-mega-overview .tr-menu-icon { background: white; color: var(--tr-red-dark); }
    .tr-mega-menu--services .tr-mega-groups {
        display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
        align-items: start;
        gap: clamp(16px, 2vw, 28px);
    }
    .tr-mega-group--financing { grid-column: 2; }
    .tr-mega-label { margin: 0 0 9px; color: white; font: 600 1.125rem/1.25 Outfit, sans-serif; }
    .tr-mega-cards { display: grid; gap: 10px; }
    .tr-mega-group--roofing .tr-mega-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tr-mega-group--links .tr-mega-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .tr-mega-menu .tr-menu-card { min-height: 52px; text-decoration: none; }
}

.tr-services-page .tr-container > :first-child,
.tr-services-page .tr-container > .wp-block-group__inner-container > :first-child { margin-top: 0; }
.tr-services-page .tr-section { padding-inline: var(--tr-section-gutter); }
.tr-services-page .tr-section .tr-container { padding-inline: 0; }
.tr-services-page .tr-section:nth-child(odd):not(.tr-card--blueprint) { background: white; }
.tr-services-page .tr-section:nth-child(even):not(.tr-card--blueprint) { background: var(--tr-light-blue); }
.tr-services-page .tr-section p { max-width: 75ch; }
.tr-services-page .tr-section .tr-card-grid { margin-top: 28px; }
.tr-services-page :is(.tr-card-grid, .tr-services-gallery) > .wp-block-group__inner-container,
.tr-services-page .tr-card > .wp-block-group__inner-container { display: contents; }
.tr-services-page .tr-card :is(h3,p) { margin: 0 0 4px; }
.tr-services-page :is(.tr-card--photo, .tr-card--photo > .wp-block-group__inner-container) > .wp-block-image {
    margin: var(--tr-photo-inset) calc(var(--tr-photo-inset) - var(--tr-photo-padding)) 0;
}
.tr-services-page .tr-card--photo .wp-block-image img {
    display: block; width: 100%; height: var(--tr-photo-height); object-fit: cover;
    border-radius: var(--tr-photo-radius);
}
.tr-services-page .tr-card--photo .tr-service-card-link { margin: auto 0 0; font-weight: 600; }
.tr-services-gallery {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px;
    margin-top: 24px;
}
.tr-services-gallery .wp-block-image { margin: 0; }
.tr-services-gallery .wp-block-image img {
    display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--tr-card-radius);
}
.tr-services-page .tr-services-closing { color: white; }
.tr-services-page .tr-services-closing p { color: inherit; }
.tr-services-page .tr-services-closing p a { color: white; }
.tr-services-page .tr-services-closing .wp-block-button__link {
    background: var(--tr-red-dark); color: white; border: 1px solid var(--tr-red);
    border-radius: 50px; padding: 10px 20px;
}
.tr-services-page .tr-services-closing .wp-block-button__link:hover { background: #860b09; }
.page-our-services #tr-hero-quote { scroll-margin-top: 120px; }
@media (max-width: 1024px) {
    .tr-directory details[id], #gform_1, .page-our-services #tr-hero-quote { scroll-margin-top: 12px; }
}
@media (min-width: 1050px) {
    .tr-services-page .tr-section:first-child .tr-card-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .tr-services-page .tr-section:first-child .tr-card-grid .tr-card { grid-column: span 2; }
    .tr-services-page .tr-section:first-child .tr-card-grid .tr-card:nth-last-child(-n+2) { grid-column: span 3; }
}

/* Full-width bands give the recovered service and location layouts a shared rhythm. */
.tr-migrated-layout .tr-layout-section.tr-content-band {
    max-width: none;
    padding-block: var(--tr-section-padding);
    padding-inline: max(var(--tr-section-gutter), calc((100% - var(--tr-width)) / 2));
}
.tr-layout-section.tr-content-band:has(> hr:only-child) { padding-block: 0; }
.tr-content-band.tr-surface-white + .tr-layout-section.tr-content-band.tr-surface-white,
.tr-content-band.tr-surface-mist + .tr-layout-section.tr-content-band.tr-surface-mist,
.tr-content-band.tr-surface-navy + .tr-layout-section.tr-content-band.tr-surface-navy {
    padding-block-start: 0;
}
.tr-content-band :where(.tr-layout-group) > :where(h2,h3,h4):first-child { margin-block-start: 0; }
.tr-content-band .tr-rich-text > :last-child { margin-block-end: 0; }
.tr-content-band > :is(h2,h3,.tr-rich-text) + .tr-layout-group:not(.tr-action-row) {
    margin-block-start: var(--tr-section-gap);
}
.tr-layout-group.tr-action-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
}
:is(.tr-rich-text,.tr-icon-list,.tr-feature-grid,.tr-widget-panel) + .tr-action-row,
.tr-content-band :is(.tr-rich-text,.tr-icon-list) + .tr-button {
    margin-block-start: clamp(16px, 1.5vw, 24px);
}
.tr-content-band.tr-surface-navy .tr-rich-text a:not(.tr-button) { color: #b8e4ff; }
.tr-content-band.tr-surface-navy .tr-rich-text a.tr-button { color: white; }
.tr-content-band.tr-surface-navy .tr-card--photo .tr-rich-text a:not(.tr-button),
.tr-content-band.tr-surface-navy .tr-card--paper .tr-rich-text a:not(.tr-button) { color: var(--tr-blue); }
.tr-content-band.tr-surface-navy :is(.tr-card--photo,.tr-card--paper) .tr-icon-list .fa-check-circle { color: var(--tr-blue); }
@media (min-width: 768px) and (max-width: 1099px) {
    .tr-content-band .tr-feature-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
    .tr-content-band .tr-feature-grid--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .tr-content-band .tr-feature-grid--5 > * { grid-column: span 2; }
    .tr-content-band .tr-feature-grid--5 > :nth-last-child(-n+2) { grid-column: span 3; }
}

/* Posts index */
.tr-blog-listing {
    background: var(--tr-light-blue);
    padding-block: var(--tr-section-padding);
    scroll-margin-top: 5rem;
}
.tr-blog-listing > .tr-container { padding-inline: var(--tr-section-gutter); }
.tr-blog-listing h2 { margin: 0 0 var(--tr-section-gap); color: var(--tr-navy); text-transform: none; }
.tr-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tr-grid-gap); }
.tr-blog-grid time { display: block; margin-bottom: .65rem; color: var(--tr-muted); font-size: .875rem; }
.tr-blog-grid .tr-post-card-media { aspect-ratio: 16 / 9; }
.tr-blog-grid .tr-blog-feature { grid-column: 1 / -1; }
.tr-blog-listing .tr-posts-more { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: var(--tr-section-gap); }
.tr-blog-listing .tr-posts-status:empty { margin: 0; }
@media (min-width: 700px) {
    .tr-blog-grid .tr-blog-feature:has(.tr-post-card-media) {
        display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 0;
    }
    .tr-blog-grid .tr-blog-feature > .tr-post-card-media {
        align-self: stretch; width: auto; height: auto; aspect-ratio: auto;
        min-height: clamp(240px, 23vw, 330px); margin: var(--tr-photo-inset);
    }
    .tr-blog-grid .tr-blog-feature .tr-post-card-media img { position: absolute; inset: 0; }
    .tr-blog-grid .tr-blog-feature .tr-post-card-copy { align-self: center; padding: clamp(24px, 4vw, 56px); }
    .tr-blog-grid .tr-blog-feature h3 { font-size: clamp(28px, 3vw, 44px); }
}
@media (max-width: 1024px) { .tr-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .tr-blog-grid { grid-template-columns: minmax(0, 1fr); } }

.tr-location-directory { padding-block: var(--tr-section-padding); scroll-margin-top: 6rem; }
.tr-location-directory h2 { margin: 0 0 var(--tr-section-gap); color: var(--tr-navy); }
.tr-location-group { border-block-end: 1px solid #b3c9d6; scroll-margin-top: 6rem; }
.tr-location-group summary {
    padding: 16px 4px; color: var(--tr-navy);
    font: 600 clamp(20px, 2.3vw, 26px)/1.25 Outfit, sans-serif; cursor: pointer;
}
.tr-location-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    gap: 12px; margin: 0 0 22px; padding: 0; list-style: none;
}
.tr-location-grid a {
    display: flex; align-items: center; gap: .65rem; height: 100%; min-height: 54px;
    padding: 10px 12px; color: var(--tr-navy); overflow-wrap: anywhere;
    font: 600 1.0625rem/1.2 Outfit, sans-serif;
}
.tr-location-grid i {
    display: grid; place-items: center; flex: none; width: 28px; height: 28px;
    border-radius: 50%; background: var(--tr-blue); color: white; font-size: 14px;
}
.tr-location-grid a:hover { color: var(--tr-blue); border-color: currentColor; }
.tr-location-group summary:focus-visible, .tr-location-grid a:focus-visible {
    outline: 2px solid var(--tr-navy); outline-offset: 3px;
}

.tr-restored-service-band { padding-inline: 0; }
.tr-restored-service-copy { min-width: 0; max-width: 74ch; }
.tr-restored-service-copy h2 { margin: 0 0 var(--tr-section-gap); }
.tr-restored-service-copy p:last-child { margin-bottom: 0; }
.tr-restored-service-band .tr-image-text > img {
    display: block;
    width: 100%;
    border-radius: var(--tr-card-radius);
}
@media (min-width: 768px) {
    .tr-restored-service-split--reverse > img { grid-area: 1 / 1; }
}

/* Recovered location templates use the same gutters, cards and bands as the service pages. */
.tr-location-page .tr-content-band:not(.tr-location-financing) > .tr-layout-group + .tr-layout-group {
    margin-block-start: var(--tr-section-gap);
}
.tr-location-page .tr-content-band > .tr-layout-group > .tr-rich-text {
    max-width: 70ch;
}
.tr-location-page .tr-location-eyebrow {
    margin: 0 0 .7rem;
    color: var(--tr-blue);
    font: 600 .875rem/1.3 Outfit, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.tr-location-page .tr-location-eyebrow + h2 { margin: 0; }
.tr-location-page .tr-location-eyebrow + h2 + .tr-rich-text { margin-block-start: .85rem; }
.tr-location-page .tr-layout-row > .tr-layout-group > :is(img, iframe) {
    display: block;
    border-radius: var(--tr-card-radius);
}
.tr-location-page .tr-layout-row:not(.tr-location-financing) > .tr-layout-group > .tr-rich-text + .tr-layout-group {
    margin-block-start: var(--tr-section-gap);
}
.tr-location-page .tr-layout-section.tr-content-band.tr-compact-band {
    padding-block: clamp(20px, 3vw, 40px);
}
.tr-location-page .tr-centered-band { text-align: center; }
.tr-location-page .tr-centered-band > .tr-rich-text { margin-inline: auto; }
.tr-location-page .tr-content-band > .tr-rich-text + .tr-feature-grid {
    margin-block-start: var(--tr-section-gap);
}
.tr-location-page .tr-layout-section.tr-content-band.tr-credential-band {
    padding-block: 20px;
}
.tr-location-page .tr-credential-band > .tr-label-collection {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}
.tr-location-page .tr-credential-band .tr-info-card {
    justify-content: center;
    padding: 8px 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
}
.tr-location-page .tr-credential-band .tr-info-card + .tr-info-card {
    border-inline-start: 1px solid #ffffff4d;
}
.tr-location-page .tr-credential-band .tr-info-card > h3 { color: white; }
.tr-location-page .tr-credential-band .tr-info-card > i { background: white; color: var(--tr-navy); }
.tr-location-page .tr-feature-grid > .tr-widget-panel {
    min-width: 0;
    align-items: stretch;
}
.tr-location-page .tr-feature-grid > .tr-widget-panel:is(.tr-card--photo,.tr-card--blueprint) > .tr-button:last-child {
    align-self: flex-start;
}
.tr-location-page .tr-widget-panel--feature.tr-card--photo {
    --tr-photo-height: clamp(170px, 19vw, 245px);
}
.tr-location-page .tr-widget-panel--feature.tr-card--photo > .tr-card-photo {
    object-position: center 35%;
}
.tr-location-page .tr-content-band:not(.tr-location-financing) > .tr-layout-group > .tr-action-row {
    margin-block-start: var(--tr-section-gap);
}
.tr-location-page .tr-content-band.tr-surface-mist:last-child {
    border-bottom: 1px solid var(--tr-card-outline);
}
.tr-location-page .tr-location-financing {
    --tr-financing-gap: clamp(24px, 2.5vw, 36px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: var(--tr-financing-gap);
}
.tr-location-page .tr-location-financing > .tr-layout-group {
    display: grid;
    align-content: start;
    gap: var(--tr-financing-gap);
    min-width: 0;
    margin: 0;
}
.tr-location-page .tr-location-financing > .tr-layout-group > * {
    margin: 0;
}
.tr-location-financing .tr-rich-text > p:first-child { margin-block-start: 0; }
@media (max-width: 899px) {
    .tr-location-page .tr-location-financing { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 900px) {
    .tr-location-page .tr-wide-prose > .tr-rich-text { max-width: none; columns: 2; column-gap: clamp(32px, 5vw, 72px); }
    .tr-location-page .tr-wide-prose h2 { column-span: all; margin-block: 0 var(--tr-section-gap); }
    .tr-location-page .tr-wide-prose h3 { break-after: avoid-column; }
}
@media (max-width: 699px) {
    .tr-location-page .tr-credential-band > .tr-label-collection {
        grid-template-columns: minmax(0, 1fr);
    }
    .tr-location-page .tr-credential-band .tr-info-card { justify-content: flex-start; }
    .tr-location-page .tr-credential-band .tr-info-card + .tr-info-card {
        border-inline-start: 0;
        border-block-start: 1px solid #ffffff4d;
    }
}

.tr-about-page .tr-section { padding-inline: var(--tr-section-gutter); }
.tr-about-page .tr-section > .tr-container { padding-inline: 0; }
.tr-about-page .tr-refhome-hero::before {
    background: linear-gradient(var(--tr-hero-scrim), var(--tr-hero-scrim)),
        url('../../uploads/2026/11/halftone-pattern-harvest-thoughtful-roofer-img.webp') right center / min(40vw, 400px) no-repeat;
}
.tr-about-page #tr-hero-quote { scroll-margin-top: 110px; }
.tr-about-split, .tr-about-card-grid { display: grid; gap: var(--tr-section-gap); }
.tr-about-split { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.tr-about-card-grid { grid-template-columns: repeat(var(--tr-about-columns, 2), minmax(0, 1fr)); }
.tr-about-feature-grid { --tr-about-columns: 2; gap: 16px; }
.tr-about-process-grid { --tr-about-columns: 4; }
.tr-about-copy { max-width: 80ch; }
.tr-about-process .tr-about-split + .tr-about-process-grid { margin-top: var(--tr-section-gap); }
.tr-about-page .tr-section :where(h2, h3) { margin-block: 0 .55em; }
.tr-about-page .tr-section :where(p):last-child { margin-bottom: 0; }
.tr-about-page .tr-section :where(p) a:not(.tr-button) { text-decoration: underline; text-underline-offset: .18em; }
.tr-about-page .tr-refhome-eyebrow { margin-block: 0 .65rem; }
.tr-about-page .tr-refhome-eyebrow img { width: 24px; }
.tr-about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.tr-about-phone {
    display: inline-flex; align-items: center; gap: 10px;
    color: inherit; font-size: .875rem; line-height: 1.3;
}
.tr-about-phone strong { display: block; color: inherit; }
.tr-about-phone-icon, .tr-about-icon, .tr-about-process-grid .tr-about-step {
    display: grid; flex: none; place-items: center;
    width: 42px; height: 42px; border-radius: 50%; background: var(--tr-blue); color: white;
}
.tr-about-phone-icon { background: var(--tr-red-dark); }
.tr-about-phone:is(:hover, :focus-visible) strong { text-decoration: underline; text-underline-offset: .18em; }
.tr-about-icon { margin-bottom: 12px; }
.tr-about-icon img { display: block; width: 24px; height: 24px; }
.tr-about-page .tr-about-card-grid > .tr-card { min-width: 0; align-content: start; }
.tr-about-process-grid > .tr-card {
    display: flex; flex-direction: column;
    padding-inline: var(--tr-card-inset);
}
.tr-about-page .tr-about-image { display: block; width: 100%; object-fit: cover; border-radius: var(--tr-card-radius); }
.tr-about-portrait-wrap { position: relative; }
.tr-about-portrait { max-height: 770px; aspect-ratio: 4 / 5; }
.tr-about-image-grid { display: grid; gap: 16px; }
.tr-about-image-grid img { aspect-ratio: 16 / 10; }
.tr-about-credentials {
    position: absolute; inset: 16px 16px auto auto; padding: 16px 20px;
    color: white; background: var(--tr-red-dark); border-radius: var(--tr-card-radius);
    box-shadow: 0 4px 16px rgb(0 20 32 / 28%); font-size: .875rem;
}
.tr-about-credentials .tr-about-icon { float: right; margin: 0 0 0 12px; background: #ffffff29; }
.tr-about-credentials .tr-about-credential-number {
    margin: 0; color: inherit; font: 700 clamp(1.8rem, 3vw, 2.5rem) / 1.1 Outfit, sans-serif;
}
.tr-about-credentials p { color: inherit; }
.tr-about-process-grid .tr-about-step { margin: 0 0 12px; color: white; font-weight: 700; }
.tr-about-guarantee {
    grid-column: 1 / -1; justify-self: center;
    display: flex; align-items: center; gap: 10px;
    margin-block: 4px; padding: 12px 18px 12px 10px;
    border-radius: var(--tr-card-radius); background: var(--tr-red-dark); color: white;
}
.tr-about-guarantee .tr-about-icon { margin: 0; background: #ffffff29; }
.tr-about-intro {
    background: linear-gradient(rgb(255 255 255 / 92%), rgb(255 255 255 / 92%)),
        url('../../uploads/2026/11/brand-graphic-madison-thoughtful-roofer-img.webp') center / cover;
}
.tr-about-page .tr-about-mission { padding-bottom: calc(var(--tr-section-padding) / 2); }
.tr-about-page .tr-about-values { padding-top: calc(var(--tr-section-padding) / 2); }
.tr-about-value, .tr-about-final-card {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-width: 0; overflow: hidden; border-radius: var(--tr-card-radius);
}
.tr-about-value-copy, .tr-about-final-copy {
    padding: clamp(20px, 3vw, 36px); color: white;
    background: linear-gradient(var(--tr-about-card-scrim), var(--tr-about-card-scrim)),
        url('../../uploads/2026/10/crossed-line-bg-img.png') center / contain var(--tr-about-card-color);
}
.tr-about-value-copy { --tr-about-card-color: var(--tr-navy); --tr-about-card-scrim: rgb(0 41 66 / 83%); }
.tr-about-value--vision .tr-about-value-copy, .tr-about-final-copy {
    --tr-about-card-color: var(--tr-red-dark); --tr-about-card-scrim: rgb(150 13 10 / 80%);
}
.tr-about-page :is(.tr-about-value-copy, .tr-about-final-copy) :is(h2, h3, p, .tr-about-phone) { color: white; }
.tr-about-value--vision .tr-about-icon, .tr-about-final-copy .tr-about-phone-icon { background: var(--tr-navy); }
.tr-about-value-media, .tr-about-final-media { position: relative; }
.tr-about-value-media { align-self: stretch; width: 100%; aspect-ratio: 1; }
.tr-about-final-media { min-height: 240px; }
.tr-about-page :is(.tr-about-value-media, .tr-about-final-media) .tr-about-image {
    position: absolute; inset: 0; height: 100%; border-radius: 0;
}
.tr-about-services .tr-about-copy a { color: #c5e7f9; }
.tr-about-services .tr-about-copy :is(.tr-button, .tr-about-phone) { color: white; }
.tr-about-services .tr-about-split { margin-top: var(--tr-section-gap); }
.tr-about-service-photos { display: grid; gap: 16px; }
.tr-about-service-photos .tr-about-image { aspect-ratio: 16 / 10; }
.tr-about-faq { background-color: var(--tr-white); }
.tr-about-faq-column { display: grid; gap: 16px; }
.tr-about-faq-column .tr-about-image { aspect-ratio: 16 / 8; }
.tr-about-news {
    background-image: linear-gradient(rgb(210 223 232 / 88%), rgb(210 223 232 / 88%)),
        url('../../uploads/2026/11/halftone-pattern-harvest-thoughtful-roofer-img.webp'),
        url('../../uploads/2026/10/circle-gradient-red.webp');
    background-position: center, right center, center;
    background-size: cover, auto 100%, cover;
    background-repeat: no-repeat;
}
.tr-about-closing { background-color: var(--tr-navy); }
.tr-about-final-card { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.tr-about-final-copy .tr-button { background: white; color: var(--tr-red-dark); }
.tr-about-final-copy .tr-button:is(:hover, :focus-visible) { background: var(--tr-navy); color: white; }
@media (min-width: 1100px) {
    .tr-about-value-media { aspect-ratio: 4 / 5; }
}
@media (min-width: 900px) {
    /* Let the adjacent copy determine the height of each photo column. */
    .tr-about-intro .tr-about-split > :last-child,
    .tr-about-mission .tr-about-split > :first-child,
    .tr-about-service-photos {
        align-self: stretch;
        contain: size;
    }
    .tr-about-mission .tr-about-split > :last-child { align-self: start; }
    .tr-about-portrait-wrap, .tr-about-image-grid, .tr-about-page .tr-about-portrait { height: 100%; }
    .tr-about-page .tr-about-portrait { max-height: none; aspect-ratio: auto; }
    .tr-about-image-grid { grid-template-rows: repeat(2, minmax(0, 1fr)); }
    .tr-about-service-photos { grid-template-rows: repeat(3, minmax(0, 1fr)); }
    .tr-about-page :is(.tr-about-image-grid, .tr-about-service-photos) .tr-about-image {
        height: 100%;
        aspect-ratio: auto;
    }
}
@media (max-width: 1099px) {
    .tr-about-process-grid { --tr-about-columns: 2; }
    .tr-about-value { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; }
}
@media (max-width: 899px) {
    .tr-about-split, .tr-about-final-card { grid-template-columns: minmax(0, 1fr); }
    .tr-about-portrait-wrap { width: min(100%, 540px); margin-inline: auto; }
    .tr-about-portrait { max-height: 520px; }
    .tr-about-mission .tr-about-split > :last-child { grid-row: 1; }
}
@media (600px <= width < 900px) {
    .tr-about-service-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tr-about-service-photos > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
    .tr-about-page #tr-hero-quote { scroll-margin-top: 12px; }
}
@media (max-width: 599px) {
    .tr-about-card-grid { --tr-about-columns: 1; }
}
