/* FCJ Solutions & Technology — public site.
   Built on the FCJ design system: quiet grey ground, soft plates, large quiet type,
   pill buttons, Geist + Geist Mono. Brand colour (navy, gear blue, leaf) stays near 10%. */

:root {
  /* colour */
  /* warm stone ground instead of near-white: less glare, softer contrast steps */
  --surface-100: #e8e6e0;
  --surface-200: #dcd9d1;
  --surface-raised: #f4f2ed;
  --line: #d2cfc6;
  --line-strong: #8a8c90;
  --ink: #14171d;
  --ink-soft: #434852;
  --ink-display-muted: #6b7180;
  /* deep muted navy bands that give the eye somewhere to rest */
  --deep: #13223f;
  --deep-card: #1b2d4f;
  --deep-card-hover: #22385f;
  --deep-line: rgba(238, 241, 246, .12);
  --on-deep: #eef1f6;
  --on-deep-soft: #b3bdd1;
  --deep-footer: #0e1930;
  --navy: #0e2861;
  --navy-deep: #041450;
  --gear-blue: #3276a6;
  --leaf: #1c5905;
  --leaf-light: #69aa65;
  --action: var(--navy);
  --action-hover: var(--navy-deep);
  --on-action: #ffffff;
  --accent-ink: var(--navy);
  --focus: var(--gear-blue);
  --warning: #9a5b00;
  --danger: #b3261e;
  /* text on navy bands (from the system's brand banner) */
  --on-navy: #ffffff;
  --on-navy-soft: #c9d3ea;
  --leaf-on-navy: #6cc25a;
  /* illustration only: the sun in diagrams */
  --sun: #d9951c;

  /* type */
  --font-sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, Menlo, monospace;

  /* spacing */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;

  /* radius & shadow */
  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 24px; --radius-pill: 999px;
  --shadow-soft: 0 1px 2px rgba(11, 13, 18, .05), 0 6px 20px rgba(11, 13, 18, .06);

  /* layout */
  --header-h: 64px;
  --max: 1120px;
  --side: var(--space-8);
  --ease: cubic-bezier(.25, .6, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--surface-100); color: var(--ink);
  font: 400 15px/24px var(--font-sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--ink); }
p { margin: 0 0 1em; }
strong { font-weight: 500; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::selection { background: var(--navy); color: #fff; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 16px; border-radius: var(--radius-pill); background: var(--surface-raised); box-shadow: var(--shadow-soft); }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: calc(var(--max) + var(--side) * 2); margin: 0 auto; padding: 0 var(--side); }

/* ---------- type ---------- */
.display-xl { font-size: clamp(2.75rem, 6.2vw, 4.5rem); line-height: .98; letter-spacing: -0.035em; font-weight: 400; }
.display-l { font-size: clamp(2.1rem, 4.4vw, 3rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 400; }
.display-xl > span, .display-l > span { display: block; }
.display-xl > span, .display-l > span, .title { text-wrap: balance; }
.display-xl .muted, .display-l .muted { color: var(--ink-display-muted); }
.title, h3 { font-size: clamp(1.3rem, 2.2vw, 1.625rem); line-height: 1.18; letter-spacing: -0.015em; font-weight: 400; }
.num { font-size: 40px; line-height: 1; font-weight: 300; letter-spacing: -0.02em; margin: 0 0 var(--space-5); }
.eyebrow { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 var(--space-5); }
.spec { font: 400 13px/20px var(--font-mono); }
.lead { font-size: 17px; line-height: 27px; color: var(--ink-soft); max-width: 52ch; }
.muted { color: var(--ink-soft); }
.fine { font-size: 13px; line-height: 20px; color: var(--ink-soft); }
.good { color: var(--leaf); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3);
  height: 44px; padding: 0 var(--space-5); border: 0; border-radius: var(--radius-pill);
  background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-soft);
  font: 500 14px/20px var(--font-sans); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--surface-200); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--action); color: var(--on-action); box-shadow: none; }
.btn-primary:hover { background: var(--action-hover); }
.btn-outline, .btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-outline:hover, .btn-ghost:hover { background: var(--surface-raised); }
.btn-sm { height: 36px; padding: 0 var(--space-4); font-size: 13px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.arrow { display: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.textlink { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(14, 40, 97, .3); text-underline-offset: 4px; }
.textlink:hover { text-decoration-color: currentColor; }
.textlink svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.linklike { background: none; border: 0; padding: 0; color: var(--accent-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--surface-100); border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-5); }
.main-nav ul { display: flex; gap: var(--space-6); margin: 0; padding: 0; list-style: none; }
.main-nav .nav-link { white-space: nowrap; }
@media (max-width: 1180px) { .main-nav ul { gap: var(--space-5); } }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none;
  font: 500 11px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none;
}
.nav-link:hover { color: var(--accent-ink); }
.nav-link.is-active { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 8px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; justify-self: center; }
.brand img { height: 36px; width: auto; }
.brand-name { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: var(--space-5); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 500 11px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.header-phone svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: var(--radius-pill); background: var(--surface-raised); box-shadow: var(--shadow-soft); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), opacity .25s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: var(--surface-100); padding: var(--space-4) var(--side) var(--space-7); display: flex; flex-direction: column; overflow-y: auto; }
.mobile-menu a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 26px; line-height: 1.2; letter-spacing: -0.015em; }
.mobile-menu .btn { margin-top: var(--space-6); height: 52px; }
.mobile-menu .mobile-call { font-size: 15px !important; color: var(--ink-soft); border: 0 !important; text-align: center; }
@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .main-nav, .header-actions > .nav-link, .header-phone span { display: none; }
  .brand { justify-self: start; }
  .burger { display: block; }
}
@media (max-width: 560px) { .header-actions .btn { display: none; } }
@media (min-width: 981px) { .brand-name { display: none; } }

