/* ============================================================
   DAIDRA FOUNDATION — the quality floor every build starts from
   v1.0 · 2026-08-06 · sources: live-verified extractions in
   knowledge/websites-enterprise.md (Stripe et al.) + DESIGN.md

   HOW TO USE (per project):
   1. Copy this file into the project as the base of site.css.
   2. Skin ONLY the "BRAND SLOTS" block — fonts, hues, radius,
      heading weight. Everything below the slots is the standard;
      it should survive the skin untouched.
   3. The specimen page (index.html beside this file) shows every
      token and primitive in every state — rebuild it mentally
      against your skin before building pages.

   Rules encoded here (don't fight them):
   - Spacing lives on an 8px grid. Type lives on the clamp() scale.
   - Two easings, four durations. Nothing animates off-system.
   - Never `transition: all`. Hover moves ≥2 properties.
   - :focus-visible is a designed brand element, not a default.
   - Content never touches the viewport edge (--px gutter).
   - .section uses LONG-HAND padding (shorthand resets .wrap).
   - prefers-reduced-motion gets designed static states, not
     frozen half-animations.
   ============================================================ */

/* ----------------------------------------------------------
   1. BRAND SLOTS — the only block a project should edit
   ---------------------------------------------------------- */
:root {
  /* Type: one display face, one text face (or one variable font
     for both — preload it, font-display: block if <80KB). */
  --font-display: "Archivo", "SF Pro Display", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-mono: "SF Mono", ui-monospace, monospace;

  /* Enterprise voice = light-weight large type. 300–400 display
     weight reads expensive; 700 reads template. */
  --weight-display: 560;
  --weight-body: 400;
  --weight-medium: 500;   /* the heaviest weight most UIs need */

  /* Brand hues. --brand-h drives the neutral tint below — the
     single cheapest "expensive" trick: neutrals tinted toward the
     brand hue instead of pure gray. */
  --brand-h: 228;                       /* hue 0-360 */
  --accent: oklch(0.55 0.19 var(--brand-h));
  --accent-strong: oklch(0.45 0.21 var(--brand-h));

  /* Geometry personality: 4px = precise/enterprise (Stripe),
     8-12px = friendly SaaS, 999px pills = consumer. Pick ONE. */
  --radius: 4px;
  --radius-lg: 12px;
}

/* ----------------------------------------------------------
   2. NEUTRALS — brand-tinted ramp (never pure gray)
   ---------------------------------------------------------- */
:root {
  --n-50:  oklch(0.985 0.004 var(--brand-h));
  --n-100: oklch(0.96  0.006 var(--brand-h));
  --n-200: oklch(0.91  0.008 var(--brand-h));
  --n-300: oklch(0.83  0.010 var(--brand-h));
  --n-500: oklch(0.60  0.020 var(--brand-h));
  --n-700: oklch(0.40  0.028 var(--brand-h));
  --n-900: oklch(0.25  0.030 var(--brand-h));
  --n-950: oklch(0.17  0.025 var(--brand-h));
}

/* ----------------------------------------------------------
   3. SEMANTIC COLOR + SECTION MODES
   Components consume ONLY these slots. Sections switch skin by
   mode class — components are never restyled per section.
   ---------------------------------------------------------- */
:root, .mode-light {
  --surface: #fff;
  --surface-2: var(--n-50);
  --text: var(--n-900);
  --text-2: var(--n-500);
  --line: var(--n-200);
  --link: var(--accent-strong);
}
.mode-tint {
  --surface: var(--n-50);
  --surface-2: #fff;
}
.mode-dark {
  --surface: var(--n-950);
  --surface-2: var(--n-900);
  --text: var(--n-50);
  --text-2: var(--n-300);
  --line: oklch(0.32 0.03 var(--brand-h));
  --link: oklch(0.75 0.12 var(--brand-h));
}

/* ----------------------------------------------------------
   4. SPACE — 8px grid + the edge gutter
   ---------------------------------------------------------- */
:root {
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-6: 48px; --s-8: 64px; --s-12: 96px; --s-16: 128px; --s-20: 160px;
  --px: clamp(24px, 5vw, 96px);        /* viewport edge gutter */
  --measure: 68ch;                      /* body copy max width */
  --wrap: 1200px;
}

/* ----------------------------------------------------------
   5. TYPE SCALE — clamp()-fluid, tracking tightens as size grows
   ---------------------------------------------------------- */
:root {
  --text-xs: 0.75rem;                               /* 12 — labels */
  --text-sm: 0.875rem;                              /* 14 — UI */
  --text-md: 1rem;                                  /* 16 — body */
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-2xl: clamp(2rem, 1.5rem + 2vw, 3rem);
  --text-hero: clamp(2.5rem, 1.75rem + 3.5vw, 4.5rem);
}

/* ----------------------------------------------------------
   6. MOTION — the closed system. Two easings, four durations.
   ---------------------------------------------------------- */
:root {
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);        /* easeOutQuart — default */
  --ease-inout: cubic-bezier(0.45, 0.05, 0.55, 0.95); /* panels, nav */
  --dur-1: 150ms;   /* feedback: press, toggle */
  --dur-2: 240ms;   /* hover, small reveals */
  --dur-3: 450ms;   /* panels, section transitions */
  --dur-4: 800ms;   /* card lifts, entrances */
  --stagger: 70ms;  /* sibling choreography interval */
}

/* ----------------------------------------------------------
   7. ELEVATION + FOCUS — designed, tokenized
   ---------------------------------------------------------- */
:root {
  --shadow-soft: 0 20px 40px -20px rgb(0 0 0 / 0.12);
  --shadow-lift: 0 32px 64px -24px rgb(0 0 0 / 0.18);
  --focus-ring: 0 0 0 3px oklch(0.55 0.19 var(--brand-h) / 0.18);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius);
}

/* ----------------------------------------------------------
   8. BASE
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--weight-body);
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  line-height: 1.1;
  margin: 0 0 var(--s-3);
  text-wrap: balance;
}
h1 { font-size: var(--text-hero); letter-spacing: -0.022em; line-height: 1.05; }
h2 { font-size: var(--text-2xl); letter-spacing: -0.018em; }
h3 { font-size: var(--text-xl); letter-spacing: -0.012em; }
h4 { font-size: var(--text-lg); letter-spacing: -0.008em; font-weight: var(--weight-medium); }
p { margin: 0 0 var(--s-2); max-width: var(--measure); text-wrap: pretty; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }

/* Eyebrow / utility label — mono, tracked wide, the "instrument" voice */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* ----------------------------------------------------------
   9. LAYOUT — section + wrap (long-hand padding, always)
   ---------------------------------------------------------- */
