/* =================================================================
   ZETRIXWEB — homepage-redesign.css  (v3)
   Neubrutalist bordered-card system with a warm cream + bold amber
   accent palette (distinct, MotherDuck-adjacent confidence — not a
   copy). Viewport-aware hero, tightened rhythm, consistent card
   grids (1 / 2 / 3-up by content type), icon+title card-head rows.
   ================================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body {
  font-family: "Sora", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100% }
a { color: inherit; text-decoration: none }
ul, ol { list-style: none }
button { font: inherit; cursor: pointer; border: none; background: none }

/* Faint fixed square-grid texture behind everything, matching the same
   overlay every other page gets from styles.css (body::after there) —
   the homepage was missing it because it doesn't load styles.css. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(transparent 95%, rgba(23, 19, 15, 0.04) 96%),
    linear-gradient(90deg, transparent 95%, rgba(23, 19, 15, 0.04) 96%);
  background-size: 36px 36px;
  opacity: 0.30;
}

main, header, footer { position: relative; z-index: 1 }

:root {
  --ink:        #17130F;
  --body:       #55493D;
  --muted:      #948A7C;
  --bg:         #FFFBF2;
  --line:       rgba(23,19,15,.85);
  --line-soft:  rgba(23,19,15,.13);

  /* bold amber accent (backgrounds/fills/borders — decorative) */
  --accent:      #FFC633;
  --accent-dark: #A9660B; /* darker gold — used for text/links needing contrast */
  --accent-lo:   #FFF3D6;

  /* warm tint set replacing the old blue/pastel wash system */
  --mint:          #FDECC4;
  --mint-tile:     #FFF3D8;
  --lavender:      #FFE2CE;
  --lavender-tile: #FFD9C0;
  --cream-tile:    #FCE3AE;
  --sky-tile:      #E4EFE1;
  --pink-tile:     #FFD8C9;
  --green-tile:    #E1EFDC;

  --radius:     18px;
  --radius-sm:  10px;
  --shadow-hard: 4px 4px 0 var(--line);
  --ease: cubic-bezier(.4,0,.2,1);

  /* Tokens the .theme-toggle component (ported below from styles.css)
     relies on but that this file didn't otherwise define. */
  --surface:      #ffffff;
  --shadow-1:     4px 4px 0 var(--line);
  --shadow-2:     6px 6px 0 var(--line);
  --caps-spacing: 0.08em;
  --space-3:      8px;
  --space-4:      10px;
  --space-6:      14px;
  --fs-meta:      12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Theme toggle — ported verbatim from styles.css so the homepage (which
   only loads this file) renders it identically to every other page. */
.theme-toggle {
  position: fixed;
  right: 24px;
  bottom: 128px;
  z-index: 9998;
  border-radius: 999px;
  padding: var(--space-4) var(--space-6);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-1);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: var(--caps-spacing);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-toggle--nav {
  position: static;
  right: auto;
  bottom: auto;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  gap: 0;
  justify-content: center;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  animation: none;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.theme-toggle--nav:hover,
.theme-toggle--nav:focus-visible {
  transform: none;
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
  animation: none;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.theme-toggle .theme-icon-wrap {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
  position: relative;
}

.theme-toggle--nav .theme-icon-wrap {
  width: 22px;
  height: 22px;
  background: var(--surface);
  border-color: var(--line);
  color: var(--muted);
}

.theme-toggle .theme-icon {
  width: 12px;
  height: 12px;
  display: block;
}

.theme-toggle--nav .theme-icon {
  width: 14px;
  height: 14px;
}

.theme-toggle:not(.theme-toggle--nav)[data-mode="auto"] .theme-icon-wrap {
  color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 198, 51, 0.16);
}

.theme-toggle:not(.theme-toggle--nav)[data-mode="light"] .theme-icon-wrap {
  color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(255, 198, 51, 0.2);
}

.theme-toggle:not(.theme-toggle--nav)[data-mode="dark"] .theme-icon-wrap {
  color: var(--ink);
  box-shadow: 0 0 0 3px rgba(159, 159, 159, 0.2);
}

.theme-toggle--nav[data-mode="light"] {
  color: var(--accent-dark);
}

.theme-toggle--nav[data-mode="dark"] {
  color: var(--ink);
}

.theme-toggle--nav[data-mode="auto"] {
  color: var(--accent);
}

.theme-toggle--nav[data-mode="auto"] .theme-icon-wrap {
  color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 198, 51, 0.16);
}

