:root {
  --navy: #061d36;
  --navy-2: #0a3157;
  --blue: #1596cf;
  --sky: #7acdf0;
  --orange: #f05a1a;
  --orange-2: #ff7a29;
  --orange-ink: #a92f00;
  --focus: #1c2173;
  --cream: #f6f4ef;
  --white: #fff;
  --ink: #12263b;
  --muted: #596b7d;
  --line: rgba(6,29,54,.12);
  --shadow: 0 22px 65px rgba(6,29,54,.14);
  --radius: 24px;
  --safe-inline-gutter: max(20px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --shell: min(1180px, calc(100% - var(--safe-inline-gutter) - var(--safe-inline-gutter)));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 2px white; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 94px 0; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--cream); }
.section-navy { color: var(--white); background: var(--navy); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--orange-ink); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 10px; background: currentColor; }
h1, h2, h3 { margin-top: 0; color: var(--navy); line-height: 1.02; }
h1 { margin-bottom: 22px; font-size: clamp(48px, 7vw, 84px); letter-spacing: -.06em; }
h2 { margin-bottom: 17px; font-size: clamp(35px, 5vw, 58px); letter-spacing: -.048em; }
h3 { margin-bottom: 10px; font-size: 21px; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }
.lead { max-width: 720px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.section-navy .lead { color: rgba(255,255,255,.72); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head p { margin: 0; color: var(--muted); }
.section-navy .section-head p { color: rgba(255,255,255,.67); }

.topbar { padding-top: env(safe-area-inset-top, 0px); color: rgba(255,255,255,.78); background: #031426; font-size: 12px; }
.topbar-inner { min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar a { color: var(--white); font-weight: 800; text-decoration: none; }
.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.nav { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.logo { width: 146px; height: 84px; object-fit: contain; object-position: left center; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links > a, .nav-drop > button { padding: 10px 0; border: 0; color: var(--navy); background: transparent; font-size: 13px; font-weight: 850; text-decoration: none; cursor: pointer; }
.nav-links > a:hover, .nav-drop > button:hover { color: var(--orange-ink); }
.nav-drop { position: relative; }
.nav-drop-menu { position: absolute; top: calc(100% + 6px); left: -18px; min-width: 230px; padding: 10px; display: none; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: grid; }
.nav-drop-menu a { padding: 10px 11px; color: var(--navy); border-radius: 8px; font-size: 13px; font-weight: 750; text-decoration: none; }
.nav-drop-menu a:hover { color: var(--orange-ink); background: var(--cream); }
.nav-toggle { width: 44px; height: 44px; display: none; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--navy); background: white; cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; width: 20px; height: 2px; display: block; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle span { margin: 4px 0; }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.btn { min-height: 48px; padding: 13px 19px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 0; border-radius: 12px; color: var(--navy); background: white; font-weight: 900; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--navy); background: var(--orange); box-shadow: 0 12px 28px rgba(240,90,26,.26); }
.btn-navy { color: white; background: var(--navy); }
.btn-outline { color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.38); }
.btn-ghost { color: var(--navy); background: transparent; border: 1px solid var(--line); }
.btn-sm { min-height: 42px; padding: 10px 15px; font-size: 13px; }
.btn-block { width: 100%; }
.actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { color: var(--orange-ink); font-weight: 850; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.hero { position: relative; min-height: 620px; display: grid; align-items: center; color: white; overflow: hidden; background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,22,40,.98) 0%, rgba(4,22,40,.86) 36%, rgba(4,22,40,.18) 72%, rgba(4,22,40,.08) 100%), url("hero-home-v2.webp?v=20260714-hero-restoration-v25") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, black, transparent 62%); }
.hero-inner { position: relative; z-index: 1; padding: 90px 0; }
.hero-copy { max-width: 650px; }
.hero .eyebrow { color: var(--sky); }
.hero h1 { max-width: 630px; color: white; font-size: clamp(45px, 5.8vw, 69px); line-height: .95; }
.hero h1 em { display: block; color: var(--orange); font-style: normal; }
.hero p { max-width: 610px; margin: 0; color: rgba(255,255,255,.78); font-size: 19px; line-height: 1.7; }
.hero-proof { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 18px; color: rgba(255,255,255,.74); font-size: 13px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof i { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--sky); font-style: normal; font-weight: 900; }
.hero-disclosure { margin-top: 16px !important; color: rgba(255,255,255,.58) !important; font-size: 10px !important; line-height: 1.4 !important; }
.hero-mobile-visual { display: none; }
.trust-strip { position: relative; z-index: 2; margin-top: -34px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 20px; overflow: hidden; background: white; box-shadow: var(--shadow); }
.trust-item { min-height: 105px; padding: 22px; display: flex; align-items: center; gap: 14px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-icon { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: var(--blue); background: rgba(21,150,207,.1); font-size: 21px; }
.trust-icon svg { width: 23px; height: 23px; display: block; stroke: currentColor; }
.trust-item strong { display: block; color: var(--navy); line-height: 1.25; }
.trust-item > div span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.35; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.card-icon { width: 50px; height: 50px; margin-bottom: 20px; display: grid; place-items: center; border-radius: 14px; color: var(--blue); background: rgba(21,150,207,.1); font-size: 24px; }
.card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.card.featured { color: white; background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow); }
.card.featured h3 { color: white; }
.card.featured p { color: rgba(255,255,255,.67); }
.card.featured .card-icon { color: var(--navy); background: var(--orange); }

.split-visual { min-height: 500px; position: relative; overflow: hidden; border-radius: 28px; background: url("projects/project-08-roof-2-1200.webp") 70% center/cover no-repeat; box-shadow: var(--shadow); }
.split-visual.roof-photo { background-image: url("roof-photo.webp"); background-position: 64% center; }
.split-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,22,40,.55), transparent 55%); }
.split-stat { position: absolute; z-index: 1; left: 24px; bottom: 24px; max-width: 250px; padding: 18px; border-radius: 15px; color: white; background: rgba(6,29,54,.9); backdrop-filter: blur(9px); }
.split-stat strong { display: block; font-size: 28px; }
.split-stat span { color: rgba(255,255,255,.72); font-size: 12px; }
.checklist { margin: 25px 0 0; padding: 0; display: grid; gap: 13px; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; }
.checklist li::before { content: "✓"; flex: 0 0 22px; width: 22px; height: 22px; display: grid; place-items: center; margin-top: 2px; border-radius: 50%; color: white; background: var(--blue); font-size: 12px; font-weight: 900; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { counter-increment: step; padding: 26px; border-radius: 19px; background: white; border: 1px solid var(--line); }
.step::before { content: counter(step); width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; color: white; background: var(--orange); font-weight: 900; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.package { padding: 30px; border-radius: 22px; background: white; border: 1px solid var(--line); }
.package:nth-child(2) { transform: translateY(-12px); border: 2px solid var(--blue); box-shadow: var(--shadow); }
.package-badge { margin-bottom: 17px; display: inline-flex; padding: 6px 9px; border-radius: 7px; color: var(--navy); background: rgba(21,150,207,.12); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.package h3 { font-size: 28px; }
.package .product { color: var(--orange-ink); font-weight: 900; }
.package ul { margin: 22px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; color: var(--muted); font-size: 14px; }
.package li { padding-left: 22px; position: relative; }
.package li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.packages-selectable { align-items: stretch; }
.packages-selectable .package { position: relative; display: flex; flex-direction: column; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.packages-selectable .package:nth-child(2) { transform: none; border-width: 1px; border-color: var(--line); box-shadow: none; }
.packages-selectable .package.selected { transform: translateY(-4px); border: 3px solid var(--orange); box-shadow: 0 18px 48px rgba(6,29,54,.15); }
.package-select { width: 100%; min-height: 48px; margin-top: auto; padding: 12px 14px; border: 1px solid rgba(6,29,54,.18); border-radius: 11px; color: var(--navy); background: var(--cream); font-weight: 900; cursor: pointer; }
.package-select:hover,
.package-select[aria-checked="true"] { color: white; background: var(--navy); border-color: var(--navy); }
.package-choice-summary { margin-top: 28px; padding: 28px; border: 1px solid rgba(21,150,207,.26); border-left: 6px solid var(--orange); border-radius: 18px; background: rgba(21,150,207,.06); }
.package-choice-summary h3 { margin-bottom: 9px; font-size: 28px; }
.package-choice-summary p { max-width: 780px; margin: 0; color: var(--muted); }

.system-guide { margin-top: 34px; padding: 30px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; border: 1px solid var(--line); border-radius: 22px; background: var(--cream); }
.system-guide h3 { margin: 10px 0; font-size: 28px; }
.system-guide p { margin: 0; color: var(--muted); font-size: 14px; }
.system-guide-options { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 9px; }
.system-guide-options button { min-height: 44px; padding: 10px 14px; border: 1px solid rgba(6,29,54,.16); border-radius: 10px; color: var(--navy); background: white; font-weight: 850; cursor: pointer; }
.system-guide-options button:hover, .system-guide-options button[aria-pressed="true"] { color: white; background: var(--navy); border-color: var(--navy); }
.system-guide-result { min-height: 150px; padding: 26px; display: grid; align-content: center; border-radius: 18px; color: white; background: var(--navy); }
.system-guide-result strong { color: var(--sky); font-size: 20px; }
.system-guide-result p { margin-top: 8px; color: rgba(255,255,255,.72); }

.quiz { padding: 32px; border-radius: 24px; background: white; box-shadow: var(--shadow); }
.quiz-progress { height: 8px; margin-bottom: 28px; overflow: hidden; border-radius: 10px; background: var(--cream); }
.quiz-progress span { width: 25%; height: 100%; display: block; background: var(--orange); transition: width .25s ease; }
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-step h3 { font-size: 26px; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.quiz-option { min-height: 50px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--navy); background: var(--cream); font-weight: 800; cursor: pointer; }
.quiz-option:hover { border-color: var(--blue); background: rgba(21,150,207,.08); }
.quiz-result { display: none; }
.quiz-result.active { display: block; }
.quiz-result .result-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 16px; color: white; background: var(--blue); font-size: 28px; }

.testimonial { padding: 30px; border-radius: 20px; background: white; border: 1px solid var(--line); }
.stars { color: var(--orange-ink); letter-spacing: .12em; }
.testimonial blockquote { margin: 18px 0; color: var(--ink); font-size: 16px; line-height: 1.7; }
.testimonial cite { color: var(--muted); font-size: 13px; font-style: normal; font-weight: 800; }
.wide-photo { min-height: 430px; margin-bottom: 50px; border-radius: 28px; background-position: center; background-size: cover; box-shadow: var(--shadow); }

.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { width: 100%; min-height: 44px; padding: 21px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--navy); background: transparent; text-align: left; font-weight: 850; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span:last-child { font-size: 24px; font-weight: 400; transition: transform .2s ease; }
.faq[open] summary span:last-child { transform: rotate(45deg); }
.faq-answer { display: block; max-width: 850px; padding: 0 45px 22px 0; color: var(--muted); }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; align-items: start; }
.centered-note { max-width: 880px; margin: 24px auto 0; text-align: center; }

.cta-band { padding: 50px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border-radius: 26px; color: white; background: linear-gradient(135deg, var(--navy), var(--navy-2)); box-shadow: var(--shadow); }
.cta-band h2 { max-width: 680px; margin: 0; color: white; font-size: clamp(30px, 5vw, 48px); }
.cta-band p { max-width: 650px; margin: 10px 0 0; color: rgba(255,255,255,.68); }

.page-hero { padding: 88px 0 78px; color: white; background: radial-gradient(circle at 82% 10%, rgba(122,205,240,.24), transparent 25%), var(--navy); }
.page-hero .eyebrow { color: var(--sky); }
.page-hero h1 { max-width: 860px; color: white; }
.page-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.72); font-size: 18px; }
.breadcrumbs { margin-bottom: 22px; color: rgba(255,255,255,.56); font-size: 12px; }
.breadcrumbs a { text-decoration: none; }

