/* ---------- Fonts (self-hosted, 14 Nov 2026) ----------
   The same files Google Fonts served, now in /fonts. The two Google Fonts
   stylesheets were render-blocking third-party requests (Lighthouse: about
   880 ms on a phone). URLs are relative to this file so they resolve under
   any base path. Outfit and DM Sans (upright) are variable-weight files, so
   one range covers every weight the site uses. Licence: site/fonts/. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/outfit-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/dm-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/dm-sans-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Serif Display'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/dm-serif-display-italic-your.woff2) format('woff2'); unicode-range: U+59, U+6f, U+72, U+75; }

/* =========================================================
   OZ HOME ENERGY — DESIGN SYSTEM
   Premium, calm, technically-credible energy-company system.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand colour */
  --blue-900: #032a8f;
  --blue-800: #0560c1; /* primary brand blue */
  --blue-700: #164ad1;
  --blue-100: #eaf0fd; /* pale supporting surface */
  --blue-50:  #f4f7fe;

  --charcoal: #1a1a1a;
  --charcoal-700: #33332f;
  --charcoal-500: #5c5b54;
  --charcoal-300: #8a887f;

  --white: #ffffff;
  --offwhite: #f7f5f1; /* warm off-white background */
  --grey-100: #efece5;
  --grey-200: #e3e0d7;
  --line: #dfdcd2;

  --success: #1c7a4d;
  --warning: #a15c00;

  /* Semantic tokens (light) */
  --bg: var(--white);
  --bg-alt: var(--offwhite);
  --bg-inverse: var(--charcoal);
  --bg-accent: var(--blue-100);
  --text: var(--charcoal);
  --text-muted: var(--charcoal-500);
  --text-on-blue: var(--white);
  --text-on-dark: #f2f1ec;
  --border: var(--line);
  --brand: var(--blue-800);
  --brand-hover: var(--blue-900);
  --focus-ring: #0a63ff;

  /* Type */
  --font-heading: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Scale */
  --step-1: clamp(1.6rem, 1.4rem + 1.2vw, 2.25rem);
  --step-2: clamp(2rem, 1.5rem + 2.4vw, 3.5rem);
  --step-3: clamp(2.5rem, 1.9rem + 3vw, 4.5rem);

  /* Layout */
  --maxw: 1240px;
  --maxw-narrow: 820px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --space-section: clamp(64px, 9vw, 128px);
  --shadow-sm: 0 1px 2px rgba(5,96,193,0.07), 0 1px 1px rgba(5,96,193,0.04);
  --shadow-md: 0 8px 24px rgba(5,96,193,0.10);
  --amber: #d97706;
  --header-h: 76px;
}

/* Intentionally light-only for this launch. An earlier pass added a
   prefers-color-scheme override that only redefined a handful of CSS
   custom properties (--bg, --text, etc.) — but many components here set
   their own colours directly (the header's rgba(255,255,255,.96)
   background, .dropdown-panel's #fff, card borders/shadows tuned for a
   light ground, and more) rather than reading those tokens. The result was
   light-text-on-light-background in a system dark-mode browser, which is
   worse than no dark mode at all. Re-add this properly — auditing and
   re-theming every component against a real dark palette, then checking
   contrast — rather than re-enabling a partial override. */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--text);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--step-3); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: var(--step-2); letter-spacing: -0.03em; line-height: 1.06; }
h3 { font-size: var(--step-1); letter-spacing: -0.015em; }
h4 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--text); }
a { color: var(--brand); }
.lede { font-size: 1.15rem; color: var(--text-muted); max-width: 60ch; text-wrap: pretty; line-height: 1.65; }
ul, ol { padding-left: 1.2em; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: 8px; top: -60px;
  background: var(--brand); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); z-index: 200; transition: top .15s ease;
}
.skip-link:focus { top: 8px; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 20px; }
.section { padding-block: var(--space-section); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-alt { background: var(--bg-alt); }
.section-inverse { background: var(--bg-inverse); color: var(--text-on-dark); }
.section-inverse h2, .section-inverse h3, .section-inverse p { color: var(--text-on-dark); }
.section-accent { background: var(--bg-accent); }
.eyebrow {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand);
  margin: 0 0 12px; opacity: 0.9;
}
.section-inverse .eyebrow { color: #9db4ff; }
/* 9 Oct 2026 (competitor-informed improvement pass): the eyebrow's
   opacity:0.9 (added in the design-system refresh) drops brand-blue text
   on a .section-accent's light-blue background to 4.47:1 — just under
   the 4.5:1 WCAG AA threshold (axe-core flagged it on three real
   sections). Full opacity only where that specific combination needs
   it; every other background keeps the 0.9 look unchanged. */
.section-accent .eyebrow, .split-panel.home .eyebrow { opacity: 1; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }

.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); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
  padding: 14px 26px; border-radius: var(--radius-sm); text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  min-height: 48px; line-height: 1.1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 16px rgba(5,96,193,0.3); }
.btn-primary:hover { background: var(--brand-hover); box-shadow: 0 8px 24px rgba(5,96,193,0.38); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--text); }
/* Any dark-background surface needs the light variant explicitly — .btn-secondary's
   default (dark text, light border) is invisible against a dark background, which
   is exactly what was happening on every page's .page-banner hero. */
