/* Paducah Metal Roof Coating · H20-S34-P11-B6-R4-F2-M41-C2-I3-E5 · gunmetal + signal blue
   Palette roles (supplied; shades per standing decision 3, recorded in PLAN.md):
   brand #3B4651 · ink #181C20 · accent #2A7DE1 · cta #4A93EC (dark labels 5.45:1) · cta-hover #66A6F0
   accent-ink #1B5FB3 · accent-on-dark #9CC5F5 · secondary #7A858E (rules only) · muted #5C6670
   page #FFFFFF · alt #F3F4F5 · tint #E8F1FC */
:root {
  --brand: #3B4651; --ink: #181C20; --accent: #2A7DE1; --cta: #4A93EC; --cta-h: #66A6F0;
  --accent-ink: #1B5FB3; --accent-dark: #9CC5F5; --sec: #7A858E; --muted: #5C6670; --muted-dark: #C9D1D8;
  --page: #FFFFFF; --alt: #F3F4F5; --tint: #E8F1FC; --tint2: #D6E6FA; --line: #D5DADF;
  --head: "Commissioner", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --r: 10px; --wrap: 1200px;
  --icon-fill: #CFE2FA; --icon-stroke: #1B5FB3;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--body); font-size: 17.5px; line-height: 1.62; color: var(--ink); background: var(--page); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.bg-brand :focus-visible, .bg-ink :focus-visible, .site-footer :focus-visible, .h20-plate :focus-visible { outline-color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.18; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.35rem); font-weight: 700; }
h3 { font-size: clamp(1.18rem, 1.08rem + .45vw, 1.42rem); font-weight: 650; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 20px; }

/* Icons: I3 duotone */
.icon { width: 30px; height: 30px; flex: none; }
.icon .i-fill * { fill: var(--icon-fill); stroke: none; }
.icon .i-stroke * { fill: none; stroke: var(--icon-stroke); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.bg-brand .icon, .bg-ink .icon { --icon-fill: #4D6A8C; --icon-stroke: #DCE9FA; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 22px; border-radius: 8px;
  font: 700 1rem/1.2 var(--head); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--cta); color: var(--ink); border-color: var(--cta); }
.btn-primary:hover { background: var(--cta-h); border-color: var(--cta-h); color: var(--ink); }
.btn-secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--brand); color: #fff; }
.bg-brand .btn-secondary, .bg-ink .btn-secondary, .h20-plate .btn-secondary { color: #fff; border-color: #fff; }
.bg-brand .btn-secondary:hover, .bg-ink .btn-secondary:hover, .h20-plate .btn-secondary:hover { background: #fff; color: var(--ink); }
.bg-brand .btn-primary, .bg-ink .btn-primary, .h20-plate .btn-primary { border-color: #DCE9FA; }
.btn-glyph { width: 18px; height: 18px; fill: currentColor; }
.btn-pair { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.btn-one { display: flex; justify-content: center; margin-top: 28px; }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.text-link:hover { text-decoration: underline; }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 84px; }
.brand img { height: 60px; width: auto; }
.main-nav { display: flex; align-items: center; }
.nav-panel { display: flex; align-items: center; gap: 18px; }
.nav-list { 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: 500; font-size: 1rem; }
.nav-list > li > a:hover { color: var(--accent-ink); }
.sub-toggle { background: none; border: 0; padding: 6px 4px; cursor: pointer; color: var(--ink); display: inline-flex; min-width: 28px; min-height: 36px; align-items: center; }
.sub-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .15s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: 0 0 8px 8px; box-shadow: 0 14px 30px rgba(24,28,32,.14); padding: 8px; z-index: 50; }
.sub a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; border-radius: 6px; }
.sub a:hover { background: var(--tint); color: var(--accent-ink); }
.sub-wide { min-width: 420px; columns: 2; column-gap: 8px; }
.sub-wide li { break-inside: avoid; }
.has-sub.open > .sub { display: block; }
@media (hover: hover) and (min-width: 1200px) { .has-sub:hover > .sub { display: block; } }
.nav-actions { display: flex; gap: 10px; }
.burger { display: none; }
@media (max-width: 1199px) {
  .hdr { min-height: 72px; }
  .brand img { height: 50px; }
  .burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; margin-right: -6px; padding: 12px 10px;
    background: none; border: 0; cursor: pointer; }
  .burger span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .15s, opacity .15s; }
  .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); }
  .nav-panel { display: none; position: fixed; left: 0; right: 0; top: 72px; bottom: 0; background: #fff; overflow-y: auto; padding: 12px 20px 32px;
    flex-direction: column; align-items: stretch; gap: 16px; border-top: 1px solid var(--line); }
  .nav-open .nav-panel { display: flex; }
  .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: 1.08rem; }
  .sub-toggle { min-width: 48px; min-height: 48px; justify-content: center; }
  .sub { position: static; box-shadow: none; border: 0; border-left: 3px solid var(--accent); border-radius: 0; width: 100%; min-width: 0; padding: 0 0 10px 10px; margin-bottom: 8px; }
  .sub-wide { columns: 1; min-width: 0; }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { width: 100%; }
}

