/* ═══════════════════════════════════════════
   LEDGERLEADS — styles.css
   Futura / Josefin Sans fallback
═══════════════════════════════════════════ */

:root {
  --f: "Futura", "Futura PT", "Century Gothic", "Josefin Sans", sans-serif;
  --navy:  #14213D;
  --navy2: #0d1829;
  --gold:  #FCA311;
  --gold2: #e8940f;
  --grey:  #E5E5E5;
  --white: #FFFFFF;
  --off:   #F6F5F2;
  --off2:  #EDECEA;
  --text:  #14213D;
  --muted: rgba(20,33,61,.5);
  --soft:  rgba(20,33,61,.72);
  --cont:  1200px;
  --ease:  cubic-bezier(.25,.46,.45,.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.5;
}
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; }

.container {
  width: min(var(--cont), calc(100% - 48px));
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   CURSOR GLOW
═══════════════════════════════════════════ */
.cursor-glow {
  position: fixed;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252,163,17,.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: opacity .3s;
}

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(20,33,61,.08), 0 8px 32px rgba(0,0,0,.06);
}
.nav-shell {
  min-height: 84px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.logo-img { height: 36px; width: auto; }

.desktop-nav { display: flex; gap: 32px; align-items: center; }
.desktop-nav a {
  color: var(--navy);
  font-size: .85rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  position: relative; padding-bottom: 3px;
  transition: color .2s;
}
.desktop-nav a::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.desktop-nav a:hover { color: var(--gold); }
.desktop-nav a:hover::after { transform: scaleX(1); }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center;
  justify-content: center; gap: 8px;
  padding: 14px 28px;
  font-family: var(--f);
  font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  transition: all .22s var(--ease);
  position: relative; overflow: hidden;
}
/* Shine sweep */
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,.13);
  transform: translateX(-110%) skewX(-12deg);
  transition: transform .4s var(--ease);
}
.btn:hover::after { transform: translateX(110%) skewX(-12deg); }

.btn-gold {
  background: var(--gold); color: var(--navy);
  box-shadow: 0 4px 24px rgba(252,163,17,.35);
}
.btn-gold:hover {
  background: var(--gold2);
  box-shadow: 0 8px 32px rgba(252,163,17,.5);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1.5px solid var(--navy);
  color: var(--navy); background: transparent;
}
.btn-outline:hover {
  background: var(--navy); color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white); color: var(--navy);
  box-shadow: 0 4px 24px rgba(0,0,0,.15);
}
.btn-white:hover {
  box-shadow: 0 8px 36px rgba(0,0,0,.22);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  position: relative; overflow: hidden;
  padding: 140px 0 0;
  background: var(--white);
  display: flex; align-items: stretch;
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 72% 20%, rgba(252,163,17,.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(20,33,61,.06) 0%, transparent 60%);
  animation: meshPulse 8s ease-in-out infinite alternate;
}
@keyframes meshPulse { from { opacity:.6 } to { opacity:1 } }

.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(20,33,61,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,33,61,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: flex-end;
  position: relative; z-index: 2;
}
.hero-copy { padding-bottom: 80px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px; background: var(--gold);
}

.hero h1 {
  font-size: clamp(3.4rem, 6.5vw, 5.8rem);
  line-height: .92; letter-spacing: -.04em;
  color: var(--navy); font-weight: 700;
}
.hero h1 em { font-style: normal; color: var(--gold); }

.hero-sub {
  margin-top: 28px; max-width: 540px;
  font-size: 1.05rem; line-height: 1.8; color: var(--soft);
}
.hero-actions {
  margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px;
}
.hero-proof {
  margin-top: 44px; display: flex; gap: 0;
  border-top: 1px solid rgba(20,33,61,.1);
  padding-top: 28px;
}
.proof-item {
  display: flex; flex-direction: column; gap: 3px;
  padding-right: 32px;
  border-right: 1px solid rgba(20,33,61,.1);
  margin-right: 32px;
}
.proof-item:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.proof-item strong { font-size: 1.5rem; color: var(--navy); line-height: 1; }
.proof-item span {
  color: var(--muted); font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase;
}

/* Agent stage */
.hero-visual { position: relative; align-self: flex-end; }
.agents-stage {
  position: relative; min-height: 620px;
  display: flex; align-items: flex-end; justify-content: center;
}
.agents-stage::before {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 340px; height: 120px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(252,163,17,.18) 0%, transparent 70%);
  filter: blur(20px);
}

.agent-fig {
  position: absolute; bottom: 0;
  display: flex; flex-direction: column; align-items: center;
  transition: filter .3s;
}
.agent-fig:hover { filter: brightness(1.04); }
.agent-fig img { object-fit: contain; object-position: bottom center; display: block; }
.fig-lucy    { left: 0;    z-index: 2; } .fig-lucy    img { width: 230px; }
.fig-hannah  { left: 50%;  transform: translateX(-50%); z-index: 4; } .fig-hannah  img { width: 260px; }
.fig-michelle{ right: 0;   z-index: 3; } .fig-michelle img { width: 235px; }