.section-inverse .btn-secondary, .hero .btn-secondary, .page-banner .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.6); }
.section-inverse .btn-secondary:hover, .hero .btn-secondary:hover, .page-banner .btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.12); }
.section-inverse .btn-secondary:focus-visible, .hero .btn-secondary:focus-visible, .page-banner .btn-secondary:focus-visible { outline-color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); padding: 8px 4px; min-height: auto; }
.btn-ghost:hover { text-decoration: underline; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(223,220,210,0.7);
  height: var(--header-h);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
/* Wider than the standard 1240px content container so the header makes
   fuller use of large screens instead of matching body copy's reading
   width. Scoped to .site-header so it doesn't widen every .container. */
.site-header .container { max-width: 1400px; }
/* flex-shrink is intentionally NOT 0 here (a previous pass set it to 0,
   which silently defeated the min-width:0 fix below — min-width is
   meaningless on an item that's forbidden from shrinking at all). The two
   header-actions buttons (call + hamburger) must stay full-size for tap
   targets, so the logo is the only thing that can give up space — without
   this, at a 320px viewport the hamburger is pushed ~23px past the right
   edge of the screen, off-screen and untappable on real narrow phones. */
.brand-logo { display: flex; align-items: center; text-decoration: none; color: var(--text); min-width: 0; flex-shrink: 0; }
/* The exact supplied logo PNG, used unmodified — sized by height only so
   width follows its real aspect ratio (object-fit: contain covers the
   rare case a future replacement asset isn't pre-cropped to its content). */
.brand-logo-img { height: 44px; width: auto; max-width: 100%; object-fit: contain; display: block; }
@media (min-width: 480px) { .brand-logo-img { height: 52px; } }
.header-inner { min-width: 0; }

.primary-nav { display: none; }
@media (min-width: 1080px) {
  /* The nav markup is <nav class="primary-nav"><ul><li>…, so every rule
     below must target .primary-nav > ul > li — a bare ">li" child
     combinator never matched anything, which is why these dropdowns
     previously didn't open on hover, click or keyboard, and the top-level
     links/buttons rendered with default browser button chrome instead of
     this stylesheet's styling. */
  .primary-nav { display: flex; align-items: center; gap: 2px; margin-left: 16px; margin-right: auto; }
  .primary-nav > ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
  .primary-nav > ul > li { position: relative; list-style: none; }
  .primary-nav > ul > li > a, .primary-nav > ul > li > button {
    font-family: var(--font-heading); font-weight: 600; font-size: 0.92rem; color: var(--text);
    text-decoration: none; padding: 10px 10px; border-radius: var(--radius-sm); background: none; border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; min-height: 44px;
  }
  .primary-nav > ul > li > a:hover, .primary-nav > ul > li > button:hover { color: var(--brand); }
  .dropdown-panel {
    display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
    box-shadow: var(--shadow-md); padding: 10px; z-index: 50;
  }
  /* Visibility is driven entirely by the .is-open class (site.js), which is
     the same state the button's aria-expanded reflects — a single source
     of truth, rather than a CSS :hover trigger that could show the panel
     while aria-expanded still said "false". */
  .primary-nav > ul > li.is-open .dropdown-panel { display: block; }
  .dropdown-panel a {
    display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text);
    text-decoration: none; font-size: 0.95rem;
  }
  .dropdown-panel a:hover { background: var(--bg-accent); color: var(--brand); }
  .dropdown-panel .panel-note { padding: 10px 12px 4px; font-size: 0.78rem; color: var(--text-muted); }
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.phone-link { display: none; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font-weight: 600; font-family: var(--font-heading); font-size: 0.95rem; }
@media (min-width: 720px) { .phone-link { display: inline-flex; } }
.phone-link svg { width: 18px; height: 18px; color: var(--brand); }
.header-actions .btn { padding: 11px 18px; font-size: 0.88rem; }
/* The phone-only header call button (.mobile-call-btn) was removed 14 Nov
   2026 (UX audit): below 760px the sticky bottom bar already shows the
   number, so the header repeated it on every screen. */
.desktop-cta { display: none; }
@media (min-width: 860px) { .desktop-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer;
  /* Removes the browser's ~300ms tap-recognition delay (it waits to see if
     a tap is the start of a double-tap-to-zoom gesture before committing to
     it) so the very first tap always registers immediately, not just on
     visual double-tap-zoom-disabling viewports. */
  touch-action: manipulation;
}
@media (min-width: 1080px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: #fff; z-index: 90;
  overflow-y: auto; padding: 12px 20px 40px; display: none;
}
.mobile-nav.is-open { display: block; }
@media (min-width: 1080px) { .mobile-nav { display: none !important; } }
.mobile-nav details { border-bottom: 1px solid var(--border); }
.mobile-nav summary {
  list-style: none; cursor: pointer; padding: 16px 4px; font-family: var(--font-heading);
  font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center;
  /* Same tap-delay removal as .nav-toggle above — a native <summary> toggle
     is otherwise just as subject to the browser's default double-tap-zoom
     detection window as any other tappable element. */
  touch-action: manipulation;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary .chev { transition: transform .15s ease; }
.mobile-nav details[open] summary .chev { transform: rotate(180deg); }
.mobile-nav .sub-links { padding: 0 4px 16px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav .sub-links a { padding: 10px 8px; color: var(--text); text-decoration: none; border-radius: var(--radius-sm); touch-action: manipulation; }
.mobile-nav .sub-links a:hover { background: var(--bg-accent); }
.mobile-nav > a.top-link { display: block; padding: 16px 4px; font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }
.mobile-nav .mobile-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

.announcement {
  background: var(--charcoal); color: #fff; text-align: center; font-size: 0.85rem;
  padding: 8px 16px; font-family: var(--font-heading); font-weight: 500;
}
.announcement a { color: #fff; text-decoration: underline; }

/* Rebate deadline strip (27 Oct 2026, marketing council): a dated,
   CER-sourced fact band under the hero on Home and Home batteries.
   Figures live in src/data/rebates.json; update there and here together. */
.rebate-strip { background: var(--bg-accent); border-top: 1px solid rgba(5, 96, 193, 0.14); border-bottom: 1px solid rgba(5, 96, 193, 0.14); }
.rebate-strip-inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 18px; padding-block: 12px; font-size: 0.92rem; line-height: 1.45; color: var(--text); text-align: center; }
.rebate-strip strong { color: var(--brand); font-family: var(--font-heading); font-weight: 600; }
.rebate-strip a { font-weight: 600; white-space: nowrap; }
.rebate-strip .asof { flex-basis: 100%; font-size: 0.76rem; color: var(--text-muted); }

/* Named stages (5 Nov 2026, from Oz's Lead Form Redesign + Enquiry
   Confirmation artifacts). Same five steps beside the quote forms and on
   the enquiry confirmation page, so the promise before and after submit is
   identical. --compact is the sidebar variant. */
.ohe-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ohe-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; position: relative; padding-bottom: 24px; }
.ohe-steps li:last-child { padding-bottom: 0; }
.ohe-steps li::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--border); }
.ohe-steps li:last-child::before { display: none; }
.ohe-step-dot { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-accent); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; color: var(--brand); }
.ohe-steps li.is-next .ohe-step-dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.ohe-step-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; padding-top: 2px; }
.ohe-step-head h3 { font-size: 1.02rem; margin: 0; }
.ohe-step-next { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); background: var(--bg-accent); border-radius: 999px; padding: 3px 9px; }
.ohe-steps p { margin: 0; color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; }
.ohe-steps--compact li { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; }
.ohe-steps--compact li::before { left: 13px; top: 28px; }
.ohe-steps--compact .ohe-step-dot { width: 28px; height: 28px; font-size: 0.8rem; }
.ohe-steps--compact .ohe-step-head { padding-top: 3px; margin-bottom: 2px; }
.ohe-steps--compact .ohe-step-head h3 { font-size: 0.93rem; }
.ohe-steps--compact p { font-size: 0.84rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; min-height: 640px; display: flex; align-items: flex-end;
  background: var(--charcoal); overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px 200px; opacity: 0.4;
}
/* Real photo behind the hero copy (see src/pages/home/content.html) — an
   <img> rather than a CSS background so it gets real width/height,
   srcset/AVIF-WebP negotiation and alt text, not just decoration. */
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(10,12,20,0.92) 0%, rgba(10,12,20,0.72) 45%, rgba(10,12,20,0.28) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-block: 104px 84px; max-width: 780px; text-align: left; }
.hero .eyebrow { color: #bcd0ff; }
/* Type pass (6 Nov 2026): larger, tighter hero headline, the biggest single
   lever behind the more premium feel of the template we compared against. */
.hero h1 { color: #fff; font-size: clamp(2.75rem, 1.6rem + 4.8vw, 5.5rem); letter-spacing: -0.045em; line-height: 1; margin-bottom: 22px; text-wrap: balance; }
.hero .lede { color: #eceaf9; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 14px; margin-top: 28px; }
.hero-trust { margin-top: 32px; font-size: 0.88rem; color: #d8ddf5; display: flex; align-items: center; justify-content: flex-start; gap: 10px; flex-wrap: wrap; }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: #7c8ab8; }
/* Phones: the sticky bottom bar already shows the number, so the hero keeps
   one button (13 Nov 2026 hero trim). */
@media (max-width: 760px) { .hero .hero-call { display: none; } }
.hero-photo-credit { position: absolute; z-index: 2; bottom: 10px; right: 16px; font-size: 0.7rem; color: rgba(255,255,255,0.55); }

/* Page (non-home) header banner */
.page-banner { background: var(--bg-inverse); color: #fff; padding-block: 64px 52px; }
.page-banner .eyebrow { color: #9db4ff; }
.page-banner h1 { color: #fff; margin-bottom: 16px; }
.page-banner .lede { color: #d8ddf5; }
.breadcrumbs { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { margin: 0 6px; }
.page-banner .breadcrumbs, .page-banner .breadcrumbs a { color: #b6bfe6; }

/* Photographic page-banner variant — added 29 Sep 2026 (site-loop design
   pass): reuses a real install photo already living on that same page,
   the same technique as the homepage hero (a real <img> behind an
   overlay, not a CSS background, so it keeps width/height, srcset/AVIF-
   WebP negotiation and alt text). Left-aligned overlay (darkest at the
   text side, fading toward the photo) rather than the homepage hero's
   centred top-to-bottom gradient, since page-banner copy is left-aligned. */
.page-banner--photo { position: relative; overflow: hidden; padding-block: 88px 72px; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; }
.page-banner-media { position: absolute; inset: 0; z-index: 0; }
.page-banner-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.page-banner-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(10,12,20,0.94) 0%, rgba(10,12,20,0.75) 42%, rgba(10,12,20,0.35) 100%);
}
.page-banner--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px 200px; opacity: 0.4;
}
.page-banner--photo .container { position: relative; z-index: 3; }
@media (max-width: 640px) {
  .page-banner--photo { padding-block: 64px 48px; min-height: 360px; }
  .page-banner-overlay { background: linear-gradient(180deg, rgba(10,12,20,0.7) 0%, rgba(10,12,20,0.94) 100%); }
}

/* ---------- Proof strip ---------- */
.proof-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.proof-list { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: center; }
.proof-list li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 500; color: var(--text); }
.proof-list svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; }

/* ---------- Pathway selector ---------- */
.pathway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .pathway-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pathway-grid { grid-template-columns: 1fr; } }
.pathway-card {
  display: flex; align-items: center; gap: 14px; text-align: left; padding: 20px; border: 1.5px solid var(--border);
  border-radius: var(--radius-md); background: #fff; cursor: pointer; text-decoration: none; color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; min-height: 48px;
}
.pathway-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pathway-card .icon { width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--bg-accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pathway-card .icon svg { width: 22px; height: 22px; color: var(--brand); }
.pathway-card strong { display: block; font-family: var(--font-heading); font-size: 0.98rem; }
/* One-line positioning note under the cards. It replaces the separate
   "One connected energy system" section (14 Nov 2026 UX audit). */
.pathway-note { max-width: 62ch; margin: 28px auto 0; text-align: center; color: var(--text-muted); text-wrap: pretty; }
.pathway-note strong { color: var(--text); }

/* ---------- Energy flow diagram ---------- */
.flow-diagram { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 820px) { .flow-diagram { grid-template-columns: repeat(2, 1fr); } }
.flow-step { position: relative; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 28px 20px; text-align: center; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.flow-step:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.flow-step .num { font-family: var(--font-heading); font-weight: 700; color: var(--brand); font-size: 0.8rem; letter-spacing: 0.1em; }
.flow-step .icon { width: 52px; height: 52px; margin: 14px auto; border-radius: 50%; background: var(--bg-accent); display: flex; align-items: center; justify-content: center; }
.flow-step .icon svg { width: 26px; height: 26px; color: var(--brand); }
.flow-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.flow-step p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.flow-arrow { display: none; }
@media (min-width: 821px) {
  .flow-step:not(:last-child)::after {
    content: ""; position: absolute; top: 50%; right: -24px; width: 16px; height: 16px;
    border-top: 2px solid var(--border); border-right: 2px solid var(--border); transform: translateY(-50%) rotate(45deg);
  }
}

/* ---------- Solution / service cards ---------- */
.solution-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; background: #fff; align-items: stretch;
}
.solution-card.reverse { grid-template-columns: 1fr 1fr; }
.solution-card.reverse .solution-media { order: 2; }
@media (max-width: 780px) { .solution-card, .solution-card.reverse { grid-template-columns: 1fr; } .solution-card.reverse .solution-media { order: 0; } }
.solution-media { position: relative; min-height: 260px; background: var(--grey-100); }
.solution-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.solution-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.solution-body .eyebrow { margin-bottom: 10px; }
.solution-body h3 { font-size: 1.6rem; margin-bottom: 12px; }
.solution-body p { color: var(--text-muted); }
.solution-card + .solution-card { margin-top: 20px; }

/* ---------- Generic cards ---------- */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
/* Hover lift only on cards that are links (14 Nov 2026, sitewide UX/UI pass, item 7 at the end of this file). */
a.card:hover, .card:has(> h3 > a):hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: rgba(5,96,193,0.25); }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--text-muted); margin-bottom: 0; }
.img-card { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); background: #fff; }
.img-card .media { aspect-ratio: 4/3; background: var(--grey-100); position: relative; overflow: hidden; }
.img-card .media img { width: 100%; height: 100%; object-fit: cover; }
.img-card .body { padding: 20px 22px 24px; }
.img-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.img-card p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 10px; }

/* Visual panel: the shipped look wherever a photograph will eventually go.
   Real Oz Home Energy photography is not yet in the repository (see the
   shot list in docs/05-photography-shotlist.md) — rather than show a
   dashed "placeholder" box in the public interface, every one of these
   spots renders as a deliberate, on-brand icon panel. Swapping in a real
   photo later means replacing the <span class="visual-panel"> block with
   a <picture>/<img> (srcset, width/height, alt) — the surrounding layout
   (.solution-media, .img-card .media) already sizes correctly either way. */
.visual-panel {
  width: 100%; height: 100%; min-height: 220px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--blue-100), var(--bg-alt));
}
.visual-panel svg { width: 25%; min-width: 56px; max-width: 88px; height: auto; color: var(--brand); opacity: 0.85; }