.section {
  /* LONG-HAND on purpose: `padding: X 0` here silently resets
     .wrap's gutters when combined (documented failure). */
  padding-top: var(--s-12);
  padding-bottom: var(--s-12);
  background: var(--surface);
  color: var(--text);
}
.section--hero {
  min-height: 72vh;              /* never 100vh — next section peeks */
  display: flex;
  align-items: center;
}
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: var(--px);
  padding-right: var(--px);
}

/* ----------------------------------------------------------
   10. PRIMITIVES — one spec each, reused verbatim on every page
   ---------------------------------------------------------- */

/* Button — asymmetric vertical padding (optical balance),
   transitions name their properties, hover moves ≥2. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: 13px 24px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: var(--weight-medium) var(--text-md) / 1 var(--font-body);
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out);
}
.btn:hover, .btn:focus-visible {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}
.btn:active { transform: translateY(0); transition-duration: var(--dur-1); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: var(--surface-2);
  border-color: var(--text-2);
  transform: translateY(-1px);
  box-shadow: none;
}
.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* The one-variable hover engine — parent flips --hover, children
   consume it. Focus replays the full hover choreography for free. */
.hoverable { --hover: 0; }
.hoverable:hover, .hoverable:focus-visible, .hoverable:focus-within { --hover: 1; }

/* Link-arrow — title + arrow whose shaft draws in on hover */
.link-arrow {
  --hover: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: var(--weight-medium);
  color: var(--link);
  text-decoration: none;
}
.link-arrow:hover, .link-arrow:focus-visible { --hover: 1; }
.link-arrow .arrow { transition: transform var(--dur-2) var(--ease-out); }
.link-arrow .arrow .shaft {
  opacity: var(--hover);
  transition: opacity var(--dur-2) var(--ease-out);
}
.link-arrow:hover .arrow, .link-arrow:focus-visible .arrow { transform: translateX(3px); }

/* Card — soft negative-spread shadow, lift on hover */
.card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  transition:
    transform var(--dur-4) var(--ease-out),
    box-shadow var(--dur-4) var(--ease-out),
    border-color var(--dur-2) var(--ease-out);
}
.card:hover, .card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--n-300);
}
.card > :last-child { margin-bottom: 0; }

/* Stat — big number, smaller unit, mono label underneath */
.stat { display: grid; gap: 4px; }
.stat b {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-display);
  letter-spacing: -0.018em;
  line-height: 1;
}
.stat b small { font-size: 0.55em; font-weight: var(--weight-medium); }
.stat .eyebrow { margin-top: 2px; }

/* Dom-graphic scaffold — product UI as scaled live HTML.
   Design the mock at a fixed px width, scale the block. */
.dom-graphic {
  --gw: 320px;        /* design width */
  --gs: 1;            /* scale (set per placement / media query) */
  width: calc(var(--gw) * var(--gs));
  pointer-events: none;
  user-select: none;
}
.dom-graphic > .dg-frame {
  width: var(--gw);
  transform: scale(var(--gs));
  transform-origin: top left;
}

/* ----------------------------------------------------------
   11. REVEAL CHOREOGRAPHY — IO adds .in; siblings stagger.
   JS contract (site.js):
     const io = new IntersectionObserver(es => es.forEach(e => {
       if (e.isIntersecting) { e.target.classList.add('in'); io.unobserve(e.target); }
     }), { threshold: 0.15, rootMargin: '0px 0px -8% 0px' });
     document.querySelectorAll('.reveal').forEach(el => io.observe(el));
   Fail-safe: .reveal without JS must still be readable — the
   `no-js` class (set in <head>, removed by JS) keeps opacity 1.
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-4) var(--ease-out),
    transform var(--dur-4) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ----------------------------------------------------------
   12. REDUCED MOTION — designed static states, not freezes
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn--ghost, .card, .link-arrow .arrow, .link-arrow .arrow .shaft {
    transition: none;
  }
  .card:hover { transform: none; }
  .btn:hover { transform: none; }
  /* Per-project: every animated signature block MUST add its own
     designed fallback here (static frame, final state, or swap-in
     element) — never leave it half-animated. */
}
/* ============================================================
   DAIDRA ELEMENTS — the reusable section/element library.
   Elementor-style reuse, engineered: include AFTER foundation.css
   and the project's brand-slot skin. Every element consumes only
   foundation tokens (--accent, --green, --paper, --navy, --s-*,
   --dur-*, easings) so one skin restyles the whole library.
   Behaviors attach from elements.js by class contract (README.md).
   Advanced-CSS register: masks, conic gradients, blend modes,
   clip-path chrome, pointer-var lighting. 2026-08-07.
   ============================================================ */

/* Library-local slots with safe fallbacks (projects override) */
:root {
  --el-ink: var(--ink, #16181d);
  --el-navy: var(--navy, #0b1826);
  --el-green: var(--green, #58b765);
  --el-paper: var(--paper, #fbfaf7);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout-hard: cubic-bezier(0.83, 0, 0.17, 1);
}

/* ============ el-aurora — canvas mesh field ============ */
.el-aurora {
  position: absolute; inset: 0; width: 100%; height: 100%;
  --el-aurora-1: var(--accent); --el-aurora-2: var(--el-green);
  --el-aurora-3: #2a6fb8;
  filter: blur(60px) saturate(1.15);
  opacity: 0.85;
  pointer-events: none;
}

/* ============ el-marquee — infinite ticker ============ */
.el-marquee { overflow: hidden; position: relative; }
.el-marquee-track {
  display: flex; align-items: center; gap: var(--s-8);
  width: max-content;
  animation: el-mq var(--el-mq-dur, 30s) linear infinite;
}
.el-marquee:hover .el-marquee-track { animation-play-state: paused; }
@keyframes el-mq { to { transform: translateX(-50%); } }
.el-marquee--fade {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* photo strip variant */
.el-marquee--photos .el-marquee-track { gap: var(--s-2); }
.el-marquee--photos img {
  height: clamp(160px, 22vw, 260px); width: auto; border-radius: var(--radius-lg);
  object-fit: cover; aspect-ratio: 3/2;
}

/* ============ el-orbit — rotating arc ring (SVG) ============ */
.el-orbit { animation: el-spin 60s linear infinite; transform-origin: center; }
.el-orbit--rev { animation-direction: reverse; animation-duration: 90s; }
@keyframes el-spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .el-orbit, .el-marquee-track { animation: none !important; }
}

/* ============ el-shine — pointer-lit card ============ */
.el-shine { position: relative; --mx: 50%; --my: 50%; }
.el-shine::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx) var(--my),
    rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.06) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity var(--dur-2) var(--ease-out);
}
.el-shine:hover::before, .el-shine:focus-within::before { opacity: 1; }
.el-shine::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(340px circle at var(--mx) var(--my),
    rgb(255 255 255 / 0.08), transparent 60%);
  opacity: 0; transition: opacity var(--dur-2) var(--ease-out);
}
.el-shine:hover::after, .el-shine:focus-within::after { opacity: 1; }