/* ---------- sections & plates ---------- */
.section { padding: var(--space-9) 0; }
.section + .section { padding-top: 0; }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-5) var(--space-7); align-items: end; margin-bottom: var(--space-7); }
.section-head p { margin: 0; color: var(--ink-soft); max-width: 46ch; }
.section-head.single { grid-template-columns: 1fr; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; margin-bottom: var(--space-6); } }

.plate { position: relative; background: var(--surface-200); border-radius: var(--radius-md); overflow: hidden; }
.plate > img { width: 100%; height: 100%; object-fit: cover; }
.plate-product { display: grid; place-items: center; padding: var(--space-6); }
.plate-product > img { position: absolute; inset: var(--space-6); width: calc(100% - 2 * var(--space-6)); height: calc(100% - 2 * var(--space-6)); object-fit: contain; mix-blend-mode: multiply; }
.plate-lg { border-radius: var(--radius-lg); }
.page-plate { aspect-ratio: 21 / 9; }
.page-plate > img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .page-plate { aspect-ratio: 4 / 3; } .plate-lg { border-radius: var(--radius-md); } }
.figcap { margin-top: var(--space-3); font-size: 13px; line-height: 20px; color: var(--ink-soft); }

/* feature rows: one idea per row, media ~55% / text ~45%, alternating */
.features { display: grid; gap: var(--space-4); }
.feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-4); align-items: stretch; }
.feature.reverse { grid-template-columns: 1fr 1.2fr; }
.feature.reverse .feature-media { order: 2; }
.feature-media { min-height: 400px; }
.feature-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: var(--space-6) var(--space-7); }
.feature-text p { color: var(--ink-soft); margin: var(--space-4) 0 0; max-width: 40ch; }
.feature-text .spec { color: var(--leaf); margin-top: var(--space-3); }
.feature-text .btn { margin-top: var(--space-6); }
@media (max-width: 860px) {
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: 0; }
  .feature-media { min-height: 0; aspect-ratio: 4 / 3; }
  .feature-text { padding: var(--space-5) var(--space-2) var(--space-6); }
}

/* product-style illustrations drawn in brand tokens */
.art { width: 100%; height: 100%; }
.art .unit { fill: var(--surface-raised); }
.art .shade { fill: #dededc; }
.art .line { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-linecap: round; }
.art .navy { fill: var(--navy); }
.art .blue { fill: var(--gear-blue); }
.art .leaf { fill: var(--leaf-light); }
.art .floor { fill: rgba(11, 13, 18, .07); }

/* tiles: four across, two on tablet, one on phone */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.tile { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); background: var(--surface-200); border-radius: var(--radius-md); text-decoration: none; min-width: 0; }
.tile-media { height: 160px; display: grid; place-items: center; margin-bottom: var(--space-3); }
.tile-media img { height: 160px; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tile-media svg { height: 100%; width: 100%; }
.tile-name { font-size: 15px; font-weight: 500; }
.tile-meta { font-size: 13px; line-height: 20px; color: var(--ink-soft); }
.tile .big { font-size: clamp(1.3rem, 2.2vw, 1.625rem); line-height: 1.18; letter-spacing: -0.015em; }
@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }

/* text lists laid out in a plate, separated by hairlines */
.list-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-6); background: var(--surface-200); border-radius: var(--radius-md); padding: var(--space-2) var(--space-6); }
.list-grid > div { padding: var(--space-5) 0; border-bottom: 1px solid var(--line-strong); border-bottom-color: rgba(143, 145, 151, .35); }
.list-grid > div:nth-last-child(-n+3) { border-bottom: 0; }
.list-grid h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: var(--space-2); }
.list-grid p { margin: 0; color: var(--ink-soft); }
.list-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.list-grid.cols-2 > div:nth-last-child(3) { border-bottom: 1px solid rgba(143, 145, 151, .35); }
@media (max-width: 860px) {
  .list-grid, .list-grid.cols-2 { grid-template-columns: 1fr; padding: var(--space-2) var(--space-5); }
  .list-grid > div:nth-last-child(-n+3) { border-bottom: 1px solid rgba(143, 145, 151, .35); }
  .list-grid > div:last-child { border-bottom: 0; }
}

/* numbered columns for real sequences (method, next steps) */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { padding-top: var(--space-5); border-top: 1px solid var(--ink); }
.step .num { margin-bottom: var(--space-5); }
.step h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: var(--space-2); }
.step p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 22px; }
@media (max-width: 980px) { .steps, .steps.three { grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-4); } }
@media (max-width: 560px) { .steps, .steps.three { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: start; }
.split.wide-left { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: var(--space-6); } }

/* banner */
.banner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-7); background: var(--surface-200); border-radius: var(--radius-md); }
.banner p { margin: var(--space-3) 0 0; color: var(--ink-soft); max-width: 52ch; }
.banner .actions { flex: none; }
@media (max-width: 760px) { .banner { flex-direction: column; align-items: flex-start; padding: var(--space-6) var(--space-5); } }

