/* ==========================================================================
   Canada Solar: shared stylesheet (round 6, locked palette)
   Palette (owner-locked):
     Emerald #63D67B        primary accent: buttons, highlights, links on dark
     Emerald hover #4CC267  derived, about 12% darker
     Black #000000          dark section bg, footer bg
     Panel #111111          cards sitting on black
     Lavender Mist #F7F0F5  off-white section tint
     Sunflower Gold #FFC144 stars and small highlights only
     Emerald Depths #0D5C36 topbar, small text accents on light, kickers
   Contrast: black/near-black text on Emerald and Sunflower.
             White text on Black and Emerald Depths.
             Never use Emerald for small text on white/mist; use Depths.
   Type: Zilla Slab (headlines) · Inter (body) · Caveat (hero annotation)
   Rules: no animations/transitions beyond hover color, no popups, calm pages.
   ========================================================================== */

:root {
  --emerald: #63D67B;
  --emerald-dark: #4CC267;
  --depths: #0D5C36;
  --black: #000000;
  --panel: #111111;
  --panel-line: rgba(241, 246, 241, 0.14);
  --mist: #F1F6F1;
  --gold: #FFC144;
  --ink: #1F2421;
  --muted: #6B6A63;
  --white: #FFFFFF;
  --line: #E3EAE4;
  --dark-text: #F2F5F1;
  --dark-muted: #9FA49F;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(31, 36, 33, 0.08);
  --shadow-soft: 0 3px 12px rgba(31, 36, 33, 0.06);
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

h1, h2, h3, h4, .wordmark {
  font-family: 'Zilla Slab', 'Roboto Slab', Georgia, serif;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
a { color: var(--depths); text-decoration: none; }
a:hover { color: var(--emerald-dark); }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--tint { background: var(--mist); }

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}
.section-head .kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--depths);
  font-weight: 600;
  margin-bottom: 8px;
}
.section-head p { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 10px;
  border: 2px solid var(--emerald);
  background: var(--emerald);
  color: var(--black);
  cursor: pointer;
}
.btn:hover {
  background: var(--emerald-dark);
  border-color: var(--emerald-dark);
  color: var(--black);
  box-shadow: 0 0 0 4px rgba(99, 214, 123, 0.18);
}
.btn--ghost {
  background: transparent;
  border-color: var(--depths);
  color: var(--depths);
}
.btn--ghost:hover { background: var(--depths); border-color: var(--depths); color: var(--white); box-shadow: none; }
.btn--sm { padding: 9px 16px; font-size: 0.9rem; }

/* ---------- Header / nav (single line, no overflow) ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.wordmark {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--depths);
  white-space: nowrap;
}
.wordmark:hover { color: var(--emerald-dark); }

.main-nav { min-width: 0; }
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.main-nav li { white-space: nowrap; }
.main-nav a, .menu-toggle {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.93rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.main-nav a:hover, .menu-toggle:hover { color: var(--emerald-dark); }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.menu-toggle .caret { font-size: 1em; color: var(--muted); line-height: 1; }

.nav-cta { white-space: nowrap; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.1rem;
  color: var(--depths);
  cursor: pointer;
}

/* ---------- Dropdowns (hover bridge = transparent padding-top, no gap) ---------- */
.has-menu { position: relative; }
/* Round 13: the wide mega panel anchors to the header, not its own li, so it
   can never hang off the left edge of the viewport. Dropdowns stay li-anchored. */
.site-header .wrap { position: relative; }
.main-nav li:has(> .mega-panel) { position: static; }
.menu-panel {
  display: none;
  position: absolute;
  top: 100%;
  padding-top: 12px; /* transparent hover bridge, no margin gap */
  background: transparent;
  z-index: 60;
  white-space: normal; /* .main-nav li sets nowrap; without this reset the
                          mega-calc text renders on one line and blows the
                          panel out past the viewport */
}
.has-menu:hover .menu-panel,
.has-menu.menu-open .menu-panel { display: block; }

/* Simple dropdown (Installers) */
.dropdown-panel { left: 0; min-width: 230px; }
.dropdown-inner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px;
}
.dropdown-inner a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--ink);
}
.dropdown-inner a small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.dropdown-inner a:hover { background: var(--mist); color: var(--emerald-dark); }