/* ============ el-glow — cursor glow for dark sections ============ */
.el-glow { position: relative; --gx: 50%; --gy: 40%; }
.el-glow > .el-glow-layer {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(520px circle at var(--gx) var(--gy),
    rgb(88 183 101 / 0.10), rgb(1 90 163 / 0.07) 45%, transparent 70%);
  transition: opacity var(--dur-3) var(--ease-out);
}
@media (hover: none) { .el-glow > .el-glow-layer { display: none; } }

/* ============ el-magnetic — cursor-lean CTA ============ */
.el-magnetic { transition: transform var(--dur-2) var(--ease-out); will-change: transform; }

/* ============ el-notch-panel — Terminal tab-notch media panel ==== */
.el-notch { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.el-notch::before {
  content: ""; position: absolute; top: 0; right: 48px; z-index: 3;
  width: 120px; height: 14px; background: var(--el-notch-bg, var(--el-paper));
  border-radius: 0 0 12px 12px;
}

/* ============ el-knockout — photo etched through display type ==== */
.el-knockout {
  background-image: var(--el-knockout-img);
  background-size: cover; background-position: center;
  -webkit-background-clip: text; background-clip: text;
  color: rgb(255 255 255 / 0.14);
  filter: drop-shadow(0 2px 24px rgb(0 0 0 / 0.35));
}
@supports not (background-clip: text) { .el-knockout { color: #fff; } }

/* ============ el-grain — feTurbulence paper/film grain ============ */
.el-grain { position: relative; }
.el-grain::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.14 0 0 0 0 0.12 0 0 0 0 0.13 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* el-ghost-mark trimmed — unused in this build */

/* ============ el-dive — split whole-panel CTA pair ============ */
.el-dive { display: grid; grid-template-columns: 1fr 1fr; }
.el-dive a {
  display: flex; align-items: center; gap: var(--s-3);
  padding: clamp(48px, 7vw, 96px) var(--px);
  text-decoration: none; color: #fff;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  transition: background-color var(--dur-3) var(--ease-out);
}
.el-dive a:first-child { background: var(--accent); }
.el-dive a:first-child:hover, .el-dive a:first-child:focus-visible { background: var(--accent-strong); }
.el-dive a:last-child { background: var(--el-ink); }
.el-dive a:last-child:hover, .el-dive a:last-child:focus-visible { background: #000; }
.el-dive .darr { flex: none; transition: transform var(--dur-3) var(--ease-out); }
.el-dive a:hover .darr, .el-dive a:focus-visible .darr { transform: translate(6px, 6px); }
@media (max-width: 860px) { .el-dive { grid-template-columns: 1fr; } }

/* ============ el-chip-pill — mono chip (nav/filters) ============ */
.el-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px 11px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--el-ink);
  background: #fff; border: 1px solid rgb(0 0 0 / 0.14);
  cursor: pointer;
  transition: background-color var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out);
}
.el-chip:hover, .el-chip:focus-visible { border-color: var(--accent); transform: translateY(-1px); }
.el-chip--green { background: var(--el-green); border-color: var(--el-green); color: #06250c; }
.el-chip[aria-pressed="true"] { background: var(--el-green); border-color: var(--el-green); color: #06250c; }

/* ============ el-metric-chip — floating stat chip ============ */
.el-metric {
  display: inline-flex; flex-direction: column; gap: 2px;
  padding: 14px 20px; border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #fff;
  box-shadow: 0 24px 48px -24px rgb(0 0 0 / 0.5);
}
.el-metric b {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: -0.02em;
}
.el-metric b sup { font-size: 0.55em; font-weight: 500; }
.el-metric .micro { color: rgb(255 255 255 / 0.65); }

/* ============ el-ring-conic — conic progress ring ============ */
.el-ring-conic {
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--el-rc-hole, var(--el-navy)) 79%, transparent 80% 100%),
    conic-gradient(var(--el-green) calc(var(--p, 0) * 1%), rgb(255 255 255 / 0.12) 0);
}

/* ============ el-mosaic — two-row photo marquee band ============ */
.el-mosaic { display: grid; gap: var(--s-2); }

/* ============ el-quote-ghost — testimonial w/ giant glyph ======== */
.el-quote-ghost { position: relative; }
.el-quote-ghost::before {
  content: "\201C"; position: absolute; top: -0.18em; left: -0.06em;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(8rem, 18vw, 16rem); line-height: 1;
  color: var(--accent); opacity: 0.08; pointer-events: none;
}

/* ============ Scene stepping visuals (used with [data-el-scene]) == */
.el-scene .svc-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transform: scale(1.04);
  transition: opacity 700ms var(--ease-out-expo), transform 900ms var(--ease-out-expo);
}
.el-scene .svc-media img.active { opacity: 1; transform: scale(1); }
.el-scene .svc-desc { position: relative; }
.el-scene .svc-desc p {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transform: translateY(10px);
  transition: opacity 500ms var(--ease-out-expo), transform 500ms var(--ease-out-expo);
}
.el-scene .svc-desc p.active { opacity: 1; transform: none; }
.el-scene .scene-bar { height: 2px; overflow: hidden; }
.el-scene .scene-bar i { display: block; height: 100%; background: var(--el-green); transform-origin: left; transform: scaleX(0); }

/* ============ Reduced motion: designed static states ============ */
@media (prefers-reduced-motion: reduce) {
  .el-shine::before, .el-shine::after, .el-glow > .el-glow-layer { display: none; }
  .el-magnetic { transition: none; }
  .el-scene .svc-media img, .el-scene .svc-desc p { transition: none; }
}

