/* Layout: an engineering data sheet. A navy hero band from the brand flyers, then paper sections;
   each design tool pairs an input column with a preliminary design sheet carrying a drawing title block. */
/* Avenir faces from the viewer's device (Apple devices include Avenir). Book = body text. */
@font-face { font-family: 'VSSH Avenir'; font-style: normal; font-weight: 300 400; src: local('Avenir Book'), local('Avenir-Book'); }
@font-face { font-family: 'VSSH Avenir'; font-style: italic; font-weight: 300 400; src: local('Avenir Book Oblique'), local('Avenir-BookOblique'); }
@font-face { font-family: 'VSSH Avenir'; font-style: normal; font-weight: 500; src: local('Avenir Medium'), local('Avenir-Medium'); }
@font-face { font-family: 'VSSH Avenir'; font-style: normal; font-weight: 600 700; src: local('Avenir Heavy'), local('Avenir-Heavy'); }
@font-face { font-family: 'VSSH Avenir'; font-style: normal; font-weight: 800 900; src: local('Avenir Black'), local('Avenir-Black'); }
:root {
  --bg: #F3F5FA;
  --surface: #FFFFFF;
  --surface-2: #E9EDF6;
  --ink: #0B0F3F;
  --ink-2: #454B78;
  --ink-3: #636A96;
  --line: #D6DBEB;
  --line-strong: #B4BCD8;
  --brand: #16148A;
  --link: #2230B0;
  --green: #2E9E3E;
  --green-ink: #1D7A2F;
  --lime: #9BD13F;
  --on-green: #08102E;
  --hero-a: #07082B;
  --hero-b: #13127A;
  --hero-fg: #F4F6FF;
  --hero-fg-2: #BFC4EC;
  --hero-line: rgba(255, 255, 255, .24);
  --hero-grid: rgba(255, 255, 255, .035);
  --hero-hover: rgba(255, 255, 255, .08);
  --hero-frame: rgba(255, 255, 255, .55);
  --plate-bg: rgba(7, 8, 43, .82);
  --scrim: rgba(7, 8, 43, .9);
  --band-g1: #1E6E24; --band-g2: #57A033; --band-g3: #8EC83E;
  --header-bg: rgba(7, 8, 43, .82);
  --hero-shade-1: rgba(7, 8, 43, .95); --hero-shade-2: rgba(7, 8, 43, .72); --hero-shade-3: rgba(7, 8, 43, .28);
  --hero-card-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55);
  --btn-bg: #1C8032; --btn-bg-hover: #176E2A; --btn-fg: #FFFFFF;
  --green-soft: #E4F3E3;
  --card-shadow: 0 1px 2px rgba(11, 15, 63, .05), 0 18px 40px -26px rgba(11, 15, 63, .35);
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px;
  --ok: #1D7A2F; --ok-bg: #E4F3E6;
  --warn: #8F5400; --warn-bg: #FBEFD8;
  --crit: #B3261E; --crit-bg: #FBE3E1;
  --info: #2B3AA8; --info-bg: #E8EAFB;
  --chart-day: #2E9E3E;
  --chart-night: #3440C0;
  --chart-bar: #3440C0;
  --tooltip-bg: #0B0F3F;
  --tooltip-fg: #F4F6FF;
  --shadow: 0 1px 2px rgba(11, 15, 63, .06), 0 10px 30px -18px rgba(11, 15, 63, .35);
  /* Avenir (Book for text) where the device has it; Nunito Sans as the web fallback */
  --font-display: 'VSSH Avenir', 'Avenir', 'Avenir Next', 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'VSSH Avenir', 'Avenir', 'Avenir Next', 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-label: 'VSSH Avenir', 'Avenir', 'Avenir Next', 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --step--1: .8125rem; --step-0: 1rem; --step-1: 1.1875rem; --step-2: 1.5rem; --step-3: clamp(1.6rem, 2.6vw, 2.25rem); --step-4: clamp(2.1rem, 4.4vw, 3.6rem);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #060822; --surface: #0D1036; --surface-2: #141848; --ink: #E9ECFF; --ink-2: #B0B6E2; --ink-3: #8C92C4;
    --line: #242A62; --line-strong: #39408A; --brand: #A9B0FF; --link: #AEB5FF;
    --green: #58A83E; --green-ink: #8CD366; --lime: #A6DB4E; --on-green: #06091F;
    --ok: #8CD366; --ok-bg: rgba(88, 168, 62, .16); --warn: #F2BC5E; --warn-bg: rgba(242, 188, 94, .13);
    --crit: #FF8F86; --crit-bg: rgba(255, 143, 134, .13); --info: #B3BAFF; --info-bg: rgba(142, 151, 255, .13);
    --chart-day: #58A83E; --chart-night: #707BF0; --chart-bar: #707BF0;
    --tooltip-bg: #E9ECFF; --tooltip-fg: #0B0F3F;
    --shadow: 0 1px 0 rgba(255, 255, 255, .03), 0 12px 32px -20px rgba(0, 0, 0, .8);
    --btn-bg: #58A83E; --btn-bg-hover: #6BBA50; --btn-fg: #06091F; --green-soft: rgba(88, 168, 62, .16);
    --card-shadow: 0 1px 0 rgba(255, 255, 255, .03), 0 18px 40px -26px rgba(0, 0, 0, .85);
    color-scheme: dark;
  }
}
@media screen {
:root[data-theme="dark"] {
  --bg: #060822; --surface: #0D1036; --surface-2: #141848; --ink: #E9ECFF; --ink-2: #B0B6E2; --ink-3: #8C92C4;
  --line: #242A62; --line-strong: #39408A; --brand: #A9B0FF; --link: #AEB5FF;
  --green: #58A83E; --green-ink: #8CD366; --lime: #A6DB4E; --on-green: #06091F;
  --ok: #8CD366; --ok-bg: rgba(88, 168, 62, .16); --warn: #F2BC5E; --warn-bg: rgba(242, 188, 94, .13);
  --crit: #FF8F86; --crit-bg: rgba(255, 143, 134, .13); --info: #B3BAFF; --info-bg: rgba(142, 151, 255, .13);
  --chart-day: #58A83E; --chart-night: #707BF0; --chart-bar: #707BF0;
  --tooltip-bg: #E9ECFF; --tooltip-fg: #0B0F3F;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03), 0 12px 32px -20px rgba(0, 0, 0, .8);
  --btn-bg: #58A83E; --btn-bg-hover: #6BBA50; --btn-fg: #06091F; --green-soft: rgba(88, 168, 62, .16);
  --card-shadow: 0 1px 0 rgba(255, 255, 255, .03), 0 18px 40px -26px rgba(0, 0, 0, .85);
  color-scheme: dark;
}
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-weight: 400; font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--link); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); }
.eyebrow { font-family: var(--font-label); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); }

/* ---------- logo (mask so it follows the text colour) ---------- */
.logo { display: block; aspect-ratio: 600 / 149; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .6em 1.35em; border: 0; border-radius: 999px; font-weight: 600; font-size: .9375rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: filter .15s, background-color .15s, border-color .15s; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-block { width: 100%; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-line:hover { border-color: var(--ink-2); background: var(--surface-2); }
.btn-hero { background: transparent; color: var(--hero-fg); border: 1px solid var(--hero-line); }
.btn-hero:hover { background: var(--hero-hover); border-color: var(--hero-frame); }
.btn-sm { min-height: 36px; padding: .35em .8em; font-size: .875rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--header-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--hero-fg); border-bottom: 1px solid var(--hero-line); }
.site-header .wrap { min-height: 64px; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand-link { color: var(--hero-fg); display: block; width: 150px; flex: none; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a { color: var(--hero-fg-2); text-decoration: none; font-size: .9375rem; padding: .5em .8em; border-radius: 999px; }
.site-nav a:hover { color: var(--hero-fg); background: var(--hero-hover); }
.site-nav a.btn-primary { color: var(--btn-fg); background: var(--btn-bg); margin-left: 8px; }
.site-nav a.btn-primary:hover { color: var(--btn-fg); background: var(--btn-bg-hover); }
.header-phone { font-family: var(--font-label); font-size: .875rem; color: var(--hero-fg); white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; background: transparent; border: 1px solid var(--hero-line); color: var(--hero-fg); min-height: 40px; padding: 0 .9em; border-radius: 2px; cursor: pointer; }
@media (max-width: 980px) {
  .header-phone { display: none; }
}
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; align-items: center; gap: .4em; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--hero-a); border-bottom: 1px solid var(--hero-line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; margin: 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8em .25em; border-bottom: 1px solid var(--hero-hover); }
  .site-nav .btn { margin-top: 12px; }
}

/* ---------- hero: full-bleed photo, copy over a navy shade, floating example card ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -65px; padding-block: calc(65px + clamp(44px, 8vw, 104px)) clamp(104px, 11vw, 150px); background: var(--hero-a); color: var(--hero-fg); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 55%; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(0deg, var(--hero-shade-1) 0%, transparent 38%),
    linear-gradient(90deg, var(--hero-shade-1) 0%, var(--hero-shade-2) 48%, var(--hero-shade-3) 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--hero-line); border-radius: 999px; background: var(--hero-hover); font-size: .875rem; font-weight: 500; color: var(--hero-fg); }
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px var(--hero-hover); }
.hero h1 { font-size: var(--step-4); margin-top: 22px; font-weight: 600; max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero-lede { color: var(--hero-fg-2); font-size: var(--step-1); line-height: 1.55; margin-top: 20px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, max-content); gap: 16px clamp(20px, 4vw, 44px); margin: 44px 0 0; padding-top: 24px; border-top: 1px solid var(--hero-line); }
.hero-stats div { display: flex; flex-direction: column-reverse; min-width: 0; }
@media (max-width: 420px) { .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hero-stats dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-stats dt { font-size: .8125rem; color: var(--hero-fg-2); margin-top: 4px; }
.hero-card { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 20px; box-shadow: var(--hero-card-shadow); display: grid; gap: 12px; }
.hero-card h2 { font-size: 1.25rem; margin-top: -4px; }
.hero-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 4px 0 0; font-size: .875rem; }
.hero-card dt { color: var(--ink-3); }
.hero-card dd { margin: 0; text-align: right; font-family: var(--font-label); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.hero-card-price { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; padding: 12px 14px; background: var(--green-soft); border-radius: var(--r-md); }
.hero-card-price span { font-size: .75rem; color: var(--ink-2); }
.hero-card-price strong { grid-row: span 2; grid-column: 2; font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; color: var(--ink); }
.hero-card .btn { margin-top: 2px; }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 440px; }
}

/* feature cards overlapping the hero edge */
.features { position: relative; z-index: 2; margin-top: -64px; }
.features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 20px 22px; box-shadow: var(--card-shadow); display: grid; gap: 6px; align-content: start; }
.feature-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; margin-bottom: 8px; }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.0625rem; }
.feature p { font-size: .875rem; color: var(--ink-2); line-height: 1.45; }
.feature-photo { position: relative; overflow: hidden; isolation: isolate; min-height: 168px; align-content: end; border-color: transparent; background: #1f2a22 var(--bg) center/cover no-repeat; color: #fff; }
.feature-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,16,12,.15) 0%, rgba(10,16,12,.55) 45%, rgba(10,16,12,.88) 100%); }
.feature-photo h3 { color: #fff; }
.feature-photo p { color: rgba(255,255,255,.86); }
.feature-photo .feature-icon { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@media (max-width: 960px) { .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .features { margin-top: -48px; } .features-grid { gap: 10px; } .feature { padding: 16px; } }

.brand-strip { padding-block: clamp(36px, 5vw, 56px) 0; }
.brand-strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.brand-strip-label { font-size: .875rem; color: var(--ink-3); white-space: nowrap; }
.brand-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; flex: 1 1 30rem; }
.brand-names li { font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; color: var(--ink-3); letter-spacing: .01em; }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: grid; gap: 12px; max-width: 46rem; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--ink-2); font-size: 1.0625rem; }