/* Real photo, same slot a .visual-panel icon used to fill: a simple
   rounded/cropped frame around a <picture> for a genuine Oz Home Energy
   installation photo (see docs/asset-manifest.md for the source list). */
.photo-frame {
  width: 100%; height: 100%; min-height: 220px; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--grey-100);
}
.photo-frame picture, .photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-frame figcaption {
  font-size: 0.8rem; color: var(--text-muted); padding: 8px 2px 0; background: transparent;
}

/* ---------- Trust section: "Qualified. Approved. Accountable." ---------- */
.trust-section { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-section-head { text-align: center; max-width: 620px; margin: 0 auto 32px; }
.trust-section-head p.eyebrow { justify-content: center; }
.trust-section-head h2 { margin-bottom: 8px; }
.trust-section-head .lede { margin-inline: auto; }

.trust-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 32px; row-gap: 28px;
  max-width: 1080px; margin-inline: auto;
}

/* Transparent, evenly-aligned credential cells — deliberately not white
   card tiles: no background, no border, no box shadow. A fixed-height
   media row keeps every card's media area, heading baseline and
   description spacing consistent regardless of each badge's own aspect
   ratio. */
.trust-card {
  position: relative;
  min-height: 230px;
  padding: 18px 12px;
  display: grid;
  grid-template-rows: 116px minmax(2.5em, auto) minmax(2.9em, auto);
  align-items: start;
  justify-items: center;
  row-gap: 10px;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform .1s ease, color .15s ease;
}
a.trust-card:hover, a.trust-card:focus-visible { color: var(--brand); transform: translateY(-2px); }
a.trust-card:hover .trust-card-mark, a.trust-card:focus-visible .trust-card-mark { transform: translateY(-1px); }
.trust-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 4px; }

.trust-card-mark {
  width: 100%;
  height: 116px;
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: transform .1s ease;
}
.trust-card-mark img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.trust-card h3 { font-family: var(--font-heading); font-weight: 600; font-size: 0.96rem; margin: 0; color: var(--text); line-height: 1.25; align-self: start; }
.trust-card .trust-card-meta { font-size: 0.78rem; color: var(--text-muted); margin: 0; line-height: 1.4; align-self: start; }

/* <picture> wrappers (WebP + PNG fallback) take no part in the layout. */
.trust-card-mark picture { display: contents; }
.trust-card--saa .trust-card-mark img { width: 220px; }
.trust-card--sec .trust-card-mark img { height: 98px; }
.trust-card--ohme .trust-card-mark img { height: 108px; border-radius: 10px; }
.trust-card--evnex .trust-card-mark img { height: 104px; }
.trust-card--tesla .trust-card-mark img { width: 280px; max-width: 100%; }

/* Bespoke OHE workmanship-warranty mark — a technical crop-mark motif,
   deliberately not styled as a manufacturer seal or award medal. */
.warranty-mark {
  position: relative; width: 58px; height: 58px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; border: 1.5px solid var(--brand);
  border-radius: 6px; background: var(--bg-accent); flex-shrink: 0;
}
.warranty-mark::before, .warranty-mark::after {
  content: ""; position: absolute; width: 9px; height: 9px; border: 1.5px solid var(--brand);
}
.warranty-mark::before { top: -1.5px; left: -1.5px; border-right: none; border-bottom: none; }
.warranty-mark::after { bottom: -1.5px; right: -1.5px; border-left: none; border-top: none; }
.warranty-mark .num { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; color: var(--brand); line-height: 1; }
.warranty-mark .yr { font-family: var(--font-heading); font-weight: 600; font-size: 0.56rem; letter-spacing: 0.09em; color: var(--text); text-transform: uppercase; margin-top: 2px; }

/* Warranty strip — a restrained, full-width premium strip below the
   credential grid, not a seventh credential card: transparent
   background, thin divider lines, no box shadow. */
.warranty-strip {
  display: flex; align-items: center; gap: 20px;
  max-width: 1080px; margin: 36px auto 0;
  padding: 24px 4px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: transparent;
  text-decoration: none; color: var(--text);
  transition: color .15s ease;
}
.warranty-strip:hover, .warranty-strip:focus-visible { color: var(--brand); }
.warranty-strip:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 4px; }
.warranty-strip-text { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.warranty-strip-text strong { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; color: var(--text); }
.warranty-strip-text span { font-size: 0.86rem; color: var(--text-muted); line-height: 1.4; }

#warranty { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Warranty feature (About page) — restrained, not styled as an award or
   manufacturer certification: a fine top border and soft shadow only. */
.warranty-feature {
  border-top: 3px solid var(--brand);
  padding: 32px 28px;
  box-shadow: 0 12px 30px rgba(26, 26, 26, 0.05);
}
.warranty-feature .eyebrow { margin-bottom: 4px; }
.warranty-feature h2 { margin-top: 0; }
.warranty-feature p:not(:last-of-type) { margin-bottom: 12px; }
.warranty-feature .btn { margin-top: 8px; }

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; row-gap: 20px; }
  .trust-card { grid-template-rows: 96px minmax(2.5em, auto) minmax(2.9em, auto); }
  .trust-card-mark { height: 96px; min-height: 96px; }
  .trust-card--saa .trust-card-mark img { width: 180px; max-width: 100%; }
  .trust-card--sec .trust-card-mark img { height: 80px; }
  .trust-card--ohme .trust-card-mark img { height: 88px; }
  .trust-card--evnex .trust-card-mark img { height: 84px; }
  .trust-card--tesla .trust-card-mark img { width: 150px; max-width: 100%; }
  .warranty-strip { flex-direction: column; text-align: center; gap: 12px; padding: 24px 12px; }
  .warranty-strip-text { text-align: center; align-items: center; }
}
@media (max-width: 420px) {
  .trust-card { padding: 20px 14px; }
}

/* ---------- Photo gallery (Projects: recent/in-progress work) ---------- */
.photo-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .photo-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .photo-gallery { grid-template-columns: 1fr; } }
.gallery-item { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); background: #fff; }
.gallery-item .photo-frame { min-height: 0; aspect-ratio: 4/3; border-radius: 0; }
/* Two long-standing gallery bugs fixed 14 Nov 2026 (UX audit), on every
   page that uses .photo-gallery:
   1. <figure> keeps the browser's default 16px 40px margin, so each photo
      was 80px narrower than its column (270px wide on a 390px phone).
   2. The frame's height:100% resolved against the figure once the grid
      sized it, so the frame filled the whole figure and pushed the caption
      out of the box, where overflow:hidden cut it off. No caption was
      ever visible. height:auto lets the 4:3 ratio size the frame and the
      caption sits underneath. */
.gallery-item { margin: 0; }
.gallery-item .photo-frame { height: auto; }
.gallery-item figcaption { padding: 12px 14px 16px; font-size: 0.86rem; color: var(--text-muted); }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-item {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 28px 24px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.why-item:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.why-item .index { font-family: var(--font-heading); font-weight: 700; color: rgba(5,96,193,0.22); font-size: 2.6rem; line-height: 1; margin-bottom: 16px; }
.why-item h3 { font-size: 1.05rem; }
.why-item p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* ---------- Process ---------- */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }
.process-item { border-left: 3px solid var(--brand); padding-left: 18px; }
.process-item .step-no { font-family: var(--font-heading); font-weight: 700; color: var(--brand); font-size: 0.85rem; letter-spacing: 0.08em; margin-bottom: 6px; }
.process-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.process-item p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.process-note { margin-top: 32px; padding: 18px 22px; background: var(--bg-accent); border-radius: var(--radius-md); font-size: 0.92rem; color: var(--charcoal-700); }

/* ---------- Reviews ---------- */
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px 28px; transition: box-shadow .2s ease, transform .2s ease; }
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.review-stars { color: var(--amber); font-size: 1rem; letter-spacing: 2px; margin-bottom: 10px; }
.review-card p.quote { font-size: 0.98rem; color: var(--text); }
.review-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.85rem; color: var(--text-muted); margin-top: 12px; }
.review-meta a { color: var(--brand); text-decoration: none; }
.review-placeholder { border: 1px dashed var(--charcoal-300); border-radius: var(--radius-md); padding: 24px; color: var(--text-muted); font-size: 0.9rem; background: var(--bg-alt); }

/* Live HighLevel review widget: an iframe embed of the genuine, verified
   review widget URL — never hard-coded/rewritten/manufactured review text.
   A reachability pre-check runs first (site/js/reviews.js) — an iframe
   pointed at a request an ad-blocker/tracker-blocker intercepts still
   fires a normal `load` event with empty content, so waiting on load/error
   alone previously left a large empty styled box on the page whenever the
   widget request was blocked. #reviewsSection stays visible showing
   .review-widget-loading (below) throughout; the widget only replaces it
   once genuinely loaded, or the whole section hides itself permanently on
   failure — never an empty box either way.
   (Note: an earlier version of this rule targeted the class
   ".review-widget-section", which was never applied to any element in the
   markup — #reviewsSection is the actual id used in
   src/pages/home/content.html — so this hidden-state rule silently never
   matched anything.) */
#reviewsSection[hidden] { display: none; }
.review-widget { position: relative; min-height: 420px; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-alt); }
.review-widget iframe { display: block; width: 100%; height: 420px; border: 0; }
.review-widget-loading {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; color: var(--text-muted); font-size: 0.9rem;
}
.review-widget-loading .spinner {
  width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--border);
  border-top-color: var(--brand); animation: review-spin 0.8s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .review-widget-loading .spinner { animation: none; } }
@keyframes review-spin { to { transform: rotate(360deg); } }