/* ---------- homepage hero: sunrise to sunset over Kingston Harbour ---------- */
.sky-hero { position: relative; }
.sky-stage { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--space-6); height: calc(100svh - var(--header-h)); min-height: 560px; padding: var(--space-7) 0 var(--space-4); }
.sky-copy { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--space-5) var(--space-7); align-items: end; width: 100%; }
.sky-copy p { margin: 0 0 var(--space-5); color: var(--ink-soft); max-width: 46ch; }
.sky-frame { width: 100%; min-height: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.sky-plate { position: relative; flex: 1; min-height: 0; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: #5a92cf; isolation: isolate; }
.sky-scene, .sky-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky-poster { object-fit: cover; transition: opacity .4s; }
.sky-plate.has-frames .sky-poster { opacity: 0; }
.sky-plate { cursor: ew-resize; touch-action: pan-y; }
.sky-plate:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
.sky-hud { position: absolute; top: var(--space-4); left: var(--space-4); right: var(--space-4); display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); pointer-events: none; }
.pill-card { display: inline-flex; align-items: center; gap: var(--space-3); height: 36px; padding: 0 var(--space-4); border-radius: var(--radius-pill); background: var(--surface-raised); box-shadow: var(--shadow-soft); font-size: 13px; line-height: 20px; white-space: nowrap; }
.sky-clock [data-sky-time] { font-family: var(--font-mono); min-width: 7.4ch; }
.sky-clock [data-sky-phase] { color: var(--ink-soft); }
.sky-meter i { display: block; width: 72px; height: 6px; border-radius: var(--radius-pill); background: var(--surface-200); overflow: hidden; }
.sky-meter b { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--leaf); }
.sky-meter span { color: var(--ink-soft); }
.sky-meter .sky-pct { font-family: var(--font-mono); color: var(--ink); min-width: 4ch; text-align: right; }
.sky-title { margin: 0; font-size: 14px; line-height: 22px; color: var(--ink-soft); }
.sky-title strong { font-weight: 500; color: var(--ink); }
.sky-hint { margin: 0; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 13px; line-height: 20px; color: var(--ink-soft); transition: opacity .3s ease; }
.sky-hint svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .sky-copy { grid-template-columns: 1fr; gap: var(--space-4); }
  .sky-stage { padding-top: var(--space-6); gap: var(--space-5); }
}
@media (max-width: 560px) {
  .sky-stage { min-height: 580px; padding-top: var(--space-5); }
  .sky-copy p { font-size: 14px; line-height: 22px; margin-bottom: var(--space-4); }
  .sky-copy .btn-lg { height: 44px; padding: 0 20px; font-size: 14px; }
  .sky-hud { top: var(--space-3); left: var(--space-3); right: var(--space-3); }
  .sky-meter { gap: var(--space-2); padding: 0 var(--space-3); }
  .sky-meter i { width: 36px; }
  .sky-title { font-size: 13px; line-height: 20px; }
  .sky-plate { border-radius: var(--radius-md); }
}
@media (max-height: 720px) and (min-width: 901px) { .sky-copy p { display: none; } .sky-stage { padding-top: var(--space-6); } }

/* ---------- deep band + trade cards (home) ---------- */
.band-deep { background: var(--deep); color: var(--on-deep); }
.section.band-deep, .band-deep + .section { padding-top: var(--space-9); }
.band-deep .display-l, .band-deep h3 { color: var(--on-deep); }
.band-deep .display-l .muted, .band-deep .section-head p { color: var(--on-deep-soft); }
.trade-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.trade-card {
  display: flex; flex-direction: column; align-items: flex-start; padding: var(--space-6); min-width: 0;
  background: var(--deep-card); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--deep-line);
  color: var(--on-deep); text-decoration: none; transition: background .2s var(--ease), transform .2s var(--ease);
}
.trade-card:hover { background: var(--deep-card-hover); transform: translateY(-2px); }
.trade-card:focus-visible { outline: 3px solid var(--leaf-on-navy); outline-offset: 3px; }
.trade-card h3 { margin: 0 0 var(--space-3); }
.trade-card p { margin: 0 0 var(--space-6); color: var(--on-deep-soft); max-width: 34ch; }
.trade-more { margin-top: auto; display: inline-flex; align-items: center; gap: var(--space-2); font: 500 11px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; }
.trade-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.trade-card:hover .trade-more svg { transform: translate(2px, -2px); }
@media (max-width: 860px) { .trade-cards { grid-template-columns: 1fr; } }

/* ---------- annotated roof photo (projects) ---------- */
.roof-notes { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: var(--space-7); align-items: center; }
.roof-notes p:not(.eyebrow):not(.plate-note) { color: var(--ink-soft); max-width: 46ch; }
@media (max-width: 860px) { .roof-notes { grid-template-columns: 1fr; } }

/* ---------- live sun readout ---------- */
.readout-wrap { padding: var(--space-4) 0 var(--space-9); }
.readout-wrap + .section { padding-top: 0; }
.readout { display: grid; grid-template-columns: 2.2fr repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin: 0; }
.readout > div { background: var(--surface-200); border-radius: var(--radius-md); padding: var(--space-5); min-width: 0; }
.readout dt { font-size: 13px; line-height: 20px; color: var(--ink-soft); }
.readout dd { margin: var(--space-2) 0 0; font: 400 22px/28px var(--font-mono); letter-spacing: -0.02em; }
.readout .arc { display: flex; align-items: center; gap: var(--space-5); }
.readout .arc svg { width: 110px; height: auto; flex: none; overflow: visible; }
.readout .arc p { margin: 0; font-size: 14px; line-height: 21px; }
.readout .arc .muted { font-size: 13px; line-height: 20px; }
.arc-ground { stroke: var(--line-strong); stroke-width: 1.5; }
.arc-path { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 3 6; }
.arc-trail { fill: none; stroke: var(--sun); stroke-width: 3; stroke-linecap: round; }
.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); margin-right: 8px; vertical-align: 1px; animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
@media (max-width: 980px) {
  .readout { grid-template-columns: 1fr 1fr; }
  .readout .arc { grid-column: 1 / -1; }
}

/* ---------- spec tables ---------- */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--line); }
.spec-table th { width: 38%; padding-right: var(--space-4); font-weight: 400; font-size: 13px; line-height: 20px; color: var(--ink-soft); }
.spec-table td { font: 400 13px/20px var(--font-mono); color: var(--ink); }

/* ---------- photo callouts ---------- */
.hotspot-wrap { position: relative; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-200); }
.hotspot-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hotspot {
  position: absolute; width: 32px; height: 32px; margin: -16px 0 0 -16px; padding: 0; border: 0; border-radius: var(--radius-pill);
  background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-soft); font: 400 13px/1 var(--font-mono); display: grid; place-items: center;
}
.hotspot:hover, .hotspot[aria-expanded="true"] { background: var(--action); color: var(--on-action); }
.hotspot-tip { position: absolute; z-index: 2; width: 250px; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--surface-raised); box-shadow: var(--shadow-soft); font-size: 13px; line-height: 20px; color: var(--ink-soft); transform: translate(-50%, calc(-100% - 24px)); }
.hotspot-tip strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 14px; }