/* services */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--surface); padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 12px; }
.service-icon { width: 44px; height: 44px; color: var(--green-ink); }
.service-icon svg { width: 100%; height: 100%; }
.service h3 { font-size: 1.3125rem; }
.service p { color: var(--ink-2); font-size: .9375rem; }
.service ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: .875rem; color: var(--ink-2); }
.service li { padding-left: 16px; position: relative; }
.service li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--green); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.service .more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: .9375rem; color: var(--link); text-decoration: none; background: none; border: 0; padding-left: 0; cursor: pointer; text-align: left; }
.service .more:hover { text-decoration: underline; }
.sectors { margin-top: 18px; color: var(--ink-3); font-size: .875rem; }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- tools ---------- */
.tools { background: var(--surface-2); border-block: 1px solid var(--line); }
.workbench { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 28px; align-items: start; }
@media (max-width: 1140px) { .workbench { grid-template-columns: 1fr; } }

.inputs { display: grid; gap: 18px; min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); padding: 20px 20px 22px; min-width: 0; }
.panel > h3, .panel > summary { font-family: var(--font-label); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.panel > h3 { margin-bottom: 14px; }
.panel-note { font-size: .8125rem; color: var(--ink-3); margin: -6px 0 14px; }
details.panel > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
details.panel > summary::-webkit-details-marker { display: none; }
details.panel > summary::after { content: '+'; font-size: 1.2rem; line-height: 1; color: var(--ink-3); }
details.panel[open] > summary::after { content: '−'; }
details.panel[open] > summary { margin-bottom: 16px; }
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px 16px; }
.field { display: grid; gap: 5px; align-content: start; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 500; color: var(--ink-2); line-height: 1.3; }
.field .help { font-size: .75rem; color: var(--ink-3); line-height: 1.35; }
.ctl { position: relative; display: flex; align-items: stretch; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 2px; min-width: 0; }
.ctl:focus-within { border-color: var(--green); box-shadow: 0 0 0 2px color-mix(in srgb, var(--green) 30%, transparent); }
.ctl input, .ctl select { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; padding: 9px 10px; font-family: var(--font-mono); font-size: .9375rem; font-variant-numeric: tabular-nums; outline: none; }
.ctl select { font-family: var(--font-body); font-size: .9375rem; cursor: pointer; }
.ctl .unit { display: flex; align-items: center; padding: 0 10px; font-family: var(--font-label); font-size: .75rem; color: var(--ink-3); background: var(--surface-2); border-left: 1px solid var(--line); white-space: nowrap; }
.ctl.invalid { border-color: var(--crit); }

.icon-btn { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid transparent; background: transparent; color: var(--ink-3); cursor: pointer; border-radius: 2px; }
.icon-btn:hover { color: var(--crit); border-color: var(--line); }
.icon-btn svg { width: 16px; height: 16px; }
/* ---------- design sheet ---------- */
.sheet { background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); min-width: 0; }
.sheet-head { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: space-between; background: var(--hero-a); color: var(--hero-fg); padding: 16px 20px 10px; clip-path: polygon(0 0, 38% 0, calc(38% + 8px) 6px, 100% 6px, 100% 100%, 0 100%); font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.sheet-head b { color: var(--lime); font-weight: 500; }
.sheet-head span { color: var(--hero-fg-2); }
.sheet-body { padding: 20px 20px 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.sheet-body > *, .subpanel > * { min-width: 0; }
.sheet-title { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; justify-content: space-between; }
.sheet-title h3 { font-size: var(--step-2); }
.stamp { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--crit); border: 1.5px solid currentColor; padding: 3px 8px; transform: rotate(-1.5deg); }
.cost { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 14px 16px; background: var(--surface-2); border-left: 3px solid var(--green); }
.cost .lbl { font-size: .875rem; color: var(--ink-2); }
.cost .amt { font-family: var(--font-display); font-weight: 600; font-size: 1.625rem; font-variant-numeric: tabular-nums; }
.cost .chip { margin-left: auto; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-label); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; background: var(--warn-bg); color: var(--warn); white-space: nowrap; }

.subtabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.subtab { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 12px; font-size: .875rem; font-weight: 600; color: var(--ink-3); cursor: pointer; }
.subtab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.subpanel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.subpanel h4 { font-family: var(--font-label); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 9px 12px; font-size: .875rem; line-height: 1.45; border-radius: 2px; }
.check svg { width: 16px; height: 16px; margin-top: 2px; }
.check .lv { font-family: var(--font-label); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; margin-right: 6px; }
.check.ok { background: var(--ok-bg); } .check.ok svg, .check.ok .lv { color: var(--ok); }
.check.warn { background: var(--warn-bg); } .check.warn svg, .check.warn .lv { color: var(--warn); }
.check.crit { background: var(--crit-bg); } .check.crit svg, .check.crit .lv { color: var(--crit); }
.check.info { background: var(--info-bg); } .check.info svg, .check.info .lv { color: var(--info); }

.equip { display: grid; border-top: 1px solid var(--line); }
.equip-row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.equip-row dt { font-size: .8125rem; color: var(--ink-3); font-weight: 500; }
.equip-row dd { margin: 0; min-width: 0; }
.equip-row .val { font-weight: 600; font-size: .9375rem; }
.equip-row .note { font-size: .8125rem; color: var(--ink-2); }
@media (max-width: 520px) { .equip-row { grid-template-columns: 1fr; } }

