/* Chandler Commercial Roofing Contractor | signature H4-S9-P2-B3-R6-F3-M5-C4-I3-E4 */
:root {
  --brand-dark: #252D28;
  --stone: #3B3732;
  --accent: #35624D;
  --cta-bg: #35624D;
  --cta-hover: #2A4F3E;
  --cta-text: #FFFFFF;
  --page: #FFFFFF;
  --alt: #F3F5EF;
  --tint: #EEEAE3;
  --green-tint: #DCE8DF;
  --text: #252D28;
  --muted: #5A5650;
  --border: #8A8780;
  --line: #D9D6CF;
  --focus-light: #35624D;
  --focus-dark: #8FC1A6;
  --icon-fill: #CFE0D5;
  --font-head: "Zilla Slab", "Roboto Slab", Rockwell, "DejaVu Serif", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 10px;
  --wrap: 1200px;
  --pad: 80px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--page); color: var(--text); font-family: var(--font-body); font-size: 17.5px; line-height: 1.62; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus-light); outline-offset: 2px; }
.bg-deep :focus-visible, .bg-stone :focus-visible, .bg-band :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .bg-accentbg :focus-visible { outline-color: var(--focus-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; margin: 0 0 .5em; color: inherit; font-weight: 700; }
h2 em, h1 em { font-style: italic; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; }
.skip:focus { left: 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 8px; font-family: var(--font-body);
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; cursor: pointer; line-height: 1.2; text-align: center; }
.btn-primary { background: var(--cta-bg); color: var(--cta-text); border-color: var(--cta-bg); }
.btn-primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--brand-dark); border-color: var(--brand-dark); }
.btn-secondary:hover { background: var(--brand-dark); color: #fff; }
.btn-light { background: #fff; color: var(--accent); border-color: #fff; }
.btn-light:hover { background: var(--alt); color: var(--brand-dark); }
.btn-sm { min-height: 44px; padding: 9px 16px; font-size: .95rem; }
.bg-deep .btn-primary, .hero .btn-primary, .bg-stone .btn-primary { border-color: #fff; }
.btn-pair { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.center-cta { text-align: center; margin-top: 36px; }
.textlink { font-weight: 700; color: var(--brand-dark); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 84px; }
.brand img { height: 64px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a { display: block; padding: 10px 10px; text-decoration: none; font-weight: 600; color: var(--brand-dark); font-size: .98rem; }
.nav-list a:hover { color: var(--accent); }
.dd-toggle { background: none; border: 0; padding: 8px 4px; cursor: pointer; color: var(--brand-dark); min-width: 28px; min-height: 40px; }
.chev { width: 16px; height: 16px; display: block; transition: transform .15s; }
.dd-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.dd { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: 0 12px 28px rgba(37,45,40,.14); display: none; z-index: 60; }
.dd a { padding: 9px 12px; border-radius: 6px; font-weight: 600; }
.dd a:hover { background: var(--alt); }
.has-dd.open > .dd { display: block; }
@media (hover: hover) and (min-width: 1181px) { .has-dd:hover > .dd, .has-dd:focus-within > .dd { display: block; } }
.nav-ctas { display: flex; gap: 10px; }
.burger { display: none; width: 48px; height: 48px; border: 2px solid var(--brand-dark); border-radius: 8px; background: #fff; padding: 11px 10px; cursor: pointer; margin-right: 0; }
.burger span { display: block; height: 2.5px; background: var(--brand-dark); margin: 4.5px 0; border-radius: 2px; }

@media (max-width: 1180px) {
  .hdr { min-height: 72px; }
  .brand img { height: 50px; }
  .burger { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 20px 22px; max-height: calc(100vh - 72px); overflow-y: auto; gap: 14px; }
  .site-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav-list a { padding: 13px 4px; }
  .dd-toggle { min-width: 48px; min-height: 48px; }
  .dd { position: static; box-shadow: none; border: 0; width: 100%; padding: 0 0 10px 12px; min-width: 0; }
  .nav-ctas { flex-direction: column; }
  .nav-ctas .btn { width: 100%; }
}

/* sections */
.sec { padding: var(--pad) 0; }
.bg-page { background: var(--page); }
.bg-alt { background: var(--alt); }
.bg-tint { background: var(--tint); }
.bg-stone { background: var(--stone); color: #fff; }
.bg-deep { background: var(--brand-dark); color: #fff; }
.bg-band { background: var(--accent); color: #fff; }
.bg-accentbg { background: var(--stone); color: #fff; }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.sec-head h2 { font-size: 2.2rem; margin-bottom: 12px; }
.sec-head .intro { color: var(--muted); font-size: 1.08rem; margin: 0; }
.bg-deep .sec-head .intro, .bg-stone .sec-head .intro { color: #E6E8E3; }

/* hero H4 */
.hero { position: relative; background: var(--brand-dark); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(37,45,40,.55) 0%, rgba(37,45,40,.72) 60%, rgba(37,45,40,.82) 100%); }
.hero-body { position: relative; z-index: 2; text-align: center; padding-top: 72px; padding-bottom: 84px; max-width: 900px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .85rem; color: #DCE8DF; margin-bottom: 12px; }
.hero h1, .hero-text h1 { font-size: 3.25rem; margin-bottom: 16px; }
.hero-intro { font-size: 1.15rem; max-width: 680px; margin: 0 auto 24px; color: #F3F5EF; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0 0 18px; padding: 0; font-size: .88rem; color: #E6E8E3; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .7; }
.crumbs a { color: #fff; }
.hero-text { padding: 64px 0 56px; text-align: center; }
.jump ul { list-style: none; padding: 0; margin: 28px auto 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.jump a { display: inline-block; padding: 9px 16px; border: 1px solid #A9B3AC; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; }
.jump a:hover { background: rgba(255,255,255,.12); }

/* fact strip */
.sec-facts { padding: 26px 0; }
.factstrip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.factstrip li { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: center; }
.factstrip .icon { grid-row: span 2; width: 34px; height: 34px; color: #fff; --icon-fill: #5E6F63; }
.f-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #D6D2CA; font-weight: 700; }
.f-value { font-weight: 700; font-size: 1.02rem; line-height: 1.3; }

/* icons (I3 duotone) */
.icon { width: 30px; height: 30px; flex: none; color: var(--brand-dark); }
.icon .tf { fill: var(--icon-fill); stroke: none; }

/* R6 pairs */
.pair-heads { display: grid; grid-template-columns: 1fr 44px 1fr; max-width: 1040px; margin: 0 auto 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.pair-heads span:last-child { grid-column: 3; }
.pairs { display: grid; gap: 14px; max-width: 1040px; margin: 0 auto; }
.pair { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: stretch; }
.cell { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--alt); border: 1px solid var(--line); }
.cell-roof { background: #fff; border-left: 4px solid var(--accent); }
.bg-alt .cell-in { background: #fff; }
.cell h3 { font-size: 1.2rem; margin-bottom: 4px; }
.cell p { margin: 0; color: var(--text); }
.pair-link { position: relative; }
.pair-link::before { content: ""; position: absolute; top: 50%; left: 8px; right: 8px; border-top: 2px dashed var(--border); }
.pair-link::after { content: ""; position: absolute; top: calc(50% - 5px); right: 6px; border: 6px solid transparent; border-left-color: var(--border); border-right: 0; }

/* S9 roof-type selector */
.rt-select { list-style: none; padding: 0; margin: 0 auto 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 980px; }
.rt-select a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff;
  text-decoration: none; font-weight: 700; text-align: center; color: var(--brand-dark); }
.rt-select a:hover { border-color: var(--accent); }
.rt-select .icon { width: 40px; height: 40px; }
.sys-panels { display: grid; gap: 28px; }
.sys-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; scroll-margin-top: 100px; }
.sys-panel.flip .sys-media { order: 2; }
.sys-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.sys-body { padding: 30px 32px; }
.sys-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.sys-tag .icon { width: 22px; height: 22px; }
.sys-body h3 { font-size: 1.6rem; }
.fitcols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 6px 0 16px; }
.fitcols h4 { font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.fitcols ul { margin: 0; padding-left: 18px; font-size: .97rem; }
.fitcols li { margin-bottom: 4px; }
.fit-yes { border-top: 3px solid var(--accent); padding-top: 10px; }
.fit-no { border-top: 3px solid var(--border); padding-top: 10px; }

/* compare */
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1040px; margin: 0 auto; }
.cmp-col { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; }
.bg-page .cmp-col { background: var(--alt); }
.cmp-yes { border-top: 5px solid var(--accent); }
.cmp-no { border-top: 5px solid var(--stone); }
.cmp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cmp-head h3 { margin: 0; font-size: 1.35rem; }
.cmp ul { margin: 0; padding-left: 20px; }
.cmp li { margin-bottom: 8px; }

/* C4 rule band */
.sec-band { padding: 64px 0; }
.band-rule { max-width: 820px; margin: 0 auto; text-align: center; border-top: 2px solid rgba(255,255,255,.55); border-bottom: 2px solid rgba(255,255,255,.55); padding: 34px 10px; }
.band-rule h2 { font-size: 2rem; margin-bottom: 10px; }
.band-rule p { color: #F3F5EF; max-width: 640px; margin: 0 auto 14px; }
.band-phone { display: block; font-family: var(--font-head); font-weight: 700; font-size: 3rem; line-height: 1.1; color: #fff; text-decoration: none; margin: 4px 0 18px; letter-spacing: .01em; }
.band-phone:hover { color: #fff; text-decoration: underline; }

/* B3 */
.b3 { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.b3-media img { border-radius: 14px; aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; background: #fff; border-radius: var(--radius); padding: 14px 18px; border: 1px solid var(--line); }
.checks h3 { font-size: 1.15rem; margin-bottom: 2px; }
.checks p { margin: 0; }

/* P2 */
.p2-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.p2-photo img { border-radius: 12px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.p2-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.p2-steps::before { content: ""; position: absolute; top: 22px; left: 10%; right: 10%; border-top: 3px solid var(--accent); z-index: 0; }
.p2-steps li { position: relative; z-index: 1; text-align: center; }
.p2-steps .num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand-dark); color: #fff; font-weight: 700; font-family: var(--font-head);
  font-size: 1.25rem; border: 4px solid var(--page); margin-bottom: 10px; }
.bg-alt .p2-steps .num { border-color: var(--alt); }
.p2-steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.p2-steps p { font-size: .97rem; text-align: left; margin: 0; }

/* M5 map */
.m5 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: start; }
.ringmap { width: 100%; height: auto; display: block; }
.m-bg { fill: #fff; stroke: var(--line); }
.m-ring { fill: none; stroke: #B9C9BE; stroke-width: 1.5; stroke-dasharray: 6 7; }
.m-hwy { fill: none; stroke: #E2DDD4; stroke-width: 12; stroke-linecap: round; }
.m-road { font: 600 13px var(--font-body); fill: #6B665F; }
.m-hub { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.m-dot { fill: var(--brand-dark); stroke: #fff; stroke-width: 2.5; }
.m-dot.m-on { fill: var(--accent); }
.m-label { font: 700 15px var(--font-body); fill: var(--brand-dark); }
.m-hub-label { font-size: 17px; }
.m-note { font: italic 12px var(--font-body); fill: #6B665F; }
.m-link:hover .m-label { text-decoration: underline; }
.town-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.town-list li { background: #fff; border-left: 4px solid var(--accent); border-radius: 8px; padding: 12px 16px; }
.town-list a, .link-grid a { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.town-list p, .link-grid p { margin: 2px 0 0; font-size: .97rem; }

/* F3 accordion */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.bg-page .faq { background: var(--alt); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-weight: 700; font-size: 1.05rem; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq[open] summary .chev { transform: rotate(180deg); }
.faq-a { padding: 0 20px 14px; }

/* closing */
.closing { text-align: center; }
.closing h2 { font-size: 2.3rem; }
.closing p { max-width: 640px; margin: 0 auto 18px; color: #E6E8E3; }

/* cards */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.cards-2, .cards-4 { grid-template-columns: repeat(2, 1fr); }
.cards-6 { grid-template-columns: repeat(3, 1fr); }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.svc-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.svc-body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 1.35rem; }
.svc-body .fit { font-size: .96rem; color: var(--muted); }
.svc-body .textlink { margin-top: auto; }
.icard { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 12px; padding: 22px 24px; }
.bg-page .icard { background: var(--alt); }
.icard .icon { width: 38px; height: 38px; margin-bottom: 10px; }
.icard h3 { font-size: 1.22rem; }
.icard p { margin: 0; }

/* table */
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: .98rem; }
.spec th, .spec td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec thead th { background: var(--brand-dark); color: #fff; font-family: var(--font-body); font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; }
.spec tbody th { font-weight: 700; min-width: 190px; }
.spec tbody th .icon { width: 24px; height: 24px; display: inline-block; vertical-align: -6px; margin-right: 8px; }
.spec tbody tr:last-child th, .spec tbody tr:last-child td { border-bottom: 0; }
.spec tbody tr:nth-child(even) { background: var(--alt); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split-media img { border-radius: 14px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ticks, .checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li, .checklist li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { width: 24px; height: 24px; margin-top: 2px; }
.checklist { grid-template-columns: 1fr 1fr; gap: 14px 22px; max-width: 1000px; margin: 0 auto; }
.checklist li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.bg-page .checklist li { background: var(--alt); }

/* links + inset */
.links-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
.link-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.link-grid li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }

/* brand band (FAQ intro) */
.brand-band { max-width: 820px; margin: 0 auto; text-align: center; font-size: 1.12rem; }
.brand-band p:last-child { margin: 0; }
.sec.bg-accentbg { padding: 48px 0; }

/* FAQ page */
.qa-list { display: grid; gap: 18px; max-width: 900px; margin: 0 auto; }
.qa { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 12px; padding: 22px 26px; scroll-margin-top: 100px; }
.bg-page .qa { background: var(--alt); }
.qa h3 { font-size: 1.3rem; }
.qa ul { padding-left: 20px; }
.qa .table-wrap { margin: 6px 0 14px; }
.cat-head { display: flex; align-items: center; gap: 12px; justify-content: center; }
.sources { max-width: 900px; margin: 26px auto 0; font-size: .95rem; color: var(--muted); }

/* contact, calc, legal */
.util-head { padding: 48px 0 8px; text-align: center; }
.util-head h1 { font-size: 2.6rem; }
.util-head p { max-width: 640px; margin: 0 auto; color: var(--muted); }
.util-head .crumbs ol { color: var(--muted); }
.util-head .crumbs a { color: var(--brand-dark); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.form-card label, .cb-form label { display: block; font-weight: 700; margin: 14px 0 6px; }
.form-card input, .form-card textarea, .cb-form input { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 8px; background: #fff; color: var(--text); min-height: 48px; }
.form-card input:focus, .form-card textarea:focus, .cb-form input:focus { outline: 3px solid var(--focus-light); outline-offset: 1px; border-color: var(--brand-dark); }
.form-card .hint { font-size: .9rem; color: var(--muted); margin-top: 4px; display: block; }
.field-error { color: #9B2C1F; font-size: .92rem; margin-top: 4px; display: block; min-height: 0; }
.form-msg { margin: 14px 0 0; font-weight: 600; }
.form-msg.ok { color: var(--accent); }
.form-msg.err { color: #9B2C1F; }
.form-card .btn { margin-top: 18px; width: 100%; }
.side-card { background: var(--alt); border-radius: 14px; padding: 26px; border: 1px solid var(--line); }
.side-card .icon { width: 34px; height: 34px; }
.side-phone { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.legal-body { max-width: 820px; margin: 0 auto; }
.legal-body h2 { font-size: 1.6rem; margin-top: 1.6em; }
.calc-wrap { max-width: 760px; margin: 0 auto; }

/* calculator restyle (kit --calc-* variables) */
.roof-calc { --calc-accent: #35624D; --calc-accent-hover: #2A4F3E; --calc-accent-text: #FFFFFF; --calc-border: #8A8780; --calc-focus: #35624D;
  --calc-font-body: var(--font-body); --calc-font-head: var(--font-head); --calc-muted: #5A5650; --calc-surface: #FFFFFF; --calc-surface-alt: #F3F5EF;
  --calc-text: #252D28; --calc-track: #D9D6CF; --calc-radius: 12px; }

/* mobile call bar + callback */
.callbar { display: none; }
.cb[hidden] { display: none; }
.cb { position: fixed; inset: 0; z-index: 90; background: rgba(37,45,40,.55); display: grid; place-items: center; padding: 20px; }
.cb-card { background: #fff; border-radius: 14px; padding: 28px; max-width: 420px; width: 100%; position: relative; }
.cb-card h2 { font-size: 1.6rem; padding-right: 30px; }
.cb-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 1.8rem; cursor: pointer; color: var(--brand-dark); }
.cb-form .btn { width: 100%; margin-top: 16px; }
.cb-direct { margin: 14px 0 0; text-align: center; }

/* footer */
.site-footer { background: var(--brand-dark); color: #E6E8E3; padding: 56px 0 20px; }
.ftr { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.logo-plate { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; }
.logo-plate img { height: 56px; width: auto; }
.ftr-h { font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.ftr-phone a { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; }
.ftr-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid #4A544D; margin-top: 34px; padding-top: 18px; font-size: .92rem; }
.ftr-legal ul { display: flex; gap: 18px; }
.ftr-legal p { margin: 0; }

/* tablet */
@media (max-width: 1080px) {
  .p2-steps { grid-template-columns: repeat(6, 1fr); }
  .p2-steps li { grid-column: span 2; }
  .p2-steps li:nth-child(4) { grid-column: 2 / span 2; }
  .p2-steps::before { display: none; }
  .factstrip { grid-template-columns: repeat(2, 1fr); }
  .ftr { grid-template-columns: 1fr 1fr; }
  .links-wrap { grid-template-columns: 1fr; }
  .inset { max-width: 420px; margin: 0 auto; width: 100%; }
}
@media (max-width: 900px) {
  :root { --pad: 52px; }
  body { font-size: 17px; }
  .sec-head h2 { font-size: 1.85rem; }
  .hero { display: flex; flex-direction: column; }
  .hero-media { position: relative; order: 2; }
  .hero-media::after { display: none; }
  .hero-img { aspect-ratio: 3 / 2; height: auto; }
  .hero-body { order: 1; padding-top: 40px; padding-bottom: 36px; }
  .hero h1, .hero-text h1 { font-size: 2.2rem; }
  .btn-pair { flex-direction: column; align-items: stretch; max-width: 420px; margin-left: auto; margin-right: auto; }
  .btn-pair .btn { width: 100%; }
  .pair-heads { display: none; }
  .pair { grid-template-columns: 1fr; gap: 0; }
  .pair-link { height: 22px; }
  .pair-link::before { top: 0; bottom: 0; left: 50%; right: auto; border-top: 0; border-left: 2px dashed var(--border); }
  .pair-link::after { display: none; }
  .m-label { font-size: 22px; }
  .m-hub-label { font-size: 24px; }
  .m-road { font-size: 17px; }
  .rt-select { grid-template-columns: repeat(2, 1fr); }
  .sys-panel { grid-template-columns: 1fr; }
  .sys-panel.flip .sys-media { order: 0; }
  .sys-body { padding: 22px 20px; }
  .fitcols { grid-template-columns: 1fr; }
  .cmp, .b3, .split, .m5, .contact-grid { grid-template-columns: 1fr; }
  .p2-photos { grid-template-columns: 1fr; }
  .p2-photos .p2-photo:not(:first-child) { display: none; }
  .p2-steps { grid-template-columns: 1fr; gap: 0; border-left: 3px solid var(--accent); margin-left: 22px; padding-left: 0; }
  .p2-steps li, .p2-steps li:nth-child(4) { grid-column: auto; text-align: left; padding: 0 0 22px 36px; }
  .p2-steps .num { position: absolute; left: -25px; top: -2px; margin: 0; }
  .p2-steps h3 { padding-top: 8px; }
  .cards, .cards-2, .cards-4, .cards-6, .link-grid, .checklist { grid-template-columns: 1fr; }
  .band-phone { font-size: 2.2rem; }
  .band-rule h2, .closing h2 { font-size: 1.7rem; }
  .ftr { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 96px; }
  .callbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; align-items: center; justify-content: center; gap: 10px;
    background: var(--cta-bg); color: #fff; border: 2px solid #fff; border-radius: 10px; min-height: 52px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
  .callbar:hover { color: #fff; }
  .cb-ic { width: 22px; height: 22px; color: #fff; --icon-fill: rgba(255,255,255,.25); }
  body.menu-open .callbar, body.form-active .callbar { display: none; }
  .spec thead { display: none; }
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: 100%; }
  .spec tbody tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .spec tbody th { border: 0; padding-bottom: 4px; }
  .spec td { border: 0; padding-top: 4px; padding-bottom: 4px; }
  .spec td::before { content: attr(data-label) ": "; font-weight: 700; }
  .util-head h1 { font-size: 2rem; }
}
@media (max-width: 420px) {
  .rt-select { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rt-select a { font-size: .92rem; padding: 14px 6px; }
  .hero h1, .hero-text h1 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
/* keep calculator controls clear of the sticky header when scrolled into view */
.roof-calc input, .roof-calc textarea, .roof-calc button { scroll-margin-top: 140px; scroll-margin-bottom: 90px; }
.roof-calc .choice-card { position: relative; }
.roof-calc .choice-card input { left: 50%; top: 50%; }
@media (max-width: 900px) { body:has(.roof-calc) .callbar { display: none; } body:has(.roof-calc) .site-footer { padding-bottom: 32px; } }
.qa-note { border-left: 3px solid var(--icon-fill); padding: 2px 0 2px 14px; margin: 0 0 1em; }
.qa-note p { margin: 0; }
ul.source-list { list-style: disc; padding-left: 20px; }
ul.source-list li { margin-bottom: 4px; }