/* ---------- instruments (calculators) ---------- */
.instrument { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); padding: var(--space-4); background: var(--surface-200); border-radius: var(--radius-md); }
.instrument > div { min-width: 0; padding: var(--space-6); }
.instrument > div + div { background: var(--surface-raised); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.instrument h3 { margin-bottom: var(--space-4); }
@media (max-width: 900px) { .instrument { grid-template-columns: 1fr; } .instrument > div { padding: var(--space-5); } }
.bill-display { font: 400 clamp(2.4rem, 5vw, 3.4rem)/1 var(--font-mono); letter-spacing: -0.04em; margin: var(--space-3) 0 var(--space-4); }
.bill-display small { font: 400 13px/20px var(--font-sans); letter-spacing: 0; color: var(--ink-soft); margin-left: var(--space-2); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; --pct: 30%; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--navy) var(--pct), rgba(143, 145, 151, .45) var(--pct)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: var(--radius-pill); background: rgba(143, 145, 151, .45); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: var(--radius-pill); background: var(--navy); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--surface-raised); border: 1px solid var(--line-strong); box-shadow: var(--shadow-soft); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-raised); border: 1px solid var(--line-strong); box-shadow: var(--shadow-soft); cursor: grab; }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--focus); outline-offset: 2px; }
input[type="range"]:focus-visible::-moz-range-thumb { outline: 2px solid var(--focus); outline-offset: 2px; }
.range-scale { display: flex; justify-content: space-between; font: 400 12px/18px var(--font-mono); color: var(--ink-soft); }
.calc-row { margin-top: var(--space-5); }
.calc-row > label, .calc-row > .label, .label { display: block; font-weight: 500; font-size: 14px; margin-bottom: var(--space-2); }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: var(--surface-raised); box-shadow: var(--shadow-soft); }
.segmented button { height: 36px; padding: 0 var(--space-4); border: 0; border-radius: var(--radius-pill); background: transparent; font-weight: 500; font-size: 13px; }
.segmented button:hover { background: var(--surface-200); }
.segmented button[aria-pressed="true"] { background: var(--action); color: var(--on-action); }
.toggle { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 44px; cursor: pointer; font-weight: 500; font-size: 14px; }
.calc-row > label.toggle, .field label.toggle { display: inline-flex; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle .track { display: block; flex: none; width: 44px; height: 26px; border-radius: var(--radius-pill); background: var(--line-strong); position: relative; transition: background .2s; }
.toggle .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface-raised); box-shadow: 0 1px 2px rgba(11, 13, 18, .2); transition: transform .2s var(--ease); }
.toggle input:checked + .track { background: var(--action); }
.toggle input:checked + .track::after { transform: translateX(18px); }
.toggle input:focus-visible + .track { outline: 2px solid var(--focus); outline-offset: 2px; }
.out-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-5); margin: var(--space-4) 0 var(--space-5); }
.out { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.out strong { display: block; font: 400 20px/28px var(--font-mono); letter-spacing: -0.02em; }
.out span { font-size: 13px; line-height: 20px; color: var(--ink-soft); }
.out.hero-out { grid-column: 1 / -1; padding: var(--space-2) 0 var(--space-4); }
.out.hero-out strong { font: 400 clamp(2.2rem, 4.4vw, 3rem)/1.05 var(--font-sans); letter-spacing: -0.03em; color: var(--leaf); }
.panel-viz { display: flex; flex-wrap: wrap; gap: 3px; min-height: 28px; margin: 0 0 var(--space-2); }
.panel-viz i { width: 13px; height: 22px; border-radius: 2px; background: var(--navy); animation: drop .25s var(--ease) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }

.big-number { font: 400 clamp(2.6rem, 5vw, 3.4rem)/1 var(--font-mono); letter-spacing: -0.04em; }
.big-number small { font: 400 13px/20px var(--font-sans); letter-spacing: 0; color: var(--ink-soft); margin-left: var(--space-2); }
.unit-row { display: flex; flex-wrap: wrap; gap: 4px; margin: var(--space-4) 0 var(--space-5); }
.unit-row span { height: 32px; display: inline-flex; align-items: center; padding: 0 var(--space-3); border-radius: var(--radius-pill); background: var(--surface-100); font: 400 12px/1 var(--font-mono); color: var(--ink-soft); }
.unit-row span.match { background: var(--action); color: var(--on-action); }
.compare-bars { display: grid; gap: var(--space-3); margin: var(--space-3) 0 var(--space-4); }
.compare-bars .row { display: flex; justify-content: space-between; gap: var(--space-3); font-size: 13px; margin-bottom: 6px; color: var(--ink-soft); }
.compare-bars .row strong { font: 400 13px/20px var(--font-mono); color: var(--ink); }
.compare-bars .track { height: 8px; border-radius: var(--radius-pill); background: var(--surface-200); overflow: hidden; }
.compare-bars .fill { height: 100%; border-radius: inherit; transition: width .5s var(--ease); }
.compare-bars .fill.old { background: var(--line-strong); }
.compare-bars .fill.new { background: var(--leaf-light); }
[data-hvac-summary] { font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip-toggle { min-height: 40px; padding: 8px var(--space-4); border: 0; border-radius: var(--radius-pill); background: var(--surface-raised); box-shadow: var(--shadow-soft); font-weight: 500; font-size: 13px; line-height: 18px; text-align: left; }
.chip-toggle:hover { background: var(--surface-100); }
.chip-toggle[aria-pressed="true"] { background: var(--action); color: var(--on-action); box-shadow: none; }
.form-card .chip-toggle { background: var(--surface-100); box-shadow: inset 0 0 0 1px var(--line); }
.form-card .chip-toggle[aria-pressed="true"] { background: var(--action); box-shadow: none; }
[data-symptom-result] h3 { margin-bottom: var(--space-2); }
[data-symptom-result] > p { color: var(--ink-soft); }
.urgency { padding: var(--space-4) var(--space-5); border-radius: var(--radius-sm); background: var(--surface-100); color: var(--ink-soft); }
.urgency strong { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 4px; color: var(--leaf); }
.urgency strong::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.urgency.high strong { color: var(--danger); }
.urgency.med strong { color: var(--warning); }

/* ---------- energy-flow diagram ---------- */
.flow-card { padding: var(--space-5); border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: var(--shadow-soft); }
.flow-card svg { width: 100%; height: auto; }
.flow-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 3 7; opacity: .14; transition: opacity .4s; }
.flow-line.on { opacity: 1; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -10; } }
.flow-node > rect:first-child { fill: var(--surface-100); stroke: var(--line); }
.flow-node text { fill: var(--ink-soft); font: 400 11px var(--font-mono); letter-spacing: .04em; text-anchor: middle; }
.flow-node .ico2 { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.flow-node .batt-shell { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.flow-node .batt-tip { fill: var(--ink); }
.flow-sun { transition: opacity .5s; }
.flow-card[data-mode="night"] .flow-sun, .flow-card[data-mode="outage"] .flow-sun { opacity: .15; }
.grid-x { opacity: 0; transition: opacity .3s; }
.flow-card[data-mode="outage"] .grid-x { opacity: 1; }
.batt-level { transition: width .6s var(--ease); fill: var(--leaf-light); }
.flow-caption { min-height: 6em; }
.flow-legend { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-4); font-size: 13px; color: var(--ink-soft); }
.flow-legend span { display: inline-flex; align-items: center; gap: 8px; }
.flow-legend i { width: 18px; height: 3px; border-radius: 2px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-5) 0; font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--radius-pill); background: var(--surface-raised); box-shadow: var(--shadow-soft); font: 300 20px/1 var(--font-sans); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 var(--space-5); color: var(--ink-soft); max-width: 68ch; }
.faq a { color: var(--accent-ink); }