.theme-toggle--nav[data-mode="light"] .theme-icon-wrap {
  color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(255, 198, 51, 0.2);
}

.theme-toggle--nav[data-mode="dark"] .theme-icon-wrap {
  color: var(--ink);
  box-shadow: 0 0 0 3px rgba(159, 159, 159, 0.2);
}

.wrap { width: 100%; max-width: 1272px; margin: 0 auto; padding: 0 24px }
.zsection { padding: 72px 0 }


/* ── TYPE ───────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent-dark); display: inline-block }
.eyebrow.on-dark { color: rgba(255,255,255,.5) }
.eyebrow.on-dark::before, .cta-band .eyebrow::before { background: var(--accent) }
h1.zh {
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.06;
  color: var(--ink);
}

h2.zh {
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
  color: var(--ink);
}
h2.zh.on-dark, h1.zh.on-dark { color: #fff }
h3.zh3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--ink) }
h3.zh3 a { color: var(--accent-dark); text-decoration: underline }
.zlede { font-size: 16.5px; color: var(--body); line-height: 1.65 }
.zlede.on-dark { color: rgba(255,255,255,.65) }
.zbody { font-size: 15px; color: var(--body); line-height: 1.65 }
.zsmall { font-size: 13px; color: var(--muted) }
.center { text-align: center }
.header-block { max-width: 640px; margin: 0 0 36px; text-align: left }
.header-block.left { margin: 0 0 36px }
.header-block.wide { max-width: 820px }
.header-block.center { text-align: center; margin-left: auto; margin-right: auto }
.eyebrow.center { justify-content: center }
.hero-single { width: 100%; margin: 0 auto }

/* ── BUTTONS / HEADER / MEGA-MENU ──────────────────────────────────
   Intentionally NOT duplicated here. styles.css now loads before this
   file on the homepage (see index.html), and it already defines .zbtn*,
   .zheader*, .znav*, .nav-more*, and the full .mega-panel/.mega-card
   system identically for every page. Keeping a second copy here was
   the exact reason the homepage kept drifting out of sync with fixes
   made only in styles.css (header CTA shadow, mega-panel backdrop,
   etc.) — removed so every future shared-component fix in styles.css
   applies to the homepage automatically, with no manual porting. */

/* ── HERO — single-column, centered, premium & interactive ───────── */
.s-hero {
  position: relative; overflow: hidden;
  padding: 44px 0 48px;
}
.s-hero::before, .s-hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px);
  opacity: .4; z-index: 0; pointer-events: none; animation: hero-float 16s ease-in-out infinite;
}
.s-hero::before { width: 360px; height: 360px; background: var(--accent); top: -100px; left: -80px }
.s-hero::after { width: 300px; height: 300px; background: var(--pink-tile); bottom: -80px; right: -60px; animation-delay: -8s }
@keyframes hero-float { 0%,100% { transform: translate(0,0) } 50% { transform: translate(24px,-26px) } }
.s-hero .wrap { position: relative; z-index: 1 }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 20px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); box-shadow: var(--shadow-hard);
  font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 24px;
}
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-dark); flex-shrink: 0; animation: dot-pulse-accent 1.8s ease-in-out infinite }
@keyframes dot-pulse-accent { 0%,100%{ box-shadow: 0 0 0 0 rgba(169,102,11,.4) } 50%{ box-shadow: 0 0 0 6px rgba(169,102,11,0) } }



.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #1CB45A; flex-shrink: 0; animation: dot-pulse 1.8s ease-in-out infinite }
@keyframes dot-pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(28,180,90,.45) } 50%{ box-shadow: 0 0 0 6px rgba(28,180,90,0) } }