/* Embedded HighLevel quote-form loading state (9 Oct 2026, competitor-
   informed improvement pass) — shared by the homepage's quick-quote
   widget and the /assessment/ page's main form. Same visual language as
   the review-widget spinner above, generalised since this now backs more
   than one embed. See site/js/main.js for the hide-on-load/timeout logic
   and each page's own HTML for the static phone-fallback line beneath
   the iframe, which is never gated by this. */
.form-embed-wrap { position: relative; }
.form-embed-loading {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; color: var(--text-muted); font-size: 0.9rem;
  background: var(--bg-alt); border-radius: var(--radius-md); z-index: 0;
}
.form-embed-loading .spinner {
  width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--border);
  border-top-color: var(--brand); animation: review-spin 0.8s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .form-embed-loading .spinner { animation: none; } }

/* ---------- Audience split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 780px) { .split { grid-template-columns: 1fr; } }
.split-panel { padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 56px); }
.split-panel.home { background: var(--bg-accent); }
.split-panel.business { background: var(--bg-inverse); color: #fff; }
.split-panel.business h2, .split-panel.business p { color: #fff; }
.split-panel .eyebrow { margin-bottom: 14px; }
.split-panel ul { list-style: none; padding: 0; margin: 20px 0 28px; }
.split-panel li { padding: 8px 0 8px 26px; position: relative; font-size: 0.98rem; }
.split-panel li::before { content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.split-panel.business li::before { background: #7c96ff; }

/* ---------- Education / FAQ accordion ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 10px; margin: 0 -10px; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; font-family: var(--font-heading); font-weight: 600; font-size: 1.02rem;
  border-radius: var(--radius-sm); transition: background .15s ease, color .15s ease;
}
.faq-item summary:hover { background: var(--bg-alt); color: var(--brand); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex-shrink: 0; transition: transform .2s ease; color: var(--brand); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .answer { padding: 0 10px 22px; color: var(--text-muted); max-width: 70ch; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { max-width: 18ch; margin-inline: auto; }
.final-cta .cta-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.section-inverse.final-cta {
  background: linear-gradient(150deg, #111827 0%, #0a1225 60%, #0d1c35 100%);
  position: relative; overflow: hidden;
}
.section-inverse.final-cta::before {
  content: ""; position: absolute; pointer-events: none;
  width: 700px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(5,96,193,0.18) 0%, transparent 65%);
  top: -180px; left: 50%; transform: translateX(-50%);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-inverse); color: #c9cbe0; padding-block: 64px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: #c9cbe0; text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
/* The logo PNG has an opaque white background baked in (no alpha channel),
   so on this dark footer it needs a matching white card behind it rather
   than sitting directly on --bg-inverse — the padding/radius are ours,
   the artwork inside is untouched. */
