/* ==========================================================================
   CEEZAER — Enterprise design system (cz-*)            added 2026-11-10
   Construction intelligence / aerial data platform look: charcoal + white,
   restrained Delta Gold accent, Inter Tight + JetBrains Mono data labels.

   Brand palette (official guide): Obsidian #1A1A1A, Delta Gold #C9A05D,
   Stone Grey #707070, Terra Cotta #D2691E, Aqua Fortis #4682B4.

   Structure
     1. Tokens                      (global, harmless on any page)
     2. Chrome: header / drawer / footer   (.cz-* only — safe on legacy pages)
     3. Base + components           (scoped to body.cz — new-system pages)
     4. Retheme layer for os-* pages (body.cz-os)

   Pages are generated by tools/build_enterprise.py; chrome is rolled onto
   existing pages by tools/apply_cz_chrome.py. Edit those, then re-run.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --cz-obsidian: #1a1a1a;
  --cz-ink: #101214;
  --cz-char: #15171a;
  --cz-char-2: #1c1f23;
  --cz-char-3: #262a2f;
  --cz-line-d: rgba(255, 255, 255, .1);
  --cz-text-d: #eceef0;
  --cz-muted-d: #9aa1a9;
  --cz-white: #ffffff;
  --cz-mist: #f4f5f6;
  --cz-line: #e3e5e8;
  --cz-text: #15171a;
  --cz-body: #4b5159;
  --cz-muted: #707070;
  --cz-gold: #c9a05d;
  --cz-gold-hi: #d9b578;
  --cz-gold-ink: #86662c;
  --cz-aqua: #4682b4;
  --cz-terra: #d2691e;
  --cz-ok: #5fae7b;
  --cz-sans: "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
  --cz-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --cz-max: 1240px;
  --cz-gutter: clamp(20px, 4vw, 40px);
  --cz-r: 10px;
  --cz-r-lg: 16px;
  --cz-head-h: 72px;
  --cz-shadow: 0 1px 2px rgba(16, 18, 20, .05), 0 12px 32px -12px rgba(16, 18, 20, .18);
}

/* ---------- 2. Chrome ---------- */
.cz-wrap { max-width: var(--cz-max); margin: 0 auto; padding: 0 var(--cz-gutter); }

.cz-skip {
  position: absolute; left: -9999px; top: 0; z-index: 400;
  background: var(--cz-gold); color: var(--cz-ink); padding: 10px 16px; font: 600 14px var(--cz-sans);
}
.cz-skip:focus { left: 12px; top: 12px; }

.cz-header {
  position: sticky; top: 0; z-index: 300;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--cz-line);
  font-family: var(--cz-sans);
  color: var(--cz-text);
  line-height: 1.4;
}
.cz-header *, .cz-drawer *, .cz-footer * { box-sizing: border-box; }
.cz-header a, .cz-drawer a, .cz-footer a { text-decoration: none; color: inherit; }
.cz-header-in {
  max-width: 1360px; margin: 0 auto; padding: 0 var(--cz-gutter);
  height: var(--cz-head-h); display: flex; align-items: center; gap: 28px;
}
.cz-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--cz-sans); font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--cz-text);
}
.cz-logo svg { width: 26px; height: 26px; flex: none; }
.cz-logo small {
  font: 500 10px var(--cz-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cz-muted);
  border-left: 1px solid var(--cz-line); padding-left: 10px; margin-left: 2px;
}
.cz-nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.cz-nav-item { position: relative; }
.cz-nav-btn, .cz-nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 15px var(--cz-sans); color: var(--cz-text);
  padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer;
  transition: background .15s ease;
}
.cz-nav-btn:hover, .cz-nav-link:hover, .cz-nav-item.is-open > .cz-nav-btn { background: var(--cz-mist); }
.cz-nav-btn svg { width: 10px; height: 10px; transition: transform .2s ease; opacity: .6; }
.cz-nav-item.is-open > .cz-nav-btn svg { transform: rotate(180deg); }
.cz-menu {
  position: absolute; top: calc(100% + 10px); left: -12px;
  min-width: 340px; padding: 10px;
  background: #fff; border: 1px solid var(--cz-line); border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(16, 18, 20, .28), 0 2px 6px rgba(16, 18, 20, .06);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.cz-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.cz-menu-wide { min-width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.cz-nav-item.is-open > .cz-menu,
.cz-nav-item:focus-within > .cz-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) {
  .cz-nav-item:hover > .cz-menu { opacity: 1; visibility: visible; transform: none; }
}
.cz-menu-label {
  grid-column: 1 / -1; font: 500 10.5px var(--cz-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--cz-muted); padding: 10px 12px 6px;
}
.cz-menu a { display: block; padding: 10px 12px; border-radius: 9px; transition: background .15s ease; }
.cz-menu a:hover { background: var(--cz-mist); }
.cz-menu a b { display: block; font-size: 14.5px; font-weight: 600; color: var(--cz-text); }
.cz-menu a span { display: block; font-size: 13px; color: var(--cz-body); margin-top: 2px; }
.cz-head-actions { display: flex; align-items: center; gap: 10px; }
.cz-head-link { font: 500 15px var(--cz-sans); padding: 10px 12px; border-radius: 8px; color: var(--cz-text); }
.cz-head-link:hover { background: var(--cz-mist); }

.cz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--cz-sans); letter-spacing: -.005em;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  background: var(--cz-ink); color: #fff !important; text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.cz-btn:hover { background: #2a2e33; transform: translateY(-1px); }
.cz-btn svg { width: 14px; height: 14px; }
.cz-btn-gold { background: var(--cz-gold); color: var(--cz-ink) !important; }
.cz-btn-gold:hover { background: var(--cz-gold-hi); }
.cz-btn-ghost { background: transparent; color: var(--cz-text) !important; border-color: #c9cdd2; }
.cz-btn-ghost:hover { background: var(--cz-mist); }
.cz-btn-ghost-d { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .28); }
.cz-btn-ghost-d:hover { background: rgba(255, 255, 255, .08); }
.cz-btn-sm { padding: 11px 18px; font-size: 14px; }

.cz-burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--cz-line); border-radius: 10px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.cz-burger span { display: block; width: 18px; height: 1.5px; background: var(--cz-text); }

