/* Bright Roofline: additions on top of styles.css */
.hero {
  background-color: #0c0c0e;
  background-image: url("../images/gen/01-warm-white-dusk-hero-1280.jpg");
  background-position: 70% center;
}
@media (max-width: 699px) { .hero { background-position: 78% center; min-height: 62vh; } }
.hero-band { background: linear-gradient(90deg, rgba(10,10,12,0.78) 0%, rgba(10,10,12,0.45) 55%, rgba(10,10,12,0) 100%); }
.hero h1 { background: rgba(10,10,12,0.55); }

/* Bright Roofline logo v2 (brighter amber, near-white wordmark).
   Full wordmark in the header at every width; the icon is the fallback only
   where the wordmark physically cannot fit (under 340px). */
.brand-logo { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand-logo img { display: block; width: auto; max-width: none; }
.brand-logo .brand-lockup { height: 56px; }
.brand-logo .brand-icon { display: none; height: 48px; }
@media (max-width: 1020px) { .site-header .brand-logo .brand-lockup { height: 42px; } }
@media (max-width: 760px) { .site-header .brand-logo .brand-lockup { height: 38px; } }
@media (max-width: 480px) { .site-header .brand-logo .brand-lockup { height: 40px; } }
@media (max-width: 400px) { .site-header .brand-logo .brand-lockup { height: 38px; } }
@media (max-width: 339px) {
  .site-header .brand-logo .brand-lockup { display: none; }
  .site-header .brand-logo .brand-icon { display: block; }
}
.footer-wordmark .brand-lockup { height: 60px; }
.footer-tagline-2 { color: var(--muted); font-style: italic; margin-top: -0.4rem; }

/* Services */
.service-tile { position: relative; overflow: hidden; }
.service-tile .swatch { height: 6px; border-radius: 6px; margin-bottom: 1rem; }
.sw-rgb { background: linear-gradient(90deg,#F5B54A,#4cc9f0,#ff6bd6,#7cfc9a,#b38cff); }
.sw-holiday { background: repeating-linear-gradient(90deg,var(--amber) 0 14px,#ffe2b0 14px 18px,#3a3a42 18px 30px); }
.sw-warm { background: linear-gradient(90deg,#ffcf7a,var(--surface-2),#ffcf7a); }
.sw-service { background: linear-gradient(90deg,#3a3a42,var(--amber)); }

/* Product feature (CSS/SVG illustration, no brand photography) */
.track-illustration { background: linear-gradient(180deg,#141416,#1d1d22); padding: 1.5rem; }
.track-illustration svg { width: 100%; height: auto; }
.spec-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); margin: 1.25rem 0; }
.spec { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 0.75rem 0.9rem; }
.spec strong { display: block; font-family: var(--font-display); color: var(--heading); font-size: 1.15rem; }
.spec span { font-size: 0.88rem; color: var(--muted); }
.note { font-size: 0.9rem; color: var(--muted); border-left: 3px solid var(--amber); padding-left: 0.75rem; }

/* Service area chips */
.area-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.area-chips li { background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 0.4rem 0.95rem; font-weight: 600; color: var(--heading); }

/* Quote page */
.service-choice { border: 0; padding: 0; margin: 0 0 1.25rem; }
.service-choice legend { font-family: var(--font-display); font-weight: 700; color: var(--heading); font-size: 1.2rem; margin-bottom: 0.75rem; }
.service-cards { display: grid; gap: 0.6rem; }
@media (min-width: 560px) { .service-cards { grid-template-columns: 1fr 1fr; } }
.service-card { display: flex; gap: 0.65rem; align-items: flex-start; border: 2px solid var(--border); border-radius: 12px; padding: 0.8rem 0.9rem; cursor: pointer; background: var(--surface); }
.service-card:hover { border-color: var(--amber); }
.service-card input { margin-top: 0.3rem; accent-color: var(--amber); width: 18px; height: 18px; flex-shrink: 0; }
.service-card strong { display: block; color: var(--heading); line-height: 1.3; }
.service-card small { color: var(--muted); line-height: 1.35; display: block; }
.service-card:has(input:checked) { border-color: var(--amber); background: var(--surface-2); }
.form-section-title { font-family: var(--font-display); color: var(--heading); font-size: 1.2rem; margin: 1.25rem 0 0.75rem; }
.footage-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .footage-row { grid-template-columns: 1fr 1fr; } }
.or-sep { text-align: center; font-size: 0.85rem; color: var(--muted); margin: -0.25rem 0 0.75rem; }
.estimate-box { margin: 1.25rem 0 0.5rem; }
.estimate-box .range { margin: 0.35rem 0; }
.estimate-box small { color: rgba(255,255,255,0.85); display: block; font-size: 0.85rem; line-height: 1.45; }
.form-success { text-align: center; }
textarea { min-height: 96px; resize: vertical; }

/* Compare page */
.internal-banner { background: var(--surface-2); color: var(--amber); border: 1px solid var(--line); border-radius: 10px; padding: 0.85rem 1rem; font-weight: 600; margin-bottom: 1.5rem; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
table.dealer-table { width: 100%; border-collapse: collapse; min-width: 860px; background: var(--surface); font-size: 0.95rem; }
.dealer-table th, .dealer-table td { padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.dealer-table thead th { background: var(--bg-deep); color: var(--ink); font-family: var(--font-display); font-weight: 700; }
.dealer-table tbody th { color: var(--heading); font-family: var(--font-display); white-space: nowrap; }
.dealer-table tr.pick { background: var(--surface-2); }
.dealer-table tr.pick th::after { content: "Startup pick"; display: inline-block; margin-left: 0.5rem; background: var(--amber); color: var(--on-amber); font-family: var(--font-body); font-size: 0.72rem; padding: 0.15rem 0.5rem; border-radius: 999px; vertical-align: middle; }
.flag { color: var(--amber); font-weight: 700; }
.ok { color: #86d9a0; font-weight: 700; }

/* Free quote / call-back section + hours */
.free-quote { background: var(--surface-2); }
.free-quote-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .free-quote-grid { grid-template-columns: 1fr 1.1fr; } }
.eyebrow--dark { color: var(--heading); border-color: rgba(245,181,74,0.4); }
.big-phone { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--heading); margin-bottom: 0.35rem; }
.big-phone a { text-decoration: none; }
.phone-placeholder-note { display: block; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; color: var(--amber); }
.vm-note { font-size: 0.95rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0.7rem 0.9rem; }
.hours-list { list-style: none; padding: 0; margin: 0; max-width: 360px; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px dashed var(--border); }
.hours-list--footer li { border-bottom-color: rgba(255,255,255,0.18); font-size: 0.92rem; }
.site-footer .phone-placeholder { font-weight: 700; color: var(--ink); }
.site-footer .phone-placeholder-note { color: var(--amber-2); font-size: 0.8rem; }
.footer-vm { font-size: 0.85rem; opacity: 0.85; margin-top: 0.6rem; }
.optional { font-weight: 400; color: var(--muted); font-size: 0.85em; }

/* Compare page extras */
.corrections-box { background: var(--surface-2); border: 1px solid var(--amber); border-left: 5px solid var(--amber); border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 2rem; }
.corrections-box h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.corrections-box li { margin-bottom: 0.4rem; }
.rank-list li { margin-bottom: 0.6rem; }
.line-note { font-weight: 600; color: var(--heading); font-size: 0.95rem; margin-bottom: 0.6rem; }
.footer-line-note { opacity: 0.85; }
.hero-copy .eyebrow { display: table; }
.hero h1 + .hero-tagline { margin-top: 0.75rem; }

/* Holiday + city additions */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero-season { margin: 0.9rem 0 0; font-size: 0.92rem; font-weight: 600; color: #ffe2b0; }
.hero--holiday { background-position: 30% center; }
.sw-takedown { background: repeating-linear-gradient(135deg,#3a3a42 0 10px,var(--surface-2) 10px 20px); }
.sw-presets { background: linear-gradient(90deg,var(--amber),#ff6bd6,#4cc9f0,#FFC46B); }
.sw-green { background: linear-gradient(90deg,#1f7a3a,#ffe2b0,#1f7a3a); }
.sw-green2 { background: repeating-linear-gradient(90deg,#2f9b4f 0 8px,#ffe2b0 8px 12px); }
.way-card { display: flex; flex-direction: column; }
.way-card .btn { align-self: flex-start; margin-top: auto; }
.holiday-price small { color: rgba(255,255,255,0.88); display: block; font-size: 0.88rem; margin-top: 0.35rem; }
.steps-list { padding-left: 1.25rem; }
.steps-list li { margin-bottom: 0.6rem; }
.page-hero--night { background: linear-gradient(135deg,#0c0c0e 0%,#1d1d22 60%,var(--bg-deep) 100%); }
.page-hero .btn-secondary { color: var(--ink); border-color: rgba(244,239,230,0.85); }
.area-chips a { text-decoration: none; color: inherit; }
.area-card { text-decoration: none; color: var(--text); transition: 0.15s ease; }
.area-card:hover { border-color: var(--amber); transform: translateY(-2px); }
.area-card h3 { margin-bottom: 0.2rem; }
.area-card p { color: var(--muted); margin-bottom: 0.5rem; }
.area-card span { color: var(--amber); font-weight: 700; font-size: 0.92rem; }

/* Satellite quote engine + calculator */
.quote-engine-wrap { max-width: 820px; margin-inline: auto; }
.quote-engine-wrap .wizard { margin-bottom: 1.25rem; }
.trace-map { height: 440px; border-radius: 12px; border: 1px solid var(--border); background: #141416; cursor: crosshair; }
@media (max-width: 600px) { .trace-map { height: 360px; } }
.trace-map.leaflet-container { cursor: crosshair; }
.trace-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; margin: 0.75rem 0; }
.trace-total { display: flex; align-items: baseline; gap: 0.5rem; }
.trace-total span { font-weight: 700; color: var(--muted); }
.trace-total strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--heading); }
.trace-total small { color: var(--muted); }
.trace-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.9rem; }
.linklike { background: none; border: 0; padding: 0; color: var(--heading); text-decoration: underline; font: inherit; cursor: pointer; }
.map-status { border-radius: 10px; padding: 0.7rem 0.9rem; background: var(--surface-2); border: 1px solid var(--line); color: var(--heading); font-weight: 600; font-size: 0.95rem; }
.map-status--warn { background: var(--surface-2); border-color: var(--amber); color: var(--amber-2); }
.map-status--ok { background: var(--surface-2); border-color: var(--line); color: #86d9a0; }
.outline-hint { font-size: 0.92rem; background: var(--surface-2); border-radius: 10px; padding: 0.6rem 0.8rem; }
.est-feet { margin-bottom: 0.75rem; }
.est-grid { display: grid; gap: 0.9rem; }
@media (min-width: 640px) { .est-grid { grid-template-columns: 1fr 1fr; } }
.est-card { border: 2px solid var(--border); border-radius: 12px; padding: 1rem 1.1rem; background: var(--surface); }
.est-card h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.est-card small { color: var(--muted); }
.est-card--focus { border-color: var(--amber); background: var(--surface-2); box-shadow: var(--shadow); }
.est-range { font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 700; color: var(--heading); margin: 0.2rem 0; }
.tier-set { border: 0; padding: 0; margin: 1.25rem 0 0.5rem; }
.tier-set legend { font-weight: 700; color: var(--heading); margin-bottom: 0.5rem; }
.tier-chips { display: grid; gap: 0.6rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 520px) { .tier-chips { grid-template-columns: 1fr; } }
.tier-chip { display: flex; gap: 0.5rem; align-items: flex-start; border: 2px solid var(--border); border-radius: 12px; padding: 0.7rem 0.8rem; cursor: pointer; background: var(--surface); }
.tier-chip input { margin-top: 0.3rem; accent-color: var(--amber); }
.tier-chip strong { display: block; color: var(--heading); }
.tier-chip small { display: block; color: var(--muted); }
.tier-chip em { display: block; font-style: normal; font-size: 0.82rem; color: var(--muted); }
.tier-chip:has(input:checked) { border-color: var(--amber); background: var(--surface-2); }
.addons { margin-top: 1rem; border: 1px solid var(--border); border-radius: 12px; padding: 0.75rem 1rem; }
.addons summary { font-weight: 700; color: var(--heading); cursor: pointer; }
.addon-grid { display: grid; gap: 0.25rem 1rem; margin-top: 0.75rem; }
@media (min-width: 560px) { .addon-grid { grid-template-columns: 1fr 1fr; } }
.addon-grid label small { font-weight: 400; color: var(--muted); }
.check-row { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--heading); padding: 0.4rem 0; }
.check-row input { width: 18px; height: 18px; accent-color: var(--amber); }
.check-row small { font-weight: 400; color: var(--muted); }
.est-disclaimer { margin-top: 1rem; font-size: 0.92rem; color: var(--muted); }
.calc-lines { list-style: none; padding: 0; margin: 0.5rem 0; text-align: left; font-size: 0.9rem; }
.calc-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; border-bottom: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.92); }
.calc-note { color: rgba(255,255,255,0.88); display: block; margin-top: 0.5rem; }
.data-attrib { font-size: 0.78rem; color: var(--muted); text-align: center; }
.leaflet-container a { color: var(--heading); }
.btn-row-inline { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; } .way-card .btn-row-inline .btn { margin-top: 0; }

.breadcrumb--light, .breadcrumb--light a { color: rgba(255,255,255,0.85); }
.ba-grid { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
.ba-card { margin: 0; }
.ba-frame { aspect-ratio: 4 / 3; border-radius: var(--radius); display: grid; place-items: center; border: 2px dashed var(--border); }
.ba-frame span { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; padding: 0.4rem 0.8rem; border-radius: 999px; }
.ba-card--before .ba-frame { background: linear-gradient(180deg,var(--surface-2) 0%,var(--surface-2) 60%,var(--surface-2) 100%); color: var(--muted); }
.ba-card--before .ba-frame span { background: rgba(255,255,255,0.8); }
.ba-card--after .ba-frame { background: radial-gradient(ellipse at 50% 35%, rgba(255,207,122,0.35), transparent 55%), linear-gradient(180deg,#0c0c0e,#1d1d22); border-color: var(--line); color: var(--ink); box-shadow: inset 0 0 60px rgba(255,207,122,0.15); }
.ba-card--after .ba-frame span { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,241,214,0.4); }
.ba-card figcaption { margin-top: 0.6rem; color: var(--muted); }
.footer-address a { color: rgba(255,255,255,0.9); }
.fq-address { font-size: 0.95rem; }
.leaflet-control-layers-toggle { background-image: none !important; width: auto !important; height: auto !important; padding: 6px 10px; font: 700 12px/1.2 var(--font-body); color: var(--heading) !important; text-decoration: none; }
.leaflet-control-layers-toggle::after { content: "Map type"; }
.leaflet-touch .leaflet-control-layers-toggle { width: auto !important; height: auto !important; }
/* (legacy text wordmark rules, unused) */
.logo-wm-stack .logo-wm-top { font-family: var(--font-body); font-weight: 800; color: var(--ink); font-size: 27px; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; width: auto !important; }
.logo-wm-stack { width: auto !important; }
.logo-wm-stack .logo-wm-sub { font-size: 10.6px; letter-spacing: 0.52em; margin-top: 5px; }
@media (max-width: 960px) { .logo-wm-stack .logo-wm-top { font-size: 21px; } .logo-wm-stack .logo-wm-sub { font-size: 8.2px; letter-spacing: 0.5em; } }
.footer-wordmark .logo-wm-stack .logo-wm-top { font-size: 32px; }
.footer-wordmark .logo-wm-stack .logo-wm-sub { font-size: 12.5px; }

/* ---------- Quote engine: "Which sides?" picker ---------- */
.side-front { --side: #ffd166; } .side-left { --side: #4cc9f0; } .side-right { --side: #ff6bd6; } .side-back { --side: #7cfc9a; }
.side-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: var(--side, #ccc); border: 1px solid rgba(0,0,0,0.25); flex-shrink: 0; vertical-align: -2px; margin-right: 0.4rem; }
.side-picker { border: 2px solid var(--border); border-radius: 12px; padding: 0.8rem 0.9rem 0.6rem; margin: 0 0 1rem; background: var(--surface); }
.side-picker legend { font-weight: 800; color: var(--heading); padding: 0 0.3rem; }
.side-presets { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.7rem; }
.btn-curb { background: var(--surface); color: var(--heading); border-color: var(--amber); }
.btn-curb small { font-weight: 600; opacity: 0.8; }
.btn-curb[aria-pressed="true"] { background: var(--bg-deep); color: var(--ink); }
.btn-curb[aria-pressed="true"] small { color: #ffd166; opacity: 1; }
.side-checks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin-bottom: 0.5rem; }
@media (max-width: 640px) { .side-checks { grid-template-columns: 1fr 1fr; } }
.side-check { display: flex; align-items: center; gap: 0.15rem; border: 2px solid var(--border); border-radius: 10px; padding: 0.55rem 0.6rem; cursor: pointer; font-weight: 700; color: var(--heading); line-height: 1.2; min-height: 44px; }
.side-check input { accent-color: var(--amber); width: 18px; height: 18px; margin-right: 0.35rem; flex-shrink: 0; }
.side-check small { font-weight: 600; color: var(--muted); }
.side-check:has(input:checked) { border-color: var(--side); background: color-mix(in srgb, var(--side) 16%, var(--surface)); box-shadow: inset 4px 0 0 var(--side); }
.side-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-bottom: 0.6rem; }
.side-tabs-label { font-weight: 700; color: var(--muted); font-size: 0.92rem; margin-right: 0.2rem; }
.side-tab { display: inline-flex; align-items: center; border: 2px solid var(--border); background: var(--surface); color: var(--heading); font: inherit; font-weight: 700; font-size: 0.92rem; border-radius: 999px; padding: 0.45rem 0.85rem; cursor: pointer; min-height: 40px; }
.side-tab[aria-pressed="true"] { border-color: var(--amber); background: var(--bg-deep); color: var(--ink); box-shadow: 0 0 0 3px var(--side); }
@media (max-width: 520px) { .side-tabs-label { width: 100%; } .side-tab { flex: 1 1 0; justify-content: center; padding: 0.45rem 0.4rem; } }
.side-summary { margin: 0.9rem 0 1rem; overflow-x: auto; }
.side-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.side-table th, .side-table td { text-align: left; padding: 0.45rem 0.4rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.side-table thead th { font-size: 0.82rem; color: var(--muted); font-weight: 700; }
.side-table tbody th { white-space: nowrap; color: var(--heading); }
.side-table .side-input { width: 5.2rem; padding: 0.4rem 0.5rem; border: 1px solid var(--border); border-radius: 8px; font: inherit; }
.side-table .side-src { color: var(--muted); font-size: 0.86rem; }
.side-table .side-src.is-est { color: var(--amber-2); font-style: italic; }
.side-table .side-src.is-est::after { content: " (estimate)"; font-style: normal; font-weight: 700; }
.side-table tr.is-off th, .side-table tr.is-off td.side-on { opacity: 0.55; }
.side-table tfoot th, .side-table tfoot td { border-bottom: 0; font-weight: 800; color: var(--heading); }
@media (max-width: 520px) { .side-table thead th:nth-child(2), .side-table td.side-on { display: none; } .side-table tfoot th { } }
.curb-box { border: 2px solid #ffd166; background: linear-gradient(180deg, #141416, #1d1d22); color: var(--ink); border-radius: 14px; padding: 1rem 1.1rem; margin: 0 0 1rem; box-shadow: var(--shadow); }
.curb-kicker { font-weight: 800; color: #ffd166; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.82rem; margin: 0; }
.curb-price { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.5rem); font-weight: 700; margin: 0.15rem 0; color: var(--ink); }
.curb-sub { font-size: 0.9rem; opacity: 0.9; margin: 0 0 0.5rem; }
.upsell-title { font-weight: 800; margin: 0.6rem 0 0.3rem; }
.upsell-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.upsell-list li { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.08); border-radius: 10px; padding: 0.45rem 0.6rem; }
.upsell-list li.upsell-all { grid-template-columns: 1fr auto auto; }
.upsell-list small { opacity: 0.8; }
.upsell-delta { font-weight: 800; color: #ffd166; white-space: nowrap; }
.upsell-list .btn { color: var(--ink); border-color: rgba(255,255,255,0.8); padding: 0.35rem 0.8rem; }
.upsell-note { font-size: 0.88rem; opacity: 0.85; margin: 0.4rem 0 0; }
@media (max-width: 520px) { .upsell-list li { grid-template-columns: auto 1fr auto; } .upsell-list li .upsell-delta { grid-column: 2; } .upsell-list li .btn { grid-row: 1 / span 2; grid-column: 3; } .upsell-list li.upsell-all { grid-template-columns: 1fr auto; } .upsell-list li.upsell-all .upsell-delta { grid-column: 1; } .upsell-list li.upsell-all .btn { grid-column: 2; } }
.header-ctas .btn-phone .btn-label { white-space: nowrap; }

/* ---------- Image styles ---------- */
.hero--photo { background-color: #0c0c0e; background-size: cover; }
.hero--gen-01 { background-image: url("../images/gen/01-warm-white-dusk-hero-1280.jpg"); background-image: image-set(url("../images/gen/01-warm-white-dusk-hero-1280.webp") type("image/webp"), url("../images/gen/01-warm-white-dusk-hero-1280.jpg") type("image/jpeg")); background-position: 60% 45%; }
@media (max-width: 699px) { .hero--gen-01 { background-image: url("../images/gen/01-warm-white-dusk-hero-800.jpg"); background-image: image-set(url("../images/gen/01-warm-white-dusk-hero-800.webp") type("image/webp"), url("../images/gen/01-warm-white-dusk-hero-800.jpg") type("image/jpeg")); background-position: 62% 50%; } }
.hero--gen-05 { background-image: url("../images/gen/05-holiday-red-green-1280.jpg"); background-image: image-set(url("../images/gen/05-holiday-red-green-1280.webp") type("image/webp"), url("../images/gen/05-holiday-red-green-1280.jpg") type("image/jpeg")); background-position: 60% 40%; }
@media (max-width: 699px) { .hero--gen-05 { background-image: url("../images/gen/05-holiday-red-green-800.jpg"); background-image: image-set(url("../images/gen/05-holiday-red-green-800.webp") type("image/webp"), url("../images/gen/05-holiday-red-green-800.jpg") type("image/jpeg")); background-position: 62% 50%; } }
.hero--photo .hero-band { background: linear-gradient(90deg, rgba(10,10,12,0.92) 0%, rgba(10,10,12,0.72) 48%, rgba(10,10,12,0.18) 100%); }
@media (max-width: 699px) { .hero--photo .hero-band { background: linear-gradient(180deg, rgba(10,10,12,0.82) 0%, rgba(10,10,12,0.7) 60%, rgba(10,10,12,0.55) 100%); } }
.hero--photo h1 { background: none; }
.page-hero--photo { position: relative; background-size: cover; background-position: center 40%; }
.page-hero--gen-01 { background-image: linear-gradient(90deg, rgba(10,10,12,0.93) 0%, rgba(10,10,12,0.8) 55%, rgba(10,10,12,0.45) 100%), url("../images/gen/01-warm-white-dusk-hero-1280.jpg"); background-image: linear-gradient(90deg, rgba(10,10,12,0.93) 0%, rgba(10,10,12,0.8) 55%, rgba(10,10,12,0.45) 100%), image-set(url("../images/gen/01-warm-white-dusk-hero-1280.webp") type("image/webp"), url("../images/gen/01-warm-white-dusk-hero-1280.jpg") type("image/jpeg")); }
@media (max-width: 699px) { .page-hero--gen-01 { background-image: linear-gradient(rgba(10,10,12,0.84), rgba(10,10,12,0.84)), url("../images/gen/01-warm-white-dusk-hero-800.jpg"); background-image: linear-gradient(rgba(10,10,12,0.84), rgba(10,10,12,0.84)), image-set(url("../images/gen/01-warm-white-dusk-hero-800.webp") type("image/webp"), url("../images/gen/01-warm-white-dusk-hero-800.jpg") type("image/jpeg")); } }
.page-hero--gen-02 { background-image: linear-gradient(90deg, rgba(10,10,12,0.93) 0%, rgba(10,10,12,0.8) 55%, rgba(10,10,12,0.45) 100%), url("../images/gen/02-every-peak-traced-after-night-1280.jpg"); background-image: linear-gradient(90deg, rgba(10,10,12,0.93) 0%, rgba(10,10,12,0.8) 55%, rgba(10,10,12,0.45) 100%), image-set(url("../images/gen/02-every-peak-traced-after-night-1280.webp") type("image/webp"), url("../images/gen/02-every-peak-traced-after-night-1280.jpg") type("image/jpeg")); }
@media (max-width: 699px) { .page-hero--gen-02 { background-image: linear-gradient(rgba(10,10,12,0.84), rgba(10,10,12,0.84)), url("../images/gen/02-every-peak-traced-after-night-800.jpg"); background-image: linear-gradient(rgba(10,10,12,0.84), rgba(10,10,12,0.84)), image-set(url("../images/gen/02-every-peak-traced-after-night-800.webp") type("image/webp"), url("../images/gen/02-every-peak-traced-after-night-800.jpg") type("image/jpeg")); } }
.page-hero--gen-10 { background-image: linear-gradient(90deg, rgba(10,10,12,0.93) 0%, rgba(10,10,12,0.8) 55%, rgba(10,10,12,0.45) 100%), url("../images/gen/10-warm-white-twilight-subtle-1280.jpg"); background-image: linear-gradient(90deg, rgba(10,10,12,0.93) 0%, rgba(10,10,12,0.8) 55%, rgba(10,10,12,0.45) 100%), image-set(url("../images/gen/10-warm-white-twilight-subtle-1280.webp") type("image/webp"), url("../images/gen/10-warm-white-twilight-subtle-1280.jpg") type("image/jpeg")); }
@media (max-width: 699px) { .page-hero--gen-10 { background-image: linear-gradient(rgba(10,10,12,0.84), rgba(10,10,12,0.84)), url("../images/gen/10-warm-white-twilight-subtle-800.jpg"); background-image: linear-gradient(rgba(10,10,12,0.84), rgba(10,10,12,0.84)), image-set(url("../images/gen/10-warm-white-twilight-subtle-800.webp") type("image/webp"), url("../images/gen/10-warm-white-twilight-subtle-800.jpg") type("image/jpeg")); } }
.page-hero--gen-04 { background-image: linear-gradient(90deg, rgba(10,10,12,0.93) 0%, rgba(10,10,12,0.8) 55%, rgba(10,10,12,0.45) 100%), url("../images/gen/04-rgb-color-night-1280.jpg"); background-image: linear-gradient(90deg, rgba(10,10,12,0.93) 0%, rgba(10,10,12,0.8) 55%, rgba(10,10,12,0.45) 100%), image-set(url("../images/gen/04-rgb-color-night-1280.webp") type("image/webp"), url("../images/gen/04-rgb-color-night-1280.jpg") type("image/jpeg")); }
@media (max-width: 699px) { .page-hero--gen-04 { background-image: linear-gradient(rgba(10,10,12,0.84), rgba(10,10,12,0.84)), url("../images/gen/04-rgb-color-night-800.jpg"); background-image: linear-gradient(rgba(10,10,12,0.84), rgba(10,10,12,0.84)), image-set(url("../images/gen/04-rgb-color-night-800.webp") type("image/webp"), url("../images/gen/04-rgb-color-night-800.jpg") type("image/jpeg")); } }
.hero, .page-hero--photo { position: relative; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
@media (max-width: 699px) { .ba-pair { grid-template-columns: 1fr; } }
.ba-pair figure { position: relative; margin: 0; }
.ba-badge { position: absolute; top: 0.6rem; left: 0.6rem; z-index: 2; background: var(--amber); color: var(--on-amber); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 999px; }
.gallery-h { margin: 0 0 1rem; font-size: 1.35rem; }
.inspo-grid picture, .ba-pair picture, .tile-photo picture, .photo-figure picture { display: block; }
.service-tile .tile-photo picture { height: 100%; }
.photo-figure { margin: 0; }
.photo-figure img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); }
.photo-figure figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 0.45rem; }
.photo-figure--wide img { aspect-ratio: 16 / 7; object-fit: cover; object-position: center 45%; }
@media (max-width: 699px) { .photo-figure--wide img { aspect-ratio: 3 / 2; } }
.photo-figure--portrait img { aspect-ratio: 4 / 5; object-fit: cover; }
.photo-row { margin-top: 2rem; }
.photo-split { align-items: center; }

/* ===== Bright Roofline theme: charcoal + warm amber (WCAG AA checked) ===== */
html { background: var(--bg); color-scheme: dark; }
body { background: var(--bg); color: var(--text); }
h1, h2, h3, h4 { color: var(--heading); }
a { color: var(--amber-2); }
a:hover { color: #FFD898; }
.section { background: var(--bg); }
.section-alt { background: #18181B; }
.section-navy, .cta-band { background: radial-gradient(120% 140% at 50% -20%, rgba(245,181,74,0.13), rgba(245,181,74,0) 55%), var(--bg-deep); }
.card, .service-tile { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); }
.eyebrow { color: var(--amber-2); }
.eyebrow--dark { color: var(--amber-2); }

/* Buttons: amber primary with dark text (contrast 10.4:1) */
.btn-primary, .btn-primary:visited { background: var(--amber); color: var(--on-amber); border-color: var(--amber); box-shadow: 0 0 0 rgba(0,0,0,0); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--amber-2); color: var(--on-amber); box-shadow: var(--glow); }
.btn-secondary { color: var(--ink); border-color: rgba(244,239,230,0.7); }
.btn-secondary:hover { background: rgba(244,239,230,0.08); color: var(--amber-2); border-color: var(--amber-2); }
.btn-outline { color: var(--amber-2); border-color: var(--amber); background: transparent; }
.btn-outline:hover { background: rgba(245,181,74,0.12); color: #FFD898; }
.btn-phone { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.btn-phone:hover { background: var(--amber); color: var(--on-amber); }
.btn:focus-visible { outline: 3px solid var(--amber-2); outline-offset: 2px; }

/* Header */
.site-header { background: rgba(14,14,16,0.96); border-bottom: 1px solid rgba(245,181,74,0.55); box-shadow: 0 1px 0 rgba(245,181,74,0.15), 0 8px 24px rgba(0,0,0,0.35); backdrop-filter: blur(6px); }
.site-nav a, .main-nav a { color: var(--ink); }
.site-nav a:hover, .main-nav a:hover, .site-nav a[aria-current="page"], .main-nav a[aria-current="page"] { color: var(--amber-2); }

/* Forms: readable inputs on dark */
input, select, textarea { color-scheme: dark; }
.form-group input, .form-group select, .form-group textarea,
.contact-form input, .contact-form textarea, .wizard input, .wizard select, .wizard textarea {
  background: #141417; color: var(--ink); border: 1px solid #6E6A64;
}
.form-group input::placeholder, textarea::placeholder, input::placeholder { color: #8E877D; opacity: 1; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 2px solid var(--amber); border-color: var(--amber); box-shadow: 0 0 0 4px rgba(245,181,74,0.15); }
.form-group label, label { color: var(--ink); }
.form-hint, small { color: var(--muted); }

/* Footer */
.site-footer { background: #0B0B0D; color: var(--muted); border-top: 1px solid rgba(245,181,74,0.35); }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--amber-2); }
.site-footer h3 { color: var(--amber); }

/* Hero badge glow */
.hero .eyebrow, .hero-badge { color: var(--amber-2); text-shadow: 0 0 18px rgba(255,196,107,0.45); }
.hero-sub-tag { font-family: var(--font-display); font-style: italic; color: var(--ink); font-size: clamp(1.05rem, 2vw, 1.3rem); margin: 0.25rem 0 0.75rem; }

/* Service tile photos (replace old color swatches) */
.service-tile { padding-top: 0; }
.service-tile .tile-photo { margin: 0 -1.5rem 1rem; aspect-ratio: 16 / 9; overflow: hidden; background: #141416; border-bottom: 1px solid var(--line); }
.service-tile .tile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-tile .tile-photo--art svg { width: 100%; height: 100%; display: block; }

/* Inspiration gallery */
.inspo-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .inspo-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .inspo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .inspo-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.inspo-grid figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.inspo-grid img, .ba-pair img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.ba-pair figure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ba-pair figcaption { padding: 0.7rem 0.9rem 0.85rem; font-size: 0.9rem; color: var(--muted); line-height: 1.45; }
.ba-pair figcaption strong, .inspo-grid figcaption strong { display: block; color: var(--heading); }
.inspo-grid figcaption { padding: 0.7rem 0.9rem 0.85rem; font-size: 0.9rem; color: var(--muted); line-height: 1.45; }
.inspo-grid figcaption strong { color: var(--ink); display: block; font-size: 0.95rem; }
.inspo-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 1rem; }
.photo-figure figcaption { color: var(--muted); }

/* See it in person */
.see-in-person .sip-wrap { max-width: 760px; text-align: center; }
.see-in-person p { color: var(--text); }
.see-in-person .sip-ctas { justify-content: center; margin-top: 1.25rem; }
.photo-credit { display: block; margin-top: 0.3rem; font-size: 0.78rem; color: var(--muted); }
.photo-credit a { color: var(--muted); }

/* Mobile header: phone button collapses to its icon so the full wordmark fits (360px+) */
@media (max-width: 560px) {
  .header-ctas .btn-phone .btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-ctas .btn-phone { padding: 0.5rem 0.62rem; gap: 0; }
}

/* ===== Tagline pair (hero + footer) ===== */
.hero-tagline-pair { margin: 0 0 0.85rem; font-family: var(--font-display); font-size: clamp(1.15rem, 2.4vw, 1.55rem); line-height: 1.3; }
.hero-tagline-pair strong { color: var(--amber-2); font-weight: 700; text-shadow: 0 0 18px rgba(255,196,107,0.45); }
.hero-tagline-pair span { color: var(--ink); font-style: italic; }
.footer-tagline-pair { font-size: 1.05rem; line-height: 1.4; }
.footer-tagline-pair span { color: var(--ink); font-weight: 500; font-style: italic; }

/* ===== Lead-gated quote (/quote/ + holiday calculator) ===== */
.gate-steps { list-style: none; display: flex; gap: 0.5rem; padding: 0; margin: 0 0 1rem; counter-reset: gs; flex-wrap: wrap; }
.gate-steps li { counter-increment: gs; flex: 1 1 0; min-width: 0; font-size: 0.85rem; color: var(--muted); border-top: 3px solid var(--line); padding-top: 0.4rem; }
.gate-steps li::before { content: counter(gs) ". "; font-weight: 700; }
.gate-steps li.is-active { color: var(--heading); border-top-color: var(--amber); font-weight: 600; }
.gate-steps li.is-done { color: var(--ink); border-top-color: rgba(255,182,39,0.45); }
.quote-gate .gate-step + .gate-step { margin-top: 0; }
.field-error { color: #FFB4A8; font-size: 0.88rem; margin: 0.3rem 0 0; }
.form-group input[aria-invalid="true"] { border-color: #FF8A7A; box-shadow: 0 0 0 2px rgba(255,138,122,0.25); }
.addr-status { font-size: 1.1rem; line-height: 1.5; color: var(--ink); margin: 0 0 1rem; }
.addr-status strong { color: var(--heading); }
.gate-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.gate-actions .btn { flex: 1 1 200px; }
.check-row--big { font-size: 1.05rem; font-weight: 600; margin: 0.25rem 0 1rem; }
.alert-error { background: #2A1714; color: #FFD9D2; border: 1px solid #7A3A30; margin-top: 1rem; }
.alert-error a { color: #FFE2B0; }
.gate-result .wizard-body > * + * { margin-top: 0.85rem; }
.gate-sent { color: var(--ink); font-size: 1.02rem; }
.est-range--none { font-family: var(--font-display); font-size: 1.35rem; color: var(--amber-2); }
#hc-result { margin-top: 1rem; }
#hc-result .gate-sent { margin-bottom: 0.75rem; }
.calc-contact { margin-top: 1.25rem; }

/* SEO pass: city accent block, county list, footer service-area links */
.city-accent{margin-top:2rem;max-width:860px}
.city-accent h3{margin-bottom:.4rem}
.city-links{font-size:.95rem}
.county-list{list-style:none;padding:0;margin:0 auto;max-width:760px;display:grid;gap:.6rem}
.county-list li{padding:.75rem 1rem;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.02)}
.footer-areas p{margin:0;padding:1rem 0 0;font-size:.9rem;color:var(--muted,#B8AFA3)}
.footer-areas a{color:inherit;text-decoration:underline;text-underline-offset:2px}

/* Home hero v2 (gen 11): show the lit house; dim only the text side. */
.hero--gen-11 { background-image: url("../images/gen/11-hero-v2-lights-visible-1280.jpg"); background-image: image-set(url("../images/gen/11-hero-v2-lights-visible-1280.webp") type("image/webp"), url("../images/gen/11-hero-v2-lights-visible-1280.jpg") type("image/jpeg")); background-position: 78% 42%; }
.hero--photo.hero--gen-11 .hero-band { background: linear-gradient(90deg, rgba(10,10,12,0.80) 0%, rgba(10,10,12,0.66) 30%, rgba(10,10,12,0.30) 44%, rgba(10,10,12,0) 58%); }
.hero--gen-11 .hero-copy { max-width: 540px; }
.hero--gen-11 h1, .hero--gen-11 .hero-tagline, .hero--gen-11 .hero-season, .hero--gen-11 .hero-tagline-pair { text-shadow: 0 1px 3px rgba(0,0,0,0.65), 0 0 18px rgba(0,0,0,0.45); }
@media (max-width: 699px) {
  /* Phones: the whole house sits in a picture band above the text instead of being cropped behind it. */
  .hero--gen-11 { display: block; min-height: 0; padding-top: 74vw;
    background-image: url("../images/gen/11-hero-v2-lights-visible-800.jpg"); background-image: image-set(url("../images/gen/11-hero-v2-lights-visible-800.webp") type("image/webp"), url("../images/gen/11-hero-v2-lights-visible-800.jpg") type("image/jpeg"));
    background-size: 160% auto; background-position: 74% 0; background-repeat: no-repeat; }
  .hero--photo.hero--gen-11 .hero-band { background: linear-gradient(180deg, rgba(12,12,14,0) 0, rgba(12,12,14,0.86) 64px, #0c0c0e 120px); padding-top: 3.25rem; }
}
.phone-actions { display: flex; gap: 0.5rem; margin: 0.25rem 0 0.75rem; }
/* gen-11 hero, tablet widths: copy covers more of the image, so darken further across */
@media (min-width: 700px) and (max-width: 1100px) {
  .hero--photo.hero--gen-11 .hero-band { background: linear-gradient(90deg, rgba(10,10,12,0.86) 0%, rgba(10,10,12,0.78) 50%, rgba(10,10,12,0.40) 72%, rgba(10,10,12,0.08) 90%); }
}

/* ===== Sticky mobile action bar ===== */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr auto auto; gap: 0.4rem; align-items: stretch;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 0.5rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom));
    background: rgba(12,12,14,0.96); border-top: 1px solid rgba(255,255,255,0.12);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 -6px 20px rgba(0,0,0,0.35); }
  .mobile-bar a { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 48px;
    border-radius: 12px; text-decoration: none; font-weight: 700; line-height: 1.1; white-space: nowrap; }
  .mobile-bar .mb-call { border: 1.5px solid rgba(255,255,255,0.85); color: var(--ink); padding: 0.3rem 0.6rem; }
  .mobile-bar .mb-small { font-size: 0.7rem; font-weight: 600; opacity: 0.85; letter-spacing: 0.02em; }
  .mobile-bar .mb-num { font-size: 1rem; }
  .mobile-bar .mb-text { border: 1.5px solid rgba(255,255,255,0.85); color: var(--ink); padding: 0 0.85rem; font-size: 0.92rem; }
  .mobile-bar .mb-quote { background: var(--amber); color: var(--on-amber); padding: 0 0.95rem; font-size: 0.95rem; }
  .mobile-bar a:focus-visible { outline: 3px solid rgba(244,239,230,0.85); outline-offset: 2px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}
@media (max-width: 374px) {
  .mobile-bar .mb-num { font-size: 0.92rem; }
  .mobile-bar .mb-text, .mobile-bar .mb-quote { padding: 0 0.6rem; font-size: 0.86rem; }
}

/* ===== Article helpers (comparison table, checklist) ===== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; }
.table-wrap .compare-table { min-width: 560px; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 0.6rem; }
.checklist li { position: relative; padding-left: 1.6rem; }
.checklist li::before { content: "!"; position: absolute; left: 0; top: 0.05rem; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--amber); color: var(--on-amber); font-weight: 800; font-size: 0.75rem; display: grid; place-items: center; }
.card ul { padding-left: 1.1rem; margin: 0 0 0.9rem; }
.card ul li { margin-bottom: 0.3rem; }

/* Validation messages: the gate JS toggles [hidden]; base styles.css hid them unconditionally */
.field-error:not([hidden]) { display: block; }
.field-error[hidden] { display: none; }
/* Phone links that sit next to running text get an underline (a11y: link-in-text-block) */
.footer-phone a, .footer-line-note a, .vm-note a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) { body.is-typing .mobile-bar { transform: translateY(110%); } .mobile-bar { transition: transform 0.2s ease; } }
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .mobile-bar { transition: none; } }