.steps-group + .steps-group { margin-top: 6px; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.step .lab { font-weight: 600; font-size: .875rem; }
.step .res { font-family: var(--font-mono); font-size: .8125rem; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.step .fx { grid-column: 1 / -1; font-family: var(--font-mono); font-size: .8125rem; color: var(--green-ink); overflow-wrap: anywhere; }
.step .wk { grid-column: 1 / -1; font-family: var(--font-mono); font-size: .75rem; color: var(--ink-3); overflow-wrap: anywhere; }
@media (max-width: 520px) { .step { grid-template-columns: 1fr; } .step .res { text-align: left; } }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); }
table.boq { width: 100%; border-collapse: collapse; font-size: .8125rem; min-width: 560px; }
.boq th, .boq td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.boq thead th { font-family: var(--font-label); font-size: .6875rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--surface-2); }
.boq td.n, .boq th.n { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.boq td .spec { display: block; color: var(--ink-3); font-size: .75rem; }
.boq tfoot td { font-weight: 500; background: var(--surface-2); }
.boq tfoot tr.total td { font-weight: 700; font-size: .9375rem; border-top: 2px solid var(--ink); }
.boq-note { font-size: .75rem; color: var(--ink-3); }

.assump { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; font-size: .875rem; color: var(--ink-2); }
.disclaimer { font-size: .8125rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 14px; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.errors { background: var(--crit-bg); color: var(--crit); padding: 14px 16px; font-size: .875rem; display: grid; gap: 4px; }

/* charts */
.chart { position: relative; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .75rem; color: var(--ink-2); margin-bottom: 10px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.bars { display: grid; gap: 4px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr) 5.2rem; gap: 10px; align-items: center; font-size: .8125rem; padding: 2px 0; border-radius: 2px; }
.bar-row:hover, .bar-row:focus-visible { background: var(--surface-2); }
.bar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.bar-track { display: flex; gap: 2px; height: 14px; min-width: 0; }
.bar-seg { height: 100%; min-width: 0; }
.bar-seg:last-child { border-radius: 0 4px 4px 0; }
.bar-val { font-family: var(--font-mono); font-size: .75rem; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.tip { position: absolute; z-index: 5; pointer-events: none; background: var(--tooltip-bg); color: var(--tooltip-fg); font-size: .75rem; line-height: 1.4; padding: 7px 10px; border-radius: 3px; white-space: nowrap; transform: translate(-50%, calc(-100% - 8px)); }
.dori { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.dori td, .dori th { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.dori th { font-family: var(--font-label); font-size: .6875rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.dori td.n { font-family: var(--font-mono); text-align: right; font-variant-numeric: tabular-nums; }

/* rate card */
.ratecard { margin-top: 28px; }
.rate-intro { font-size: .875rem; color: var(--ink-2); max-width: 60rem; }
.rate-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 16px; }
.rate-group { border: 1px solid var(--line); padding: 14px; min-width: 0; }
.rate-group h4 { font-family: var(--font-label); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.rate { display: grid; grid-template-columns: minmax(0, 1fr) 116px; gap: 10px; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: .8125rem; }
.rate:last-child { border-bottom: 0; }
.rate .ctl input { padding: 6px 8px; font-size: .8125rem; text-align: right; }
.rate .ctl .unit { font-size: .6875rem; padding: 0 6px; }
.rate-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; font-size: .8125rem; color: var(--ink-3); }

/* ---------- uptime band ---------- */
.band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.band figure { margin: 0; position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: var(--hero-a); }
.band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.band figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px clamp(16px, 3vw, 32px) 22px; background: linear-gradient(transparent, var(--scrim)); color: var(--hero-fg); }
.band figcaption strong { display: block; font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 600; }
.band figcaption span { display: inline-block; margin-top: 8px; font-size: .9375rem; letter-spacing: .06em; padding: 7px 14px 4px; background: var(--hero-b); clip-path: polygon(0 0, 30% 0, calc(30% + 6px) 4px, 100% 4px, 100% 100%, 0 100%); }
.band figure:first-child figcaption span { background: linear-gradient(90deg, var(--band-g1), var(--band-g2)); }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.process-photo { margin: 0; position: relative; clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%); }
.process-photo img { display: block; width: 100%; height: auto; }
.steps-list { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps-list li:first-child { padding-top: 0; }
.steps-list li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: var(--font-label); font-size: .875rem; color: var(--green-ink); padding-top: 3px; }
.steps-list h3 { font-size: 1.1875rem; }
.steps-list p { color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr; } }

.brands { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.brands li { list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; padding: 10px 18px; border: 1px solid var(--line-strong); background: var(--surface); }
.brands-wrap { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: clamp(32px, 5vw, 56px); margin-top: clamp(40px, 6vw, 72px); }
.brands-wrap ul { padding: 0; margin: 0; }
.brands-wrap p { font-size: .875rem; color: var(--ink-3); }

/* ---------- contact ---------- */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.people { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 24px; }
.person { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.person .who { font-weight: 600; }
.person .role { font-size: .8125rem; color: var(--ink-3); }
.person .tel { grid-column: 1; font-family: var(--font-label); font-size: 1rem; user-select: all; }
.person .btn { grid-row: 1 / span 3; grid-column: 2; }
.contact-meta { display: grid; gap: 10px; margin-top: 20px; font-size: .9375rem; color: var(--ink-2); }
.contact-meta b { display: block; font-family: var(--font-label); font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.form { display: grid; gap: 16px; background: var(--bg); border: 1px solid var(--line); padding: clamp(18px, 3vw, 28px); }
.form .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form textarea { width: 100%; min-height: 110px; resize: vertical; border: 0; background: transparent; padding: 10px; outline: none; font-family: var(--font-body); font-size: .9375rem; }
.form .ctl input, .form .ctl select { font-family: var(--font-body); }
.form .field .err { font-size: .75rem; color: var(--crit); }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--ink-2); }
.checkline input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex: none; }
.ready { border: 1px solid var(--green); background: var(--surface); padding: 18px; display: grid; gap: 12px; }
.ready h3 { font-size: 1.25rem; }
.ready pre { margin: 0; white-space: pre-wrap; font-family: var(--font-mono); font-size: .75rem; color: var(--ink-2); background: var(--surface-2); padding: 12px; max-height: 220px; overflow: auto; }
.ready p { font-size: .8125rem; color: var(--ink-3); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .fields { grid-template-columns: 1fr; } }

.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--tooltip-bg); color: var(--tooltip-fg); padding: 10px 16px; font-size: .875rem; border-radius: 3px; z-index: 80; box-shadow: var(--shadow); }

/* ---------- footer ---------- */
.site-footer { background: var(--hero-a); color: var(--hero-fg-2); padding-block: 44px 36px; font-size: .8125rem; }
.foot-grid { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px 48px; align-items: start; }
.site-footer .logo { color: var(--hero-fg); }
.site-footer p { max-width: 62rem; line-height: 1.6; }
.site-footer p + p { margin-top: 10px; }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr; } .site-footer .brand-link { width: 150px; } }

/* ---------- pricing ---------- */
.chip { background: var(--surface-2); color: var(--ink-2); }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.info { background: var(--info-bg); color: var(--info); }
.chip.muted { background: var(--surface-2); color: var(--ink-3); }
.cost-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; flex: 1 1 18rem; min-width: 0; }
.cost .diffs { flex-basis: 100%; margin: 8px 0 0; padding-left: 1.1em; display: grid; gap: 3px; font-size: .8125rem; color: var(--ink-2); }
.cost.staff { border-left-color: var(--warn); }
.client-sees { font-family: var(--font-label); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: -12px; }
table.boq.wide { min-width: 780px; }
.boq .ref { display: block; font-size: .72rem; color: var(--ink-3); margin-top: 3px; line-height: 1.4; }
.boq .sku { display: block; font-family: var(--font-mono); font-size: .6875rem; color: var(--ink-3); margin-top: 4px; white-space: normal; }
.boq td.sku { display: table-cell; margin: 0; white-space: nowrap; }
.srccell { min-width: 9.5rem; }
.nowrap { white-space: nowrap; }
.db .ctl { width: 112px; margin-left: auto; }
.db .ctl input { text-align: right; padding: 6px 8px; font-size: .8125rem; }
.db input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--green); }
.db tr.inactive td { color: var(--ink-3); }
.db-cat { font-size: 1.1875rem; margin: 28px 0 10px; }
.rules-panel { margin-top: 28px; }
.rules { display: grid; gap: 0; margin: 0; }
.rule { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 4px 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.rule dt { font-family: var(--font-label); font-size: .75rem; color: var(--ink-2); }
.rule dd { margin: 0; color: var(--ink-2); }
@media (max-width: 560px) { .rule { grid-template-columns: 1fr; } }

/* public packages */
.packages { padding-top: 0; }
.packages .wrap { border-top: 1px solid var(--line); padding-top: clamp(48px, 7vw, 88px); }
.pkg-wrap { background: var(--surface); }
table.pkg { width: 100%; border-collapse: collapse; min-width: 600px; font-size: .9375rem; }
.pkg th, .pkg td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.pkg th { font-family: var(--font-label); font-size: .6875rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--surface-2); }
.pkg .n { text-align: right; font-family: var(--font-label); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pkg td.price { font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; color: var(--ink); }
.pkg tbody tr:last-child td { border-bottom: 0; }
.pkg-foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-top: 18px; }
.pkg-foot p { font-size: .875rem; color: var(--ink-3); max-width: 44rem; }

/* staff page */
.staff-badge { font-family: var(--font-label); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; background: var(--lime); color: var(--on-green); padding: 4px 9px; border-radius: 2px; white-space: nowrap; }
.staff-intro { background: radial-gradient(120% 90% at 85% 10%, var(--hero-b) 0%, var(--hero-a) 62%); color: var(--hero-fg); padding-block: clamp(32px, 5vw, 56px); }
.staff-intro .eyebrow { color: var(--lime); }
.staff-intro h1 { font-size: var(--step-3); margin-top: 10px; }
.staff-intro p:not(.eyebrow) { color: var(--hero-fg-2); margin-top: 12px; max-width: 46rem; }
.staff-intro-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; }
.staff-meta { margin: 0; display: grid; gap: 12px; font-size: .875rem; }
.staff-meta dt { font-family: var(--font-label); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-fg-2); }
.staff-meta dd { margin: 2px 0 0; color: var(--hero-fg); overflow-wrap: anywhere; }
@media (max-width: 820px) { .staff-intro-grid { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  table.pkg { min-width: 0; }
  .pkg thead { display: none; }
  .pkg tbody, .pkg td { display: block; }
  .pkg tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; row-gap: 2px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .pkg tbody tr:last-child { border-bottom: 0; }
  .pkg td { border: 0; padding: 0; text-align: left; }
  .pkg td:first-child { grid-column: 1; grid-row: 1; margin-bottom: 4px; }
  .pkg td.price { grid-column: 2; grid-row: 1 / span 4; align-self: center; text-align: right; }
  .pkg td.n:not(.price) { grid-column: 1; text-align: left; font-size: .8125rem; color: var(--ink-2); }
  .pkg td.n:not(.price)::before { content: attr(data-l) ' · '; color: var(--ink-3); font-family: var(--font-body); }
}
@media (max-width: 480px) {
  .site-header .wrap { gap: 10px; }
  .brand-link { width: 118px; }
  .staff-badge { font-size: .625rem; padding: 3px 6px; }
}

/* ---------- soft surfaces: rounded cards and pill controls ---------- */
.services-grid { gap: 18px; background: none; border: 0; }
.service { border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--card-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.service:hover { transform: translateY(-2px); }
.service-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; }
.service-icon svg { width: 26px; height: 26px; }
.service li::before { width: 6px; height: 6px; border-radius: 50%; clip-path: none; top: .65em; }
.panel { border-radius: var(--r-lg); }
.ctl { border-radius: var(--r-sm); overflow: hidden; }
.sheet { border-radius: var(--r-lg); overflow: hidden; border-color: var(--line); box-shadow: var(--card-shadow); }
.sheet-head { clip-path: none; padding: 14px 20px; }
.cost, .errors, .ready { border-radius: var(--r-md); }
.check { border-radius: var(--r-sm); }
.table-scroll { border-radius: var(--r-md); }
.chip, .staff-badge, .menu-btn, .toast { border-radius: 999px; }
.icon-btn { border-radius: 50%; }
.tip { border-radius: 6px; }
.ready pre { border-radius: var(--r-sm); }
.pkg-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--card-shadow); }
.band-section { padding-block: clamp(56px, 8vw, 96px) 0; }
.band { gap: 18px; }
.band figure { border-radius: var(--r-lg); }
.process-photo { clip-path: none; border-radius: var(--r-lg); overflow: hidden; }
.steps-list li { grid-template-columns: 40px minmax(0, 1fr); }
.steps-list li::before { width: 40px; height: 40px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; padding-top: 0; font-size: .8125rem; font-weight: 500; }
.form { border-radius: var(--r-lg); }
.person .btn { border-radius: 999px; }