.footer-logo-chip { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 8px; line-height: 0; }
.footer-logo-chip img { display: block; height: 34px; width: auto; object-fit: contain; }
.footer-brand p { color: #9fa2c0; font-size: 0.88rem; max-width: 32ch; margin-top: 14px; }
.footer-licence { font-size: 0.82rem; color: #9fa2c0; margin-top: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid #3a3c56; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid #2c2e47; margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 0.8rem; color: #8b8eaf; }
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.footer-bottom a { color: #8b8eaf; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 600; font-family: var(--font-heading); font-size: 0.92rem; margin-bottom: 6px; }
/* .hint now used standalone too (fieldset legends, hero sub-copy), not
   just inside .form-field — kept the same look either way, plus a light
   variant for dark sections (see the page-banner/hero override below;
   without it, a bare <p class="hint"> inside .page-banner rendered as
   default dark text on the section's own dark background — effectively
   invisible, not just a wrong shade). */
.hint { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.form-field .hint { margin-top: 4px; }
.page-banner .hint, .hero .hint, .section-inverse .hint { color: #d8ddf5; }
/* 9 Oct 2026 (competitor-informed improvement pass): a plain <a> inside
   a .hint on a dark section doesn't inherit the hint's own light colour
   above (link text has its own default colour) — the brand-blue link
   colour against the dark section-inverse background measured 2.85:1,
   well under the 4.5:1 threshold axe-core requires. White + underline
   matches how .btn-secondary already handles text on these same dark
   backgrounds. */
.section-inverse .hint a, .hero .hint a, .page-banner .hint a { color: #fff; text-decoration: underline; }
.form-field input[type="text"], .form-field input[type="tel"], .form-field input[type="email"],
.form-field input[type="number"], .form-field select, .form-field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; background: #fff; color: var(--text); min-height: 48px;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--brand); }
.form-field.error input, .form-field.error select { border-color: #c0322b; }
.form-field .error-msg { color: #c0322b; font-size: 0.82rem; margin-top: 6px; display: none; }
.form-field.error .error-msg { display: block; }
/* Standalone error message for a fieldset/radio-group (not a single .form-field) */
p.error-msg { color: #c0322b; font-size: 0.85rem; margin-top: 10px; display: none; }
p.error-msg.is-visible { display: block; }
fieldset.assess-fieldset { border: none; margin: 0; padding: 0; }
fieldset.assess-fieldset.is-invalid .radio-cards { outline: 2px solid #c0322b; outline-offset: 6px; border-radius: 12px; }
.radio-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 560px) { .radio-cards { grid-template-columns: 1fr; } }
/* For option lists that read better as a firm 2-up grid on larger screens
   (e.g. six short pathway choices) — still collapses to one column below
   560px like the base .radio-cards, never a hard-coded inline override
   that can't respond to viewport width at all. */
.radio-cards-wide { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .radio-cards-wide { grid-template-columns: 1fr; } }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.radio-card label {
  display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--border); border-radius: var(--radius-md);
  padding: 16px; cursor: pointer; font-weight: 500; font-family: var(--font-body); font-size: 0.98rem; margin: 0; min-height: 48px;
}
.radio-card input:checked + label { border-color: var(--brand); background: var(--bg-accent); box-shadow: inset 0 0 0 1px var(--brand); }
.radio-card input:focus-visible + label { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

/* ---------- Assessment flow ---------- */
.assess-wrap { max-width: 720px; margin: 0 auto; }
.assess-progress { margin-bottom: 32px; }
.assess-progress .bar { height: 6px; background: var(--grey-100); border-radius: 999px; overflow: hidden; }
.assess-progress .fill { height: 100%; background: var(--brand); border-radius: 999px; transition: width .25s ease; width: 14%; }
.assess-progress .meta { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--text-muted); margin-top: 8px; }
.assess-step { display: none; }
.assess-step.is-active { display: block; animation: fadein .2s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: translateY(0);} }
.assess-step h2 { font-size: 1.6rem; margin-bottom: 8px; }
.assess-step h3 { font-size: 1.15rem; margin: 28px 0 4px; }
.assess-step .step-sub { color: var(--text-muted); margin-bottom: 28px; }
.assess-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; gap: 12px; }
.assess-nav .spacer { flex: 1; }
/* Bare <legend> (no inline style) inside an .assess-fieldset — on-brand
   weight/size instead of the browser default, consistent whether or not a
   page also styles individual legends inline. */
.assess-fieldset legend, fieldset.form-field legend { font-weight: 600; font-family: var(--font-heading); font-size: 0.92rem; margin-bottom: 10px; padding: 0; }
/* Error summary: shown above the active stage's fields on a failed
   Continue/Submit attempt, each item a jump-link to the actual invalid
   control (focus moves to the field itself on click, not just scroll). */
.error-summary { border: 2px solid #c0322b; border-radius: var(--radius-md); padding: 16px 18px; margin: 20px 0; background: #fdf1f0; }
.error-summary h3 { margin: 0 0 8px; font-size: 1rem; color: #c0322b; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: #c0322b; font-weight: 600; }
/* Minimal landing header/footer (see src/partials/header-landing.html) —
   reuses .site-header/.site-footer's own background/blur/spacing, this
   just removes the nav-toggle button that has nothing to control here. */
.landing-header .nav-toggle { display: none; }
/* The sitewide header's .desktop-cta only appears >=860px because the
   hamburger nav-toggle covers the CTA (via the mobile-nav drawer) below
   that. The landing header has no nav-toggle/drawer at all, so without
   this override the "Check Site Eligibility" CTA would vanish entirely
   between 720px and 860px — visible nowhere. */
.landing-header .desktop-cta { display: inline-flex; }
/* ...except on phones, where the sticky bottom bar carries the same
   button (14 Nov 2026 UX audit: the quote page showed it twice). */
@media (max-width: 760px) { .landing-header .desktop-cta { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .assess-step.is-active { animation: none; }
  .assess-progress .fill { transition: none; }
}
.why-we-ask { display: flex; gap: 10px; align-items: flex-start; background: var(--bg-alt); border-radius: var(--radius-md); padding: 14px 16px; margin-top: 18px; font-size: 0.86rem; color: var(--text-muted); }
.why-we-ask svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 1px; }
/* NOT a success state — deliberately. Shown wherever a form has no live
   HighLevel connection yet, instead of any "thanks, that's been noted"
   affordance. No checkmark, no "success" framing: this must never be
   mistaken for confirmation that a lead was received, because it isn't
   one. See docs/owner-inputs-required.md's integration checklist. */
.lead-pending-notice { text-align: center; padding: 40px 0; }
.lead-pending-notice .icon-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--bg-accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.lead-pending-notice .icon-circle svg { width: 30px; height: 30px; color: var(--brand); }
.lead-pending-notice h2 { font-size: 1.4rem; }

/* ---------- Table (products) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); }
table.data-table { width: 100%; border-collapse: collapse; min-width: 560px; }
table.data-table th, table.data-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
table.data-table th { font-family: var(--font-heading); background: var(--bg-alt); font-weight: 600; }
table.data-table tr:last-child td { border-bottom: none; }

/* ---------- Locations ---------- */
.location-chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.location-chip { border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-size: 0.88rem; background: #fff; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-accent); color: var(--brand); font-family: var(--font-heading); font-weight: 600; font-size: 0.78rem; padding: 6px 12px; border-radius: 999px; }
/* Customer-facing, calm notice that a form is a design preview and does not
   yet submit anywhere — used on the three lead-capture forms only. Not a
   developer note: written for the person filling in the form. */
.preview-note {
  display: flex; gap: 10px; align-items: flex-start; background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 16px;
  font-size: 0.86rem; color: var(--text-muted); margin-top: 16px;
}
.preview-note svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 1px; }

/* ---------- Sticky mobile call/quote bar ---------- */
/* Fixed to the viewport bottom on small screens only — a persistent,
   low-friction path to call or start a quote without scrolling back up.
   Desktop already has the header's own call/quote buttons, so this stays
   hidden there to avoid a redundant, decorative bar. */
.mobile-cta-bar { display: none; }
@media (max-width: 760px) {
  .mobile-cta-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    background: #fff; border-top: 1px solid var(--border);
    box-shadow: 0 -6px 20px rgba(26,26,26,0.08);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
  }
  .mobile-cta-bar-call, .mobile-cta-bar-quote {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; border-radius: var(--radius-md);
    font-family: var(--font-heading); font-weight: 600; font-size: 0.92rem;
    text-decoration: none; text-align: center; white-space: nowrap; overflow: hidden;
  }
  /* 9 Oct 2026 (competitor-informed improvement pass): the phone number
     wrapping onto a second line on narrow phones was a real bug, not a
     theoretical one — "Call 0435 336 336" plus the icon didn't reliably
     fit a half-width button at 320–375px. Shortened the label (the icon
     already signals "call" — see src/layout.html) and added
     white-space: nowrap as a hard guarantee; a very narrow viewport
     shrinks the font slightly instead of wrapping. */
  @media (max-width: 360px) {
    .mobile-cta-bar-call, .mobile-cta-bar-quote { font-size: 0.82rem; gap: 6px; }
  }
  .mobile-cta-bar-call { background: var(--bg-alt); color: var(--text); border: 1px solid var(--border); }
  .mobile-cta-bar-call svg { width: 18px; height: 18px; flex-shrink: 0; }
  .mobile-cta-bar-quote { background: var(--brand); color: #fff; }
  .mobile-cta-bar-call:focus-visible, .mobile-cta-bar-quote:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
  /* Keep the bar from covering the last section's content, and the footer
     itself, on pages short enough for the footer to reach the bottom. */
  #main { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  /* 88px, up from 64px (14 Nov 2026 UX audit): the bar is 65px tall, so
     the last footer link sat 1-2px above it. This leaves about 24px. */
  .site-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  /* A shorter header on phones (76px to 64px). With the bottom bar the two
     fixed strips took 141px of every screen; this and the removed header
     call button bring it to 129px. Everything that offsets by the header
     height reads --header-h, so it follows. */
  :root { --header-h: 64px; }
  .brand-logo-img { height: 44px; }
}

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Staggered reveal for grid children */
.pathway-grid .pathway-card.reveal:nth-child(2) { transition-delay: 0.07s; }
.pathway-grid .pathway-card.reveal:nth-child(3) { transition-delay: 0.14s; }
.pathway-grid .pathway-card.reveal:nth-child(4) { transition-delay: 0.21s; }
.pathway-grid .pathway-card.reveal:nth-child(5) { transition-delay: 0.28s; }
.pathway-grid .pathway-card.reveal:nth-child(6) { transition-delay: 0.35s; }

.flow-diagram .flow-step.reveal:nth-child(2) { transition-delay: 0.1s; }
.flow-diagram .flow-step.reveal:nth-child(3) { transition-delay: 0.2s; }
.flow-diagram .flow-step.reveal:nth-child(4) { transition-delay: 0.3s; }

.why-grid .why-item.reveal:nth-child(2) { transition-delay: 0.08s; }
.why-grid .why-item.reveal:nth-child(3) { transition-delay: 0.16s; }
.why-grid .why-item.reveal:nth-child(4) { transition-delay: 0.24s; }

.grid-3 .card.reveal:nth-child(2) { transition-delay: 0.07s; }
.grid-3 .card.reveal:nth-child(3) { transition-delay: 0.14s; }
.grid-3 .card.reveal:nth-child(4) { transition-delay: 0.21s; }
.grid-3 .card.reveal:nth-child(5) { transition-delay: 0.28s; }
.grid-3 .card.reveal:nth-child(6) { transition-delay: 0.35s; }
.flow-diagram .flow-step.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── Home page: founder teaser ───────────────────────────────────────── */
.founder-teaser { background: var(--bg-accent); padding-block: 64px; }
.founder-teaser-inner {
  max-width: 600px; margin-inline: auto; padding-inline: 24px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.founder-teaser-inner::before {
  content: "\201C";
  font-family: var(--font-heading); font-weight: 700;
  font-size: 5rem; line-height: 0.6;
  color: var(--brand); opacity: 0.18;
  margin-bottom: 4px; display: block;
}
.founder-avatar {
  width: 180px; height: 220px; border-radius: 999px;
  overflow: hidden; margin-bottom: 28px; flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--bg-accent), 0 0 0 6px var(--brand);
}
.founder-avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.55); transform-origin: center 84%;
}
.founder-quote {
  font-family: var(--font-heading); font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500; line-height: 1.6; font-style: italic;
  color: var(--text); margin: 0 0 8px;
}
.founder-attr { font-size: 0.88rem; color: var(--text-muted); margin: 0 0 24px; }

/* ── About page: founder section Variant C ───────────────────────────── */
.founder-vc { background: var(--bg); padding-block: 72px; }
.founder-vc-inner { max-width: 640px; margin-inline: auto; padding-inline: 24px; }
.founder-vc-photo {
  aspect-ratio: 3 / 4; border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 40px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.14);
}
.founder-vc-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.45); transform-origin: center 84%;
}
.founder-vc-heading {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.2rem); margin-block: 0 24px; line-height: 1.15;
}
.founder-vc-quote { font-size: 1.05rem; line-height: 1.75; color: var(--text-muted); }
.founder-vc-quote p { margin: 0 0 14px; }
.founder-vc-quote p:last-child { margin: 0; }
.founder-vc-attr {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.founder-vc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand); flex-shrink: 0;
}
.founder-vc-attr span { font-size: 0.9rem; color: var(--text-muted); }
.founder-vc-attr strong { color: var(--text); }


/* Location district pages */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag {
  display: inline-block; padding: 5px 14px;
  background: var(--bg-accent); border: 1px solid var(--border);
  border-radius: 100px; font-size: 0.875rem; color: var(--text-muted);
}
.district-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.district-card {
  display: block; padding: 20px 24px; background: var(--bg-accent);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.district-card:hover { border-color: rgba(5,96,193,0.35); box-shadow: var(--shadow-md); text-decoration: none; }
.district-card-name { font-weight: 600; color: var(--text); display: block; margin-bottom: 4px; }
.district-card-meta { font-size: 0.85rem; color: var(--text-muted); }

/* =====================================================
   HOME PAGE REDESIGN — Oct 2026
   Targeted visual upgrades following the design audit.
   ===================================================== */

/* Hero — deeper, more directional gradient overlay */
.hero-overlay {
  background: linear-gradient(
    110deg,
    rgba(4, 8, 20, 0.93) 0%,
    rgba(4, 8, 20, 0.78) 40%,
    rgba(4, 8, 20, 0.20) 100%
  );
}
/* Stronger noise grain on hero */
.hero::after { opacity: 0.55; }

/* Eyebrow in hero: slightly larger letter-spacing for presence */
.hero .eyebrow { letter-spacing: 0.12em; font-size: 0.82rem; }

/* ── Founder teaser — side-by-side on desktop ─────────────────────────── */
.founder-teaser {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 72px;
}
/* Remove the giant decorative quote character (replaced by styling on
   the quote element itself) */
.founder-teaser-inner::before { display: none; }

.founder-teaser-inner {
  max-width: 920px;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  position: relative;
}
@media (min-width: 760px) {
  .founder-teaser-inner {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 56px;
  }
  .founder-teaser-inner .eyebrow { text-align: left; }
}

.founder-avatar {
  width: 200px;
  height: 240px;
  flex-shrink: 0;
  /* Squircle instead of pill: more distinctive */
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--brand), 0 16px 40px rgba(5,96,193,0.18);
}
.founder-text { display: flex; flex-direction: column; align-items: flex-start; }
@media (max-width: 759px) {
  .founder-text { align-items: center; }
  .founder-text .btn-ghost { align-self: center; }
}

/* Opening quote mark via CSS instead of ::before */
.founder-quote {
  position: relative;
  padding-left: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
}
.founder-quote::before {
  content: "\201C";
  font-family: var(--font-heading); font-weight: 700;
  font-size: 4rem; line-height: 0.6;
  color: var(--brand); opacity: 0.15;
  display: block; margin-bottom: 6px;
}
@media (min-width: 760px) {
  .founder-quote::before { margin-bottom: 8px; }
}

/* ── Trust section — clean white (not off-white) ──────────────────────── */
.trust-section {
  background: var(--bg);
  border-top: none;
  border-bottom: none;
}

/* ── Gallery — frameless photos ──────────────────────────────────────── */
.gallery-item {
  border: none;
  background: transparent;
}
.gallery-item .photo-frame {
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.09), 0 8px 28px rgba(0,0,0,0.07);
  overflow: hidden;
}
.gallery-item figcaption {
  padding: 10px 4px 0;
  font-style: italic;
}
/* Home page only: on phones the three photos sit in one swipeable row
   instead of a tall stack (14 Nov 2026 UX audit). The next photo peeks in
   from the right so the row reads as swipeable. Only the row scrolls
   sideways, never the page. */
@media (max-width: 560px) {
  .photo-gallery--swipe {
    display: flex; gap: 12px; overflow-x: auto;
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -20px; padding: 4px 20px 24px; scroll-padding-inline: 20px;
    scrollbar-width: none;
  }
  .photo-gallery--swipe::-webkit-scrollbar { display: none; }
  .photo-gallery--swipe .gallery-item { flex: 0 0 78%; scroll-snap-align: start; }
}

/* ── Pathway cards — stronger hover, tighter icon ─────────────────────── */
.pathway-card {
  padding: 22px 20px;
  border-radius: var(--radius-lg);
}
.pathway-card:hover {
  background: var(--bg-accent);
}
.pathway-card .icon {
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-100) 0%, #dce9ff 100%);
  box-shadow: inset 0 0 0 1px rgba(5,96,193,0.12);
}