/* Chips */
.agent-chip {
  position: absolute;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(20,33,61,.1);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  padding: 10px 16px;
  display: flex; flex-direction: column; gap: 2px;
  backdrop-filter: blur(8px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.agent-chip:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,.16);
}
.chip-name {
  color: var(--navy); font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.chip-role {
  color: var(--gold); font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.chip-dot {
  display: flex; align-items: center; gap: 5px;
  margin-top: 5px; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #2D9E5F;
}
.dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #2D9E5F; animation: blink 2s infinite;
}
@keyframes blink { 0%,100% { opacity:1 } 50% { opacity:.2 } }

.chip-lucy    { top: 120px; left: 16px; }
.chip-hannah  { top: 60px; left: 50%; transform: translateX(-50%); }
.chip-michelle{ top: 100px; right: 8px; }

/* Status badge */
.status-badge {
  position: absolute; top: 20px; right: 16px; z-index: 10;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(20,33,61,.1);
  box-shadow: 0 8px 28px rgba(0,0,0,.1);
  padding: 16px 20px; min-width: 180px;
  backdrop-filter: blur(12px);
}
.status-row {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.status-row + .status-row { margin-top: 10px; }
.status-row strong { color: var(--navy); font-size: .95rem; }
.status-row span   { color: var(--muted); font-size: .8rem; }

/* ═══════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════ */
.stats-bar {
  background: var(--navy); padding: 28px 0;
  position: relative; overflow: hidden;
}
.stats-bar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(252,163,17,.06), transparent);
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { from { transform:translateX(-100%) } to { transform:translateX(100%) } }

.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  position: relative; z-index: 1;
}
.stat-card {
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
  padding: 12px 16px;
  transition: background .25s;
}
.stat-card:hover { background: rgba(252,163,17,.06); }
.stat-card:last-child { border-right: 0; }
.stat-val {
  display: block; font-size: 2.8rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.stat-label {
  display: block; margin-top: 8px; font-size: .78rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .1em; text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   SECTIONS — SHARED
═══════════════════════════════════════════ */
.section { padding: 112px 0; }

.section-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold); font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
}
.section-kicker::before { content: ''; width: 28px; height: 2px; background: var(--gold); }

.section-heading { margin-bottom: 56px; }
.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02; letter-spacing: -.03em; color: var(--navy);
}
.section-heading h2 em { font-style: normal; color: var(--gold); }

/* ═══════════════════════════════════════════
   PROBLEM
═══════════════════════════════════════════ */
.problem-section { background: var(--off); }
.two-col {
  display: grid; grid-template-columns: .95fr 1.05fr;
  gap: 64px; align-items: start;
}
.section-copy h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02; letter-spacing: -.03em; color: var(--navy);
}
.section-copy p {
  margin-top: 18px; font-size: 1rem;
  line-height: 1.85; color: var(--soft);
}
.problem-list { display: grid; gap: 12px; }
.problem-item {
  display: grid; grid-template-columns: 44px 1fr;
  gap: 16px; align-items: start;
  background: var(--white);
  border: 1px solid rgba(20,33,61,.06);
  padding: 18px 20px;
  position: relative; overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.problem-item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 0; background: var(--gold);
  transition: width .3s var(--ease);
}
.problem-item:hover {
  border-color: rgba(252,163,17,.4);
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.problem-item:hover::before { width: 3px; }
.problem-item span {
  color: var(--gold); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding-top: 2px;
}
.problem-item p { color: var(--navy); font-size: .95rem; line-height: 1.6; }

/* ═══════════════════════════════════════════
   AGENTS
═══════════════════════════════════════════ */
.agents-section { background: var(--white); }
.team-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.team-card {
  background: var(--white);
  border: 1px solid rgba(20,33,61,.08);
  overflow: hidden; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.team-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(252,163,17,.04) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0,0,0,.12);
  border-color: rgba(252,163,17,.3);
}
.team-card:hover::after { opacity: 1; }

.team-card-highlight { border-color: rgba(252,163,17,.35); }
.team-card-highlight::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gold); z-index: 1;
}

.team-portrait {
  background: linear-gradient(to bottom, rgba(229,229,229,.3), rgba(255,255,255,1));
  min-height: 300px; padding: 24px 20px 0;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden; position: relative;
}
.team-portrait::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(252,163,17,.12) 0%, transparent 60%);
}
.team-portrait img {
  max-height: 300px; width: auto;
  position: relative; z-index: 1;
  transition: transform .4s var(--ease);
}
.team-card:hover .team-portrait img { transform: scale(1.04) translateY(-4px); }