/* ---------- service cards with images ---------- */
.service { padding: 0; gap: 0; overflow: hidden; }
.service-media { aspect-ratio: 16 / 9; background: var(--hero-a); overflow: hidden; }
.service-media img, .service-media svg { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service:hover .service-media img { transform: scale(1.04); }
.service-body { display: flex; flex-direction: column; gap: 12px; padding: 0 24px 24px; flex: 1; }
.service-body .service-icon { margin-top: -26px; position: relative; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.service-body .more { margin-top: auto; }

/* ---------- products ---------- */
.products { padding-top: 0; }
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--card-shadow); overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: transform .2s ease; }
.product:hover { transform: translateY(-2px); }
.product-media { position: relative; aspect-ratio: 4 / 3; padding: 14px 18px 4px; background: linear-gradient(160deg, var(--il-bg-1), var(--il-bg-2)); border-bottom: 1px solid var(--line); }
.product-tag { position: absolute; top: 14px; left: 14px; font-family: var(--font-label); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--green-ink); border: 1px solid var(--line); }
.product-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.product h3 { font-size: 1.25rem; }
.product-body > p { color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.specs li { font-family: var(--font-label); font-size: .75rem; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); }
.product-brands { font-size: .8125rem !important; color: var(--ink-2); }
.product-brands span { font-family: var(--font-label); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.product-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.product-price { font-size: .8125rem; font-weight: 600; color: var(--ink); }
.product-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 1020px) { .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .products-grid { grid-template-columns: 1fr; } }

/* ---------- design tools: guided, plain-language layout ---------- */
.tool-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 28px; }
.tool-tab { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; font: inherit; transition: border-color .15s, background-color .15s; }
.tool-tab:hover { border-color: var(--green); }
.tool-tab:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.tool-tab[aria-selected="true"] { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
.tt-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green-ink); }
.tool-tab[aria-selected="true"] .tt-ico { background: var(--btn-bg); color: var(--btn-fg); }
.tt-ico svg { width: 22px; height: 22px; }
.tt-txt { display: grid; gap: 1px; min-width: 0; }
.tt-name { font-weight: 700; font-size: .9375rem; line-height: 1.25; }
.tt-blurb { font-size: .75rem; color: var(--ink-2); line-height: 1.3; }
@media (max-width: 1100px) { .tool-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .tool-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px; }
  .tool-tab { padding: 10px; gap: 10px; }
  .tool-tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tt-ico { width: 34px; height: 34px; } .tt-ico svg { width: 19px; height: 19px; }
  .tt-name { font-size: .875rem; } .tt-blurb { display: none; }
}

