/* Google Fonts loaded via <link> in layout.php — no @import needed here */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface-alt);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ─── Skip to content link (accessibility) ─── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
}

/* ─── Logo text fallback ─── */
.logo-text {
  font-size: 22px;
  font-weight: 800;
  background: var(--logo-brush-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.site-footer .logo-text-footer {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

/* ─── Fixed header ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8);
}
body.has-site-announce {
  --announce-h: 40px;
  --site-chrome-h: calc(var(--header-h) + var(--announce-h));
}
.site-announcement {
  min-height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.35;
}
.site-announcement__link,
.site-announcement__text { color: inherit; text-decoration: none; }
.site-announcement__link:hover { text-decoration: underline; }
.site-announcement--info  { background: var(--brand-blue-light); color: var(--brand-blue-dark); }
.site-announcement--promo { background: var(--brand-red); color: #fff; }
.site-announcement--promo .site-announcement__link { color: #fff; }
.site-announcement--alert { background: #fef3c7; color: #92400e; }
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}
.logo img { height: 42px; width: auto; }
.logo svg  { height: 42px; width: auto; }

.header-bm-logo {
  display: none;
  height: 28px;
  width: auto;
  flex-shrink: 0;
}
@media (min-width: 960px) {
  .header-bm-logo { display: block; }
}
@media (min-width: 1100px) {
  .header-bm-logo { height: 34px; }
}

.nav { display: flex; gap: 2px; flex: 1; list-style: none; margin: 0; padding: 0; }
.nav__item { position: static; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  border-radius: 10px;
  min-height: 44px;
}
.nav__item:hover .nav__link,
.nav__item.is-active .nav__link,
.nav__item.is-hover .nav__link {
  color: var(--brand-blue);
  background: var(--brand-blue-light);
}
.nav__chev { font-size: 9px; opacity: 0.45; }

.header-actions { display: flex; gap: 8px; align-items: center; }
.btn-call {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px; font-size: 14px; font-weight: 700;
  border: 2px solid var(--border); border-radius: var(--radius-pill); background: #fff;
  color: var(--ink);
}
.btn-call:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.btn-call__short { display: none; }
.btn-ask-header {
  padding: 10px 16px; font-size: 14px; font-weight: 700; color: #fff;
  background: var(--ai-gradient); border-radius: var(--radius-pill);
}
.menu-toggle { display: none; font-size: 24px; padding: 8px; }

/* Sticky Tap-to-Call — mobile only */
:root {
  --mobile-call-bar-h: 0px;
}
.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 285;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--brand-blue, #0072ce);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.18);
}
.mobile-call-bar:hover,
.mobile-call-bar:focus-visible {
  background: var(--brand-blue-dark, #005ba4);
  color: #fff;
}
.mobile-call-bar__label { opacity: 0.9; font-weight: 700; }
.mobile-call-bar__phone { letter-spacing: 0.02em; }
.mobile-drawer__close {
  font-size: 28px;
  margin-bottom: 12px;
  padding: 4px 8px;
  display: block;
}

/* Account button */
.btn-account {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
}
.btn-account:hover { color: var(--brand-blue); border-color: var(--brand-blue); }
.btn-account__icon { font-size: 15px; }

/* Mega submenu links */
.mega-sublink {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 100%;
  padding: 11px 14px;
  margin-bottom: 4px;
  border-radius: 10px;
  color: var(--ink-soft);
}
.mega-sublink:hover,
.mega-sublink.is-preview {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
}
.mega-sublink__label { font-size: 14px; font-weight: 600; }
.mega-sublink__note { font-size: 11px; color: var(--muted); font-weight: 600; }
.mega-sublink:hover .mega-sublink__note { color: var(--brand-blue-dark); }

/* Phase badge */
.nav-phase {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: var(--brand-gold);
  color: var(--ink);
  vertical-align: middle;
  margin-left: 4px;
}

/* Footer social icons */
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: background 0.15s, transform 0.15s;
}
.social-link:hover { background: var(--brand-blue); transform: translateY(-2px); }

@media (min-width: 1100px) {
  .btn-account { display: inline-flex; }
}
@media (min-width: 960px) {
  .btn-call { display: inline-flex; }
  .btn-call__short { display: none; }
  .btn-call__full { display: inline; }
  .mobile-call-bar { display: none !important; }
}
@media (max-width: 959px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .btn-call {
    display: inline-flex;
    padding: 8px 12px;
    font-size: 13px;
  }
  .btn-call__full { display: none; }
  .btn-call__short { display: inline; }
  .mobile-call-bar { display: flex; }
  :root {
    --mobile-call-bar-h: calc(52px + env(safe-area-inset-bottom, 0px));
  }
  body { padding-bottom: var(--mobile-call-bar-h); }
  .ask-fab { bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  /* Ask page is position:fixed — lift it above the call bar so Related stays visible */
  body[data-page="ask"] main.page-offset--ask {
    bottom: var(--mobile-call-bar-h);
  }
}

/* ─── Mega menu ─── */
.mega-wrap {
  position: fixed;
  left: 0; right: 0;
  top: calc(var(--site-chrome-h) - 2px);
  z-index: 299;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s, visibility 0.18s;
  padding-top: 2px;
}
.mega-wrap::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 14px;
}
.mega-wrap.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.mega-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,20,25,0.25);
}
.mega-panel {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 280px;
  overflow: hidden;
}
.mega-panel__accent { height: 4px; background: var(--mega-accent, var(--brand-blue)); grid-column: 1 / -1; }
.mega-panel__nav { padding: 12px; border-right: 1px solid var(--border); background: var(--surface-alt); }
.mega-panel__preview { padding: 24px 28px; }
.mega-preview__title { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.mega-preview__desc { margin: 0 0 16px; font-size: 14px; color: var(--muted); max-width: 48ch; }
.mega-preview__swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.mega-preview__swatch {
  width: 56px; height: 56px; border-radius: 50%;
  border: 3px solid #fff; box-shadow: var(--shadow);
}
.mega-preview__links { display: flex; flex-wrap: wrap; gap: 8px; }
.mega-preview__links a {
  padding: 8px 14px; font-size: 13px; font-weight: 700;
  background: var(--brand-blue-light); color: var(--brand-blue-dark);
  border-radius: var(--radius-pill);
}
.mega-preview__links a:hover { background: var(--brand-blue); color: #fff; }

/* ─── Mobile drawer ─── */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(0,0,0,0.4);
  opacity: 0; visibility: hidden; transition: 0.2s;
}
.mobile-drawer.is-open { opacity: 1; visibility: visible; }
.mobile-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 88vw);
  background: var(--surface); padding: 20px; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.25s;
  display: flex; flex-direction: column;
}
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }
.mobile-drawer a {
  display: block; padding: 14px 0; font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-drawer__dealer {
  display: block;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.mobile-drawer__dealer img {
  height: 24px;
  width: auto;
  margin: 0 auto 8px;
}
.mobile-drawer__dealer p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
@media (min-width: 960px) {
  .mobile-drawer__dealer { display: none; }
}

/* ─── Page offset for fixed header ─── */
.page-offset { padding-top: var(--site-chrome-h); }

.breadcrumbs {
  padding: 6px 0 0; font-size: 13px; color: var(--muted);
}
.breadcrumbs a { color: var(--brand-blue); font-weight: 600; }
.bc-sep { margin: 0 6px; opacity: 0.4; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.text-gradient {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ─── Hero zone carousel ─── */
.hero-zone { padding-top: 16px; padding-bottom: 12px; }

.swatch-ribbon { display: flex; gap: 4px; margin-bottom: 10px; padding: 0 2px; }
.swatch-ribbon span {
  flex: 1; height: 9px; border-radius: 3px 6px 3px 6px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.25), inset 0 -1px 2px rgba(0,0,0,0.12);
}
.swatch-ribbon span:nth-child(5n+1) { background: var(--logo-brush-magenta); }
.swatch-ribbon span:nth-child(5n+2) { background: var(--logo-brush-purple); }
.swatch-ribbon span:nth-child(5n+3) { background: var(--logo-brush-blue); }
.swatch-ribbon span:nth-child(5n+4) { background: var(--logo-brush-cyan); }
.swatch-ribbon span:nth-child(5n+5) { background: var(--logo-brush-yellow); }

.hero-carousel {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  /* Match typical CMS banners (1200×300) so object-fit:cover does not crop text */
  aspect-ratio: 4 / 1;
  height: auto;
  max-height: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--hero-border-glow);
  background: var(--hero-bg);
}
.hero-carousel__track { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1; visibility: visible; pointer-events: auto; z-index: 1;
}

/* Text slides */
.hero-slide--text .hero-slide__bg { position: absolute; inset: 0; background: var(--hero-bg); }
.hero-slide--text .hero-slide__mesh { position: absolute; inset: 0; background: var(--hero-mesh); }
.hero-slide--text .hero-slide__overlay { position: absolute; inset: 0; background: var(--hero-text-overlay); }
.hero-slide--notice .hero-slide__bg { background: linear-gradient(135deg, #fff8e6 0%, #fde8ec 40%, #e8f2fa 100%); }
.hero-slide__copy {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; text-align: left; padding: 28px 36px; max-width: 100%;
}
.hero-slide__title {
  margin: 0 0 10px;
  font-size: clamp(24px, 4.2vw, 38px); font-weight: 800;
  line-height: 1.12; letter-spacing: -0.03em; max-width: 20ch;
}
.hero-slide__desc {
  margin: 0 0 14px; font-size: clamp(14px, 2vw, 17px);
  color: var(--ink-soft); max-width: 52ch; line-height: 1.45;
}
.hero-slide__cta {
  display: inline-flex; padding: 10px 18px; font-size: 14px; font-weight: 700;
  color: #fff; background: var(--brand-red); border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(227, 24, 55, 0.35);
}
.hero-slide__cta:hover { background: var(--brand-red-dark); }

/* Banner slides — show full artwork (no side crop of marketing text) */
.hero-slide--banner img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #0f172a;
}
.hero-slide__link { display: block; width: 100%; height: 100%; cursor: pointer; }
.hero-slide--banner > img { cursor: default; pointer-events: none; }
.hero-slide__caption {
  position: absolute; bottom: 0; left: 0; right: 0; margin: 0;
  padding: 8px 14px 36px; font-size: 11px; font-weight: 600; color: #fff;
  background: linear-gradient(transparent, rgba(15,20,25,0.65)); z-index: 2;
}
@media (max-width: 599px) { .hero-slide__caption { display: none; } }

/* Carousel controls */
.hero-carousel__controls {
  position: absolute; bottom: 12px; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  pointer-events: none;
}
.hero-carousel__dots {
  position: relative;
  display: flex; gap: 8px; pointer-events: auto;
  padding: 6px 12px; background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px); border-radius: var(--radius-pill); box-shadow: var(--shadow);
}
.hero-carousel__tip {
  position: absolute; left: 50%; bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  font-size: 11px; font-weight: 600; letter-spacing: 0.01em;
  color: #fff; background: rgba(15,23,42,0.78);
  padding: 5px 10px; border-radius: 999px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.hero-carousel__dots:hover .hero-carousel__tip,
.hero-carousel__dots:focus-within .hero-carousel__tip {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.hero-carousel__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(15,20,25,0.2); padding: 0;
  transition: transform 0.2s, background 0.2s;
}
.hero-carousel__dot.is-active { background: var(--brand-blue); transform: scale(1.2); }
.hero-carousel__dot:hover { background: var(--brand-green); }
@media (max-width: 599px) {
  .hero-carousel__tip { font-size: 10px; padding: 4px 8px; }
}

.hero-zone .dealer-bar { margin-top: 14px; margin-bottom: 0; }

/* Energy mode picker */
.energy-picker {
  position: fixed; bottom: 20px; left: 20px; z-index: 290;
  display: flex; align-items: center; gap: 6px; padding: 8px 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); font-size: 11px;
}
.energy-picker__label { font-weight: 700; color: var(--muted); padding-right: 4px; display: none; }
@media (min-width: 640px) { .energy-picker__label { display: inline; } }
.energy-picker button {
  padding: 6px 12px; font-size: 11px; font-weight: 700;
  border-radius: var(--radius-pill); color: var(--ink-soft); background: var(--surface-alt);
}
.energy-picker button[aria-pressed="true"] { color: #fff; background: var(--ai-gradient); }

/* ─── Inner page hero banner ─── */
.hero-banner {
  width: 100%; max-width: var(--max); margin: 0 auto;
  min-height: var(--banner-h); height: clamp(200px, 28vw, var(--banner-h));
  background: var(--hero-bg); background-size: cover; background-position: center;
  display: flex; align-items: center; position: relative; overflow: hidden;
  border-radius: var(--radius-lg); box-shadow: var(--hero-border-glow);
}
.hero-banner::before {
  content: ''; position: absolute; inset: 0; background: var(--hero-mesh); pointer-events: none;
}
.hero-banner--image { background-image: var(--banner-url, none); }
.hero-banner--image-only .hero-banner__copy { display: none; }
.hero-banner__copy { width: 100%; padding: 28px 32px; position: relative; z-index: 1; }
.hero-banner__copy h1 {
  margin: 0 0 10px; font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
}
.hero-banner__copy h1 em { font-style: normal; }
.hero-banner__copy p { margin: 0; font-size: clamp(15px, 2vw, 18px); color: var(--ink-soft); max-width: 72ch; }
.hero-banner__overlay { position: absolute; inset: 0; background: var(--hero-text-overlay); pointer-events: none; }
.hero-banner--image .hero-banner__overlay { background: linear-gradient(90deg, rgba(255,255,255,0.5) 0%, transparent 60%); }

/* ─── Home split: tiles + Ask (mobile-first) ─── */
.home-split { padding: var(--section-y) 0; }
.home-split__band {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-grid--home {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}
.cta-tile {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 16px 14px; min-height: 88px;
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border); border-left: 4px solid var(--tile-accent, var(--brand-blue));
  box-shadow: var(--shadow); transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none; color: inherit;
}
.cta-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.cta-tile strong { font-size: 15px; font-weight: 800; }
.cta-tile span { font-size: 12px; color: var(--muted); line-height: 1.35; }
.cta-tile:nth-child(1) { --tile-accent: var(--tile-1); }
.cta-tile:nth-child(2) { --tile-accent: var(--tile-2); }
.cta-tile:nth-child(3) { --tile-accent: var(--tile-3); }
.cta-tile:nth-child(4) { --tile-accent: var(--tile-4); }

/* Ask Boyd's panel */
.ask-panel {
  display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
}
.ask-panel--home { max-width: none; height: 100%; }
.ask-panel__head { padding: 14px 16px; background: var(--ai-gradient); color: #fff; }
.ask-panel__head h2 { margin: 0 0 4px; font-size: 16px; font-weight: 800; }
.ask-panel__head p { margin: 0; font-size: 12px; opacity: 0.92; }
.ask-panel__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.ask-panel__row { display: flex; gap: 8px; margin-bottom: 10px; }
.ask-panel__row input {
  flex: 1; padding: 11px 12px; font-size: 15px;
  border: 2px solid var(--border); border-radius: 12px; outline: none;
}
.ask-panel__row input:focus { border-color: var(--brand-blue); }
.ask-panel__row button {
  padding: 11px 16px; font-weight: 700; color: #fff;
  background: var(--brand-red); border-radius: 12px; white-space: nowrap;
}
.ask-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ask-chips button {
  padding: 6px 11px; font-size: 12px; font-weight: 600;
  color: var(--brand-blue-dark); background: var(--brand-blue-light);
  border-radius: var(--radius-pill);
}
.ask-panel__note { margin: auto 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.ask-panel__note a { color: var(--brand-red); font-weight: 700; }

@media (min-width: 1024px) {
  .home-split__band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 20px;
    align-items: stretch;
  }
  .cta-grid--home {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    height: 100%;
  }
  .cta-tile {
    min-height: 0;
    padding: 18px 16px;
  }
  .ask-panel__head { padding: 16px 20px; }
  .ask-panel__head h2 { font-size: 17px; }
  .ask-panel__head p { font-size: 13px; }
  .ask-panel__body { padding: 16px 20px 18px; }
}

/* Generic sections — unified rhythm */
.section { padding: var(--section-y) 0; }
.section--white { background: var(--surface); }
.section--tinted { background: linear-gradient(180deg, var(--brand-blue-light) 0%, var(--surface) 100%); }
.section--trust { padding-block: calc(var(--section-y) * 0.75); }
.section__title { text-align: center; margin: 0 0 28px; font-size: 26px; font-weight: 800; }

.promo-strip img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

.trust-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .trust-row { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.trust-row div {
  text-align: center; padding: 14px 12px; background: var(--surface);
  border-radius: var(--radius); border: 1px solid var(--border);
}
.trust-row strong { display: block; font-size: 14px; margin-bottom: 4px; }
.trust-row span { font-size: 12px; color: var(--muted); }

.dealer-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 18px; margin-top: 24px;
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border);
}
.dealer-bar img { height: 32px; width: auto; }
.dealer-bar--quiet {
  margin-top: 14px;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-radius: 0;
  gap: 12px;
}
.dealer-bar--quiet .dealer-bar__bm-logo { height: 26px; width: auto; }
.dealer-bar--quiet .dealer-bar__copy {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* Colour Studio home promo — capped to hero height (--band-visual) */
.studio-promo {
  padding: var(--section-y) 0;
}
.studio-promo__inner {
  display: grid;
  grid-template-columns: 1fr; /* mobile-first */
  gap: 0;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
a.studio-promo__visual {
  display: block;
  background: #e4dfd6;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  height: var(--band-visual);
  max-height: var(--band-visual);
}
.studio-promo__frame {
  display: block;
  width: 100%;
  height: 100%;
}
.studio-promo__svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.studio-promo__fallback {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  background: #d7d2c8;
}
.studio-promo__fallback-wall {
  position: absolute; inset: 0 0 30% 0;
  background: var(--studio-hex, #394963);
}
.studio-promo__fallback-floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(180deg, #b89a78 0%, #8f7358 100%);
}
.studio-promo__copy {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.studio-promo__copy h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.studio-promo__copy p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 42ch;
}
.studio-promo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (min-width: 1024px) {
  .studio-promo__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
  a.studio-promo__visual {
    height: auto;
    min-height: var(--band-visual);
    max-height: none;
    align-self: stretch;
  }
  .studio-promo__frame,
  .studio-promo__svg,
  .studio-promo__fallback {
    min-height: var(--band-visual);
    height: 100%;
  }
  .studio-promo__copy {
    padding: 28px 32px;
  }
  .studio-promo__copy h2 {
    font-size: clamp(26px, 3.2vw, 32px);
  }
  .studio-promo__copy p {
    font-size: 16px;
    line-height: 1.55;
  }
}

/* ─── Colour detail ─── */
.colour-hero { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
@media (min-width: 768px) { .colour-hero { grid-template-columns: 280px 1fr; } }
.colour-dollop {
  aspect-ratio: 1; border-radius: var(--radius-lg);
  background: var(--colour-hex, #ccc);
  box-shadow: var(--shadow-lg), inset 0 -20px 40px rgba(0,0,0,0.06);
  border: 4px solid #fff;
}
.colour-meta h1 { margin: 0 0 8px; font-size: 32px; font-weight: 800; }
.colour-meta .code { font-size: 18px; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.colour-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.badge {
  padding: 6px 12px; font-size: 12px; font-weight: 700;
  background: var(--brand-blue-light); color: var(--brand-blue-dark);
  border-radius: var(--radius-pill);
}
.colour-meta p { color: var(--ink-soft); line-height: 1.6; margin: 0 0 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-primary {
  padding: 12px 22px; font-weight: 700; color: #fff;
  background: var(--brand-red); border-radius: var(--radius-pill);
}
.btn-outline {
  padding: 12px 22px; font-weight: 700; color: var(--brand-blue);
  border: 2px solid var(--brand-blue); border-radius: var(--radius-pill); background: #fff;
}
.btn-blue {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; font-weight: 700; color: #fff;
  background: var(--brand-blue); border: 2px solid var(--brand-blue);
  border-radius: var(--radius-pill); text-decoration: none;
}
.btn-blue:hover { background: var(--brand-blue-dark, #005a9e); border-color: var(--brand-blue-dark, #005a9e); color: #fff; }
.btn-primary.store-cta,
.btn-blue.store-cta { display: inline-flex; align-items: center; gap: 8px; }
.colour-samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.colour-samples img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); background: var(--surface-alt); }
.harmony-section { margin: 40px 0; }
.harmony-section h2 { font-size: 20px; font-weight: 800; margin: 0 0 16px; }
.harmony-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.harmony-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: transform 0.15s;
}
.harmony-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.harmony-card__swatch { height: 80px; background: var(--h, #ccc); }
.harmony-card__info { padding: 10px 12px; }
.harmony-card__info strong { display: block; font-size: 13px; }
.harmony-card__info span { font-size: 11px; color: var(--muted); }

/* ─── Product detail ─── */
.product-hero { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
@media (min-width: 768px) { .product-hero { grid-template-columns: 1fr 1fr; } }
.product-visual {
  aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--brand-blue-light), var(--surface-alt));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  padding: 16px;
}
.product-visual img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.product-meta h1 { margin: 0 0 8px; font-size: 28px; font-weight: 800; }
.product-meta .tagline { color: var(--muted); margin-bottom: 16px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0; }
.spec-grid div { padding: 12px; background: var(--surface-alt); border-radius: 10px; font-size: 13px; }
.spec-grid strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 4px; }
.content-block {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 24px; margin-bottom: 20px; border: 1px solid var(--border);
}

/* ─── Floating Ask Boyd's ─── */
.ai-fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 280;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ai-gradient); color: #fff;
  font-size: 10px; font-weight: 800; line-height: 1.15;
  box-shadow: 0 6px 24px rgba(0,114,206,0.35);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.ai-drawer-backdrop {
  position: fixed; inset: 0; z-index: 277;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0; visibility: hidden; transition: opacity 0.22s;
}
.ai-drawer-backdrop.is-open { opacity: 1; visibility: visible; }
body.ai-drawer-open { overflow: hidden; }

/* ─── Ask Boyd's FAB (floating action button → navigates to /ask) ─── */
.ask-fab {
  position: fixed;
  z-index: 279;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 0 14px;
  height: 50px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,114,206,0.35);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.15s, box-shadow 0.15s;
}
.ask-fab:hover { background: var(--brand-blue-dark, #005ba4); box-shadow: 0 6px 20px rgba(0,114,206,0.45); }
.ask-fab__icon { font-size: 18px; }
.ask-fab__label { font-size: 14px; }
/* Hide FAB on the /ask page itself */
body[data-page="ask"] .ask-fab { display: none; }
body[data-page="home"] .ask-fab { display: none; }

/* Home scroll atmosphere — soft fixed bg; solid cards stay readable */
body[data-page="home"] {
  background-color: var(--surface-alt);
  background-image:
    linear-gradient(180deg, rgba(248, 250, 252, 0.88) 0%, rgba(248, 250, 252, 0.78) 40%, rgba(248, 250, 252, 0.9) 100%),
    url('/img/home-scroll-bg.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll; /* mobile-safe; fixed on larger screens below */
}
@media (min-width: 1024px) {
  body[data-page="home"] {
    background-attachment: fixed;
  }
}
/* If WebP missing, gradient-only still softens chrome; jpg fallback */
body[data-page="home"].home-bg-jpg {
  background-image:
    linear-gradient(180deg, rgba(248, 250, 252, 0.88) 0%, rgba(248, 250, 252, 0.78) 40%, rgba(248, 250, 252, 0.9) 100%),
    url('/img/home-scroll-bg.jpg');
}

/* ─── Footer ─── */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.85); padding: 48px 0 28px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo {
  display: inline-block;
  margin-bottom: 12px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  line-height: 0;
}
.site-footer .logo svg { height: 40px; width: auto; display: block; }
.site-footer p { font-size: 14px; opacity: 0.75; line-height: 1.6; }
.site-footer h5 { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.45; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { text-align: center; font-size: 12px; opacity: 0.4; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); }

/* ─── Responsive mobile ─── */
@media (max-width: 959px) {
  .btn-ask-header { font-size: 13px; padding: 8px 12px; }
}
@media (max-width: 599px) {
  .hero-carousel {
    aspect-ratio: 4 / 1;
    height: auto;
    min-height: 0;
  }
  .hero-slide__copy { padding: 16px 14px 36px; }
  .hero-slide__title { max-width: 100%; font-size: clamp(18px, 5vw, 24px); }
  .hero-slide__desc { font-size: 13px; max-width: 100%; }
  .hero-slide__cta { padding: 8px 14px; font-size: 13px; }
  .swatch-ribbon span { height: 6px; }
  .colour-samples { grid-template-columns: 1fr; }
  .mega-wrap { display: none; }
  .ask-fab { right: 12px; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); padding: 0 14px 0 10px; height: 44px; font-size: 13px; }
  .energy-picker { bottom: calc(116px + env(safe-area-inset-bottom, 0px)); left: 12px; }
  .hero-banner__copy { padding: 20px 18px; }
  .hero-banner { height: auto; min-height: 220px; }
}
