/* ===================================================================
   Zero Limits Ventures — Design System 2 ("Confident Institutional")
   Dark navy theme · Inter + Source Serif 4 · flat, tight, signal-only
   Source of truth: design/Design 2 handoff. Tokens below are canonical.
   =================================================================== */

:root {
  /* Color — dark theme (ships) */
  --bg:          #081626;  /* page background */
  --surface:     #0F2440;  /* panels, quote block */
  --surface-alt: #0a1d34;  /* methodology bg / card cells */
  --elevated:    #15314D;  /* cards, number ghost */
  --gold:        #D4B785;  /* premium accents */
  --ink:         #E4ECF5;  /* headlines & body */
  --ink-2:       #9CB0C8;  /* sub-heads, paragraph body */
  --ink-3:       #6A7E94;  /* meta, labels, eyebrows */
  --ink-4:       #4f6178;  /* disclaimers */
  --brand:       #3D6BB8;  /* brand blue (sparingly) */
  --green:       #34D89C;  /* primary CTAs, success multiple */
  --cyan:        #67E8F9;  /* data highlights, "value" */
  --teal:        #22B4C9;  /* eyebrow ticks, links, data viz */

  --hair:      rgba(156,176,200,0.12);
  --hair-soft: rgba(156,176,200,0.10);
  --hair-2:    rgba(156,176,200,0.14);

  --maxw: 1240px;
  --pad-x: clamp(20px, 5vw, 64px);
  --sect-y: clamp(80px, 11vw, 150px);

  --ff-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-serif: 'Source Serif 4', Georgia, serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: rgba(103,232,249,0.22); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; }

@keyframes zlvPulseDot { 0%,100%{opacity:.35;transform:scale(.85)} 50%{opacity:1;transform:scale(1)} }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { position: relative; padding: var(--sect-y) 0; }
.section--alt { background: var(--surface-alt); border-top: 1px solid var(--hair-soft); }
.section--hair { border-top: 1px solid var(--hair-soft); }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.measure { max-width: 640px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--teal); display: block; flex: 0 0 auto; }
.eyebrow--center::after { content: ""; width: 26px; height: 1px; background: var(--teal); display: block; flex: 0 0 auto; }
.eyebrow--gold { color: var(--gold); }
.eyebrow--plain::before { display: none; }

