/* Radcliff Metal Roof Coating: site styles. Signature H8-S12-P9-B2-R1-F9-M44-C3-I8-E4, T1. */
:root {
  --brand: #26493A;
  --ink: #101E16;
  --secondary: #64766B;
  --accent: #E8621A;
  --accent-hover: #F08A4F;
  --accent-ink: #B5480F;
  --accent-on-dark: #F5A06B;
  --page: #FFFFFF;
  --alt: #F2F4F1;
  --tint: #E7EDE8;
  --text: #101E16;
  --muted: #4F5E55;
  --muted-dark: #C9D6CE;
  --border: #CDD5CF;
  --head: "Bricolage Grotesque", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: "Nunito Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16,30,22,.06), 0 6px 18px rgba(16,30,22,.08);
  --wrap: 1200px;
  --gutter: 20px;
  --callbar: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--page); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-on-dark); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: clamp(1.18rem, 1.05rem + .5vw, 1.45rem); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 200; border-radius: 6px; }
.skip:focus { left: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 8px; font-family: var(--body); font-weight: 800; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; line-height: 1.2; text-align: center; }
.btn-primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--ink); }
.btn-secondary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-secondary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.on-dark .btn-primary { border-color: #F2F4F1; }
.on-dark .btn-secondary { background: #fff; color: var(--ink); border-color: #fff; }
.on-dark .btn-secondary:hover { background: var(--alt); color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.btn-single { display: flex; justify-content: center; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); }
.site-header .wrap { max-width: 1340px; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand img { height: 52px; width: auto; }
.main-nav { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -6px; background: transparent; border: 2px solid var(--brand); border-radius: 8px; color: var(--brand); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-link { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 10px; font-weight: 700; color: var(--ink); text-decoration: none; border-radius: 6px; }
.nav-link:hover, .nav-link[aria-current=page] { color: var(--brand); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.has-sub { display: flex; align-items: center; }
.sub-toggle { width: 32px; height: 44px; background: none; border: 0; cursor: pointer; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; margin-left: -6px; }
.sub-toggle svg { width: 16px; height: 16px; transition: transform .15s; }
.sub-toggle[aria-expanded=true] svg { transform: rotate(180deg); }
.submenu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: 0 0 8px 8px; box-shadow: var(--shadow); padding: 8px; display: none; z-index: 120; }
.submenu.two-col { min-width: 440px; display: none; grid-template-columns: 1fr 1fr; }
.submenu a { display: block; padding: 9px 12px; color: var(--ink); text-decoration: none; border-radius: 6px; font-weight: 600; }
.submenu a:hover, .submenu a:focus-visible { background: var(--tint); color: var(--brand); }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .submenu.open { display: block; }
.has-sub:hover > .submenu.two-col, .has-sub:focus-within > .submenu.two-col, .submenu.two-col.open { display: grid; }
.has-sub.closed > .submenu { display: none !important; }
.nav-actions { display: flex; gap: 10px; margin-left: 10px; }
.nav-actions .btn { min-height: 46px; padding: 10px 16px; white-space: nowrap; }
@media (min-width: 1260px) {
  .main-nav { display: flex; align-items: center; }
  .nav-toggle { display: none; }
  .brand img { height: 56px; }
}
/* Mobile panel */
.mobile-panel { display: none; position: fixed; inset: 76px 0 0 0; background: #fff; overflow-y: auto; z-index: 110; padding: 12px var(--gutter) 32px; border-top: 1px solid var(--border); }
.mobile-panel.open { display: block; }
.mobile-panel ul { list-style: none; }
.mobile-panel .m-item { border-bottom: 1px solid var(--border); }
.mobile-panel .m-row { display: flex; align-items: center; justify-content: space-between; }
.mobile-panel .m-row a, .mobile-panel > ul > li > a { display: block; padding: 14px 4px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.08rem; flex: 1; }
.mobile-panel .m-sub-toggle { width: 48px; height: 48px; background: var(--alt); border: 0; border-radius: 8px; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.mobile-panel .m-sub-toggle svg { width: 18px; height: 18px; }
.mobile-panel .m-sub-toggle[aria-expanded=true] svg { transform: rotate(180deg); }
.mobile-panel .m-sub { display: none; padding: 0 0 10px 10px; }
.mobile-panel .m-sub.open { display: block; }
.mobile-panel .m-sub a { display: block; padding: 10px 6px; color: var(--brand); font-weight: 700; text-decoration: none; }
.mobile-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
.mobile-actions .btn { width: 100%; }
@media (min-width: 1260px) { .mobile-panel { display: none !important; } }
body.menu-open { overflow: hidden; }
body.menu-open .callbar { display: none; }

/* Fixed call bar (mobile) */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--ink); padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); display: flex; justify-content: center; }
.callbar a { width: 100%; max-width: 520px; }
body { padding-bottom: calc(var(--callbar) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .callbar { display: none; } body { padding-bottom: 0; } }

/* Breadcrumb */
.crumbs { font-size: .9rem; margin: 0 0 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .7; }
.crumbs a { color: inherit; }

/* Sections */
.sec { padding: 72px 0; }
.bg-page { background: var(--page); }
.bg-alt { background: var(--alt); }
.bg-tint { background: var(--tint); }
.bg-green { background: var(--brand); color: #fff; }
.on-dark { color: #fff; }
.on-dark a:not(.btn) { color: #fff; }
.sec-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.sec-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.on-dark .sec-head p { color: var(--muted-dark); }
.sec-head.left { text-align: left; margin-left: 0; }
h2 em, h1 em { font-style: italic; color: var(--accent-ink); font-weight: 800; }
.on-dark h2 em { color: var(--accent-on-dark); }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }
.inline-links a { font-weight: 700; }
@media (max-width: 759px) { .sec { padding: 52px 0; } .sec-head { margin-bottom: 28px; } }

/* Split layouts L2 / L3 */
.split-l { display: grid; gap: 32px; }
@media (min-width: 980px) {
  .split-l { grid-template-columns: minmax(260px, 35%) 1fr; gap: 48px; align-items: start; }
  .split-l .sec-head { text-align: left; margin: 0; position: sticky; top: 110px; }
  .split-l.rev { grid-template-columns: 1fr minmax(260px, 35%); }
  .split-l.rev .sec-head { order: 2; }
}
.row-l .sec-head { text-align: left; margin-left: 0; }

/* Icons I8 */
svg.icon { width: 40px; height: 40px; flex: none; color: var(--brand); }
svg.icon .g { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.icon .bar { fill: var(--accent); }
.on-dark svg.icon { color: #fff; }

/* Hero H8 */
.h8 { position: relative; background: var(--brand); color: #fff; padding: 0; }
.h8-stage { position: relative; display: grid; }
.h8-media, .h8-copy { grid-area: 1 / 1; }
.h8-media img { width: 100%; height: 100%; min-height: 520px; max-height: 620px; object-fit: cover; object-position: center; }
.h8-media::after { content: ""; position: absolute; inset: 0; background: rgba(16,30,22,.68); }
.h8-copy { position: relative; z-index: 1; align-self: center; text-align: center; padding: 64px var(--gutter); max-width: 860px; margin: 0 auto; }
.h8-copy .crumbs ol { justify-content: center; }
.chip { display: inline-block; padding: 6px 14px; border: 2px solid var(--accent-on-dark); color: #fff; border-radius: 999px; font-size: .85rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.h8-copy h1 { color: #fff; margin-bottom: 14px; }
.h8-intro { font-size: 1.15rem; max-width: 640px; margin: 0 auto 22px; color: #fff; }
.h8-facts { background: var(--ink); border-top: 4px solid var(--accent); }
.h8-facts ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.h8-facts li { display: flex; align-items: center; gap: 14px; padding: 20px 18px; color: #fff; font-weight: 700; border-left: 1px solid rgba(255,255,255,.16); }
.h8-facts li:first-child { border-left: 0; }
.h8-facts svg.icon { color: #fff; width: 36px; height: 36px; }
@media (max-width: 759px) {
  .h8-stage { display: flex; flex-direction: column; }
  .h8-copy { order: 1; padding: 36px var(--gutter) 30px; }
  .h8-media { order: 2; }
  .h8-media::after { display: none; }
  .h8-media img { min-height: 0; aspect-ratio: 16 / 9; }
  .h8-copy .btn-row { flex-direction: column; }
  .h8-copy .btn-row .btn { width: 100%; }
  .h8-facts ul { grid-template-columns: 1fr; }
  .h8-facts li { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding: 14px 4px; }
  .h8-facts li:first-child { border-top: 0; }
}

/* S12 building-chip cards */
.s12-grid { display: grid; gap: 24px; grid-template-columns: repeat(6, 1fr); }
.s12-card { grid-column: span 2; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.s12-grid.five .s12-card:nth-child(4) { grid-column: 2 / span 2; }
.s12-grid.four .s12-card { grid-column: span 3; }
.s12-media { position: relative; }
.s12-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.s12-tag { position: absolute; top: 0; left: 0; background: var(--accent); color: var(--ink); font-weight: 800; font-size: .82rem; padding: 6px 12px; border-bottom-right-radius: 8px; letter-spacing: .02em; }
.s12-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.chips li { font-size: .82rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--brand); border: 1px solid #C5D2C9; }
.fit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 4px 0 16px; }
.fit-cols h4 { font-family: var(--body); font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 6px; color: var(--muted); }
.fit-cols ul { list-style: none; }
.fit-cols li { font-size: .95rem; padding-left: 16px; position: relative; margin-bottom: 6px; line-height: 1.45; }
.fit-cols li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.fit-cols .check li::before { background: var(--secondary); }
.card-link { margin-top: auto; font-weight: 800; color: var(--brand); }
@media (max-width: 1099px) { .s12-grid { grid-template-columns: 1fr 1fr; } .s12-card, .s12-grid.five .s12-card:nth-child(4), .s12-grid.four .s12-card { grid-column: auto; } .s12-grid.five .s12-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 680px) { .s12-grid { grid-template-columns: 1fr; } .s12-grid.five .s12-card:last-child { grid-column: auto; } .fit-cols { grid-template-columns: 1fr; } }

/* B2 coat vs replace table + generic tables */
.tbl-wrap { overflow: visible; }
table.b2, table.plain { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.b2 caption, table.plain caption { text-align: left; font-weight: 700; color: var(--muted); padding: 0 0 10px; caption-side: top; }
table.b2 th, table.b2 td, table.plain th, table.plain td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
table.b2 thead th, table.plain thead th { background: var(--ink); color: #fff; font-family: var(--head); font-size: 1.05rem; }
table.b2 thead th.coat { background: var(--brand); border-top: 4px solid var(--accent); }
table.b2 tbody th { font-family: var(--head); font-size: 1.02rem; width: 24%; background: var(--alt); }
table.b2 td.coat { background: #F6F9F6; font-weight: 600; }
@media (max-width: 759px) {
  table.b2 thead, table.plain thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.b2, table.b2 tbody, table.b2 tr, table.b2 th, table.b2 td, table.plain, table.plain tbody, table.plain tr, table.plain th, table.plain td { display: block; width: 100%; }
  table.b2 tr, table.plain tr { border-bottom: 3px solid var(--tint); }
  table.b2 td::before, table.plain td::before { content: attr(data-label); display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; color: var(--muted); margin-bottom: 2px; }
  table.b2 tbody th { width: 100%; }
}

/* R1 icon card grid */
.r1-grid { list-style: none; display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.r1-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.bg-page .r1-card { background: var(--alt); box-shadow: none; }
.r1-card h3 { margin-top: 12px; }
.r1-card p { margin: 0; }
@media (max-width: 1099px) { .r1-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .r1-grid { grid-template-columns: 1fr; } }

/* Option / generic cards */
.cards { list-style: none; display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: 1fr 1fr; }
.cards.four { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; background: var(--tint); border-bottom: 3px solid var(--accent); }
.card-head h3 { margin: 0; }
.card-body { padding: 18px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.card-body p { margin: 0 0 10px; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 1099px) { .cards { grid-template-columns: 1fr 1fr; } .cards.three-odd > li:last-child { grid-column: 1 / -1; } }
@media (max-width: 680px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } .cards.three-odd > li:last-child { grid-column: auto; } }

/* C3 band */
.c3 .c3-card { background: #fff; color: var(--text); border-radius: 14px; padding: 34px; display: grid; gap: 28px; grid-template-columns: 1.1fr 1fr; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.18); border-top: 5px solid var(--accent); }
.c3 h2 { margin-bottom: 10px; }
.c3 .c3-line { color: var(--muted); margin: 0; font-size: 1.06rem; }
.c3 .ready { background: var(--alt); border-radius: 10px; padding: 20px 22px; }
.c3 .ready h3 { font-size: 1.05rem; margin: 0 0 10px; font-family: var(--body); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.c3 .ready ul { list-style: none; display: grid; gap: 8px; margin-bottom: 16px; }
.c3 .ready li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.c3 .ready li svg.icon { width: 28px; height: 28px; color: var(--brand); }
.c3 .c3-card h2 { color: var(--ink); }
.c3 .c3-card h2 em { color: var(--accent-ink); }
.c3 .ready .btn { width: 100%; }
@media (max-width: 859px) { .c3 .c3-card { grid-template-columns: 1fr; padding: 24px; } .c3 .sec-head-in { text-align: center; } }

/* P9 tabbed stages */
.tabs-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0; }
.tab { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 10px; background: #fff; border: 2px solid var(--border); border-bottom: 0; border-radius: 10px 10px 0 0; font-family: var(--body); font-weight: 800; font-size: .98rem; color: var(--ink); cursor: pointer; text-align: left; }
.tab .num { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: var(--tint); color: var(--brand); font-weight: 800; flex: none; }
.tab[aria-selected=true] { background: var(--brand); color: #fff; border-color: var(--brand); }
.tab[aria-selected=true] .num { background: var(--accent); color: var(--ink); }
.p9-panels { background: #fff; border: 2px solid var(--brand); border-radius: 0 10px 10px 10px; }
.p9-panel { padding: 28px 30px; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; }
.p9-panel + .p9-panel { border-top: 1px solid var(--border); }
.p9-panel .stage { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--accent-ink); margin: 0; }
.p9-panel h3 { margin: 2px 0 8px; }
.p9-panel p { margin: 0 0 12px; }
.p9-panel ul { list-style: none; display: grid; gap: 6px; }
.p9-panel li { padding-left: 22px; position: relative; }
.p9-panel li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 10px; border: 2px solid var(--brand); border-radius: 2px; }
.p9-panel .p9-icon { grid-row: span 4; }
.js .p9-panel[hidden] { display: none; }
@media (max-width: 759px) {
  .tab { flex: 1 1 calc(50% - 8px); border-bottom: 2px solid var(--border); border-radius: 10px; min-height: 52px; }
  .tab[aria-selected=true] { border-color: var(--brand); }
  .tabs-list { margin-bottom: 10px; }
  .p9-panels { border-radius: 10px; }
  .p9-panel { grid-template-columns: 1fr; padding: 22px 20px; }
  .p9-panel .p9-icon { grid-row: auto; }
}

/* K5 fit matrix */
.k5-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 16px; font-weight: 700; }
.k5-legend li { display: flex; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--brand); vertical-align: middle; flex: none; }
.dot.full { background: var(--brand); }
.dot.half { background: linear-gradient(90deg, var(--brand) 50%, #fff 50%); }
.dot.none { background: #fff; }
table.k5 { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.k5 th, table.k5 td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
table.k5 thead th { background: var(--ink); color: #fff; font-family: var(--head); font-size: 1rem; text-align: center; }
table.k5 thead th:first-child { text-align: left; }
table.k5 tbody th { font-weight: 700; font-family: var(--body); width: 46%; }
table.k5 td { text-align: center; }
table.k5 td .lbl { display: block; font-size: .78rem; color: var(--muted); margin-top: 4px; font-weight: 700; }
.k5-note { margin-top: 14px; color: var(--muted); }
@media (max-width: 759px) {
  table.k5 thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.k5, table.k5 tbody, table.k5 tr, table.k5 th, table.k5 td { display: block; width: 100%; }
  table.k5 tr { padding: 14px 16px; border-bottom: 3px solid var(--tint); }
  table.k5 tbody th { border: 0; padding: 0 0 8px; width: 100%; }
  table.k5 td { display: flex; align-items: center; gap: 10px; text-align: left; border: 0; padding: 4px 0; }
  table.k5 td::before { content: attr(data-label); min-width: 130px; font-weight: 700; font-size: .92rem; }
  table.k5 td .lbl { display: inline; margin: 0; }
}

/* M44 numbered town index */
.m44 { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; }
.m44 li { display: flex; gap: 16px; align-items: flex-start; padding-top: 16px; border-top: 1px solid var(--border); }
.m44 .num { flex: none; min-width: 2.2ch; font-family: var(--head); font-weight: 800; font-size: 3.2rem; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--accent-ink); }
.m44 h3 { margin: 0 0 4px; font-size: 1.25rem; }
.m44 h3 a { text-decoration: none; color: var(--ink); }
.m44 h3 a:hover { color: var(--brand); text-decoration: underline; }
.m44 p { margin: 0; color: var(--muted); }
.m44 .base { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-left: 6px; vertical-align: middle; }
@media (max-width: 999px) { .m44 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .m44 { grid-template-columns: 1fr; gap: 22px; } .m44 .num { font-size: 2.6rem; } }

/* F9 two-pane question index */
.f9 { background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--border); display: grid; grid-template-columns: 400px 1fr; overflow: hidden; }
.f9-index { display: flex; flex-direction: column; border-right: 1px solid var(--border); background: var(--alt); }
.f9-tab { display: block; width: 100%; text-align: left; padding: 16px 20px; background: transparent; border: 0; border-left: 5px solid var(--secondary); border-bottom: 1px solid var(--border); font-family: var(--body); font-weight: 700; font-size: 1rem; color: var(--ink); cursor: pointer; line-height: 1.35; }
.f9-tab:hover { background: var(--tint); }
.f9-tab[aria-selected=true] { background: var(--brand); color: #fff; border-left-color: var(--accent); }
.f9-pane { display: grid; grid-template-columns: 1fr 240px; gap: 26px; padding: 30px; align-items: start; }
.f9-panels { min-width: 0; }
.f9-panel + .f9-panel { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.js .f9-panel + .f9-panel { margin-top: 0; padding-top: 0; border-top: 0; }
.js .f9-panel[hidden] { display: none; }
.f9-panel .topic { display: block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); margin: 0 0 6px; }
.f9-q { margin: 0 0 12px; }
.f9-acc { all: unset; display: block; cursor: default; font: inherit; color: inherit; }
.f9-acc .chev { display: none; }
.f9-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.f9-panel p:last-child { margin-bottom: 0; }
@media (max-width: 1099px) { .f9 { grid-template-columns: 320px 1fr; } .f9-pane { grid-template-columns: 1fr; } .f9-photo { display: none; } }
@media (max-width: 759px) {
  .f9 { display: block; }
  .f9-index { display: none; }
  .f9-pane { display: block; padding: 0; }
  .f9-panel, .js .f9-panel + .f9-panel { border-top: 1px solid var(--border); padding: 0; margin: 0; }
  .f9-panel:first-child { border-top: 0; }
  .js .f9-panel[hidden] { display: block; }
  .f9-panel .topic { padding: 16px 18px 0; }
  .f9-q { margin: 0; }
  .f9-acc { display: flex; justify-content: space-between; gap: 12px; width: 100%; box-sizing: border-box; padding: 6px 18px 16px; cursor: pointer; font-family: var(--head); font-weight: 700; }
  .f9-acc .chev { display: inline-flex; flex: none; width: 22px; height: 22px; }
  .f9-acc[aria-expanded=true] .chev { transform: rotate(180deg); }
  .f9-acc:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
  .f9-ans { padding: 0 18px 18px; }
  .js .f9-ans.collapsed { display: none; }
}

/* Split image and text */
.split { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: center; }
.split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.split .split-text h2 { text-align: left; }
.split .split-text p { color: var(--text); }
.ticks { list-style: none; display: grid; gap: 10px; margin-top: 6px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li svg.icon { width: 30px; height: 30px; margin-top: -2px; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; gap: 26px; } }

/* Checklist */
.checklist { list-style: none; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; max-width: 980px; margin: 0 auto; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--accent); border-radius: 8px; padding: 16px 18px; font-weight: 600; }
@media (max-width: 759px) { .checklist { grid-template-columns: 1fr; } }

/* FAQ page */
.faq-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.jump { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.jump a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-weight: 700; text-decoration: none; color: var(--brand); }
.jump a:hover { border-color: var(--brand); }
.faq-cat { margin-bottom: 46px; }
.faq-cat:last-child { margin-bottom: 0; }
.faq-cat > h2 { text-align: left; border-bottom: 3px solid var(--accent); padding-bottom: 8px; scroll-margin-top: 100px; }
.qa { background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--brand); border-radius: 8px; padding: 22px 24px; margin-top: 18px; }
.qa h3 { margin-bottom: 10px; }
.qa ul, .qa ol { padding-left: 22px; margin: 0 0 1em; display: grid; gap: 4px; }
.qa table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .95rem; }
.qa th, .qa td { border: 1px solid var(--border); padding: 9px 11px; text-align: left; vertical-align: top; }
.qa thead th { background: var(--tint); }
.qa .tbl-scroll { overflow-x: auto; }
.sources { list-style: none; display: grid; gap: 8px; }
.sources a { word-break: normal; overflow-wrap: anywhere; }

/* Closing */
.closing { text-align: center; }
.closing h2 { color: #fff; }
.closing p { max-width: 640px; margin: 0 auto 18px; color: var(--muted-dark); font-size: 1.08rem; }
@media (max-width: 759px) { .closing .btn-row, .c-actions { flex-direction: column; } .closing .btn-row .btn { width: 100%; } }

/* Utility pages */
.util-head { background: var(--alt); padding: 44px 0 34px; text-align: center; border-bottom: 1px solid var(--border); }
.util-head h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
.util-head p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.util-body { padding: 48px 0 64px; }
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal ul { padding-left: 22px; margin: 0 0 1em; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: start; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 800; }
.field .req { color: var(--accent-ink); font-weight: 800; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 2px solid #8C9A91; border-radius: 8px; padding: 12px 14px; min-height: 48px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; }
.field [aria-invalid=true] { border-color: #A3261B; }
.field .err { color: #A3261B; font-weight: 700; font-size: .92rem; }
.honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 8px; font-weight: 700; }
.form-status.ok { background: #E3F1E6; color: #1C5530; }
.form-status.bad { background: #FBECEB; color: #8E1A11; }
.form-status.busy { background: var(--alt); color: var(--ink); }
.side-card { background: var(--brand); color: #fff; border-radius: 12px; padding: 26px; }
.side-card a:not(.btn) { color: #fff; }
.side-card p { color: var(--muted-dark); }

/* Footer */
.site-footer { background: var(--ink); color: #DDE5DF; padding: 56px 0 28px; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot-logo { background: #fff; display: inline-block; padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; }
.foot-logo img { height: 44px; width: auto; }
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: 12px; font-family: var(--body); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer ul a { text-decoration: none; display: inline-block; padding: 3px 0; }
.site-footer ul a:hover { text-decoration: underline; }
.foot-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; font-size: .92rem; }
.foot-base ul { display: flex; gap: 18px; }
@media (max-width: 899px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .foot-grid { grid-template-columns: 1fr; } }

/* Callback dialog */
.cb-backdrop { position: fixed; inset: 0; background: rgba(16,30,22,.55); z-index: 300; display: none; align-items: center; justify-content: center; padding: 16px; }
.cb-backdrop.open { display: flex; }
.cb { background: #fff; border-radius: 14px; max-width: 440px; width: 100%; padding: 26px; border-top: 5px solid var(--accent); position: relative; max-height: calc(100vh - 32px); overflow-y: auto; }
.cb h2 { font-size: 1.5rem; margin-right: 40px; }
.cb-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: var(--alt); border-radius: 8px; cursor: pointer; font-size: 1.4rem; line-height: 1; }
.cb .direct { margin-top: 12px; text-align: center; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Calculator kit restyle (look only; behavior and wording are locked) */
.roof-calc {
  --calc-font-head: var(--head); --calc-font-body: var(--body);
  --calc-text: var(--ink); --calc-muted: var(--muted); --calc-surface: #fff; --calc-surface-alt: var(--alt);
  --calc-border: #8C9A91; --calc-accent: var(--accent); --calc-accent-text: var(--ink); --calc-accent-hover: var(--accent-hover);
  --calc-track: #D5DDD7; --calc-focus: var(--ink); --calc-radius: 12px;
}
.roof-calc .calc-card { border-top: 6px solid var(--brand); box-shadow: var(--shadow); max-width: 820px; }
.roof-calc .step-index { color: var(--accent-ink); font-weight: 800; }
.roof-calc .choice-icon svg { stroke: var(--brand); }
.roof-calc .choice-card:has(input:checked) { border-color: var(--brand); background: var(--tint); }
.roof-calc .calc-btn-quiet { border-color: #8C9A91; }
.roof-calc .report-eyebrow { color: var(--accent-ink); font-weight: 800; }
.roof-calc .cost-card { border-top: 4px solid var(--brand); }
.util-head h1 em { color: var(--accent-ink); }

.qa-lead { background: var(--tint); border-radius: 6px; padding: 12px 14px; margin: 0 0 14px; }
.qa-lead p { margin: 0; font-weight: 700; }

body.no-callbar { padding-bottom: 0; }