/* ── TRUST ROW (hero) ───────────────────────────────────────────── */
.trust-row { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 30px }
.trust-row.center { justify-content: center }
.trust-item { display: flex; align-items: center; gap: 10px }
.trust-item .ico { width: 24px; height: 24px; flex-shrink: 0 }
.trust-item span { font-size: 13px; font-weight: 700; color: var(--ink) }

/* ── TRUST LEDGER STRIP ───────────────────────────────────────────── */
.trust-ledger { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none }
.trust-ledger::-webkit-scrollbar { display: none }
.trust-ledger-label { font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding-right: 14px; border-right: 1px solid var(--line-soft); margin-right: 4px; flex-shrink: 0; white-space: nowrap }
.trust-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--body); flex-shrink: 0; white-space: nowrap }
.trust-chip .icon { width: 13px; height: 13px }
.trust-chip em { font-style: normal; color: var(--ink); font-weight: 800 }
.trust-chip-live { background: var(--accent-lo); border-color: var(--accent-dark); color: var(--accent-dark); font-weight: 800 }

/* ── ENTERPRISE CLIENTS — TRUST WALL ──────────────────────────────── */
.s-enterprise { background: var(--sky-tile) }
.trust-feature-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px }
.trust-feature {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.trust-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-hard); border-color: var(--ink) }
.trust-feature-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px }
.trust-feature-logo { height: 52px; width: 52px; border-radius: 12px; overflow: hidden; background: var(--bg); border: 1.5px solid var(--line-soft); display: flex; align-items: center; justify-content: center; padding: 7px; flex-shrink: 0 }
.trust-feature-logo img { width: 100%; height: 100%; object-fit: contain }
.trust-feature-name { font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); line-height: 1.25 }
.trust-feature-stat { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px }
.trust-feature-stat b { font-size: 30px; font-weight: 800; color: var(--accent-dark); letter-spacing: -.02em }
.trust-feature-stat span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted) }
.trust-feature p { font-size: 13.5px; color: var(--body); line-height: 1.6 }

/* .trust-strip is also used on our-promise.html as a flex row of flat
   badges (styled in styles.css with display:flex, a soft-shadow card
   background, and its own margin/padding). The homepage reuses the same
   class name for a different structure (a label + logo grid), so every
   property below is explicitly reset — otherwise the flex/background/
   shadow rules from styles.css bleed through and collapse the grid to a
   single narrow column, since homepage-redesign.css loads after but
   never overrides them. */
.trust-strip {
  display: block;
  flex-wrap: initial;
  gap: initial;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin: 40px 0 0;
  padding: 28px 0 0;
  border-top: 1.5px solid var(--line-soft);
}
.trust-strip-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px }
.trust-strip-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 10px 12px }
.trust-chip-item {
  display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px 0 7px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.trust-chip-item:hover { border-color: var(--accent-dark); box-shadow: 2px 2px 0 var(--line) }
.trust-chip-item img { height: 22px; width: 22px; border-radius: 50%; object-fit: contain; padding: 3px; box-sizing: border-box; background: var(--bg); flex-shrink: 0 }
.trust-chip-item span { font-size: 12.5px; font-weight: 800; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }

/* ── CARD (bordered, flat) ──────────────────────────────────────── */
.zcard {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.zcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-hard) }

/* ── card-head: icon + title share one row, used across all card types ── */
.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px }
.card-head .zicon { margin-bottom: 0; flex-shrink: 0 }
.card-head h3, .card-head h4, .card-head h5 { margin: 0 }

/* ── GRID SYSTEM — 1 / 2 / 3-up by content type ──────────────────── */
.grid { display: grid; gap: 20px }
.grid-3 { grid-template-columns: repeat(3, 1fr) }
.grid-2 { grid-template-columns: repeat(2, 1fr) }
.grid-4 { grid-template-columns: repeat(4, 1fr) }
/* flexible row for card sets whose count isn't a clean multiple of 3 —
   wraps and centers the final partial row instead of leaving it ragged */
.card-row-flex { display: flex; flex-wrap: wrap; gap: 20px; justify-content: flex-start }
.card-row-flex > * { flex: 1 1 300px; max-width: 380px }