.cz-drawer {
  position: fixed; inset: 0; z-index: 350; background: #fff; color: var(--cz-text);
  font-family: var(--cz-sans); overflow-y: auto; padding: 0 var(--cz-gutter) 40px;
  transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s;
}
body.cz-drawer-open { overflow: hidden; }
body.cz-drawer-open .cz-drawer { transform: none; visibility: visible; }
.cz-drawer-top { height: var(--cz-head-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--cz-line); margin-bottom: 8px; }
.cz-drawer-close { width: 44px; height: 44px; border: 1px solid var(--cz-line); border-radius: 10px; background: #fff; font-size: 24px; line-height: 1; cursor: pointer; color: var(--cz-text); }
.cz-drawer details { border-bottom: 1px solid var(--cz-line); }
.cz-drawer summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-size: 19px; font-weight: 600; padding: 18px 2px;
}
.cz-drawer summary::-webkit-details-marker { display: none; }
.cz-drawer summary::after { content: "+"; font-weight: 400; font-size: 22px; color: var(--cz-muted); }
.cz-drawer details[open] summary::after { content: "\2212"; }
.cz-drawer details a { display: block; padding: 11px 2px 11px 14px; font-size: 16px; color: var(--cz-body); }
.cz-drawer details a:last-child { padding-bottom: 20px; }
.cz-drawer-plain { display: block; font-size: 19px; font-weight: 600; padding: 18px 2px; border-bottom: 1px solid var(--cz-line); }
.cz-drawer-cta { display: grid; gap: 10px; margin-top: 24px; }
.cz-drawer-cta .cz-btn { width: 100%; }
.cz-drawer-meta { margin-top: 22px; font: 500 11px var(--cz-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cz-muted); }
.cz-social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.cz-social a {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--cz-line); border-radius: 9px; color: var(--cz-body); transition: background .15s, color .15s, border-color .15s;
}
.cz-social a:hover { background: var(--cz-ink); color: #fff; border-color: var(--cz-ink); }
.cz-social svg { width: 15px; height: 15px; }

/* Top utility bar: social icons above the sticky header (added 2026-11-22) */
.cz-topbar { background: var(--cz-char); color: var(--cz-muted-d); font-family: var(--cz-sans); }
.cz-topbar * { box-sizing: border-box; }
.cz-topbar-in { max-width: 1360px; margin: 0 auto; padding: 0 var(--cz-gutter); min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cz-topbar-meta { font: 500 10.5px var(--cz-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cz-muted-d); }
.cz-topbar .cz-social { margin-top: 0; gap: 2px; flex-wrap: nowrap; margin-left: auto; }
.cz-topbar .cz-social a { width: 32px; height: 32px; border: 0; border-radius: 8px; color: #c9ced4; text-decoration: none; }
.cz-topbar .cz-social a:hover { background: var(--cz-gold); color: var(--cz-ink); }
@media (max-width: 640px) { .cz-topbar-meta { display: none; } .cz-topbar .cz-social { margin: 0 auto; gap: 6px; } }

@media (max-width: 1080px) {
  .cz-nav, .cz-head-link { display: none; }
  .cz-burger { display: inline-flex; }
  .cz-head-actions { margin-left: auto; }
  .cz-logo small { display: none; }
}
@media (max-width: 520px) {
  .cz-head-actions .cz-btn { display: none; }
  :root { --cz-head-h: 64px; }
}

/* Footer */
.cz-footer { background: var(--cz-char); color: var(--cz-muted-d); font-family: var(--cz-sans); font-size: 14.5px; line-height: 1.6; }
.cz-footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px 32px; padding: 72px 0 56px; }
.cz-footer .cz-logo { color: #fff; }
.cz-footer-tag { margin: 16px 0 0; max-width: 34ch; color: var(--cz-muted-d); }
.cz-footer h4 { font: 500 11px var(--cz-mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.cz-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cz-footer li a:hover, .cz-footer-bottom a:hover { color: #fff; }
.cz-footer address { font-style: normal; }
.cz-footer .cz-social a { border-color: var(--cz-line-d); color: var(--cz-muted-d); }
.cz-footer .cz-social a:hover { background: var(--cz-gold); border-color: var(--cz-gold); color: var(--cz-ink); }
.cz-footer-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.cz-footer-badges span { font: 500 10.5px var(--cz-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cz-text-d); border: 1px solid var(--cz-line-d); border-radius: 999px; padding: 6px 10px; }
.cz-footer-creds { display: flex; gap: 10px; align-items: center; margin-top: 22px; }
.cz-footer-creds img { height: 84px; width: auto; max-width: none; display: block; background: #fff; border-radius: 8px; padding: 5px; }
.cz-footer-bottom {
  border-top: 1px solid var(--cz-line-d); padding: 22px 0 28px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px;
}
.cz-footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 960px) { .cz-footer-top { grid-template-columns: 1fr 1fr; padding: 56px 0 40px; } .cz-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .cz-footer-top { grid-template-columns: 1fr; } }

/* ---------- 3. Base + components (new-system pages) ---------- */
body.cz { margin: 0; font-family: var(--cz-sans); font-size: 17px; line-height: 1.6; color: var(--cz-body); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.cz *, body.cz *::before, body.cz *::after { box-sizing: border-box; }
html:has(body.cz) { scroll-behavior: smooth; scroll-padding-top: calc(var(--cz-head-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html:has(body.cz) { scroll-behavior: auto; } }
:where(body.cz) img { max-width: 100%; display: block; }
:where(body.cz) a { color: inherit; }
:where(body.cz) :is(h1, h2, h3, h4) { margin: 0; color: var(--cz-text); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
:where(body.cz) p { margin: 0; }
body.cz ::selection { background: var(--cz-gold); color: var(--cz-ink); }
body.cz :focus-visible { outline: 2px solid var(--cz-gold); outline-offset: 3px; border-radius: 4px; }

.cz-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--cz-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cz-gold-ink); }
.cz-eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--cz-gold); border-radius: 2px; flex: none; }
.cz-dark .cz-eyebrow, .cz-hero .cz-eyebrow, .cz-phero .cz-eyebrow { color: var(--cz-gold); }
.cz-h1 { font-size: clamp(40px, 6.2vw, 78px); letter-spacing: -.04em !important; line-height: 1 !important; }
.cz-h2 { font-size: clamp(30px, 3.8vw, 48px); }
.cz-h3 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.015em !important; line-height: 1.2 !important; }
.cz-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--cz-body); max-width: 62ch; }
.cz-mono { font-family: var(--cz-mono); }
.cz-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--cz-text) !important; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.cz-link::after { content: "\2192"; transition: transform .18s ease; }
.cz-link:hover::after { transform: translateX(3px); }
.cz-dark .cz-link { color: #fff !important; }

.cz-section { padding: clamp(64px, 9vw, 120px) 0; }
.cz-mist { background: var(--cz-mist); }
.cz-dark { background: var(--cz-char); color: var(--cz-muted-d); }
.cz-dark h1, .cz-dark h2, .cz-dark h3, .cz-dark h4 { color: #fff !important; }
.cz-dark .cz-lead { color: var(--cz-muted-d); }
.cz-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.cz-head .cz-eyebrow { margin-bottom: 18px; }
.cz-head .cz-lead { margin-top: 18px; }
.cz-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.cz-head-center .cz-lead { margin-left: auto; margin-right: auto; }
.cz-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; max-width: none; }
.cz-head-row > div { max-width: 760px; }

/* Hero */
.cz-hero { position: relative; background: var(--cz-char); color: var(--cz-muted-d); overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 0; }
.cz-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 480px at 78% -8%, rgba(201, 160, 93, .16), transparent 62%),
    radial-gradient(700px 420px at 0% 30%, rgba(70, 130, 180, .12), transparent 60%);
  z-index: 1;
}
.cz-hero > .cz-wrap { position: relative; z-index: 2; }
.cz-hero-copy { max-width: 900px; margin: 0 auto; text-align: center; }
.cz-hero h1 { color: #fff !important; margin: 22px 0 28px; }
.cz-hero h1 em { font-style: normal; color: var(--cz-gold); }
.cz-hero .cz-lead { color: #b9bfc6; margin: 0 auto; max-width: 60ch; }
.cz-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.cz-hero-copy .cz-actions { justify-content: center; }
.cz-chips { display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: center; margin-top: 30px; padding: 0; list-style: none; }
.cz-chips li { display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--cz-mono); letter-spacing: .08em; text-transform: uppercase; color: #c9ced4; }
.cz-chips svg { width: 14px; height: 14px; color: var(--cz-gold); flex: none; }
.cz-creds { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 30px; }
.cz-creds img { height: 128px; width: auto; background: #fff; border-radius: 10px; padding: 6px; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .7); }
@media (max-width: 520px) { .cz-creds img { height: 100px; } }

/* Homepage media: hero photo, field gallery, films, founder (added 2026-11-22) */
/* Moving hero background (2026-11-22): the site photo drifts like a slow flyover, a survey
   grid slides across it, a drone marker flies a mapping pattern and a scan line sweeps down.
   It runs the full height of the hero, so it keeps moving behind the sample project. */
.cz-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(#000 0%, #000 50%, rgba(0, 0, 0, .6) 100%); mask-image: linear-gradient(#000 0%, #000 50%, rgba(0, 0, 0, .6) 100%); }
.cz-hero-photo { position: absolute; inset: -9%; background: url(/images/cz/hero-site.webp) center 40% / cover no-repeat; opacity: .4; will-change: transform; animation: cz-hero-drift 46s ease-in-out infinite alternate; }
.cz-hero-grid { position: absolute; inset: -56px; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; will-change: transform; animation: cz-hero-grid 9s linear infinite; }
.cz-hero-flight { position: absolute; inset: 0; width: 100%; height: 100%; }
.cz-hero-flight path { stroke: rgba(201, 160, 93, .3); stroke-width: 1.5; stroke-dasharray: 3 11; animation: cz-hero-dash 2.4s linear infinite; }
.cz-hero-drone circle { fill: var(--cz-gold); }
.cz-hero-drone .ring { fill: rgba(201, 160, 93, .16); stroke: rgba(201, 160, 93, .7); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: cz-hero-ping 2.2s ease-out infinite; }
.cz-hero-scan { position: absolute; left: 0; right: 0; top: 0; height: 100%; border-bottom: 1px solid rgba(201, 160, 93, .55); background: linear-gradient(180deg, transparent 82%, rgba(201, 160, 93, .09)); will-change: transform; animation: cz-hero-scan 13s linear infinite; }
@keyframes cz-hero-drift { from { transform: scale(1) translate3d(-3%, -2%, 0); } to { transform: scale(1.14) translate3d(3%, 2.5%, 0); } }
@keyframes cz-hero-grid { to { transform: translate3d(56px, 56px, 0); } }
@keyframes cz-hero-dash { to { stroke-dashoffset: -14; } }
@keyframes cz-hero-ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
@keyframes cz-hero-scan { from { transform: translate3d(0, -100%, 0); } to { transform: translate3d(0, 8%, 0); } }
@media (prefers-reduced-motion: reduce) {
  .cz-hero-photo, .cz-hero-grid, .cz-hero-flight path, .cz-hero-drone .ring { animation: none; }
  .cz-hero-scan, .cz-hero-drone { display: none; }
}
.cz-btn-play svg { width: 13px; height: 13px; }
@media (max-width: 720px) { .cz-btn-play { display: none; } }
.cz-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 19vw, 250px); gap: 14px; }
a.cz-shot { display: block; text-decoration: none; }
a.cz-shot .cz-shot-cap::after { content: "\2192"; position: absolute; right: 0; bottom: 0; color: #fff; font-size: 15px; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
a.cz-shot:hover .cz-shot-cap::after, a.cz-shot:focus-visible .cz-shot-cap::after { opacity: 1; transform: none; }
.cz-shot { position: relative; margin: 0; border-radius: var(--cz-r-lg); overflow: hidden; background: var(--cz-char); }
.cz-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.cz-shot:hover img { transform: scale(1.04); }
.cz-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16, 18, 20, .78)); pointer-events: none; }
.cz-shot figcaption, .cz-shot-cap { position: absolute; left: 16px; bottom: 14px; right: 16px; z-index: 1; font: 500 11px var(--cz-mono); letter-spacing: .08em; text-transform: uppercase; color: #d5d9de; }
.cz-shot figcaption b, .cz-shot-cap b { color: var(--cz-gold); font-weight: 500; }
.cz-shot-xl { grid-column: span 2; grid-row: span 2; }
.cz-shot-w { grid-column: span 2; }
@media (max-width: 860px) { .cz-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(150px, 36vw, 240px); gap: 10px; } }
.cz-films { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.cz-video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--cz-r-lg); overflow: hidden; background: #0d0f11; cursor: pointer; color: #fff; text-align: left; font-family: var(--cz-sans); box-shadow: var(--cz-shadow); }
.cz-video-xl { grid-row: span 2; height: 100%; }
.cz-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.cz-video:hover img { transform: scale(1.03); }
.cz-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 18, 20, .05) 45%, rgba(16, 18, 20, .82)); pointer-events: none; }
.cz-video.is-playing::after { display: none; }
.cz-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cz-play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--cz-gold); color: var(--cz-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: transform .2s ease, background .2s ease; }
.cz-play svg { width: 28px; height: 28px; }
.cz-video:hover .cz-play { transform: scale(1.08); background: var(--cz-gold-hi); }
.cz-video:not(.cz-video-xl) .cz-play { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.cz-video:not(.cz-video-xl) .cz-play svg { width: 22px; height: 22px; }
.cz-video-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; font: 500 11px var(--cz-mono); letter-spacing: .08em; text-transform: uppercase; color: #c9ced4; }
.cz-video-cap b { display: block; font: 600 18px var(--cz-sans); letter-spacing: -.01em; text-transform: none; color: #fff; margin-bottom: 3px; }
@media (max-width: 860px) { .cz-films { grid-template-columns: 1fr; } .cz-video-xl { grid-row: auto; } }
.cz-founder { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
.cz-founder img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #fff; border: 1px solid var(--cz-line); }
.cz-founder b { display: block; font-size: 17px; color: var(--cz-text); }
.cz-founder span { font: 500 11px var(--cz-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cz-muted); }
.cz-cta-photo { background: linear-gradient(90deg, rgba(16, 18, 20, .95) 30%, rgba(16, 18, 20, .55)), url(/images/cz/field-austin-dusk.webp) center / cover no-repeat; }

/* Product frame (illustrative map viewer) */
.cz-app-shell { position: relative; margin: clamp(40px, 6vw, 72px) auto 0; max-width: 1180px; }
.cz-app { position: relative; background: #0d0f11; border: 1px solid rgba(255, 255, 255, .12); border-bottom: 0; border-radius: 16px 16px 0 0; overflow: hidden; box-shadow: 0 -20px 80px -20px rgba(201, 160, 93, .18), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.cz-app-bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); background: #131518; font: 500 12px var(--cz-mono); color: #aab0b7; }
.cz-app-dots { display: flex; gap: 6px; }
.cz-app-dots i { width: 9px; height: 9px; border-radius: 50%; background: #2c3035; }
.cz-app-title b { color: #fff; font-weight: 500; }
.cz-app-tabs { display: flex; gap: 4px; margin-left: auto; }
.cz-app-tabs span { padding: 6px 12px; border-radius: 7px; }
.cz-app-tabs span.on { background: rgba(255, 255, 255, .09); color: #fff; }
.cz-app-body { display: grid; grid-template-columns: 208px 1fr 264px; min-height: 0; }
.cz-app-rail, .cz-app-panel { padding: 16px; font-size: 13px; color: #aab0b7; background: #131518; }
.cz-app-rail { border-right: 1px solid rgba(255, 255, 255, .08); }
.cz-app-rail, .cz-app-panel { contain: size; overflow: hidden; }
.cz-app-panel { display: grid; gap: 20px; align-content: start; }
.cz-app-panel .cz-app-h { margin-top: 0 !important; }
.cz-app-panel { border-left: 1px solid rgba(255, 255, 255, .08); }
.cz-app-h { font: 500 10px var(--cz-mono); letter-spacing: .14em; text-transform: uppercase; color: #737a82; margin: 0 0 10px; }
.cz-app-h:not(:first-child) { margin-top: 20px; }
.cz-layer { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 7px; }
.cz-layer.on { background: rgba(255, 255, 255, .06); color: #fff; }
.cz-layer i { width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid #5a6169; flex: none; }
.cz-layer.on i { background: var(--cz-gold); border-color: var(--cz-gold); }
.cz-layer em { margin-left: auto; font: 500 10.5px var(--cz-mono); font-style: normal; color: #737a82; }
.cz-cap { display: flex; justify-content: space-between; padding: 6px 8px; font: 500 11.5px var(--cz-mono); border-radius: 7px; }
.cz-cap.on { color: #fff; background: rgba(201, 160, 93, .16); }
.cz-app-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #101214; }
.cz-app-map { position: absolute; inset: 0; overflow: hidden; background: #2a2620; }
.cz-app-map > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cz-app-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cz-tag { position: absolute; transform: translate(-50%, -50%); font: 500 11px var(--cz-mono); color: #fff; background: rgba(13, 15, 17, .86); border: 1px solid rgba(255, 255, 255, .18); border-radius: 7px; padding: 5px 9px; white-space: nowrap; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cz-tag b { color: var(--cz-gold); font-weight: 500; }
.cz-tag.aq b { color: #8fc1ea; }
.cz-map-tools { position: absolute; left: 12px; top: 12px; display: grid; gap: 6px; }
.cz-map-tools span { width: 32px; height: 32px; display: grid; place-items: center; background: rgba(13, 15, 17, .86); border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; color: #d6dade; }
.cz-map-tools span.on { background: var(--cz-gold); color: var(--cz-ink); border-color: var(--cz-gold); }
.cz-map-tools svg { width: 15px; height: 15px; }
.cz-map-scale { position: absolute; right: 12px; bottom: 12px; font: 500 10.5px var(--cz-mono); color: #fff; background: rgba(13, 15, 17, .8); border-radius: 6px; padding: 5px 9px; display: flex; align-items: center; gap: 8px; }
.cz-map-scale i { width: 54px; height: 5px; border: 1.5px solid #fff; border-top: 0; }
.cz-kpi { display: flex; align-items: baseline; gap: 8px; }
.cz-kpi b { font: 600 34px/1 var(--cz-sans); letter-spacing: -.03em; color: #fff; }
.cz-kpi span { font: 500 11.5px var(--cz-mono); color: var(--cz-ok); }
.cz-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .09); overflow: hidden; margin-top: 6px; }
.cz-bar i { display: block; height: 100%; border-radius: 99px; background: var(--cz-gold); }
.cz-bar.aq i { background: var(--cz-aqua); }
.cz-phase { margin-top: 12px; }
.cz-phase div:first-child { display: flex; justify-content: space-between; font-size: 12.5px; color: #d6dade; }
.cz-phase div:first-child span { font: 500 11.5px var(--cz-mono); color: #9aa1a9; }
.cz-change { display: flex; gap: 9px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 12.5px; line-height: 1.4; color: #c4c9cf; }
.cz-change:first-of-type { border-top: 0; padding-top: 0; }
.cz-change i { width: 7px; height: 7px; border-radius: 50%; background: var(--cz-gold); margin-top: 5px; flex: none; }
.cz-change i.aq { background: var(--cz-aqua); } .cz-change i.te { background: var(--cz-terra); }
.cz-app-note { z-index: 2; text-align: center; font: 500 11px var(--cz-mono); letter-spacing: .06em; color: #7d848c; padding: 14px 0 18px; background: var(--cz-char); position: relative; }
.cz-app-note a { color: #c9ced4 !important; border-bottom: 1px solid #5a6169; text-decoration: none; }
@media (max-width: 1020px) { .cz-app-body { grid-template-columns: 1fr 240px; } .cz-app-rail { display: none; } }
@media (max-width: 720px) {
  .cz-app-body { grid-template-columns: 1fr; }
  .cz-app-panel { contain: none; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .cz-app-panel .cz-app-changes { display: none; }
  .cz-tag { font-size: 9.5px; padding: 4px 6px; }
  .cz-tag.hide-sm { display: none; }
}

/* Logo strip */
.cz-logos { padding: 34px 0; border-bottom: 1px solid var(--cz-line); background: #fff; }
.cz-logos-in { display: flex; align-items: center; gap: 22px 48px; flex-wrap: wrap; justify-content: center; }
.cz-logos-label { flex-basis: 100%; text-align: center; font: 500 11px var(--cz-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cz-muted); }
.cz-logos img { opacity: .62; filter: grayscale(1); transition: opacity .2s; }
.cz-logos img:hover { opacity: 1; }
.cz-logos .cz-logo-group { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1.15 var(--cz-sans); color: #555; text-transform: uppercase; letter-spacing: .04em; }

/* Grids / cards */
.cz-grid { display: grid; gap: 20px; }
.cz-g2 { grid-template-columns: repeat(2, 1fr); }
.cz-g3 { grid-template-columns: repeat(3, 1fr); }
.cz-g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .cz-g4 { grid-template-columns: repeat(2, 1fr); } .cz-g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .cz-g2, .cz-g3, .cz-g4 { grid-template-columns: 1fr; } }

.cz-card { background: #fff; border: 1px solid var(--cz-line); border-radius: var(--cz-r-lg); padding: 28px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cz-card h3 { margin-bottom: 10px; }
.cz-card p { font-size: 15.5px; }
a.cz-card { text-decoration: none; display: block; }
a.cz-card:hover { border-color: #c5c9ce; box-shadow: var(--cz-shadow); transform: translateY(-2px); }
.cz-dark .cz-card { background: var(--cz-char-2); border-color: var(--cz-line-d); }
.cz-dark .cz-card p { color: var(--cz-muted-d); }
.cz-icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--cz-ink); color: var(--cz-gold); margin-bottom: 22px; }
.cz-icon svg { width: 21px; height: 21px; }
.cz-dark .cz-icon { background: rgba(201, 160, 93, .14); }
.cz-num { font: 500 12px var(--cz-mono); letter-spacing: .1em; color: var(--cz-gold-ink); margin-bottom: 18px; display: block; }
.cz-dark .cz-num { color: var(--cz-gold); }

/* Pillars (Know / Measure / Decide) */
.cz-pillar { border-top: 2px solid var(--cz-ink); padding: 26px 0 14px; }
.cz-pillar h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 12px; }
.cz-pillar ul, .cz-checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: 15.5px; }
.cz-pillar li, .cz-checks li { position: relative; padding-left: 26px; }
.cz-pillar li::before, .cz-checks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 15px; border-radius: 50%;
  background: var(--cz-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.4 2.3 4.6-5' fill='none' stroke='%23101214' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.cz-checks li b { color: var(--cz-text); font-weight: 600; }
.cz-dark .cz-checks li b { color: #fff; }

/* Feature rows */
.cz-feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.cz-feature + .cz-feature { margin-top: clamp(64px, 9vw, 120px); }
.cz-feature.rev > .cz-feature-media { order: -1; }
.cz-feature h3 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.03em !important; line-height: 1.1 !important; margin: 16px 0 16px; }
.cz-feature .cz-link { margin-top: 26px; }
.cz-badge { display: inline-block; font: 500 10.5px var(--cz-mono); letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; border: 1px solid var(--cz-line); color: var(--cz-muted); vertical-align: middle; margin-left: 6px; }
.cz-dark .cz-badge { border-color: var(--cz-line-d); color: var(--cz-muted-d); }
.cz-frame { position: relative; border-radius: var(--cz-r-lg); overflow: hidden; border: 1px solid var(--cz-line); background: #0d0f11; box-shadow: var(--cz-shadow); }
.cz-dark .cz-frame { border-color: var(--cz-line-d); }
.cz-frame > img { width: 100%; height: auto; }
.cz-frame-cover { aspect-ratio: 4 / 3; }
.cz-frame-cover > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.cz-frame > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cz-frame figcaption, .cz-cap-note { font: 500 10.5px var(--cz-mono); letter-spacing: .06em; color: var(--cz-muted); margin-top: 10px; }
.cz-browser { border-radius: var(--cz-r-lg); overflow: hidden; border: 1px solid var(--cz-line); box-shadow: var(--cz-shadow); background: #fff; }
.cz-browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--cz-mist); border-bottom: 1px solid var(--cz-line); font: 500 11px var(--cz-mono); color: var(--cz-muted); }
.cz-browser-bar .cz-app-dots i { background: #d3d6da; }
.cz-browser img { width: 100%; height: auto; }
.cz-dark .cz-browser { border-color: var(--cz-line-d); }
@media (max-width: 900px) { .cz-feature { grid-template-columns: 1fr; } .cz-feature.rev > .cz-feature-media { order: 0; } }

/* Earthwork viz (inline SVG card) */
.cz-viz { background: var(--cz-char-2); border: 1px solid var(--cz-line-d); border-radius: var(--cz-r-lg); padding: 22px; color: #c4c9cf; box-shadow: var(--cz-shadow); }
.cz-viz-head { display: flex; justify-content: space-between; align-items: center; font: 500 11px var(--cz-mono); letter-spacing: .08em; text-transform: uppercase; color: #9aa1a9; margin-bottom: 16px; }
.cz-viz svg { width: 100%; height: auto; display: block; border-radius: 10px; }
.cz-viz-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.cz-viz-stats div { background: rgba(255, 255, 255, .04); border: 1px solid var(--cz-line-d); border-radius: 10px; padding: 12px 14px; }
.cz-viz-stats span { display: block; font: 500 10px var(--cz-mono); letter-spacing: .1em; text-transform: uppercase; color: #8b929a; }
.cz-viz-stats b { display: block; font: 600 20px var(--cz-sans); color: #fff; letter-spacing: -.02em; margin-top: 4px; }

/* Solution cards with imagery */
.cz-sol { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; border-radius: var(--cz-r-lg); overflow: hidden; padding: 28px; color: #fff !important; text-decoration: none; isolation: isolate; background: var(--cz-char); }
.cz-sol img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.cz-sol::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 18, 20, .1) 20%, rgba(16, 18, 20, .92) 82%); }
.cz-sol:hover img { transform: scale(1.04); }
.cz-sol h3 { color: #fff !important; font-size: 24px; margin-bottom: 8px; }
.cz-sol p { font-size: 15px; color: #cfd3d8; }
.cz-sol span { margin-top: 16px; font: 500 12px var(--cz-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cz-gold); }
@media (max-width: 680px) { .cz-sol { min-height: 320px; } }

/* Steps */
.cz-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--cz-line); }
.cz-dark .cz-steps { border-color: var(--cz-line-d); }
.cz-step { padding: 28px 24px 8px 0; position: relative; counter-increment: step; }
.cz-step::before { content: "0" counter(step); display: block; font: 500 12px var(--cz-mono); letter-spacing: .1em; color: var(--cz-gold-ink); margin-bottom: 16px; }
.cz-dark .cz-step::before { color: var(--cz-gold); }
.cz-step::after { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--cz-gold); }
.cz-step h3 { font-size: 19px; letter-spacing: -.015em !important; margin-bottom: 8px; }
.cz-step p { font-size: 15px; }
@media (max-width: 960px) { .cz-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cz-steps { grid-template-columns: 1fr; } }

/* Deliverables table */
.cz-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.cz-table th { text-align: left; font: 500 11px var(--cz-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cz-muted); padding: 0 16px 14px 0; border-bottom: 1px solid var(--cz-ink); }
.cz-table td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--cz-line); vertical-align: top; }
.cz-table td:first-child { font-weight: 600; color: var(--cz-text); white-space: nowrap; }
.cz-table td:last-child { font: 500 12.5px var(--cz-mono); color: var(--cz-body); }
.cz-table-wrap { overflow-x: auto; }
@media (max-width: 680px) { .cz-table td:first-child { white-space: normal; } }

/* Stats band */
.cz-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--cz-line-d); border-radius: var(--cz-r-lg); overflow: hidden; }
.cz-stat { padding: 32px 28px; border-left: 1px solid var(--cz-line-d); }
.cz-stat:first-child { border-left: 0; }
.cz-stat b { display: block; font: 600 clamp(38px, 4.4vw, 58px)/1 var(--cz-sans); letter-spacing: -.04em; color: #fff; }
.cz-stat span { display: block; margin-top: 12px; font: 500 11.5px var(--cz-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cz-muted-d); }
@media (max-width: 860px) { .cz-stats { grid-template-columns: 1fr 1fr; } .cz-stat:nth-child(3) { border-left: 0; } .cz-stat:nth-child(n+3) { border-top: 1px solid var(--cz-line-d); } }

/* Reviews */
.cz-quotes { columns: 3; column-gap: 20px; }
.cz-quote { break-inside: avoid; margin: 0 0 20px; background: #fff; border: 1px solid var(--cz-line); border-radius: var(--cz-r-lg); padding: 26px; }
.cz-quote-stars { color: var(--cz-gold); letter-spacing: 3px; font-size: 13px; }
.cz-quote q { display: block; margin: 12px 0 16px; font-size: 16px; line-height: 1.55; color: var(--cz-text); quotes: "\201C" "\201D"; }
.cz-quote cite { font: 500 11.5px var(--cz-mono); letter-spacing: .08em; text-transform: uppercase; font-style: normal; color: var(--cz-muted); }
.cz-quote cite b { color: var(--cz-text); font-weight: 500; }
@media (max-width: 960px) { .cz-quotes { columns: 2; } }
@media (max-width: 620px) { .cz-quotes { columns: 1; } }

/* Service area */
.cz-area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.cz-area-map { background: var(--cz-char-2); border: 1px solid var(--cz-line-d); border-radius: var(--cz-r-lg); padding: 18px; }
.cz-area-map svg { width: 100%; height: auto; display: block; }
.cz-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 0; list-style: none; }
.cz-pills li, .cz-pills a { font: 500 12px var(--cz-mono); letter-spacing: .04em; border: 1px solid var(--cz-line-d); border-radius: 99px; padding: 7px 12px; color: var(--cz-text-d); text-decoration: none; }
.cz-pills li.lk { border: 0; padding: 0; }
.cz-pills li.lk a { display: inline-block; }
.cz-pills a:hover { border-color: var(--cz-gold); color: var(--cz-gold); }
body.cz :not(.cz-dark) > .cz-wrap .cz-pills-l li { border-color: var(--cz-line); color: var(--cz-body); }
@media (max-width: 860px) { .cz-area { grid-template-columns: 1fr; } }

/* Resource posts */
.cz-post { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--cz-line); border-radius: var(--cz-r-lg); padding: 28px; min-height: 220px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cz-post:hover { border-color: #c5c9ce; box-shadow: var(--cz-shadow); transform: translateY(-2px); }
.cz-post span { font: 500 11px var(--cz-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cz-gold-ink); }
.cz-post h3 { font-size: 21px; margin: 14px 0 auto; letter-spacing: -.02em !important; line-height: 1.2 !important; }
.cz-post em { font-style: normal; font-weight: 600; font-size: 14.5px; color: var(--cz-text); margin-top: 24px; }

/* FAQ */
.cz-faq { max-width: 860px; }
.cz-faq details { border-bottom: 1px solid var(--cz-line); }
.cz-faq details:first-child { border-top: 1px solid var(--cz-line); }
.cz-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 18.5px; font-weight: 600; color: var(--cz-text); letter-spacing: -.01em; }
.cz-faq summary::-webkit-details-marker { display: none; }
.cz-faq summary::after { content: "+"; font: 400 24px/1 var(--cz-sans); color: var(--cz-gold-ink); flex: none; }
.cz-faq details[open] summary::after { content: "\2212"; }
.cz-faq details p { padding: 0 40px 24px 0; }

/* CTA band */
.cz-cta { position: relative; overflow: hidden; background: var(--cz-char); border-radius: 22px; padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; color: var(--cz-muted-d); }
.cz-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 100% 0, rgba(201, 160, 93, .22), transparent 65%); pointer-events: none; }
.cz-cta > * { position: relative; }
.cz-cta h2 { color: #fff !important; font-size: clamp(28px, 3.6vw, 44px); }
.cz-cta p { margin-top: 14px; max-width: 56ch; }
.cz-cta .cz-actions { margin-top: 0; }
@media (max-width: 860px) { .cz-cta { grid-template-columns: 1fr; } }

/* Contact + inquiry form (markup contract: .inquiry-form / .form-submit-btn / .form-success) */
.cz-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.cz-contact-lines { margin-top: 32px; border-top: 1px solid var(--cz-line); }
.cz-contact-lines > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--cz-line); font-size: 15.5px; }
.cz-contact-lines span:first-child { font: 500 11px var(--cz-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cz-muted); padding-top: 3px; }
.cz-contact-lines a, .cz-contact-lines address { font-style: normal; color: var(--cz-text); font-weight: 600; text-decoration: none; }
body.cz .inquiry-form-wrapper { background: #fff; border: 1px solid var(--cz-line); border-radius: var(--cz-r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--cz-shadow); }
body.cz .inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
body.cz .inquiry-form > div { display: flex; flex-direction: column; }
body.cz .inquiry-form .full, body.cz .inquiry-form .submit-row { grid-column: 1 / -1; }
body.cz .inquiry-form label { font-size: 13.5px; font-weight: 600; color: var(--cz-text); margin-bottom: 7px; }
body.cz .inquiry-form label .opt { font-weight: 400; color: var(--cz-muted); }
body.cz .inquiry-form input, body.cz .inquiry-form select, body.cz .inquiry-form textarea {
  font: 400 16px var(--cz-sans); color: var(--cz-text); background: #fff; border: 1px solid #cfd3d8; border-radius: 9px;
  padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; width: 100%;
}
body.cz .inquiry-form select { background-image: 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 1l5 5 5-5' fill='none' stroke='%23101214' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
body.cz .inquiry-form input:focus, body.cz .inquiry-form select:focus, body.cz .inquiry-form textarea:focus { border-color: var(--cz-gold-ink); box-shadow: 0 0 0 3px rgba(201, 160, 93, .25); }
body.cz .inquiry-form ::placeholder { color: #a3a9b0; }
body.cz .inquiry-form textarea { resize: vertical; min-height: 104px; }
body.cz .form-submit-btn { position: relative; width: 100%; font: 600 16px var(--cz-sans); padding: 16px 24px; border: 0; border-radius: 999px; background: var(--cz-ink); color: #fff; cursor: pointer; transition: background .18s; }
body.cz .form-submit-btn:hover:not(:disabled) { background: #2a2e33; }
body.cz .form-submit-btn:disabled { opacity: .75; cursor: default; }
body.cz .form-submit-btn .spinner { display: none; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: cz-spin .7s linear infinite; }
body.cz .form-submit-btn.loading .spinner { display: block; }
body.cz .form-submit-btn.loading .btn-text { visibility: hidden; }
@keyframes cz-spin { to { transform: rotate(360deg); } }
body.cz .form-success { display: none; text-align: center; padding: 40px 16px; }
body.cz .form-success.visible { display: block; }
body.cz .form-success .success-icon svg { width: 44px; height: 44px; margin: 0 auto 18px; display: block; color: var(--cz-gold-ink); }
body.cz .form-success h3 { font-size: 26px; margin-bottom: 10px; }
body.cz .form-success p { margin-bottom: 24px; }
.cz-form-trust { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-top: 18px; font: 500 11px var(--cz-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cz-muted); }
@media (max-width: 900px) { .cz-contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { body.cz .inquiry-form { grid-template-columns: 1fr; } }

/* Sub-page hero */
.cz-phero { position: relative; background: var(--cz-char); color: #b9bfc6; overflow: hidden; isolation: isolate; padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 8vw, 104px); }
.cz-phero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cz-phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 18, 20, .96) 0%, rgba(16, 18, 20, .86) 45%, rgba(16, 18, 20, .45) 100%); }
.cz-phero h1 { color: #fff !important; font-size: clamp(38px, 5.4vw, 68px); letter-spacing: -.04em !important; line-height: 1.02 !important; margin: 22px 0; max-width: 16ch; }
.cz-phero .cz-lead { color: #c4c9cf; max-width: 56ch; }
.cz-crumbs { font: 500 11.5px var(--cz-mono); letter-spacing: .08em; text-transform: uppercase; color: #8b929a; margin-bottom: 26px; }
.cz-crumbs a { text-decoration: none; color: #c4c9cf !important; }
@media (max-width: 720px) { .cz-phero::after { background: rgba(16, 18, 20, .86); } }

/* Split (copy + media) */
.cz-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .cz-split { grid-template-columns: 1fr; } }

/* Trust strip */
.cz-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; padding: 16px var(--cz-gutter); background: var(--cz-mist); border-bottom: 1px solid var(--cz-line); font-size: 14px; text-align: center; }
.cz-trust b { color: var(--cz-text); }
.cz-trust a { font-weight: 600; color: var(--cz-text) !important; }

/* Reveal */
html.cz-motion .cz-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease var(--cz-d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--cz-d, 0ms); }
html.cz-motion .cz-reveal.cz-in { opacity: 1; transform: none; }

/* ---------- 4. Retheme layer for existing os-* pages (body.cz-os) ---------- */
body.cz-os {
  --os-paper: #ffffff;
  --os-ink: #101214;
  --os-soft: #3c4148;
  --os-muted: #707070;
  --os-line: #e3e5e8;
  --os-dark: #15171a;
  --os-dark-line: #2a2e33;
  --os-serif: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
}
body.cz-os .os-serif-it { font-style: normal; color: var(--cz-gold-ink); letter-spacing: inherit; }
body.cz-os .os-numbers .os-serif-it, body.cz-os .os-cta .os-serif-it { color: var(--cz-gold); }
body.cz-os .os-display, body.cz-os .os-display-sm, body.cz-os .os-h2 { font-weight: 600; letter-spacing: -.04em; }
body.cz-os .os-btn, body.cz-os .form-submit-btn { border-radius: 999px; }
body.cz-os .os-label b { color: var(--os-ink); }
body.cz-os .os-hero, body.cz-os .os-page-hero { padding-top: 0; }

/* ---------- 5. Legacy pages (body.cz-legacy) + print ---------- */
body.cz-legacy { --czr-accent: #86662c; --czr-accent-dark: #6f5423; --czr-accent-soft: rgba(201, 160, 93, .14); }
.cz-header a, .cz-drawer a { color: inherit; text-decoration: none !important; border-bottom: 0 !important; }
.cz-header .cz-btn, .cz-drawer .cz-btn { color: #fff; }
.cz-drawer .cz-btn-ghost { color: var(--cz-text) !important; }
@media print { .cz-topbar, .cz-header, .cz-drawer, .cz-footer, .cz-skip { display: none !important; } }

/* ---------- 6. Homepage hero: clickable sample project (js/cz-demo.js) ---------- */
.cz-app button { font: inherit; color: inherit; background: none; border: 0; margin: 0; cursor: pointer; text-align: left; }
.cz-app-tabs button { padding: 6px 12px; border-radius: 7px; font: 500 12px var(--cz-mono); color: #aab0b7; }
.cz-app-tabs button:hover { color: #fff; }
.cz-app-tabs button.on { background: rgba(255, 255, 255, .09); color: #fff; }
button.cz-layer, button.cz-cap { width: 100%; }
button.cz-layer { font-size: 13px; }
button.cz-layer:hover, button.cz-cap:hover { background: rgba(255, 255, 255, .05); color: #fff; }
button.cz-cap.on:hover { background: rgba(201, 160, 93, .22); }
.cz-app :focus-visible { outline: 2px solid var(--cz-gold); outline-offset: 2px; border-radius: 6px; }
.cz-app.is-live .cz-app-map { cursor: crosshair; }
#cz-demo-tags .cz-tag { pointer-events: none; }
.cz-tag.usr { background: #fff; color: var(--cz-ink); border-color: #fff; }
.cz-tag.usr b { color: var(--cz-gold-ink); }
.cz-map-tools button { width: 32px; height: 32px; display: grid; place-items: center; background: rgba(13, 15, 17, .86); border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; color: #d6dade; font-size: 18px; line-height: 1; }
.cz-map-tools button:hover { border-color: rgba(255, 255, 255, .45); }
.cz-map-tools button.on { background: var(--cz-gold); color: var(--cz-ink); border-color: var(--cz-gold); }
.cz-map-tools button[hidden] { display: none; }
.cz-map-hint { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 150px); font: 500 10.5px var(--cz-mono); color: #fff; background: rgba(13, 15, 17, .8); border-radius: 6px; padding: 5px 9px; pointer-events: none; }
.cz-map-hint:empty { display: none; }
.cz-map-hint b { color: var(--cz-gold); font-weight: 500; }
.cz-map-legend { position: absolute; right: 12px; top: 12px; display: flex; align-items: center; gap: 8px; font: 500 10.5px var(--cz-mono); color: #fff; background: rgba(13, 15, 17, .8); border-radius: 6px; padding: 5px 9px; pointer-events: none; }
.cz-map-legend[hidden] { display: none; }
.cz-map-legend i { width: 72px; height: 6px; border-radius: 99px; background: linear-gradient(90deg, #4682b4, #c9a05d, #d2691e); }
.cz-app-view { position: absolute; inset: 0; overflow: auto; padding: clamp(16px, 2.4vw, 28px); background: #101214; color: #c4c9cf; font-size: 13.5px; line-height: 1.5; }
.cz-app-view[hidden], .cz-app-map[hidden] { display: none; }
.cz-pbars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; height: 62%; min-height: 150px; margin-top: 6px; }
.cz-app button.cz-pbar { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; text-align: center; border-radius: 10px; padding: 10px 6px; border: 1px solid transparent; }
.cz-app button.cz-pbar:hover { background: rgba(255, 255, 255, .04); }
.cz-app button.cz-pbar.on { background: rgba(201, 160, 93, .12); border-color: rgba(201, 160, 93, .4); }
.cz-pbar-val { font: 600 18px var(--cz-sans); color: #fff; letter-spacing: -.02em; }
.cz-pbar-col { display: flex; align-items: flex-end; justify-content: center; }
.cz-pbar-col i { display: block; width: min(46px, 70%); min-height: 4px; border-radius: 6px 6px 2px 2px; background: #3a4047; transition: height .4s ease; }
.cz-pbar.on .cz-pbar-col i { background: var(--cz-gold); }
.cz-pbar-lab { font: 500 11px var(--cz-mono); color: #9aa1a9; }
.cz-view-note { margin-top: 16px; font-size: 12.5px; color: #9aa1a9; }
.cz-view-note b, .cz-view-lead b { color: #fff; font-weight: 600; }
.cz-view-note a { color: #fff !important; }
.cz-view-lead { font-size: 15px; color: #d6dade; margin-bottom: 14px; }
.cz-rtable { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 13px; }
.cz-rtable th { text-align: left; font: 500 10px var(--cz-mono); letter-spacing: .12em; text-transform: uppercase; color: #737a82; padding: 0 12px 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.cz-rtable td { padding: 9px 12px 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); vertical-align: top; color: #d6dade; }
.cz-rtable td:first-child { color: #9aa1a9; white-space: nowrap; width: 34%; }
@media (max-width: 720px) {
  .cz-app-tabs button { padding: 6px 8px; }
  .cz-app-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .cz-map-hint { max-width: calc(100% - 120px); }
}

/* ---------- 7. Guided tour of the sample project (js/cz-demo.js) ---------- */
.cz-tour { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 16px; background: rgba(201, 160, 93, .09); border-bottom: 1px solid rgba(255, 255, 255, .08); font: 500 13px/1.35 var(--cz-sans); color: #d6dade; }
.cz-tour[hidden] { display: none; }
.cz-tour-badge { flex: none; display: inline-flex; align-items: center; gap: 7px; font: 500 10px var(--cz-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cz-gold); border: 1px solid rgba(201, 160, 93, .45); border-radius: 99px; padding: 4px 9px; }
.cz-tour-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #5a6169; }
.cz-app.is-touring .cz-tour-badge::before { background: var(--cz-gold); animation: cz-tour-pulse 1.4s ease-in-out infinite; }
@keyframes cz-tour-pulse { 50% { opacity: .25; } }
.cz-tour-text { flex: 1; min-width: 0; }
.cz-tour-text b { color: #fff; font-weight: 600; }
.cz-tour-dots { display: flex; gap: 4px; flex: none; }
.cz-tour-dots i { width: 14px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .16); transition: background .3s; }
.cz-tour-dots i.on { background: var(--cz-gold); }
.cz-app .cz-tour button { flex: none; font: 500 11px var(--cz-mono); letter-spacing: .04em; color: #fff; padding: 7px 13px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 99px; white-space: nowrap; }
.cz-app .cz-tour button:hover { background: var(--cz-gold); border-color: var(--cz-gold); color: var(--cz-ink); }
.cz-demo-cursor { position: absolute; left: 0; top: 0; z-index: 6; width: 24px; height: 24px; margin: -2px 0 0 -4px; pointer-events: none; opacity: 0; transition: transform .85s cubic-bezier(.3, .7, .2, 1), opacity .3s; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2.5v17l4.6-4.3 3 6.8 2.8-1.2-3-6.7 6.1-.3L5 2.5Z' fill='%23fff' stroke='%23101214' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5)); }
.cz-demo-cursor.on { opacity: 1; }
.cz-demo-cursor::after { content: ""; position: absolute; left: -11px; top: -13px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--cz-gold); opacity: 0; transform: scale(.3); }
.cz-demo-cursor.click::after { animation: cz-tour-click .55s ease-out; }
@keyframes cz-tour-click { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.5); } }
.cz-app .cz-tour-hit { box-shadow: 0 0 0 2px var(--cz-gold); }
@media (max-width: 720px) { .cz-tour { flex-wrap: wrap; gap: 8px 10px; } .cz-tour-dots { display: none; } .cz-tour-text { flex-basis: 100%; order: 3; } .cz-tour-badge { margin-right: auto; } }
@media (prefers-reduced-motion: reduce) { .cz-demo-cursor { transition: opacity .3s; } }

/* ---------- 8. Pay online (/pay/, tools/build_pay.py, js/cz-pay.js) ---------- */
.cz-pay-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--cz-line); border-radius: var(--cz-r-lg); padding: 28px; transition: border-color .2s, box-shadow .2s; }
.cz-pay-card:hover { border-color: #c5c9ce; box-shadow: var(--cz-shadow); }
.cz-pay-card.is-picked { border-color: var(--cz-gold); box-shadow: 0 0 0 3px rgba(201, 160, 93, .3), var(--cz-shadow); }
.cz-pay-card-alt { background: var(--cz-mist); }
.cz-pay-card p { font-size: 15.5px; }
.cz-pay-card .cz-checks { font-size: 14.5px; margin: 16px 0 24px; }
.cz-pay-price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 12px !important; }
.cz-pay-price b { font: 600 38px/1 var(--cz-sans); letter-spacing: -.035em; color: var(--cz-text); }
.cz-pay-price span { font: 500 11px var(--cz-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cz-muted); }
.cz-pay-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cz-pay-actions .cz-btn:disabled, .cz-pay-submit:disabled { opacity: .7; cursor: progress; transform: none; }
.cz-pay-status, .cz-pay-msg { background: #fdf3ee; border: 1px solid #e9b99d; color: #7a3410; border-radius: 10px; padding: 12px 16px; font-size: 15px; margin: 0 0 20px; }
.cz-pay-status[hidden], .cz-pay-msg[hidden] { display: none; }
.cz-pay-msg { margin: 0; }
.cz-pay-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cz-pay-form > div { display: flex; flex-direction: column; }
.cz-pay-form .full { grid-column: 1 / -1; }
.cz-pay-form label { font-size: 13.5px; font-weight: 600; color: var(--cz-text); margin-bottom: 7px; }
.cz-pay-form label .opt { font-weight: 400; color: var(--cz-muted); }
.cz-pay-form input { font: 400 16px var(--cz-sans); color: var(--cz-text); background: #fff; border: 1px solid #cfd3d8; border-radius: 9px; padding: 12px 14px; outline: none; width: 100%; transition: border-color .15s, box-shadow .15s; }
.cz-pay-form input:focus { border-color: var(--cz-gold-ink); box-shadow: 0 0 0 3px rgba(201, 160, 93, .25); }
.cz-pay-amount { position: relative; }
.cz-pay-amount span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--cz-text); }
.cz-pay-amount input { padding-left: 28px; font-weight: 600; }
.cz-pay-submit { width: 100%; padding: 16px 24px; font-size: 16px; }
.cz-pay-line { font: 600 15.5px var(--cz-sans) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--cz-text) !important; padding: 0 !important; text-align: right; }
.cz-phero .cz-chips svg { color: var(--cz-gold); }
@media (max-width: 560px) { .cz-pay-form { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .cz-steps[style] { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 520px) { .cz-steps[style] { grid-template-columns: 1fr !important; } }

/* ---------- 9. Older styles.css pages (mapping, insurance, licenses, store, work-with-me) ----------
   Their thin, wide-tracked headings predate the cz system; give them the same hero band and type. */
body.cz-legacy .page-header { position: relative; overflow: hidden; text-align: center; color: #b9bfc6; padding: clamp(64px, 9vw, 120px) var(--cz-gutter) clamp(52px, 7vw, 92px); background: radial-gradient(900px 420px at 80% -10%, rgba(201, 160, 93, .18), transparent 62%), radial-gradient(700px 380px at 0% 40%, rgba(70, 130, 180, .12), transparent 60%), linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px, var(--cz-char); }
body.cz-legacy .page-header .page-title { font: 600 clamp(36px, 5.2vw, 64px)/1.03 var(--cz-sans); letter-spacing: -.04em; text-transform: none; color: #fff !important; max-width: 22ch; margin: 0 auto 20px; text-wrap: balance; }
body.cz-legacy .page-header .page-subtitle { font: 500 12px/1.8 var(--cz-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cz-gold) !important; max-width: 74ch; margin: 0 auto 14px; }
body.cz-legacy .page-header .page-author { color: #d6dade; }
body.cz-legacy .page-header img { border: 3px solid rgba(255, 255, 255, .16); }
body.cz-legacy .section-title { font: 600 clamp(26px, 3.2vw, 40px)/1.1 var(--cz-sans); letter-spacing: -.03em; text-transform: none; color: var(--cz-text); }
body.cz-legacy .section-subtitle { font: 500 11.5px var(--cz-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cz-gold-ink); }