.team-body { padding: 28px 26px 32px; }
.team-num {
  color: var(--gold); font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.team-body h3 {
  margin-top: 10px; font-size: 1.9rem;
  color: var(--navy); letter-spacing: -.02em;
}
.team-role {
  margin-top: 6px; color: var(--gold); font-size: .78rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.team-text {
  margin-top: 16px; color: var(--soft);
  line-height: 1.8; font-size: .95rem;
}
.team-list {
  margin-top: 20px; padding-left: 0; list-style: none;
  display: grid; gap: 8px;
}
.team-list li {
  display: flex; align-items: center; gap: 10px;
  color: var(--navy); font-size: .88rem;
}
.team-list li::before { content: '→'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   WHY
═══════════════════════════════════════════ */
.why-section { background: var(--off); }
.why-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 16px;
}
.why-card {
  background: var(--white);
  border: 1px solid rgba(20,33,61,.06);
  padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,.09);
  border-color: rgba(252,163,17,.25);
}
.why-card:hover::before { transform: scaleX(1); }
.why-card-num {
  color: var(--gold); font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.why-card h3 { margin-top: 14px; font-size: 1.3rem; color: var(--navy); }
.why-card p  { margin-top: 12px; color: var(--soft); line-height: 1.8; font-size: .93rem; }

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.faq-section { background: var(--white); }
.narrow { max-width: 860px; }
.faq-list { margin-top: 40px; border-top: 1px solid rgba(20,33,61,.1); }
.faq-item { border-bottom: 1px solid rgba(20,33,61,.1); }
.faq-trigger {
  width: 100%; background: 0; border: 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding: 26px 0; text-align: left;
  color: var(--navy); font-size: 1rem; font-weight: 600;
  transition: color .2s;
}
.faq-trigger:hover { color: var(--gold); }
.faq-icon {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(20,33,61,.2); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold); flex-shrink: 0; font-size: 1.2rem;
  transition: transform .3s var(--ease), background .25s, border-color .25s, color .25s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold); border-color: var(--gold); color: var(--navy);
}
.faq-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.open .faq-body { max-height: 280px; }
.faq-body p { padding: 0 0 24px; color: var(--soft); line-height: 1.85; font-size: .95rem; }

/* ═══════════════════════════════════════════
   CTA
═══════════════════════════════════════════ */
.cta-section {
  background: var(--navy2); padding: 0;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: 'LEDGERLEADS';
  position: absolute; font-family: var(--f);
  font-size: 220px; font-weight: 700;
  color: rgba(255,255,255,.025); letter-spacing: 6px;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  white-space: nowrap; pointer-events: none;
}
.cta-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(252,163,17,.08), transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 50%, rgba(20,33,61,.4), transparent 50%);
}
.cta-box {
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: center;
  padding: 88px 0; position: relative; z-index: 1;
}
.cta-kicker { color: var(--gold); }
.cta-box h2 {
  margin-top: 16px;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1; letter-spacing: -.03em; color: var(--white);
}
.cta-box h2 em { font-style: normal; color: var(--gold); }
.cta-box > div:first-child p {
  margin-top: 18px; font-size: 1rem;
  color: rgba(255,255,255,.6); line-height: 1.8; max-width: 640px;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); }
.footer-top {
  padding: 52px 0 40px;
  display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.logo-white { filter: brightness(0) invert(1); }
.footer-tagline {
  margin-top: 14px; max-width: 380px;
  font-size: .9rem; line-height: 1.8; color: rgba(255,255,255,.5);
}
.footer-agents { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-agent  { display: flex; flex-direction: column; gap: 5px; }
.footer-agent strong {
  color: var(--white); font-size: .9rem;
  letter-spacing: .06em; text-transform: uppercase;
}
.footer-agent span { font-size: .82rem; color: rgba(255,255,255,.45); }
.footer-bottom {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  font-size: .82rem; color: rgba(255,255,255,.3);
}

/* ═══════════════════════════════════════════
   REVEAL
═══════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-inner, .two-col, .cta-box { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-copy   { padding-bottom: 40px; }
  .agents-stage { min-height: 500px; }
  .fig-lucy    img { width: 190px; }
  .fig-hannah  img { width: 215px; }
  .fig-michelle img { width: 195px; }
}
@media (max-width: 900px) {
  .desktop-nav, .nav-btn { display: none; }
  .section, .hero { padding-top: 96px; }
  .hero { padding-bottom: 0; }
  .stats-grid, .team-grid, .why-grid { grid-template-columns: 1fr; }
  .stat-card { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-card:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2.8rem, 12vw, 3.8rem); }
  .agents-stage { min-height: 400px; }
  .fig-lucy    img { width: 150px; }
  .fig-hannah  img { width: 170px; }
  .fig-michelle img { width: 155px; }
  .chip-lucy    { left: 4px; top: 90px; }
  .chip-hannah  { top: 40px; }
  .chip-michelle{ right: 2px; top: 76px; }
  .status-badge { min-width: 140px; padding: 12px 14px; }
  .two-col { grid-template-columns: 1fr; }
}