/* ---------- footer ---------- */
.cta-wrap { padding: 0 0 var(--space-9); }
.site-footer { background: var(--deep-footer); color: var(--on-navy-soft); padding: var(--space-8) 0 var(--space-6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: var(--space-6); }
.logo-plate { display: inline-block; padding: 6px; background: #fff; border-radius: var(--radius-sm); line-height: 0; }
.footer-brand .logo-plate { margin-bottom: var(--space-5); }
.footer-brand .logo-plate img { height: 40px; width: auto; }
.footer-brand p { color: var(--on-navy-soft); max-width: 38ch; margin: 0 0 var(--space-4); }
.footer-brand .name { color: var(--on-navy); font-weight: 500; margin-bottom: var(--space-2); }
.site-footer h3 { font: 500 11px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-soft); margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.site-footer .links a { font: 500 11px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy); text-decoration: none; }
.site-footer .office li, .site-footer .office a { color: var(--on-navy); font-size: 14px; line-height: 21px; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer :focus-visible { outline-color: #9dbcf0; }
.footer-social { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.footer-social a { color: var(--on-navy); }
.footer-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-5); margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid rgba(201, 211, 234, .22); font: 400 12px/18px var(--font-mono); color: var(--on-navy-soft); }
.footer-end { height: 0; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-grid .office { grid-column: 1 / -1; }
  .footer-end { height: 72px; }
}
.float-cta {
  position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40; display: none;
  height: 48px; padding: 0 var(--space-5); align-items: center; border-radius: var(--radius-pill);
  background: var(--action); color: var(--on-action); box-shadow: var(--shadow-soft); font-weight: 500; font-size: 14px; text-decoration: none;
  transform: translateY(160%); transition: transform .3s var(--ease);
}
.float-cta svg { display: none; }
.float-cta.show { transform: none; }
.page-estimate .float-cta { display: none !important; }
@media (max-width: 760px) { .float-cta { display: inline-flex; } }

/* ---------- reveal (opacity only) ---------- */
[data-reveal], [data-stagger] > * { opacity: 0; transition: opacity .5s var(--ease); }
[data-stagger] > *:nth-child(2) { transition-delay: .06s; } [data-stagger] > *:nth-child(3) { transition-delay: .12s; }
[data-stagger] > *:nth-child(4) { transition-delay: .18s; } [data-stagger] > *:nth-child(5) { transition-delay: .24s; }
[data-reveal].is-visible, [data-stagger].is-visible > * { opacity: 1; }

/* ---------- page heroes ---------- */
.page-hero { padding: var(--space-9) 0 var(--space-7); }
.page-hero .display-xl { max-width: 17ch; }
.page-hero-foot { display: grid; grid-template-columns: 1fr auto; gap: var(--space-5) var(--space-7); align-items: end; margin-top: var(--space-6); }
.page-hero-foot .lead { margin: 0; }
.page-hero.center-min { min-height: 62vh; display: flex; align-items: center; }
.page-hero.center-min > .container { width: 100%; }
@media (max-width: 760px) {
  .page-hero { padding: var(--space-8) 0 var(--space-6); }
  .page-hero-foot { grid-template-columns: 1fr; }
}

/* ---------- forms ---------- */
.form-card { background: var(--surface-raised); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); padding: clamp(24px, 3.6vw, 48px); }
.form-card h2 { font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: var(--space-3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-4); margin-top: var(--space-5); }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 500; font-size: 14px; margin-bottom: var(--space-2); }
.field .hint { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-raised); font: inherit; font-size: 15px; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.field textarea { min-height: 150px; resize: vertical; }
.field .prefix, .field .suffix { position: relative; }
.field .prefix span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); }
.field .prefix input { padding-left: 44px; }
.field .suffix span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; line-height: 22px; color: var(--ink-soft); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); }
.hp { position: absolute !important; left: -9999px !important; }
.form-error { display: flex; gap: 10px; align-items: baseline; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: #fbeceb; color: var(--danger); font-weight: 500; margin: 0 0 var(--space-4); }
.form-error::before { content: "Error"; flex: none; font: 500 11px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; }
.form-success .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--surface-200); display: grid; place-items: center; margin-bottom: var(--space-5); }
.form-success .tick svg { width: 28px; height: 28px; stroke: var(--leaf); stroke-width: 2; fill: none; }
.form-success h2 { margin-bottom: var(--space-3); }
.notice { position: relative; padding: var(--space-3) var(--space-4) var(--space-3) 36px; border-radius: var(--radius-sm); background: var(--surface-100); margin-bottom: var(--space-4); font-size: 14px; line-height: 22px; color: var(--ink); }
.notice::before { content: ""; position: absolute; left: 16px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--gear-blue); }
.notice.with-icon { display: flex; gap: var(--space-3); padding-left: var(--space-4); }
.notice.ok::before { background: var(--leaf); }
.notice.warn::before { background: var(--warning); }
.notice.with-icon::before { display: none; }
.notice.with-icon svg { color: var(--ink-soft); }
.notice small { color: var(--ink-soft); }
.notice a { color: var(--accent-ink); }
.extracted-chip { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; margin-left: 6px; border-radius: var(--radius-pill); background: #e6efe2; font: 400 11px/1 var(--font-mono); color: var(--leaf); vertical-align: 1px; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- estimate flow ---------- */
.estimate-shell { max-width: 900px; }
.stepper { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-6); padding: 0; list-style: none; }
.stepper li { height: 32px; display: inline-flex; align-items: center; padding: 0 var(--space-4); border-radius: var(--radius-pill); background: var(--surface-100); font-size: 13px; color: var(--ink-soft); }
.stepper li.done { color: var(--leaf); background: #e6efe2; }
.stepper li.current { background: var(--action); color: var(--on-action); }
.dropzone { display: block; position: relative; margin-top: var(--space-5); padding: var(--space-7) var(--space-5); border: 1.5px dashed var(--line-strong); border-radius: var(--radius-md); text-align: center; background: var(--surface-100); cursor: pointer; transition: background .2s, border-color .2s; }
.dropzone:hover, .dropzone.drag { background: var(--surface-200); border-color: var(--navy); }
.dropzone:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dz-icon svg { width: 36px; height: 36px; margin: 0 auto var(--space-4); fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dropzone strong { display: block; font-size: 17px; line-height: 1.35; font-weight: 400; margin-bottom: var(--space-2); }
.dz-alt { margin-top: var(--space-4); color: var(--ink-soft); }
.scan { display: grid; grid-template-columns: 140px 1fr; gap: var(--space-6); align-items: center; }
.scan-doc { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); background: var(--surface-100); box-shadow: var(--shadow-soft); overflow: hidden; }
.scan-doc .pdf-ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); }
.scan-doc::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; top: 0; background: var(--navy); animation: scanline 1.4s ease-in-out infinite alternate; }
@keyframes scanline { to { top: calc(100% - 2px); } }
.scan-steps { list-style: none; margin: var(--space-4) 0 0; padding: 0; }
.scan-steps li { display: flex; align-items: center; gap: var(--space-3); padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.scan-steps li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; }
.scan-steps li.active { color: var(--ink); } .scan-steps li.active::before { border-color: var(--navy); background: linear-gradient(90deg, var(--navy) 50%, transparent 50%); }
.scan-steps li.done { color: var(--ink); } .scan-steps li.done::before { border-color: var(--leaf); background: var(--leaf); }
@media (max-width: 600px) { .scan { grid-template-columns: 90px 1fr; gap: var(--space-4); } }
[data-history] { margin: 0 0 var(--space-5); }
[data-history-bars] { display: flex; align-items: flex-end; gap: 4px; height: 64px; padding: var(--space-2); border-radius: var(--radius-sm); background: var(--surface-100); }
[data-history-bars] i { flex: 1; border-radius: 3px 3px 0 0; background: var(--gear-blue); min-height: 3px; }
[data-history-caption] { margin: var(--space-2) 0 0; font-size: 13px; color: var(--ink-soft); }
.form-divider { margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid var(--line); }