/* ── Flow diagram — shadow cards instead of bordered ─────────────────── */
.flow-step {
  border: none;
  box-shadow: 0 1px 4px rgba(5,96,193,0.06), 0 6px 20px rgba(5,96,193,0.07);
}
.flow-step:hover {
  box-shadow: 0 4px 16px rgba(5,96,193,0.14), 0 12px 36px rgba(5,96,193,0.10);
  border: none;
}
.flow-step .icon {
  background: linear-gradient(135deg, var(--blue-100) 0%, #dce9ff 100%);
}
.flow-step .num {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(5,96,193,0.5);
}

/* ── Process — stronger step number visual ────────────────────────────── */
.process-list {
  counter-reset: process-step;
  gap: 28px;
}
.process-item {
  border-left: none;
  padding-left: 0;
  padding-top: 16px;
  border-top: 2px solid var(--border);
  position: relative;
}
.process-item .step-no {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--brand); /* full brand blue: 0.7 opacity measured 3.1:1 on the
                          light-blue section, under the 4.5:1 minimum */
  margin-bottom: 10px;
}
.process-item h3 { font-size: 1.1rem; }

/* ── FAQ — open state highlight ───────────────────────────────────────── */
.faq-item summary {
  padding: 22px 12px;
  font-size: 1.04rem;
}
.faq-item[open] summary {
  color: var(--brand);
}
.faq-item[open] .answer {
  padding-bottom: 28px;
}

/* ── Final CTA — deeper blue + grain ─────────────────────────────────── */
.section-inverse.final-cta {
  background: linear-gradient(150deg, #080d1e 0%, #0a1230 55%, #0a1530 100%);
}
.section-inverse.final-cta::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.55;
}
/* Ensure content sits above the grain layer */
.section-inverse.final-cta .container { position: relative; z-index: 1; }