/* Sections */
.sec { padding: 76px 0; }
.bg-page { background: var(--page); } .bg-alt { background: var(--alt); } .bg-tint { background: var(--tint); }
.bg-brand { background: var(--brand); color: #fff; } .bg-ink { background: var(--ink); color: #fff; }
.bg-brand a:not(.btn), .bg-ink a:not(.btn) { color: var(--accent-dark); }
.sec-head { max-width: 760px; margin: 0 auto 36px; }
.sec-head-center { text-align: center; }
.sec-head-left { margin-left: 0; text-align: left; }
.sec-intro { color: var(--muted); font-size: 1.06rem; margin: 0; }
.bg-brand .sec-intro, .bg-ink .sec-intro { color: var(--muted-dark); }
/* E5: label chip over the H2 */
.chip { display: inline-block; font: 700 .78rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink);
  background: var(--tint); border: 1px solid #B9D3F5; padding: 7px 12px; border-radius: 999px; margin-bottom: 14px; }
.bg-tint .chip { background: #fff; }
.chip-dark, .bg-brand .chip, .bg-ink .chip { color: var(--accent-dark); background: rgba(156,197,245,.12); border-color: rgba(156,197,245,.45); }

/* H20 diptych plate */
.hero-h20 { position: relative; padding: 0; }
.h20-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--ink); height: 560px; }
.h20-single .h20-photos { grid-template-columns: 1fr; }
.h20-ph { margin: 0; overflow: hidden; }
.h20-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.h20-plate-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; pointer-events: none; }
.h20-plate { pointer-events: auto; max-width: 780px; width: 100%; background: var(--brand); color: #fff; text-align: center; border-top: 5px solid var(--accent);
  padding: 34px 40px 36px; box-shadow: 0 24px 50px rgba(24,28,32,.35); }
.h20-plate h1 { color: #fff; margin-bottom: 14px; }
.h20-intro { color: #E4E9EE; font-size: 1.1rem; max-width: 600px; margin: 0 auto 18px; }
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: .9rem; margin-bottom: 14px; color: var(--muted-dark); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--sec); }
.crumbs a { color: var(--accent-dark); }
@media (max-width: 800px) {
  .hero-h20 { display: flex; flex-direction: column; }
  .h20-plate-wrap { position: static; order: -1; padding: 0; display: block; }
  .h20-plate { box-shadow: none; padding: 30px 20px 32px; }
  .h20-photos { height: auto; grid-template-columns: 1fr; }
  .h20-ph-b { display: none; }
  .h20-ph-a { aspect-ratio: 3 / 2; }
}

/* Fact strip */
.facts { padding: 26px 0; }
.facts-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.facts-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1rem; }
@media (max-width: 900px) { .facts-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts-list { grid-template-columns: 1fr; } }