.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.location { padding: 22px; border-radius: 17px; background: white; border: 1px solid var(--line); }
.location strong { display: block; color: var(--navy); }
.location span { color: var(--muted); font-size: 13px; }
.location.priority { border: 2px solid var(--orange); background: rgba(240,90,26,.04); }
.location.priority::before { content: "Priority area"; display: inline-flex; margin-bottom: 10px; padding: 4px 7px; border-radius: 6px; color: var(--navy); background: var(--orange); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.location-grid-simple { grid-template-columns: repeat(2, 1fr); }

.fine-print { color: var(--muted); font-size: 12px; line-height: 1.55; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: start; }
.contact-card { padding: 30px; border-radius: 21px; background: var(--navy); color: white; }
.contact-card h3 { color: white; }
.contact-list { margin-top: 24px; display: grid; gap: 16px; }
.contact-list a, .contact-list div { color: rgba(255,255,255,.78); text-decoration: none; }
.contact-list strong { display: block; color: var(--sky); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.contact-list span { display: block; margin-top: 3px; }
.callback-card { margin-top: 26px; padding: 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: rgba(255,255,255,.07); }
.callback-card > strong { color: white; font-size: 18px; }
.callback-card p { margin: 8px 0 16px; color: rgba(255,255,255,.72); font-size: 13px; }
.callback-card .btn-ghost { color: white; border-color: rgba(255,255,255,.35); }
.form-card { padding: 32px; border: 1px solid var(--line); border-radius: 21px; background: white; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: grid; gap: 7px; }
.field.wide { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: 12px; font-weight: 850; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; border: 1px solid rgba(6,29,54,.18); border-radius: 10px; color: var(--ink); background: white; }
.field textarea { min-height: 115px; resize: vertical; }
.form-status { display: none; margin-top: 14px; padding: 13px; border-radius: 10px; color: var(--navy); background: rgba(21,150,207,.1); font-size: 13px; }
.form-status.show { display: block; }

.site-footer { padding: 70px 0 30px; color: rgba(255,255,255,.64); background: #031426; }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(3, .75fr); gap: 35px; }
.footer-logo { width: 230px; max-height: 120px; object-fit: contain; object-position: left center; }
.footer-about { max-width: 360px; margin: 17px 0 0; font-size: 13px; }
.social-links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 7px; }
.social-links a { padding: 6px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 800; line-height: 1; text-decoration: none; }
.social-links a:hover { color: white; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.06); }
.footer-grid h3 { color: white; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 50px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; }
.mobile-cta { display: none; }

@media (max-width: 980px) {
  .nav-toggle { display: grid; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; padding: 20px; display: none; align-items: stretch; background: white; border-top: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .nav-links > a, .nav-drop > button { width: 100%; padding: 11px 0; text-align: left; }
  .nav-drop-menu { position: static; margin-top: 5px; display: grid; box-shadow: none; }
  .nav-links .btn { width: 100%; }
  .hero { min-height: 600px; }
  .hero::before { background: linear-gradient(90deg, rgba(4,22,40,.98), rgba(4,22,40,.78)), url("hero-home-v2.webp?v=20260714-hero-restoration-v25") 62% center/cover no-repeat; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-4, .grid-5, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .packages { grid-template-columns: 1fr; }
  .conversion-path-grid { grid-template-columns: 1fr; }
  .package:nth-child(2) { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .system-guide, .faq-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root {
    --safe-inline-gutter: max(14px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    --shell: min(1180px, calc(100% - var(--safe-inline-gutter) - var(--safe-inline-gutter)));
  }
  .topbar-inner { justify-content: center; }
  .topbar-inner span:first-child { display: none; }
  .nav { min-height: 78px; }
  .logo { width: 118px; height: 68px; }
  .section { padding: 68px 0; }
  .hero { min-height: 650px; }
  .hero::before { background: radial-gradient(circle at 82% 18%, rgba(21,150,207,.22), transparent 34%), linear-gradient(145deg, rgba(4,22,40,.55), rgba(4,22,40,.96)); }
  .hero-inner { padding: 72px 0 105px; }
  .hero p { font-size: 16px; }
  .actions { display: grid; }
  .actions .btn { width: 100%; }
  .trust-strip { margin-top: -42px; }
  .trust-grid, .grid-2, .grid-4, .grid-5, .steps, .location-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 90px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .split-visual { min-height: 380px; }
  .quiz-options, .form-grid { grid-template-columns: 1fr; }
  .system-guide-options { display: grid; }
  .field.wide { grid-column: auto; }
  .cta-band { padding: 30px 24px; display: grid; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
  .mobile-cta { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 8px; padding: 8px; border-radius: 15px; background: rgba(3,20,38,.96); box-shadow: 0 15px 40px rgba(0,0,0,.28); }
  .mobile-cta .btn { min-height: 44px; padding: 9px; font-size: 12px; }
  .site-footer { padding-bottom: 95px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .btn:hover,
  .guide-index a:hover,
  .resource-card:hover,
  a.location-card:hover,
  .project-image-button:hover img { transform: none !important; }
}

/* Expanded homeowner-site system */
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 11px 15px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.brand-link { flex: 0 0 auto; }
.nav { gap: 18px; }
.logo { width: 138px; }
.nav-links { gap: 14px; }
.nav-links > a,
.nav-drop-trigger {
  padding: 10px 0;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links > a:hover,
.nav-drop-trigger:hover,
.nav-links [aria-current="page"],
.nav-links [aria-current="true"],
.nav-drop-trigger.active { color: var(--orange-ink); }
.nav-drop-trigger { display: inline-flex; align-items: center; gap: 5px; }
.nav-drop-trigger span { font-size: 14px; }
.nav-drop-menu { min-width: 210px; }
.nav-drop-menu a { font-size: 12.5px; }
.btn { text-align: center; }
.btn.light,
.card-link.light { color: white; border-color: rgba(255,255,255,.24); }
.btn.btn-ghost.light { background: rgba(255,255,255,.06); }
.mini-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--orange-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.card-link,
.review-source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
  color: var(--orange-ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}
.card-link:hover,
.review-source:hover { text-decoration: underline; }
.center-action {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
.intro-paths { padding-top: 118px; }
.conversion-paths { padding: 58px 0; }
.conversion-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.conversion-path-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.conversion-path-grid article { min-width: 0; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 12px 34px rgba(6,29,54,.07); }
.conversion-path-grid article:nth-child(2) { color: white; background: var(--navy); border-color: var(--navy); }
.conversion-path-grid article:nth-child(2) h2 { color: white; }
.conversion-path-grid article:nth-child(2) p { color: rgba(255,255,255,.72); }
.conversion-path-grid article:nth-child(2) .mini-kicker { color: var(--sky); }
.conversion-path-grid h2 { margin-bottom: 12px; font-size: clamp(27px,3vw,35px); }
.conversion-path-grid p { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.conversion-path-grid .btn { margin-top: auto; }
.promise-grid .card { padding: 24px 20px; }
.promise-grid .card-icon { width: 44px; height: 44px; margin-bottom: 16px; font-size: 13px; font-weight: 900; }
.trust-item {
  color: inherit;
  text-decoration: none;
  transition: background .18s ease;
}
.trust-item:hover { background: #f8fbfd; }
.trust-item > span:last-child { min-width: 0; }
.trust-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.photo-frame {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.photo-frame img {
  width: 100%;
  min-height: 390px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.photo-frame figcaption {
  padding: 13px 18px;
  color: rgba(255,255,255,.72);
  background: var(--navy);
  font-size: 12px;
  line-height: 1.5;
}
.proof-split { align-items: stretch; }
.proof-split > div { align-self: center; }
.steps-6 { grid-template-columns: repeat(3, 1fr); }
.steps-5 { grid-template-columns: repeat(5, 1fr); }
.step::before { display: none; }
.step-label {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--orange);
  font-size: 12px;
  font-weight: 900;
}
.section-navy .step {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
}
.section-navy .step p { color: rgba(255,255,255,.7); }
.section-navy .package p { color: var(--muted); }
.section-navy .section-head .eyebrow { color: var(--sky); }
.section-navy .eyebrow,
.section-navy .mini-kicker,
.planner-layout > :first-child > .eyebrow,
.decision-card .eyebrow,
.decision-card .mini-kicker,
.triple-zero-card .eyebrow,
.triple-zero-card .mini-kicker,
.contact-card .eyebrow,
.contact-card .mini-kicker,
.promo-panel .eyebrow,
.promo-panel .mini-kicker,
.warranty-card.company .eyebrow,
.warranty-card.company .mini-kicker,
.cta-band .eyebrow,
.cta-band .mini-kicker { color: var(--sky); }
.light-note { color: rgba(255,255,255,.62); }
.compact-grid .card { padding: 22px; }
.dark-cards .card {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
}
.dark-cards .card h3 { color: white; }
.dark-cards .card p { color: rgba(255,255,255,.68); }
.dark-cards .card-icon { color: var(--navy); background: var(--sky); }
.review-grid { align-items: stretch; }
.testimonial { display: flex; flex-direction: column; }
.testimonial blockquote { flex: 1; }
.testimonial cite {
  color: var(--navy);
  font-size: 14px;
}
.review-source { margin-top: 4px; font-size: 12px; }
.planner-section {
  color: white;
  background:
    radial-gradient(circle at 7% 6%, rgba(122,205,240,.18), transparent 28%),
    var(--navy);
}
.planner-section h2 { color: white; }
.planner-section .lead { color: rgba(255,255,255,.72); }
.planner-section .checklist li { color: rgba(255,255,255,.8); }
.planner {
  padding: 32px;
  color: var(--ink);
  border-radius: 24px;
  background: white;
  box-shadow: 0 26px 70px rgba(0,0,0,.28);
}
.planner-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.planner-restart {
  padding: 5px;
  border: 0;
  color: var(--orange-ink);
  background: transparent;
  font-weight: 850;
  cursor: pointer;
}
.planner-progress {
  height: 8px;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--cream);
}
.planner-progress span {
  width: 16.667%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  transition: width .2s ease;
}
.planner-step { display: none; }
.planner-step.active { display: block; }
.planner-step h3 { font-size: 27px; line-height: 1.12; }
.planner-options {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}
.planner-options button {
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--navy);
  background: var(--cream);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}
.planner-options button:hover,
.planner-options button[aria-pressed="true"] {
  border-color: var(--blue);
  background: rgba(21,150,207,.1);
}
.planner-nav {
  margin-top: 18px;
  display: flex;
}
.planner-back {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--navy);
  background: white;
  font-weight: 800;
  cursor: pointer;
}
.planner-back:disabled { opacity: .35; cursor: default; }
.planner-result { display: none; }
.planner-result.active { display: block; }
.planner-result h3 { margin-top: 12px; font-size: 30px; }
.planner-summary { color: var(--muted); }
.planner-resources { margin: 22px 0; display: grid; gap: 8px; }
.planner-resources a {
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  border-radius: 10px;
  color: var(--navy);
  background: rgba(21,150,207,.1);
  font-weight: 850;
  text-decoration: none;
}
.planner-resources a:hover { background: rgba(21,150,207,.16); }
.planner-prep {
  padding: 18px;
  border-radius: 13px;
  background: var(--cream);
}
.planner-prep strong { color: var(--navy); }
.planner-prep ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
}
.planner-prep li + li { margin-top: 5px; }
.planner-actions { margin-top: 20px; }
.financing-preview { align-items: center; }
.triple-zero-card {
  padding: 38px;
  color: white;
  border-radius: 26px;
  background: radial-gradient(circle at 86% 5%, rgba(122,205,240,.24), transparent 35%), var(--navy);
  box-shadow: var(--shadow);
}
.triple-zero-card h3 { margin-bottom: 20px; color: white; font-size: clamp(42px,6vw,72px); letter-spacing: -.05em; }
.triple-zero-card p { color: rgba(255,255,255,.72); }
.triple-zero-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.triple-zero-grid strong { min-width: 0; padding: 15px 10px; display: grid; justify-items: center; border-radius: 14px; color: white; background: rgba(255,255,255,.09); text-align: center; }
.triple-zero-grid b { color: var(--orange); font-size: 38px; line-height: 1; }
.triple-zero-grid span { margin-top: 7px; font-size: 10px; line-height: 1.25; text-transform: uppercase; letter-spacing: .07em; }
.promo-panel { padding: 46px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 44px; color: white; border-radius: 30px; background: radial-gradient(circle at 10% 0%, rgba(21,150,207,.26), transparent 35%), var(--navy); box-shadow: var(--shadow); }
.promo-panel h2, .promo-panel h3 { color: white; }
.promo-panel .lead { color: rgba(255,255,255,.76); }
.promo-panel .eyebrow { color: var(--sky); }
.promo-panel .triple-zero-grid { margin: 28px 0 0; }
.promo-panel .triple-zero-grid.large strong { padding: 20px 12px; }
.promo-panel .triple-zero-grid.large b { font-size: 48px; }
.promo-side { align-self: stretch; padding: 28px; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; background: rgba(255,255,255,.06); }
.promo-side .mini-kicker { color: var(--sky); }
.promo-side h3 { font-size: 28px; line-height: 1.12; }
.promo-side .checklist li { color: rgba(255,255,255,.78); }
.number-list {
  margin: 22px 0 0;
  padding: 0;
  counter-reset: number-list;
  display: grid;
  gap: 13px;
  list-style: none;
}
.number-list li {
  counter-increment: number-list;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}
.number-list li::before {
  content: counter(number-list);
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--orange);
  font-size: 11px;
  font-weight: 900;
}
.contact-card .number-list { color: rgba(255,255,255,.78); }
.decision-card {
  padding: 34px;
  color: white;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 8%, rgba(122,205,240,.2), transparent 34%),
    var(--navy);
  box-shadow: var(--shadow);
}
.decision-card h3 { color: white; font-size: 28px; line-height: 1.15; }
.decision-card p { color: rgba(255,255,255,.7); }
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.timeline article {
  min-height: 150px;
  padding: 25px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.timeline article > span {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--navy);
  background: var(--orange);
  font-weight: 900;
}
.timeline h3 { margin-top: 3px; }
.timeline p { margin: 0; color: var(--muted); font-size: 14px; }
.warranty-grid { align-items: stretch; }
.warranty-card {
  padding: 38px;
  border-radius: 25px;
  box-shadow: var(--shadow);
}
.warranty-card.manufacturer { color: var(--ink); background: var(--cream); border: 1px solid var(--line); }
.warranty-card.company { color: white; background: var(--navy); }
.warranty-card h2 { font-size: clamp(32px,4vw,48px); }
.warranty-card.company h2 { color: white; }
.warranty-card.company p { color: rgba(255,255,255,.7); }
.warranty-card.company .checklist li { color: rgba(255,255,255,.82); }
.balanced-cards .card:last-child { grid-column: 2 / span 2; }
.project-stage-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
}
.project-stage-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.project-stage-grid span {
  color: var(--orange-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}
.project-stage-grid h3 { margin-top: 12px; }
.project-stage-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.nap-card {
  margin-top: 25px;
  padding: 25px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
}
.nap-card strong { color: var(--navy); }
.nap-card span { color: var(--muted); }
.nap-card a { color: var(--orange-ink); font-weight: 850; text-decoration: none; }
.guide-index {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.guide-index a {
  min-height: 76px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy);
  background: white;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}
.guide-index a:hover { border-color: var(--blue); transform: translateY(-2px); }
.guide-index span {
  color: var(--orange-ink);
  font-size: 11px;
  letter-spacing: .1em;
}
.guide-section { scroll-margin-top: 20px; }
.guide-layout {
  display: grid;
  grid-template-columns: .58fr 1.42fr;
  gap: 70px;
  align-items: start;
}
.guide-layout aside {
  position: sticky;
  top: 28px;
}
.guide-layout aside > span {
  color: var(--orange-ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.guide-layout aside h2 {
  margin-top: 12px;
  font-size: clamp(31px,4vw,48px);
}
.guide-layout > div > p { color: var(--muted); }
.compare-table {
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.compare-table:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  box-shadow: 0 0 0 2px white;
}
.compare-row {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: .8fr 1fr 1.25fr;
  gap: 18px;
  border-top: 1px solid var(--line);
}
.compare-row:first-child { border-top: 0; }
.compare-row.head {
  color: white;
  background: var(--navy);
  font-size: 12px;
  font-weight: 900;
}
.compare-row:not(.head) span { color: var(--muted); }
.legal-shell { max-width: 900px; }
.legal-page h2 { margin-top: 0; font-size: 42px; }
.legal-page h3 { margin-top: 38px; font-size: 24px; }
.legal-page p { color: var(--muted); }
.legal-page .card { margin-top: 38px; }
.empty-state {
  padding: 50px;
  border-radius: 24px;
  background: var(--cream);
  text-align: center;
}
.empty-state .actions { justify-content: center; }
.breadcrumbs { display: flex; gap: 8px; }
.page-hero h1 { font-size: clamp(46px,6.5vw,76px); }
.page-hero .actions { margin-top: 30px; }
.page-hero .btn-outline { background: rgba(255,255,255,.06); }
.footer-grid {
  grid-template-columns: 1.35fr repeat(4,.65fr);
  gap: 28px;
}
.footer-bottom nav { display: flex; gap: 14px; }
.footer-bottom a { color: white; text-decoration: none; }

/* Local authority and homeowner learning pages */
.page-hero-article {
  background: radial-gradient(circle at 78% 12%, rgba(240,90,26,.22), transparent 26%), var(--navy);
}
.page-hero-location {
  background: radial-gradient(circle at 78% 10%, rgba(122,205,240,.28), transparent 28%), linear-gradient(135deg, var(--navy), #073a62);
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.resource-card {
  min-height: 235px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  background: white;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.resource-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow); }
.resource-card > span { color: var(--orange-ink); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.resource-card h3 { margin: 18px 0 10px; font-size: clamp(24px,3vw,32px); }
.resource-card p { margin: 0 0 22px; color: var(--muted); }
.resource-card strong { margin-top: auto; color: var(--navy); }

.article-page { padding: 78px 0 100px; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(210px,.62fr) minmax(0,1.7fr);
  gap: clamp(38px,7vw,92px);
  align-items: start;
}
.article-sidebar { position: sticky; top: 28px; }
.article-sidebar nav { margin: 16px 0 24px; display: grid; border-top: 1px solid var(--line); }
.article-sidebar nav a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 13px; font-weight: 800; text-decoration: none; }
.article-sidebar nav a:hover { color: var(--orange-ink); }
.article-help { padding: 20px; border-radius: 16px; color: white; background: var(--navy); }
.article-help strong { color: var(--sky); }
.article-help p { margin: 8px 0 12px; color: rgba(255,255,255,.72); font-size: 13px; }
.article-help a { color: white; font-weight: 900; text-decoration: none; }
.article-reviewed { margin: 0 0 42px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.article-content { min-width: 0; }
.article-content section { margin-top: 54px; scroll-margin-top: 25px; }
.article-content section:first-of-type { margin-top: 0; }
.article-content h2 { font-size: clamp(30px,4vw,46px); }
.article-content h3 { margin-top: 30px; }
.article-content p, .article-content li { color: var(--muted); font-size: 17px; line-height: 1.75; }
.article-content ul, .article-content ol { padding-left: 22px; }
.article-content li + li { margin-top: 8px; }
.callout { margin: 32px 0; padding: 24px; border-left: 5px solid var(--orange); border-radius: 0 16px 16px 0; background: var(--cream); }
.callout strong { color: var(--navy); font-size: 18px; }
.callout p { margin: 7px 0 0; }
.article-next { margin-top: 64px; padding: 34px; border-radius: 22px; color: white; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.article-next h2 { color: white; }
.article-next p { color: rgba(255,255,255,.72); }
.triple-zero-inline { margin: 24px 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.triple-zero-inline strong { padding: 18px 10px; border-radius: 14px; color: var(--navy); background: var(--cream); text-align: center; }
.triple-zero-inline b { display: block; color: var(--orange-ink); font-size: 38px; line-height: 1; }

.location-grid { align-items: stretch; }
.location-card {
  min-height: 245px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 21px;
  color: var(--ink);
  background: white;
  text-decoration: none;
}
a.location-card { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
a.location-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow); }
.location-card.priority { border: 2px solid var(--orange); }
.location-card > span { color: var(--orange-ink); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.location-card h3 { margin: 18px 0 10px; font-size: 30px; }
.location-card p { margin: 0 0 22px; color: var(--muted); }
.location-card strong, .location-card > a { margin-top: auto; color: var(--navy); font-weight: 900; text-decoration: none; }
.location-card.future { background: var(--cream); }
.location-intro { display: grid; grid-template-columns: 1.35fr .65fr; gap: 50px; align-items: center; }
.feature-rail { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; overflow: hidden; border-radius: 22px; background: rgba(255,255,255,.14); }
.feature-rail article { padding: 28px; background: rgba(255,255,255,.06); }
.feature-rail span { color: var(--orange); font-size: 12px; font-weight: 900; }
.feature-rail h3 { margin-top: 14px; color: white; }
.feature-rail p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; }
.planning-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.planning-grid article { padding: 24px; border-radius: 18px; background: white; border: 1px solid var(--line); }
.planning-grid b { color: var(--orange-ink); font-size: 12px; letter-spacing: .1em; }
.planning-grid h3 { margin-top: 20px; }
.planning-grid p { margin: 0; color: var(--muted); font-size: 13px; }

/* Real project and homeowner proof */
.real-project-preview { overflow: hidden; }
.real-proof-grid {
  display: grid;
  grid-template-columns: 1.45fr .85fr;
  grid-template-rows: repeat(2, minmax(210px, 1fr));
  gap: 16px;
}
.real-proof-grid figure,
.project-intro-photo,
.project-homeowner,
.project-card-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
}
.real-proof-feature { grid-row: 1 / 3; }
.real-proof-grid img,
.project-intro-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.real-proof-grid figcaption,
.project-intro-photo figcaption,
.project-card-photo figcaption {
  position: static;
  padding: 13px 16px;
  color: var(--ink);
  background: white;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}
.project-intro-photo { align-self: center; }
.project-intro-photo img { aspect-ratio: 4 / 3; }
.homeowner-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.project-homeowner-photo { background: #e8eef3; }
.project-homeowner-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
.project-homeowner > figcaption {
  display: grid;
  gap: 5px;
  padding: 16px 18px 17px;
  color: white;
  background: var(--navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.project-homeowner > figcaption strong { color: white; font-size: 15px; font-weight: 900; }
.project-homeowner > figcaption span { color: rgba(255,255,255,.78); }
.real-proof-grid .project-homeowner.compact { box-shadow: none; }
.real-proof-grid .project-homeowner.compact figcaption { padding: 12px 15px 13px; }
.real-proof-grid .project-homeowner.compact figcaption span { font-size: 12px; }
.project-library {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.project-record {
  min-width: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 12px 32px rgba(6,29,54,.07);
}
.project-record-head { margin-bottom: 18px; }
.project-record-head h2 { margin: 8px 0 10px; font-size: clamp(24px,3vw,32px); line-height: 1.08; }
.project-record-head p { margin: 0; color: var(--muted); font-size: 15px; }
.project-card-photo { margin-top: auto; box-shadow: none; }
.project-image-button {
  position: relative;
  width: 100%;
  padding: 0;
  display: block;
  overflow: hidden;
  border: 0;
  color: white;
  background: var(--navy);
  cursor: zoom-in;
}
.project-image-button img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform .25s ease;
}
.project-image-button:hover img { transform: scale(1.02); }
.project-image-button > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 11px;
  border-radius: 999px;
  color: white;
  background: rgba(3,20,38,.88);
  font-size: 12px;
  font-weight: 900;
}
.project-record-actions {
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.project-record-actions a,
.text-button { color: var(--navy); font-size: 13px; font-weight: 900; text-decoration: none; }
.text-button { padding: 0; border: 0; background: none; cursor: pointer; }
.text-button:hover,
.project-record-actions a:hover { text-decoration: underline; }
.project-lightbox {
  width: min(1040px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 22px;
  color: white;
  background: var(--navy);
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
}
.project-lightbox::backdrop { background: rgba(1,12,24,.82); }
.lightbox-panel { position: relative; padding: 58px 18px 18px; }
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  color: white;
  background: transparent;
  cursor: pointer;
}
.project-lightbox figure { margin: 0; }
.project-lightbox img { display: block; width: 100%; max-height: 70vh; object-fit: contain; border-radius: 14px; background: #07192d; }
.project-lightbox figcaption { padding: 14px 2px 2px; display: flex; justify-content: space-between; gap: 18px; }
.project-lightbox figcaption strong { color: white; }
.project-lightbox figcaption span { color: rgba(255,255,255,.7); font-size: 13px; }
.lightbox-controls { margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; }
.lightbox-controls button { padding: 10px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; color: white; background: rgba(255,255,255,.08); cursor: pointer; }
.privacy-proof { display: grid; grid-template-columns: 1.1fr .9fr; gap: 38px; align-items: center; }
.privacy-proof .section-head { margin: 0; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 1120px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 112px);
    padding: 20px;
    display: none;
    overflow-y: auto;
    align-items: stretch;
    background: white;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: grid; }
  .nav-links > a,
  .nav-drop-trigger { width: 100%; padding: 11px 0; text-align: left; }
  .nav-drop-menu {
    position: static;
    margin: 4px 0 10px;
    display: grid;
    box-shadow: none;
  }
  .nav-links .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1.2fr repeat(2, .8fr); }
}

@media (max-width: 980px) {
  .steps-5 { grid-template-columns: repeat(2,1fr); }
  .steps-6 { grid-template-columns: repeat(2,1fr); }
  .guide-index { grid-template-columns: repeat(2,1fr); }
  .guide-layout { grid-template-columns: 1fr; gap: 28px; }
  .guide-layout aside { position: static; }
  .project-stage-grid { grid-template-columns: repeat(2,1fr); }
  .balanced-cards .card:last-child { grid-column: auto; }
  .timeline { grid-template-columns: 1fr; }
  .promo-panel { grid-template-columns: 1fr; }
  .article-layout, .location-intro { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-sidebar nav { grid-template-columns: repeat(2,1fr); gap: 0 20px; }
  .feature-rail, .planning-grid { grid-template-columns: repeat(2,1fr); }
  .real-proof-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .real-proof-feature { grid-row: auto; grid-column: 1 / 3; }
  .project-library { grid-template-columns: 1fr; }
  .homeowner-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .privacy-proof { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .intro-paths { padding-top: 92px; }
  .photo-frame img { min-height: 300px; aspect-ratio: 4 / 3; }
  .steps-5,
  .steps-6,
  .guide-index,
  .project-stage-grid { grid-template-columns: 1fr; }
  .planner { padding: 24px 19px; }
  .planner-step h3 { font-size: 23px; }
  .planner-actions { display: grid; }
  .triple-zero-card, .promo-panel { padding: 28px 22px; }
  .triple-zero-grid b, .promo-panel .triple-zero-grid.large b { font-size: 36px; }
  .triple-zero-grid span { font-size: 9px; }
  .timeline article { grid-template-columns: 42px 1fr; padding: 20px; }
  .timeline article > span { width: 40px; height: 40px; }
  .warranty-card { padding: 27px 22px; }
  .compare-table { overflow-x: auto; }
  .compare-row { min-width: 650px; }
  .legal-page h2 { font-size: 34px; }
  .empty-state { padding: 34px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom nav { flex-wrap: wrap; }
  .resource-grid, .feature-rail, .planning-grid, .triple-zero-inline { grid-template-columns: 1fr; }
  .article-page { padding: 56px 0 82px; }
  .article-sidebar nav { grid-template-columns: 1fr; }
  .article-content p, .article-content li { font-size: 16px; }
  .article-next { padding: 28px 22px; }
  .real-proof-grid, .homeowner-proof-grid { grid-template-columns: 1fr; }
  .real-proof-feature { grid-column: auto; }
  .real-proof-grid figure { min-height: 240px; }
  .project-record { padding: 18px; border-radius: 20px; }
  .project-image-button img { height: 240px; }
  .project-record-actions { align-items: flex-start; flex-direction: column; }
  .project-lightbox figcaption { align-items: flex-start; flex-direction: column; }
  .project-homeowner { min-height: 0; }
  .project-homeowner img { aspect-ratio: auto; }
}

/* Mobile-first stabilization and resilient progressive enhancement.
   Keep this layer last so it wins over the legacy responsive rules above. */
:root {
  color-scheme: light;
  --mobile-cta-clearance: 112px;
}

body {
  overflow-wrap: break-word;
}

body.lightbox-open {
  overflow: hidden;
}

a,
button {
  touch-action: manipulation;
}

p,
li,
a,
strong,
span {
  overflow-wrap: anywhere;
}

/* These controls only appear after their JavaScript behavior is ready. */
.package-select,
.system-guide-options {
  display: none;
}

.packages-enhanced .package-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.system-guide-enhanced .system-guide-options {
  display: flex;
}

.planner-static-fallback {
  padding: 24px;
  border: 1px solid rgba(21,150,207,.24);
  border-left: 5px solid var(--orange);
  border-radius: 16px;
  background: var(--cream);
}

.planner-static-fallback h3 {
  margin-bottom: 8px;
}

.planner-static-fallback p {
  margin: 0;
  color: var(--muted);
}

.planner-fallback-links {
  margin-top: 18px;
  display: grid;
  gap: 9px;
}

.planner-fallback-links > a {
  min-height: 44px;
  padding: 10px 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  background: white;
  font-weight: 850;
  text-decoration: none;
}

.planner:not(.planner-enhanced) .planner-top,
.planner:not(.planner-enhanced) .planner-progress,
.planner:not(.planner-enhanced) .planner-step,
.planner:not(.planner-enhanced) .planner-nav,
.planner:not(.planner-enhanced) .planner-result {
  display: none;
}

.planner.planner-enhanced .planner-static-fallback {
  display: none;
}

.planner.planner-enhanced .planner-top {
  display: flex;
}

.planner.planner-enhanced .planner-progress {
  display: block;
}

.planner.planner-enhanced .planner-step.active,
.planner.planner-enhanced .planner-result.active {
  display: block;
}

.planner.planner-enhanced .planner-nav {
  display: flex;
}

.nav-drop-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-submenu-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  background: white;
  cursor: pointer;
}

.nav-submenu-toggle span {
  transition: transform .18s ease;
}

.nav-submenu-toggle[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.selected-system-note {
  margin: 0 0 28px;
  padding: 22px 24px;
  border: 1px solid rgba(21,150,207,.28);
  border-left: 6px solid var(--orange);
  border-radius: 17px;
  background: rgba(21,150,207,.07);
}

.selected-system-note[hidden] {
  display: none;
}

.selected-system-note strong {
  display: block;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
}

.selected-system-note p {
  max-width: 780px;
  margin: 8px 0 0;
  color: var(--muted);
}

@media (max-width: 1120px) {
  /* With JavaScript unavailable, keep every navigation destination usable. */
  .nav {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    flex: 1 0 100%;
    max-height: none;
    padding: 14px 0 20px;
    display: grid;
    gap: 2px;
    overflow: visible;
    border-top: 1px solid var(--line);
    box-shadow: none;
  }

  .nav-links > a,
  .nav-drop-trigger,
  .nav-drop-menu a {
    width: 100%;
    min-height: 44px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    text-align: left;
    white-space: normal;
  }

  .nav-drop-menu {
    position: static;
    margin: 2px 0 8px;
    padding: 0 0 0 16px;
    display: grid;
    border: 0;
    box-shadow: none;
  }

  /* Once the menu script is initialized, use the compact disclosure menu. */
  .nav-enhanced .nav {
    flex-wrap: nowrap;
  }

  .nav-enhanced .nav-toggle {
    display: grid;
  }

  .nav-enhanced .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 75;
    max-height: var(--nav-menu-max-height, calc(100dvh - 134px));
    padding: 14px max(20px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    display: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: white;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-enhanced .nav-links.open {
    display: grid;
  }

  .nav-enhanced .nav-submenu-toggle {
    display: grid;
  }

  .nav-enhanced .nav-drop-row .nav-drop-trigger {
    flex: 1 1 auto;
  }

  .nav-enhanced .nav-drop-menu,
  .nav-enhanced .nav-drop:hover .nav-drop-menu,
  .nav-enhanced .nav-drop:focus-within .nav-drop-menu {
    display: none;
  }

  .nav-enhanced .nav-drop .nav-drop-menu.open,
  .nav-enhanced .nav-drop:hover .nav-drop-menu.open,
  .nav-enhanced .nav-drop:focus-within .nav-drop-menu.open {
    display: grid;
  }

  .nav-enhanced .nav-links .btn {
    width: 100%;
    min-height: 48px;
  }

  .topbar a,
  .btn-sm,
  .planner-restart,
  .planner-back,
  .planner-resources a,
  .planner-actions a,
  .project-record-actions a,
  .project-record-actions button,
  .text-button,
  .review-source,
  .card-link,
  .nap-card a,
  .system-guide-result a,
  .footer-links a,
  .footer-bottom a,
  .contact-list a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .social-links a,
  .lightbox-close,
  .lightbox-controls button {
    min-width: 44px;
    min-height: 44px;
  }

  .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .lightbox-panel {
    padding-left: max(18px, env(safe-area-inset-left, 0px));
    padding-right: max(18px, env(safe-area-inset-right, 0px));
  }

  .lightbox-close {
    top: max(14px, env(safe-area-inset-top, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 980px) {
  .conversion-path-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .conversion-path-grid article {
    min-width: 0;
  }
}

@media (max-width: 820px) {
  .grid-2,
  .contact-grid,
  .faq-layout,
  .system-guide,
  .privacy-proof {
    grid-template-columns: minmax(0, 1fr);
  }

  .photo-frame img,
  .real-proof-grid img,
  .project-intro-photo img,
  .project-image-button img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .photo-frame img,
  .real-proof-grid img,
  .project-intro-photo img,
  .project-image-button img {
    object-fit: cover;
  }

  .project-homeowner-photo img,
  .project-homeowner img {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .real-proof-grid figure {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --safe-inline-gutter: max(14px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    --shell: min(1180px, calc(100% - var(--safe-inline-gutter) - var(--safe-inline-gutter)));
  }

  html {
    scroll-padding-bottom: calc(var(--mobile-cta-clearance) + env(safe-area-inset-bottom));
  }

  .topbar-inner {
    min-height: 44px;
  }

  .topbar a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .site-header {
    z-index: 70;
  }

  .nav-enhanced .nav-links {
    max-height: var(--nav-menu-max-height, calc(100dvh - 122px));
  }

  .nav {
    min-height: 78px;
  }

  .logo {
    width: 118px;
    height: 68px;
  }

  .section {
    padding: 60px 0;
  }

  .section-sm {
    padding: 48px 0;
  }

  h1 {
    font-size: clamp(36px, 11vw, 43px);
    line-height: 1;
  }

  h2 {
    font-size: clamp(30px, 9vw, 39px);
    line-height: 1.04;
  }

  .hero {
    min-height: 0;
  }

  .hero::before {
    background: radial-gradient(circle at 82% 18%, rgba(21,150,207,.22), transparent 34%), linear-gradient(145deg, rgba(4,22,40,.55), rgba(4,22,40,.96));
  }

  .hero-inner {
    padding: 52px 0 82px;
  }

  .hero h1 {
    font-size: clamp(37px, 11.5vw, 46px);
    line-height: .98;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-mobile-visual {
    margin: 24px 0 0;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 15px;
    box-shadow: 0 18px 40px rgba(0,0,0,.24);
  }

  .hero-mobile-visual img {
    width: 100%;
    height: auto;
  }

  .hero-disclosure {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  .hero-proof {
    gap: 12px;
  }

  .page-hero {
    padding: 54px 0 50px;
  }

  .page-hero h1 {
    font-size: clamp(35px, 10.5vw, 43px);
    line-height: 1;
  }

  .page-hero p {
    font-size: 16px;
    line-height: 1.6;
  }

  .breadcrumbs {
    min-width: 0;
    flex-wrap: wrap;
    line-height: 1.5;
  }

  .conversion-paths {
    padding: 48px 0;
  }

  .conversion-path-grid article {
    padding: 22px;
  }

  .conversion-path-grid h2 {
    font-size: clamp(27px, 8vw, 33px);
  }

  .planner {
    padding: 22px 18px;
  }

  .planner-static-fallback {
    padding: 20px 17px;
  }

  .planner-restart,
  .planner-back,
  .planner-resources a,
  .planner-actions a,
  .project-record-actions a,
  .project-record-actions button,
  .text-button,
  .review-source,
  .card-link,
  .breadcrumbs a,
  .text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .breadcrumbs a {
    color: rgba(255,255,255,.84);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .planner-options button {
    min-height: 52px;
  }

  .btn-sm,
  .faq summary {
    min-height: 44px;
  }

  .triple-zero-grid span,
  .promo-panel .triple-zero-grid span {
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: .045em;
  }

  .triple-zero-grid strong {
    padding-inline: 7px;
  }

  .real-proof-grid,
  .homeowner-proof-grid {
    gap: 14px;
  }

  .project-record {
    padding: 16px;
  }

  .project-image-button img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .project-image-button > span {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .social-links a {
    min-width: 44px;
    min-height: 44px;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .footer-links a,
  .footer-bottom a,
  .contact-list a {
    min-height: 44px;
    padding-block: 8px;
    display: inline-flex;
    align-items: center;
  }

  .site-footer {
    padding-bottom: calc(var(--mobile-cta-clearance) + env(safe-area-inset-bottom));
  }

  .mobile-cta {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 50;
    padding: 8px;
  }

  body.nav-open .mobile-cta,
  body.lightbox-open .mobile-cta {
    display: none;
  }

  .project-lightbox {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    margin: auto;
    overflow: auto;
    overscroll-behavior: contain;
    border-radius: 16px;
  }

  .lightbox-panel {
    min-height: 0;
    padding: calc(58px + env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  }

  .project-lightbox img {
    max-height: calc(100vh - 240px);
    max-height: calc(100dvh - 240px);
  }

  .lightbox-close,
  .lightbox-controls button {
    min-width: 44px;
    min-height: 44px;
  }

  .lightbox-controls button {
    flex: 1 1 0;
  }

  .compare-table {
    position: relative;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: inset -24px 0 22px -24px rgba(6,29,54,.7);
  }

  .compare-table::after {
    content: "Swipe to compare →";
    position: sticky;
    left: 10px;
    bottom: 8px;
    z-index: 3;
    padding: 5px 8px;
    display: inline-block;
    border-radius: 999px;
    color: white;
    background: rgba(6,29,54,.88);
    font-size: 11px;
    font-weight: 850;
    pointer-events: none;
  }

  .compare-row > :first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    padding-right: 8px;
    background: white;
    box-shadow: 9px 0 14px -14px rgba(6,29,54,.75);
  }

  .compare-row.head > :first-child {
    background: var(--navy);
  }

  .selected-system-note {
    padding: 20px 18px;
  }
}

@media (max-width: 900px) and (max-height: 600px) and (orientation: landscape) {
  html {
    scroll-padding-bottom: calc(var(--mobile-cta-clearance) + env(safe-area-inset-bottom));
  }

  .mobile-cta {
    position: fixed;
    z-index: 50;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 8px;
    padding: 8px;
    border-radius: 15px;
    background: rgba(3,20,38,.96);
    box-shadow: 0 15px 40px rgba(0,0,0,.28);
  }

  .mobile-cta .btn {
    min-height: 44px;
    padding: 9px;
    font-size: 12px;
  }

  .site-footer {
    padding-bottom: calc(var(--mobile-cta-clearance) + env(safe-area-inset-bottom));
  }

  body.nav-open .mobile-cta,
  body.lightbox-open .mobile-cta {
    display: none;
  }
}
