/* Lexington Spray Foam Roofing: site styles. Signature H15-S13-P10-B5-R3-F5-M28-C4-I5-E7 */
:root {
  --brand: #1E2226;
  --brand-2: #2A2F34;
  --cta: #D7262B;
  --cta-hover: #B81F24;
  --link: #B81F24;
  --ink: #121517;
  --muted: #565E66;
  --steel: #6E7780;
  --line: #D5D9DC;
  --page: #FFFFFF;
  --alt: #F3F4F4;
  --tint: #F7EAEA;
  --on-dark: #FFFFFF;
  --on-dark-muted: #9AA2AA;
  --footer: #121517;
  --focus-light: #B81F24;
  --focus-dark: #FFFFFF;
  --head: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
  --radius: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--focus-light); outline-offset: 3px; }
.bg-dark :focus-visible, .site-footer :focus-visible, .callbar :focus-visible { outline-color: var(--focus-dark); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; color: inherit; letter-spacing: .005em; }
h1 { font-size: clamp(32px, 5.2vw, 54px); font-weight: 800; }
h2 { font-size: clamp(27px, 3.4vw, 39px); font-weight: 800; }
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 700; }
h4 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-family: var(--body); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.sr-only { position: absolute; 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 24px; border-radius: 4px; font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: .02em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--cta); color: #fff; border-color: var(--cta); }
.btn-primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--brand); color: #fff; }
.bg-dark .btn-primary { border-color: #fff; }
.bg-dark .btn-secondary { background: transparent; color: #fff; border-color: #fff; }
.bg-dark .btn-secondary:hover { background: #fff; color: var(--brand); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-pair { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.btn-single { display: flex; justify-content: center; margin-top: 32px; }
@media (max-width: 599px) {
  .btn-pair { flex-direction: column; align-items: stretch; }
  .btn-pair .btn { width: 100%; }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 18px; min-height: 84px; }
.brand { display: block; flex: none; }
.brand img { height: 60px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.main-nav li { position: relative; display: flex; align-items: center; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 10px 9px; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--link); }
.sub-toggle { background: none; border: 0; padding: 6px 4px; margin-left: -6px; cursor: pointer; color: var(--ink); display: inline-flex; min-width: 28px; min-height: 36px; align-items: center; justify-content: center; }
.sub-toggle svg { width: 14px; height: 14px; transition: transform .15s; }
.sub-toggle[aria-expanded=true] svg { transform: rotate(180deg); }
.submenu { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--cta); box-shadow: 0 10px 24px rgba(18,21,23,.14); list-style: none; padding: 8px 0; display: none; z-index: 60; }
.submenu.open, .has-sub:hover > .submenu, .has-sub:focus-within > .submenu { display: block; }
.submenu a { display: block; padding: 9px 18px; font-weight: 500; }
.hdr-cta { display: flex; gap: 10px; flex: none; }
.hdr-cta .btn { min-height: 46px; padding: 10px 16px; font-size: 16.5px; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 2px solid var(--brand); border-radius: 4px; background: #fff; color: var(--brand); cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 24px; height: 24px; }
.mobile-panel { display: none; }
@media (max-width: 1139px) {
  .main-nav, .hdr-cta { display: none; }
  .burger { display: inline-flex; margin-right: -4px; }
  .hdr { min-height: 72px; }
  .brand img { height: 50px; }
  .mobile-panel:not([hidden]) { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 4px solid var(--cta); box-shadow: 0 14px 28px rgba(18,21,23,.2); max-height: calc(100vh - 76px); overflow-y: auto; padding: 8px 20px 24px; }
  .mobile-panel ul { list-style: none; }
  .mobile-panel > ul > li { border-bottom: 1px solid var(--line); }
  .mob-row { display: flex; align-items: center; justify-content: space-between; }
  .mobile-panel a { display: block; padding: 13px 2px; color: var(--ink); text-decoration: none; font-weight: 600; }
  .mobile-panel .msub { padding: 0 0 8px 14px; }
  .mobile-panel .msub a { font-weight: 500; padding: 9px 2px; }
  .mobile-panel .sub-toggle { min-width: 44px; min-height: 44px; margin: 0; }
  .mob-cta { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .mob-cta .btn { width: 100%; }
}

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 799px) {
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--brand); border-top: 3px solid var(--cta); padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); }
  .callbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; color: #fff; font-family: var(--head); font-weight: 700; font-size: 19px; text-decoration: none; background: var(--cta); border-radius: 4px; }
  .callbar svg { width: 20px; height: 20px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.menu-open .callbar { display: none; }
}

/* Sections and heading system E7 */
main > section { padding: 80px 0; }
@media (max-width: 799px) { main > section { padding: 52px 0; } }
.bg-page { background: var(--page); }
.bg-alt { background: var(--alt); }
.bg-tint { background: var(--tint); }
.bg-dark { background: var(--brand); color: var(--on-dark); }
.bg-dark a:not(.btn) { color: #fff; }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.sec-head h2::after, h2.stripe::after { content: ""; display: block; width: 56px; height: 6px; margin: 16px auto 0; background: repeating-linear-gradient(45deg, var(--cta) 0 6px, var(--brand) 6px 12px); }
.bg-dark .sec-head h2::after, .bg-dark h2.stripe::after { background: repeating-linear-gradient(45deg, var(--cta) 0 6px, #fff 6px 12px); }
.sec-head p { color: var(--muted); font-size: 18px; margin: 0; }
.bg-dark .sec-head p { color: #E3E6E8; }

/* Icons I5 */
svg.icon { width: 30px; height: 30px; flex: none; color: var(--brand); overflow: visible; }
svg.icon .dot { fill: var(--cta); stroke: none; }
.bg-dark svg.icon { color: #fff; }

/* Hero H15 parapet window */
.hero { padding: 56px 0 0 !important; text-align: center; overflow: hidden; }
.hero .crumbs { font-size: 14px; margin-bottom: 18px; color: var(--on-dark-muted); }
.hero .crumbs a { color: #E3E6E8; }
.hero .crumbs ol { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.hero .crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--on-dark-muted); }
.chip { display: inline-block; padding: 5px 14px; border: 2px solid var(--cta); border-radius: 99px; font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; color: #fff; }
.hero h1 { max-width: 900px; margin: 0 auto 14px; }
.hero .intro { max-width: 700px; margin: 0 auto; font-size: 19px; color: #E3E6E8; }
.window { position: relative; margin: 44px auto 0; max-width: 1140px; height: 400px; }
.window .shape { position: absolute; inset: 0; clip-path: polygon(0 100%, 0 20%, 46% 20%, 46% 0, 100% 0, 100% 100%); }
.window img { width: 100%; height: 100%; object-fit: cover; }
.window svg.coping { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.window svg.coping polyline { fill: none; stroke: var(--cta); stroke-width: 6; vector-effect: non-scaling-stroke; stroke-linejoin: miter; }
.window svg.coping.m { display: none; }
@media (max-width: 799px) {
  .hero { padding-top: 40px !important; }
  .hero .intro { font-size: 17px; }
  .window { height: 240px; margin-top: 32px; margin-left: -20px; margin-right: -20px; }
  .window .shape { clip-path: polygon(0 100%, 0 12%, 58% 12%, 58% 0, 100% 0, 100% 100%); }
  .window svg.coping.d { display: none; }
  .window svg.coping.m { display: block; }
}

/* Facts */
.facts { padding: 34px 0 !important; }
.facts ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.facts li { display: flex; gap: 12px; align-items: center; }
.facts strong { display: block; font-family: var(--head); font-size: 19px; line-height: 1.2; }
.facts span { color: var(--muted); font-size: 15px; }
@media (max-width: 999px) { .facts ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts ul { grid-template-columns: 1fr; } }

/* S13 layer-stack card */
.s13 { display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--brand); border-radius: var(--radius); overflow: hidden; }
.s13 > img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.s13 .body { padding: 32px; }
.stack { list-style: none; margin: 14px 0 20px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.stack li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 14px; font-size: 15px; font-weight: 600; }
.stack li small { font-weight: 400; color: inherit; opacity: .9; }
.stack .l-top { background: #FFFFFF; border-top: 4px solid var(--cta); border-bottom: 1px solid var(--line); color: var(--ink); }
.stack .l-foam { background: radial-gradient(circle, rgba(215,38,43,.18) 1.5px, transparent 2px) 0 0/12px 12px, var(--tint); color: var(--ink); padding-top: 18px; padding-bottom: 18px; }
.stack .l-old { background: var(--brand-2); color: #fff; }
.stack .l-deck { background: repeating-linear-gradient(90deg, #A9B0B6 0 14px, #959DA4 14px 28px); color: #121517; }
.fitcols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0; }
.fitcols ul { list-style: none; }
.fitcols li { display: flex; gap: 8px; font-size: 15.5px; margin-bottom: 8px; line-height: 1.45; }
.fitcols li svg.icon { width: 22px; height: 22px; margin-top: 1px; }
.more { font-weight: 700; }
@media (max-width: 899px) { .s13 { grid-template-columns: 1fr; } .s13 > img { min-height: 0; aspect-ratio: 16/9; } .s13 .body { padding: 22px; } }
@media (max-width: 520px) { .fitcols { grid-template-columns: 1fr; } }

/* R3 annotated roof plan */
.r3 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.r3 .plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 100px; }
.r3 .plan svg { width: 100%; height: auto; }
.r3 .plan figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.callouts { list-style: none; display: grid; gap: 12px; }
.callouts li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--cta); border-radius: 4px; padding: 16px 18px; }
.bg-page .callouts li { background: var(--alt); }
.num { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--head); font-weight: 800; font-size: 18px; align-items: center; justify-content: center; }
.callouts h3 { font-size: 20px; margin-bottom: 4px; }
.callouts p { margin: 0; font-size: 16px; }
@media (max-width: 899px) { .r3 { grid-template-columns: 1fr; } .r3 .plan { position: static; } }

/* B5 failure-mode pairs */
.pairs { list-style: none; display: grid; gap: 16px; }
.pairs li { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: stretch; }
.pairs .fail, .pairs .fix { padding: 20px 22px; border-radius: 4px; }
.pairs .fail { background: #fff; border: 1px solid var(--line); display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.bg-alt .pairs .fail { background: #fff; }
.bg-page .pairs .fail { background: var(--alt); }
.pairs .fix { background: var(--brand); color: #fff; }
.pairs .fix h4 { color: #F2B8BA; margin-bottom: 6px; font-size: 13px; }
.pairs h3 { font-size: 20px; margin-bottom: 4px; }
.pairs p { margin: 0; font-size: 16px; }
.pairs .arrow { display: flex; align-items: center; justify-content: center; color: var(--cta); }
.pairs .arrow svg { width: 28px; height: 28px; }
@media (max-width: 799px) { .pairs li { grid-template-columns: 1fr; } .pairs .arrow { height: 34px; } .pairs .arrow svg { transform: rotate(90deg); } }

/* C4 rule band */
.c4 .inner { border-top: 2px solid rgba(255,255,255,.35); border-bottom: 2px solid rgba(255,255,255,.35); padding: 36px 0; text-align: center; }
.c4 h2 { margin-bottom: 12px; }
.c4 p { max-width: 640px; margin: 0 auto 10px; color: #E3E6E8; }
.c4 .bignum { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(36px, 6vw, 64px); line-height: 1.1; letter-spacing: .02em; color: #fff; text-decoration: none; margin: 8px 0 4px; }
.c4 .btn-single { margin-top: 16px; }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare .col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; border-top: 5px solid var(--brand); }
.compare .col.warn { border-top-color: var(--cta); }
.bg-page .compare .col { background: var(--alt); }
.compare h3 { display: flex; gap: 10px; align-items: center; }
.compare ul { list-style: none; }
.compare li { display: flex; gap: 10px; margin-bottom: 10px; line-height: 1.5; }
.compare li svg.icon { width: 22px; height: 22px; margin-top: 2px; }
.compare-photo { margin-top: 28px; border-radius: var(--radius); overflow: hidden; }
.compare-photo img { width: 100%; aspect-ratio: 21/8; object-fit: cover; }
@media (max-width: 799px) { .compare { grid-template-columns: 1fr; } .compare-photo img { aspect-ratio: 16/9; } }

/* P10 swimlane */
.lane-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 30px; }
.lane-photos img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
.swim { position: relative; }
.steps { list-style: none; display: grid; gap: 14px; position: relative; z-index: 1; }
.steps > li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; box-shadow: 0 2px 0 rgba(18,21,23,.04); }
.bg-page .steps > li { background: #fff; border-color: #C9CED2; }
.steps .top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.steps .sq { display: inline-flex; width: 34px; height: 34px; background: var(--cta); color: #fff; font-family: var(--head); font-weight: 800; font-size: 18px; align-items: center; justify-content: center; border-radius: 3px; flex: none; }
.lane-chip { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { font-size: 15.5px; margin: 0; }
.swim svg.conn { display: none; }
@media (min-width: 1000px) {
  .swim .track { position: relative; }
  .swim .lab { position: absolute; left: 14px; z-index: 2; font-family: var(--head); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 3px; background: var(--brand); color: #fff; }
  .swim .lab.roof { top: 10px; }
  .swim .lab.bldg { top: calc(50% + 10px); background: var(--cta); }
  .swim .track::before, .swim .track::after { content: ""; position: absolute; left: 0; right: 0; height: 50%; z-index: 0; border-radius: 4px; }
  .swim .track::before { top: 0; background: rgba(30,34,38,.06); border-bottom: 2px dashed var(--steel); }
  .swim .track::after { bottom: 0; background: rgba(215,38,43,.06); }
  .steps { grid-template-rows: 1fr 1fr; column-gap: 14px; row-gap: 64px; padding: 46px 14px 18px; }
  .steps > li { align-self: center; padding: 16px 15px 14px; }
  .steps .lane-chip { display: none; }
  .steps p { font-size: 15px; }
  .swim svg.conn { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
  .swim svg.conn polyline { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
}
.swim .lab { display: none; }
@media (min-width: 1000px) { .swim .lab { display: block; } }
@media (max-width: 599px) { .lane-photos { grid-template-columns: 1fr; } }

/* M28 road-band junction map */
.m28 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: start; }
.m28 .mapbox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.bg-page .m28 .mapbox { background: var(--alt); }
.m28 svg[data-map] { width: 100%; height: auto; display: block; }
.mapgroups { display: grid; gap: 18px; }
.mapgroup { border-left: 5px solid var(--cta); padding: 4px 0 4px 18px; }
.mapgroup h3 { font-size: 20px; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.mapgroup h3 svg.icon { width: 24px; height: 24px; }
.mapgroup ul { list-style: none; display: grid; gap: 10px; }
.mapgroup li { font-size: 15.5px; line-height: 1.5; }
.mapgroup li a { font-weight: 700; }
.mapgroup .office { display: block; font-size: 13.5px; color: var(--muted); }
@media (max-width: 999px) { .m28 { grid-template-columns: 1fr; } }

/* F5 featured question + accordion */
.f5 { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: start; }
.featured { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 30px; border-top: 6px solid var(--cta); }
.featured .tag { display: inline-block; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #F2B8BA; margin-bottom: 10px; }
.featured h3 { font-size: 24px; }
.featured p { color: #E3E6E8; }
.featured p:last-child { margin: 0; }
.acc { display: grid; gap: 10px; }
.acc details { background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.bg-page .acc details { background: var(--alt); }
.acc summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; position: relative; font-family: var(--head); font-weight: 700; font-size: 19px; line-height: 1.3; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--body); font-weight: 700; }
.acc details[open] summary::after { content: "–"; background: var(--cta); }
.acc .ans { padding: 0 18px 16px; }
.acc .ans p:last-child { margin: 0; }
@media (max-width: 899px) { .f5 { grid-template-columns: 1fr; } .featured { padding: 22px; } }

/* Closing */
.closing { text-align: center; border-top: 6px solid var(--cta); }
.closing h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.closing p { max-width: 620px; margin: 0 auto; color: #E3E6E8; font-size: 18px; }

/* Links grid */
.linkgrid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.linkgrid li { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 18px; display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.linkgrid a { font-family: var(--head); font-weight: 700; font-size: 19px; }
.linkgrid p { margin: 4px 0 0; font-size: 15.5px; color: var(--ink); }
.links-inset { display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: start; }
.links-inset .inset { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.links-inset .linkgrid { grid-template-columns: 1fr 1fr; }
@media (max-width: 999px) { .linkgrid { grid-template-columns: 1fr 1fr; } .links-inset { grid-template-columns: 1fr; } .links-inset .inset { max-width: 420px; } }
@media (max-width: 599px) { .linkgrid, .links-inset .linkgrid { grid-template-columns: 1fr; } }

/* Tables */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--brand); color: #fff; font-family: var(--head); font-size: 17px; letter-spacing: .02em; }
tbody th { font-family: var(--head); font-size: 17px; }
tbody tr:nth-child(even) { background: var(--alt); }
.table-split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.table-split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.table-note { font-size: 15px; color: var(--muted); margin-top: 14px; }
@media (max-width: 899px) {
  .table-split { grid-template-columns: 1fr; }
  .table-split img { aspect-ratio: 16/9; }
  table.stackable thead { display: none; }
  table.stackable tr { display: block; border-bottom: 2px solid var(--line); padding: 8px 0; }
  table.stackable th, table.stackable td { display: block; border: 0; padding: 6px 16px; }
  table.stackable td::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
}

/* Option / service cards */
.cards3 { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards4 { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.bg-page .card { background: #fff; border-color: #C9CED2; }
.card > img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.card .cbody { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .cbody p { margin: 0 0 8px; font-size: 16px; }
.card .ctag { display: flex; gap: 10px; align-items: center; }
.card ul { list-style: none; margin-bottom: 10px; }
.card li { display: flex; gap: 8px; font-size: 15px; margin-bottom: 6px; }
.card li svg.icon { width: 20px; height: 20px; margin-top: 2px; }
.card .more { margin-top: auto; }
@media (max-width: 999px) { .cards3 { grid-template-columns: 1fr 1fr; } .cards3 > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 649px) { .cards3, .cards4 { grid-template-columns: 1fr; } .cards3 > li:last-child:nth-child(odd) { grid-column: auto; } }

/* Icon cards (local factors) */
.icards { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.icards li { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 4px; padding: 22px; }
.icards li h3 { display: flex; gap: 10px; align-items: center; font-size: 20px; }
.icards li p { margin: 0 0 6px; font-size: 16px; }
.icards .office { font-size: 14px; color: var(--muted); }
@media (max-width: 999px) { .icards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .icards { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.ticks { list-style: none; display: grid; gap: 10px; margin-top: 8px; }
.ticks li { display: flex; gap: 10px; line-height: 1.5; }
.ticks li svg.icon { width: 22px; height: 22px; margin-top: 2px; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* Checklist */
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; max-width: 980px; margin: 0 auto; }
.checklist li { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px; line-height: 1.5; }
.checklist-photo { max-width: 980px; margin: 0 auto 28px; }
.checklist-photo img { border-radius: var(--radius); aspect-ratio: 21/8; object-fit: cover; width: 100%; }
@media (max-width: 799px) { .checklist { grid-template-columns: 1fr; } .checklist-photo img { aspect-ratio: 16/9; } }

/* FAQ page */
.faq-intro { text-align: center; }
.faq-intro p { max-width: 820px; margin: 0 auto 22px; font-size: 18px; color: #E3E6E8; }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; }
.jump a { display: inline-block; padding: 8px 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 99px; color: #fff; text-decoration: none; font-size: 15px; }
.jump a:hover { background: #fff; color: var(--brand); }
.faqgroup { margin-bottom: 56px; scroll-margin-top: 100px; }
.faqgroup:last-child { margin-bottom: 0; }
.faqgroup > h2 { text-align: center; }
.faqgroup > h2::after { content: ""; display: block; width: 56px; height: 6px; margin: 16px auto 28px; background: repeating-linear-gradient(45deg, var(--cta) 0 6px, var(--brand) 6px 12px); }
.qa-list { display: grid; gap: 16px; max-width: 900px; margin: 0 auto; }
.qa { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: 4px; padding: 22px 24px; }
.bg-page .qa { background: var(--alt); }
.qa h3 { font-size: 22px; }
.qa ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.qa li { margin-bottom: 6px; }
.qa p:last-child, .qa ul:last-child, .qa .tablewrap:last-child { margin-bottom: 0; }
.qa .tablewrap { margin: 4px 0 1em; }
.qa table { font-size: 15px; }
.town-pair { display: grid; gap: 16px; }
.town-pair > h3.town { display: none; }
.sources { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 22px 24px; }
.sources ul { list-style: none; columns: 2; column-gap: 28px; font-size: 15px; }
.sources li { break-inside: avoid; margin-bottom: 8px; }
@media (max-width: 699px) { .sources ul { columns: 1; } }

/* Utility pages */
.util-head { padding: 52px 0 20px !important; text-align: center; }
.util-head .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.util-head .crumbs ol { list-style: none; display: flex; justify-content: center; gap: 6px; }
.util-head .crumbs li + li::before { content: "/"; margin-right: 6px; }
.util-head p { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 18px; }
.util-body { padding: 20px 0 80px !important; }
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 26px; margin-top: 1.6em; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; max-width: 1040px; margin: 0 auto; }
.form-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--brand); border-radius: var(--radius); padding: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid #8A9198; border-radius: 4px; padding: 12px 14px; min-height: 48px; }
.field input[aria-invalid=true], .field textarea[aria-invalid=true] { border-color: var(--cta-hover); }
.field small { color: var(--muted); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 4px; font-weight: 600; }
.form-status.err { background: #FBECEC; color: #8E1A16; border: 1px solid #E8B4B5; }
.form-status.ok { background: #E8F2EA; color: #1D5B33; border: 1px solid #B6D3BE; }
.form-status.busy { background: var(--alt); color: var(--ink); border: 1px solid var(--line); }
.aside-card { background: var(--alt); border-radius: var(--radius); padding: 26px; }
.aside-card .tel { font-family: var(--head); font-weight: 800; font-size: 30px; text-decoration: none; color: var(--ink); }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--footer); color: #D7DBDE; padding: 56px 0 28px; font-size: 15.5px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.fgrid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.plate { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 4px; margin-bottom: 14px; }
.plate img { height: 54px; width: auto; }
.site-footer h2 { font-size: 17px; color: #fff; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer .ftel { font-family: var(--head); font-weight: 800; font-size: 24px; }
.fbase { margin-top: 36px; padding-top: 18px; border-top: 1px solid #2E3439; display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; font-size: 14px; color: var(--on-dark-muted); }
.fbase ul { display: flex; gap: 18px; }
@media (max-width: 899px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fgrid { grid-template-columns: 1fr; } }

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

/* Calculator restyle (kit classes, look only) */
.roof-calc {
  --calc-font-head: var(--head);
  --calc-font-body: var(--body);
  --calc-text: #121517;
  --calc-muted: #565E66;
  --calc-surface: #FFFFFF;
  --calc-surface-alt: #F3F4F4;
  --calc-border: #8A9198;
  --calc-accent: #D7262B;
  --calc-accent-text: #FFFFFF;
  --calc-accent-hover: #B81F24;
  --calc-track: #DDE0E2;
  --calc-focus: #B81F24;
  --calc-radius: 6px;
}
.roof-calc .calc-card { border-top: 6px solid var(--brand); box-shadow: 0 10px 30px rgba(18,21,23,.08); }
.roof-calc .question-step h2 { font-weight: 800; }
.roof-calc .choice-card { border-width: 2px; }
.roof-calc .calc-btn { font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: .02em; }
.calc-wrap { max-width: 820px; margin: 0 auto; }

/* Contact submit (form button, not a marketing CTA) */
.form-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 28px; border: 0; border-radius: var(--radius); background: var(--cta); color: #fff; font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: .02em; cursor: pointer; }
.form-submit:hover { background: var(--cta-hover); }
.form-submit:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.form-submit[disabled] { opacity: .7; cursor: progress; }
.aside-card h2 { font-size: 24px; margin-bottom: 10px; }
@media (max-width: 599px) { .form-submit { width: 100%; } }
.qa-note { border-left: 4px solid var(--cta); background: var(--alt); padding: 12px 16px; margin: 0 0 1em; border-radius: 0 4px 4px 0; }
.qa-note p { margin: 0; }
@media (max-width: 999px) {
  .swim .steps { grid-template-columns: 1fr !important; grid-template-rows: none; }
  .swim .steps > li { grid-column: auto !important; grid-row: auto !important; }
}