/* results (markup built by results.js) */
.results-title { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.05; letter-spacing: -0.025em; margin-bottom: var(--space-4); }
.results-hero { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); margin: var(--space-5) 0; }
.kpi { padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--surface-200); }
.kpi strong { display: block; font: 400 clamp(1.4rem, 2.8vw, 1.9rem)/1.15 var(--font-mono); letter-spacing: -0.03em; }
.kpi span { font-size: 13px; line-height: 20px; color: var(--ink-soft); }
.kpi.accent strong { color: var(--leaf); }
.tune { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); align-items: center; padding: var(--space-4) 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.tune strong { font-weight: 500; }
.system-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-5); margin: var(--space-5) 0; }
.system-item { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-3); align-items: center; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.system-item .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-200); display: grid; place-items: center; }
.system-item .ic svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.system-item strong { display: block; font-weight: 500; }
.system-item span { font-size: 13px; line-height: 20px; color: var(--ink-soft); }
.price-band { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-5); padding: var(--space-6); border-radius: var(--radius-md); background: var(--navy-deep); color: var(--on-navy-soft); margin: var(--space-5) 0; }
.price-band span { display: block; font-size: 13px; line-height: 20px; }
.price-band strong { display: block; margin: 4px 0; font: 400 clamp(1.4rem, 3vw, 2rem)/1.15 var(--font-mono); letter-spacing: -0.03em; color: var(--on-navy); }
.price-band strong.on-navy-good { color: var(--leaf-on-navy); }
.charts { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-3); margin: var(--space-5) 0; }
.chart-card { padding: var(--space-5); border-radius: var(--radius-md); background: var(--surface-200); min-width: 0; }
.chart-card h3 { font-size: 17px; line-height: 1.3; margin-bottom: var(--space-3); }
.chart svg { width: 100%; height: auto; max-height: 300px; overflow: visible; }
.chart .axis text { fill: var(--ink-soft); font-family: var(--font-mono); font-size: 10.5px; }
.chart .gridline { stroke: rgba(143, 145, 151, .4); }
.chart .bar-before { fill: var(--navy); }
.chart .bar-after { fill: var(--leaf); }
.chart .label-before { fill: var(--navy); font-family: var(--font-mono); font-size: 13px; }
.chart .label-after { fill: var(--leaf); font-family: var(--font-mono); font-size: 13px; }
.chart .zero-line { stroke: var(--line-strong); stroke-dasharray: 4 4; }
.chart .area-stop { stop-color: var(--leaf-light); }
.chart .cf-line { fill: none; stroke: var(--leaf); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .payback-dot { fill: var(--surface-raised); stroke: var(--leaf); stroke-width: 2.5; }
.chart .payback-label { fill: var(--leaf); font-family: var(--font-sans); font-size: 12px; font-weight: 500; }
.chart .hover-line { stroke: var(--navy); }
.chart .hover-dot { fill: var(--navy); }
.cta-band { display: grid; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-md); background: var(--surface-200); margin-top: var(--space-6); }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: var(--space-2); }
.cta-band p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) {
  .results-hero { grid-template-columns: 1fr 1fr; }
  .system-list { grid-template-columns: 1fr; }
  .charts { grid-template-columns: 1fr; }
}

