/* Lincoln Metal Roof Coating — site styles. Signature H46-S5-P5-B3-R4-F11-M43-C8-I3-E6 (V2, K5, T1). */
:root {
  --base: #3B2A20;
  --base-deep: #2A1D16;
  --secondary: #7F6D62;
  --accent: #E8A317;
  --accent-hover: #D4930F;
  --accent-tint: #FBEFD3;
  --ink: #1C130E;
  --page: #F7F3EE;
  --surface: #FFFFFF;
  --surface-alt: #EFE7DD;
  --surface-tint: #F3EADF;
  --text: #1C130E;
  --muted: #4E3F36;
  --border: #D8CABB;
  --on-dark: #FFFFFF;
  --on-dark-muted: #E9DFD6;
  --focus-light: #1C130E;
  --focus-dark: #E8A317;
  --radius: 6px;
  --head: "Libre Franklin", "Segoe UI", Arial, sans-serif;
  --body: "Open Sans", "Segoe UI", Arial, sans-serif;
  --container: 1200px;
  --gutter: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--page); }
@media (min-width: 900px) { body { font-size: 18px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--base); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus-light); outline-offset: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible, .h46-seal:focus-visible { outline-color: var(--focus-dark); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.22; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(30px, 2.2vw + 22px, 50px); }
h2 { font-size: clamp(25px, 1.2vw + 20px, 36px); }
h3 { font-size: clamp(19px, .4vw + 17px, 22px); font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 1000; border-radius: 4px; }
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 24px; border-radius: var(--radius);
  font: 600 17px/1.2 var(--head); text-decoration: none; border: 2px solid transparent; cursor: pointer; 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-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.on-dark .btn-outline { color: #fff; border-color: #fff; }
.on-dark .btn-outline:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--base); color: #fff; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
@media (max-width: 640px) { .btn-row { flex-direction: column; align-items: stretch; } .btn-row .btn { width: 100%; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--page); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
@media (min-width: 1200px) { .brand img { height: 60px; } }
.main-nav { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-right: -8px; background: transparent; border: 2px solid var(--ink); border-radius: var(--radius); color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; }
.mobile-panel { position: fixed; inset: 76px 0 0 0; background: var(--page); overflow-y: auto; padding: 16px var(--gutter) 120px; z-index: 60; border-top: 1px solid var(--border); }
.mobile-panel[hidden] { display: none; }
.mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.mobile-panel > ul > li { border-bottom: 1px solid var(--border); }
.mobile-panel a.m-link, .mobile-panel .m-sub-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; font: 600 19px var(--head); color: var(--ink); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.m-row { display: flex; align-items: center; }
.m-row .m-link { flex: 1; }
.m-sub-toggle { width: 54px !important; justify-content: center !important; }
.m-sub-toggle svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; transition: transform .15s; }
.m-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-sub { padding: 0 0 10px 12px !important; }
.m-sub a { display: flex; align-items: center; min-height: 48px; font-size: 17px; color: var(--ink); text-decoration: none; }
.m-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
.m-actions .btn { width: 100%; }
@media (min-width: 1200px) {
  .nav-toggle, .mobile-panel { display: none !important; }
  .main-nav { display: flex; align-items: center; gap: 4px; }
  .main-nav > ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 2px; }
  .main-nav > ul > li { position: relative; display: flex; align-items: center; }
  .main-nav a.n-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 10px; font: 600 16px var(--head); color: var(--ink); text-decoration: none; }
  .main-nav a.n-link:hover, .main-nav a.n-link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 8px; }
  .dd-toggle { width: 30px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; color: var(--ink); margin-left: -6px; }
  .dd-toggle svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.2; fill: none; }
  .dropdown { position: absolute; top: 100%; left: 0; min-width: 290px; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 12px 30px rgba(28,19,14,.14); list-style: none; margin: 0; padding: 8px 0; display: none; z-index: 70; }
  .dropdown.open, li.has-dd:hover > .dropdown, li.has-dd:focus-within > .dropdown { display: block; }
  .dropdown a { display: flex; align-items: center; min-height: 46px; padding: 0 18px; color: var(--ink); text-decoration: none; font-size: 16px; }
  .dropdown a:hover { background: var(--surface-tint); }
  .nav-cta { display: flex; gap: 8px; margin-left: 10px; }
  .nav-cta .btn { min-height: 48px; padding: 10px 16px; font-size: 16px; }
}

