/* /solar-ppa/ v2 "Quiz → Estimate → Book a call" (preview). Inter-first type, #0066CC the only accent. */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 800; font-display: optional; src: url("inter-latin-var-c940764593d0.woff2") format("woff2"); }
:root {
  color-scheme: light;
  --black: #000;
  --white: #fff;
  --card: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #555;
  --line: #e5e5e5;
  --blue: #0066cc;
  --blue-hover: #0057b0;
  --green: #34c759;
  --radius: 16px;
  --gutter: clamp(18px, 5vw, 64px);
  --ease: 200ms ease;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; letter-spacing: -.03em; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.quiz-card :focus-visible { outline-color: var(--blue); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 100px; background: #fff; color: var(--ink); font-weight: 600; }
.skip-link:focus { top: 12px; }
.container { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

/* Preview ribbon: internal QA only, never part of the published page. */
.preview-ribbon { margin: 0; padding: 6px var(--gutter); background: #fff4c2; color: #3d2f00; font-size: 12px; line-height: 1.4; text-align: center; }

/* Header */
.site-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter); background: var(--black); color: #fff; }
.site-header .logo { width: auto; height: 26px; }
.header-call { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; font-size: 14px; font-weight: 600; text-decoration: none; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--black); color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.78) 34%, #000 62%); }
.hero-inner { display: grid; gap: 20px; padding-block: 18px 28px; }
.pill { display: inline-flex; width: fit-content; align-items: center; min-height: 28px; padding: 4px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin-top: 12px; font-size: clamp(32px, 8.4vw, 60px); font-weight: 800; }
.hero-sub { margin-top: 10px; max-width: 34em; color: #e8e8ed; font-size: 15px; line-height: 1.5; }
.rate-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.rate-chips li { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 12px; border-radius: 100px; font-size: 13px; font-weight: 600; line-height: 1.3; }
.chip-ppa { background: var(--blue); color: #fff; }
.chip-utility { background: rgba(255,255,255,.14); color: #fff; }
.chip-ppa a { margin-left: 1px; color: #fff; text-decoration: none; }
/* Run 12 (ADDENDUM-7): CT + MA residential averages as a two-row box with a source caption (replaces the single CT chip). */
.rate-chips { align-items: flex-start; }
.rate-chips li.rate-box { display: grid; gap: 1px; padding: 6px 12px; border-radius: 14px; }
.rate-box .rate-row { display: flex; gap: 8px; }
.rate-box .rate-st { min-width: 2em; font-weight: 800; }
.rate-box .rate-caption { font-size: 12px; font-weight: 500; color: #e8e8ed; }
.trust-line { margin-top: 10px; color: #d2d2d7; font-size: 12px; line-height: 1.5; }
.trust-line .star { color: #ffd479; }

/* Quiz card */
.quiz-card { position: relative; width: 100%; max-width: 460px; padding: 18px 18px 20px; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: 0 18px 50px rgba(0,0,0,.35); scroll-margin-top: 12px; }
.quiz-card:focus { outline: none; }
.quiz-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.quiz-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.quiz-bar span { display: block; width: 25%; height: 100%; border-radius: 4px; background: var(--blue); transition: width var(--ease); }
.quiz-step-label { min-width: 74px; color: var(--muted); font-size: 12px; font-weight: 600; text-align: right; }
.quiz-body { min-height: 268px; }
.screen { animation: screen-in var(--ease); }
@keyframes screen-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.screen-title { font-size: 21px; font-weight: 750; letter-spacing: -.02em; }
.screen-title:focus { outline: none; }
.screen-hint { margin-top: 6px; color: var(--muted); font-size: 14px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.tiles-2 { grid-template-columns: 1fr; }
.tile { position: relative; display: flex; align-items: center; min-height: 56px; padding: 12px 34px 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); font-size: 15px; font-weight: 600; line-height: 1.25; text-align: left; transition: border-color var(--ease), background var(--ease); }
.tile:hover { border-color: #b9b9c0; }
.tile[aria-pressed="true"] { border: 2px solid var(--blue); padding: 11px 33px 11px 13px; background: #fff; }
.tile[aria-pressed="true"]::after { content: "✓"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; }
.screen-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--blue); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--blue-hover); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 18px 44px; border: 0; border-radius: 100px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.1; text-align: center; text-decoration: none; transition: background var(--ease); }
.button:hover { background: var(--blue-hover); }
.button:disabled { cursor: default; opacity: .55; }
.button-block { width: 100%; padding-inline: 20px; }
.button-quiet { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.button-quiet:hover { background: #ebebef; }

/* Fields */
.field { display: grid; gap: 6px; margin-top: 12px; }
.field label { font-size: 14px; font-weight: 600; }
.field input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #b8b8bf; border-radius: 12px; background: #fff; font-size: 16px; }
.field input:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field-hint { color: var(--muted); font-size: 13px; line-height: 1.45; }
.field-error { color: #b3261e; font-size: 13px; font-weight: 600; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.name-row .field { margin-top: 12px; }

/* Result */
.roof { position: relative; margin-top: 12px; overflow: hidden; border-radius: 12px; background: #1d1d1f; aspect-ratio: 2 / 1; }
.roof img { width: 100%; height: 100%; object-fit: cover; }
.roof figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 100px; background: rgba(0,0,0,.72); color: #fff; font-size: 12px; font-weight: 700; }
.roof.is-unavailable img { visibility: hidden; }
.roof.is-unavailable::before { content: "Satellite view unavailable right now"; position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; color: #d2d2d7; font-size: 13px; text-align: center; }
.rate-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.rate-card { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.rate-card-label { color: var(--muted); font-size: 12px; font-weight: 600; }
.rate-card-value { margin-top: 4px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.rate-card-value.is-text { font-size: 15px; font-weight: 700; letter-spacing: 0; }
.rate-card-note { margin-top: 2px; color: var(--muted); font-size: 11px; }
.rate-card-ppa { border-color: var(--blue); background: #fff; }
.rate-card-ppa .rate-card-value { color: var(--blue); }
.ref { color: inherit; text-decoration: none; font-weight: 700; }
/* F-5 (web QA): footnote links * / ** get >= 24x24 px tap targets; negative margins keep the visible layout unchanged. */
.ref, .chip-ppa a { display: inline-block; min-width: 24px; min-height: 24px; line-height: 24px; text-align: center; vertical-align: middle; margin: -6px -8px -6px -4px; }
.result-total { margin-top: 12px; font-size: 15px; line-height: 1.5; }
.checks { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 15px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; }
.result-cta { margin-top: 16px; }
/* Run 14 (ADDENDUM-8): optional battery-interest chips. Same look as the quiz tiles (border, radius, card fill, 600 weight);
   selected = 2px #0066cc border + blue text + check mark; padding compensates the border so selecting never resizes a chip. */
.battery { margin-top: 16px; }
.battery-label { font-size: 15px; font-weight: 700; }
.battery-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.chip-opt { min-height: 48px; padding: 10px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); font-size: 15px; font-weight: 600; line-height: 1.25; text-align: center; transition: border-color var(--ease), background var(--ease); }
.chip-opt:hover { border-color: #b9b9c0; }
.chip-opt[aria-pressed="true"] { border: 2px solid var(--blue); padding: 9px 7px; background: #fff; color: var(--blue); }
.chip-opt[aria-pressed="true"]::before { content: "✓ "; font-weight: 800; }
.battery-help { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.call-line { margin-top: 8px; text-align: center; font-size: 14px; }
.call-line a { color: var(--blue); font-weight: 600; }

/* Contact / consent */
.consent-disclosure { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.consent-disclosure a { color: var(--blue); }
/* Run 10: the pixel notice moved from the form to the footer (owner decision; ERYK-APPROVAL-consent-copy-move.md).
   Full-width row, #d2d2d7 / #fff on #000 (13.9:1 / 21:1). */
.footer-ads-notice { grid-column: 1 / -1; margin: 0; color: #d2d2d7; font-size: 14px; line-height: 1.5; }
.footer-ads-notice a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.consent-actions { margin-top: 12px; }

/* Booking */
.meet-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; padding: 4px; border-radius: 100px; background: var(--card); border: 1px solid var(--line); }
.meet-toggle legend { padding: 0; }
.meet-option { position: relative; }
.meet-option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.meet-option span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 8px 10px; border-radius: 100px; font-size: 14px; font-weight: 700; transition: background var(--ease), color var(--ease); }
.meet-option input:checked + span { background: var(--blue); color: #fff; }
.meet-option input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.meet-line { margin-top: 10px; font-size: 14px; }
.booking-meta { margin-top: 6px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.preview-note { margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: #fff4c2; color: #3d2f00; font-size: 12px; line-height: 1.45; }
.quick-picks, .slot-fieldset { min-width: 0; margin: 12px 0 0; padding: 0; border: 0; }
.day-group + .day-group { margin-top: 10px; }
.day-label { font-size: 13px; font-weight: 700; }
.slot-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.slot-chip { min-height: 48px; padding: 8px 6px; border: 1px solid var(--line); border-radius: 100px; background: var(--card); font-size: 14px; font-weight: 700; white-space: nowrap; transition: border-color var(--ease), background var(--ease); }
.slot-chip:hover { border-color: var(--blue); }
.slot-chip:disabled { cursor: default; opacity: .5; }
.slot-chip[aria-busy="true"] { border: 2px solid var(--blue); background: #fff; }
.picks-loading { margin-top: 12px; color: var(--muted); font-size: 13px; }
.calendar-panel { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.calendar-heading { display: flex; align-items: center; justify-content: space-between; }
.calendar-heading h4 { margin: 0; font-size: 15px; }
.calendar-heading button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 18px; }
.calendar-heading button:disabled { opacity: .35; cursor: default; }
.calendar-table { width: 100%; margin-top: 6px; border-collapse: collapse; table-layout: fixed; text-align: center; }
.calendar-table th { padding: 4px 0; color: var(--muted); font-size: 11px; font-weight: 600; }
.calendar-table td { padding: 2px; }
.calendar-table button { width: 100%; min-height: 40px; border: 0; border-radius: 10px; background: none; font-size: 14px; }
.calendar-table button:not(:disabled):hover { background: var(--card); }
.calendar-table button:disabled { color: #b0b0b6; cursor: default; }
.calendar-table button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.calendar-table button[data-availability="empty"]:not(:disabled) { color: #8a8a90; text-decoration: line-through; }
.selected-date { margin-top: 8px; font-size: 13px; font-weight: 700; }
.booking-actions { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
.form-status { margin-top: 10px; font-size: 13px; line-height: 1.45; }
.form-status:empty { display: none; }
.form-status[data-error="true"] { color: #b3261e; font-weight: 600; }

/* Confirmation */
.confirm-title { font-size: 22px; font-weight: 800; }
.confirm-title:focus { outline: none; }
.confirm-detail { margin-top: 8px; font-size: 16px; }
.confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.confirm-actions .button { min-height: 48px; padding: 12px 14px; font-size: 15px; }
.confirm-extra { margin-top: 12px; color: var(--muted); font-size: 14px; }
.confirm-extra a { color: var(--blue); font-weight: 600; }

/* Exit screens */
.exit-actions { margin-top: 12px; display: grid; gap: 8px; }

/* Sections below the fold */
.section { padding-block: clamp(44px, 7vw, 84px); }
.section h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; }
.section-card { background: var(--card); }
.steps { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; }
.steps strong { display: block; font-size: 16px; }
.steps span { color: var(--muted); font-size: 15px; }
.photo-strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 360px); gap: 12px; margin-top: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; overscroll-behavior-x: contain; }
.photo-strip figure { scroll-snap-align: start; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--card); }
.photo-strip figcaption { margin-top: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.reviews { display: grid; gap: 14px; margin-top: 22px; }
.review { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.review .stars { color: #8a5700; letter-spacing: .08em; }
.review blockquote { margin-top: 8px; font-size: 15px; }
.review figcaption { margin-top: 10px; font-size: 14px; font-weight: 700; }
.review figcaption a { color: var(--blue); font-weight: 600; }
.reviews-all { margin-top: 12px; }
.local { display: grid; gap: 10px; }
.local address { font-style: normal; }
.local-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.local-points li { padding: 6px 12px; border-radius: 100px; background: var(--card); font-size: 14px; font-weight: 600; }
.faq { margin-top: 20px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding-block: 10px; font-weight: 700; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker, .legal summary::-webkit-details-marker { display: none; }
.faq summary::after, .legal summary::after { content: "+"; flex: none; color: var(--blue); font-size: 22px; font-weight: 500; }
.faq details[open] summary::after, .legal details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 14px; color: var(--muted); font-size: 15px; }
.legal { padding-block: 28px 40px; }
.legal summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; font-weight: 700; list-style: none; cursor: pointer; }
.legal-body { display: grid; gap: 10px; padding-bottom: 6px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.legal-body:focus { outline: none; }

/* Footer + sticky bar */
.site-footer { padding-block: 28px; background: var(--black); color: #d2d2d7; font-size: 14px; }
.footer-inner { display: grid; gap: 12px; }
.site-footer img { width: auto; height: 24px; }
.site-footer address { font-style: normal; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-links a, .footer-links button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: #fff; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(0,0,0,.92); }
.sticky-bar .button { width: 100%; min-height: 50px; padding-block: 14px; }
body.has-sticky { padding-bottom: 76px; }
dialog { max-width: min(560px, calc(100% - 32px)); max-height: 85vh; padding: 22px; border: 0; border-radius: var(--radius); color: var(--ink); }
dialog::backdrop { background: rgba(0,0,0,.6); }
dialog h2 { font-size: 22px; }
dialog p { margin-top: 10px; font-size: 13px; color: var(--muted); }
dialog .button { margin-top: 14px; min-height: 48px; padding: 12px 28px; }

@media (min-width: 700px) {
  .hero-sub { font-size: 17px; }
  .tiles-2 { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; }
}
@media (min-width: 960px) {
  .hero::before { background: linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.62) 46%, #000 72%); }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 440px; align-items: center; gap: 48px; min-height: 620px; padding-block: 48px; }
  .hero-media img { object-position: 30% 50%; }
  .hero-copy { max-width: 560px; }
  .quiz-card { padding: 24px; }
  .sticky-bar { display: none !important; }
}
@media (max-width: 380px) {
  .tiles { gap: 8px; }
  .tile { font-size: 14px; padding-left: 12px; }
  .slot-chips { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Shared CMP footer links default to #666; lift them to AA contrast on this page's black footer (presentation only). */
.site-footer .scm-footer-links a, .site-footer a#scm-dns-link, .site-footer .footer-bottom-links a { color: #c7c7cc !important; }
/* ADDENDUM-6 C4: the CMP's footer opt-out links laid out like the page's own footer links (clear and conspicuous). */
.site-footer .scm-footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; width: min(1180px, 100%); margin: 4px auto 0; padding-inline: var(--gutter); }
.site-footer .scm-footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }

/* S8 Google Meet join (ADDENDUM-4). */
.meet-join { display: grid; gap: 8px; margin-top: 14px; }
.meet-join .button { width: fit-content; }
.meet-join-url { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }

/* Address step CLS: the reused module puts #address-panel in flow (after #address-error) and only floats it itself
   on <=600px while the input is focused (inline [style]). Otherwise its status/suggestions pushed Continue/Back down.
   Overlay it at its static position instead; the module's own fixed sheet ([style]) still wins. */
.hero { z-index: 1; overflow-x: clip; overflow-y: visible; }
[data-screen="address"] .field { position: relative; }
[data-screen="address"] #address-panel:not([style]) { position: absolute; z-index: 20; left: 0; right: 0; }
/* F-4 (web QA, diagnosed run 7): on phones the module renders new suggestions/status first and positions the panel itself
   (inline position:fixed) one animation frame later; that single unpositioned frame was the 0.05-0.09 shift. Keep the panel
   invisible until the module has positioned it. Unfocused status lines stay hidden on phones (field errors use #address-error). */
@media (max-width: 600px) {
  [data-screen="address"] #address-panel:not([style]) { visibility: hidden; }
}
[data-screen="address"] #address-panel:not([style]) #street-popup { box-shadow: 0 10px 28px rgba(0,0,0,.2); }
[data-screen="address"] #address-panel:not([style]) #street-suggestions { max-height: 192px; }

/* CMO-REVIEW-1 hero crop: on phones the full-height hero zoomed the photo into bare trees. Pin the real Southington
   install to a 400px top band centred on its all-black array, with a lighter top gradient. Layout is unchanged. */
@media (max-width: 699px) {
  .hero-media { inset: 0 0 auto 0; height: 400px; overflow: hidden; }
  /* Zoom 1.5x around the array (transform = no layout shift): the band shows roughly image x 33-59%, y 18-85%,
     i.e. the all-black panels instead of the bare-tree skyline. */
  .hero-media img { object-position: 45% 50%; transform: scale(1.5); transform-origin: 45% 55%; }
  .hero::before { background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,.55) 220px, #000 400px); }
}
