/* Solaris Technological Innovations
   Layout concept: a split spine. Warm amber marks solar, cold blue marks heat tracing,
   and the two-tone rule from the logo divides and connects every section. */

@font-face { font-family: "Chakra Petch"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/chakra-petch-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/chakra-petch-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/chakra-petch-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --bg: #f6f7fa;
  --surface: #ffffff;
  --surface-2: #eef1f6;
  --ink: #0b1220;
  --ink-2: #454e66;
  --ink-3: #66708a;
  --line: #dde1ea;
  --line-strong: #c8cfdc;
  --blue: #2457d6;
  --blue-strong: #1a46b8;
  --blue-soft: #e8eefc;
  --amber: #a85a0b;
  --amber-fill: #e8963a;
  --amber-fill-ink: #1d1204;
  --amber-soft: #fcf0df;
  --good: #1f7a4d;
  --good-soft: #e3f4ea;
  --warn: #8a5a00;
  --warn-soft: #fbf1d8;
  --focus: #2457d6;
  --shadow: 0 1px 2px rgba(11, 18, 32, .06), 0 8px 24px rgba(11, 18, 32, .06);
  --accent: var(--blue);
  --accent-soft: var(--blue-soft);
  --accent-fill: var(--blue);
  --accent-fill-ink: #ffffff;

  --font-display: "Chakra Petch", "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.84rem;
  --step-0: 1rem;
  --step-1: 1.15rem;
  --step-2: 1.4rem;
  --step-3: clamp(1.55rem, 1.2rem + 1.4vw, 2.2rem);
  --step-4: clamp(2rem, 1.4rem + 2.6vw, 3.3rem);

  --radius: 12px;
  --radius-sm: 8px;
  --wrap: 1160px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 88px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d14;
    --surface: #10141e;
    --surface-2: #161c29;
    --ink: #eef1f7;
    --ink-2: #aab3c6;
    --ink-3: #8690a6;
    --line: #232a3a;
    --line-strong: #323b50;
    --blue: #7ea4ff;
    --blue-strong: #9ab7ff;
    --blue-soft: #121b31;
    --amber: #f2ad57;
    --amber-fill: #f0a84e;
    --amber-fill-ink: #1d1204;
    --amber-soft: #241a0c;
    --good: #6fd19c;
    --good-soft: #10261b;
    --warn: #f2c66b;
    --warn-soft: #2a2110;
    --focus: #7ea4ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .25);
    --accent-fill: #3c6cf0;
    color-scheme: dark;
  }
}

body[data-accent="solar"] { --accent: var(--amber); --accent-soft: var(--amber-soft); --accent-fill: var(--amber-fill); --accent-fill-ink: var(--amber-fill-ink); }
body[data-accent="heat"] { --accent: var(--blue); --accent-soft: var(--blue-soft); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-strong); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue-soft); color: var(--ink); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--bg); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 32px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--tight { padding-block: clamp(36px, 5vw, 56px); }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow .dots { display: inline-flex; gap: 5px; }
.eyebrow .dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.eyebrow .dots i:first-child { background: var(--blue); }
.eyebrow .dots i:last-child { background: var(--amber-fill); }
.eyebrow--accent { color: var(--accent); }
.eyebrow svg { width: 12px; height: 12px; flex: none; }

.section-head { display: grid; gap: 12px; max-width: 66ch; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--ink-2); font-size: var(--step-1); }
.section-head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 12px 24px; }
.section-head--row > div { display: grid; gap: 12px; max-width: 66ch; }
@media (max-width: 720px) { .section-head--row { grid-template-columns: 1fr; } }

