/* Drywallah's public visual treatment. Brand colours remain managed in Studio. */
:root { --ink: #202125; --muted: #5a5d61; --surface: #f3f3f1; --radius: 4px; --radius-sm: 3px; }
body { font-family: var(--font, 'Rubik', system-ui, sans-serif); }
h1, h2, h3, h4, .btn { font-family: var(--font-head, 'Rubik', system-ui, sans-serif); }
.site-header { background: #fff; backdrop-filter: none; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.brand-utility { background: #222427; color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .12em; }
.brand-utility-inner { min-height: 33px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-utility a { color: #fff; letter-spacing: .02em; text-transform: none; }
.brand-logo { display: block; width: auto; height: 2.7rem; max-width: min(17rem, 30vw); }
.header-inner { min-height: 84px; }
.nav-item > a, .nav-item > .nav-dropdown-toggle { color: #292a2c; font-weight: 700; }
.nav-item > a, .nav-item > .nav-dropdown-toggle { position: relative; min-height: 48px; padding-inline: 1rem; border-radius: 0; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-item > a::after, .nav-item > .nav-dropdown-toggle::after { content: ''; position: absolute; left: 1rem; right: 1rem; bottom: 2px; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-item.open > .nav-dropdown-toggle::after, .nav-item.is-current > a::after, .nav-item > a:hover::after, .nav-item > .nav-dropdown-toggle:hover::after { transform: scaleX(1); }
.nav-item > a:hover, .nav-item.is-current > a, .nav-dropdown-toggle:hover, .nav-item.is-current > .nav-dropdown-toggle { background: transparent; }
.services-mega-menu { width: min(850px, calc(100vw - 3rem)); padding: 0; overflow: hidden; border: 1px solid #e4e1dc; border-top: 0; border-radius: 6px; box-shadow: 0 18px 48px rgba(28, 30, 29, .16); }
.services-mega-menu::before { display: none; }
.nav-item.open .services-mega-menu { display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.services-mega-intro { display: flex; flex-direction: column; align-items: flex-start; padding: 1.7rem; background: #f2e9e2; color: var(--ink); }
.services-mega-intro > span { color: #a94631; font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.services-mega-intro strong { display: block; margin: .65rem 0; color: #fff; font-size: 1.35rem; line-height: 1.15; }
.services-mega-intro strong { color: var(--ink); font-size: 1.45rem; }
.services-mega-intro p { margin: 0 0 1.25rem; color: #555751; font-size: .88rem; line-height: 1.55; }
.services-mega-intro a { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding: .55rem 0; color: #963d2a; font-weight: 800; font-size: .83rem; }
.services-mega-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem; background: #fff; }
.services-mega-group ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.75rem; }
.services-mega-group h2 { padding: 0 0 .65rem; margin: 0 0 .4rem; color: #a94631; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.services-mega-group a.services-mega-link { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; min-height: 4.5rem; padding: .7rem .65rem; border-bottom: 1px solid #ebe9e5; border-radius: 3px; }
.services-mega-link strong, .services-mega-link small { display: block; }
.services-mega-link strong { font-size: .9rem; color: var(--ink); }
.services-mega-link small { margin-top: .25rem; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.services-mega-arrow { color: var(--primary); font-size: 1.1rem; }
.services-mega-group a.services-mega-link:focus-visible, .services-mega-intro a:focus-visible { outline: 3px solid #a94631; outline-offset: 2px; }
@media (hover: hover) {
  .services-mega-intro a:hover { background: transparent; color: #71301f; text-decoration: underline; }
  .services-mega-group a.services-mega-link:hover { background: #f6f2ee; }
}
.btn-primary, .btn-outline { background: var(--primary); border-color: var(--primary); color: #fff; border-radius: 2px; text-transform: uppercase; letter-spacing: .035em; font-size: .82rem; padding: 1rem 1.45rem; }
.btn-primary:hover, .btn-outline:hover { background: var(--primary); border-color: var(--primary); filter: brightness(.86); color: #fff; }
.windoorly-hero { position: relative; min-height: min(690px, 78vh); background: #36383a; color: white; overflow: hidden; }
.windoorly-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.windoorly-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,18,20,.87) 0%, rgba(16,18,20,.68) 42%, rgba(16,18,20,.08) 100%); }
.windoorly-hero-inner { position: relative; z-index: 1; min-height: inherit; display: flex; align-items: center; padding-top: 5rem; padding-bottom: 5rem; }
.windoorly-hero-copy { max-width: 680px; }
.windoorly-hero-eyebrow { color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.windoorly-hero h1 { color: #fff; font-size: clamp(3rem, 6vw, 5.9rem); line-height: .98; font-weight: 800; letter-spacing: -.045em; margin: 0 0 1.4rem; }
.windoorly-hero h1 span { color: #fff; }
.windoorly-hero-lead { max-width: 33rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #fff; line-height: 1.55; margin: 0 0 2rem; }
.section-head h2 { font-size: clamp(2rem, 3.3vw, 3.2rem); letter-spacing: -.035em; line-height: 1.05; }
.eyebrow { color: var(--primary); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.service-card, .feature-card, .location-card, .post-card { border-radius: 3px; box-shadow: none; }
.service-card { border-top: 4px solid var(--primary); }
.feature-num { background: var(--primary); color: #fff; }
.cta-band, .cta-band.section-band--blue, .cta-band.section-band--white { background: var(--surface) !important; }
.cta-band.cta-band--home-white { background: #fff !important; }
.windoorly-footer { background: #191b1d; color: #fff; }
.windoorly-footer-main { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.8fr); gap: clamp(3rem, 6vw, 7rem); padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.windoorly-footer-brand { display: inline-flex; align-items: center; gap: .75rem; color: #fff; font-size: 1.45rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.windoorly-footer-intro h2 { color: #fff; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.05; letter-spacing: -.035em; max-width: 10em; margin: 2rem 0 1rem; }
.windoorly-footer-intro p { max-width: 28rem; color: #c9c9c9; }
.windoorly-footer-intro .windoorly-footer-tagline { margin: .65rem 0 0; color: #e3b0a2; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.windoorly-footer-cta { display: inline-flex; gap: 1.5rem; align-items: center; margin-top: .75rem; padding-bottom: .5rem; border-bottom: 2px solid var(--primary); color: #fff; font-weight: 700; }
.windoorly-footer-cta span { color: #ff8589; font-size: 1.3rem; }
.windoorly-footer-links { display: grid; grid-template-columns: minmax(250px, 1.35fr) minmax(125px, .7fr) minmax(210px, 1.1fr); gap: clamp(1.25rem, 2.5vw, 2.5rem); align-content: start; padding-top: .5rem; }
.windoorly-footer-links h3 { color: #e3b0a2; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1.25rem; }
.windoorly-footer-links ul { list-style: none; margin: 0; padding: 0; }
.windoorly-footer-links li { margin-bottom: .8rem; }
.windoorly-footer-links a { color: #dedede; }
.windoorly-footer-service-links ul { display: grid; grid-template-columns: minmax(0, 1fr); }
.windoorly-footer-service-links li { margin-bottom: .8rem; }
.windoorly-footer-contact > a { display: block; margin-bottom: .8rem; overflow-wrap: anywhere; }
.windoorly-footer-contact p { color: #c9c9c9; margin-top: 1rem; margin-bottom: 0; line-height: 1.65; }
.windoorly-footer-social { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
.windoorly-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid #4b4b4b; padding-top: 1.25rem; padding-bottom: 1.25rem; color: #bcbcbc; font-size: .85rem; }
.windoorly-footer-bottom p { margin: 0; }
.windoorly-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.windoorly-footer-bottom a { color: #dedede; }
@media (hover: hover) {
  .windoorly-footer-brand:hover, .windoorly-footer-cta:hover { color: #fff; text-decoration: none; }
  .windoorly-footer-links a:hover, .windoorly-footer-bottom a:hover { color: #e3b0a2; }
  .windoorly-footer-cta:hover { border-color: #e3b0a2; }
}
/* Shared components on service, location, contact and legal pages. */
.page-hero, .hero, .quote-aside-panel { background: var(--surface); }
.page-hero { border-left: 8px solid var(--primary); padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-hero h1, .hero-copy h1 { font-size: clamp(2.3rem, 4vw, 3.8rem); line-height: 1.05; letter-spacing: -.04em; }
.hero-inner { gap: clamp(2rem, 5vw, 5rem); }
.hero-media img, .split img { border-radius: 0; box-shadow: none; }
.hero-media { border-bottom: 6px solid var(--primary); }
.service-card, .location-card { border: 0; border-top: 3px solid var(--primary); background: #fff; padding: 1.8rem; }
.service-icon, .location-pin { border-radius: 2px; }
.page-hero h1, .hero-copy h1 { color: var(--ink); }
.page-hero .lead, .hero-copy .lead { color: var(--muted); }
.service-icon, .location-pin { background: #f9ebeb; color: var(--primary); }
.check-list li::before { background: #f9ebeb; color: var(--primary); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(200,39,45,.16); }
.quote-form, .quote-aside-panel { border-radius: var(--radius); }
.breadcrumbs a:hover { color: var(--primary); }
.cta-band .btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.cta-band .btn-primary:hover { background: var(--primary); border-color: var(--primary); color: #fff; filter: brightness(.86); }
/* A shared section rhythm for every public page. */
.section { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.section--tight { padding-block: clamp(2.25rem, 4vw, 3rem); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2, .split h2, .quote-layout h2 { margin-top: 0; font-size: clamp(1.85rem, 3vw, 2.8rem); line-height: 1.12; letter-spacing: -.035em; }
.section-head > p:last-child { margin-bottom: 0; }
.grid { align-items: stretch; }
.section .feature-card { height: 100%; padding: clamp(1.5rem, 2.5vw, 2rem); background: #fff; border: 1px solid #e7e7e4; border-top: 3px solid var(--primary); text-align: left; }
.section .feature-card h2, .section .feature-card h3 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 .65rem; }
.section .feature-card p { color: var(--muted); margin-bottom: 0; }
.section .feature-num { width: 40px; height: 40px; border-radius: 2px; margin-bottom: 1rem; }
.service-card, .location-card { height: 100%; border: 1px solid #e7e7e4; border-top: 3px solid var(--primary); }
.service-card h3, .location-card h3 { margin-top: 0; }
.split { gap: clamp(2rem, 5vw, 4rem); }
.quote-form, .quote-aside-panel { padding: clamp(1.5rem, 3vw, 2.25rem); }
.quote-form .quote-form-head { margin-bottom: 1.75rem; }
.quote-form .quote-form-head h2 { font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 .4rem; }
.quote-form .quote-form-head p { font-size: .95rem; line-height: 1.5; }
.quote-form .form-field { margin-bottom: 1.1rem; }
.quote-form .form-field label { font-size: .88rem; line-height: 1.4; }
.quote-form .form-field input, .quote-form .form-field select, .quote-form .form-field textarea { display: block; margin-top: .4rem; font-size: 1rem; font-weight: 400; line-height: 1.5; }
.quote-form .form-field textarea { min-height: 130px; }
.quote-form .form-field input::placeholder, .quote-form .form-field textarea::placeholder { color: #777; opacity: 1; font-weight: 400; }
.quote-form .form-required-note { margin: -.35rem 0 1rem; color: var(--muted); font-size: .8rem; }
.quote-form .req { color: var(--primary); font-weight: 700; }
.quote-form .form-consent { line-height: 1.45; align-items: flex-start; }
.quote-form .form-consent input { flex: 0 0 auto; }
.quote-form .form-consent a { color: var(--primary); white-space: nowrap; }
.quote-form .btn-primary { width: 100%; }
.quote-hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; padding: 0; margin: 1.5rem 0 0; list-style: none; color: var(--muted); font-size: .9rem; }
.quote-hero-points li { display: flex; align-items: center; gap: .5rem; }
.quote-hero-points li::before { content: "✓"; color: var(--primary); font-weight: 800; }
.quote-sidebar { display: grid; gap: 1.25rem; align-content: start; }
.quote-sidebar-panel { padding: clamp(1.25rem, 2.5vw, 1.75rem); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: var(--radius); }
.quote-sidebar-panel h2 { margin: 0 0 .75rem; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.15; letter-spacing: -.025em; }
.quote-sidebar-panel h3 { margin: 0 0 .65rem; }
.quote-sidebar-panel p { color: var(--muted); }
.quote-sidebar-panel--soft { background: var(--surface); border-left-color: var(--ink); }
.quote-steps { display: grid; gap: 1.15rem; padding: 0; margin: 1.25rem 0 0; list-style: none; }
.quote-steps li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .8rem; align-items: start; }
.quote-steps li > span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--primary); color: #fff; font-size: .85rem; font-weight: 800; }
.quote-steps h3 { margin: .1rem 0 .25rem; font-size: 1rem; }
.quote-steps p { margin: 0; font-size: .92rem; line-height: 1.5; }
.quote-checklist { padding: 0; margin: 1rem 0 0; list-style: none; }
.quote-checklist li { position: relative; padding-left: 1.4rem; margin-bottom: .55rem; color: var(--muted); line-height: 1.45; }
.quote-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.quote-sidebar-panel--contact p { margin: 0 0 .75rem; }
.quote-sidebar-panel--contact .btn { margin-top: .25rem; }
.quote-contact-link { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.quote-layout:has(.quote-assurance) { align-items: stretch; }
.quote-layout:has(.quote-assurance) > div:first-child { display: flex; flex-direction: column; }
.quote-assurance { display: flex; flex-direction: column; flex: 1; gap: 1.5rem; }
.quote-assurance-card, .quote-preparation { padding: clamp(1.5rem, 3vw, 2.25rem); background: #fff; border-left: 4px solid var(--primary); }
.quote-assurance-card ul { margin-bottom: 0; }
.quote-preparation { flex: 1; }
.quote-preparation-label { color: var(--primary); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.quote-preparation h3 { margin: .5rem 0; }
.quote-preparation p:last-child { margin-bottom: 0; }
.drywall-location-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.25rem, 3vw, 3rem); }
.drywall-location-card { display: grid; align-content: start; gap: .4rem; min-width: 0; padding: 1rem 0 1.1rem; border-bottom: 1px solid #d8d7d2; color: var(--ink); transition: background-color .18s ease; }
.drywall-location-card:first-child, .drywall-location-card:nth-child(2), .drywall-location-card:nth-child(3) { border-top: 1px solid #d8d7d2; }
.drywall-location-card:hover { background: #f3f1ec; color: var(--ink); text-decoration: none; }
.drywall-location-card:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.drywall-location-card-title { display: flex; align-items: baseline; gap: .45rem; min-width: 0; font-size: 1.3rem; line-height: 1.2; font-weight: 700; letter-spacing: -.025em; }
.drywall-location-card-title span { color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .07em; }
.drywall-location-card-title svg { width: 1.1rem; height: 1.1rem; margin-left: auto; color: var(--primary); align-self: center; transition: transform .18s ease; }
.drywall-location-card-communities { max-width: 34ch; color: var(--muted); font-size: .83rem; line-height: 1.4; }
.drywall-location-card:hover .drywall-location-card-title svg { transform: translateX(.2rem); }
.location-directory-filters { display:flex; align-items:end; flex-wrap:wrap; gap:1rem; margin:0 0 1.5rem; }
.location-directory-filters[hidden], .location-directory [data-location-empty][hidden], .drywall-location-grid [data-location-item][hidden] { display:none; }
.location-directory-filters label { display:grid; gap:.4rem; flex:1 1 220px; font-weight:600; font-size:.9rem; }
.location-directory-filters input, .location-directory-filters select { width:100%; min-height:44px; margin:0; }
.location-directory-filters p { margin:0; padding-bottom:.65rem; color:var(--muted); font-size:.9rem; }
.drywall-location-grid--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); column-gap: 1.5rem; }
.drywall-location-grid--compact .drywall-location-card { gap: .4rem; padding-block: .75rem; }
.drywall-location-grid--compact .drywall-location-card:first-child,
.drywall-location-grid--compact .drywall-location-card:nth-child(2),
.drywall-location-grid--compact .drywall-location-card:nth-child(3) { border-top: 0; }
.drywall-location-grid--compact .drywall-location-card-title { font-size: 1.1rem; }
@media (max-width: 900px) { .drywall-location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .drywall-location-card:nth-child(3) { border-top: 0; } }
@media (max-width: 560px) { .drywall-location-grid { grid-template-columns: 1fr; } .drywall-location-card:nth-child(2) { border-top: 0; } }
.windoorly-products-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; }
.windoorly-product { position: relative; min-height: 430px; overflow: hidden; background: #252629; color: #fff; display: flex; align-items: flex-end; }
.windoorly-product::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,13,15,.9), rgba(12,13,15,.04) 75%); }
.windoorly-product img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.windoorly-product:hover { color: #fff; text-decoration: none; }
.windoorly-product:hover img { transform: scale(1.035); }
.windoorly-product > div { position: relative; z-index: 1; padding: 2rem; }
.windoorly-product h3 { color: #fff; font-size: 2rem; margin: .4rem 0; }
.windoorly-product span { font-size: .75rem; text-transform: uppercase; font-weight: 700; letter-spacing: .1em; }
.windoorly-product p { color: #fff; margin-bottom: 1rem; }
.windoorly-product strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.windoorly-performance { background: #242628 !important; color: #fff; }
.windoorly-performance-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }
.windoorly-performance h2, .windoorly-performance h3 { color: #fff; }
.windoorly-performance h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.05; margin: 0; }
.windoorly-performance-head > p { color: #ddd; max-width: 36rem; margin: 0; }
.windoorly-performance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.windoorly-performance-grid article { border-top: 2px solid var(--primary); padding-top: 1.25rem; }
.windoorly-performance-grid article span { color: #ddd; font-size: .8rem; font-weight: bold; }
.windoorly-performance-grid h3 { margin: .75rem 0; font-size: 1.15rem; }
.windoorly-performance-grid p { color: #ddd; font-size: .95rem; }
.windoorly-consultation { padding: 3.5rem 0; background: #e9e9e6; }
.windoorly-consultation .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.windoorly-consultation h2 { margin: 0 0 .65rem; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.windoorly-consultation p { margin: 0; }
.windoorly-consultation-eyebrow { color: var(--primary); font-size: .75rem; font-weight: 700; letter-spacing: .1em; margin-bottom: .5rem !important; }
/* Contact page: a focused conversation panel paired with the enquiry form. */
.windoorly-contact-section { background: #f3f3f1; }
.windoorly-contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: stretch; }
.windoorly-contact-panel { background: #242628; color: #fff; padding: clamp(2rem, 4vw, 4rem); border-top: 6px solid var(--primary); }
.windoorly-contact-panel h2 { color: #fff; max-width: 15ch; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.08; letter-spacing: -.035em; }
.windoorly-contact-panel > p:not(.windoorly-contact-label) { color: #dedede; max-width: 30rem; }
.windoorly-contact-label, .windoorly-contact-methods span { color: #ddd; font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.windoorly-contact-methods { margin-top: 3rem; }
.windoorly-contact-methods > div { padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,.22); }
.windoorly-contact-methods span { display: block; margin-bottom: .4rem; }
.windoorly-contact-methods a, .windoorly-contact-methods p { color: #fff; font-size: 1.15rem; overflow-wrap: anywhere; margin: 0; }
.windoorly-contact-methods a:hover { color: #fff; text-decoration: underline; }
.windoorly-contact-form { background: #fff; padding: clamp(2rem, 4vw, 4rem); }
.windoorly-contact-form .quote-form { padding: 0; border: 0; box-shadow: none; }
.windoorly-contact-form .quote-form-head h2 { font-size: clamp(1.8rem, 2.5vw, 2.5rem); }
.windoorly-contact-coverage .tag-list { max-width: 70rem; }
/* Service pages pair a bold introduction with clear project details. */
.windoorly-service-hero { display: grid; grid-template-columns: 1fr 1fr; background: #242628 !important; color: #fff; }
.windoorly-service-hero-copy { padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem); align-self: center; }
.windoorly-service-kicker { color: #eee; font-size: .75rem; font-weight: 700; letter-spacing: .13em; }
.windoorly-service-hero h1 { color: #fff; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1; letter-spacing: -.045em; margin: 1rem 0 1.5rem; }
.windoorly-service-hero-copy > p:not(.windoorly-service-kicker) { color: #eee; max-width: 38rem; font-size: 1.1rem; line-height: 1.65; }
.windoorly-service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.windoorly-service-phone { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: .95rem 1.5rem; background: var(--primary); border: 2px solid var(--primary); border-radius: 2px; color: #fff; font-size: .82rem; font-weight: 700; line-height: 1; letter-spacing: .035em; text-align: center; text-decoration: none; text-transform: uppercase; transition: filter .18s ease; }
.windoorly-service-phone:hover { color: #fff; text-decoration: none; filter: brightness(.86); }
.windoorly-service-phone:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.windoorly-service-hero-image { min-height: 460px; }
.windoorly-service-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.windoorly-service-overview { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.windoorly-service-overview h2 { font-size: clamp(2rem, 3vw, 3rem); line-height: 1.1; letter-spacing: -.035em; }
.windoorly-service-overview > div:first-child > p:not(.eyebrow) { color: var(--muted); margin-bottom: 2rem; }
.windoorly-service-includes > div { display: flex; align-items: baseline; gap: 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.windoorly-service-includes span, .windoorly-service-steps span { color: var(--primary); font-weight: 700; }
.windoorly-service-includes h3 { margin: 0; font-size: 1.15rem; }
.windoorly-service-process { background: #242628 !important; color: #fff; }
.windoorly-service-process h2 { color: #fff; }
.windoorly-service-process .section-head > p:last-child { color: #ddd; }
.windoorly-service-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.windoorly-service-steps li { border-top: 2px solid var(--primary); padding-top: 1.25rem; margin-left: 0; padding-left: 0; }
.windoorly-service-steps span { color: #fff; font-size: .85rem; }
.windoorly-service-steps p { color: #eee; margin: .75rem auto 0; max-width: 16rem; }
/* Local service guidance: give longer copy room to breathe and align links. */
.hamilton-service-guide .grid { gap: 1.5rem; counter-reset: local-services; }
.section.hamilton-service-guide .feature-card { display: flex; flex-direction: column; counter-increment: local-services; padding: clamp(1.75rem, 3vw, 2.75rem); border: 1px solid #e3e3df; border-top: 4px solid var(--primary); box-shadow: 0 8px 28px rgba(20, 22, 24, .05); }
.hamilton-service-guide .feature-card::before { content: counter(local-services, decimal-leading-zero); display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.5rem; background: #f9ebeb; color: var(--primary); font-weight: 800; font-size: .85rem; letter-spacing: .04em; }
.section.hamilton-service-guide .feature-card h3 { font-size: clamp(1.25rem, 1.5vw, 1.5rem); line-height: 1.25; margin-bottom: 1rem; }
.section.hamilton-service-guide .feature-card p { line-height: 1.7; margin: 0 0 1rem; }
.section.hamilton-service-guide .feature-card p:last-child { margin: auto 0 0; padding-top: 1.25rem; border-top: 1px solid #e9e9e6; }
.hamilton-service-guide .feature-card a { display: inline-flex; align-items: center; font-weight: 700; text-decoration: none; }
.hamilton-service-guide .feature-card a:hover { text-decoration: underline; }
.product-type-group-heading { margin: 2.5rem 0 1.25rem; font-size: 1.5rem; }
@media (max-width: 1024px) {
  .primary-nav { inset-block-start: 117px; height: calc(100dvh - 117px); }
  .nav-item > a, .nav-item > .nav-dropdown-toggle { padding: 1rem .6rem; }
  .nav-item.open .services-mega-menu { display: block; width: auto; border: 0; border-left: 2px solid var(--primary); }
  .services-mega-intro { padding: 1.15rem; }
  .services-mega-grid { grid-template-columns: 1fr; padding: 1rem; }
  .services-mega-group ul { grid-template-columns: 1fr; }
}
@media (max-width: 1050px) {
  .windoorly-footer-main { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 860px) {
  .windoorly-footer-main { grid-template-columns: 1fr; gap: 3rem; }
  .brand-utility-inner { justify-content: center; }
  .brand-utility-inner > span:first-child { display: none; }
  .windoorly-hero { min-height: 570px; }
  .windoorly-hero::after { background: rgba(16,18,20,.65); }
  .windoorly-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .windoorly-product--large { grid-column: 1 / -1; }
  .windoorly-performance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .windoorly-performance-head { gap: 1.5rem; }
  .drywall-contact-layout { grid-template-columns: 1fr; }
  .windoorly-service-hero, .windoorly-service-overview { grid-template-columns: 1fr; }
  .windoorly-service-hero-image { min-height: 300px; max-height: 420px; }
  .windoorly-service-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .quote-preparation { margin-top: 0; }
}
@media (max-width: 480px) {
  .windoorly-footer-links { grid-template-columns: 1fr 1fr; }
  .windoorly-footer-service-links { grid-column: 1 / -1; }
  .windoorly-footer-service-links ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .windoorly-footer-contact { grid-column: 1 / -1; }
  .brand-logo { height: 2.35rem; max-width: min(14rem, 52vw); }
  .windoorly-hero { min-height: 520px; }
  .windoorly-hero h1 { font-size: clamp(2.7rem, 12vw, 3.7rem); }
  .brand-wordmark { font-size: 1.55rem; }
  .windoorly-products-grid, .windoorly-performance-grid, .windoorly-performance-head { grid-template-columns: 1fr; }
  .windoorly-product--large { grid-column: auto; }
  .windoorly-product { min-height: 320px; }
  .windoorly-consultation .container { align-items: flex-start; flex-direction: column; }
  .windoorly-service-steps { grid-template-columns: 1fr; }
  .drywall-contact-methods { grid-template-columns: 1fr; }
  .drywall-contact-methods > div:last-child { grid-column: auto; }
}
@media (max-width: 560px) {
  /* Keep one predictable gutter on every mobile section, including the
     header and hero. Backgrounds still span the viewport. */
  .container { padding-inline: 24px; }
  .header-inner.container, .windoorly-hero-inner.container,
  .windoorly-footer-main.container, .windoorly-footer-bottom.container { padding-inline: 24px; }
  .section { padding-block: 2.75rem; }
  .section--tight { padding-block: 2rem; }
  .section-head { margin-bottom: 1.5rem; }
  .windoorly-hero-inner { padding-block: 3rem; }
  .windoorly-footer-main { gap: 2rem; padding-block: 3rem; }
  .windoorly-footer-intro h2 { font-size: 2rem; }
  .windoorly-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; padding-top: 0; }
  .windoorly-footer-links > div { min-width: 0; }
  .windoorly-footer-service-links { grid-column: 1 / -1; }
  .windoorly-footer-links h3 { margin-bottom: .75rem; }
  .windoorly-footer-links li { margin-bottom: .65rem; }
  .windoorly-footer-contact { grid-column: 1 / -1; }
  .windoorly-footer-contact p { margin: .75rem 0 0; }
  .windoorly-footer-bottom { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .markdown-table-wrap:has(.responsive-comparison) { overflow: visible; border: 0; }
  .responsive-comparison, .responsive-comparison tbody, .responsive-comparison tr, .responsive-comparison th, .responsive-comparison td { display: block; width: 100%; }
  .responsive-comparison thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .responsive-comparison tbody tr { margin-bottom: .75rem; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
  .responsive-comparison tbody tr:last-child { margin-bottom: 0; }
  .responsive-comparison th, .responsive-comparison td { min-width: 0; padding: .75rem 1rem; }
  .responsive-comparison td::before { content: attr(data-label); display: block; margin-bottom: .2rem; color: var(--muted); font-size: .75rem; font-weight: 700; }
}
.gallery-placeholder { min-height: 240px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2rem; background: #f2f3f4; border: 1px dashed #a9afb5; color: #59616b; text-align: center; }
.gallery-placeholder span { font-size: 3rem; line-height: 1; }
.gallery-placeholder p { margin: 1rem 0 0; }

/* Drywallah homepage: calm editorial split, distinct from Windoorly's full-bleed hero. */
.drywall-hero { overflow: hidden; background: #f3f1ec; color: var(--ink); }
.drywall-hero-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.92fr); gap: clamp(2rem,5vw,5rem); align-items: center; padding-block: clamp(3rem,6vw,5.5rem); }
.drywall-hero-copy { max-width: 640px; padding-block: 1rem; }
.drywall-eyebrow { margin: 0 0 1.2rem; color: var(--primary); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.drywall-hero h1 { max-width: 12ch; margin: 0 0 1.5rem; color: var(--ink); font-size: clamp(3rem, 6vw, 5.6rem); font-weight: 700; line-height: .98; letter-spacing: -.055em; }
.drywall-hero-lead { max-width: 34rem; margin: 0; color: #555553; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.65; }
.drywall-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.drywall-hero-actions .btn-primary { background: var(--primary); border-color: var(--primary); text-transform: none; letter-spacing: 0; }
.drywall-hero-actions .btn-primary:hover { background: var(--primary-d); border-color: var(--primary-d); }
.drywall-text-link { color: var(--ink); font-size: .9rem; font-weight: 600; }
.drywall-text-link:hover { color: var(--primary); text-decoration: underline; text-underline-offset: .25rem; }
.drywall-hero-note { margin: 2.75rem 0 0; color: #65635e; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.drywall-hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 6px;
  background: var(--primary);
  border-radius: 18% 8% 16% 8% / 12% 8% 14% 10%;
}
.drywall-hero-image {
  position: absolute;
  inset: 6px;
  box-sizing: border-box;
  display: block;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: cover;
  object-position: center 55%;
  border-radius: inherit;
}
.drywall-section-head { max-width: 680px; }
.drywall-section-head h2, .drywall-process h2, .drywall-project-layout h2, .drywall-faq-layout h2, .drywall-final-cta h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); letter-spacing: -.045em; line-height: 1.04; }
.drywall-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid #d9d8d2; border-left: 1px solid #d9d8d2; }
.drywall-service-card { display: flex; min-height: 245px; flex-direction: column; align-items: flex-start; padding: clamp(1.4rem, 2.5vw, 2.15rem); border-right: 1px solid #d9d8d2; border-bottom: 1px solid #d9d8d2; color: var(--ink); transition: background .2s ease, color .2s ease; }
.drywall-service-card:hover { background: #242826; color: #fff; text-decoration: none; }
.drywall-service-card:hover h3 { color: #fff !important; }
.drywall-service-card:focus-visible { outline: 3px solid #b9563e; outline-offset: -3px; }
.drywall-service-number { color: #b9563e; font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.drywall-service-card h3 { margin: 1.5rem 0 .55rem; font-size: 1.3rem; line-height: 1.2; }
.drywall-service-card p { max-width: 27rem; margin: 0 0 1.4rem; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.drywall-service-card:hover p { color: #dedfda; }
.drywall-service-link { margin-top: auto; color: #a94631; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.drywall-service-card:hover .drywall-service-link { color: #f0b4a8; }
.drywall-process { background: #242826; color: #fff; }
.drywall-process .container { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(3rem,8vw,8rem); align-items: start; }
.drywall-process h2, .drywall-process h3 { color: #fff; }
.drywall-process-intro > p:last-child { max-width: 29rem; color: #d0d2cd; line-height: 1.65; }
.drywall-process-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.drywall-process-list li { display: grid; grid-template-columns: 3rem minmax(0,1fr); gap: 1rem; padding: 1.5rem 0; border-top: 1px solid #555a56; }
.drywall-process-list li:first-child { padding-top: 0; border-top: 0; }
.drywall-process-list li > span { color: #f0b4a8; font-size: .8rem; font-weight: 700; }
.drywall-process-list h3 { margin: 0 0 .45rem; font-size: 1.2rem; }
.drywall-process-list p { max-width: 33rem; margin: 0; color: #d0d2cd; line-height: 1.6; }
.drywall-project-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(2rem,6vw,6rem); align-items: center; }
.drywall-project-layout > div > p:not(.eyebrow) { max-width: 35rem; margin-bottom: 1.75rem; color: var(--muted); line-height: 1.7; }
.drywall-project-layout img { width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.drywall-faq-section { background: #eeede8; }
.drywall-faq-layout { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: clamp(2rem,7vw,7rem); align-items: start; }
.drywall-faq-layout > div:first-child > p:last-child { max-width: 25rem; color: var(--muted); line-height: 1.65; }
.drywall-faq-list details { padding: 1.25rem 0; border-top: 1px solid #cecdc6; }
.drywall-faq-list details:last-child { border-bottom: 1px solid #cecdc6; }
.drywall-faq-list summary { cursor: pointer; font-weight: 700; line-height: 1.45; }
.drywall-faq-list details p { max-width: 45rem; margin: .8rem 0 0; color: var(--muted); line-height: 1.65; }
.drywall-final-cta { background: #d9dfd5; }
.drywall-final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.drywall-final-cta h2 { max-width: 14ch; margin: 0 0 .65rem; }
.drywall-final-cta-inner > div > p:last-child { max-width: 38rem; margin: 0; color: #535b53; }
.drywall-final-cta .btn-primary { flex: 0 0 auto; background: #b9563e; border-color: #b9563e; text-transform: none; letter-spacing: 0; }
.drywall-services-hero { padding-block: clamp(3.5rem,7vw,6.5rem); background: #242826; color: #fff; }
.drywall-services-hero .container { max-width: 900px; }
.drywall-services-hero .eyebrow { color: #f0b4a8; }
.drywall-services-hero h1 { max-width: 15ch; margin: 0 0 1.1rem; color: #fff; font-size: clamp(2.6rem,5.5vw,4.6rem); line-height: 1; letter-spacing: -.05em; }
.drywall-services-hero p:not(.eyebrow) { max-width: 42rem; margin: 0 0 1.75rem; color: #e0e2dd; font-size: 1.1rem; line-height: 1.65; }
.drywall-services-hero .btn-primary, .drywall-service-hero .btn-primary, .drywall-service-quote .btn-primary { background: #b9563e; border-color: #b9563e; text-transform: none; letter-spacing: 0; }
.drywall-service-hero { padding-block: clamp(3.5rem,7vw,6rem); background: #eeede8; border-bottom: 1px solid #dddbd4; }
.drywall-service-hero .container { max-width: 900px; }
.drywall-service-hero h1 { margin: 0 0 1.15rem; color: var(--ink); font-size: clamp(2.8rem,6vw,5rem); line-height: .98; letter-spacing: -.05em; }
.drywall-service-hero .container > p:not(.eyebrow) { max-width: 48rem; color: #4f5551; font-size: clamp(1.05rem,1.7vw,1.25rem); line-height: 1.7; }
.drywall-service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 1.8rem; }
.drywall-service-back { color: #333a35; font-weight: 700; text-underline-offset: .25rem; }
.drywall-service-detail { background: #f3f2ee; }
.drywall-service-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); align-items: start; gap: clamp(1.5rem,3vw,3rem); }
.drywall-service-primary { min-width: 0; }
.drywall-service-scope { margin: 0; padding: clamp(1.5rem,3vw,2.5rem); background: #fff; border: 1px solid #deddd7; }
.drywall-service-scope h2, .drywall-service-quote h2 { font-size: clamp(2rem,3.5vw,3rem); line-height: 1.08; letter-spacing: -.04em; }
.drywall-service-scope > p:not(.eyebrow) { max-width: 38rem; color: var(--muted); line-height: 1.7; }
.drywall-service-scope-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.drywall-service-scope-list li { position: relative; padding: 1.1rem 0 1.1rem 1.7rem; border-bottom: 1px solid #d9d8d2; font-weight: 600; line-height: 1.5; }
.drywall-service-scope-list li:first-child { border-top: 1px solid #d9d8d2; }
.drywall-service-scope-list li::before { position: absolute; left: 0; color: #b9563e; content: "↗"; font-weight: 700; }
.drywall-service-faq-section { background: #fff; }
.drywall-service-faq-section .container { max-width: 1040px; }
.drywall-service-faq-section .faq-item { background: #f3f2ee; }
.drywall-service-faq { margin-top: clamp(1.5rem,3vw,2.5rem); }
.drywall-service-faq .section-head { margin-bottom: 1rem; }
.drywall-service-faq .section-head h2 { max-width: 24ch; font-size: clamp(1.5rem,2.2vw,2rem); line-height: 1.2; }
.drywall-service-faq .faq { max-width: none; margin: 0; }
.drywall-service-faq .faq-item { border-radius: 0; border-right: 0; border-left: 0; }
.drywall-service-considerations { min-width: 0; padding: clamp(1.5rem,3vw,2.5rem); background: #fff; border: 1px solid #deddd7; }
.drywall-service-considerations .section-head { margin-bottom: 1rem; }
.drywall-service-considerations .section-head h2 { font-size: clamp(1.8rem,3vw,2.6rem); line-height: 1.1; letter-spacing: -.04em; }
.drywall-service-consideration-list article { padding: 1.25rem 0; border-top: 1px solid #deddd7; }
.drywall-service-consideration-list article:first-child { padding-top: .5rem; border-top: 0; }
.drywall-service-consideration-list h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.drywall-service-consideration-list p { margin: 0; color: var(--muted); line-height: 1.65; }
.drywall-service-quote { background: #242826; color: #fff; }
.drywall-service-quote h2 { color: #fff; }
.drywall-service-quote-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.drywall-service-quote-inner > div { max-width: 43rem; }
.drywall-service-quote-inner .eyebrow { color: #f0b4a8; }
.drywall-service-quote-inner > div > p:last-child { margin-bottom: 0; color: #e0e2dd; line-height: 1.65; }
.drywall-related-services { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid #d9d8d2; border-left: 1px solid #d9d8d2; }
.drywall-related-services a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; padding: 1rem 1.25rem; border-right: 1px solid #d9d8d2; border-bottom: 1px solid #d9d8d2; color: var(--ink); font-weight: 700; }
.drywall-related-services a span { color: #b9563e; font-size: 1.2rem; }
.drywall-related-services a:hover { background: #242826; color: #fff; text-decoration: none; }
.drywall-related-services a:focus-visible { outline: 3px solid #b9563e; outline-offset: -3px; }
.drywall-about-hero { padding-block: clamp(3rem,6vw,5.5rem); background: #eeede8; }
.drywall-about-hero-inner { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: clamp(2rem,6vw,6rem); }
.drywall-about-hero h1 { max-width: 12ch; margin: 0 0 1.15rem; font-size: clamp(2.8rem,5.8vw,5rem); line-height: .98; letter-spacing: -.05em; }
.drywall-about-hero .lead { max-width: 37rem; margin-bottom: 1.6rem; color: #4f5551; line-height: 1.7; }
.drywall-about-hero .eyebrow { color: #a94631; }
.drywall-about-hero img { display: block; width: 100%; max-height: 490px; object-fit: cover; object-position: center; }
.drywall-about-hero .btn-primary { background: #b9563e; border-color: #b9563e; text-transform: none; letter-spacing: 0; }
.drywall-about-approach { background: #242826; color: #fff; }
.drywall-about-approach-inner { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(2rem,7vw,7rem); }
.drywall-about-approach .eyebrow { color: #f0b4a8; }
.drywall-about-approach h2 { max-width: 12ch; color: #fff; font-size: clamp(2.1rem,4vw,3.4rem); line-height: 1.05; letter-spacing: -.045em; }
.drywall-about-copy { max-width: 45rem; }
.drywall-about-copy p { color: #e0e2dd; line-height: 1.75; }
.drywall-about-copy .text-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: .6rem; color: #fff; font-weight: 700; text-underline-offset: .25rem; }
.drywall-about-belief { padding-block: clamp(3.25rem,7vw,6rem); background: #d9dfd5; }
.drywall-about-belief .container { display: grid; grid-template-columns: minmax(9rem,.35fr) minmax(0,1.65fr); align-items: start; gap: clamp(1.5rem,5vw,5rem); }
.drywall-about-belief .eyebrow { margin-top: .8rem; color: #a94631; }
.drywall-about-belief-line { max-width: 17ch; margin: 0; color: #242826; font-size: clamp(2rem,4.4vw,4.2rem); font-weight: 700; line-height: 1.04; letter-spacing: -.045em; }
.drywall-about-principles { background: #fff; }
.drywall-about-principles .feature-card { height: 100%; padding: 1.6rem; background: #f3f2ee; border: 0; border-top: 2px solid #b9563e; }
.drywall-about-principles .feature-num { display: block; margin-bottom: 1.4rem; color: #a94631; font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.drywall-about-principles .feature-card h3 { font-size: 1.2rem; }
.drywall-about-principles .feature-card p { max-width: 34ch; color: var(--muted); line-height: 1.65; }
.drywall-about-next { background: #f3f2ee; }
.drywall-about-next-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.drywall-about-next-inner > div:first-child { max-width: 42rem; }
.drywall-about-next h2 { max-width: 15ch; font-size: clamp(2rem,3.6vw,3rem); line-height: 1.08; letter-spacing: -.04em; }
.drywall-about-next-inner > div:first-child > p:last-child { color: var(--muted); line-height: 1.65; }
.drywall-about-next-links { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; min-width: 15rem; }
.drywall-about-next-links > a:not(.btn) { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; color: var(--ink); font-weight: 700; text-underline-offset: .2rem; }
.drywall-about-next .btn-primary { background: #b9563e; border-color: #b9563e; text-transform: none; letter-spacing: 0; }
.drywall-contact-hero { padding-block: clamp(2.25rem,4vw,3.5rem); border-left: 0; border-bottom: 1px solid #dedbd4; background: #f3f1ec; }
.drywall-contact-hero h1 { max-width: 14ch; font-size: clamp(2.5rem,5vw,4.5rem); line-height: 1; letter-spacing: -.05em; }
.drywall-contact-hero .lead { max-width: 42rem; margin-bottom: 0; color: #4f5551; line-height: 1.65; }
.drywall-contact-section { background: #fff; }
.drywall-contact-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: stretch; border: 1px solid #e2dfd8; }
.drywall-contact-panel { position: relative; padding: clamp(2rem,4vw,3.5rem); background: #f3f1ec; color: var(--ink); }
.drywall-contact-panel::before { position: absolute; top: 2rem; bottom: 2rem; left: 0; width: 4px; background: var(--primary); content: ""; }
.drywall-contact-panel h2 { max-width: 13ch; color: var(--ink); font-size: clamp(2rem,3vw,3rem); line-height: 1.08; letter-spacing: -.04em; }
.drywall-contact-panel > p:not(.drywall-contact-label) { max-width: 30rem; color: #555553; line-height: 1.6; }
.drywall-contact-label, .drywall-contact-methods span { color: var(--primary); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.drywall-contact-methods { display: grid; grid-template-columns: 1fr; margin-top: 2rem; }
.drywall-contact-methods > div { min-width: 0; padding: 1rem 0; border-top: 1px solid #d4d0c8; }
.drywall-contact-methods span { display: block; margin-bottom: .4rem; }
.drywall-contact-methods a, .drywall-contact-methods p { display: block; margin: 0; color: var(--ink); font-size: 1.05rem; font-weight: 600; overflow-wrap: anywhere; }
.drywall-contact-methods a:hover { color: var(--primary-d); text-decoration: underline; text-underline-offset: .2em; }
.drywall-contact-form { min-width: 0; padding: clamp(2rem,4vw,3.5rem); background: #fff; }
.drywall-contact-form .quote-form { padding: 0; border: 0; box-shadow: none; }
.drywall-contact-form .quote-form-head h2 { font-size: clamp(1.8rem,2.5vw,2.5rem); }
.drywall-contact-form .quote-form-head p { color: #555553 !important; }
@media (hover: hover) {
  .drywall-about-copy .text-link:hover { color: #f0b4a8; }
  .drywall-about-next-links > a:not(.btn):hover { color: #a94631; }
}
@media (max-width: 800px) {
  .drywall-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .drywall-contact-layout { grid-template-columns: 1fr; }
  .drywall-process .container, .drywall-project-layout, .drywall-faq-layout, .drywall-service-detail-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .drywall-about-hero-inner, .drywall-about-approach-inner, .drywall-about-belief .container { grid-template-columns: 1fr; gap: 1.25rem; }
  .drywall-about-next-inner { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .drywall-project-layout img { max-height: 440px; }
  .drywall-related-services { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .drywall-hero-inner { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.75rem; }
  .drywall-hero h1 { font-size: clamp(2.8rem,13vw,4rem); }
  .drywall-hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .drywall-service-grid { grid-template-columns: 1fr; }
  .drywall-service-card { min-height: 205px; }
  .drywall-about-hero img { max-height: 340px; }
  .drywall-about-next-links { width: 100%; }
  .drywall-about-next-links .btn { width: 100%; text-align: center; }
  .drywall-final-cta-inner { align-items: flex-start; flex-direction: column; }
  .drywall-service-quote-inner { align-items: flex-start; flex-direction: column; }
  .drywall-related-services { grid-template-columns: 1fr; }
}
/* Location pages use the Drywallah system without the oversized homepage type. */
.location-page-band--beige { background: #f3f1ec; }
.location-page-band--white { background: var(--white); }
.location-page-band--accent { background: #d9dfd5; }
.location-hero { color: var(--ink); }
.location-hero-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 3rem; align-items: center; padding-block: 3.5rem; }
.location-hero-copy { max-width: 38rem; }
.location-hero h1 { max-width: none; margin: 0 0 1rem; color: var(--ink); font-size: 2.25rem; line-height: 1.15; letter-spacing: -.025em; }
.location-lead { max-width: 38rem; margin: 0; color: #555553; font-size: 1.0625rem; line-height: 1.65; }
.location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.location-actions .btn-primary,.location-project .btn-primary,.location-final-cta .btn-primary { background: var(--primary); border-color: var(--primary); text-transform: none; letter-spacing: 0; }
.location-text-link { color: var(--ink); font-weight: 600; }
.location-hero-visual { overflow: hidden; border-radius: 4px; background: #ddd9d1; }
.location-hero-visual img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.location-services .section-head,.location-process .section-head { max-width: 44rem; }
.location-services .section-head h2,.location-process .section-head h2,.location-areas h2,.location-project h2,.location-faq h2,.location-final-cta h2 { font-size: 1.625rem; line-height: 1.25; letter-spacing: -.02em; }
.location-gallery .section-head { max-width: 44rem; }
.location-gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.location-gallery-item { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }
.location-gallery-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s ease; }
@media (hover: hover) {
  .location-gallery-item:hover img { transform: scale(1.02); }
}
.location-gallery-item:focus-visible,.location-gallery-dialog-control:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.location-gallery-dialog { width: min(94vw, 72rem); max-width: none; max-height: 92dvh; padding: 1rem; border: 0; color: var(--ink); background: var(--white); }
.location-gallery-dialog::backdrop { background: rgb(20 22 24 / 82%); }
.location-gallery-dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.location-gallery-dialog-toolbar p { margin: 0; font-size: .9375rem; color: var(--muted); }
.location-gallery-dialog-content { display: grid; grid-template-areas: "previous image next"; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 1rem; margin-top: .75rem; }
.location-gallery-dialog-content [data-gallery-previous] { grid-area: previous; }
.location-gallery-dialog-content [data-gallery-next] { grid-area: next; }
.location-gallery-dialog-content img { display: block; width: 100%; max-height: calc(92dvh - 5rem); object-fit: contain; }
.location-gallery-dialog-content > img { grid-area: image; }
.location-gallery-dialog-control { min-height: 44px; padding: .65rem .9rem; border: 1px solid var(--line); color: var(--ink); background: var(--white); font: inherit; font-weight: 600; cursor: pointer; }
.hamilton-service-heading { max-width: 48rem; margin-bottom: 1.75rem; }
.hamilton-service-heading h2 { margin: 0 0 .75rem; font-size: 1.625rem; line-height: 1.25; letter-spacing: -.02em; }
.hamilton-service-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.65; }
.hamilton-service-layout { display: grid; grid-template-areas: "scope planning" "faq faq"; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 1.25rem 2rem; align-items: start; }
.hamilton-service-scope,.hamilton-service-planning { padding: 1.5rem; border: 1px solid var(--line); background: #fff; }
.hamilton-service-scope { grid-area: scope; }
.hamilton-service-planning { grid-area: planning; }
.hamilton-service-detail h3 { margin: 0 0 .75rem; font-size: 1.25rem; line-height: 1.3; }
.hamilton-service-scope ul { margin: 0 0 1.25rem; padding-left: 1.2rem; }
.hamilton-service-scope li + li { margin-top: .5rem; }
.hamilton-service-more { font-weight: 600; }
.hamilton-service-planning > p { color: var(--muted); }
.hamilton-service-planning article { padding-top: .9rem; border-top: 1px solid var(--line); }
.hamilton-service-planning article + article { margin-top: .9rem; }
.hamilton-service-planning h4 { margin: 0 0 .3rem; font-size: 1rem; }
.hamilton-service-planning article p { margin: 0; color: var(--muted); }
.hamilton-service-faq { grid-area: faq; padding: 1.5rem; border: 1px solid var(--line); background: #fff; }
.hamilton-service-faq h3 { margin: 0 0 .75rem; }
.hamilton-service-faq-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 2rem; }
.hamilton-service-faq summary { padding: .9rem 0; cursor: pointer; font-weight: 600; }
.hamilton-service-faq details p { margin: 0 0 1rem; color: var(--muted); }
.location-area-layout,.location-project-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(16rem,.8fr); gap: 3rem; align-items: start; }
.location-area-layout > div { max-width: 38rem; }
.location-area-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.location-area-list li { border-bottom: 1px solid #d8d7d1; padding: .55rem 0; }
.location-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.location-steps li { display: flex; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.location-steps li > span { color: var(--primary); font-weight: 700; }
.location-steps h3,.location-project-note h3 { margin: 0 0 .4rem; font-size: 1.125rem; }
.location-steps p { margin: 0; color: var(--muted); }
.location-project-layout > div:first-child { max-width: 40rem; }
.location-project-note { padding: 1.5rem; background: #fff; border: 1px solid var(--line); }
.location-project-note ul { margin: 0; padding-left: 1.2rem; }
.location-project-note li + li { margin-top: .65rem; }
.location-faq-layout { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 3rem; }
.location-faq-layout > div:first-child { max-width: 26rem; }
.location-final-cta { color: var(--ink); }
.location-final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.location-final-cta-inner > div { max-width: 42rem; }
.location-final-cta-inner > div > p:last-child { margin-bottom: 0; }
.location-final-cta .btn-primary { flex: 0 0 auto; }
@media (max-width: 760px) {
  .location-hero-inner { grid-template-columns: 1fr; gap: 1.75rem; padding-block: 2.25rem; }
  .location-hero h1 { font-size: 1.875rem; }
  .location-area-layout,.location-project-layout,.location-faq-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .location-gallery-grid { grid-template-columns: 1fr; gap: .75rem; }
  .location-gallery-dialog { width: 100%; max-width: 100%; max-height: 100dvh; padding: .75rem; }
  .location-gallery-dialog-content { grid-template-areas: "image image" "previous next"; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .location-gallery-dialog-content img { max-height: calc(100dvh - 8rem); }
  .hamilton-service-layout { grid-template-areas: "scope" "planning" "faq"; grid-template-columns: 1fr; gap: 1rem; }
  .hamilton-service-faq-list { grid-template-columns: 1fr; }
  .location-steps { grid-template-columns: 1fr; gap: 1rem; }
  .location-final-cta-inner { align-items: flex-start; flex-direction: column; }
}