/* icon badge — sketchy line style substitute */
.zicon {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--ink);
  flex-shrink: 0;
}
.zicon svg { width: 20px; height: 20px }

/* ── TAGS ───────────────────────────────────────────────────────── */
.ztags { display: flex; flex-wrap: wrap; gap: 8px }
.ztag {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px;
  border-radius: 8px; border: 1.5px solid var(--line);
  font-size: 12.5px; font-weight: 700; color: var(--ink);
}

/* ── TESTIMONIALS (black section) ───────────────────────────────── */
/* Fixed dark background, not themed var(--ink) — this section's text
   (.eyebrow.on-dark, .zh.on-dark, .zlede.on-dark) is permanently white
   regardless of theme, so the background must stay permanently dark too.
   var(--ink) flips to near-white in dark mode, which produced
   white-on-white heading text. Matches the same fixed-dark treatment
   used for .cta-band and .zfooter. */
.s-dark { background: #17130F }
.tcard { background: var(--surface); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px }
.tcard-top { display: flex; align-items: center; justify-content: space-between }
.stars { color: var(--accent-dark); font-size: 14px; font-weight: 800; letter-spacing: 1px }
.tavatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0 }
.tperson { display: flex; align-items: center; gap: 12px }
.tperson strong { font-size: 14.5px; display: block }
.tperson span { font-size: 12.5px; color: var(--muted) }
.tquote { font-size: 14.5px; color: var(--body); line-height: 1.6; flex: 1 }

/* ── PORTFOLIO SPLIT ────────────────────────────────────────────── */
.case-block { border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 24px }
.case-block.reverse { direction: rtl }
.case-block.reverse > * { direction: ltr }
.case-visual { background: var(--accent-lo); display: flex; align-items: center; justify-content: center; padding: 36px; min-height: 300px }
.case-visual img { max-height: 240px; width: auto; object-fit: contain }
.case-copy { padding: 36px }
.case-copy h3 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 10px; line-height: 1.25 }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 }
.kpi-tile { border-radius: 12px; padding: 15px 18px }
.kpi-tile b { display: block; font-size: 23px; font-weight: 800; letter-spacing: -.02em }
.kpi-tile span { font-size: 12.5px; color: var(--body) }
.kpi-cream { background: var(--cream-tile) }
.kpi-sky { background: var(--sky-tile) }
.kpi-lav { background: var(--lavender-tile) }
.kpi-green { background: var(--green-tile) }
.kpi-pink { background: var(--pink-tile) }

/* ── CREDENTIALS (warm wash) ────────────────────────────────────── */
.s-lavender { background: var(--lavender) }

/* ── TECH STACK (chip cards) ─────────────────────────────────────── */
.tech-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px }
.tech-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 7px; border: 1px solid var(--line-soft); background: var(--surface); font-size: 12px; font-weight: 700; font-family: ui-monospace, "Cascadia Code", monospace; color: var(--body) }

/* ── AI TOOLING CHIP ROW ─────────────────────────────────────────── */
.ai-card { border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 26px; box-shadow: var(--shadow-hard) }
.ai-chip-row { display: flex; flex-wrap: wrap; gap: 10px }
.ai-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 8px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 700 }
.ai-chip img { width: 18px; height: 18px; object-fit: contain; display: none }
.ai-chip.has-logo img { display: block }
.ai-chip.has-logo .ai-chip-init { display: none }
.ai-chip-init { width: 18px; height: 18px; border-radius: 5px; background: var(--accent-lo); color: var(--accent-dark); font-size: 8px; font-weight: 800; display: grid; place-items: center }
.ai-stack-note { margin-top: 32px }
.ai-stack-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px }

/* ── OUR STORY — big bold stat statement ─────────────────────────── */
.story-hero-stat { text-align: center; margin: 8px auto 40px; max-width: 620px }
.story-hero-num { line-height: 1 }
.story-hero-num b { font-size: clamp(96px, 14vw, 168px); font-weight: 800; letter-spacing: -.03em; color: var(--ink) }
.story-hero-label { font-size: 15.5px; color: var(--body); line-height: 1.6; margin-top: 12px }