/* Mega menu (Calculators), right-aligned so it never overflows the viewport */
.mega-panel { right: 0; width: min(880px, calc(100vw - 40px)); }
.mega-inner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
}
.mega-links h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 12px;
}
.mega-links ul { list-style: none; margin: 0; padding: 0; display: block; }
.mega-links li { margin-bottom: 14px; white-space: normal; }
.mega-links a { display: block; font-weight: 600; color: var(--ink); }
.mega-links a small { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.mega-links a:hover { color: var(--emerald-dark); }

.mega-calc {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}
.mega-calc h4 { margin-bottom: 4px; font-size: 1.05rem; }
.mega-calc p { font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; }
.mega-calc label { font-size: 0.82rem; font-weight: 600; display: block; margin-bottom: 6px; }
.mega-calc input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}
.mega-calc .mini-result {
  margin-top: 12px;
  font-family: 'Zilla Slab', Georgia, serif;
  font-size: 1.25rem;
  color: var(--depths);
  font-weight: 700;
}
.mega-calc .mini-note { font-size: 0.72rem; color: var(--muted); margin: 6px 0 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--black);
  color: var(--white);
  padding: 110px 0;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.70) 34%, rgba(6, 28, 18, 0.34) 66%, rgba(6, 28, 18, 0.14) 100%);
}
.hero .wrap { position: relative; }
.hero h1 { color: var(--white); max-width: 640px; }
.hero .lede {
  font-size: 1.15rem;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 30px;
}
.hero .hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero .text-link { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.hero .text-link:hover { color: var(--emerald); }

/* ---------- Handwritten annotation (hero and conversion band) ----------
   Arrows removed at owner request. Emerald cursive only, footer-band treatment. */
.handnote { display: block; transform: rotate(-2deg); transform-origin: left center; }
.handnote .handnote-text {
  display: block;
  font-family: 'Caveat', cursive;
  font-weight: 600;
  line-height: 1.05;
  color: var(--emerald);
}
.handnote--hero { margin: 0 0 22px; }
.handnote--hero .handnote-text {
  font-size: 4.8rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
.handnote--form { margin-top: 26px; }
.handnote--form .handnote-text { font-size: 4.6rem; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .card-link { display: inline-block; margin-top: 14px; font-weight: 600; }

.icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(99, 214, 123, 0.16);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.icon-badge svg { width: 38px; height: 38px; color: var(--depths); }

/* ---------- Dark authority band (stats) ---------- */
.section--dark {
  background: var(--black);
  color: var(--dark-text);
  padding: 84px 0;
}
.section--dark .kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 600;
  margin-bottom: 8px;
}
.section--dark h2 { color: var(--dark-text); }
.section--dark .section-head p { color: var(--dark-muted); }
.dark-rule {
  width: 56px;
  height: 2px;
  background: var(--emerald);
  margin-bottom: 40px;
}
.stat-card {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}
.stat-card .stat-num {
  font-family: 'Zilla Slab', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--emerald);
  line-height: 1.1;
}
.stat-card .stat-label { font-size: 0.88rem; color: var(--dark-muted); margin-top: 6px; }

/* ---------- Calculator (home) ---------- */
.calc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.calc-card h2 { margin-bottom: 6px; }
.calc-card .calc-sub { color: var(--muted); margin-bottom: 24px; }
.calc-field { margin-bottom: 18px; }
.calc-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.calc-field input, .calc-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}
.calc-results {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  align-self: start;
}
.calc-results .result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.calc-results .result-row:last-of-type { border-bottom: none; }
.calc-results .result-label { font-size: 0.9rem; color: var(--muted); }
.calc-results .result-value {
  font-family: 'Zilla Slab', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--depths);
  white-space: nowrap;
}
.calc-disclaimer {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.calc-more { margin-top: 18px; font-weight: 600; display: inline-block; }

/* ---------- Steps ---------- */
.step-num {
  font-family: 'Zilla Slab', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--emerald-dark);
  line-height: 1;
  margin-bottom: 12px;
}

/* ---------- Province cards ---------- */
.province-card {
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  box-shadow: var(--shadow-soft);
}
.province-card .prov-name { font-weight: 600; }
.province-card .prov-count {
  font-family: 'Zilla Slab', Georgia, serif;
  font-weight: 700;
  color: var(--depths);
  font-size: 1.15rem;
}
.province-card .prov-count small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: right;
}

/* ---------- Installer / promo cards ---------- */
.promo-badge {
  display: inline-block;
  background: var(--emerald);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.installer-card .installer-meta { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.rating-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.rating-row .g-logo { width: 16px; height: 16px; flex-shrink: 0; }
.stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 2px; }
.fine-print { font-size: 0.8rem; color: var(--muted); margin-top: 24px; }

/* ---------- Blog cards ---------- */
.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.blog-card .img-frame img { width: 100%; height: 180px; object-fit: cover; }
.blog-card .blog-body { padding: 22px 24px 26px; }
.blog-card .blog-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-dark);
  font-weight: 600;
  margin-bottom: 8px;
}
.blog-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--emerald-dark); }
.blog-card p { font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background-color: var(--black);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 88px 0;
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(13, 92, 54, 0.72));
}
.cta-band .wrap { position: relative; }
.cta-band h2 { color: var(--white); max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 520px; margin: 0 auto 28px; }

/* ---------- GHL placeholder ---------- */
.ghl-slot {
  background: var(--mist);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 56px 32px;
  text-align: center;
  color: var(--muted);
}
.ghl-slot strong { display: block; color: var(--ink); margin-bottom: 6px; font-size: 1.05rem; }
.ghl-slot p { font-size: 0.85rem; margin: 0; }

/* ---------- Conversion band (dark, holds the live form) ---------- */
.form-band {
  background: var(--black);
  color: var(--dark-text);
  padding: 64px 0;
}
.form-band .kicker { color: var(--emerald); }
.form-band h2 { color: var(--white); }
.form-band p { color: var(--dark-muted); }
.form-band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.form-band-points { list-style: none; margin: 22px 0 0; padding: 0; }
.form-band-points li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--dark-text);
  font-size: 0.95rem;
}
.form-band-points li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald);
}