/* ---------- gallery / lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); align-items: start; }
.gallery button { display: block; border: 0; padding: 0; background: none; text-align: left; }
.gallery .shot { display: block; aspect-ratio: 4 / 5; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-200); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery button:hover img { transform: scale(1.02); }
.gallery figcaption { display: block; margin-top: var(--space-3); font-size: 13px; line-height: 20px; color: var(--ink-soft); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } .gallery .shot { aspect-ratio: 4 / 3; } }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(11, 13, 18, .92); display: grid; place-items: center; padding: var(--space-5); }
.lightbox figure { margin: 0; }
.lightbox img { max-height: 82vh; width: auto; border-radius: var(--radius-md); }
.lightbox p { font-size: 13px; color: #fff; margin-top: var(--space-3); }
.lightbox .close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--ink); font-size: 22px; line-height: 1; }

/* ---------- contact ---------- */
.contact-list { margin: 0; border-top: 1px solid var(--line); }
.contact-list > * { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-list .k { font: 500 11px/20px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list strong { font-weight: 400; }
.contact-list a:hover strong { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.map { display: block; width: 100%; height: 300px; border: 0; border-radius: var(--radius-md); margin-top: var(--space-5); background: var(--surface-200); filter: grayscale(.3); }

.prose { max-width: 720px; }
.prose h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent-ink); }

@media (max-width: 980px) { :root { --side: var(--space-5); } }
@media (max-width: 560px) { :root { --side: var(--space-4); } .section { padding: var(--space-8) 0; } .readout-wrap { padding-bottom: var(--space-8); } .cta-wrap { padding-bottom: var(--space-8); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal], [data-stagger] > * { opacity: 1; }
}

/* ---------- homepage details ---------- */
.num { display: block; color: var(--ink); }
.plate-project { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3); padding: var(--space-6); }
.plate-project .hotspot-wrap { width: min(100%, 440px); }
.plate-note { margin: 0; font-size: 13px; line-height: 20px; color: var(--ink-soft); }
.feature-text .spec-table { margin-bottom: var(--space-2); }
.principles { gap: var(--space-5); }
.principles > div { padding-top: var(--space-4); border-top: 1px solid var(--line); width: 100%; }
.principles > div:first-child { border-top: 0; padding-top: 0; }
.principles h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
.principles p { margin-top: var(--space-2); }
.facts { margin-top: var(--space-4); }
.facts .tile { padding: var(--space-5) var(--space-5) var(--space-4); }
@media (max-width: 860px) { .plate-project { padding: var(--space-4); } }
.panel-plate { padding: var(--space-7); }
.panel-plate .principles { display: flex; flex-direction: column; }
.panel-plate .principles > div + div { margin-top: var(--space-4); }
.panel-plate .principles > div { border-top-color: rgba(143, 145, 151, .35); }
.panel-plate .principles p { color: var(--ink-soft); margin: var(--space-2) 0 0; }
.segmented + .flow-legend, .flow-caption + .segmented { margin-top: var(--space-2); }
@media (max-width: 760px) { .panel-plate { padding: var(--space-6) var(--space-5); } }

/* ---------- inner pages ---------- */
.plate-art { display: grid; place-items: center; padding: var(--space-6); }
.plate-art > svg { width: min(100%, 720px); height: 100%; max-height: 100%; }
.page-plate.plate-art { aspect-ratio: 21 / 8; }
.feature-media.plate-art > svg { max-height: 380px; }
.list-grid .num { margin-bottom: var(--space-4); }
.spec-plate { padding: var(--space-6); position: sticky; top: calc(var(--header-h) + var(--space-5)); }
.spec-plate .btn { margin-top: var(--space-5); }
.principles.case { display: flex; flex-direction: column; }
.principles.case > div + div { margin-top: var(--space-5); }
.principles.case .num { font: 400 13px/20px var(--font-mono); color: var(--ink-soft); margin-bottom: var(--space-2); }
.principles.case p { color: var(--ink-soft); max-width: 60ch; }
.principles.case p + p { margin-top: var(--space-3); }
[data-symptom-result] ul { color: var(--ink-soft); font-size: 14px; line-height: 22px; }