/* Split layouts L2 / L3 */
.split { display: grid; grid-template-columns: minmax(260px, 36%) 1fr; gap: 48px; align-items: start; }
.split-right { grid-template-columns: 1fr minmax(260px, 36%); }
.split-right .split-head { order: 2; }
.split-head { position: sticky; top: 110px; }
.split-head .sec-head { margin-bottom: 18px; }
@media (max-width: 900px) { .split, .split-right { grid-template-columns: 1fr; gap: 20px; } .split-right .split-head { order: 0; } .split-head { position: static; } }

/* R4 severity checklist */
.sev-legend { font-size: .92rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.sev-legend li { display: flex; gap: 6px; align-items: center; }
.sev { display: inline-block; font: 700 .74rem/1 var(--body); letter-spacing: .05em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; white-space: nowrap; }
.sev-watch { background: #EEF1F3; color: #3B4651; border: 1px solid #AEB6BE; }
.sev-repair { background: var(--tint2); color: #14498A; border: 1px solid #8DB6EA; }
.sev-call { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.r4-list { display: grid; gap: 12px; }
.r4-item { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: var(--r); padding: 18px 20px; }
.bg-page .r4-item { background: var(--alt); }
.r4-item h3 { margin-bottom: 4px; font-size: 1.15rem; }
.r4-item p { margin: 0; color: #2C333A; }
@media (max-width: 600px) { .r4-item { grid-template-columns: auto 1fr; } .r4-item .sev { grid-column: 2; justify-self: start; } }

/* S34 coat-sequence rail cards */
.s34-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.s34-card { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.s34-grid.n5 .s34-card:nth-child(4) { grid-column: 2 / span 2; }
.s34-grid.n5 .s34-card:nth-child(5) { grid-column: 4 / span 2; }
.card-media { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-icon { display: flex; align-items: center; justify-content: center; }
.card-media-icon .icon { width: 64px; height: 64px; }
.s34-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.s34-body p { color: #2C333A; }
.rail-wrap { margin: 4px 0 18px; }
.rail-label { display: block; font: 700 .76rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.rail { display: flex; position: relative; counter-reset: none; }
.rail li:not(:last-child)::after { content: ""; position: absolute; top: 13px; left: 50%; width: 100%; height: 2px; background: var(--accent); z-index: 0; }
.rail li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 0 2px; }
.rail-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 .85rem/28px var(--head); text-align: center; position: relative; z-index: 1;
  box-shadow: 0 0 0 4px #fff; }
.rail-lbl { font-size: .86rem; line-height: 1.25; font-weight: 600; color: var(--ink); }
.s34-body .text-link { margin-top: auto; }
@media (max-width: 1000px) { .s34-grid { grid-template-columns: 1fr 1fr; } .s34-card, .s34-grid.n5 .s34-card:nth-child(4), .s34-grid.n5 .s34-card:nth-child(5) { grid-column: auto; }
  .s34-grid.n5 .s34-card:nth-child(5) { grid-column: 1 / -1; max-width: 50%; justify-self: center; width: 100%; } }
@media (max-width: 640px) { .s34-grid { grid-template-columns: 1fr; } .s34-grid.n5 .s34-card:nth-child(5) { max-width: none; }
  .rail { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 8px; } .rail li::after { display: none; } .rail li { flex-direction: row; text-align: left; } }

/* C2 split band */
.band { padding: 0; }
.band .wrap { max-width: none; padding: 0; }
.c2 { display: grid; grid-template-columns: 1fr 1fr; min-height: 340px; }
.c2-media-right .c2-media { order: 2; }
.c2-media { margin: 0; overflow: hidden; }
.c2-media img { width: 100%; height: 100%; object-fit: cover; }
.c2-media-icon { background: #2E3740; display: flex; align-items: center; justify-content: center; gap: 28px; }
.c2-media-icon .icon { width: 96px; height: 96px; }
.c2-body { padding: 56px clamp(24px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.c2-body h2 { color: #fff; }
.c2-body p { color: #E4E9EE; max-width: 520px; }
.c2-body .btn-one { margin-top: 8px; }
@media (max-width: 800px) { .c2 { grid-template-columns: 1fr; } .c2-media { aspect-ratio: 16 / 9; order: 0 !important; } .c2-media-icon { aspect-ratio: auto; padding: 28px 0; } .c2-media-icon .icon { width: 64px; height: 64px; } .c2-body { padding: 40px 20px 48px; } }

/* P11 work-order card */
[data-layout="L5"] .wrap { max-width: 920px; }
.wo-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--accent); border-radius: var(--r); box-shadow: 0 10px 28px rgba(24,28,32,.07); padding: 6px 28px; }
.wo-row { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-bottom: 2px dashed var(--line); align-items: start; }
.wo-row:last-child { border-bottom: 0; }
.wo-row.has-thumb { grid-template-columns: 52px 1fr 190px; }
.wo-num { width: 48px; height: 48px; background: var(--brand); color: #fff; font: 700 1.05rem/48px var(--head); text-align: center; border-radius: 6px; }
.wo-body h3 { margin-bottom: 4px; }
.wo-body p { margin-bottom: 8px; color: #2C333A; }
.wo-tag { display: inline-block; font: 700 .74rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); border: 1px solid #B9D3F5; padding: 5px 9px; border-radius: 4px; }
.wo-thumb { margin: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 2; }
.wo-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .wo-card { padding: 4px 16px; } .wo-row, .wo-row.has-thumb { grid-template-columns: 44px 1fr; gap: 14px; }
  .wo-num { width: 42px; height: 42px; line-height: 42px; } .wo-thumb { grid-column: 1 / -1; order: -1; } }

/* K5 fit matrix */
.dot-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; font-weight: 600; font-size: .95rem; }
.dot-legend li { display: flex; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--accent-ink); vertical-align: middle; }
.dot-full { background: var(--accent-ink); }
.dot-half { background: linear-gradient(90deg, var(--accent-ink) 50%, transparent 50%); }
.dot-empty { background: transparent; border-color: var(--sec); }
.k5-scroll { overflow-x: auto; }
.k5 { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.k5 thead th { background: var(--brand); color: #fff; font: 700 .95rem/1.25 var(--head); padding: 14px 12px; text-align: center; }
.k5 thead th:first-child { text-align: left; }
.k5 tbody th { text-align: left; font-weight: 500; padding: 14px 14px; border-top: 1px solid var(--line); max-width: 420px; }
.k5 td { text-align: center; border-top: 1px solid var(--line); padding: 12px; }
.k5 tbody tr:nth-child(even) { background: #FAFBFC; }
.dot-word { display: none; }
.k5-note { margin-top: 14px; color: var(--muted); font-size: .98rem; }
@media (max-width: 760px) {
  .k5, .k5 tbody, .k5 tr, .k5 th, .k5 td { display: block; }
  .k5 { border: 0; background: none; }
  .k5 thead { display: none; }
  .k5 tbody tr { background: #fff !important; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; padding: 6px 14px 10px; }
  .k5 tbody th { border: 0; padding: 10px 0 6px; font-weight: 700; }
  .k5 td { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 8px 0; text-align: left; }
  .k5 td::before { content: attr(data-label); font-weight: 600; }
  .dot-word { display: inline; margin-left: 8px; font-size: .9rem; color: var(--muted); }
  .k5 td .dot { margin-left: auto; }
}

/* B6 icon tile grid */
.b6-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.b6-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 20px; text-align: center; }
.bg-page .b6-tile { background: var(--alt); }
.b6-tile .icon { width: 46px; height: 46px; margin: 0 auto 12px; display: block; }
.b6-tile h3 { font-size: 1.15rem; margin-bottom: 6px; }
.b6-tile p { margin: 0; color: #2C333A; font-size: 1rem; }
@media (max-width: 1000px) { .b6-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .b6-grid { grid-template-columns: 1fr; } }

/* M41 coverage table */
.w6-aside { display: flex; gap: 10px; align-items: center; margin: 12px 0 0; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--accent); padding: 10px 14px; border-radius: 8px; }
.w6-aside .icon { width: 24px; height: 24px; }
.m41-wrap { overflow-x: auto; }
.m41 { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.m41 thead th { background: var(--brand); color: #fff; text-align: left; font: 700 .95rem/1.25 var(--head); padding: 14px 16px; }
.m41 tbody th, .m41 td { text-align: left; vertical-align: top; padding: 13px 16px; border-top: 1px solid var(--line); }
.m41 tbody th { font-weight: 700; white-space: nowrap; }
.m41 tbody th a { color: var(--accent-ink); }
.m41 td:nth-child(2) { white-space: nowrap; color: var(--muted); }
.m41 tbody tr:first-child { background: var(--tint); }
.m41 tbody tr:nth-child(even):not(:first-child) { background: #FAFBFC; }
.home-base { display: inline-block; font: 700 .7rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; background: var(--brand); color: #fff; padding: 5px 7px; border-radius: 4px; margin-left: 6px; vertical-align: middle; }
@media (max-width: 760px) {
  .m41, .m41 tbody, .m41 tr, .m41 th, .m41 td { display: block; }
  .m41 { border: 0; background: none; }
  .m41 thead { display: none; }
  .m41 tbody tr { background: #fff !important; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; margin-bottom: 10px; padding: 8px 14px; }
  .m41 tbody tr:first-child { background: var(--tint) !important; }
  .m41 tbody th, .m41 td { border: 0; padding: 4px 0; white-space: normal; }
  .m41 td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--ink); }
}

/* F2 two-column accordion */
.f2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; align-items: start; }
.f2-col { display: grid; gap: 14px; }
.f2-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.bg-page .f2-item { background: var(--alt); }
.f2-item[open] { border-color: #9DBFEA; box-shadow: 0 6px 18px rgba(24,28,32,.06); }
.f2-item summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative; font: 650 1.08rem/1.35 var(--head); }
.f2-item summary::-webkit-details-marker { display: none; }
.f2-item summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 11px; height: 11px; border-right: 2.5px solid var(--accent-ink);
  border-bottom: 2.5px solid var(--accent-ink); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.f2-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.f2-ans { padding: 0 20px 18px; }
.f2-ans p { color: #2C333A; }
.f2-ans p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .f2-grid { grid-template-columns: 1fr; } }

/* Split image and text */
.split-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split-media-left { grid-template-columns: .9fr 1.1fr; }
.split-media-left .split-media { order: -1; }
.split-media { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media-icon { background: var(--tint); display: flex; align-items: center; justify-content: center; }
.split-media-icon .icon { width: 110px; height: 110px; }
.split-text .sec-head { margin-bottom: 16px; }
.ticks { display: grid; gap: 10px; margin-top: 6px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { width: 24px; height: 24px; margin-top: 2px; }
@media (max-width: 900px) { .split-row, .split-media-left { grid-template-columns: 1fr; gap: 24px; } .split-media-left .split-media { order: 0; } }

/* Option rows (L4) */
.opt-rows { display: grid; gap: 14px; }
.opt-row { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.bg-page .opt-row { background: var(--alt); }
.row-media { margin: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--tint); }
.row-media img { width: 100%; height: 100%; object-fit: cover; }
.row-media-icon { display: flex; align-items: center; justify-content: center; }
.row-media-icon .icon { width: 56px; height: 56px; }
.opt-body h3 { margin-bottom: 4px; }
.opt-body p { margin-bottom: 8px; color: #2C333A; }
.split .opt-row { grid-template-columns: 120px 1fr; }
@media (max-width: 700px) { .opt-row, .split .opt-row { grid-template-columns: 1fr; } .row-media-icon { aspect-ratio: auto; padding: 18px 0; } }

/* Card grid */
.g-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.g-card { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.bg-page .g-card:not(.has-media) { background: var(--alt); }
.g-grid.n4 .g-card { grid-column: span 3; }
.g-grid.n2 .g-card { grid-column: span 3; }
.g-grid.n5 .g-card:nth-child(4) { grid-column: 2 / span 2; }
.g-grid.n5 .g-card:nth-child(5) { grid-column: 4 / span 2; }
.g-grid.g2 { grid-template-columns: 1fr 1fr; }
.g-grid.g2 .g-card { grid-column: auto; }
.card-icon { padding: 22px 22px 0; }
.card-icon .icon { width: 44px; height: 44px; }
.g-body { padding: 16px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.g-body p { color: #2C333A; }
.g-body .text-link { margin-top: auto; }
@media (max-width: 1000px) { .g-grid { grid-template-columns: 1fr 1fr; } .g-card, .g-grid.n4 .g-card, .g-grid.n2 .g-card, .g-grid.n5 .g-card:nth-child(4) { grid-column: auto; }
  .g-grid.n5 .g-card:nth-child(5), .g-grid.n3 .g-card:nth-child(3) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .g-grid, .g-grid.g2 { grid-template-columns: 1fr; } }

/* Checklist */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.checklist .icon { width: 26px; height: 26px; }
@media (max-width: 700px) { .checklist { grid-template-columns: 1fr; } }

/* Closing */
.closing-in { text-align: center; }
.closing-in h2 { color: #fff; }
.closing-in p { color: var(--muted-dark); max-width: 620px; margin-left: auto; margin-right: auto; }
.closing-phone { margin-top: 18px; font-size: .98rem; }

/* FAQ page */
.jump { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.jump a { display: inline-block; background: #fff; border: 1px solid #B9D3F5; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.faq-intro { text-align: center; }
.faq-intro p { font-size: 1.08rem; }
.faq-cat { margin-bottom: 44px; }
.faq-cat:last-child { margin-bottom: 0; }
.faq-cat > h2 { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 3px solid var(--accent); }
.faq-cat > h2 .icon { width: 34px; height: 34px; }
.qa { padding: 22px 0; border-bottom: 1px solid var(--line); max-width: 880px; }
.qa:last-child { border-bottom: 0; }
.qa h3 { color: var(--ink); }
.qa ul.ans-list { display: grid; gap: 6px; margin: 0 0 1em; }
.qa ul.ans-list li { position: relative; padding-left: 22px; }
.qa ul.ans-list li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.ans-table { width: 100%; border-collapse: collapse; margin: 4px 0 1em; font-size: .97rem; background: #fff; }
.ans-table th { background: var(--brand); color: #fff; text-align: left; padding: 10px 12px; font-family: var(--head); }
.ans-table td { border-top: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.ans-scroll { overflow-x: auto; }
.ans-note { background: var(--tint); border-left: 4px solid var(--accent); border-radius: 6px; padding: 12px 16px; margin: 0 0 1em; }
.ans-note p { margin: 0; }
.sources { font-size: .95rem; color: var(--muted); }
.sources ul { display: grid; gap: 4px; margin-top: 8px; }
@media (max-width: 640px) {
  .ans-table, .ans-table tbody, .ans-table tr, .ans-table td { display: block; }
  .ans-table thead { display: none; }
  .ans-table tr { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; padding: 6px 10px; }
  .ans-table td { border: 0; padding: 3px 0; }
  .ans-table td::before { content: attr(data-label) ": "; font-weight: 700; }
}

/* Utility pages */
.util { padding: 56px 0 80px; }
.util-head { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.util-head p { color: var(--muted); font-size: 1.08rem; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--accent); border-radius: var(--r); padding: 28px; }
.fld { display: grid; gap: 6px; margin-bottom: 16px; }
.fld label { font-weight: 700; }
.fld .opt { font-weight: 400; color: var(--muted); }
.fld input, .fld textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 2px solid #8A949D; border-radius: 8px; min-height: 48px; width: 100%; background: #fff; color: var(--ink); }
.fld input[aria-invalid="true"], .fld textarea[aria-invalid="true"] { border-color: #A3261C; }
.fld .err { color: #A3261C; font-weight: 600; font-size: .92rem; }
.honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-weight: 600; margin: 0 0 12px; }
.form-msg.is-error { color: #A3261C; background: #FBECEB; border-left: 4px solid #A3261C; padding: 10px 12px; border-radius: 6px; }
.form-msg.is-ok { color: #1D5B33; background: #E6F2EA; border-left: 4px solid #1D5B33; padding: 10px 12px; border-radius: 6px; }
.side-card { background: var(--alt); border-radius: var(--r); padding: 24px; }
.side-card h2 { font-size: 1.35rem; }
.side-card ul { display: grid; gap: 10px; }
.side-card li { display: flex; gap: 10px; align-items: flex-start; }
.side-card .icon { width: 24px; height: 24px; margin-top: 2px; }
.side-photo { margin: 0 0 18px; border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 2; }
.side-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.legal-body { max-width: 820px; margin: 0 auto; }
.legal-body h2 { font-size: 1.45rem; margin-top: 1.6em; }
.legal-body ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal-body li { margin-bottom: .4em; }
.legal-updated { color: var(--muted); }

/* Calculator restyle (kit classes, site tokens) */
.roof-calc { --calc-font-head: var(--head); --calc-font-body: var(--body); --calc-text: var(--ink); --calc-muted: var(--muted); --calc-surface: #fff;
  --calc-surface-alt: var(--tint); --calc-border: #8A949D; --calc-accent: var(--brand); --calc-accent-text: #fff; --calc-accent-hover: var(--ink);
  --calc-track: #D5DADF; --calc-focus: var(--accent-ink); --calc-radius: 10px; }
.roof-calc .calc-card { border-top: 5px solid var(--accent); box-shadow: 0 12px 30px rgba(24,28,32,.08); }
.roof-calc .calc-btn-primary, .roof-calc .restart { background: var(--cta); color: var(--ink); border-color: var(--cta); }
.roof-calc .calc-btn-primary:hover, .roof-calc .restart:hover { background: var(--cta-h); border-color: var(--cta-h); color: var(--ink); }
.roof-calc .choice-card:has(input:checked) { border-color: var(--accent-ink); }
.roof-calc .choice-icon svg { stroke: var(--accent-ink); }
.roof-calc .step-index { color: var(--accent-ink); font-weight: 700; }
.roof-calc #form-progress::-webkit-progress-value { background: var(--accent); }
.roof-calc #form-progress::-moz-progress-bar { background: var(--accent); }

/* Footer, call bar, callback */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 56px 0 24px; font-size: .97rem; border-top: 1px solid #343B42; }
.site-footer a { color: #E4E9EE; text-decoration: none; }
.site-footer a:hover { color: var(--accent-dark); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr .9fr; gap: 32px; }
.foot-h { color: #fff; font-size: 1.05rem; margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 7px; }
.foot-areas ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.logo-plate { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; }
.logo-plate img { height: 46px; width: auto; }
.foot-phone a { font: 700 1.2rem var(--head); color: #fff; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #343B42; margin-top: 36px; padding-top: 18px; }
.foot-legal ul { display: flex; gap: 18px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.callbar { display: none; }
@media (max-width: 800px) {
  .callbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30; align-items: center; justify-content: center; gap: 8px;
    background: var(--cta); color: var(--ink); font: 700 1rem var(--head); min-height: 52px; border-radius: 10px; text-decoration: none; box-shadow: 0 8px 24px rgba(24,28,32,.3); }
  .callbar .btn-glyph { width: 18px; height: 18px; fill: currentColor; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .nav-open .callbar, .cb-open .callbar { display: none; }
}
.cb { position: fixed; inset: 0; z-index: 60; background: rgba(24,28,32,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cb[hidden] { display: none; }
.cb-box { background: #fff; border-top: 5px solid var(--accent); border-radius: var(--r); max-width: 440px; width: 100%; padding: 28px 24px 22px; position: relative; max-height: 92vh; overflow-y: auto; }
.cb-box h2 { font-size: 1.4rem; padding-right: 36px; }
.cb-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.cb-close svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 2; fill: none; }
.cb-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cb-direct { font-weight: 700; }

@media (max-width: 640px) { .btn-pair { flex-direction: column; align-items: stretch; max-width: 360px; margin-left: auto; margin-right: auto; } .btn-pair .btn { width: 100%; } }
/* Sections spacing on mobile */
@media (max-width: 800px) { .sec { padding: 52px 0; } .facts { padding: 22px 0; } .band { padding: 0; } .hero-h20 { padding: 0; } body { font-size: 16.5px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