.quote-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.quote-form-card h3 { font-size: 1.35rem; margin-bottom: 4px; color: var(--ink); }
.quote-form-card .quote-form-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.qf-row { margin-bottom: 16px; }
.qf-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.quote-form input,
.quote-form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
.quote-form input:focus,
.quote-form select:focus { outline: 2px solid var(--depths); outline-offset: 1px; }
.qf-submit { width: 100%; margin-top: 6px; text-align: center; }
.qf-note { font-size: 0.78rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* ---------- "Ask this" grid (choosing an installer) ----------
   Two-up horizontal cards. The old four-up grid squeezed headings onto three
   lines and left half of each card empty. */
.ask-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ask-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 30px 32px;
}
.ask-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(99, 214, 123, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ask-icon svg { width: 34px; height: 34px; color: var(--depths); }
.ask-body { display: flex; flex-direction: column; height: 100%; }
.ask-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.ask-body > p { margin-bottom: 16px; }
.ask-q {
  margin-top: auto;
  padding: 14px 16px;
  background: var(--mist);
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}
.ask-q-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--depths);
  margin-bottom: 5px;
}
.ask-callout {
  margin-top: 28px;
  background: var(--black);
  color: var(--dark-text);
  border-radius: var(--radius);
  padding: 30px 34px;
}
.ask-callout h3 { color: var(--emerald); font-size: 1.25rem; margin-bottom: 8px; }
.ask-callout p { color: var(--dark-muted); margin-bottom: 0; max-width: 76ch; }

/* Calculator kicker with icon */
.calc-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--depths);
  font-weight: 600;
  margin-bottom: 12px;
}
.calc-kicker-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(99, 214, 123, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.calc-kicker-icon svg { width: 26px; height: 26px; color: var(--depths); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 0;
  font-size: 0.9rem;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--emerald); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .wordmark { color: var(--white); font-size: 1.3rem; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 48px;
  padding: 20px 0 26px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Interior page (article + sidebar) ---------- */
.page-hero {
  background: linear-gradient(100deg, var(--black), var(--depths) 65%, #12804A);
  color: var(--white);
  padding: 64px 0;
}
.page-hero h1 { color: var(--white); max-width: 720px; }
.page-hero .lede { color: rgba(255, 255, 255, 0.9); max-width: 620px; font-size: 1.08rem; }
.breadcrumb { font-size: 0.82rem; margin-bottom: 18px; color: rgba(255, 255, 255, 0.75); }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--emerald); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}
.article-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.article-hero-img {
  border-radius: var(--radius);
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.article-hero-frame { position: relative; margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }
.article-body h2 { margin-top: 40px; }
.article-body p { color: #3A3F3B; }
.article-body ul { color: #3A3F3B; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }

.incontent-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  padding: 22px 26px;
  margin: 32px 0;
}
.incontent-card h3 { margin-bottom: 6px; }
.incontent-card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 12px; }

.sidebar { position: sticky; top: 24px; display: grid; gap: 24px; }
.sidebar-cta {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 30px 26px;
}
.sidebar-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.9), rgba(13, 92, 54, 0.8));
}
.sidebar-cta > * { position: relative; }
.sidebar-cta h3 { color: var(--white); font-size: 1.3rem; }
.sidebar-cta p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.9); }
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}
.sidebar-card h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 14px;
}
.sidebar-card ul { list-style: none; margin: 0; padding: 0; }
.sidebar-card li { margin-bottom: 10px; }
.sidebar-card a { font-weight: 500; color: var(--ink); }
.sidebar-card a:hover { color: var(--emerald-dark); }