.spine { height: 3px; display: grid; grid-template-columns: 1fr 1fr; }
.spine::before { content: ""; background: var(--blue); }
.spine::after { content: ""; background: var(--amber-fill); }
.spine--flip::before { background: var(--amber-fill); }
.spine--flip::after { background: var(--blue); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: 10px; border: 1px solid transparent; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .12s ease, background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-strong); color: #fff; }
@media (prefers-color-scheme: dark) { .btn--primary { background: #3c6cf0; } .btn--primary:hover { background: #5583ff; } }
.btn--solar { background: var(--amber-fill); color: var(--amber-fill-ink); }
.btn--solar:hover { background: #f2a54e; color: var(--amber-fill-ink); }
.btn--heat { background: var(--blue); color: #fff; }
.btn--heat:hover { background: var(--blue-strong); color: #fff; }
@media (prefers-color-scheme: dark) { .btn--heat { background: #3c6cf0; } .btn--heat:hover { background: #5583ff; } }
.btn--accent { background: var(--accent-fill); color: var(--accent-fill-ink); }
.btn--accent:hover { filter: brightness(1.06); color: var(--accent-fill-ink); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-3); color: var(--ink); background: var(--surface); }
.btn--sm { min-height: 38px; padding: 8px 14px; font-size: 0.88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--accent); }
.link-arrow:hover { text-decoration: underline; color: var(--accent); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 60px; width: auto; }
.brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .brand .logo-light { display: none; } .brand .logo-dark { display: block; } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 10px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav .btn { margin-left: 6px; }
.nav .btn--quote { margin-left: 12px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1200px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: inline-flex; }
  .brand img { height: 46px; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter-r) 20px var(--gutter); background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav:not(.is-open) { display: none; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"]::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .nav .btn { margin: 10px 0 0; border-bottom: 0; border-radius: 10px; min-height: 50px; font-size: 1rem; }
  .nav .btn--quote { margin-top: 16px; }
}

/* Home hero */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: var(--step-4); font-weight: 600; margin-top: 18px; }
.hero h1 .w-sun { color: var(--amber); }
.hero h1 .w-freeze { color: var(--blue); }
.hero .lede { margin-top: 18px; max-width: 54ch; color: var(--ink-2); font-size: var(--step-1); }
.hero .btn-row { margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: 0.92rem; color: var(--ink-3); }
.hero-note a { font-weight: 600; }
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.hero-visual .tile { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.hero-visual .tile:nth-child(2) { margin-top: 36px; }
.tile-label { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(8, 11, 18, .72); color: #fff; font-size: 0.82rem; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tile-label i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.tile-label--solar i { background: var(--amber-fill); }
.tile-label--heat i { background: #6f97ff; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual .tile:nth-child(2) { margin-top: 24px; } }

/* Page hero (service and inner pages) */
.page-hero { padding-block: clamp(28px, 5vw, 56px) clamp(36px, 6vw, 64px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.86rem; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.page-hero h1 { font-size: var(--step-4); margin-top: 14px; }
.page-hero .lede { margin-top: 16px; color: var(--ink-2); font-size: var(--step-1); max-width: 56ch; }
.page-hero .btn-row { margin-top: 26px; }
.page-hero-visual { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); width: 100%; max-width: 440px; justify-self: end; }
.page-hero-visual .media--portrait { aspect-ratio: 4 / 5; }
@media (max-width: 480px) { .hero .btn-row .btn, .page-hero .btn-row .btn { flex: 1 1 100%; } }
.page-hero--simple .page-hero-grid { grid-template-columns: 1fr; }
.page-hero--simple h1 { font-size: var(--step-4); max-width: 22ch; }
.hero-points { margin-top: 22px; display: grid; gap: 8px; list-style: none; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.hero-points svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--accent); }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-visual { max-width: 560px; justify-self: start; } .page-hero-visual .media--portrait { aspect-ratio: 3 / 2; } }

/* Media slots: photo when present, designed pattern until then */
.media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; max-width: 100%; background-color: #13203f; isolation: isolate; }
.media--portrait { aspect-ratio: 2 / 3; }
.media--project { aspect-ratio: 4 / 3; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.media img.is-loaded { opacity: 1; }
.media[data-kind="solar"] {
  background-color: #0f1b38;
  background-image:
    radial-gradient(circle at 82% 14%, rgba(240, 168, 78, .75) 0, rgba(240, 168, 78, .18) 18%, transparent 42%),
    repeating-linear-gradient(90deg, rgba(196, 211, 240, .22) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(196, 211, 240, .22) 0 1px, transparent 1px 34px),
    linear-gradient(160deg, #1d3266 0%, #0d1730 70%);
}
.media[data-kind="heat"] {
  background-color: #1a2131;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .16) 0, transparent 34%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='64' viewBox='0 0 120 64'%3E%3Cpath d='M-10 16 H100 a16 16 0 0 1 0 32 H-10' fill='none' stroke='%236f97ff' stroke-opacity='.55' stroke-width='3'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #2b3448 0%, #161c29 75%);
  background-size: auto, 120px 64px, auto;
}
.media::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.media .media-mark { position: absolute; right: 14px; top: 12px; width: 28px; height: 28px; color: rgba(255, 255, 255, .55); z-index: 0; }
.media img.is-loaded ~ .media-mark { display: none; }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trust li { list-style: none; background: var(--surface); padding: 18px 18px 20px; display: grid; gap: 4px; min-width: 0; }
.trust strong { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.trust span { color: var(--ink-3); font-size: 0.9rem; }
@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .trust { grid-template-columns: 1fr; } }

/* Service split cards (home) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; min-width: 0; }
.service-card .media { border-bottom: 3px solid var(--blue); }
.service-card--solar .media { border-bottom-color: var(--amber-fill); }
.service-card-body { padding: 24px; display: grid; gap: 14px; flex: 1; align-content: start; }
.service-card h3 { font-size: var(--step-2); }
.service-card p { color: var(--ink-2); }
.tick-list { list-style: none; display: grid; gap: 8px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--blue); }
.service-card--solar .tick-list svg { color: var(--amber); }
.service-card .btn-row { margin-top: 6px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Application grid */
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.app-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.app-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.app-card-body { padding: 18px 18px 20px; display: grid; gap: 8px; align-content: start; }
.app-card h3 { font-size: 1.12rem; }
.app-card p { color: var(--ink-2); font-size: 0.95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
@media (max-width: 900px) { .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .app-grid, .app-grid--two { grid-template-columns: 1fr; } }

/* Included list */
.included { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.included li { list-style: none; padding: 22px 22px 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 36px 1fr; gap: 14px; min-width: 0; }
.included .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.included .ico svg { width: 20px; height: 20px; }
.included h3 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.included p { color: var(--ink-2); font-size: 0.94rem; margin-top: 4px; }
@media (max-width: 900px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .included { grid-template-columns: 1fr; } .included li { padding-right: 0; } }

/* Process steps (a real sequence, so numbered) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; list-style: none; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 22px; counter-increment: step; min-width: 0; }
.steps li::before { content: "Step " counter(step); display: block; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--ink-2); font-size: 0.94rem; margin-top: 6px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Program and info cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards, .cards--two { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--ink-2); font-size: 0.96rem; }
.card .link-arrow { margin-top: auto; padding-top: 4px; }
.card-kicker { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.pill--solar { background: var(--amber-soft); color: var(--amber); border-color: transparent; }
.pill--heat { background: var(--blue-soft); color: var(--blue); border-color: transparent; }
.pill--both { background: var(--surface-2); color: var(--ink); }
.pill--open { background: var(--good-soft); color: var(--good); border-color: transparent; }
.pill--closed { background: var(--surface-2); color: var(--ink-3); }
.pill--maybe { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.amount { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1.1; }
.amount small { display: block; font-family: var(--font-body); font-size: 0.86rem; font-weight: 500; color: var(--ink-3); margin-top: 4px; }
.facts { display: grid; gap: 8px; list-style: none; font-size: 0.94rem; }
.facts li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--ink-2); }
.facts svg { width: 18px; height: 18px; margin-top: 3px; color: var(--ink-3); }
.note { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: var(--warn-soft); color: var(--ink); font-size: 0.95rem; }
.note svg { width: 22px; height: 22px; color: var(--warn); }
.note--info { background: var(--blue-soft); }
.note--info svg { color: var(--blue); }
.note p + p { margin-top: 6px; }

/* Feature band: solar powers winter */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.feature h2 { font-size: var(--step-3); margin-top: 12px; }
.feature p { color: var(--ink-2); margin-top: 14px; font-size: 1.04rem; }
.cycle { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.cycle > div { padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.cycle > div + div { border-left: 1px solid var(--line); }
.cycle .season { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: .1em; text-transform: uppercase; }
.cycle .summer .season { color: var(--amber); }
.cycle .winter .season { color: var(--blue); }
.cycle strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.cycle p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }
.cycle .bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.cycle .bar i { display: block; height: 100%; border-radius: 99px; }
.cycle .summer .bar i { width: 88%; background: var(--amber-fill); }
.cycle .winter .bar i { width: 34%; background: var(--blue); }
.cycle .bar-label { font-size: 0.8rem; color: var(--ink-3); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cycle { grid-template-columns: 1fr; } .cycle > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Segmented filters */
.segmented { display: inline-flex; flex-wrap: nowrap; gap: 6px; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); max-width: 100%; justify-self: start; }
.section-head--row > .segmented { justify-self: end; }
@media (max-width: 720px) { .section-head--row > .segmented { justify-self: start; } }
@media (max-width: 420px) { .segmented { flex-wrap: wrap; } }
.segmented button { min-height: 38px; padding: 7px 14px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); font: 600 0.9rem/1.2 var(--font-body); cursor: pointer; white-space: nowrap; }
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(11, 18, 32, .12); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-bottom: 24px; }
.filter-bar .count { color: var(--ink-3); font-size: 0.92rem; margin-left: auto; }
@media (max-width: 620px) { .filter-bar .count { margin-left: 0; width: 100%; } }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .project-grid { grid-template-columns: 1fr; } }
.project-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.project-body { padding: 18px; display: grid; gap: 8px; align-content: start; }
.project-body h3 { font-size: 1.1rem; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.project-loc { color: var(--ink-3); font-size: 0.88rem; }
.project-body p { color: var(--ink-2); font-size: 0.95rem; }
.empty { border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 4vw, 36px); display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: var(--surface); }
.empty .empty-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.empty .empty-icon svg { width: 28px; height: 28px; }
.empty h3 { font-size: 1.15rem; }
.empty p { color: var(--ink-2); margin-top: 6px; max-width: 62ch; }
.empty .btn-row { margin-top: 14px; }
@media (max-width: 560px) { .empty { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .answer { padding: 0 20px 20px; color: var(--ink-2); display: grid; gap: 10px; max-width: 72ch; }

/* CTA band */
.cta-band { position: relative; border-radius: 20px; overflow: hidden; background: #0d1426; color: #eef1f7; padding: clamp(28px, 5vw, 52px); display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #3c6cf0 0 50%, #f0a84e 50% 100%); }
.cta-band h2 { font-size: var(--step-3); color: #fff; }
.cta-band p { color: #b9c2d6; margin-top: 10px; max-width: 56ch; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .6); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Utilities directory */
.utility-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; list-style: none; border-top: 1px solid var(--line); }
.utility-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.utility-list strong { font-weight: 600; }
.utility-list span { grid-column: 1; color: var(--ink-3); font-size: 0.9rem; }
.utility-list a { grid-column: 2; grid-row: 1 / span 2; white-space: nowrap; font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.utility-list a:hover { text-decoration: underline; }
@media (max-width: 760px) { .utility-list { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .utility-list li { grid-template-columns: 1fr; } .utility-list a { grid-column: 1; grid-row: auto; } }

.resource-list { display: grid; gap: 0; list-style: none; border-top: 1px solid var(--line); }
.resource-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.resource-list a { font-weight: 600; text-decoration: none; }
.resource-list a:hover { text-decoration: underline; }
.resource-list span { color: var(--ink-3); font-size: 0.92rem; }
.ext::after { content: " \2197"; font-size: 0.85em; }

.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.toc a { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.92rem; background: var(--surface); }
.toc a:hover { border-color: var(--ink-3); }
.checked { margin-top: 14px; font-size: 0.88rem; color: var(--ink-3); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.93rem; }
.field .hint { color: var(--ink-3); font-size: 0.85rem; font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: 400 1rem/1.4 var(--font-body); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent); border-color: var(--focus); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c03a2b; }
.field .error { color: #c03a2b; font-size: 0.86rem; }
@media (prefers-color-scheme: dark) { .field .error { color: #ff8a7a; } .field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #ff8a7a; } }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg); font-weight: 500; font-size: 0.94rem; }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.form .fine { color: var(--ink-3); font-size: 0.86rem; }
.form-status { border-radius: 12px; padding: 16px 18px; display: grid; gap: 10px; }
.form-status--ok { background: var(--good-soft); }
.form-status--info { background: var(--blue-soft); }
.form-status pre { white-space: pre-wrap; font: 400 0.88rem/1.5 var(--font-mono); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin: 0; max-height: 260px; overflow: auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 18px; }
.aside-card h2 { font-size: 1.2rem; }
.contact-line { display: grid; gap: 6px; }
.contact-line .label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.copy-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.copy-row .value { font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: 600 0.82rem/1 var(--font-body); cursor: pointer; }
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn:hover { border-color: var(--ink-3); }
.copy-btn[data-state="done"] { border-color: var(--good); color: var(--good); }
.next-steps { list-style: none; display: grid; gap: 12px; counter-reset: ns; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--ink-2); font-size: 0.95rem; }
.next-steps li::before { content: counter(ns); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); font: 600 0.82rem/1 var(--font-mono); }

/* Prose (privacy) */
.prose { max-width: 70ch; display: grid; gap: 14px; color: var(--ink-2); }
.prose h2 { color: var(--ink); font-size: 1.3rem; margin-top: 18px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; }

/* Footer */
.site-footer { margin-top: clamp(48px, 7vw, 88px); background: var(--surface); border-top: 1px solid var(--line); padding-block: 48px max(28px, env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand img { height: 52px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.footer-brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .footer-brand .logo-light { display: none; } .footer-brand .logo-dark { display: block; } }
.footer-brand p { margin-top: 14px; color: var(--ink-2); font-size: 0.94rem; max-width: 36ch; }
.footer-col h2 { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { text-decoration: underline; color: var(--ink); }
.footer-col .value { font-size: 0.9rem; overflow-wrap: break-word; }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.social a { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.88rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.social a:hover { border-color: var(--ink-3); text-decoration: none; }
.footer-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--ink-3); font-size: 0.86rem; }
.footer-base a { color: var(--ink-3); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.nowrap { white-space: nowrap; }
.nav .btn[aria-current="page"]::after { display: none; }
@media (max-width: 720px) {
  .toc { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r)); padding-inline: var(--gutter) var(--gutter-r); padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .toc::-webkit-scrollbar { display: none; }
  .toc a { flex: none; }
}
.contact-grid > * { min-width: 0; }
.form-status { overflow-wrap: anywhere; min-width: 0; }

/* Home service cards: compact illustrated banner, larger text */
.service-card .art { position: relative; aspect-ratio: 16 / 7; max-width: 100%; overflow: hidden; border-bottom: 3px solid var(--blue); background: #0d1426; }
.service-card--solar .art { border-bottom-color: var(--amber-fill); }
.art-svg { display: block; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.service-card:hover .art-svg { transform: scale(1.035); }
.service-card-body { padding: clamp(22px, 3vw, 32px); gap: 16px; }
.service-card h3 { font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2rem); }
.service-card p { font-size: 1.13rem; line-height: 1.55; }
.service-card .tick-list { gap: 10px; }
.service-card .tick-list li { font-size: 1.06rem; }
.service-card .tick-list svg { width: 20px; height: 20px; }
.service-card .btn { min-height: 50px; padding: 12px 22px; font-size: 1rem; }

/* Header call to action buttons */
.btn--quote { background: var(--amber-fill); color: var(--amber-fill-ink); }
.btn--quote:hover, .nav .btn--quote:hover { background: #f4ad5a; color: var(--amber-fill-ink); }
.nav a.btn--quote, .nav a.btn--quote[aria-current="page"] { color: var(--amber-fill-ink); }
.btn--contact { background: var(--blue); color: #fff; }
.btn--contact:hover, .nav .btn--contact:hover { background: var(--blue-strong); color: #fff; }
.nav a.btn--contact, .nav a.btn--contact[aria-current="page"] { color: #fff; }
@media (prefers-color-scheme: dark) { .btn--contact { background: #3c6cf0; } .btn--contact:hover, .nav .btn--contact:hover { background: #5583ff; } }
@media (max-width: 480px) { .brand img { height: 36px; } }
@media (max-width: 376px) { .brand img { height: 33px; } }
.price-box { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; justify-items: start; }
.price-box p { color: var(--ink-2); font-size: 0.95rem; }

/* Home hero tiles: smaller pictures, larger captions */
.hero-visual { width: 100%; max-width: 430px; justify-self: end; gap: 18px; }
.hero-visual .tile { display: grid; gap: 12px; align-content: start; border-radius: 0; overflow: visible; box-shadow: none; text-decoration: none; color: var(--ink); }
.hero-visual .tile:hover { color: var(--ink); }
.tile-frame { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.hero-visual .media--portrait { aspect-ratio: 3 / 4; }
.tile-caption { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1.05rem + .7vw, 1.6rem); line-height: 1.1; }
.tile-caption svg { width: 26px; height: 26px; flex: none; }
.tile-caption--solar svg { color: var(--amber-fill); }
.tile-caption--heat svg { color: var(--blue); }
.hero-visual .tile:hover .tile-caption { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
@media (max-width: 860px) { .hero-visual { justify-self: start; max-width: 460px; } }