.tool-intro { font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
.step-panel > h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); }
.step-no { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-bg); color: var(--btn-fg); font-size: .8125rem; font-weight: 700; }
.step-panel > .panel-note { margin-top: -8px; }
.panel.more > summary { font-family: var(--font-body); text-transform: none; letter-spacing: 0; color: var(--ink); }
.sum { display: grid; gap: 2px; }
.sum-t { font-size: .9375rem; font-weight: 700; }
.sum-h { font-size: .8125rem; color: var(--ink-3); font-weight: 400; }
.panel.more > summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translate(-2px, -2px); flex: none; transition: transform .2s; }
.panel.more[open] > summary::after { content: ''; transform: rotate(225deg) translate(-2px, -2px); }
.eng-group h4 { font-family: var(--font-label); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.eng-group + .eng-group { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.eng-group > .panel-note { margin-top: -6px; }
.inputs-foot { padding: 0 4px; }
.link-btn { background: none; border: 0; padding: 4px 0; font: inherit; font-size: .875rem; color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
.ferr { font-size: .75rem; color: var(--crit); line-height: 1.35; }
.field .flabel { font-size: .8125rem; font-weight: 500; color: var(--ink-2); line-height: 1.3; }

/* choice pills and cards */
.choice { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { position: relative; display: block; cursor: pointer; min-width: 0; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.opt-body { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: .875rem; line-height: 1.3; transition: border-color .15s, background-color .15s; }
.opt-body b { font-weight: 600; }
.opt-body small { font-size: .75rem; color: var(--ink-3); }
.opt:hover .opt-body { border-color: var(--green); }
.opt input:checked + .opt-body { background: var(--green-soft); border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.opt input:checked + .opt-body b { color: var(--green-ink); }
.opt input:focus-visible + .opt-body { outline: 2px solid var(--green); outline-offset: 2px; }
.choice.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)); gap: 8px; }
.choice.cards .opt-body { display: grid; align-content: start; gap: 3px; height: 100%; padding: 12px 14px; border-radius: var(--r-md); }
.choice.cards .opt-body b { font-size: .9375rem; }
.choice.cards .opt-body small { font-size: .78rem; color: var(--ink-2); line-height: 1.35; }

/* − / + steppers */
.ctl.stepper input { text-align: center; -moz-appearance: textfield; appearance: textfield; }
.ctl.stepper input::-webkit-inner-spin-button, .ctl.stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.step-btn { flex: none; width: 40px; display: grid; place-items: center; padding: 0; border: 0; background: var(--surface-2); color: var(--ink-2); cursor: pointer; }
.step-btn:hover { background: var(--green-soft); color: var(--green-ink); }
.step-btn svg { width: 14px; height: 14px; }
.step-btn[data-step="-1"] { border-right: 1px solid var(--line); }
.step-btn[data-step="1"] { border-left: 1px solid var(--line); }
.ctl.sm input { padding: 7px 6px; font-size: .875rem; text-align: center; }
.ctl.sm .step-btn { width: 32px; }
.ctl.sm .unit { padding: 0 8px; }

/* appliance list */
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 16px; }
.quick-l, .add-l { font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.quick-btns, .add-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-btn { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font: inherit; font-size: .8125rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.pill-btn:hover { border-color: var(--green); background: var(--green-soft); }
.app-head, .app-row { display: grid; grid-template-columns: minmax(0, 1fr) 118px 104px 72px; gap: 6px 10px; align-items: center; }
.app-head { font-family: var(--font-label); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.app-head span:nth-child(2), .app-head span:nth-child(3) { text-align: center; }
.app-row { padding: 9px 0; border-bottom: 1px solid var(--line); }
.app-main { display: grid; gap: 1px; min-width: 0; }
.app-name { font-weight: 600; font-size: .9375rem; line-height: 1.3; overflow-wrap: anywhere; }
.app-meta { font-size: .75rem; color: var(--ink-3); line-height: 1.3; }
.app-row .ml { display: none; }
.app-btns { display: flex; justify-content: flex-end; gap: 2px; }
.icon-btn:hover { color: var(--ink); }
.icon-btn.del:hover { color: var(--crit); }
.app-row.open .icon-btn[data-edit] { background: var(--green-soft); color: var(--green-ink); }
.app-more { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px 14px; margin-top: 4px; padding: 14px; background: var(--surface-2); border-radius: var(--r-md); }
.app-more[hidden] { display: none; }
.check-line { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--ink-2); cursor: pointer; }
.check-line input { width: 18px; height: 18px; accent-color: var(--green); cursor: pointer; }
.app-row.flash { animation: rowflash 1.4s ease; }
@keyframes rowflash { from { background: var(--green-soft); } to { background: transparent; } }
.app-empty { padding: 18px 0; font-size: .875rem; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.load-total { margin-top: 12px; font-size: .875rem; color: var(--ink-2); }
.load-total b { color: var(--ink); }
.add-apps { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-strong); }
.add-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px 5px 8px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font: inherit; font-size: .8125rem; color: var(--ink); cursor: pointer; }
.add-chip svg { width: 13px; height: 13px; color: var(--green-ink); }
.add-chip:hover { border-color: var(--green); background: var(--green-soft); }
.add-chip.other { border-style: dashed; }
.loads > .panel-note { margin: 14px 0 0; }
@media (max-width: 560px) {
  .app-head { display: none; }
  .app-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; grid-template-areas: "main main btns" "qty h h"; padding: 12px 0; }
  .app-main { grid-area: main; } .app-qty { grid-area: qty; } .app-h { grid-area: h; } .app-btns { grid-area: btns; align-self: start; }
}

/* result */
.sheet { scroll-margin-top: 84px; }
.sheet-title { align-items: center; }
.kicker { font-family: var(--font-label); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 4px; }
.stamp { transform: none; border-width: 1px; border-radius: 999px; padding: 3px 10px; }
.plain { font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { display: grid; align-content: start; gap: 3px; min-width: 0; padding: 14px 14px 13px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); }
.t-l { font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.t-v { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.t-v small { margin-left: 5px; font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.t-s { font-size: .75rem; line-height: 1.35; color: var(--ink-2); }
.tile.bump { animation: bump 1.1s ease; }
@keyframes bump { from { background: var(--green-soft); border-color: var(--green); } }
.stats { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: -4px 0 0; padding: 0 2px; }
.stats div { display: flex; align-items: baseline; gap: 6px; font-size: .8125rem; }
.stats dt { color: var(--ink-3); }
.stats dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; gap: 8px; }
  .tile { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l v" "s v"; align-items: center; column-gap: 12px; padding: 12px 14px; }
  .t-l { grid-area: l; } .t-v { grid-area: v; font-size: 1.625rem; text-align: right; } .t-s { grid-area: s; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .stats div { display: grid; gap: 0; }
}
.sheet-actions .btn-primary { flex: 1 1 auto; }
@media (min-width: 561px) { .sheet-actions .btn-primary { flex: 0 1 auto; } }
.sheet-actions.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sheet-actions.pair .btn { width: 100%; }
@media (max-width: 560px) { .sheet-actions.pair { grid-template-columns: 1fr; } }

/* sticky result bar while filling in the inputs on phones and tablets */
.mini-result { display: none; }
@media (max-width: 1140px) {
  .mini-result { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 5; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border: 1px solid var(--hero-line); border-radius: var(--r-lg); background: var(--hero-a); color: var(--hero-fg); box-shadow: 0 14px 30px -12px rgba(7, 8, 43, .6); }
  .mini-main { display: grid; flex: 1; min-width: 0; }
  .mini-l { font-size: .75rem; color: var(--hero-fg-2); }
  .mini-l b { color: var(--lime); font-weight: 700; }
  .mini-v { overflow: hidden; font-size: .9375rem; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
  .mini-result.bad .mini-v { color: #FFB4AE; }
  .mini-result .btn { flex: none; }
  .mini-result .btn svg { width: 16px; height: 16px; transform: rotate(90deg); }
  .toast { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 440px) {
  .mini-result { padding-left: 14px; gap: 10px; }
  .mini-result .btn { width: 44px; min-height: 44px; padding: 0; }
  .mini-result .btn .mini-btn-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mini-result .btn svg { width: 18px; height: 18px; }
}
.toast { display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); }
.toast[hidden] { display: none; }
.toast-btn { flex: none; padding: 2px 4px; border: 0; background: none; font: inherit; font-weight: 700; color: var(--lime); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* "Save as PDF": print only the design sheet, all tabs expanded */
#vssh-print { display: none; }
@media print {
  html.vssh-printing body > :not(#vssh-print) { display: none !important; }
  html.vssh-printing #vssh-print { display: block !important; }
  #vssh-print { -webkit-print-color-adjust: exact; print-color-adjust: exact; background: #FFFFFF; color: #0B0F3F; }
  #vssh-print .sheet { border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
  #vssh-print .sheet-body { padding: 16px 0 0; }
  #vssh-print .subpanel { display: grid !important; }
  #vssh-print .print-h { margin: 12px 0 0; padding-top: 14px; border-top: 1px solid var(--line-strong); font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); }
  #vssh-print .tile, #vssh-print .check, #vssh-print .equip-row, #vssh-print .step, #vssh-print tr, #vssh-print .cost, #vssh-print .bar-row { break-inside: avoid; }
  #vssh-print .table-scroll { overflow: visible; }
  #vssh-print table.boq { min-width: 0; }
  #vssh-print .tile.bump { animation: none; }
  #vssh-print .print-brand { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 2px solid var(--green); font-size: .8125rem; color: var(--ink-2); }
  #vssh-print .print-brand b { font-family: var(--font-display); font-size: 1.125rem; color: var(--ink); }
}
@page { margin: 14mm 12mm; }

/* product illustration palette */
:root {
  --il-bg-1: #F3F5FB; --il-bg-2: #E4E9F5; --il-line: #1B2150; --il-body: #FFFFFF; --il-body2: #D8DDEC; --il-body3: #BCC4DB;
  --il-dark: #1E2336; --il-dark2: #333A5A; --il-cell: #22307A; --il-cellline: #5563B6; --il-metal: #C2C9DD;
  --il-accent: #2E9E3E; --il-accent2: #CFE6CB; --il-screen: #9BD13F; --il-glow: #FFE3A0; --il-glint: rgba(255, 255, 255, .28); --il-shadow: rgba(11, 15, 63, .13);
  --bp-bg: #0D1654; --bp-grid: rgba(233, 236, 255, .06); --bp-line: rgba(233, 236, 255, .82); --bp-thin: rgba(233, 236, 255, .4); --bp-fill: rgba(233, 236, 255, .06);
  --bp-accent: #9BD13F; --bp-earth: rgba(233, 236, 255, .035); --bp-water: rgba(110, 160, 255, .16); --bp-water2: rgba(110, 160, 255, .35); --bp-cov: rgba(155, 209, 63, .1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --il-bg-1: #151A4C; --il-bg-2: #0F1440; --il-line: #070A26; --il-body: #E3E7F4; --il-body2: #B4BCD6; --il-body3: #97A0C0;
    --il-dark: #11152C; --il-dark2: #262C4C; --il-cell: #2B3B9E; --il-cellline: #6C79D2; --il-metal: #9AA3C2;
    --il-accent: #58A83E; --il-accent2: #3F6B3A; --il-screen: #A6DB4E; --il-shadow: rgba(0, 0, 0, .4);
  }
}
:root[data-theme="dark"] {
  --il-bg-1: #151A4C; --il-bg-2: #0F1440; --il-line: #070A26; --il-body: #E3E7F4; --il-body2: #B4BCD6; --il-body3: #97A0C0;
  --il-dark: #11152C; --il-dark2: #262C4C; --il-cell: #2B3B9E; --il-cellline: #6C79D2; --il-metal: #9AA3C2;
  --il-accent: #58A83E; --il-accent2: #3F6B3A; --il-screen: #A6DB4E; --il-shadow: rgba(0, 0, 0, .4);
}
.ill svg { display: block; width: 100%; height: 100%; }
.ill .o { stroke: var(--il-line); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.ill .s { fill: var(--il-shadow); }
.ill .b { fill: var(--il-body); } .ill .b2 { fill: var(--il-body2); } .ill .b3 { fill: var(--il-body3); }
.ill .d { fill: var(--il-dark); } .ill .d2 { fill: var(--il-dark2); }
.ill .c { fill: var(--il-cell); } .ill .cl { fill: none; stroke: var(--il-cellline); stroke-width: 1.2; }
.ill .m { fill: var(--il-metal); } .ill .a { fill: var(--il-accent); } .ill .a2 { fill: var(--il-accent2); }
.ill .sc { fill: var(--il-screen); } .ill .g { fill: var(--il-glow); } .ill .gl { fill: var(--il-glint); }
:root { --il-red: #D3392E; --il-red2: #F06A5E; }
.ill .r { fill: var(--il-red); } .ill .r2 { fill: var(--il-red2); }
.bp .bp-bg { fill: var(--bp-bg); } .bp .bp-grid { fill: none; stroke: var(--bp-grid); stroke-width: 1; }
.bp .bp-l { fill: none; stroke: var(--bp-line); stroke-width: 2.5; stroke-linejoin: round; }
.bp .bp-l.bp-fill, .bp .bp-fill { fill: var(--bp-fill); }
.bp .bp-l2 { fill: none; stroke: var(--bp-line); stroke-width: 4; stroke-linejoin: round; }
.bp .bp-thin { fill: none; stroke: var(--bp-thin); stroke-width: 1.5; }
.bp .bp-dash { fill: none; stroke: var(--bp-thin); stroke-width: 1.5; stroke-dasharray: 8 6; }
.bp .bp-dim { fill: none; stroke: var(--bp-accent); stroke-width: 1.8; }
.bp .bp-acc { fill: none; stroke: var(--bp-accent); stroke-width: 2.2; stroke-dasharray: 7 5; }
.bp .bp-acc-f { fill: var(--bp-accent); }
.bp .bp-earth { fill: var(--bp-earth); } .bp .bp-water { fill: var(--bp-water); } .bp .bp-water2 { fill: var(--bp-water2); }
.bp .bp-cov { fill: var(--bp-cov); stroke: var(--bp-accent); stroke-width: 1.5; stroke-dasharray: 6 6; }
.bp .bp-t { fill: var(--bp-line); font-family: var(--font-mono); font-size: 15px; letter-spacing: .08em; }

/* ---------- multi-page site ---------- */
.site-nav a[aria-current="page"] { color: var(--hero-fg); background: var(--hero-hover); }
.hero-page { padding-block: calc(65px + clamp(36px, 6vw, 76px)) clamp(48px, 7vw, 92px); }
.hero-page h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 22ch; }
.hero-page .hero-lede { max-width: 40em; }
.cta { padding-block: 0 clamp(56px, 8vw, 104px); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-lg); background: radial-gradient(120% 160% at 90% 0%, var(--hero-b), var(--hero-a) 70%); color: var(--hero-fg); }
.cta-inner h2 { font-size: var(--step-3); }
.cta-inner p { color: var(--hero-fg-2); margin-top: 8px; max-width: 36rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 14px; }
.foot-links a { color: var(--hero-fg); text-decoration: none; font-size: .875rem; }
.foot-links a:hover { text-decoration: underline; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.form > .err { font-size: .8125rem; color: var(--crit); margin-top: -8px; }
.checkline a { color: var(--link); }
.prose { max-width: 46rem; display: grid; gap: 14px; }
.prose h2 { font-size: 1.3rem; margin-top: 14px; }
.prose p { color: var(--ink-2); }
.draft-note { background: var(--warn-bg); color: var(--warn); padding: 12px 16px; border-radius: var(--r-md); font-size: .875rem; }
.page-intro { padding-block: clamp(40px, 6vw, 72px) 0; }
.band-section { padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 72px); }

/* v8: illustrations and banner */
.flow-figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--hero-a); box-shadow: var(--card-shadow); }
.flow-figure img { display: block; width: 100%; height: auto; }
.photo-banner { padding-block: 0 clamp(40px, 6vw, 72px); }
.photo-banner-inner { position: relative; display: flex; align-items: center; min-height: clamp(340px, 38vw, 480px); border-radius: var(--r-lg); overflow: hidden; background: var(--hero-a); color: var(--hero-fg); }
.photo-banner-inner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.photo-banner-copy { position: relative; z-index: 2; max-width: 30rem; padding: clamp(24px, 5vw, 64px); display: grid; gap: 12px; justify-items: start; }
.photo-banner-copy .eyebrow { color: var(--lime); }
.photo-banner-copy h2 { font-size: var(--step-3); }
.photo-banner-copy p:not(.eyebrow) { color: var(--hero-fg-2); }
.photo-banner-copy .btn { margin-top: 8px; }
@media (max-width: 640px) {
  .photo-banner-inner { align-items: flex-end; min-height: 460px; }
  .photo-banner-inner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(7, 8, 43, .1) 15%, rgba(7, 8, 43, .94) 62%); }
}
/* v9: product photos */
.product-media.photo { padding: 0; background: var(--hero-a); }
.product-media.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-bg.hero-bg-right { object-position: 85% 50%; }

/* v12: example solar systems (home section + solar-designs.html) */
.systems { padding-top: 0; }
.systems-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sys-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--card-shadow); }
.sys-top { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sys-tag { font-family: var(--font-label); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.balance { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: .75rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.balance.warn { background: var(--warn-bg); color: var(--warn); }
.balance.crit { background: var(--crit-bg); color: var(--crit); }
.sys-card h3 { font-size: 1.25rem; }
.sys-spec { font-size: .875rem; color: var(--ink-2); line-height: 1.45; }
/* label and value above a full-width track: every track is the card width, so the bars share one scale */
.sys-bars { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 3px 8px; }
.sys-bar .track { grid-column: 1 / -1; margin-bottom: 6px; }
.sys-bar { display: contents; margin: 0; font-size: .8125rem; }
.sys-bar > span { font-size: .8125rem; }
.sys-bar .lbl { color: var(--ink-3); }
.sys-bar .track { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.sys-bar .fill { display: block; height: 100%; min-width: 3px; border-radius: 999px; }
.sys-bar.day .fill { background: var(--chart-day); }
.sys-bar.night .fill { background: var(--chart-night); }
.sys-bar .val { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.sys-runs { font-size: .875rem; color: var(--ink-2); line-height: 1.5; }
.sys-foot { display: grid; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.sys-price { font-size: .8125rem; color: var(--ink-3); line-height: 1.35; }
.sys-price b { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.sys-price small { display: block; font-size: .75rem; }
.sys-link { font-weight: 600; font-size: .9375rem; color: var(--link); text-decoration: none; }
.sys-link:hover { text-decoration: underline; }
.systems-foot { margin-top: 18px; max-width: 62rem; font-size: .8125rem; color: var(--ink-3); line-height: 1.55; }
@media (max-width: 1100px) { .systems-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .systems-grid { grid-template-columns: 1fr; } }

.sd-stack { display: grid; gap: 20px; }
.sd-stack > * { min-width: 0; }
.sd-intro .section-head { margin-bottom: 0; }
.sd-design { padding-block: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.sd-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; }
.sd-head h2 { margin-top: 6px; font-size: var(--step-3); }
.sd-specline { margin-top: 6px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sd-lede { max-width: 46rem; font-size: 1.0625rem; color: var(--ink-2); }
.sd-sub { font-size: 1.125rem; margin-top: 4px; }
.sd-note { max-width: 52rem; font-size: .875rem; color: var(--ink-3); }
.sd-table { width: 100%; border-collapse: collapse; font-size: .875rem; background: var(--surface); }
.sd-table caption { padding: 10px 12px; text-align: left; font-size: .8125rem; color: var(--ink-3); caption-side: top; }
.sd-table th, .sd-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.sd-table thead th { font-family: var(--font-label); font-size: .6875rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--surface-2); }
.sd-table tbody th { font-weight: 600; color: var(--ink); }
.sd-table tbody tr:last-child > * { border-bottom: 0; }
.sd-table .n { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sd-table .sub { display: block; margin-top: 3px; font-size: .75rem; font-weight: 400; color: var(--ink-3); text-transform: none; letter-spacing: 0; white-space: normal; }
.sd-table td .balance + .sub { margin-top: 6px; }
.sd-table a { color: var(--link); text-decoration: none; }
.sd-table a:hover { text-decoration: underline; }
.sd-compare { min-width: 760px; }
.sd-compare tbody th { white-space: nowrap; }
.sd-strings tbody th { min-width: 10rem; }
.sd-intro { padding-bottom: clamp(40px, 6vw, 64px); }
.sd-strings { min-width: 640px; }
.sd-spec tbody th { width: 9rem; white-space: nowrap; }
.sd-spec td:nth-child(2) { width: 30%; font-weight: 600; color: var(--ink); }
.sd-spec td:nth-child(3) { color: var(--ink-2); }
.sd-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sd-panel { display: grid; align-content: start; gap: 10px; min-width: 0; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.sd-panel h3 { font-size: 1.0625rem; }
.sd-panel ul { display: grid; gap: 7px; margin: 0; padding-left: 1.1em; font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
.sd-panel.warn { background: var(--warn-bg); border-color: transparent; }
.sd-panel.warn h3 { color: var(--warn); }
.sd-panel.warn ul { color: var(--ink); }
.sd-assume { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 20px; margin: 0; padding: 0 !important; list-style: none; }
.sd-assume b { display: block; font-family: var(--font-label); font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); }
.sd-pkg { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--green-soft); }
.sd-pkg > div:first-child { display: grid; gap: 2px; min-width: 0; }
.sd-pkg-l { font-size: .8125rem; color: var(--ink-2); }
.sd-pkg strong { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; line-height: 1.15; color: var(--ink); font-variant-numeric: tabular-nums; }
.sd-pkg-n { font-size: .875rem; color: var(--ink-2); }
.sd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sd-check { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sd-panel ul.ticks { padding-left: 0; list-style: none; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); font-size: .6875rem; font-weight: 700; line-height: 18px; text-align: center; }
@media (max-width: 900px) { .sd-two, .sd-check { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .sd-spec-wrap { border: 0; overflow: visible; }
  .sd-spec, .sd-spec tbody, .sd-spec tr, .sd-spec th, .sd-spec td { display: block; width: auto !important; }
  .sd-spec thead { display: none; }
  .sd-spec tr { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
  .sd-spec tr + tr { margin-top: 8px; }
  .sd-spec th, .sd-spec td { padding: 2px 0; border: 0; }
  .sd-spec tbody th { font-family: var(--font-label); font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
  .sd-pkg .sd-actions, .sd-pkg .sd-actions .btn { width: 100%; }
}

/* ---------- v13: quote cart (assets/cart.js, assets/catalog.js) ---------- */
.cart-btn { order: 3; position: relative; flex: none; display: inline-flex; align-items: center; gap: .45em; min-height: 40px; padding: 0 .6em 0 .8em; margin-left: -12px; border: 1px solid var(--hero-line); border-radius: 999px; background: transparent; color: var(--hero-fg); font-size: .9375rem; font-weight: 600; cursor: pointer; }
.cart-btn:hover { background: var(--hero-hover); border-color: var(--hero-frame); }
.cart-btn svg { width: 20px; height: 20px; flex: none; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--hero-hover); color: var(--hero-fg-2); font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-btn.has-items .cart-count { background: var(--btn-bg); color: var(--btn-fg); }
.cart-btn.bump .cart-count { animation: cart-bump .45s ease; }
@keyframes cart-bump { 40% { transform: scale(1.35); } }

.site-nav a { white-space: nowrap; }
@media (max-width: 1240px) { .cart-btn-l { display: none; } .cart-btn { padding: 0 .55em; } }
@media (max-width: 1180px) { .header-phone { display: none; } }
/* with the cart button and About us the full menu needs ~1040px, so it folds into the Menu button below that */
@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; align-items: center; gap: .4em; order: 2; margin-left: -14px; }
  .cart-btn { order: 1; margin-left: auto; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--hero-a); border-bottom: 1px solid var(--hero-line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; margin: 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8em .25em; border-bottom: 1px solid var(--hero-hover); }
  .site-nav .btn { margin-top: 12px; }
}
@media (max-width: 480px) { .menu-btn { margin-left: -2px; } }

html.cart-lock { overflow: hidden; }
.cart-layer { position: fixed; inset: 0; z-index: 75; }
.cart-scrim { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity .22s ease; }
.cart-layer.open .cart-scrim { opacity: .6; }
.cart-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border-left: 1px solid var(--line); box-shadow: -24px 0 60px -30px rgba(7, 8, 43, .55); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateX(100%); transition: transform .22s ease; outline: none; }
.cart-layer.open .cart-drawer { transform: none; }
.cart-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 16px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 1.25rem; }
.cart-head-n { font-size: .8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cart-x { margin-left: auto; width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2); cursor: pointer; }
.cart-x:hover { background: var(--surface-2); color: var(--ink); }
.cart-x svg { width: 18px; height: 18px; }
.cart-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line-main { display: grid; gap: 2px; min-width: 0; }
.cart-line-main b { font-size: .9375rem; line-height: 1.3; }
.cart-line-main span { font-size: .8125rem; color: var(--ink-2); line-height: 1.35; }
.cart-line-main span.tba { color: var(--ink-3); font-style: italic; }
.cart-qty { flex: none; justify-self: start; }
.cart-qty input { flex: none; width: 3.6em; }
.cart-qty .unit { padding: 0 6px 0 0; background: transparent; border: 0; }
.cart-qty input { font-family: var(--font-body); }
.step-btn:disabled { opacity: .4; cursor: default; background: var(--surface-2); color: var(--ink-3); }
.cart-rm { width: 36px; height: 36px; }
.cart-rm svg { width: 18px; height: 18px; }
.cart-undo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .875rem; color: var(--ink-2); }
.cart-undo button { flex: none; border: 0; background: none; padding: 4px 2px; font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cart-empty { display: grid; justify-items: center; gap: 12px; padding: 56px 8px; text-align: center; color: var(--ink-2); font-size: .9375rem; }
.cart-empty > svg { width: 44px; height: 44px; color: var(--ink-3); }
.cart-empty b { color: var(--ink); }
.cart-foot { display: grid; gap: 12px; padding: 16px 20px 18px; border-top: 1px solid var(--line); background: var(--surface-2); }
.cart-note { font-size: .8125rem; color: var(--ink-2); line-height: 1.45; }
.cart-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cart-actions .btn { padding-inline: .8em; }
.cart-clear { justify-self: start; border: 0; background: none; padding: 2px 0; font-size: .8125rem; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cart-clear:hover { color: var(--crit); }
@media (max-width: 400px) {
  .cart-line { grid-template-columns: minmax(0, 1fr) auto; }
  .cart-line-main { grid-column: 1 / -1; }
  .cart-actions { grid-template-columns: 1fr; }
}

.product-link { display: inline-flex; align-items: center; gap: .3em; font-size: .8125rem; font-weight: 600; color: var(--link); text-decoration: none; }
.product-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-link svg { width: 14px; height: 14px; flex: none; }

/* contact page: items from the cart */
.cart-attach { display: grid; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.cart-attach-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-attach ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .875rem; }
.cart-attach li { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); gap: 6px; }
.cart-attach .q { font-family: var(--font-mono); font-size: .8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cart-attach .o { display: block; color: var(--ink-2); font-size: .8125rem; }
.cart-attach .flabel { font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.cart-edit { border: 0; background: none; padding: 2px 0; font-size: .8125rem; font-weight: 600; color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cart-rm:hover { color: var(--crit); }

/* ---------- v13: shop (products.html, built by tools/shop.py from data/catalog.json) ---------- */
:root { --photo-bg: #FFFFFF; } /* product photos are shot on white; the frame stays white in both themes */
.shop { padding-top: clamp(32px, 5vw, 56px); }
.shop-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 18px; }
.shop-head > div { min-width: 0; flex: 1 1 420px; }
.shop-head h2 { font-size: var(--step-3); }
.shop-head p { color: var(--ink-2); max-width: 62ch; margin-top: 8px; }
.shop-pkg { display: inline-grid; grid-template-columns: auto auto; align-items: center; gap: 0 14px; padding: 10px 14px 10px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: var(--card-shadow); }
.shop-pkg > span { grid-column: 1; font-size: .8125rem; color: var(--ink-2); }
.shop-pkg b { grid-column: 1; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.shop-pkg svg { grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; color: var(--green-ink); }
.shop-pkg:hover { border-color: var(--line-strong); }
.shop-bar { position: sticky; top: calc(65px + env(safe-area-inset-top, 0px)); z-index: 20; display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); align-items: center; gap: 10px 14px; padding: 10px 0; background: var(--bg); box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax); border-bottom: 1px solid var(--line); }
.shop-search { align-items: center; padding-left: 12px; border-radius: 999px; }
.shop-search svg { width: 18px; height: 18px; flex: none; color: var(--ink-3); }
.shop-search input { font-family: var(--font-body); padding: 9px 14px 9px 8px; }
.shop-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px; }
.shop-chips::-webkit-scrollbar { display: none; }
.shop-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .875rem; font-weight: 600; white-space: nowrap; cursor: pointer; }
.shop-chip span { font-size: .75rem; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.shop-chip:hover { border-color: var(--ink-2); color: var(--ink); }
.shop-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.shop-chip[aria-pressed="true"] span { color: inherit; opacity: .7; }
.shop-count { margin-top: 14px; font-size: .8125rem; color: var(--ink-3); }
.shop-cat { padding-top: 26px; scroll-margin-top: 150px; }
.shop-cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 14px; }
.shop-cat-head h3 { font-size: var(--step-2); }
.shop-cat-head p { flex: 1 1 320px; min-width: 0; color: var(--ink-2); font-size: .9375rem; }
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.shop-empty { display: grid; justify-items: start; gap: 12px; margin-top: 24px; padding: 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-md); color: var(--ink-2); }
.item { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--card-shadow); }
.item-media { position: relative; aspect-ratio: 4 / 3; background: var(--photo-bg); border-bottom: 1px solid var(--line); }
.item-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.item-media.ill { padding: 8px 12px 0; background: linear-gradient(160deg, var(--il-bg-1), var(--il-bg-2)); }
.item-tag { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; background: var(--hero-a); color: var(--hero-fg); font-family: var(--font-label); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; }
.item-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px 2px; min-width: 0; }
.item-brand { font-family: var(--font-label); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); }
.item-brand + .item-name { margin-top: -4px; }
.item-name { font-size: 1.0625rem; line-height: 1.25; }
.item .specs { gap: 5px; }
.item .specs li { padding: 3px 8px; font-size: .6875rem; }
.item-note { font-size: .8125rem; color: var(--ink-2); line-height: 1.4; }
.item-spec { width: 100%; }
.item-spec summary { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--link); cursor: pointer; list-style: none; }
.item-spec summary::-webkit-details-marker { display: none; }
.item-spec summary::after { content: '+'; font-size: 1rem; line-height: 1; }
.item-spec[open] summary::after { content: '−'; }
.item-spec dl { display: grid; gap: 7px; margin: 10px 0 4px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface-2); font-size: .78rem; line-height: 1.35; }
.item-spec dt { color: var(--ink-3); font-weight: 600; }
.item-spec dd { margin: 0; color: var(--ink); }
.item-buy { display: grid; gap: 10px; margin-top: auto; padding: 12px 16px 16px; }
.item-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.item-pick { flex: 1 1 96px; display: grid; gap: 4px; min-width: 0; }
.item-pick.item-len { flex: 0 0 auto; }
.item-pick label, .item-pick-l { font-size: .75rem; font-weight: 600; color: var(--ink-2); }
.item-len .item-qty { justify-self: start; }
.item-pick select { padding: 7px 8px; font-size: .875rem; text-overflow: ellipsis; }
.item-add { display: flex; gap: 8px; }
.item-qty { flex: none; }
.item-qty input { flex: none; width: 3.4em; font-family: var(--font-body); }
.item-qty .unit { padding: 0 6px 0 0; background: transparent; border: 0; }
.item-add .btn { flex: 1; min-width: 0; padding-inline: .6em; }
.item-add .btn.added { background: var(--green-ink); }
@media (max-width: 1180px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-bar { grid-template-columns: minmax(0, 1fr); }
  /* one scrolling row of chips, faded at the right edge to show there are more */
  .shop-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 32px; }
  .shop-chips::-webkit-scrollbar { display: none; }
}
@media (max-width: 560px) {
  .shop-bar { position: static; box-shadow: none; clip-path: none; }
  .shop-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .item { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .item-media { align-self: start; margin: 12px 0 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
  .item-media.ill { padding: 4px 6px 0; }
  .item-tag { top: 4px; left: 4px; padding: 1px 6px; font-size: .5625rem; }
  .item-body { padding: 12px 12px 4px; }
  .item-buy { grid-column: 1 / -1; padding: 8px 12px 12px; }
}
.hero-page.hero-compact { padding-block: calc(65px + clamp(24px, 4vw, 48px)) clamp(28px, 4vw, 52px); }
.toast { width: max-content; }

/* ---------- v14: shop prices (assets/prices.js) ---------- */
.shop-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-top: 14px; }
.shop-meta .shop-count { margin: 0; }
.shop-asof { font-size: .75rem; color: var(--ink-3); }
.item-price { display: grid; gap: 2px; width: 100%; margin-top: 2px; padding-top: 10px; border-top: 1px dashed var(--line); }
.ip-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; }
.ip-from { font-size: .8125rem; color: var(--ink-2); }
.ip-amt { font-family: var(--font-display); font-size: 1.375rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ip-unit { font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.ip-vat { font-size: .6875rem; font-family: var(--font-label); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-left: 4px; }
.ip-tier { font-size: .78rem; font-weight: 600; color: var(--green-ink); }
.ip-sum { font-size: .78rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ip-out { justify-self: start; padding: 2px 8px; border-radius: 999px; background: var(--crit-bg); color: var(--crit); font-size: .72rem; font-weight: 700; }
.item-price.na .ip-amt { font-size: .9375rem; font-weight: 700; color: var(--ink-2); font-family: var(--font-body); }
.cart-price { margin-top: 3px; font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cart-price b { color: var(--ink); font-size: .875rem; }
.cart-price em { font-style: normal; color: var(--ink-3); }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cart-total span { font-weight: 700; }
.cart-total small { font-weight: 500; font-size: .75rem; color: var(--ink-3); margin-left: 4px; }
.cart-total b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.cart-attach-total { font-size: .875rem; color: var(--ink-2); }
.cart-attach-total b { color: var(--ink); font-size: 1rem; }

/* copy deterrents (public site) */
html.no-copy body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
html.no-copy input,html.no-copy textarea,html.no-copy select,html.no-copy [contenteditable="true"]{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
html.no-copy img,html.no-copy a{-webkit-user-drag:none}

/* ---------- v15: water tool, matching pump from the shop ---------- */
.pump-pick { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; align-items: start; gap: 10px 16px; padding: 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); }
.pump-pick img { width: 104px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; }
.pp-body { display: grid; gap: 3px; min-width: 0; }
.pp-l { font-family: var(--font-label); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); }
.pp-name { font-size: 1rem; line-height: 1.3; }
.pp-spec { font-size: .8125rem; color: var(--ink-2); }
.pp-fit { font-size: .8125rem; color: var(--ink); }
.pp-alt { font-size: .78rem; color: var(--ink-3); }
.pp-buy { display: grid; justify-items: end; gap: 2px; }
.pp-amt { font-family: var(--font-display); font-size: 1.375rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pp-vat { font-size: .6875rem; font-family: var(--font-label); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.pp-note { grid-column: 1 / -1; font-size: .75rem; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 8px; }
.pump-pick.none { grid-template-columns: minmax(0, 1fr); }
.pump-pick.none p { font-size: .875rem; color: var(--ink-2); }
@media (max-width: 560px) {
  .pump-pick { grid-template-columns: 80px minmax(0, 1fr); }
  .pump-pick img { width: 80px; }
  .pp-buy { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; align-items: baseline; justify-items: start; gap: 0 8px; }
  .pp-buy .btn { justify-self: end; }
  .pp-vat { margin: 0; }
}
.pump-pick.no-img { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 560px) { .pump-pick.no-img { grid-template-columns: minmax(0, 1fr); } }

/* About us page (about.html): company, team, projects ------------------------------------ */
.ab-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ab-jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--hero-line); border-radius: 999px; color: var(--hero-fg); font-size: .9375rem; font-weight: 600; text-decoration: none; }
.ab-jump a:hover { background: var(--hero-hover); }
.ab-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.ab-intro-grid .section-head { margin-bottom: 0; }
.ab-intro-grid .more { font-weight: 600; color: var(--link); text-decoration: none; }
.ab-intro-grid .more:hover { text-decoration: underline; }
.ab-facts { margin: 0; display: grid; gap: 20px; padding: clamp(20px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--card-shadow); }
.ab-facts dt { font-family: var(--font-label); font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ab-facts dd { margin: 6px 0 0; color: var(--ink); }
.ab-svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.ab-svc li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; }
.ab-svc svg { width: 22px; height: 22px; flex: none; color: var(--green-ink); }
.ab-team { background: var(--surface-2); border-block: 1px solid var(--line); }
.ab-team-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.ab-team-grid .section-head { margin-bottom: 0; }
.tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.tm-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--card-shadow); }
.tm-photo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.tm-initials { display: grid; place-items: center; background: radial-gradient(120% 120% at 30% 20%, var(--hero-b), var(--hero-a) 75%); color: var(--lime); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: .03em; }
.tm-body { display: grid; gap: 2px; min-width: 0; }
.tm-body h3 { font-size: var(--step-1); }
.tm-role { font-size: .875rem; color: var(--ink-3); }
.tm-bio { margin-top: 8px; font-size: .9375rem; color: var(--ink-2); }
.tm-card { align-content: start; }
.tm-body { align-self: center; }
.tm-tel { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.tm-tel span { flex: 1 0 100%; font-family: var(--font-label); font-size: 1.0625rem; font-variant-numeric: tabular-nums; user-select: all; }
.ab-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 4vw, 36px); }
.ab-head .section-head { margin-bottom: 0; }
.pj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.pj-card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--card-shadow); scroll-margin-top: 90px; }
.pj-media { position: relative; display: block; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; background: var(--surface-2); cursor: zoom-in; overflow: hidden; }
.pj-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pj-media:hover img { transform: scale(1.03); }
.pj-media:focus-visible { outline: 3px solid var(--link); outline-offset: -3px; }
.pj-count { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--hero-a) 82%, transparent); color: var(--hero-fg); font-size: .75rem; font-weight: 600; }
.pj-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 22px; }
.pj-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pj-tags li { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--green) 13%, transparent); color: var(--green-ink); font-size: .75rem; font-weight: 600; }
.pj-tags svg { width: 14px; height: 14px; flex: none; }
.pj-tags .pj-type { background: var(--surface-2); color: var(--ink-2); }
.pj-body h3 { font-size: var(--step-1); text-wrap: balance; }
.pj-meta { margin-top: -6px; font-size: .875rem; color: var(--ink-3); }
.pj-system { margin: 2px 0 0; border-top: 1px solid var(--line); }
.pj-system div { display: grid; grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr); gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.pj-system dt { font-size: .8125rem; color: var(--ink-3); }
.pj-system dd { margin: 0; font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pj-summary { font-size: .9375rem; color: var(--ink-2); }
.pj-quote { margin: 0; padding: 2px 0 2px 14px; border-left: 3px solid var(--green); }
.pj-quote p { font-style: italic; }
.pj-quote footer { margin-top: 4px; font-size: .8125rem; color: var(--ink-3); }
.pj-ask { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; color: var(--link); text-decoration: none; }
.pj-ask svg { width: 16px; height: 16px; }
.pj-ask:hover { text-decoration: underline; }
.pj-gallery { width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--hero-a); color: var(--hero-fg); overflow: hidden; }
.pj-gallery::backdrop { background: rgba(3, 4, 22, .82); }
.pjg-bar { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; }
.pjg-bar p { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pjg-n { font-family: var(--font-label); font-size: .8125rem; color: var(--hero-fg-2); font-variant-numeric: tabular-nums; }
.pjg-close { width: 40px; height: 40px; color: var(--hero-fg); }
.pjg-close:hover { background: var(--hero-hover); }
.pjg-close svg { width: 22px; height: 22px; transform: rotate(45deg); }
.pjg-fig { margin: 0; display: grid; }
.pjg-fig img { display: block; width: 100%; max-height: calc(100dvh - 150px); object-fit: contain; background: var(--hero-a); }
.pjg-fig figcaption { padding: 10px 20px 16px; font-size: .875rem; color: var(--hero-fg-2); min-height: 1.4em; }
.pjg-nav { position: absolute; top: 50%; width: 44px; height: 44px; display: grid; place-items: center; transform: translateY(-50%); border: 1px solid var(--hero-line); border-radius: 50%; background: color-mix(in srgb, var(--hero-a) 72%, transparent); color: var(--hero-fg); cursor: pointer; }
.pjg-nav:hover { background: var(--hero-b); }
.pjg-nav svg { width: 20px; height: 20px; }
.pjg-prev { left: 12px; }
.pjg-prev svg { transform: rotate(180deg); }
.pjg-next { right: 12px; }
@media (max-width: 960px) {
  .ab-intro-grid, .ab-team-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .ab-svc { grid-template-columns: minmax(0, 1fr); }
  .tm-card { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .tm-photo { width: 60px; height: 60px; }
  .tm-initials { font-size: 1.2rem; }
}
.pj-plate { display: flex; align-items: center; gap: 16px; min-height: 132px; padding: 22px 22px; background: radial-gradient(120% 140% at 85% 0%, var(--hero-b), var(--hero-a) 70%); color: var(--hero-fg); }
.pj-plate svg { width: 44px; height: 44px; flex: none; color: var(--lime); }
.pj-plate p { display: grid; gap: 2px; }
.pj-plate b { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pj-plate span { font-family: var(--font-label); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-fg-2); }
/* a single project sits as one wide card: picture or figure plate on the left */
@media (min-width: 720px) {
  .pj-one { grid-template-columns: minmax(0, 920px); }
  .pj-one .pj-card { flex-direction: row; }
  .pj-one .pj-media, .pj-one .pj-plate { flex: 0 0 38%; width: auto; aspect-ratio: auto; align-self: stretch; }
  .pj-one .pj-plate { flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 28px; }
  .pj-one .pj-plate svg { width: 56px; height: 56px; margin-bottom: auto; }
  .pj-one .pj-plate b { font-size: clamp(2rem, 3.4vw, 2.6rem); }
  .pj-one .pj-body { padding: 26px 28px 28px; }
}

/* products added from the admin area before they have a photo */
.item-media.nophoto { display: grid; place-items: center; background: linear-gradient(160deg, var(--il-bg-1, var(--surface-2)), var(--il-bg-2, var(--surface))); }
.item-media.nophoto::after { content: 'Photo coming soon'; font-size: .75rem; color: var(--ink-3); }
.item-spec .spec-note, .item-spec .spec-foot { margin: 6px 2px 0; font-size: .72rem; line-height: 1.4; color: var(--ink-2); }
.item-spec .spec-foot { color: var(--ink-3); }
