/* Hopkinsville Metal Roof Coating · signature H51-S13-P8-B4-R8-F1-M46-C1-I2-E6 · T1 */
:root {
  --brand: #2A2E32; --ink: #121517; --teal: #0E9C98; --teal-hover: #2DB3AF; --teal-ink: #0A6B68; --teal-on-dark: #5FD0CD;
  --sec: #6E7780; --muted: #555D65; --page: #FFFFFF; --alt: #F3F4F4; --tint: #E7F4F3; --line: #D5D9DC;
  --hf: "Spline Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --bf: "Public Sans", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px; --gut: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; font-family: var(--bf); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--page); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-underline-offset: 2px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 2px; }
.bg-dark :focus-visible, .bg-ink :focus-visible, .site-footer :focus-visible, .facts-sec :focus-visible { outline-color: var(--teal-on-dark); }
h1, h2, h3 { font-family: var(--hf); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h3 { font-size: 21px; font-weight: 600; }
p { margin: 0 0 1em; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
.container { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- buttons (square corners, industrial) */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 2px;
  font-family: var(--hf); font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s; text-align: center; line-height: 1.2; }
.btn-primary { background: var(--teal); color: var(--ink); border-color: var(--ink); }
.btn-primary:hover { background: var(--teal-hover); color: var(--ink); }
.btn-call { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-call:hover { background: var(--ink); color: #fff; }
.bg-dark .btn-primary, .bg-ink .btn-primary, .c1-sec .btn-primary { border-color: #fff; }
.bg-dark .btn-call, .bg-ink .btn-call, .btn-call-dark { background: #fff; color: var(--ink); border-color: #fff; }
.bg-dark .btn-call:hover, .bg-ink .btn-call:hover, .btn-call-dark:hover { background: var(--tint); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 9px 16px; font-size: 15px; }
.btn-pair { display: flex; gap: 12px; flex-wrap: wrap; }
.center-btn { text-align: center; margin-top: 34px; }

/* ---------- header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.hdr { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 16px; }
.logo img { height: 52px; width: auto; }
.burger { display: none; }
.mainnav { display: flex; align-items: center; gap: 18px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: block; padding: 10px 9px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; }
.nav-list > li > a:hover { color: var(--teal-ink); }
.dd-toggle { background: none; border: 0; padding: 8px 4px; cursor: pointer; color: var(--ink); display: inline-flex; min-height: 32px; align-items: center; }
.dd-toggle svg { width: 12px; height: 8px; }
.dd-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line);
  border-top: 3px solid var(--teal); min-width: 250px; box-shadow: 0 10px 24px rgba(18,21,23,.12); display: none; z-index: 60; }
.dd a { display: block; padding: 9px 16px; color: var(--ink); text-decoration: none; font-size: 15px; }
.dd a:hover, .dd a:focus { background: var(--tint); }
.has-dd:hover > .dd, .has-dd:focus-within > .dd, .dd.open { display: block; }
.has-dd.closed > .dd { display: none; }
.nav-btns { display: flex; gap: 8px; }

@media (max-width: 1199px) {
  .hdr { min-height: 68px; }
  .logo img { height: 42px; }
  .burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; margin-right: -6px;
    background: none; border: 0; cursor: pointer; padding: 10px; }
  .burger span { display: block; height: 2.5px; background: var(--ink); border-radius: 1px; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .menu { display: none; position: fixed; left: 0; right: 0; top: 68px; bottom: 0; background: #fff; overflow-y: auto; border-top: 1px solid var(--line); z-index: 70; }
  .menu.open { display: block; }
  .mainnav { flex-direction: column; align-items: stretch; padding: 12px var(--gut) 32px; gap: 16px; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list > li > a { flex: 1; padding: 14px 4px; font-size: 17px; }
  .dd-toggle { width: 48px; height: 48px; justify-content: center; }
  .dd { position: static; box-shadow: none; border: 0; border-left: 3px solid var(--teal); min-width: 0; width: 100%; margin: 0 0 10px; padding: 0; }
  .has-dd:hover > .dd, .has-dd:focus-within > .dd { display: none; }
  .dd.open { display: block; }
  .nav-btns { flex-direction: column; gap: 10px; }
  .nav-btns .btn { width: 100%; min-height: 50px; }
}
@media (max-width: 420px) { .logo img { height: 38px; } }

/* ---------- section scaffolding */
.sec { padding: 76px 0; }
.bg-page { background: var(--page); }
.bg-alt { background: var(--alt); }
.bg-tint { background: var(--tint); }
.bg-dark { background: var(--brand); color: #fff; }
.bg-ink { background: var(--ink); color: #fff; }
.sec-head { text-align: center; max-width: 820px; margin: 0 auto 38px; }
.sec-intro { color: var(--muted); font-size: 18px; margin: 0; }
.bg-dark .sec-intro, .bg-ink .sec-intro { color: #D8DCDF; }
/* E6 flanked rule */
.e6 { display: flex; justify-content: center; align-items: flex-start; gap: 16px; font-size: 34px; margin: 0 0 12px; text-align: center; }
.e6::before, .e6::after { content: ""; flex: 0 0 40px; height: 2px; background: var(--teal); margin-top: .62em; }
.e6 span { max-width: 760px; }
.e6-light::before, .e6-light::after { background: var(--teal-on-dark); }

/* ---------- H51 angled photo panel hero */
.h51 { background: var(--alt); display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: 540px; overflow: hidden; }
.h51-text { padding: 64px 40px 64px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); align-self: center; }
.h51-tag { display: inline-block; background: var(--brand); color: #fff; font-family: var(--hf); font-weight: 600; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 0; margin-bottom: 18px; }
.h51 h1 { font-size: 52px; margin-bottom: 16px; text-align: left; }
.h51-intro { font-size: 19px; color: #30363B; max-width: 520px; margin-bottom: 26px; }
.h51 .btn { border-radius: 0; }
.h51-photo { position: relative; min-height: 100%; }
.h51-sliver, .h51-img { position: absolute; top: 0; bottom: 0; height: 100%; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.h51-sliver { left: -24px; right: 24px; background: var(--teal); }
.h51-img { left: 0; right: 0; width: 100%; object-fit: cover; object-position: center; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--teal-ink); }
@media (max-width: 900px) {
  .h51 { grid-template-columns: 1fr; min-height: 0; }
  .h51-text { padding: 36px var(--gut) 30px; }
  .h51 h1 { font-size: 36px; }
  .h51-intro { font-size: 17.5px; }
  .h51 .btn-pair { flex-direction: column; }
  .h51 .btn-pair .btn { width: 100%; }
  .h51-photo { aspect-ratio: 4 / 3; min-height: 0; }
  .h51-sliver, .h51-img { clip-path: polygon(0 32px, 100% 0, 100% 100%, 0 100%); }
  .h51-sliver { left: 0; right: 0; top: -12px; bottom: auto; height: 100%; }
}

/* ---------- facts strip */
.facts-sec { padding: 26px 0; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.facts li { display: flex; align-items: center; gap: 12px; font-family: var(--hf); font-weight: 600; font-size: 16px; color: #fff; }
.facts .icon { width: 40px; height: 40px; flex: 0 0 40px; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; gap: 12px; } }

/* icons */
.icon { width: 48px; height: 48px; flex: 0 0 auto; }

/* ---------- R8 cause-chip condition cards */
.r8-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.r8-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); padding: 24px 24px 20px; display: grid;
  grid-template-columns: 52px 1fr; column-gap: 16px; align-content: start; }
.bg-page .r8-card { background: var(--alt); }
.r8-card .icon { grid-row: span 2; }
.chip { display: inline-block; justify-self: start; align-self: start; background: var(--tint); color: var(--teal-ink); font-weight: 600; font-size: 13px;
  letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.r8-card h3 { margin: 6px 0 10px; font-size: 21px; }
.r8-card dl { grid-column: 1 / -1; margin: 6px 0 0; }
.r8-card dt { font-family: var(--hf); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-ink); }
.r8-card dd { margin: 0 0 10px; }
@media (max-width: 760px) { .r8-grid { grid-template-columns: 1fr; } }

/* ---------- P8 photo-header step cards */
.p8 { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.p8-5 { grid-template-columns: repeat(5, 1fr); }
.p8-4 { grid-template-columns: repeat(4, 1fr); }
.p8-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.bg-page .p8-card { background: var(--alt); }
.p8-photo { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.p8-photo img { width: 100%; height: 100%; object-fit: cover; }
.p8-num { position: absolute; left: 0; bottom: 0; background: var(--teal); color: var(--ink); font-family: var(--hf); font-weight: 700;
  font-size: 22px; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; }
.p8-body { padding: 18px 18px 8px; }
.p8-body h3 { font-size: 19px; }
.p8-body p { font-size: 16px; }
@media (max-width: 1100px) { .p8-5 { grid-template-columns: repeat(6, 1fr); } .p8-5 .p8-card { grid-column: span 2; } .p8-5 .p8-card:nth-child(n+4) { grid-column: span 3; }
  .p8-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .p8-5, .p8-4 { grid-template-columns: 1fr; } .p8-5 .p8-card, .p8-5 .p8-card:nth-child(n+4) { grid-column: auto; } }

/* ---------- S13 layer-stack cards */
.s13-grid { display: grid; gap: 22px; grid-template-columns: repeat(6, 1fr); }
.s13-card { grid-column: span 2; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.bg-page .s13-card { background: #fff; box-shadow: 0 1px 0 var(--line); }
.s13-grid.n5 .s13-card:nth-child(n+4) { grid-column: span 3; }
.s13-grid.n4 .s13-card { grid-column: span 3; }
.s13-card > img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.s13-grid.n5 .s13-card:nth-child(n+4) > img { aspect-ratio: 16 / 8; }
.s13-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.layers { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--line); }
.layers .ly { padding: 5px 10px; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; }
.layers .ly-0 { background: var(--teal); color: var(--ink); }
.layers .ly-1 { background: #CFE9E7; color: var(--ink); }
.layers .ly-2 { background: #8C949B; color: #fff; }
.layers .ly-3 { background: var(--brand); color: #fff; }
.layers .ly-4 { background: var(--ink); color: #fff; }
.fit { margin-bottom: 14px; }
.bf { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.bf-l { display: block; font-family: var(--hf); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 4px; }
.bf ul { margin: 0; padding-left: 18px; font-size: 15.5px; }
.more { margin-top: auto; font-weight: 600; }
.more::after { content: " \2192"; }
@media (max-width: 1000px) { .s13-grid { grid-template-columns: 1fr 1fr; } .s13-card, .s13-grid.n5 .s13-card:nth-child(n+4), .s13-grid.n4 .s13-card { grid-column: auto; }
  .s13-grid.n5 .s13-card:nth-child(5) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .s13-grid { grid-template-columns: 1fr; } .s13-grid.n5 .s13-card:nth-child(5) { grid-column: auto; } .bf { grid-template-columns: 1fr; } }

/* ---------- C1 band */
.c1-sec { padding: 60px 0; }
.c1 { text-align: center; max-width: 760px; margin: 0 auto; }
.c1-icon { width: 56px; height: 56px; margin: 0 auto 14px; }
.c1-h { font-size: 34px; color: #fff; }
.c1 p { color: #E2E5E7; font-size: 18px; margin-bottom: 24px; }
.c1 .btn { min-width: 220px; }

/* ---------- K2 table */
.k2 { overflow: hidden; border: 1px solid var(--line); background: #fff; }
.k2 table { width: 100%; border-collapse: collapse; font-size: 16px; }
.k2 th, .k2 td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.k2 thead th { background: var(--brand); color: #fff; font-family: var(--hf); font-weight: 600; font-size: 15.5px; }
.k2 tbody th { font-family: var(--hf); font-weight: 600; background: #FAFBFB; width: 26%; }
.k2 tbody tr:last-child th, .k2 tbody tr:last-child td { border-bottom: 0; }
.tbl-note { text-align: center; color: var(--muted); font-size: 15.5px; margin: 16px auto 0; max-width: 760px; }
@media (max-width: 760px) {
  .k2 { border: 0; background: none; }
  .k2 thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .k2 table, .k2 tbody, .k2 tr, .k2 th, .k2 td { display: block; width: 100%; }
  .k2 tr { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); margin-bottom: 14px; }
  .k2 tbody th { width: 100%; background: var(--alt); }
  .k2 td { padding: 10px 16px; }
  .k2 td::before { content: attr(data-label); display: block; font-family: var(--hf); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-ink); }
}

/* ---------- B4 chips + benefit rows */
.b4-chips { list-style: none; margin: 0 auto 30px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.b4-chips li { background: #fff; border: 1.5px solid var(--brand); padding: 6px 14px; font-weight: 600; font-size: 15px; border-radius: 999px; }
.b4-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.b4-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); padding: 22px; }
.b4-item h3 { font-size: 20px; }
.b4-item p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .b4-grid { grid-template-columns: 1fr; } }

/* ---------- M46 photo beside a ruled list */
.m46 { display: grid; grid-template-columns: 45fr 55fr; gap: 40px; align-items: start; }
.m46-photo { margin: 0; position: sticky; top: 100px; }
.m46-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.m46-photo figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.m46-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--brand); }
.m46-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.m46-list strong { font-family: var(--hf); font-size: 19px; }
.m46-list strong a { color: var(--ink); text-decoration-color: var(--teal); text-decoration-thickness: 2px; }
.m46-list p { margin: 4px 0 0; }
@media (max-width: 860px) { .m46 { grid-template-columns: 1fr; gap: 24px; } .m46-photo { position: static; } .m46-photo img { aspect-ratio: 16 / 10; } }

/* ---------- F1 accordion under subheads */
.f1 { max-width: 880px; margin: 0 auto; }
.f1-group + .f1-group { margin-top: 30px; }
.f1-sub { text-align: center; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 12px; }
.acc { background: #fff; border: 1px solid var(--line); margin-bottom: 10px; }
.acc summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative; font-family: var(--hf); font-weight: 600; font-size: 18px; }
.acc summary::-webkit-details-marker { display: none; }
.acc-mark { position: absolute; right: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; }
.acc-mark::before, .acc-mark::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--teal-ink); }
.acc-mark::after { transform: rotate(90deg); transition: transform .15s; }
.acc[open] .acc-mark::after { transform: rotate(0); }
.acc[open] summary { border-bottom: 1px solid var(--line); }
.acc-body { padding: 16px 20px 6px; }

/* ---------- closing */
.closing-sec { padding: 70px 0; }
.closing { text-align: center; max-width: 760px; margin: 0 auto; }
.closing h2 { color: #fff; }
.closing p { color: #D8DCDF; font-size: 18px; margin-bottom: 26px; }
.closing .btn-pair, .c1 .btn-pair { justify-content: center; }
@media (max-width: 600px) { .closing .btn-pair { flex-direction: column; } .closing .btn-pair .btn { width: 100%; } .c1 .btn { width: 100%; } }

/* ---------- option image cards / icon cards / service cards */
.opt-grid, .sv-grid, .ic-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.opt-card, .sv-card, .ic-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.bg-page .opt-card { background: var(--alt); }
.opt-card > img, .sv-photo > img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.opt-body, .sv-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.sv-icon { padding-top: 22px; }
.sv-icon > .icon { margin-left: 22px; }
.ic-card { padding: 24px; }
.ic-card .icon { margin-bottom: 12px; }
.sv-grid.n5 { grid-template-columns: repeat(6, 1fr); }
.sv-grid.n5 .sv-card { grid-column: span 2; }
.sv-grid.n5 .sv-card:nth-child(n+4) { grid-column: span 3; }
.ic-grid.n4, .opt-grid.n4 { grid-template-columns: repeat(2, 1fr); }
.ic-grid.n6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .opt-grid, .ic-grid, .ic-grid.n6 { grid-template-columns: 1fr 1fr; } .opt-grid.n3 .opt-card:nth-child(3), .ic-grid.n3 .ic-card:nth-child(3) { grid-column: 1 / -1; }
  .sv-grid, .sv-grid.n5 { grid-template-columns: 1fr 1fr; } .sv-grid.n5 .sv-card, .sv-grid.n5 .sv-card:nth-child(n+4) { grid-column: auto; } .sv-grid.n5 .sv-card:nth-child(5), .sv-grid.n3 .sv-card:nth-child(3) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .opt-grid, .ic-grid, .ic-grid.n6, .ic-grid.n4, .opt-grid.n4, .sv-grid, .sv-grid.n5 { grid-template-columns: 1fr; } .opt-grid.n3 .opt-card:nth-child(3), .ic-grid.n3 .ic-card:nth-child(3), .sv-grid.n5 .sv-card:nth-child(5), .sv-grid.n3 .sv-card:nth-child(3) { grid-column: auto; } }

/* ---------- split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.tick-ic { width: 26px; height: 26px; margin-top: 2px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- checklist */
.checklist { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); padding: 16px; }
.checklist .icon { width: 38px; height: 38px; }
@media (max-width: 760px) { .checklist { grid-template-columns: 1fr; } }

/* ---------- FAQ page */
.textband { max-width: 820px; margin: 0 auto; text-align: center; }
.textband p { font-size: 18px; }
.jumps { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.jumps a { display: inline-block; background: #fff; border: 1.5px solid var(--brand); padding: 7px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.jumps a:hover { background: var(--brand); color: #fff; }
.fq-wrap { max-width: 920px; }
.fq-cat { margin-bottom: 48px; scroll-margin-top: 100px; }
.fq-cat:last-child { margin-bottom: 0; }
.fq-cat > .e6 { margin-bottom: 22px; }
.fq { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); padding: 22px 24px 8px; margin-bottom: 14px; }
.bg-page .fq { background: var(--alt); }
.fq h3 { font-size: 20px; }
.fq-a ul { padding-left: 20px; }
.fq-a table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: 15px; background: #fff; }
.fq-a th, .fq-a td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.fq-a thead th { background: var(--brand); color: #fff; }
.fq-tbl { overflow-x: auto; }
.fq-src { font-size: 15px; }
.fq-src ul { padding-left: 20px; }
@media (max-width: 640px) { .fq-a table { font-size: 14px; } .fq { padding: 18px 16px 6px; } }

/* ---------- footer, call bar */
.site-footer { background: var(--ink); color: #D8DCDF; padding: 56px 0 0; }
.ft { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ft-plate { display: inline-block; background: #fff; padding: 12px 14px; margin-bottom: 14px; }
.ft-plate img { height: 40px; width: auto; }
.ft-h { font-size: 16px; color: #fff; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #D8DCDF; }
.site-footer a:hover { color: #fff; }
.ft-phone { font-family: var(--hf); font-weight: 700; font-size: 20px; color: #fff !important; }
.ft-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid #2E3337; margin-top: 40px; padding-top: 18px; padding-bottom: 22px; font-size: 14.5px; }
.ft-legal p { margin: 0; }
.ft-legal ul { display: flex; gap: 20px; }
@media (max-width: 900px) { .ft { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ft { grid-template-columns: 1fr; } }
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--brand); padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); border-top: 2px solid var(--teal); }
  .callbar-a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; color: #fff; font-family: var(--hf); font-weight: 700; font-size: 17px; text-decoration: none; }
  .callbar-a svg { width: 20px; height: 20px; color: var(--teal-on-dark); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  body.menu-open .callbar, body.cb-open .callbar, body.no-callbar .callbar { display: none; }
  .sec { padding: 52px 0; }
  .e6 { font-size: 27px; gap: 12px; }
  .e6::before, .e6::after { flex-basis: 20px; }
  .c1-h { font-size: 27px; }
}
body.page-utility .callbar { display: none !important; }
body.page-utility { padding-bottom: 0; }

/* ---------- callback popup */
.cb { position: fixed; inset: 0; background: rgba(18,21,23,.6); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; }
.cb[hidden] { display: none; }
.cb-box { background: #fff; max-width: 440px; width: 100%; padding: 28px 26px 18px; border-top: 5px solid var(--teal); position: relative; max-height: 92vh; overflow-y: auto; }
.cb-box h2 { font-size: 24px; padding-right: 30px; }
.cb-close { position: absolute; right: 10px; top: 8px; width: 44px; height: 44px; background: none; border: 0; font-size: 30px; cursor: pointer; color: var(--ink); }
.cb-legal { font-size: 14px; margin: 10px 0 0; }

/* ---------- forms (contact, callback) */
.fld { margin-bottom: 16px; }
.fld label { display: block; font-weight: 600; margin-bottom: 6px; }
.fld input, .fld textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid #8A939A; border-radius: 2px; background: #fff; color: var(--ink); }
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: 3px solid var(--teal-ink); outline-offset: 1px; border-color: var(--teal-ink); }
.fld .err { color: #A3261B; font-size: 14.5px; margin-top: 4px; display: block; }
.fld [aria-invalid="true"] { border-color: #A3261B; }
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1em; font-weight: 600; }
.form-msg.ok { color: var(--teal-ink); }
.form-msg.bad { color: #A3261B; }
button.btn { cursor: pointer; }
button.btn[disabled] { opacity: .65; cursor: wait; }

/* ---------- utility pages */
.util { padding: 56px 0 72px; }
.util-head { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.util-head h1 { font-size: 42px; }
.util-head p { color: var(--muted); font-size: 18px; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; max-width: 1040px; margin: 0 auto; }
.contact-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); padding: 28px; }
.contact-side { background: var(--alt); padding: 28px; }
.contact-side h2 { font-size: 22px; }
.contact-side ul { padding-left: 20px; }
.big-phone { font-family: var(--hf); font-size: 28px; font-weight: 700; color: var(--ink); text-decoration: none; display: inline-block; margin-bottom: 10px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .util-head h1 { font-size: 32px; } }
.legal-body { max-width: 820px; margin: 0 auto; }
.legal-body h2 { font-size: 24px; margin-top: 34px; }
.legal-body ul { padding-left: 20px; }
.nf { max-width: 640px; margin: 80px auto; padding: 0 20px; text-align: center; }

/* ---------- calculator restyle (kit classes, look only) */
.roof-calc { --calc-accent: var(--teal); --calc-track: #D5D9DC; --calc-ink: var(--ink); --calc-muted: var(--muted); --calc-border: #C9CED2;
  --calc-surface: #fff; --calc-soft: var(--alt); --calc-focus: var(--teal-ink); font-family: var(--bf); }
.calc-wrap { max-width: 760px; margin: 0 auto; }
.roof-calc .calc-card { border-radius: 2px; border: 1px solid var(--line); border-top: 5px solid var(--teal); box-shadow: 0 10px 28px rgba(18,21,23,.08); }
.roof-calc h2 { font-family: var(--hf); }
.roof-calc .calc-btn { border-radius: 2px; font-family: var(--hf); font-weight: 700; min-height: 48px; }
.roof-calc .calc-btn-primary { background: var(--teal); color: var(--ink); border: 2px solid var(--ink); }
.roof-calc .calc-btn-primary:hover { background: var(--teal-hover); }
.roof-calc .calc-btn-quiet { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.roof-calc .choice-card { border-radius: 2px; }
.roof-calc .choice-card:has(input:checked) { border-color: var(--teal-ink); box-shadow: inset 0 0 0 2px var(--teal-ink); background: var(--tint); }
.roof-calc progress { accent-color: var(--teal); }
.roof-calc .step-index { color: var(--teal-ink); font-family: var(--hf); font-weight: 700; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
/* calculator and other utility pages: header scrolls away so a step change never sits under it */
body.page-utility .site-header { position: relative; }
.small-note { font-size: 14.5px; color: var(--muted); margin: 14px 0 0; }
/* odd counts: the last card runs full width instead of sitting alone in a half column */
@media (min-width: 761px) {
  .r8-grid > .r8-card:last-child:nth-child(odd), .b4-grid > .b4-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.fq-lead { background: var(--tint); border-left: 3px solid var(--teal-ink); padding: 12px 16px 2px; margin: 0 0 14px; font-weight: 600; }
.bg-alt .fq-lead, .bg-page .fq .fq-lead { background: var(--tint); }