/* ---------- FAQ (details/summary) ---------- */
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 14px;
}
.faq summary {
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  color: var(--ink);
  list-style: none;
}
.faq summary::before { content: '+ '; color: var(--emerald-dark); font-weight: 700; }
.faq details[open] summary::before { content: '\2013  '; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Pricing block ---------- */
.pricing-block {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.pricing-block .price-range {
  font-family: 'Zilla Slab', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--depths);
}
.pricing-block .price-note { font-size: 0.85rem; color: var(--muted); }

/* ---------- Process list (overview) ---------- */
.process-list { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.process-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  margin-bottom: 26px;
}
.process-list li::before {
  content: counter(step);
  font-family: 'Zilla Slab', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  background: var(--emerald);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-list h3 { margin-bottom: 4px; }
.process-list p { color: var(--muted); margin: 0; }

/* ---------- Split feature sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split .img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split .img-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.split--portrait .img-frame img { height: 540px; }
.split-steps { display: grid; gap: 18px; margin-top: 28px; }
.split-steps .card { padding: 22px 24px; }
.split-steps .icon-badge { margin-bottom: 12px; }

/* ---------- Image caption cards (install-process strip) ---------- */
.process-card { padding: 0; overflow: hidden; }
.process-card .img-frame img { width: 100%; height: 200px; object-fit: cover; }
.process-card .process-body { padding: 18px 22px 22px; }
.process-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.process-card p { font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calc-card { grid-template-columns: 1fr; }
  .pricing-block { grid-template-columns: 1fr; }
  .form-band-grid { grid-template-columns: 1fr; gap: 36px; }
  .ask-grid { grid-template-columns: 1fr; }
  .handnote--form .handnote-text { font-size: 4rem; }
  .split { grid-template-columns: 1fr; }
  .split .img-frame img { height: 320px; }
  .split--portrait .img-frame img { height: 420px; }
}

@media (max-width: 720px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 52px 0; }
  .hero { padding: 72px 0; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .handnote--hero .handnote-text { font-size: 2.6rem; }
  .handnote--hero { margin-bottom: 16px; }
  .handnote--form { margin-top: 24px; }
  .handnote--form .handnote-text { font-size: 3rem; }
  .qf-row--split { grid-template-columns: 1fr; }
  .ask-card { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .ask-callout { padding: 24px; }
  .quote-form-card { padding: 24px; }
  .form-band { padding: 56px 0; }

  .nav-toggle { display: block; order: 3; }
  .main-nav { display: none; width: 100%; order: 4; }
  .main-nav.nav-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 16px; padding: 16px 0 8px; }
  .site-header .wrap { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .wordmark { font-size: 1.15rem; }
  .nav-cta { order: 2; margin-left: auto; padding: 8px 13px; font-size: 0.85rem; }

  .has-menu { position: static; }
  .menu-panel {
    position: static;
    width: 100%;
    padding-top: 8px;
  }
  .mega-panel { width: 100%; }
  .mega-inner { grid-template-columns: 1fr; box-shadow: none; }
  .dropdown-inner { box-shadow: none; }
  .has-menu:hover .menu-panel { display: none; }
  .has-menu.menu-open .menu-panel { display: block; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .calc-card { padding: 26px; }
}

/* ---------- Tall four-step split (homepage: how solar works) ----------
   With four steps the text column runs much taller than a centred photo, so
   let the photo fill its column instead of floating in the middle. */
/* Round 8: banner photo + two-column stage cards (sticky column removed at owner request) */
.stage-banner { margin-bottom: 30px; }
.stage-banner img { width: 100%; height: 380px; object-fit: cover; object-position: center 30%; }
.stage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 960px) { .stage-banner img { height: 280px; } }
@media (max-width: 720px) { .stage-grid { grid-template-columns: 1fr; } .stage-banner img { height: 210px; } }

/* ---------- Round 7: navigable prototype (directory, drafts) ---------- */
a.province-card { text-decoration: none; }
a.province-card:hover { border-color: var(--emerald-dark); box-shadow: var(--shadow-soft); }
.dir-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.dir-row { display: flex; align-items: baseline; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 13px 18px; flex-wrap: wrap; }
.dir-name { font-weight: 600; color: var(--ink); }
.dir-city { color: var(--muted); font-size: 0.9rem; }
.dir-site { margin-left: auto; font-size: 0.9rem; font-weight: 500; color: var(--emerald-dark); white-space: nowrap; }
.dir-site:hover { text-decoration: underline; }
.dir-none { margin-left: auto; font-size: 0.85rem; color: var(--muted); }
.draft-panel { background: var(--mist); border: 1px dashed var(--muted); border-radius: var(--radius); padding: 22px 26px; margin: 22px 0; }
.draft-panel p { margin-bottom: 0; }
@media (max-width: 720px) {
  .dir-site, .dir-none { margin-left: 0; width: 100%; }
}

/* ---------- Round 8: directory towns, profiles, map ---------- */
.city-head { font-size: 1.15rem; margin: 34px 0 12px; }
.city-head small { color: var(--muted); font-weight: 400; font-size: 0.85rem; margin-left: 8px; }
.city-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.city-jump a { font-size: 0.82rem; font-weight: 500; color: var(--depths); background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.city-jump a:hover { border-color: var(--emerald-dark); color: var(--emerald-dark); }
.profile-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .profile-grid { grid-template-columns: 1fr; } }
.nap-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 30px 32px; }
.nap-card h2 { font-size: 1.5rem; margin-bottom: 14px; }
.nap-row { display: flex; gap: 10px; margin-bottom: 12px; color: var(--ink); }
.nap-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--depths); min-width: 74px; padding-top: 3px; }
.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.map-embed iframe { display: block; width: 100%; height: 440px; border: 0; }
.map-placeholder { padding: 60px 30px; text-align: center; color: var(--muted); }
.map-full { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
#big-map { width: 100%; height: 72vh; min-height: 480px; background: var(--mist); }
.locate-btn { position: absolute; top: 14px; left: 14px; z-index: 5; }

/* ---------- Round 9: compact listing heads, photos, map gate ---------- */
.listing-head { padding: 34px 0 0; }
.listing-head .breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.listing-head .breadcrumb a { color: var(--depths); text-decoration: underline; }
.listing-head h1 { font-size: 2.1rem; margin-bottom: 8px; }
.listing-sub { color: var(--muted); max-width: 68ch; margin-bottom: 0; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photo-strip img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.map-gate { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 44px; max-width: 720px; }
.map-gate h2 { margin-bottom: 10px; }
@media (max-width: 720px) {
  .listing-head h1 { font-size: 1.6rem; }
  .photo-strip img { height: 100px; }
  .map-gate { padding: 26px; }
}

/* ---------- Round 9b: Solar Canada leaf lockup ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 9px; }
.logo-mark { height: 30px; width: auto; display: block; }
@media (max-width: 720px) { .logo-mark { height: 24px; } }

/* ---------- Round 10: logo listing cards ---------- */
.dir-grid { margin-top: 8px; }
.dir-card { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; text-decoration: none; box-shadow: var(--shadow-soft); }
.dir-card:hover { border-color: var(--depths); box-shadow: var(--shadow); }
.dir-logo { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); background: var(--white); flex: none; }
.dir-logo-fallback { object-fit: contain; padding: 8px; background: var(--mist); border-color: transparent; }
.dir-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dir-card .dir-name { font-weight: 600; color: var(--ink); line-height: 1.3; }
.dir-card:hover .dir-name { color: var(--depths); }
.dir-card .dir-city { font-size: 0.85rem; color: var(--muted); }
.dir-view { font-size: 0.82rem; font-weight: 500; color: var(--depths); margin-top: 6px; }
.pf-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.pf-head .dir-logo { width: 64px; height: 64px; }
.pf-head h2 { margin-bottom: 0; }

/* ---------- Round 11: tabbed calculators ---------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 26px; }
.tab-btn { padding: 10px 20px; border: 1px solid var(--line); background: var(--white); border-radius: 999px; font-family: inherit; font-size: 0.93rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.tab-btn:hover { color: var(--depths); border-color: var(--depths); }
.tab-btn.active { background: var(--depths); border-color: var(--depths); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel .calc-card h2 { font-size: 1.6rem; }
.tab-panel .result-value { white-space: normal; text-align: right; }
.result-group { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--depths); margin: 16px 0 4px; }

/* ---------- Round 12: Learn library ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 26px; text-decoration: none; color: inherit; }
.post-card:hover { border-color: var(--depths); box-shadow: var(--shadow); }
.post-card h2, .post-card h3 { font-size: 1.22rem; line-height: 1.3; margin: 0; }
.post-card p { color: var(--muted); font-size: 0.94rem; margin: 0; flex: 1; }
.cat-tag { align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tag-price { background: #E7F4EA; color: #0D5C36; }
.tag-roi { background: #FDF3DC; color: #7A5A12; }
.tag-grid { background: #E8EFF9; color: #23538F; }
.tag-climate { background: #EAF3F6; color: #1F6072; }
.tag-design { background: #F0ECF9; color: #533E8E; }
.tag-incentive { background: #FBECE7; color: #8C4A2F; }
.post-meta { display: flex; gap: 8px; font-size: 0.82rem; color: var(--muted); }
.post-badge { font-size: 0.78rem; font-weight: 600; color: #7A5A12; background: #FDF3DC; padding: 3px 10px; border-radius: 999px; }
.post-read { color: var(--depths); font-weight: 600; font-size: 0.92rem; }
.data-table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: 0.95rem; }
.data-table th { text-align: left; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--line); padding: 8px 12px 8px 0; }
.data-table td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; }
.data-table tr:last-child td { border-bottom: none; }
.data-table td:first-child { font-weight: 600; }
.article-body .data-table td { color: var(--ink); }
@media (max-width: 640px) { .data-table { font-size: 0.88rem; } .data-table th, .data-table td { padding-right: 8px; } }

/* ---------- Round 13: FAQ cards, About images, blog layout, form embed ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; align-items: start; }
.faq-grid details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft); }
.faq-grid details:hover { border-color: var(--depths); }
.faq-grid details[open] { border-color: var(--depths); background: var(--mist); }
.faq-grid summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px; font-weight: 600; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after { content: '+'; flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--depths); font-size: 1.1rem; font-weight: 600; line-height: 1; }
.faq-grid details[open] summary::after { content: '\2212'; }
.faq-grid details p { padding: 0 20px 18px; color: var(--muted); }
.article-body details { background: var(--mist); border: 1px solid var(--line); border-radius: 12px; padding: 13px 18px; margin: 10px 0; }
.article-body details summary { cursor: pointer; font-weight: 600; }
.article-body details[open] summary { color: var(--depths); }
.article-body details p { margin: 8px 0 4px; color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.about-grid--flip { grid-template-columns: 1fr 1.1fr; }
.about-grid .section-head { margin-bottom: 0; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-banner { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 30px; }
.img-banner img { width: 100%; height: clamp(200px, 30vw, 320px); object-fit: cover; display: block; }
.blog-layout { display: grid; grid-template-columns: 1fr 280px; gap: 44px; align-items: start; }
.blog-main .post-grid { grid-template-columns: repeat(2, 1fr); }
.blog-group { margin-bottom: 44px; }
.blog-group > h2 { font-size: 1.5rem; margin-bottom: 4px; }
.blog-group .group-desc { color: var(--muted); margin: 0 0 18px; }
.blog-side { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 18px; }
.quote-embed { border-radius: 8px; overflow: hidden; }
.quote-embed iframe { display: block; }
@media (max-width: 980px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-side { position: static; order: -1; }
  .about-grid, .about-grid--flip { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .blog-main .post-grid { grid-template-columns: 1fr; } }

/* ---------- Round 14: directory mega, blog v3, listing rows + pager, CTA form, farm calc, report score ---------- */
.mega-list ul { list-style: none; margin: 0; padding: 0; }
.mega-list li { margin-bottom: 8px; white-space: normal; }
.mega-list a { font-weight: 600; color: var(--ink); display: block; padding: 2px 0; }
.mega-list a:hover { color: var(--emerald-dark); }
.mega-list a small { display: inline; font-weight: 400; color: var(--muted); margin-left: 6px; font-size: 0.8rem; }
.mega-cols { columns: 2; column-gap: 24px; }
.mega-cols li { break-inside: avoid; }

/* blog v3: calm, list rows, grey group cards, left non-sticky sidebar */
.blog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.blog-side { position: static; order: -1; }
.blog-group { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 26px; }
.blog-group > h2 { font-size: 1.35rem; margin-bottom: 2px; }
.blog-group .group-desc { color: var(--muted); margin: 0 0 16px; font-size: 0.95rem; }
.blog-main .post-grid { display: flex; flex-direction: column; gap: 12px; }
.post-card { flex-direction: row; align-items: center; gap: 18px; padding: 18px 22px; box-shadow: none; }
.post-card .post-main { flex: 1; min-width: 0; }
.post-card h2, .post-card h3 { font-size: 1.08rem; margin: 0 0 3px; }
.post-card p { font-size: 0.9rem; margin: 0; }
.post-card .post-meta { margin-top: 4px; }
.post-card .post-read { white-space: nowrap; }
.cat-tag { background: #E9F0EA; color: var(--depths); flex-shrink: 0; }

/* listing pages: card grid + pager (rows retired in Round 17) */
.dir-card.pg-hide { display: none; }
.dir-pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; }
.dir-pager button { min-width: 38px; padding: 8px 12px; border: 1px solid var(--line); background: var(--white); border-radius: 10px; font-family: inherit; font-size: 0.9rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.dir-pager button:hover { border-color: var(--depths); color: var(--depths); }
.dir-pager button.active { background: var(--depths); border-color: var(--depths); color: var(--white); }
.dir-pager button:disabled { opacity: 0.4; cursor: default; }
.dir-pager .pg-info { font-size: 0.85rem; color: var(--muted); margin-left: 6px; }

/* CTA band with embedded form (subpages) */
.cta-band .band-form { max-width: 760px; margin: 26px auto 0; background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: 0 18px 50px rgba(0,0,0,0.35); }

/* solar report score (savings tab) */
.score-banner { background: linear-gradient(135deg, var(--depths), #1B7A4B); border-radius: var(--radius); color: var(--white); text-align: center; padding: 22px 20px 20px; margin-bottom: 14px; }
.score-banner .score-kicker { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; font-weight: 700; }
.score-banner .score-num { font-family: 'Zilla Slab', Georgia, serif; font-size: 2.6rem; font-weight: 700; line-height: 1.1; }
.score-banner .score-num small { font-size: 1rem; font-weight: 500; opacity: 0.8; }
.score-banner .score-label { display: inline-block; margin-top: 6px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 4px 14px; font-size: 0.85rem; font-weight: 600; }
.pvgis-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 14px; }
.pvgis-note { font-size: 0.8rem; color: var(--muted); }
.pvgis-note.ok { color: var(--depths); font-weight: 600; }

/* farm calculator + audience pages */
.aud-hero { background: var(--mist); border-bottom: 1px solid var(--line); padding: 40px 0 34px; }
.aud-hero h1 { font-size: 2.1rem; margin: 8px 0; }
.aud-hero .lede { color: var(--muted); max-width: 760px; }

@media (max-width: 980px) {
  .blog-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .post-card { flex-direction: column; align-items: flex-start; gap: 8px; }
  .dir-card { padding: 12px 14px; }
}

/* Round 14b: quote form lives in the footer; CTA bands anchor to it */
.footer-quote { display: block; max-width: 780px; margin: 0 auto 44px; padding-bottom: 44px; border-bottom: 1px solid var(--panel-line); }
.footer-quote-copy { margin-bottom: 22px; }
.footer-quote-copy h3 { font-size: 1.6rem; color: var(--white); margin: 8px 0 10px; }
.footer-quote-copy p { color: var(--dark-muted); max-width: 46ch; }
.footer-quote .band-form { margin: 0; }
.quote-form-card--jump { text-align: left; }
.quote-form-card--jump .qf-submit { display: inline-block; width: auto; }


/* ---------- Round 15: claim-your-listing ---------- */
.topbar { background: var(--depths); color: rgba(255,255,255,0.85); font-size: 0.82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: var(--white); font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
@media (max-width: 640px) { .topbar .topbar-tag { display: none; } .topbar-inner { justify-content: center; } }
.claim-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #FDF3DC; border: 1px solid #EAD9AC; border-radius: 12px; padding: 14px 20px; margin-bottom: 18px; font-size: 0.93rem; color: #5C4511; }
.claim-banner .btn { flex-shrink: 0; }
.claim-card { display: flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-top: 22px; }
.claim-card h3 { margin-bottom: 4px; }
.claim-card p { color: var(--muted); margin: 0; max-width: 60ch; }
.claim-card .btn { flex-shrink: 0; }
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.tier-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.tier-card .tier-price { font-family: 'Zilla Slab', Georgia, serif; font-size: 2rem; font-weight: 700; color: var(--depths); line-height: 1; }
.tier-card h3 { font-size: 1.05rem; margin: 0; }
.tier-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.tier-card .tier-tag { align-self: flex-start; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: #E7F4EA; color: var(--depths); }
.claim-verify { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 30px; max-width: 720px; }
.claim-verify ul { margin: 12px 0 18px 18px; }
.claim-verify li { margin-bottom: 8px; }
@media (max-width: 980px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } .claim-banner { flex-direction: column; align-items: flex-start; } .claim-card { flex-direction: column; align-items: flex-start; } }
@media (max-width: 560px) { .tier-grid { grid-template-columns: 1fr; } }

/* Round 15: nav toggles are links on desktop */
a.menu-toggle { text-decoration: none; display: inline-block; }

/* Round 15b: plain-language field tooltips */
.tip { position: relative; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-left: 6px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); color: var(--depths); font-size: 0.72rem; font-weight: 700; cursor: help; vertical-align: middle; }
.tip::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 240px; background: var(--ink); color: var(--white); font-size: 0.8rem; font-weight: 400; line-height: 1.45; padding: 10px 12px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .15s ease; z-index: 80; text-transform: none; letter-spacing: normal; white-space: normal; }
.tip:hover::after, .tip:focus::after { opacity: 1; }
@media (max-width: 640px) { .tip::after { left: auto; right: -10px; transform: none; } }

/* the hidden attribute always wins, even over flex/grid rules */
[hidden] { display: none !important; }

/* Round 16: 4-column directory mega with tinted directory card */
.mega-panel--dir { width: min(1020px, calc(100vw - 40px)); }
.mega-inner--4 { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 30px; }
.mega-dircard, .mega-dircard p { white-space: normal; min-width: 0; }
.main-nav a.mega-dircard, .mega-dircard { display: flex; flex-direction: column; gap: 8px; background: #E9F0EA; border: 1px solid #D8E4DA; border-radius: 12px; padding: 20px; text-decoration: none; color: inherit; }
.mega-dircard:hover { border-color: var(--depths); }
.mega-dircard h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0; }
.mega-dircard p { font-size: 0.86rem; color: var(--muted); margin: 0; flex: 1; }
.mega-dircard .dircard-go { color: var(--depths); font-weight: 600; font-size: 0.92rem; }
.mega-dircard:hover .dircard-go { text-decoration: underline; }

/* Round 16: color-coded Learn groups + sidebar chips + next-steps band */
.g-money { background: #E7F4EA; border-color: #C4E2CC; }
.g-money > h2 { color: #0B5133; }
.g-rules { background: #E3EDFB; border-color: #BFD6F4; }
.g-rules > h2 { color: #1E4FA3; }
.g-weather { background: #FCF3DC; border-color: #F0DDA9; }
.g-weather > h2 { color: #8A5A00; }
.g-setup { background: #EFE7FA; border-color: #D8C6F0; }
.g-setup > h2 { color: #5B2EAB; }
.side-chips { display: flex; flex-direction: column; gap: 8px; }
.side-chip { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 0.92rem; text-decoration: none; border: 1px solid transparent; }
.chip-money { background: #DCEFE1; color: #0B5133; border-color: #B7DCC3; }
.chip-rules { background: #D9E7FA; color: #1E4FA3; border-color: #B3CEF1; }
.chip-weather { background: #FAEDCB; color: #8A5A00; border-color: #EBD494; }
.chip-setup { background: #E8DCF8; color: #5B2EAB; border-color: #CDB4EC; }
.side-chip:hover { filter: brightness(0.97); }
.blog-next .card h3 { margin-bottom: 8px; }
.blog-next .card ul { list-style: none; margin: 0; padding: 0; }
.blog-next .card li { margin-bottom: 8px; }
.blog-next .card a { font-weight: 600; color: var(--depths); }

/* Round 16: dollars-per-watt callout as a full-bleed band */
.ask-callout-band { background: var(--black); padding: 46px 0; }
.ask-callout-band h3 { color: var(--emerald); font-size: 1.3rem; margin-bottom: 8px; }
.ask-callout-band p { color: var(--dark-muted); margin: 0; max-width: 76ch; }

/* ---------- Round 17: map view overlay (80% viewport) ---------- */
.map-modal-backdrop { position: fixed; inset: 0; background: rgba(8, 18, 12, 0.55); z-index: 220; display: grid; place-items: center; }
.map-modal { position: relative; width: 80vw; height: 80vh; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45); }
.map-modal #modal-map { position: absolute; inset: 0; }
.map-modal-logo { position: absolute; top: 18px; left: 18px; z-index: 5; display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: 14px; padding: 10px 20px 10px 14px; box-shadow: var(--shadow); font-family: 'Zilla Slab', Georgia, serif; font-size: 1.4rem; font-weight: 700; color: var(--depths); text-decoration: none; }
.map-modal-logo img { width: 44px; height: 44px; }
.map-modal-close { position: absolute; top: 18px; right: 18px; z-index: 5; width: 42px; height: 42px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow-soft); color: var(--ink); }
.map-modal-close:hover { border-color: var(--depths); color: var(--depths); }
.map-modal-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; color: var(--muted); max-width: 400px; padding: 20px; z-index: 4; }
body.map-modal-open { overflow: hidden; }
@media (max-width: 720px) { .map-modal { width: 94vw; height: 86vh; } .map-modal-logo { font-size: 1.1rem; } .map-modal-logo img { width: 34px; height: 34px; } }

/* Round 18: blog tags = icon + text, no pill background, fixed width for alignment */
.post-card .cat-tag { background: none; border: 0; padding: 0; width: 106px; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; border-radius: 0; }
.post-card .cat-tag svg { width: 15px; height: 15px; flex-shrink: 0; }
.post-card .tag-price, .post-card .tag-roi, .post-card .tag-incentive { color: #0B5133; }
.post-card .tag-grid { color: #1E4FA3; }
.post-card .tag-climate { color: #8A5A00; }
.post-card .tag-design { color: #5B2EAB; }

/* ---------- Round 20: rebates program cards (div cards with inner links) ---------- */
.post-card p a { color: var(--depths); text-decoration: underline; text-underline-offset: 2px; }
.post-card .post-read:hover { text-decoration: underline; }
div.post-card { cursor: default; }

/* ---------- Round 20: expanded Learn library (4 new groups) ---------- */
.g-size { background: #DFF2EE; border-color: #BBE0D6; }
.g-size > h2 { color: #0B6B5D; }
.g-buy { background: #FBE9EE; border-color: #F1C7D2; }
.g-buy > h2 { color: #A12A47; }
.g-province { background: #F5ECDF; border-color: #E5D3B8; }
.g-province > h2 { color: #7A4E1E; }
.g-gear { background: #ECEFF3; border-color: #D3DAE1; }
.g-gear > h2 { color: #3B4A54; }
.chip-size { background: #D2EBE4; color: #0B6B5D; border-color: #AEDACD; }
.chip-buy { background: #F7DCE4; color: #A12A47; border-color: #EBBCC9; }
.chip-province { background: #EFE2CC; color: #7A4E1E; border-color: #DEC9A4; }
.chip-gear { background: #E0E5EB; color: #3B4A54; border-color: #C6CED7; }
.post-card .tag-size { color: #0B6B5D; }
.post-card .tag-buy { color: #A12A47; }
.post-card .tag-prov { color: #7A4E1E; }
.post-card .tag-gear { color: #3B4A54; }
.article-body details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 0 0 10px; background: var(--white); }
.article-body details summary { font-weight: 600; cursor: pointer; color: var(--ink); }
.article-body details p { margin: 10px 0 0; }
.mega-links h4 a { color: inherit; text-decoration: none; }
.mega-links h4 a:hover { color: var(--depths); }

/* ---------- Round 21: unique group palette + chip icons ---------- */
.side-chip { display: flex; align-items: center; gap: 9px; }
.side-chip svg { width: 15px; height: 15px; flex-shrink: 0; }
.g-money { background: #E3F3E6; border-color: #C2E2C9; } .g-money > h2 { color: #0A5C33; }
.g-size { background: #E0F1F6; border-color: #BBDDE8; } .g-size > h2 { color: #0A607A; }
.g-buy { background: #FAE7ED; border-color: #F0C6D3; } .g-buy > h2 { color: #A11F45; }
.g-rules { background: #E4EDFB; border-color: #C1D5F4; } .g-rules > h2 { color: #1D4FA5; }
.g-province { background: #F4EBDB; border-color: #E2D2B4; } .g-province > h2 { color: #7A4E1E; }
.g-setup { background: #EFE7FA; border-color: #D8C6F0; } .g-setup > h2 { color: #5B2EAB; }
.g-gear { background: #EAEDF0; border-color: #CFD6DC; } .g-gear > h2 { color: #33424E; }
.g-weather { background: #FCF3D6; border-color: #F0DFA0; } .g-weather > h2 { color: #8A6000; }
.chip-money { background: #D7EDDC; color: #0A5C33; border-color: #B4DCBF; }
.chip-size { background: #CFE9F1; color: #0A607A; border-color: #A9D6E4; }
.chip-buy { background: #F7DBE4; color: #A11F45; border-color: #ECBACA; }
.chip-rules { background: #D9E6FA; color: #1D4FA5; border-color: #B3CDF1; }
.chip-province { background: #EDDFC6; color: #6E441A; border-color: #DECCA6; }
.chip-setup { background: #E6D9F7; color: #5B2EAB; border-color: #CDB4EC; }
.chip-gear { background: #DFE4E9; color: #33424E; border-color: #C4CDD4; }
.chip-weather { background: #FAEEC2; color: #8A6000; border-color: #EBD98E; }
.post-card .tag-size { color: #0A607A; }
.post-card .tag-gear { color: #33424E; }
.post-card .tag-climate { color: #8A6000; }

/* ---------- Round 21b: bigger brand header, slab nav, matching footer ---------- */
.wordmark { font-family: 'Zilla Slab', Georgia, serif; font-size: 2.4rem; font-weight: 700; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.logo-mark { height: 60px; }
.site-header .wrap { padding-top: 12px; padding-bottom: 12px; }
.main-nav a, .menu-toggle { font-family: 'Zilla Slab', Georgia, serif; font-size: 1.08rem; font-weight: 600; }
.mega-dircard h4, .mega-links h4 { font-family: 'Zilla Slab', Georgia, serif; }
.topbar { font-size: 0.95rem; }
.topbar-inner { padding-top: 9px; padding-bottom: 9px; }
.footer-brand .wordmark { font-size: 2.4rem; }
@media (max-width: 1150px) and (min-width: 941px) {
  .wordmark { font-size: 1.9rem; gap: 9px; }
  .logo-mark { height: 46px; }
  .main-nav a, .menu-toggle { font-size: 1rem; }
}
@media (max-width: 940px) {
  .wordmark { font-size: 1.8rem; }
  .logo-mark { height: 44px; }
}
@media (max-width: 720px) {
  .wordmark { font-size: 1.55rem; }
  .logo-mark { height: 38px; }
  .footer-brand .wordmark { font-size: 1.8rem; }
  .topbar { font-size: 0.85rem; }
}

/* ---------- Round 21c: whole header chrome shares the slab ---------- */
.topbar, .topbar a { font-family: 'Zilla Slab', Georgia, serif; }
.topbar .topbar-tag { font-weight: 500; }
.nav-cta.btn { font-family: 'Zilla Slab', Georgia, serif; font-weight: 700; letter-spacing: 0.01em; }
.mega-links li a small { font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif; font-weight: 400; }

/* ---------- Round 22b: mega headings readable, mixed-case slab ---------- */
.mega-links h4, .mega-dircard h4 { font-family: 'Zilla Slab', Georgia, serif; font-size: 1.08rem; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--depths); margin: 0 0 10px; }
.mega-inner--4 { column-gap: 36px; }

/* ---------- Round 23: rebates mega gets the see-all card column ---------- */
.mega-inner--3 { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 30px; }

/* ---------- Round 24: global type scale-down (~12.5%) + tighter brand ---------- */
html { font-size: 87.5%; }
.logo-mark { height: 50px; }
@media (max-width: 1150px) and (min-width: 941px) { .logo-mark { height: 42px; } }
@media (max-width: 940px) { .logo-mark { height: 40px; } }
@media (max-width: 720px) { .logo-mark { height: 34px; } }
body { font-size: 1rem; }