/* Warranty strip — elevated visual */
.warranty-strip {
  background: linear-gradient(105deg, var(--bg-accent), #e8effe);
  border: 1.5px solid rgba(5,96,193,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.warranty-strip:hover {
  border-color: rgba(5,96,193,0.3);
  box-shadow: 0 4px 20px rgba(5,96,193,0.10);
}

/* Warranty mark — slightly more breathing room */
.warranty-mark {
  width: 68px;
  height: 68px;
}
.warranty-mark .num { font-size: 1.6rem; }
.warranty-mark .yr { font-size: 0.62rem; }

/* ════════════════════════════════════════════════════════════════════════════
   PHOTO PAGE BANNERS AND PHOTO FRAMES (sitewide)
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Page banner — stronger bottom-up overlay for portrait hero photo ──── */
.page-banner--photo .page-banner-overlay {
  background: linear-gradient(170deg, rgba(4,8,20,0.35) 0%, rgba(4,8,20,0.72) 55%, rgba(4,8,20,0.95) 100%);
}
@media (min-width: 641px) {
  .page-banner--photo .page-banner-overlay {
    background: linear-gradient(110deg, rgba(4,8,20,0.92) 0%, rgba(4,8,20,0.70) 45%, rgba(4,8,20,0.22) 100%);
  }
}
.page-banner--photo .eyebrow {
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}
.page-banner--photo h1 {
  text-wrap: balance;
}
.page-banner--photo .lede {
  max-width: 560px;
}

/* ── Photo + text rows — enhanced photo frame ───────────────────────────── */
.section .photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(5,96,193,0.09), 0 16px 48px rgba(0,0,0,0.10);
}

/* =====================================================
   HOME HERO — "Your Home. Your Energy." (14 Nov 2026)
   Scoped to .hero--home: .hero is also used by the commercial load
   review page. Sits at the end of the file so it wins over the earlier
   hero rules and the Oct 2026 overlay without touching them.
   What makes it carry four words:
   - the headline is two short lines at a much larger size;
   - "Your" is an italic serif, "Home" and "Energy" (the business name)
     are heavy white sans, so the contrast is in the type;
   - the photo is allowed to show: the old overlay hid a bright blue-sky
     shot behind 80-93% black. Desktop clears the right-hand side; phones
     show the roof and panels above the words and fade to solid below;
   - three proof numbers under the button, with the licence, accreditation
     and warranty facts in a slim band below the hero;
   - one short fade-up on load. Transform and opacity only, CSS only.
   ===================================================== */
.hero--home { background: rgb(4, 8, 20); }
/* width:100% so the block fills the standard page container and the words
   start at its left edge, in line with the sections below. As a flex item
   it used to shrink to its text and sit centred over the photo. */
.hero--home .hero-inner { padding-block: 96px 72px; max-width: var(--maxw); width: 100%; }
.hero--home .hero-overlay {
  background: linear-gradient(100deg, rgba(4,8,20,0.94) 0%, rgba(4,8,20,0.84) 40%, rgba(4,8,20,0.34) 72%, rgba(4,8,20,0.14) 100%);
}

.hero--home .hero-title { margin: 0; font-size: inherit; letter-spacing: normal; line-height: 1; text-wrap: initial; }
.hero--home .hero-kicker {
  display: block; margin-bottom: 18px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; line-height: 1.4;
  text-transform: uppercase; color: #bcd0ff;
}
.hero--home .hero-line {
  display: block; white-space: nowrap; color: #fff;
  font-size: clamp(2.75rem, 15.6vw, 7.25rem); font-weight: 700;
  letter-spacing: -0.05em; line-height: 0.96;
  text-shadow: 0 2px 28px rgba(4, 8, 20, 0.45);
}
/* "Your" in an italic serif against the heavy sans of "Home." and
   "Energy.". Weight 400 is set explicitly: the face has one weight, and
   inheriting the h1's 700 would make the browser fake a bold. Georgia
   italic is the stand-in until the four-letter font file arrives. */
.hero--home .hero-your {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-style: italic; font-weight: 400; letter-spacing: -0.02em;
}

.hero--home .hero-ctas { margin-top: 34px; }
.hero--home .hero-cta { min-height: 54px; padding: 16px 26px 16px 28px; font-size: 1rem; }
.hero--home .hero-cta svg { flex: none; transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1); }
@media (hover: hover) { .hero--home .hero-cta:hover svg { transform: translateX(4px); } }

/* Proof numbers: three figures in a row under the button. */
.hero--home .hero-stats {
  list-style: none; margin: 34px 0 0; padding: 22px 0 0; max-width: 640px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: clamp(22px, 4.5vw, 60px);
}
.hero--home .hero-stats strong {
  display: block; color: #fff; font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.5rem, 7vw, 2.75rem); letter-spacing: -0.04em; line-height: 1;
}
.hero--home .hero-stats .hs-mark { color: #7db6ff; margin-left: 1px; }
.hero--home .hero-stats .hs-label {
  display: block; margin-top: 9px; color: #c3cbe6; font-family: var(--font-heading); font-weight: 600;
  font-size: 0.75rem; letter-spacing: 0.08em; line-height: 1.35; text-transform: uppercase;
}
.hero--home .hero-stats a { display: block; color: inherit; text-decoration: none; border-radius: 6px; }
.hero--home .hero-stats a:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
@media (hover: hover) { .hero--home .hero-stats a:hover .hs-label { color: #fff; text-decoration: underline; text-underline-offset: 3px; } }
#reviewsSection { scroll-margin-top: calc(var(--header-h) + 8px); }

/* Slim band under the hero: the three trust facts, ticked. Same dark as
   the hero so it reads as its footer. */
.hero-facts { background: rgb(4, 8, 20); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.hero-facts-list {
  list-style: none; margin: 0 auto; padding-block: 14px;
  display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 0.8rem; color: #c9d1ea;
}
.hero-facts-list li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts-list li::before {
  content: ""; flex: none; width: 15px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' stroke='%237db6ff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Entrance: each .hero-rise item fades up once, staggered by its --d. */
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hero-settle { from { transform: scale(1.05); } to { transform: none; } }
.hero--home .hero-rise { animation: hero-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: var(--d, 0ms); }
.hero--home .hero-media img { animation: hero-settle 1.4s cubic-bezier(0.22, 1, 0.36, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .hero--home .hero-rise, .hero--home .hero-media img { animation: none; }
}

/* Tablets and small laptops: the headline reaches most of the way across,
   so the overlay stays darker for longer. */
@media (min-width: 761px) and (max-width: 1180px) {
  .hero--home .hero-overlay {
    background: linear-gradient(100deg, rgba(4,8,20,0.94) 0%, rgba(4,8,20,0.86) 60%, rgba(4,8,20,0.52) 100%);
  }
}
@media (max-width: 760px) {
  /* Phones: the photo sits ABOVE the words instead of behind them, so the
     house and its panels are actually seen. Two rows: the photo takes
     whatever height is left over, the words take what they need. That
     keeps the roofline clear of the text at every phone height, which a
     fixed-percentage split did not. The hero fits one screen between the
     header and the bottom bar, with the rebate strip peeking below. */
  .hero--home {
    display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(180px, 1fr) auto; align-items: stretch;
    min-height: 600px; min-height: clamp(520px, 76svh, 628px);
  }
  .hero--home .hero-media { position: relative; inset: auto; grid-row: 1; grid-column: 1; }
  .hero--home .hero-media picture { position: absolute; inset: 0; display: block; }
  .hero--home .hero-overlay { background: linear-gradient(180deg, rgba(4,8,20,0.16) 0%, rgba(4,8,20,0.06) 45%); }
  .hero--home .hero-inner { grid-row: 2; grid-column: 1; margin-inline: 0; background: rgb(4, 8, 20); padding-block: 0 44px; }
  /* Soft fade from the photo into the solid panel the words sit on. */
  .hero--home .hero-inner::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 150px; pointer-events: none;
    background: linear-gradient(180deg, rgba(4,8,20,0) 0%, rgba(4,8,20,0.30) 42%, rgba(4,8,20,0.78) 76%, rgb(4,8,20) 100%);
  }
  .hero--home .hero-kicker { margin-bottom: 14px; }
  .hero--home .hero-ctas { margin-top: 26px; }
  /* Three equal columns on phones, so each label wraps the same way. */
  .hero--home .hero-stats { margin-top: 24px; padding-top: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px; }
}
/* Very small phones (320px): slightly tighter spacing keeps the small line
   above the headline on one line. */
@media (max-width: 340px) {
  .hero--home .hero-kicker { letter-spacing: 0.08em; }
}

/* =====================================================
   HOME — real-system card and service-areas line under "Recent installs"
   (14 Nov 2026, site-loop Home round 9)
   ===================================================== */
.install-proof {
  display: grid; gap: 6px; max-width: 760px; margin: 32px auto 0; padding: 22px 24px;
  background: var(--bg-accent); border: 1.5px solid rgba(5, 96, 193, 0.18); border-radius: var(--radius-lg);
  color: var(--text); text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.install-proof-tag { font-family: var(--font-heading); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.install-proof-title { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.15; }
.install-proof-specs { font-weight: 600; }
.install-proof-text { color: var(--text-muted); }
.install-proof-link { margin-top: 6px; font-family: var(--font-heading); font-weight: 600; color: var(--brand); }
.install-proof:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
@media (hover: hover) {
  .install-proof:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-2px); }
  .install-proof:hover .install-proof-link { text-decoration: underline; text-underline-offset: 3px; }
}
@media (prefers-reduced-motion: reduce) { .install-proof { transition: none; } }
.install-areas { max-width: 760px; margin: 22px auto 0; text-align: center; color: var(--text-muted); text-wrap: pretty; }
/* Region names never break mid-name ("St / George"); on phones the nine
   links get a little more line height so neighbouring lines are easy to tap. */
.install-areas a { white-space: nowrap; }
@media (max-width: 760px) { .install-areas { line-height: 1.95; } }

/* =====================================================
   HOME — fixes from the round 9 independent audit (14 Nov 2026)
   ===================================================== */
/* Credentials: five badges in a three-column grid left an empty slot at the
   bottom right (and a lone card on the left in two columns). An incomplete
   last row is now centred. Desktop uses six half-columns so a pair or a
   single card can sit in the middle; card widths are unchanged. */
@media (min-width: 901px) {
  .trust-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .trust-grid > .trust-card { grid-column: span 2; }
  .trust-grid > .trust-card:nth-last-child(2):nth-child(3n + 1) { grid-column: 2 / span 2; }
  .trust-grid > .trust-card:last-child:nth-child(3n + 1) { grid-column: 3 / span 2; }
}
@media (max-width: 900px) {
  .trust-grid > .trust-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 16px); }
}
@media (max-width: 560px) {
  .trust-grid > .trust-card:last-child:nth-child(odd) { width: calc(50% - 7px); }
}
/* Reviews: in a frame 1100px or wider the third-party widget lays cards out
   in four columns, so six reviews filled three and left the right-hand
   quarter empty (cards sat left of centre). Capped at a width where it uses
   two even columns, and centred. */
.review-widget { max-width: 1000px; margin-inline: auto; }

/* =====================================================
   SITEWIDE UX/UI PASS (14 Nov 2026)
   All 43 published pages were measured at 375px and 1440px: tap targets,
   text sizes, line lengths, contrast, layout shift and what the first
   screen shows. Each rule below fixes something the measurements or the
   screenshots found. Nothing here changes a fact, a price or a claim.
   ===================================================== */

/* 1. Dark sections. h1 and h4 had no colour of their own, so the "Page not
      found" heading was dark text on the dark background: invisible. */
.section-inverse h1, .section-inverse h4 { color: var(--text-on-dark); }

/* 2. A link inside a dark banner's intro text was brand blue on charcoal
      (under 4.5:1 on /residential-electrical/). The banners are light now
      (see "PAGE BANNERS" at the end of this file), where brand blue on the
      tint is 5.7:1, so the link is blue and underlined there. */

/* 3. In-page links (#quoteForm, #founder, #bxd ...) stopped with the heading
      hidden under the sticky header. */
main [id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* 4. Embedded forms. The quote page's form area had no reserved height: on a
      phone it started 21px tall and grew to about 1,400px when the form
      arrived, pushing everything below it down (layout shift 0.8; "poor"
      starts at 0.25). The space is now reserved up front, and the loading
      spinner sits near the top of that space where it can be seen. */
.form-embed-loading { justify-content: flex-start; padding-top: 64px; }
.assess-wrap.form-embed-wrap { min-height: 960px; }
@media (max-width: 560px) { .assess-wrap.form-embed-wrap { min-height: 1280px; } }

/* 5. Inner-page banners on phones. Headline, intro and two buttons filled
      the whole first screen, with the main button at the very bottom or
      behind the sticky bar. Tighter spacing, a smaller headline and intro,
      and one button (the sticky bar already carries the phone number, the
      same decision as the home page hero). Photo banners get a darker top
      so the breadcrumb and label are readable over sky. */
@media (max-width: 640px) {
  .page-banner { padding-block: 26px 36px; }
  .page-banner--photo { padding-block: 34px 36px; min-height: 300px; }
  .page-banner h1 { font-size: clamp(2rem, 1.15rem + 3.8vw, 2.4rem); line-height: 1.06; margin-bottom: 12px; }
  .page-banner .lede { font-size: 1.02rem; line-height: 1.55; }
  .page-banner .hero-ctas { margin-top: 22px; }
  .page-banner--photo .page-banner-overlay { background: linear-gradient(180deg, rgba(4,8,20,0.82) 0%, rgba(4,8,20,0.72) 40%, rgba(4,8,20,0.95) 100%); }
}
@media (max-width: 760px) {
  .page-banner .hero-ctas a.btn[href^="tel:"], .page-banner .cta-row a.btn[href^="tel:"] { display: none; }
}

/* 6. Tap targets. Measured under 44px (many under 24px) on phones. */
/* 44px tall tap area with no change to how the line looks: the padding is
   cancelled by an equal negative margin. */
.breadcrumbs a { display: inline-block; padding: 13px 6px; margin: -13px -6px; }
.btn-ghost { min-height: 44px; }
.link-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.link-list a { display: inline-block; padding-block: 11px; }
.notfound-call { display: inline-block; padding-block: 11px; color: #d8ddf5; }
.more-link { display: inline-block; padding-block: 11px; }
.form-field input[type="checkbox"] { width: 22px; height: 22px; flex: 0 0 22px; margin: 1px 0 0; accent-color: var(--brand); }
@media (max-width: 760px) {
  .rebate-strip-inner { padding-block: 8px; }
  .rebate-strip a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: block; padding-block: 12px; line-height: 1.35; min-height: 44px; }
  .footer-bottom .legal-links a { display: inline-block; min-width: 44px; }
  .site-footer h3 { margin-bottom: 4px; }
  .footer-bottom .legal-links { gap: 0 20px; }
  .footer-bottom a[href^="tel:"] { display: inline-block; padding-block: 11px; }
}
/* Phone footer in two columns. With tap-sized links in one column the footer
   ran to about 1,900px on a phone (it was about 1,560px before, with 20px
   links). Two columns keep the 44px links and make it shorter than it was. */
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
}
/* A card whose heading is its only link: the whole card is the target. */
.card:has(> h3 > a):not(:has(p a, li a, .btn)) { position: relative; }
.card:has(> h3 > a):not(:has(p a, li a, .btn)) > h3 > a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* 7. Hover. Every card lifted on hover, including the ones that are not
      links, which reads as "clickable" when it is not. Only cards that are
      links lift now (the .card:hover rule itself was narrowed, further
      up). On touch screens a hover lift sticks after a tap, so it is
      switched off there. */
@media (hover: none) { .btn:hover, a.card:hover, .card:has(> h3 > a):hover { transform: none; } }

/* 8. Line length on desktop. Some notes and card paragraphs ran the full
      1,200px container: up to 160 characters a line (comfortable reading
      is about 60 to 85). */
@media (min-width: 900px) {
  /* rem, not ch: this typeface's "0" is wide, so 72ch came out at 790px. */
  .container-narrow > p, .container-narrow > ul > li, .container-narrow > ol > li { max-width: 43rem; }
  .container > .card > p { max-width: 43rem; }
  p.hint, .card > p.hint, .container-narrow > p.hint { max-width: 36rem; }
  .text-center.hint, .text-center > .hint, .container-narrow.text-center > p { margin-inline: auto; }
  .install-areas { max-width: 680px; }
  .process-note { max-width: 44rem; }
}

/* 9. Smallest text. Step labels and status chips were under 12px. */
.process-item .step-no { font-size: 0.82rem; }
.ohe-step-next { font-size: 0.75rem; }
.footer-bottom { font-size: 0.84rem; }
/* About page: the big "01, 02, 03" numerals were 22% blue on white (about
   1.4:1). A mid blue reads as the same soft numeral and clears 3:1, the
   minimum for large bold text. */
.why-item .index { color: #5c8fd3; }

/* 10. Trust line under a banner: on a narrow phone the separator dot was
       left hanging at the end of the first line. */
@media (max-width: 480px) {
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 2px; }
  /* Zero-sized, not display:none: with the dot removed entirely the two
     pieces of text become one flex item and run together on one line. */
  .hero-trust .dot { width: 0; height: 0; }
}

/* 11. "Page not found": somewhere useful to go. */
.notfound-h2 { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9db4ff; margin: 36px 0 14px; }
.notfound-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.notfound-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; color: #fff; text-decoration: none; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; }
.notfound-links a:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.notfound-links a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* 12. Phone menu. The button now shows a cross while the menu is open. The
       two buttons at the bottom of the menu repeated the sticky bar that
       stays on screen right below them, so on phones the menu is links
       only (above 760px there is no sticky bar and they stay). */
.nav-ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-ico-close { display: inline; }
@media (max-width: 760px) { .mobile-nav .mobile-cta { display: none; } }

/* =====================================================
   PAGE BANNERS: ONE STYLE ON EVERY INNER PAGE (14 Nov 2026)
   The home and battery pages had the newer look; every other page still
   opened with the older flat charcoal block. This brings them into line
   with the battery page: light tint, dark type, one blue button, and
   either the page's real install photo as a card or (on pages with no
   photo) the site's own illustration. Markup is unchanged on all 31
   pages; to switch the whole set to a dark scheme, change the four --pb-
   values below.
   ===================================================== */
.page-banner {
  --pb-bg: #f4f7fe; --pb-fg: #10233f; --pb-muted: #475569; --pb-line: #dbe5f6;
  position: relative; overflow: hidden;
  background: var(--pb-bg); color: var(--pb-fg);
  border-bottom: 1px solid var(--pb-line);
  padding-block: clamp(34px, 5vw, 76px) clamp(38px, 5vw, 76px);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: var(--pb-fg); font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 18px; max-width: 20ch; text-wrap: balance; }
.page-banner .lede { color: var(--pb-muted); max-width: 56ch; font-size: 1.12rem; }
.page-banner .eyebrow { color: var(--brand); }
.page-banner .breadcrumbs, .page-banner .breadcrumbs a { color: var(--pb-muted); }
.page-banner .btn-secondary { color: var(--brand); border-color: var(--brand); background: transparent; }
.page-banner .btn-secondary:hover { background: #eaf0fd; border-color: var(--brand-hover); }
.page-banner .btn-secondary:focus-visible { outline-color: var(--focus-ring); }
.page-banner .hint, .page-banner .hero-trust { color: var(--pb-muted); }
.page-banner .hint a, .page-banner .lede a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.page-banner .hero-trust .dot { background: #9db0cf; }
.assess-banner h1 { max-width: none; }
/* Compact, centred banners (the commercial battery check): no illustration, and the heading stays centred. */
.page-banner .text-center h1 { max-width: none; margin-inline: auto; }

/* Pages with no photo: the illustration sits to the right on wide screens. */
@media (min-width: 1100px) {
  .page-banner:not(.page-banner--photo):not(.assess-banner):not(:has(> .text-center))::after {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    right: max(20px, calc(50% - var(--maxw) / 2 + 20px)); top: 50%; transform: translateY(-50%);
    width: min(34%, 450px); aspect-ratio: 560 / 330;
    background: url(../img/brand/illus-connected-home.svg) no-repeat center / contain;
  }
  /* The words keep clear of the illustration at every width. */
  .page-banner:not(.page-banner--photo):not(.assess-banner):not(:has(> .text-center)) .container > * { max-width: min(660px, 58%); }
}

/* Pages with a photo: words on the left, the photo as a card on the right
   (below the words on phones), instead of words laid over a darkened photo. */
.page-banner--photo {
  display: grid; align-items: center; min-height: 0;
  grid-template-columns: minmax(20px, 1fr) minmax(0, 650px) minmax(0, 550px) minmax(20px, 1fr);
}
.page-banner--photo > .container { grid-column: 2; grid-row: 1; max-width: none; margin: 0; padding: 0 clamp(24px, 4vw, 56px) 0 0; }
.page-banner--photo > .page-banner-media { grid-column: 3; grid-row: 1; position: relative; inset: auto; z-index: 1; border-radius: 16px; overflow: hidden; aspect-ratio: 5 / 4; background: #eaf0fd; }
.page-banner--photo > .page-banner-overlay, .page-banner--photo::after { display: none; }
@media (max-width: 899px) {
  .page-banner--photo { grid-template-columns: minmax(0, 1fr); }
  .page-banner--photo > .container { grid-column: 1; grid-row: 1; padding: 0 20px; }
  .page-banner--photo > .page-banner-media { grid-column: 1; grid-row: 2; margin: 26px 20px 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .page-banner { padding-block: 24px 34px; }
  .page-banner--photo { padding-block: 24px 28px; min-height: 0; }
  .page-banner h1 { font-size: clamp(2rem, 1.15rem + 3.8vw, 2.4rem); line-height: 1.06; margin-bottom: 12px; }
  .page-banner .lede { font-size: 1.02rem; line-height: 1.55; }
}

/* =====================================================
   CUSTOM ICON SET AND ILLUSTRATION (14 Nov 2026)
   .oz-ico: 24px grid, 1.75 stroke, with one soft filled shape behind the
   lines (.oz-ico-acc). Used on the home chooser and the quote steps.
   ===================================================== */
.oz-ico-acc { fill: rgba(5, 96, 193, 0.16); stroke: none; }
.pathway-card .icon { width: 48px; height: 48px; border-radius: 12px; }
.pathway-card .icon svg.oz-ico { width: 28px; height: 28px; color: var(--brand); }
.pathway-illus { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: center; gap: 12px 36px; max-width: 860px; margin: 36px auto 0; padding: 22px 28px; background: var(--blue-50); border: 1px solid rgba(5, 96, 193, 0.12); border-radius: var(--radius-lg); }
.pathway-illus img { display: block; width: 100%; height: auto; }
.pathway-illus .pathway-note { margin: 0; max-width: none; text-align: left; }
@media (max-width: 700px) {
  .pathway-illus { grid-template-columns: minmax(0, 1fr); padding: 18px 20px 22px; text-align: center; }
  .pathway-illus img { max-width: 300px; margin-inline: auto; }
  .pathway-illus .pathway-note { text-align: center; }
}

/* =====================================================
   STEPPED QUOTE FLOW (14 Nov 2026)
   Used on /assessment/ and on the ad landing page /request-a-quote/.
   Markup: .qsteps#quoteSteps in each page's content.html.
   Script: /js/quote-steps.js. These rules lived in the assessment page's
   own <style> block until the ad landing page started using them too.
   ===================================================== */
.qsteps { max-width: 720px; }
.qsteps-head { display: grid; gap: 8px; margin: 4px 0 22px; }
.qsteps-count { margin: 0; font-family: var(--font-heading); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.qsteps-bar { height: 8px; border-radius: 999px; background: var(--grey-200); overflow: hidden; }
.qsteps-bar span { display: block; height: 100%; width: 33.34%; border-radius: 999px; background: var(--brand); transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.qsteps-bar[aria-valuenow="2"] span { width: 66.67%; }
.qsteps-bar[aria-valuenow="3"] span { width: 100%; }
.qstep-title { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.8rem); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 16px; }
.qstep-title:focus { outline: none; }
.qstep-lede { color: var(--text-muted); margin: -8px 0 20px; }
.qstep:not([hidden]) { animation: qstep-in 0.3s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes qstep-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qopts { display: grid; gap: 10px; }
.qopt {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) 20px; align-items: center; gap: 14px;
  width: 100%; min-height: 72px; padding: 12px 16px; text-align: left; cursor: pointer;
  background: #fff; color: var(--text); border: 1.5px solid var(--border); border-radius: var(--radius-md);
  font: inherit; touch-action: manipulation;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.qopt-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-accent); color: var(--brand); display: grid; place-items: center; }
.qopt-ico .oz-ico { width: 28px; height: 28px; }
.qopt-text strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; line-height: 1.25; }
.qopt-text span { display: block; color: var(--text-muted); font-size: 0.92rem; line-height: 1.35; }
.qopt-go { width: 20px; height: 20px; color: var(--charcoal-300); transition: transform 0.18s ease, color 0.18s ease; }
.qopt:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.qopt:active { transform: scale(0.99); }
.qopt[aria-pressed="true"] { border-color: var(--brand); background: var(--bg-accent); box-shadow: inset 0 0 0 1px var(--brand); }
@media (hover: hover) {
  .qopt:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
  .qopt:hover .qopt-go { color: var(--brand); transform: translateX(3px); }
}
.qfield { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.qfield legend { padding: 0; margin-bottom: 10px; font-family: var(--font-heading); font-weight: 600; font-size: 1.02rem; }
.qchips { display: flex; flex-wrap: wrap; gap: 8px; }
.qchip { position: relative; }
.qchip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.qchip span { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 999px; background: #fff; font-weight: 500; transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease; }
.qchip input:checked + span { border-color: var(--brand); background: var(--brand); color: #fff; }
.qchip input:focus-visible + span { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
@media (hover: hover) { .qchip input:not(:checked):hover + span { border-color: var(--brand); } }
.qstep-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 4px; }
.qstep-nav .btn { min-width: 180px; }
.qback { background: none; border: 0; padding: 12px 6px; min-height: 44px; font: inherit; font-weight: 600; color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.qback:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: 4px; }
.qstep-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: -6px 0 14px; padding: 10px 14px; background: var(--bg-accent); border-radius: var(--radius-md); font-size: 0.95rem; }
.qstep-summary .qback { padding: 6px 4px; min-height: 32px; margin-left: auto; }
@media (prefers-reduced-motion: reduce) { .qstep:not([hidden]) { animation: none; } .qsteps-bar span { transition: none; } }
@media (max-width: 560px) { .qstep-nav .btn { width: 100%; } }

/* Space for the HighLevel form is held open at step 3, so nothing below it
   jumps when the form arrives (same heights as the assessment page). */
.qsteps .form-embed-wrap { min-height: 960px; }
@media (max-width: 560px) { .qsteps .form-embed-wrap { min-height: 1280px; } }

/* =====================================================
   FORM LOAD NOTICE (15 Nov 2026, quote-to-lead journey audit)
   Shown above an embedded HighLevel form when the form has not been heard
   from in time (see "HighLevel form guard" in /js/main.js). Its own colours,
   so it reads the same on light and dark sections.
   ===================================================== */
.form-embed-notice { position: relative; z-index: 2; margin: 0 0 14px; padding: 16px 18px; background: #fff8e6; border: 1px solid #f0d48a; border-radius: var(--radius-md); color: #10233f; text-align: left; }
.form-embed-notice p { margin: 0 0 8px; color: #10233f; max-width: none; font-size: 0.95rem; line-height: 1.5; }
.form-embed-notice .form-embed-notice-title { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; }
.form-embed-notice-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.form-embed-notice-actions .btn { min-height: 46px; }
.form-embed-notice-actions .btn-secondary, .section-inverse .form-embed-notice-actions .btn-secondary { background: #fff; color: #10233f; border-color: #10233f; }
@media (max-width: 560px) { .form-embed-notice-actions .btn { width: 100%; } }