.story-stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); margin-bottom: 40px }
.story-stat-item { text-align: center; padding: 22px 12px; border-right: 1.5px solid var(--line) }
.story-stat-item:last-child { border-right: none }
.story-stat-item b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--accent-dark); margin-bottom: 4px }
.story-stat-item span { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted) }

/* quote card — replaces the plain border-left blockquote */
.story-quote-card { border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 28px; margin: 0 auto; max-width: 640px; text-align: left; box-shadow: var(--shadow-hard) }
.story-quote-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; color: var(--ink); margin-bottom: 14px }
.story-quote-mark svg { width: 18px; height: 18px }
.story-quote-card blockquote { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.55; letter-spacing: -.005em }
.story-quote-card cite { display: block; margin-top: 14px; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em }

/* ── LEADERSHIP ───────────────────────────────────────────────────── */
.leader-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px }
.leader-tile { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; transition: transform .18s var(--ease), box-shadow .18s var(--ease) }
.leader-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-hard) }
.leader-tile-photo { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; border: 1.5px solid var(--line) }
.leader-tile-photo img { width: 100%; height: 100%; object-fit: cover }
.leader-tile h3 { font-size: 16px; font-weight: 800; color: var(--ink) }
.leader-tile-role { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-dark); margin: 4px 0 12px }
.leader-tile p { font-size: 13px; color: var(--body); line-height: 1.55 }

/* ── FIELD VISIT ──────────────────────────────────────────────────── */
.s-field { padding: 44px 0; background: var(--pink-tile) }
.s-field .header-block { margin-bottom: 24px }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch }
.field-photo { border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 340px }
.field-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s var(--ease) }
.field-photo:hover img { transform: scale(1.05) }
.field-card { border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px 22px; height: 340px; display: flex; flex-direction: column; justify-content: center }
.field-card .zh3 { font-size: 17px }

/* ── WHY US — STANDARD LEDGER ───────────────────────────────────── */
.standard-layout { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start }
.standard-intro { position: sticky; top: 100px }
.standard-list { border-top: 1.5px solid var(--line) }
.standard-item { display: flex; gap: 20px; align-items: flex-start; padding: 24px 4px; border-bottom: 1.5px solid var(--line) }
.standard-num { font-size: 13px; font-weight: 800; color: var(--accent-dark); flex-shrink: 0; width: 28px; padding-top: 2px }
.standard-body h4 { font-size: 16.5px; font-weight: 800; color: var(--ink); margin-bottom: 5px }
.standard-body p { font-size: 13.5px; color: var(--body); line-height: 1.6; max-width: 520px }

/* ── HOW TO GET STARTED — 3 steps ────────────────────────────────── */
.step-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px }
.step-item { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative }
.step-num { font-size: 13px; font-weight: 800; color: var(--accent-dark); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 12px; display: block }
.step-item .card-head h3 { font-size: 18px; font-weight: 800 }
.step-item .zsmall.tag { display: block; font-weight: 700; color: var(--ink); margin: 10px 0 10px }

/* ── RESOURCES / BLOG TEASER ─────────────────────────────────────── */
.res-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px }
.res-card { display: block; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .18s var(--ease), box-shadow .18s var(--ease) }
.res-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hard) }
.res-card .eyebrow { margin-bottom: 10px }
.res-card h4 { font-size: 15.5px; font-weight: 800; line-height: 1.4 }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq-list { border-top: 1.5px solid var(--line) }
.faq-item { border: none; border-radius: 0; margin-bottom: 0; border-bottom: 1.5px solid var(--line); overflow: hidden }
.faq-q { width: 100%; display: flex; align-items: center; gap: 18px; padding: 22px 4px; font-size: 15.5px; font-weight: 700; text-align: left }
.faq-num { font-size: 13px; font-weight: 800; color: var(--accent-dark); flex-shrink: 0; width: 26px }
.faq-q-text { flex: 1 }
.faq-plus { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; flex-shrink: 0 }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--ink); top: 50%; left: 50%; transform: translate(-50%,-50%) }
.faq-plus::before { width: 10px; height: 1.5px }
.faq-plus::after { width: 1.5px; height: 10px; transition: transform .2s var(--ease) }
.faq-item.open .faq-plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0 }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s var(--ease) }
.faq-a p { padding: 0 4px 20px 48px; font-size: 14px; color: var(--body); line-height: 1.6 }
.faq-item.open .faq-a { max-height: 300px }

