  :root{
    --bg-dark:#0b1220;
    --bg-dark-2:#111c30;
    --bg-paper:#faf7f0;
    --bg-paper-2:#f2ede0;
    --ink:#141b26;
    --ink-soft:#586173;
    --ink-faint:#8892a0;
    --gold:#c8973f;
    --gold-soft:#e3c383;
    --gold-dim:#9c7a3d;
    --line:#e0dac8;
    --line-dark:#26314a;
    --cream-line: rgba(250,247,240,0.14);
    --radius: 3px;
    --maxw: 1160px;
  }

  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Inter', sans-serif;
    color:var(--ink);
    background:var(--bg-paper);
    -webkit-font-smoothing:antialiased;
    line-height:1.5;
  }
  img{max-width:100%; display:block;}
  a{color:inherit; text-decoration:none;}
  ul{list-style:none;}
  button{font-family:inherit; cursor:pointer;}

  @media (prefers-reduced-motion: reduce){
    *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
  }

  .wrap{ max-width:var(--maxw); margin:0 auto; padding:0 32px; }

  .eyebrow{
    font-family:'JetBrains Mono', monospace;
    font-size:12px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    font-weight:500;
  }

  h1,h2,h3,h4{ font-family:'Fraunces', serif; font-weight:600; letter-spacing:-0.01em; }

  .btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:15px 28px;
    font-size:13px;
    font-weight:600;
    letter-spacing:0.06em;
    text-transform:uppercase;
    border-radius:var(--radius);
    border:1px solid transparent;
    transition:transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
    white-space:nowrap;
  }
  .btn:hover{ transform:translateY(-1px); }
  .btn:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }
  .btn-gold{ background:var(--gold); color:#141b26; }
  .btn-gold:hover{ background:var(--gold-soft); }
  .btn-outline-dark{ border-color:rgba(20,27,38,0.35); color:var(--ink); }
  .btn-outline-dark:hover{ border-color:var(--ink); background:rgba(20,27,38,0.04); }
  .btn-outline-light{ border-color:rgba(250,247,240,0.4); color:var(--bg-paper); }
  .btn-outline-light:hover{ border-color:var(--bg-paper); background:rgba(250,247,240,0.06); }

  /* ---------- HEADER ---------- */
  header{
    position:sticky; top:0; z-index:100;
    background:rgba(11,18,32,0.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--cream-line);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    height:76px;
  }
  .logo{ display:flex; align-items:center; gap:12px; }
  .logo-mark{
    width:46px; height:46px;
    border:1.5px solid var(--gold);
    display:flex; align-items:center; justify-content:center;
    font-family:'JetBrains Mono', monospace;
    font-size:9px; font-weight:600; letter-spacing:0.02em;
    color:var(--gold);
    text-align:center; line-height:1.25;
    flex-shrink:0;
  }
  .logo-text{ color:var(--bg-paper); }
  .logo-text .l1{ font-family:'Fraunces', serif; font-weight:600; font-size:16.5px; letter-spacing:0.01em; display:block; }
  .logo-text .l2{ font-family:'JetBrains Mono', monospace; font-size:9.5px; letter-spacing:0.22em; color:var(--ink-faint); display:block; margin-top:2px;}

  .navlinks{ display:flex; align-items:center; gap:34px; }
  .navlinks a{
    color:rgba(250,247,240,0.78);
    font-size:13.5px; font-weight:500; letter-spacing:0.01em;
    padding:6px 0; position:relative;
    transition:color .15s ease;
  }
  .navlinks a:hover{ color:var(--bg-paper); }
  .navlinks a.active{ color:var(--bg-paper); }
  .navlinks a.active::after{
    content:''; position:absolute; left:0; right:0; bottom:-3px; height:2px; background:var(--gold);
  }
  .nav-cta{ display:flex; align-items:center; gap:22px; }
  .burger{ display:none; background:none; border:none; padding:8px; }
  .burger span{ display:block; width:22px; height:1.5px; background:var(--bg-paper); margin:5px 0; transition:transform .2s ease, opacity .2s ease; }
  .burger.is-open span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
  .burger.is-open span:nth-child(2){ opacity:0; }
  .burger.is-open span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }

  /* ---------- HERO ---------- */
  .hero{
    background:
      radial-gradient(ellipse 900px 500px at 15% 0%, rgba(200,151,63,0.10), transparent 60%),
      linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
    color:var(--bg-paper);
    padding:96px 0 84px;
    overflow:hidden;
    position:relative;
  }
  .hero .wrap{
    display:grid;
    grid-template-columns:1.05fr 0.85fr;
    gap:64px;
    align-items:center;
  }
  .hero-eyebrow{ color:var(--gold-soft); margin-bottom:22px; display:flex; align-items:center; gap:10px; }
  .hero-eyebrow::before{ content:''; width:26px; height:1px; background:var(--gold); display:inline-block; }
  .hero-eyebrow.no-rule::before{ display:none; }
  .hero h1{
    font-size:clamp(44px, 6vw, 74px);
    line-height:0.98;
    color:var(--bg-paper);
    margin-bottom:22px;
  }
  .hero h1 em{
    font-style:italic; font-weight:500; color:var(--gold-soft);
  }
  .hero .sub{
    font-family:'Fraunces', serif;
    font-style:italic;
    font-weight:500;
    font-size:18px;
    line-height:1.5;
    color:var(--gold-soft);
    max-width:460px;
    margin-bottom:22px;
  }
  .hero .sub-lead{
    font-size:1.7em;
    font-weight:600;
    display:inline;
  }
  .hero .body{
    color:rgba(250,247,240,0.68);
    font-size:15.5px;
    line-height:1.75;
    max-width:460px;
    margin-bottom:36px;
  }
  .hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

  /* hero photo */
  .hero-photo{ position:relative; }
  .hero-photo::after{
    content:'';
    position:absolute; top:18px; left:18px; right:-18px; bottom:-18px;
    border:1px solid var(--gold); z-index:-1; pointer-events:none;
  }
  .hero-photo img{
    width:100%; display:block; border-radius:2px;
    box-shadow:0 40px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  }

  /* ---------- SECTION HEADERS ---------- */
  .section{ padding:100px 0; }
  .section-header{ text-align:center; max-width:640px; margin:0 auto 56px; }
  .section-header .eyebrow{ color:var(--gold-dim); margin-bottom:14px; display:block; }
  .section-header h2{ font-size:clamp(30px,4vw,40px); color:var(--ink); margin-bottom:14px; }
  .section-header .rule{ width:52px; height:2px; background:var(--gold); margin:0 auto 20px; }
  .section-header p{ color:var(--ink-soft); font-size:16px; }
  .section-header.on-dark h2, .section-header.on-dark p{ color:var(--bg-paper); }
  .section-header.on-dark p{ color:rgba(250,247,240,0.65); }
  .section-header h2.kicker-hero{
    font-family:'Fraunces', serif; font-weight:600; letter-spacing:-0.01em;
    font-size:clamp(35px,4.8vw,59px); line-height:1.02; color:var(--ink); margin-bottom:16px;
  }
  .section-header.on-dark h2.kicker-hero{ color:var(--bg-paper); }
  .ledger .section-header h2.kicker-hero{ font-size:clamp(26px,3.6vw,44px); }
  .section-header p.kicker-sub{
    font-family:'Fraunces', serif; font-style:italic; font-weight:500;
    font-size:20px; line-height:1.4; color:var(--ink-soft); margin-bottom:20px;
  }

  /* ---------- WHO WE HELP ---------- */
  .who{ background:var(--bg-paper); }
  .who-grid{
    display:grid; grid-template-columns:repeat(5,1fr); gap:0;
    border-top:1px solid var(--line);
  }
  .who-card{
    padding:38px 22px; text-align:center;
    border-right:1px solid var(--line); border-bottom:1px solid var(--line);
  }
  .who-card:last-child{ border-right:none; }
  .who-icon{
    width:52px; height:52px; margin:0 auto 20px;
    display:flex; align-items:center; justify-content:center;
    border:1px solid var(--line); border-radius:50%;
    color:var(--ink);
  }
  .who-card h3{ font-size:14.5px; font-weight:600; letter-spacing:0.01em; margin-bottom:10px; text-transform:uppercase; font-family:'Inter',sans-serif; }
  .who-card p{ font-size:13.5px; color:var(--ink-soft); line-height:1.6; }

  /* ---------- WHAT WE DO ---------- */
  .what{ background:var(--bg-paper-2); }
  .what-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
  .what-card{
    background:var(--bg-paper-2); padding:38px 34px;
    display:flex; flex-direction:column;
    transition:background .2s ease;
  }
  .what-card:hover{ background:var(--bg-paper); }
  .what-num{ font-family:'JetBrains Mono', monospace; font-size:11px; color:var(--gold-dim); margin-bottom:18px; letter-spacing:0.06em; }
  .what-card h3{ font-size:19px; color:var(--ink); margin-bottom:12px; }
  .what-card p{ font-size:14px; color:var(--ink-soft); line-height:1.7; flex-grow:1; margin-bottom:0; }
  .what-link{
    font-family:'JetBrains Mono', monospace; font-size:11px; letter-spacing:0.08em;
    color:var(--ink); text-transform:uppercase; font-weight:500;
    display:inline-flex; align-items:center; gap:7px;
    border-bottom:1px solid var(--ink);
    padding-bottom:2px; width:fit-content;
    transition:color .15s ease, border-color .15s ease, gap .15s ease;
  }
  .what-link:hover{ color:var(--gold-dim); border-color:var(--gold-dim); gap:10px; }

  /* ---------- EXPERIENCE / LEDGER ---------- */
  .ledger{ background:var(--bg-dark); color:var(--bg-paper); padding:64px 0; }
  .ledger-grid{
    display:grid; grid-template-columns:repeat(4,1fr);
  }
  .ledger-item{
    padding:0 24px; border-right:1px solid var(--cream-line);
    display:flex; flex-direction:column; gap:10px; align-items:center; text-align:center;
  }
  .ledger-item:last-child{ border-right:none; }
  .ledger-icon{ color:var(--gold); margin-bottom:2px; }
  .ledger-figure{
    font-family:'Fraunces', serif; font-weight:600; font-size:20px; color:var(--gold-soft);
    letter-spacing:-0.01em;
  }
  .ledger-label{
    font-family:'JetBrains Mono', monospace; font-size:10px; letter-spacing:0.08em;
    text-transform:uppercase; color:rgba(250,247,240,0.62); line-height:1.5;
  }

  /* ---------- CTA BAND ---------- */
  .cta-band{
    background:var(--gold);
    padding:0;
  }
  .cta-inner{
    display:flex; align-items:center; justify-content:center; gap:24px;
    padding:38px 0; flex-wrap:wrap; text-align:center;
  }
  .cta-left{ display:flex; align-items:center; gap:18px; }
  .cta-left h3{ font-size:21px; color:#141b26; margin-bottom:4px; }
  .cta-left p{ font-size:14px; color:rgba(20,27,38,0.8); }
  .cta-left p a{ color:#141b26; font-weight:600; text-decoration:underline; text-underline-offset:3px; }
  .cta-left p a:hover{ color:#232e42; }
  .cta-icon{
    width:44px; height:44px; border:1.5px solid rgba(20,27,38,0.4); border-radius:50%;
    display:flex; align-items:center; justify-content:center; flex-shrink:0; color:#141b26;
  }
  .cta-band .btn-outline-dark{ background:#141b26; color:var(--bg-paper); border-color:#141b26; }
  .cta-band .btn-outline-dark:hover{ background:#232e42; }

  /* ---------- FOOTER ---------- */
  footer{ background:var(--bg-dark); color:rgba(250,247,240,0.6); padding:76px 0 0; }
  .footer-top{
    display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px;
    padding-bottom:56px; border-bottom:1px solid var(--cream-line);
  }
  .footer-brand p{ font-size:13.5px; line-height:1.75; margin-top:18px; max-width:280px; color:rgba(250,247,240,0.55); }
  .footer-social{ display:flex; gap:12px; margin-top:22px; }
  .footer-social a{
    width:36px; height:36px; border:1px solid var(--cream-line); border-radius:50%;
    display:flex; align-items:center; justify-content:center; transition:border-color .15s ease, color .15s ease;
    color:rgba(250,247,240,0.65);
  }
  .footer-social a:hover{ border-color:var(--gold); color:var(--gold); }
  .footer-col h4{
    font-family:'JetBrains Mono', monospace; font-size:11px; letter-spacing:0.1em; text-transform:uppercase;
    color:var(--bg-paper); margin-bottom:20px; font-weight:500;
  }
  .footer-col ul li{ margin-bottom:12px; }
  .footer-col ul li a{ font-size:13.5px; color:rgba(250,247,240,0.6); transition:color .15s ease; }
  .footer-col ul li a:hover{ color:var(--gold-soft); }
  .footer-bottom{
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
    padding:26px 0; font-size:12.5px; color:rgba(250,247,240,0.4);
  }
  .footer-bottom a{ color:rgba(250,247,240,0.5); }
  .footer-bottom a:hover{ color:var(--gold-soft); }
  .footer-bottom-links{ display:flex; gap:22px; }

  /* ---------- reveal on scroll ---------- */
  .reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
  .reveal.in{ opacity:1; transform:translateY(0); }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width:980px){
    .who-grid{ grid-template-columns:repeat(3,1fr); }
    .who-card:nth-child(3){ border-right:none; }
    .what-grid{ grid-template-columns:repeat(2,1fr); }
    .ledger-grid{ row-gap:36px; }
    .hero .wrap{ grid-template-columns:1fr; }
    .hero-photo{ order:-1; max-width:420px; margin:24px auto 20px; }
  }
  @media (max-width:760px){
    .navlinks{ display:none; }
    .navlinks.is-open{
      display:flex; position:absolute; top:76px; left:0; right:0; background:var(--bg-dark);
      flex-direction:column; padding:24px 32px; gap:20px; border-bottom:1px solid rgba(250,247,240,0.14);
    }
    .burger{ display:block; }
    .wrap{ padding:0 22px; }
    .who-grid{ grid-template-columns:repeat(2,1fr); }
    .who-card:nth-child(2n){ border-right:none; }
    .what-grid{ grid-template-columns:1fr; }
    .ledger-grid{ grid-template-columns:repeat(2,1fr); }
    .ledger-item:nth-child(2n){ border-right:none; }
    .ledger-item{ border-bottom:1px solid var(--cream-line); padding-bottom:24px; padding-top:8px; }
    .ledger-item:nth-last-child(-n+2){ border-bottom:none; }
    .footer-top{ grid-template-columns:1fr 1fr; }
    .cta-inner{ flex-direction:column; align-items:center; text-align:center; }
    .hero{ padding:56px 0 60px; }
    .section{ padding:64px 0; }
  }

/* ---------- PAGE HERO (sub-pages) ---------- */
.page-hero{
  background:
    radial-gradient(ellipse 900px 500px at 85% 0%, rgba(200,151,63,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color:var(--bg-paper);
  padding:88px 0 76px;
  text-align:center;
}
.page-hero .wrap{ max-width:760px; }
.page-hero .eyebrow{ color:var(--gold-soft); display:inline-flex; align-items:center; gap:10px; margin-bottom:22px; }
.page-hero .eyebrow::before{ content:''; width:26px; height:1px; background:var(--gold); display:inline-block; }
.page-hero .eyebrow.no-rule::before{ display:none; }
.page-hero h1{ font-size:clamp(21px,3.45vw,38px); line-height:1.1; color:var(--bg-paper); margin-bottom:18px; white-space:nowrap; }
@media (max-width:520px){
  .page-hero h1{ white-space:normal; }
}
.page-hero p{ color:rgba(250,247,240,0.68); font-size:16px; line-height:1.7; max-width:520px; margin:0 auto 16px; }
.page-hero p:last-child{ margin-bottom:0; }

/* ---------- FOUNDER ---------- */
.founder{ background:var(--bg-paper); }
.founder-copy-full{ max-width:720px; margin:0 auto; }
.founder-name{ font-size:clamp(26px,3vw,32px); color:var(--ink); margin-bottom:6px; }
.founder-role{
  font-family:'JetBrains Mono', monospace; font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--gold-dim); font-weight:500; margin-bottom:24px;
}
.founder-copy p{ font-size:16px; line-height:1.85; color:var(--ink-soft); margin-bottom:22px; }
.pull-quote{
  font-family:'Fraunces', serif; font-style:italic; font-weight:500;
  font-size:22px; line-height:1.5; color:var(--ink);
  border-left:2px solid var(--gold); padding:4px 0 4px 24px;
  margin:28px 0 0;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials{ background:var(--bg-paper-2); }
.testimonial-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:var(--line); border:1px solid var(--line);
}
.testimonial-card{
  background:var(--bg-paper); padding:36px 32px;
  display:flex; flex-direction:column;
}
.quote-mark{
  font-family:'Fraunces', serif; font-size:52px; line-height:1;
  color:var(--gold); font-weight:600; margin-bottom:4px; display:block;
}
.testimonial-text{
  font-size:14.5px; line-height:1.75; color:var(--ink-soft);
  flex-grow:1; margin-bottom:24px;
}
.testimonial-attr{ display:flex; flex-direction:column; gap:2px; }
.testimonial-name{
  font-family:'JetBrains Mono', monospace; font-size:11.5px; letter-spacing:0.04em;
  color:var(--ink); font-weight:600; text-transform:uppercase;
}
.testimonial-org{ font-size:12.5px; color:var(--ink-faint); }
.testimonial-tbd{ background:var(--bg-paper-2); }
.testimonial-tbd .quote-mark{ color:var(--line); }
.testimonial-placeholder{ font-style:italic; color:var(--ink-faint); }
@media (max-width:980px){
  .testimonial-grid{ grid-template-columns:1fr; }
}

/* ---------- CREDITS MASTHEAD ---------- */
.credits{ background:var(--bg-paper-2); }
.logo-wall{
  background:var(--bg-paper);
  border:1px solid var(--line);
  border-radius:2px;
  padding:44px 40px;
  box-shadow:0 20px 50px -25px rgba(20,27,38,0.15);
}
.logo-wall img{ width:100%; display:block; }
@media (max-width:760px){
  .logo-wall{ padding:28px 20px; }
}