/* ============ el-field — branded form controls (input/select/textarea) ==== */
/* Contract: <div class="el-field"><label for=X>…</label><input|select|textarea id=X>
   <span class="el-field-err">message</span></div>. Add .err on the wrapper to show
   the error state. Selects get a token-colored SVG chevron (appearance:none);
   labels tint to --accent on focus-within. Never ship native-chrome fields. */
.el-field { display: grid; gap: 6px; }
.el-field label {
  font-size: var(--text-sm); font-weight: 700; color: var(--el-ink, var(--ink, #232830));
  transition: color var(--dur-2) var(--ease-out);
}
.el-field:focus-within label { color: var(--accent); }
.el-field input, .el-field select, .el-field textarea {
  border: 1px solid var(--n-300, #C5CAD3); border-radius: var(--radius);
  padding: 12px 14px; font: 400 var(--text-md) var(--font-body);
  color: var(--el-ink, var(--ink, #232830));
  background: #fff; width: 100%; min-height: 48px;
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.el-field input:hover, .el-field select:hover, .el-field textarea:hover {
  border-color: color-mix(in oklab, var(--accent) 45%, #fff);
}
.el-field input::placeholder, .el-field textarea::placeholder { color: #7A8398; }
.el-field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  /* chevron inherits --accent via mask so it always matches the skin */
  background-image: none; padding-right: 40px; position: relative;
}
.el-field .el-field-sel { position: relative; }
.el-field .el-field-sel::after {
  content: ""; position: absolute; right: 14px; top: 50%;
  width: 12px; height: 8px; transform: translateY(-50%);
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 8px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 8px no-repeat;
  pointer-events: none;
}
.el-field textarea { resize: vertical; min-height: 120px; }
.el-field input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px #fff inset;
  -webkit-text-fill-color: var(--el-ink, var(--ink, #232830));
}
.el-field input:focus, .el-field select:focus, .el-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: var(--focus-ring);
}
.el-field.err input, .el-field.err select { border-color: var(--el-red, #D33); }
.el-field.err input:focus, .el-field.err select:focus {
  border-color: var(--el-red, #D33);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--el-red, #D33) 15%, transparent);
}
.el-field .el-field-err { display: none; font-size: var(--text-xs); color: var(--el-red, #D33); }
.el-field.err .el-field-err { display: block; }

/* ── el-device: scrolling site-in-frame mockups (desktop browser + phone) ──
   Origin: sharkdig.com case studies 2026-08-11. Feed each viewport a full-page
   capture (desktop ~1200w, mobile 390w@2x). Frames are user-scrollable. */
.el-device-pair { display: grid; grid-template-columns: minmax(0,1fr) 292px; gap: clamp(18px,2.5vw,28px); align-items: stretch; }
.el-browser { border: 1px solid var(--rule, #dde4ee); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(6,27,49,.4); }
.el-browser .bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: var(--card, #fff); border-bottom: 1px solid var(--rule, #dde4ee); }
.el-browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3dce8; }
.el-browser .view { height: clamp(420px,62vh,640px); overflow-y: auto; overflow-x: hidden; background: var(--card, #fff); -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.el-browser .view img { display: block; width: 100%; height: auto; }
.el-phone { position: relative; display: flex; flex-direction: column; height: calc(clamp(420px,62vh,640px) + 40px); border: 10px solid #10151d; border-radius: 44px; background: #10151d; box-shadow: 0 24px 60px -30px rgba(6,27,49,.5), inset 0 0 0 2px rgba(255,255,255,.06); }
.el-phone::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 86px; height: 22px; border-radius: 12px; background: #10151d; z-index: 3; }
.el-phone .view { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; background: var(--card, #fff); border-radius: 34px; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; scrollbar-width: none; }
.el-phone .view::-webkit-scrollbar { display: none; }
.el-phone .view img { display: block; width: 100%; height: auto; }
@media (max-width: 880px) {
  .el-device-pair { grid-template-columns: 1fr; }
  .el-phone { width: min(320px,82vw); height: 560px; margin: 0 auto; }
}
/* ============================================================
   DUCTWORKS SKIN — brand-slot overrides + page systems
   Brand sources (verified from served CSS + logo pixels):
   red #c70304 · blue #0892c9 / #2d9cc9 · ink #0d0d0d
   Personality axes (DESIGN.md Part 2, chosen deliberately):
   radius 4px precise (equipment-grade, matches logo bars) ·
   display weight 560 semi-expanded (trade confidence) ·
   dark sections = blue-tinted ink · CTA = filled brand red ·
   headline anatomy = eyebrow tick + two-tone claim
   ============================================================ */
:root {
  --font-display: "Archivo", "SF Pro Display", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --weight-display: 560;
  --weight-body: 420;
  --weight-medium: 560;

  --brand-h: 228;
  --red: #c70304;
  --red-ink: #a50203;
  --blue: #0892c9;
  --blue-2: #2d9cc9;
  --blue-ink: #06719c;
  --accent: var(--red);
  --accent-strong: var(--red-ink);
  --accent-ink: var(--red-ink);

  --radius: 4px;
  --radius-lg: 6px;

  --ice: #eef5f9;
  --ink: #0b1520;
  --ink-2: #12202e;
  --wrap: 1240px;
}
.mode-tint { --surface: var(--ice); --surface-2: #ffffff; }
.section--hero { background: linear-gradient(160deg, #0b1520 0%, #12283a 55%, #0a3550 100%); }
.mode-dark {
  --surface: var(--ink);
  --surface-2: var(--ink-2);
  --text: #f2f7fa;
  --text-2: #9db2c2;
  --line: rgba(255, 255, 255, 0.12);
  --link: #6cc4e8;
}
.mode-dark ::selection { background: var(--blue); color: #fff; }
::selection { background: var(--red); color: #fff; }

h1, h2, h3 { font-stretch: 112%; }
strong, b { font-weight: 700; }

.h-two { color: var(--text-2); }
.h-two strong, .h-two b { color: var(--text); font-weight: inherit; }

.eyebrow-tick {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow-tick::before {
  content: "";
  width: 16px;
  height: 8px;
  flex: none;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50% 100%);
}

.btn, .btn--ghost {
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-sm);
  font-weight: 640;
  gap: 12px;
}
.btn .arr { transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .arr, .btn:focus-visible .arr { transform: translateX(4px); }
.btn--ondark { background: #fff; color: var(--ink); }
.btn--ondark:hover, .btn--ondark:focus-visible { background: var(--ice); color: var(--ink); }

/* ---------------- header ---------------- */
.topbar {
  background: var(--ink);
  color: #cfe0ec;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 38px;
  justify-content: space-between;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--blue-2); }
.topbar .tb-note { display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; }
.topbar .tb-note .sep { color: var(--blue-2); }
.site-head {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
.site-head.scrolled { box-shadow: 0 12px 32px -20px rgb(11 21 32 / 0.35); }
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 78px;
  max-width: 1400px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 196px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > .nav-item { position: relative; }
.nav a.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 10px 12px;
  font-size: 14.5px;
  font-weight: 560;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
.nav a.nav-link:hover, .nav a.nav-link:focus-visible { color: var(--red-ink); background: var(--ice); }
.nav .caret { transition: transform var(--dur-2) var(--ease-out); }
.nav-item.open .caret { transform: rotate(180deg); }
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  transform: translateY(8px);
  width: 560px;
  padding: var(--s-3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.nav-item.open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.mega a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 520;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
.mega a:hover, .mega a:focus-visible { background: var(--ice); color: var(--red-ink); }
.mega a svg { flex: none; color: var(--blue-ink); }
.head-cta { display: flex; align-items: center; gap: var(--s-2); }
.head-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.head-phone svg { color: var(--red); }
.head-phone:hover { color: var(--red-ink); }
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out);
}
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }
body.nav-open .nav-burger span { background: transparent; }
body.nav-open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }

.sheet {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 89;
  background: #fff;
  padding: 132px var(--px) var(--s-6);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity var(--dur-3) var(--ease-inout), transform var(--dur-3) var(--ease-inout);
}
body.nav-open .sheet { opacity: 1; transform: none; }
.sheet nav { display: grid; gap: 2px; }
.sheet a.s-link {
  padding: 14px 4px;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sheet .s-sub { display: grid; padding: 4px 0 10px; }
.sheet .s-sub a { padding: 10px 16px; font-size: 16px; color: var(--n-700); text-decoration: none; }
.sheet .s-cta { margin-top: var(--s-4); display: grid; gap: var(--s-2); }

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(160deg, #0b1520 0%, #12283a 55%, #0a3550 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5vw), 0 100%);
  padding-top: var(--s-12);
  padding-bottom: calc(var(--s-12) + 3.5vw);
}
.hero-media { position: absolute; inset: -8% 0; z-index: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  transform: scale(1.06);
  animation: hero-settle 6s var(--ease-out) forwards;
}
@keyframes hero-settle { to { transform: scale(1); } }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(78deg, rgb(6 16 26 / 0.92) 0%, rgb(8 20 32 / 0.72) 44%, rgb(8 20 32 / 0.18) 78%, rgb(8 20 32 / 0) 100%),
    linear-gradient(0deg, rgb(6 16 26 / 0.55) 0%, rgb(6 16 26 / 0) 30%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--s-8);
  align-items: center;
}
.hero .eyebrow-tick { color: #bfd9ea; }
.hero h1 {
  max-width: 16ch;
  margin-bottom: var(--s-2);
  font-size: clamp(2.25rem, 1.4rem + 2.9vw, 3.9rem);
}
.hero h1 .cool { color: #7fd0f2; }
.hero h1 .hot { color: #ff8b84; }
.hero-lede { max-width: 54ch; color: #d7e5ef; font-size: var(--text-lg); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.hero-cam {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--s-3);
  color: #bfd9ea;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-cam::before { content: ""; width: 34px; height: 1px; background: var(--blue-2); }
/* ---------------- hero scheduler ---------------- */
.sched {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: var(--s-4);
  color: var(--n-900);
  scroll-margin-top: 140px;
}
.sched-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-bottom: var(--s-3);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--n-200);
}
.sched-title {
  font-size: var(--text-lg);
  margin: 0;
  letter-spacing: -0.008em;
}
.sched-sub { margin: 0; font-size: 13px; color: var(--n-500); }
.sched-sub a { color: var(--red-ink); font-weight: 700; text-decoration: none; }
.sched-sub a:hover { text-decoration: underline; }
.sched form { display: grid; gap: 12px; }
.sched-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sched-btn { width: 100%; justify-content: center; margin-top: 4px; }
.sched-fine {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--n-500);
  text-align: center;
  max-width: none;
}
.sched .form-ok { margin-top: 4px; }
.sched input[type="date"] { -webkit-appearance: none; appearance: none; }

/* CSS arrow for buttons that must stay single-leaf */
.btn--arrow::after {
  content: "";
  width: 16px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'%3E%3Cpath d='M1 6h13M10 1.5 14.5 6 10 10.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'%3E%3Cpath d='M1 6h13M10 1.5 14.5 6 10 10.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 12px no-repeat;
  transition: transform var(--dur-2) var(--ease-out);
}
.btn--arrow:hover::after, .btn--arrow:focus-visible::after { transform: translateX(4px); }
.btn--tel::before {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a12 12 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2Z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a12 12 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2Z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}

/* trust band below hero */
.badge-band {
  background: #fff;
  border-bottom: 1px solid var(--n-200);
}
.badge-rail {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-6);
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-3);
  padding-bottom: var(--s-3);
}
.badge-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 640;
  line-height: 1.25;
}
.badge-chip img { height: 40px; width: auto; }

/* ---------------- towns marquee ---------------- */
.towns {
  background: var(--ink);
  color: #e7f1f8;
  padding-top: var(--s-3);
  padding-bottom: var(--s-3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.town-item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 0 var(--s-3);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.town-item::after { content: ""; width: 8px; height: 8px; background: var(--red); }
.town-item:nth-child(even)::after { background: var(--blue); }

/* ---------------- gauge signature (THE bespoke move) ---------------- */
.gauge-sec { position: relative; overflow: clip; }
.gauge-sec .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--s-8);
  align-items: start;
}
.gauge-sticky { position: sticky; top: 130px; align-self: start; }
.gauge-box { position: relative; max-width: 460px; }
.gauge-box svg { width: 100%; height: auto; display: block; }
.gauge-face .tick { stroke: rgba(255, 255, 255, 0.22); stroke-width: 2; }
.gauge-face .tick.major { stroke: rgba(255, 255, 255, 0.45); stroke-width: 3; }
.gauge-face .arc-rail { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 10; }
.gauge-face .arc-fill { fill: none; stroke: url(#gaugeGrad); stroke-width: 10; }
.gauge-needle line { stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.gauge-needle circle { fill: #fff; }
.gauge-read {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}
.gauge-read b {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-size: clamp(3rem, 2rem + 4vw, 5rem);
  font-weight: 620;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.gauge-read b sup { font-size: 0.4em; font-weight: 560; }
.gauge-read .gauge-mode {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-top: 6px;
  display: block;
}
.gauge-stages { display: grid; gap: var(--s-2); }
.g-stage {
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-3) var(--s-3) var(--s-2);
  background: var(--surface-2);
  transition: border-color var(--dur-3) var(--ease-out), background-color var(--dur-3) var(--ease-out), opacity var(--dur-3) var(--ease-out);
  opacity: 0.55;
}
.g-stage.active { opacity: 1; border-left-color: var(--g-accent, var(--blue)); }
.g-stage h3 { font-size: var(--text-lg); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.g-stage h3 svg { color: var(--g-accent, var(--blue)); flex: none; }
.g-stage p { color: var(--text-2); font-size: 15px; margin-bottom: var(--s-1); }
.g-stage ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.g-stage li { font-size: 14px; color: var(--text-2); padding-left: 18px; position: relative; }
.g-stage li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 2px; background: var(--g-accent, var(--blue)); }
.g-stage .link-arrow { font-size: 14px; margin-top: var(--s-1); }

/* ---------------- services editorial grid ---------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-6) var(--s-4);
  margin-top: var(--s-8);
}
.svc-card { text-decoration: none; color: inherit; display: block; }
.svc-card .frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--n-100);
}
.svc-card .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform var(--dur-4) var(--ease-out);
}
.svc-card:hover .frame img, .svc-card:focus-visible .frame img { transform: scale(1.045); }
.svc-card .frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-3) var(--ease-out);
}
.svc-card:hover .frame::after, .svc-card:focus-visible .frame::after { transform: scaleX(1); }
.svc-cap { padding-top: var(--s-2); }
.svc-cap .eyebrow-tick { color: var(--blue-ink); }
.svc-cap h3 { font-size: var(--text-xl); margin: 8px 0 4px; }
.svc-cap p { font-size: 15px; color: var(--text-2); margin: 0; max-width: 44ch; }
.svc-cap .link-arrow { margin-top: 10px; font-size: 14px; color: var(--red-ink); }
.svc-a { grid-column: span 7; }
.svc-b { grid-column: span 5; margin-top: var(--s-12); }
.svc-c { grid-column: span 5; }
.svc-d { grid-column: span 7; }
.svc-sm { grid-column: span 4; }
.svc-heritage {
  grid-column: span 4;
  background: var(--ink);
  color: #f2f7fa;
  border-radius: var(--radius);
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-6);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-4) var(--ease-out), box-shadow var(--dur-4) var(--ease-out);
}
.svc-heritage:hover, .svc-heritage:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.svc-heritage .eyebrow-tick { color: #9db2c2; }
.svc-heritage h3 { font-size: var(--text-xl); color: #fff; margin: 8px 0 4px; }
.svc-heritage p { font-size: 15px; color: #9db2c2; }
.svc-heritage .link-arrow { color: #6cc4e8; font-size: 14px; }
.svc-more {
  grid-column: span 4;
  border: 1px dashed var(--n-300);
  border-radius: var(--radius);
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-6);
  text-decoration: none;
  color: inherit;
  background: var(--surface-2);
  transition: border-color var(--dur-2) var(--ease-out), transform var(--dur-4) var(--ease-out), box-shadow var(--dur-4) var(--ease-out);
}
.svc-more:hover, .svc-more:focus-visible {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.svc-more h3 { font-size: var(--text-xl); margin: 8px 0 4px; }
.svc-more p { font-size: 15px; color: var(--text-2); margin: 0; }
.svc-more .link-arrow { color: var(--red-ink); font-size: 14px; }
.svc-heritage::after {
  content: "1999";
  position: absolute;
  right: -10px;
  bottom: -34px;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-size: 120px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
}

/* ---------------- products band ---------------- */
.products .wrap {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: var(--s-8);
  align-items: center;
}
.products .frame { border-radius: var(--radius); overflow: hidden; position: relative; }
.products .frame img { width: 100%; height: auto; }
.products .frame .el-metric { position: absolute; left: var(--s-2); bottom: var(--s-2); }
.brand-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; margin-top: var(--s-3); }
.brand-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  min-height: 56px;
}
.brand-chip img { height: 34px; width: auto; }
.products .btn { margin-top: var(--s-3); }
.brand-chip.txt {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--ink);
}

/* ---------------- specials ---------------- */
.specials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.sp-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  min-height: 220px;
}
.sp-card .eyebrow-tick { color: var(--red-ink); max-width: calc(100% - 112px); }
.sp-card.blue .eyebrow-tick { color: var(--blue-ink); }
.sp-card h3 { font-size: var(--text-xl); margin: 6px 0 2px; max-width: 20ch; }
.sp-card .fine { font-size: 12.5px; color: var(--text-2); margin-top: auto; padding-top: var(--s-2); }
.sp-card .sp-tag, .coupon .sp-tag {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 4px 8px;
  border-radius: 2px;
}
.sp-card.blue .sp-tag { background: var(--blue-ink); }
.sp-wide-slot { grid-column: span 3; }
.sp-wide { flex-direction: row; align-items: center; justify-content: space-between; min-height: 0; flex-wrap: wrap; gap: var(--s-3); }
.sp-wide h3 { margin: 0; }
.pay-row { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; color: var(--text-2); font-size: 13px; }

/* ---------------- family band ---------------- */
.family {
  position: relative;
  overflow: clip;
  clip-path: polygon(0 3.5vw, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(var(--s-16) + 3.5vw);
  padding-bottom: var(--s-16);
}
.family .ghost-gauge {
  position: absolute;
  right: -6%;
  top: -4%;
  width: 56%;
  opacity: 0.05;
  pointer-events: none;
}
.family .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--s-8);
  align-items: center;
  position: relative;
}
.family .frame { border-radius: var(--radius); overflow: hidden; position: relative; }
.family .frame img { width: 100%; height: auto; }
.family .frame figcaption {
  position: absolute;
  left: var(--s-2);
  bottom: var(--s-2);
  background: rgba(11, 21, 32, 0.82);
  backdrop-filter: blur(8px);
  color: #cfe0ec;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 2px;
}
.fam-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.mode-dark .fam-stats .stat b { color: #fff; }
.mode-dark .fam-stats .stat .eyebrow { color: #9db2c2; }

/* ---------------- team marquee ---------------- */
.team-rail { margin-top: var(--s-6); }
.team-card { width: 240px; flex: none; }
.team-card .frame { border-radius: var(--radius); overflow: hidden; }
.team-card img { width: 240px; height: 260px; object-fit: cover; object-position: top center; }
.team-card figcaption { padding-top: 10px; }
.team-card b { display: block; font-size: 16px; font-weight: 640; color: var(--text); }
.team-card span { font-size: 13px; color: var(--text-2); font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.team-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }

/* ---------------- community ---------------- */
.community .wrap { display: flex; align-items: center; gap: var(--s-6); flex-wrap: wrap; justify-content: space-between; }
.community .chips { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.community .brand-chip img { height: 56px; }

/* ---------------- contact ---------------- */
.contact .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--s-8);
  align-items: start;
}
.loc-card {
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: var(--s-3);
  background: var(--surface-2);
  margin-bottom: var(--s-2);
}
.loc-card.hq { border-left-color: var(--red); }
.loc-card .eyebrow-tick { margin-bottom: 8px; }
.loc-card address { font-style: normal; font-size: 15px; color: var(--text-2); line-height: 1.55; }
.loc-card address b { color: var(--text); font-weight: 640; }
.loc-card a { color: var(--blue-ink); font-weight: 600; text-decoration: none; }
.loc-card a:hover { text-decoration: underline; }
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.satis {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-ink);
  border: 1px solid var(--n-200);
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--surface-2);
}
.satis svg { color: var(--red); flex: none; }
.contact-form .el-field { margin-bottom: 12px; }
.contact-form .form-row .el-field { margin-bottom: 0; }
.contact-form .form-row { margin-bottom: 12px; }
.form-ok {
  display: none;
  background: #eef9f0;
  border: 1px solid #b9e2c1;
  color: #14532d;
  border-radius: var(--radius);
  padding: var(--s-2) var(--s-3);
  font-weight: 560;
  margin-top: var(--s-2);
}
.form-ok.show { display: block; }

/* ---------------- footer ---------------- */
.foot { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s-8); padding-top: var(--s-8); padding-bottom: var(--s-4); }
.foot .mark { display: flex; align-items: center; gap: 14px; margin-bottom: var(--s-2); }
.foot .mark img { width: 44px; height: 44px; }
.foot p { font-size: 14px; color: #9db2c2; }
.foot h4 { color: #fff; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-mono); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot ul a { color: #cfe0ec; text-decoration: none; font-size: 15px; transition: color var(--dur-2) var(--ease-out), padding-left var(--dur-2) var(--ease-out); }
.foot ul a:hover { color: #fff; padding-left: 4px; }
.foot .legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--s-3);
  padding-bottom: var(--s-4);
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
  font-size: 13px;
  color: #7e94a6;
}
.foot .legal a { color: #9db2c2; }

/* headline wipe engine */
.wipe .w {
  display: inline-block;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(12px);
  transition: opacity var(--dur-4) var(--ease-out), filter var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out);
  transition-delay: calc(var(--wi) * var(--stagger));
}
.wipe.in .w { opacity: 1; filter: blur(0); transform: none; }
.no-js .wipe .w { opacity: 1; filter: none; transform: none; }

/* section head pattern */
.sec-head { max-width: 720px; }
.sec-head .eyebrow-tick { margin-bottom: var(--s-2); }
.sec-head .lede { color: var(--text-2); font-size: var(--text-lg); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow-tick { justify-content: center; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
}
.skip:focus-visible { left: 0; }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  border: none;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2), background-color var(--dur-2) var(--ease-out);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--red); transform: translateY(-2px); }

/* ---------------- inner-page systems ---------------- */
.nav a.nav-link.active { color: var(--red-ink); background: var(--ice); }

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 46vh;
  overflow: hidden;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.5vw), 0 100%);
  padding-top: var(--s-12);
  padding-bottom: calc(var(--s-8) + 2.5vw);
  background: linear-gradient(160deg, #0b1520 0%, #12283a 55%, #0a3550 100%);
}
.page-hero .ph-media { position: absolute; inset: -8% 0; z-index: 0; }
.page-hero .ph-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  transform: scale(1.05);
  animation: hero-settle 5s var(--ease-out) forwards;
}
.page-hero .ph-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(78deg, rgb(6 16 26 / 0.9) 0%, rgb(8 20 32 / 0.62) 48%, rgb(8 20 32 / 0.24) 100%),
    linear-gradient(0deg, rgb(6 16 26 / 0.5) 0%, rgb(6 16 26 / 0) 40%);
}
.page-hero .wrap { position: relative; z-index: 2; width: 100%; }
.page-hero .eyebrow-tick { color: #bfd9ea; }
.page-hero h1 { max-width: 22ch; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); margin-bottom: var(--s-1); }
.page-hero .ph-lede { color: #d7e5ef; font-size: var(--text-lg); max-width: 58ch; margin: 0; }
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9db2c2;
  margin-bottom: var(--s-2);
}
.crumb a { color: #cfe0ec; text-decoration: none; }
.crumb a:hover { color: #fff; }
.crumb .sep { color: var(--blue-2); }

/* wave texture band (their own brand wave graphics as layers) */
.wave-band { position: relative; overflow: hidden; }
.wave-band .wave-layer {
  position: absolute;
  inset: 0;
  background-image: var(--wave-img);
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
}
.wave-band > .wrap { position: relative; }

/* coupon cards (specials page) */
.coupon {
  position: relative;
  background: #fff;
  border: 2px dashed var(--n-300);
  border-radius: var(--radius);
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  transition: border-color var(--dur-2) var(--ease-out), transform var(--dur-4) var(--ease-out), box-shadow var(--dur-4) var(--ease-out);
}
.coupon:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.coupon.blue:hover { border-color: var(--blue); }
.coupon h3 { font-size: var(--text-xl); margin: 6px 0 2px; max-width: 22ch; }
.coupon .fine { font-size: 12.5px; color: var(--text-2); margin-top: auto; padding-top: var(--s-2); }
.coupon .co-actions { display: flex; gap: var(--s-2); align-items: center; margin-top: var(--s-2); flex-wrap: wrap; }
.coupon .co-print {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--n-300);
  border-radius: var(--radius);
  padding: 9px 14px;
  font: 600 13px var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--n-700);
  cursor: pointer;
  transition: border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
.coupon .co-print:hover { border-color: var(--ink); color: var(--ink); }
.pay-strip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pay-strip img { height: 30px; width: auto; border-radius: 3px; }
@media print {
  .topbar, .site-head, .sheet, .to-top, .foot, .page-hero, .no-print { display: none !important; }
  .coupon { break-inside: avoid; border-color: #000; }
  body { background: #fff; }
}

/* giveaway split (specials) */
.giveaway .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-8); align-items: center; }
.giveaway .frame { border-radius: var(--radius); overflow: hidden; }
.giveaway ol { margin: 0; padding: 0; list-style: none; counter-reset: gv; display: grid; gap: var(--s-2); }
.giveaway ol li { position: relative; padding-left: 52px; counter-increment: gv; font-size: var(--text-lg); }
.giveaway ol li::before {
  content: counter(gv);
  position: absolute;
  left: 0;
  top: -2px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--red), var(--blue));
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
}

/* town cards (service area) */
.town-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); margin-top: var(--s-6); }
.town-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: var(--s-3);
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform var(--dur-4) var(--ease-out), box-shadow var(--dur-4) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.town-card:hover, .town-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--blue); }
.town-card b { font-family: var(--font-display); font-stretch: 112%; font-size: var(--text-xl); font-weight: 620; }
.town-card .t-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.town-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-3) var(--ease-out);
}
.town-card:hover::after, .town-card:focus-visible::after { transform: scaleX(1); }

/* story timeline (about) — scroll-drawn spine */
.timeline { position: relative; margin-top: var(--s-8); display: grid; gap: var(--s-6); }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline .tl-spine {
  position: absolute;
  left: 7px;
  top: 6px;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, var(--red), var(--blue));
}
.tl-item { position: relative; padding-left: var(--s-6); }
.tl-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--surface);
  background: var(--n-300);
  transition: background-color var(--dur-3) var(--ease-out);
}
.tl-item.lit::before { background: var(--red); }
.tl-item:nth-child(even).lit::before { background: var(--blue); }
.tl-item .tl-year {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--blue-ink);
  text-transform: uppercase;
}
.mode-dark .tl-item .tl-year { color: var(--blue-2); }
.tl-item h3 { margin: 6px 0 6px; font-size: var(--text-xl); }
.tl-item p { color: var(--text-2); margin: 0; max-width: 58ch; }

/* team grid (about) */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-3); margin-top: var(--s-6); }
.team-grid .team-card { width: auto; }
.team-grid .team-card img { width: 100%; height: 220px; }