/* ── FINAL CTA — dark band, bold amber button ────────────────────── */
.cta-band { background: #17130F; border-radius: 28px; padding: 52px 40px; text-align: center; color: #fff; min-height: 42vh; display: flex; flex-direction: column; align-items: center; justify-content: center }
.cta-band h2 { color: #fff; margin-bottom: 12px }
.cta-band p { color: rgba(255,255,255,.75); max-width: 520px; margin: 0 auto 26px }
.cta-band .zbtn-ghost { background: #fff; color: #17130F }
.cta-band .zbtn-primary { background: var(--accent); color: #17130F; border-color: var(--accent) }
.cta-divider { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 480px; margin: 30px 0 18px }
.cta-divider::before, .cta-divider::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.18) }
.cta-divider span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.5); white-space: nowrap }
.cta-quick-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: 100%; max-width: 620px }
.cta-quick-form input { flex: 1 1 160px; height: 44px; padding: 0 14px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; font-size: 13.5px; font-family: inherit }
.cta-quick-form input::placeholder { color: rgba(255,255,255,.5) }
.cta-quick-form input:focus { outline: none; border-color: var(--accent) }
.cta-quick-form button { flex: 1 1 100%; height: 44px }
.cta-form-note { font-size: 12px; color: rgba(255,255,255,.45); margin: 14px 0 0 }
.cta-quick-panel { width: 100%; max-width: 640px; margin-top: 8px; padding: 28px 28px 24px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; align-items: center }
.cta-quick-panel .cta-divider { margin: 0 0 18px }
.cta-quick-panel .form-captcha { flex: 1 1 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 4px 0 2px }
.form-hint.on-dark { color: rgba(255,255,255,.5) }
.cta-quick-panel .form-error { background: rgba(255,255,255,.08); color: #ffb4b4 }

/* ── TRIAL SPRINT BAND ─────────────────────────────────────────── */
.trial-band { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-hard); padding: 48px 40px; text-align: center }
.trial-band .eyebrow { justify-content: center }
.trial-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 32px; margin-top: 26px }
.trial-point { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink) }
.trial-point svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent-dark) }
.hero-card { margin-bottom: 28px }

/* ── FOOTER ─────────────────────────────────────────────────────── */
.zfooter { background: #17130F; color: rgba(255,255,255,.85); padding: 56px 0 28px }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.14); margin-bottom: 22px }
.footer-brand { padding-right: 12px }
.footer-tagline { font-size: 13.5px; color: rgba(255,255,255,.55); line-height: 1.6; margin: 14px 0 20px; max-width: 260px }
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.75) }
.footer-contact a:hover { color: var(--accent) }
.footer-contact svg { width: 15px; height: 15px; flex-shrink: 0 }
.footer-col { display: flex; flex-direction: column; gap: 12px }
.footer-col-head { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 2px }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,.6) }
.footer-col a:hover { color: var(--accent) }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4) }
.footer-cta { font-size: 13px; font-weight: 800; color: var(--accent) }
.footer-social { display: flex; gap: 10px; margin-top: 4px }
.footer-social a { width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center }
.footer-social img { width: 15px; height: 15px; filter: invert(1); opacity: .8 }

/* ── REVEAL ─────────────────────────────────────────────────────── */
.zreveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease) }
.zreveal.in-view { opacity: 1; transform: none }