.estimate-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: var(--space-6); align-items: start; }
.estimate-shell { max-width: none; }
.estimate-aside { position: sticky; top: calc(var(--header-h) + var(--space-5)); padding: var(--space-5); background: var(--surface-200); border-radius: var(--radius-md); }
.aside-list { list-style: none; margin: var(--space-4) 0 var(--space-5); padding: 0; }
.aside-list li { padding: 10px 0; border-bottom: 1px solid rgba(143, 145, 151, .35); font-size: 14px; }
.aside-list li:first-child { border-top: 1px solid rgba(143, 145, 151, .35); }
.form-divider h3 { font-size: 20px; }
.page-estimate .cta-wrap { display: none; }
.estimate-view-section { padding-top: var(--space-8); }
.estimate-view { max-width: 960px; margin-top: var(--space-4); }
.estimate-view > h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; font-weight: 400; margin-bottom: var(--space-5); }
@media (max-width: 980px) {
  .estimate-layout { grid-template-columns: 1fr; }
  .estimate-aside, .spec-plate { position: static; }
}
@media (max-width: 760px) { .page-plate.plate-art { aspect-ratio: 4 / 3; } }
.statement { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-5) var(--space-7); align-items: end; padding-top: var(--space-6); border-top: 1px solid var(--ink); }
.statement .display-l { margin-top: var(--space-3); }
.statement p:not(.eyebrow) { margin: 0 0 var(--space-5); color: var(--ink-soft); max-width: 46ch; }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } }
.page-hero .display-xl { max-width: 20ch; }
.feature-media { position: relative; }
.feature-media.plate:not(.plate-product) > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- animated service icons ----------
   Lines draw in when the icon scrolls into view, then one small part keeps moving
   (sun rays turn, air flows, a battery charges). Reduced motion shows them drawn and still. */
.ico-anim { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--space-5); border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: var(--shadow-soft); color: var(--ink); }
.ico-anim[data-reveal] { opacity: 1; }
.ico-anim svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ico-anim .a-sun { stroke: var(--sun); }
.ico-anim .a-navy { stroke: var(--navy); }
.ico-anim .a-blue { stroke: var(--gear-blue); }
.ico-anim .a-leaf { stroke: var(--leaf); }
.ico-anim .f-sun { fill: var(--sun); stroke: none; }
.ico-anim .f-blue { fill: var(--gear-blue); stroke: none; }
.ico-anim .f-leaf { fill: var(--leaf-light); stroke: none; }
.ico-anim .f-navy { fill: var(--navy); stroke: none; }
.ico-anim .draw { stroke-dasharray: 1 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease); }
.ico-anim .draw.late { transition-delay: .55s; }
.ico-anim[data-reveal]:not(.is-visible) .draw { stroke-dashoffset: 1; }
.ico-anim .fade, .ico-anim .flow, .ico-anim .trace, .ico-anim .scan, .ico-anim .pulse, .ico-anim .charge { transition: opacity .4s ease .9s; }
.ico-anim[data-reveal]:not(.is-visible) :is(.fade, .flow, .trace, .scan, .pulse, .charge) { opacity: 0; transition-delay: 0s; }
.ico-anim .spin, .ico-anim .wiggle, .ico-anim .bob, .ico-anim .flicker, .ico-anim .scan { transform-box: fill-box; transform-origin: center; }
.ico-anim .wiggle { transform-origin: 30% 70%; }
.ico-anim.is-visible .spin { animation: ico-spin 16s linear 1.1s infinite; }
.ico-anim .flow { stroke-dasharray: 1.6 2.2; }
.ico-anim.is-visible .flow { animation: ico-flow 1.1s linear 1.1s infinite; }
.ico-anim .trace { stroke-dasharray: 3 9; }
.ico-anim.is-visible .trace { animation: ico-trace 1.8s linear 1.1s infinite; }
.ico-anim.is-visible .pulse { animation: ico-pulse 2.6s ease-in-out 1.1s infinite; }
.ico-anim.is-visible .pulse.d2 { animation-delay: 2.4s; }
.ico-anim.is-visible .wiggle { animation: ico-wiggle 3.6s ease-in-out 1.2s infinite; }
.ico-anim.is-visible .bob { animation: ico-bob 3s ease-in-out 1.2s infinite; }
.ico-anim.is-visible .flicker { animation: ico-flicker 4s linear 1.4s infinite; }
.ico-anim.is-visible .scan { animation: ico-scan 2.6s ease-in-out 1.1s infinite; }
.ico-anim .charge { fill: var(--leaf-light); stroke: none; }
.ico-anim.is-visible .charge { animation: ico-charge 2.7s ease-in-out 1.1s infinite; }
.ico-anim.is-visible .charge:nth-of-type(2) { animation-delay: 1.4s; }
.ico-anim.is-visible .charge:nth-of-type(3) { animation-delay: 1.7s; }
@keyframes ico-spin { to { transform: rotate(360deg); } }
@keyframes ico-flow { to { stroke-dashoffset: -3.8; } }
@keyframes ico-trace { to { stroke-dashoffset: -12; } }
@keyframes ico-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes ico-wiggle { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-12deg); } 86% { transform: rotate(8deg); } 93% { transform: rotate(-4deg); } }
@keyframes ico-bob { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(1px, -1px); } }
@keyframes ico-flicker { 0%, 88%, 94%, 100% { opacity: 1; } 91%, 96% { opacity: .35; } }
@keyframes ico-scan { 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(9px); opacity: .5; } }
@keyframes ico-charge { 0%, 15% { opacity: .15; } 45%, 100% { opacity: 1; } }
.feature-text .ico-anim { margin-bottom: var(--space-5); }
.list-grid .ico-anim { width: 52px; height: 52px; margin-bottom: var(--space-4); }
.list-grid .ico-anim svg { width: 30px; height: 30px; }
.step .ico-anim { margin-bottom: var(--space-5); }
.list-grid > div:hover .ico-anim, .step:hover .ico-anim { box-shadow: 0 0 0 1px var(--line), var(--shadow-soft); }
.sky-in-view .float-cta.show { transform: translateY(160%); }