.h1 { margin: 0; font-size: clamp(40px,5.6vw,74px); line-height: 1.0; font-weight: 600; letter-spacing: -0.028em; color: var(--ink); }
.h2 { margin: 0; font-size: clamp(32px,4.2vw,52px); line-height: 1.04; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.h2--cta { font-size: clamp(34px,5vw,62px); letter-spacing: -0.028em; }
.h3 { margin: 0; font-size: clamp(24px,3vw,34px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.h4 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }

.lead { font-size: clamp(16px,1.3vw,18.5px); line-height: 1.62; color: var(--ink-2); }
.body { font-size: 17px; line-height: 1.62; color: var(--ink-2); }
.small { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.meta { font-size: 12px; color: var(--ink-3); }

.c-cyan  { color: var(--cyan); }
.c-green { color: var(--green); }
.c-gold  { color: var(--gold); }
.c-ink   { color: var(--ink); }
.c-ink2  { color: var(--ink-2); }

/* Long-form prose blocks (case studies, philosophy, bios) */
.prose > * + * { margin-top: 22px; }
.prose p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose p strong, .prose strong { color: var(--ink); font-weight: 600; }
.prose h2 { margin: 0 0 4px; }
.prose h3 { margin: 0 0 2px; }
.prose .lead { color: var(--ink); }
.prose ul { margin: 0; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 22px; margin: 12px 0; color: var(--ink-2); line-height: 1.6; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  padding: 15px 26px; border-radius: 2px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: filter .18s var(--ease), transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.btn .arw { font-size: 17px; line-height: 1; }
.btn--solid { background: var(--green); color: #04231a; }
.btn--solid:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(156,176,200,0.32); color: var(--ink); font-weight: 500; }
.btn--ghost:hover { background: rgba(255,255,255,0.05); border-color: rgba(156,176,200,0.5); }
.btn--gold { background: var(--gold); color: #20180a; }
.btn--gold:hover { filter: brightness(1.06); transform: translateY(-2px); }
.btn--sm { font-size: 13px; padding: 10px 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.tlink { color: var(--teal); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: 0.01em; transition: color .18s; }
.tlink:hover { color: var(--cyan); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad-x);
  background: rgba(8,22,38,0);
  border-bottom: 1px solid rgba(156,176,200,0);
  transition: background .4s ease, border-color .4s ease, backdrop-filter .4s ease;
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; flex: 0 0 auto;
  border: 1px solid rgba(212,183,133,0.55);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink); }
.brand-sub { font-size: 9px; letter-spacing: 0.3em; color: var(--ink-3); text-transform: uppercase; margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: clamp(16px,2.4vw,34px); }
.nav__links a { font-size: 13.5px; color: var(--ink-2); text-decoration: none; letter-spacing: 0.01em; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__toggle { display: none; }
@media (max-width: 860px) {
  .nav__links a:not(.btn) { display: none; }
}

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(125% 95% at 74% 14%, #103258 0%, #0b2240 36%, #081626 72%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hero__fade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,22,38,0) 55%, rgba(8,22,38,0.85) 100%); }
.hero__inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 120px var(--pad-x) 80px;
  display: flex; flex-wrap: wrap; gap: clamp(36px,5vw,72px); align-items: center;
}
.hero__col { flex: 1 1 520px; min-width: 300px; }
.hero__aside { flex: 0 1 380px; min-width: 300px; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: .6; }
.scroll-cue span:first-child { font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3); }
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(180deg, var(--teal), transparent); display: block; }

/* Interior page header (hero variant, no canvas) */
.page-header {
  position: relative; padding: clamp(130px,16vw,190px) 0 clamp(56px,8vw,90px);
  background: radial-gradient(125% 120% at 70% 0%, #103258 0%, #0b2240 40%, #081626 78%);
  border-bottom: 1px solid var(--hair-soft);
}
.page-header .lead { margin-top: 26px; max-width: 640px; }
.page-header .h1 { max-width: 16ch; }
.crumb { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }
.crumb a { color: var(--ink-3); text-decoration: none; }
.crumb a:hover { color: var(--ink-2); }

/* ---------- Proof bar ---------- */
.proof-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px clamp(18px,3vw,40px);
  padding: 26px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.proof-bar span { font-size: 13px; color: var(--ink-2); letter-spacing: 0.01em; }
.proof-bar .sep { color: var(--ink-4); }
.proof-bar b { color: var(--ink); font-weight: 600; }

/* ---------- Case-study card (hero aside + reusable) ---------- */
.case-card {
  background: rgba(15,36,64,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(103,232,249,0.18); border-radius: 4px;
  padding: 28px 30px 26px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
}
.case-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.microlabel { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: zlvPulseDot 2.4s ease-in-out infinite; }
.case-card__big { font-size: 54px; font-weight: 700; letter-spacing: -0.03em; color: var(--cyan); font-variant-numeric: tabular-nums; line-height: 1; }
.case-card__cap { margin: 10px 0 24px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.kv-row { display: flex; gap: 0; border-top: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); }
.kv { flex: 1; padding: 16px 0; text-align: left; }
.kv + .kv { border-left: 1px solid var(--hair-2); padding-left: 18px; }
.kv__label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.kv__val { font-size: 20px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.case-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; font-size: 12px; }

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 0;
  border-top: 1px solid var(--hair-2); }
.stat { padding: 38px 28px; border-right: 1px solid var(--hair-soft); }
.stat:last-child { border-right: none; }
.stat__num { font-size: clamp(40px,4.4vw,56px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.stat__num .suf { font-size: 0.42em; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.stat__label { margin-top: 12px; font-size: 13px; letter-spacing: 0.04em; color: var(--ink-2); }

/* ---------- Quote ---------- */
.quote { padding: 34px 36px; background: var(--surface); border-left: 2px solid var(--gold); border-radius: 0 4px 4px 0; }
.quote p { margin: 0; font-family: var(--ff-serif); font-style: italic; font-size: 23px; line-height: 1.42; color: var(--ink); font-weight: 400; }
.quote .attr { margin: 22px 0 0; font-size: 13px; letter-spacing: 0.04em; color: var(--ink-3); font-style: normal; font-family: var(--ff-sans); }

/* ---------- Featured banner ---------- */
.featured { position: relative; overflow: hidden; border-radius: 5px;
  background: linear-gradient(110deg, #0F2440 0%, #123257 60%, #0E2D52 100%);
  border: 1px solid rgba(103,232,249,0.14); }
.featured__glow { position: absolute; right: -60px; top: -60px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(103,232,249,0.16), transparent 68%); pointer-events: none; }
.featured__inner { position: relative; padding: clamp(34px,4vw,52px); display: flex; flex-wrap: wrap; gap: 32px;
  align-items: center; justify-content: space-between; }

/* ---------- Matrix (hairline card grid) ---------- */
.matrix { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 1px;
  background: var(--hair-soft); border: 1px solid var(--hair-soft); border-radius: 4px; overflow: hidden; }
.matrix__cell { background: var(--surface-alt); padding: 34px 30px; transition: background .3s; }
.matrix--onsurface .matrix__cell { background: var(--bg); }
.matrix__cell:hover { background: var(--surface); }
.matrix__idx { font-size: 12px; font-weight: 600; color: var(--teal); letter-spacing: 0.06em; margin-bottom: 18px; }
.matrix__idx--green { color: var(--green); }
.matrix__title { font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.01em; }
.matrix__desc { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }

/* Ghost number */
.ghost-num { font-size: clamp(70px,9vw,124px); font-weight: 700; letter-spacing: -0.04em; color: var(--elevated); line-height: 0.9; font-variant-numeric: tabular-nums; }

/* ---------- Generic cards / grids ---------- */
.grid { display: grid; gap: clamp(20px,3vw,32px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.card { background: var(--surface); border: 1px solid var(--hair-soft); border-radius: 4px; padding: clamp(26px,3vw,36px); transition: border-color .2s, transform .2s; }
.card--link { text-decoration: none; display: block; }
.card--link:hover { border-color: rgba(103,232,249,0.3); transform: translateY(-3px); }
.card__eyebrow { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.split { display: flex; flex-wrap: wrap; gap: clamp(40px,6vw,90px); align-items: flex-start; }
.split > * { flex: 1 1 380px; min-width: 300px; }
.split--end { align-items: flex-end; justify-content: space-between; }

/* result card big metric */
.result-metric { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 2px; }
.result-metric .from { font-size: 18px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.result-metric .arw { color: var(--ink-3); }
.result-metric .to { font-size: clamp(30px,3.6vw,44px); font-weight: 700; color: var(--cyan); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.result-metric .to--green { color: var(--green); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--hair); }
.faq__item { border-bottom: 1px solid var(--hair); }
.faq__q { width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; color: var(--ink); font-family: var(--ff-sans); font-size: clamp(17px,2vw,20px); font-weight: 600; letter-spacing: -0.01em; }
.faq__q .ico { flex: 0 0 auto; width: 18px; height: 18px; position: relative; transition: transform .25s var(--ease); }
.faq__q .ico::before, .faq__q .ico::after { content: ""; position: absolute; background: var(--teal); }
.faq__q .ico::before { left: 0; right: 0; top: 8px; height: 1.5px; }
.faq__q .ico::after { top: 0; bottom: 0; left: 8px; width: 1.5px; transition: opacity .25s; }
.faq__item.open .faq__q .ico::after { opacity: 0; }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .35s var(--ease); }
.faq__a-inner { padding: 0 0 28px; max-width: 760px; }
.faq__a-inner p { margin: 0 0 14px; color: var(--ink-2); line-height: 1.7; }
.faq__a-inner p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, #103258 0%, #0a1f3a 45%, #081626 80%);
  border-top: 1px solid var(--hair-soft); padding: clamp(90px,12vw,170px) var(--pad-x); }
.cta-band__inner { max-width: 820px; margin: 0 auto; }
.cta-band .lead { margin: 30px auto 0; max-width: 560px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); padding: clamp(56px,7vw,84px) var(--pad-x) 36px; border-top: 1px solid var(--hair); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; }
.footer__top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer__brand { flex: 1 1 320px; min-width: 260px; }
.footer__blurb { margin: 0; max-width: 340px; font-size: 13.5px; line-height: 1.6; color: var(--ink-3); }
.footer__cols { display: flex; gap: clamp(40px,6vw,90px); flex-wrap: wrap; }
.footer__head { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { font-size: 13.5px; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: var(--ink); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  margin-top: clamp(40px,6vw,64px); padding-top: 26px; border-top: 1px solid var(--hair-soft); }
.footer__bottom span:first-child { font-size: 12px; color: var(--ink-3); }
.footer__disc { font-size: 11px; color: var(--ink-4); max-width: 520px; text-align: right; line-height: 1.5; }

/* ---------- Reveal motion (JS-driven; safe defaults if JS off) ---------- */
[data-reveal], [data-hero] { will-change: opacity, transform; }
.no-js [data-reveal], .no-js [data-hero] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse-dot { animation: none; }
}

/* ---------- Utilities ---------- */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: clamp(40px,6vw,72px); }
.mb-s { margin-bottom: 16px; } .mb-m { margin-bottom: 28px; }
.center { text-align: center; }
.divider { height: 1px; background: var(--hair); border: none; margin: 0; }
.tag { display: inline-block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