/* ── CREDENTIALS WALL ───────────────────────────────────────────── */
.cred-wall { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 8px }
.cred-tile { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-hard); padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; transition: transform .18s var(--ease), box-shadow .18s var(--ease) }
.cred-tile:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--line) }
.cred-tile:has(.cred-ic-1) { background: var(--mint-tile) }
.cred-tile:has(.cred-ic-2) { background: var(--pink-tile) }
.cred-tile:has(.cred-ic-3) { background: var(--cream-tile) }
.cred-tile:has(.cred-ic-4) { background: var(--sky-tile) }
.cred-tile-head { display: flex; align-items: center; gap: 12px; margin-bottom: 2px }
.cred-tile-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1.5px solid var(--line); color: var(--accent-dark); flex-shrink: 0 }
.cred-tile-icon svg { width: 20px; height: 20px }
.cred-tile-stat { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.15 }
.cred-tile h4 { font-size: 14.5px; font-weight: 800; color: var(--ink) }
.cred-tile p { font-size: 12.5px; color: var(--body); line-height: 1.55 }

/* ── EXPERTISE LIST ─────────────────────────────────────────────── */
.expertise-list { border-top: 1.5px solid var(--line); margin-top: 8px }
.expertise-row { display: flex; align-items: center; gap: 24px; padding: 26px 6px; border-bottom: 1.5px solid var(--line); text-decoration: none; color: inherit; transition: padding-left .2s var(--ease), background .2s var(--ease) }
.expertise-row:hover { padding-left: 16px; background: var(--surface-2) }
.expertise-num { font-size: 13px; font-weight: 800; color: var(--muted); flex-shrink: 0; width: 26px; letter-spacing: .02em }
.expertise-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent-dark); transition: background .2s var(--ease), color .2s var(--ease) }
.expertise-row:hover .expertise-icon { background: var(--ink); color: var(--accent) }
.expertise-icon svg { width: 24px; height: 24px }
.expertise-body { flex: 1; min-width: 0 }
.expertise-body h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); margin-bottom: 4px }
.expertise-body p { font-size: 13.5px; color: var(--body); line-height: 1.55; max-width: 580px }
.expertise-arrow { width: 20px; height: 20px; color: var(--ink); flex-shrink: 0; opacity: 0; transform: translateX(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease) }
.expertise-row:hover .expertise-arrow { opacity: 1; transform: translateX(0) }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2,1fr) }
  .grid-3 { grid-template-columns: repeat(2,1fr) }
  .step-grid { grid-template-columns: 1fr }
  .res-grid { grid-template-columns: 1fr }
  .znav { display: none }
  .story-stat-row { grid-template-columns: repeat(2,1fr) }
  .story-stat-item:nth-child(2n) { border-right: none }
  .story-stat-item:nth-child(1), .story-stat-item:nth-child(2) { border-bottom: 1.5px solid var(--line) }
  .hero-flex { grid-template-columns: 1fr }
  .field-grid { grid-template-columns: 1fr }
  .field-photo { height: 260px }
  .field-card { height: auto }
  .trust-feature-row { grid-template-columns: 1fr }
  .expertise-row { gap: 16px; padding: 20px 4px }
  .expertise-icon { width: 44px; height: 44px }
  .expertise-icon svg { width: 20px; height: 20px }
  .expertise-arrow { display: none }
  .cred-wall { grid-template-columns: repeat(2,1fr) }
  .standard-layout { grid-template-columns: 1fr; gap: 24px }
  .standard-intro { position: static }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px }
  .footer-brand { grid-column: 1 / -1; padding-right: 0 }
}
@media (max-width: 760px) {
  .zsection { padding: 56px 0 }
  .case-block, .case-block.reverse { grid-template-columns: 1fr; direction: ltr }
  .kpi-grid { grid-template-columns: 1fr 1fr }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr }
  .leader-row { grid-template-columns: 1fr }
  .trust-strip-row { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) }
  .card-row-flex > * { flex-basis: 100%; max-width: 100% }
  .standard-item { gap: 14px; padding: 18px 4px }
  .standard-body h4 { font-size: 15.5px }
  .faq-q { gap: 12px; font-size: 14.5px }
  .faq-a p { padding-left: 4px }
  .footer-grid { grid-template-columns: 1fr }
  .wrap { padding: 0 20px }
  .trust-ledger { justify-content: flex-start; mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent) }
  .trust-chip { font-size: 11.5px; height: 28px; padding: 0 10px }
  .expertise-body h3 { font-size: 16.5px }
  .expertise-body p { font-size: 13px }
  .cred-wall { grid-template-columns: 1fr }
}