/* Breadcrumb */
.breadcrumb { font-size: 15px; margin: 0 0 14px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--ink); }

/* Sections */
main > section { padding: 56px 0; }
@media (min-width: 900px) { main > section { padding: 80px 0; } }
.bg-page { background: var(--page); }
.bg-white { background: var(--surface); }
.bg-alt { background: var(--surface-alt); }
.bg-tint { background: var(--surface-tint); }
.bg-dark { background: var(--base); color: var(--on-dark); }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-accent { background: var(--accent); color: var(--ink); }

/* E6 flanked-rule headings */
.sec-head { text-align: center; max-width: 820px; margin: 0 auto 36px; }
.sec-head h2 { display: flex; align-items: flex-start; justify-content: center; gap: 16px; }
.sec-head h2::before, .sec-head h2::after { content: ""; flex: 0 0 20px; height: 2px; background: var(--accent); margin-top: .62em; }
@media (min-width: 900px) { .sec-head h2::before, .sec-head h2::after { flex-basis: 40px; } }
.sec-head h2 > span { flex: 0 1 auto; }
.sec-head p { color: var(--muted); margin: 0 auto; max-width: 680px; }
.bg-dark .sec-head p { color: var(--on-dark-muted); }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head.left h2 { justify-content: flex-start; }
.sec-head.left h2::before { display: none; }
.sec-head.left h2::after { display: none; }
.sec-head.left h2 { flex-direction: column; gap: 0; }
.sec-head.left h2 > span::before { content: ""; display: block; width: 40px; height: 2px; background: var(--accent); margin-bottom: 14px; }

/* Layout patterns */
.split-l2, .split-l3 { display: grid; gap: 28px; }
@media (min-width: 960px) {
  .split-l2 { grid-template-columns: 35fr 65fr; gap: 56px; align-items: start; }
  .split-l3 { grid-template-columns: 65fr 35fr; gap: 56px; align-items: start; }
  .split-l3 > .split-head { order: 2; }
  .split-l2 > .split-head, .split-l3 > .split-head { position: sticky; top: 110px; }
}
.split-head .sec-head { text-align: left; margin: 0 0 16px; }
.split-head .sec-head h2 { justify-content: flex-start; }
.split-head .sec-head h2::before { display: none; }
.split-head .sec-head h2::after { display: none; }
.split-head .sec-head h2 { flex-direction: column; gap: 0; }
.split-head .sec-head h2 > span::before { content: ""; display: block; width: 40px; height: 2px; background: var(--accent); margin-bottom: 14px; }