/* embed frame (systems — live Trane portal) */
.embed-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #fff;
}
.embed-frame .ef-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--ice);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--n-700);
}
.embed-frame .ef-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--n-300); }
.embed-frame .ef-bar i:first-child { background: var(--red); }
.embed-frame .ef-bar i:nth-child(2) { background: var(--blue); }
.embed-frame iframe { width: 100%; height: 720px; border: 0; display: block; }

/* big-numeral offer (financing) */
.num-hero { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
.num-hero b {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(4rem, 3rem + 5vw, 7.5rem);
  line-height: 1;
  background: linear-gradient(90deg, var(--red), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.num-hero span { font-size: var(--text-lg); color: var(--text-2); max-width: 26ch; }

/* generic split section */
.split .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-8); align-items: center; }
.split.flip .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.split .frame { border-radius: var(--radius); overflow: hidden; position: relative; }
.split .frame img { width: 100%; height: auto; }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background: currentColor;
  color: var(--blue-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.mode-dark .check-list li::before { color: var(--blue-2); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 24ch; margin-inline: auto; }
.cta-band .hero-ctas { justify-content: center; }

@media (max-width: 960px) {
  .town-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .giveaway .wrap, .split .wrap, .split.flip .wrap { grid-template-columns: 1fr; }
  .embed-frame iframe { height: 600px; }
}
@media (max-width: 640px) {
  .town-grid { grid-template-columns: 1fr 1fr; gap: var(--s-2); }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------------- responsive ---------------- */
@media (min-width: 1081px) and (max-width: 1359px) {
  .head-phone { display: none; }
}
@media (min-width: 1360px) {
  .topbar .tb-phone { display: none; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-burger { display: flex; }
  .sheet { display: block; pointer-events: none; visibility: hidden; }
  body.nav-open .sheet { pointer-events: auto; visibility: visible; }
  .head-cta .btn { display: none; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .sched { scroll-margin-top: 110px; }
  .gauge-sec .wrap, .products .wrap, .family .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .gauge-sticky { position: static; }
  .gauge-box { margin-inline: auto; }
  .svc-a, .svc-b, .svc-c, .svc-d { grid-column: span 12; margin-top: 0; }
  .svc-sm, .svc-heritage { grid-column: span 6; }
  .specials-grid { grid-template-columns: 1fr 1fr; }
  .sp-wide-slot { grid-column: span 2; }
  .fam-stats { grid-template-columns: repeat(2, 1fr); }
  .foot .wrap { grid-template-columns: 1fr; gap: var(--s-4); }
}
@media (max-width: 640px) {
  .brand img { width: 158px; }
  .site-head .wrap { gap: var(--s-2); }
  .head-cta { margin-left: auto; }
  .hp-num { display: none; }
  .head-phone {
    width: 44px;
    height: 44px;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }
  .topbar .tb-note .hide-sm { display: none; }
  .svc-sm, .svc-heritage { grid-column: span 12; }
  .specials-grid { grid-template-columns: 1fr; }
  .sp-wide-slot { grid-column: span 1; }
  .sp-wide { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .fam-stats { gap: var(--s-2); }
  .hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6vw), 0 100%); }
  .family { clip-path: polygon(0 6vw, 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--s-12) + 6vw); }
  .el-field input, .el-field select, .el-field textarea { font-size: 16px; }
  .sched { padding: var(--s-3); }
  .sched-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; transform: none; }
  .wipe .w { opacity: 1; filter: none; transform: none; transition: none; }
  .gauge-needle, .g-stage { transition: none; }
  .svc-card .frame img, .svc-card .frame::after { transition: none; }
  .to-top, .sheet, .mega { transition: none; }
}