/* I3 duotone icons */
svg.icon { width: 40px; height: 40px; flex: 0 0 auto; fill: none; stroke: var(--base); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
svg.icon .duo { fill: var(--accent-tint); stroke: none; }
.bg-dark svg.icon, .on-dark svg.icon { stroke: #fff; }
.bg-dark svg.icon .duo, .on-dark svg.icon .duo { fill: rgba(232,163,23,.38); }
svg.icon.sm { width: 28px; height: 28px; }

/* H46 split bleed hero */
.h46 { padding: 0 !important; background: var(--surface-alt); position: relative; overflow: hidden; }
.h46-grid { display: grid; }
.h46-text { padding: 26px var(--gutter) 30px; }
.h46-label { display: inline-block; font: 600 15px var(--head); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); padding-bottom: 4px; border-bottom: 3px solid var(--accent); margin-bottom: 14px; }
.h46 h1 { font-size: clamp(30px, 2.4vw + 20px, 52px); margin-bottom: 12px; }
.h46 .hero-sub { font-size: clamp(20px, .6vw + 17px, 25px); font-weight: 600; color: var(--base); margin-bottom: 12px; line-height: 1.3; }
.h46 .hero-intro { max-width: 560px; margin-bottom: 20px; }
.h46-photo { position: relative; }
.h46-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.h46-seal { position: absolute; width: 104px; height: 104px; right: var(--gutter); top: -52px; border-radius: 50%; background: var(--base); color: #fff; box-shadow: 0 6px 18px rgba(28,19,14,.25); }
.h46-seal svg { width: 100%; height: 100%; display: block; }
.h46-seal text { fill: currentColor; font: 600 10.5px var(--head); letter-spacing: .1em; }
@media (min-width: 960px) {
  .h46-grid { grid-template-columns: 1fr 1fr; min-height: 560px; }
  .h46-text { padding: 56px 72px 64px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; }
  .h46-photo img { height: 100%; aspect-ratio: auto; position: absolute; inset: 0; }
  .h46-seal { width: 160px; height: 160px; left: calc(50% - 80px); right: auto; top: auto; bottom: 64px; }
  .h46-seal text { font-size: 10px; }
}

/* Fact strip / FAQ brand band */
.facts { padding: 28px 0 !important; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (min-width: 900px) { .facts ul { grid-template-columns: repeat(4, 1fr); } }
.facts li { display: flex; align-items: center; gap: 12px; font: 600 16px/1.35 var(--head); }
@media (max-width: 420px) { .facts ul { grid-template-columns: 1fr; } }

/* S5 thumbnail rows / related rows */
.rows-s5 { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; gap: 16px; }
.row-s5 { display: grid; grid-template-columns: 1fr; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.row-s5 img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.row-s5 .row-body { padding: 18px 20px 20px; }
.row-s5 .row-label { font: 600 14px var(--head); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.row-s5 h3 { margin-bottom: 6px; }
.row-s5 p { margin-bottom: 10px; }
.row-link { font-weight: 600; }
@media (min-width: 720px) { .row-s5 { grid-template-columns: 240px 1fr; } .row-s5 img { height: 100%; aspect-ratio: 4 / 3; } .row-s5 .row-body { padding: 20px 26px; align-self: center; } }

/* K5 fit matrix */
.k5-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 0 0 18px; font-size: 16px; }
.k5-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--base); vertical-align: middle; }
.dot.full { background: var(--base); }
.dot.half { background: linear-gradient(90deg, var(--base) 50%, #fff 50%); }
.dot.none { background: #fff; }
.k5 { width: 100%; max-width: 1040px; margin: 0 auto; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); }
.k5 th, .k5 td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.k5 thead th { background: var(--base); color: #fff; font: 600 16px var(--head); }
.k5 tbody th { font-weight: 400; font-family: var(--body); }
.k5 td { text-align: center; }
.k5 td .cell-note { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; }
@media (max-width: 760px) {
  .k5, .k5 tbody, .k5 tr, .k5 th, .k5 td { display: block; width: 100%; }
  .k5 thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .k5 { border: 0; background: none; }
  .k5 tr { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; }
  .k5 tbody th { font-weight: 600; background: var(--surface-alt); }
  .k5 td { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
  .k5 td::before { content: attr(data-label); font-weight: 600; }
  .k5 td .cell-note { display: none; }
}
.under-note { text-align: center; margin: 22px auto 0; max-width: 720px; color: var(--muted); }

/* P5 process: visit sequence + inspection card */
.p5 { display: grid; gap: 28px; }
@media (min-width: 960px) { .p5 { grid-template-columns: 1.45fr 1fr; align-items: start; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.step-num { width: 48px; height: 48px; display: grid; place-items: center; background: var(--base); color: #fff; font: 700 20px var(--head); border-radius: 4px; }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; }
.inspect-card { background: var(--base); color: #fff; border-radius: var(--radius); padding: 24px; border-top: 5px solid var(--accent); }
@media (min-width: 960px) { .inspect-card { position: sticky; top: 110px; } }
.inspect-card .card-title { font: 700 21px/1.3 var(--head); margin: 0 0 6px; color: #fff; }
.inspect-card .card-sub { color: var(--on-dark-muted); font-size: 16px; }
.inspect-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.inspect-card li { display: flex; gap: 12px; align-items: flex-start; }
.inspect-card li svg.icon { width: 30px; height: 30px; }
.after-steps { margin-top: 28px; text-align: center; }

/* C8 accent icon band */
.c8 { padding: 44px 0 !important; }
.c8-inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.c8-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.c8-icon svg.icon { width: 46px; height: 46px; stroke: #fff; }
.c8-icon svg.icon .duo { fill: rgba(232,163,23,.55); }
.c8 h2 { margin-bottom: 6px; }
.c8 p { margin: 0; max-width: 640px; }
@media (min-width: 900px) { .c8-inner { grid-template-columns: auto 1fr auto; text-align: left; justify-items: start; gap: 28px; align-items: center; } }

/* R4 checklist with severity chips */
.r4 { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.r4 li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--secondary); border-radius: var(--radius); padding: 16px 18px; }
.r4 li.sev-repair { border-left-color: var(--accent); }
.r4 li.sev-call { border-left-color: var(--base); }
.r4 .r4-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 4px; }
.r4 h3 { margin: 0; }
.chip { display: inline-block; font: 600 14px var(--head); letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 99px; border: 1.5px solid currentColor; }
.chip.watch { color: #4E3F36; background: #fff; }
.chip.repair { color: var(--ink); background: var(--accent-tint); border-color: #9A6A00; }
.chip.call { color: #fff; background: var(--base); border-color: var(--base); }
.r4 p { margin: 0; }

/* B3 split: photo + checklist */
.b3 { display: grid; gap: 28px; }
@media (min-width: 960px) { .b3 { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; } }
.b3 img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.b3 ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.b3 li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; background: var(--surface); border-radius: var(--radius); padding: 14px 16px; border: 1px solid var(--border); }
.b3 li h3 { font-size: 19px; margin-bottom: 2px; }
.b3 li p { margin: 0; }
.b3 svg.icon { width: 34px; height: 34px; }

/* M43 town accordion */
.m43 { max-width: 760px; margin: 0 auto; }
.acc details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 12px 18px; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary h3 { margin: 0; font-size: 20px; }
.acc summary .pm { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--base); position: relative; }
.acc summary .pm::before, .acc summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--base); transform: translate(-50%, -50%); }
.acc summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc details[open] summary .pm::after { display: none; }
.acc details[open] summary { border-bottom: 3px solid var(--accent); }
.acc .acc-body { padding: 14px 18px 4px; }
.acc .acc-body p { margin-bottom: 12px; }
.town-intro { text-align: center; }

/* F11 photo beside accordion */
.f11 { display: grid; gap: 28px; }
@media (min-width: 960px) { .f11 { grid-template-columns: 420px 1fr; gap: 48px; align-items: start; } }
.f11-side img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.f11-call { background: var(--base); color: #fff; border-radius: var(--radius); padding: 20px; margin-top: 14px; }
.f11-call .card-title { font: 600 20px/1.3 var(--head); color: #fff; margin: 0 0 6px; }
.f11-call p { color: var(--on-dark-muted); margin-bottom: 14px; }
.f11-call .btn { width: 100%; }
@media (max-width: 959px) { .f11-side { order: 2; } .f11-side img { aspect-ratio: 4 / 3; } }

/* Generic cards (svc-cards, cards, options) */
.card-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .card-grid.c2, .card-grid.c4 { grid-template-columns: 1fr 1fr; } .card-grid.c3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .card-grid.c3 { grid-template-columns: repeat(3, 1fr); } }
.card-grid.c5 { grid-template-columns: repeat(6, 1fr); }
.card-grid.c5 > * { grid-column: span 6; }
@media (min-width: 700px) { .card-grid.c5 > * { grid-column: span 3; } .card-grid.c5 > *:last-child { grid-column: 2 / span 4; } }
@media (min-width: 1000px) { .card-grid.c5 > * { grid-column: span 2; } .card-grid.c5 > *:nth-child(4) { grid-column: 2 / span 2; } .card-grid.c5 > *:nth-child(5) { grid-column: 4 / span 2; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card .card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .card-body p { margin: 0 0 8px; }
.card .card-body .row-link { margin-top: auto; }
.card-icon-head { background: var(--surface-tint); border-bottom: 3px solid var(--accent); padding: 18px 20px 14px; display: flex; align-items: center; gap: 12px; }
.card-icon-head h3 { margin: 0; }
.card .tag { font: 600 14px var(--head); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.card ul.mini { margin: 4px 0 10px; padding-left: 20px; }
.card ul.mini li { margin-bottom: 4px; }

/* Spec table */
.spec { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); }
.spec th, .spec td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.spec thead th { background: var(--base); color: #fff; font: 600 16px var(--head); }
.spec tbody th { font-family: var(--head); font-weight: 600; }
.spec tbody tr:nth-child(even) { background: #FBF8F4; }
.spec .unit { display: inline-block; font: 600 14px var(--head); letter-spacing: .04em; text-transform: uppercase; background: var(--accent-tint); padding: 1px 8px; border-radius: 4px; color: var(--ink); }
@media (max-width: 760px) {
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: 100%; }
  .spec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .spec { border: 0; background: none; }
  .spec tr { background: var(--surface) !important; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; }
  .spec tbody th { background: var(--surface-alt); }
  .spec td::before { content: attr(data-label); display: block; font: 600 14px var(--head); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
}

/* Split image + text */
.split { display: grid; gap: 28px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; } }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split ul.ticks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.split ul.ticks li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.split ul.ticks svg.icon { width: 28px; height: 28px; }

/* Checklist (About) */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.checklist svg.icon { width: 32px; height: 32px; }

/* FAQ page */
.faq-band { text-align: center; }
.faq-band p { max-width: 760px; margin: 0 auto 18px; color: var(--on-dark-muted); }
.jump { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1000px; }
.jump a { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 16px; border: 2px solid #fff; border-radius: 99px; color: #fff; text-decoration: none; font: 600 16px var(--head); }
.jump a:hover { background: #fff; color: var(--ink); }
.faq-cat .qa { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 18px 20px; margin: 0 auto 12px; max-width: 860px; }
.faq-cat .qa h3 { margin-bottom: 6px; }
.faq-cat .qa p { margin: 0 0 8px; }
.faq-cat .qa p:last-child { margin-bottom: 0; }
.faq-cat .sources { max-width: 860px; margin: 8px auto 0; font-size: 16px; color: var(--muted); }

.faq-cat + .faq-cat { margin-top: 48px; }
.cat-icon { display: flex; justify-content: center; margin-bottom: 8px; }
.cat-icon svg.icon { width: 48px; height: 48px; }

/* Closing CTA */
.closing { text-align: center; }
.closing .sec-head { margin-bottom: 24px; }

/* Utility pages */
.page-head { padding: 40px 0 8px !important; }
.page-head p.lead { max-width: 720px; }
.legal { padding-top: 16px !important; }
.legal .narrow h2 { font-size: 25px; margin-top: 1.4em; }
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.form-field { display: grid; gap: 6px; margin-bottom: 16px; }
.form-field label { font-weight: 600; }
.form-field input, .form-field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--text); background: #fff; border: 2px solid #9C8A7D; border-radius: var(--radius); padding: 12px 14px; min-height: 52px; }
.form-field textarea { min-height: 120px; }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: #A11B12; }
.field-error { color: #A11B12; font-size: 16px; font-weight: 600; }
.form-status { padding: 12px 14px; border-radius: var(--radius); font-weight: 600; margin-top: 12px; }
.form-status.ok { background: #E6F2EA; color: #1D5B33; }
.form-status.err { background: #FBECEB; color: #8E1A11; }
.form-status.busy { background: var(--surface-alt); color: var(--ink); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.side-card { background: var(--base); color: #fff; border-radius: var(--radius); padding: 24px; }
.side-card .card-title { font: 700 22px var(--head); color: #fff; margin: 0 0 8px; }
.side-card p { color: var(--on-dark-muted); }
.side-card a.phone-big { display: block; font: 700 28px var(--head); color: #fff; margin-bottom: 14px; text-decoration: none; }

/* Calculator restyle (kit classes) */
.roof-calc { --calc-font-head: var(--head); --calc-font-body: var(--body); --calc-text: #1C130E; --calc-muted: #4E3F36; --calc-surface: #fff; --calc-surface-alt: #F3EADF;
  --calc-border: #9C8A7D; --calc-accent: #3B2A20; --calc-accent-text: #fff; --calc-accent-hover: #1C130E; --calc-track: #E5D9CC; --calc-focus: #1C130E; --calc-radius: 6px; }
.roof-calc .amount { font-weight: 700 !important; }
.roof-calc .calc-card { border-top: 5px solid var(--accent); }
.roof-calc .step-index, .roof-calc .progress-row, .roof-calc .range-labels, .roof-calc .prepared, .roof-calc .roof-facts span { font-size: 15px !important; }
.roof-calc .question-help, .roof-calc .field small, .roof-calc .privacy-note { font-size: 16px; }
.roof-calc .report-eyebrow { font-size: 14px !important; }
.roof-calc input[type=text], .roof-calc input[type=tel], .roof-calc textarea { font-size: 17px; min-height: 52px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 48px 0 110px; font-size: 16px; }
@media (min-width: 1200px) { .site-footer { padding-bottom: 40px; } }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-logo { background: var(--page); border-radius: var(--radius); padding: 10px 14px; display: inline-block; }
.footer-logo img { height: 48px; width: auto; }
.site-footer .f-title { font: 600 16px var(--head); color: #fff; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; color: var(--on-dark-muted); text-decoration: none; }
.site-footer li a:hover { color: #fff; text-decoration: underline; }
.site-footer .f-phone { color: #fff; font: 700 22px var(--head); text-decoration: none; }
.footer-bottom { border-top: 1px solid #4a3a30; margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
.footer-bottom a { color: var(--on-dark-muted); }

/* Mobile tap-to-call bar */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--base); border-top: 3px solid var(--accent); padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); }
.call-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; color: #fff; text-decoration: none; font: 700 21px var(--head); }
.call-bar svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
body.menu-open .call-bar { display: none; }
@media (min-width: 1200px) { .call-bar { display: none; } }
@media (max-width: 1199px) { main { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.roof-calc .step-index { font-size: 16px !important; }
.roof-calc .area-slider { height: 48px; font-size: 16px; background-size: 100% 8px !important; background-position: center !important; background-repeat: no-repeat !important; background-color: transparent; }
@media (max-width: 640px) { .after-steps .btn, .c8 .btn, .f11-call .btn, .side-card .btn { width: 100%; } .c8-inner > div:last-child { width: 100%; } }
.calc-page .call-bar { position: static; }
.calc-page .site-footer { padding-bottom: 40px; }
.roof-calc .choice-card { position: relative; }
.roof-calc .choice-card input { left: 50%; top: 50%; }
