/* ============================================================
   Elevated CFO Advisory — Shared Stylesheet
   Tokens
   ============================================================ */
:root {
  --navy:        #0B1B33;
  --navy-deep:   #071120;
  --navy-logo:   #030F27;
  --navy-soft:   #15294A;
  --gold:        #C8923D;
  --gold-soft:   #E0B473;
  --cream:       #F6F3EC;
  --cream-line:  #E7E1D3;
  --white:       #FFFFFF;
  --ink:         #1E2430;
  --slate:       #5C6377;
  --slate-on-navy: #9BA6C2;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* Eyebrow / tracked label style — echoes "CFO ADVISORY" wordmark treatment */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before, .eyebrow.center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.on-light { color: #A9772C; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em 0; color: var(--slate); }
.on-navy p { color: var(--slate-on-navy); }
.on-navy h1, .on-navy h2, .on-navy h3,
h1.on-navy, h2.on-navy, h3.on-navy { color: var(--white); }

/* ============================================================
   Header / Nav
   ============================================================ */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.brand-logo-img {
  height: 84px;
  width: auto;
  display: block;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  color: var(--white);
  font-size: 20px;
  letter-spacing: 0.06em;
}
.brand {
  position: relative;
  display: flex;
  align-items: center;
}
.brand-e {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  color: rgba(200,146,61,0.32);
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-52%);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.brand-text {
  position: relative;
  z-index: 1;
}
nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
nav.primary-nav a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-on-navy);
  font-weight: 600;
  transition: color .2s ease;
}
nav.primary-nav a:hover, nav.primary-nav a.active { color: var(--gold-soft); }
.nav-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 11px 22px;
  font-size: 12px !important;
  border-radius: 2px;
  letter-spacing: 0.12em !important;
}
.nav-cta:hover { background: var(--gold-soft); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  nav.primary-nav { display: none; }
  .nav-toggle {
    display: block;
    background: none; border: none;
    color: var(--white); font-size: 24px;
    cursor: pointer;
  }
  nav.primary-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--navy-deep);
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

/* ============================================================
   Hero — ghost monogram signature motif
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 120px 0 130px;
}
.hero-e {
  position: absolute;
  left: -3vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 56vw;
  line-height: 1;
  color: rgba(255,255,255,0.035);
  font-weight: 700;
  pointer-events: none;
  user-select: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero h1 { color: var(--white); margin-bottom: 26px; }
.hero .lede {
  color: var(--slate-on-navy);
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline-light { border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-outline-dark { border-color: rgba(11,27,51,0.3); color: var(--navy); }
.btn-outline-dark:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* ============================================================
   Sections
   ============================================================ */
section { padding: 96px 0; }
section.cream { background: var(--cream); }
section.navy { background: var(--navy); }
section.navy-soft { background: var(--navy-soft); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.hr-gold {
  width: 60px; height: 2px; background: var(--gold);
  margin: 18px 0;
}
.hr-gold.center { margin-left: auto; margin-right: auto; }

/* Service / value grid */
.grid {
  display: grid;
  gap: 28px;
}
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--cream-line);
  padding: 36px 32px;
  position: relative;
}
.card .num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: block;
}
.card h3 { margin-bottom: 12px; color: var(--navy); }
.card p { margin-bottom: 0; }

.card-dark {
  background: var(--navy-soft);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 36px 32px;
}
.card-dark h3 { color: var(--white); margin-bottom: 12px; }
.card-dark p { color: var(--slate-on-navy); margin-bottom: 0; }

/* Stat row */
.stat-row {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.stat { flex: 1; min-width: 160px; }
.stat .num {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--gold);
  display: block;
}
.stat .label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-on-navy);
}

/* Testimonials */
.testi {
  background: var(--white);
  border: 1px solid var(--cream-line);
  padding: 34px 32px;
}
.testi .quote-mark {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.testi p.quote { color: var(--ink); font-style: italic; }
.testi .who {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
  margin-top: 16px;
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

/* Lists with gold check */
ul.check-list { list-style: none; padding: 0; margin: 0; }
ul.check-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 14px;
  color: var(--slate);
}
.on-navy ul.check-list li { color: var(--slate-on-navy); }
ul.check-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Question callouts (About page) */
.question-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.question-grid .q {
  background: var(--navy);
  padding: 30px 28px;
}
.question-grid .q .lead-word {
  color: var(--gold);
  font-weight: 600;
}
.question-grid .q p { color: var(--white); margin: 0; font-size: 16px; }
@media (max-width: 700px) {
  .question-grid { grid-template-columns: 1fr; }
}

/* CTA band */
.cta-band {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  min-height: 580px;
  display: flex;
  align-items: center;
  text-align: center;
}
.cta-band .hero-e {
  font-size: 480px;
  left: auto;
  right: 10px;
  opacity: 1;
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); max-width: 700px; margin: 0 auto 16px; }
.cta-band p { max-width: 560px; margin: 0 auto 32px; color: var(--slate-on-navy); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.info-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.info-line .ic {
  width: 34px; height: 34px;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.info-line a { color: var(--ink); }
.info-line a:hover { color: var(--gold); }

form.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
  font-weight: 600;
}
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--cream-line);
  background: var(--cream);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.field textarea { resize: vertical; min-height: 130px; }

/* Footer */
footer.site-footer {
  background: var(--navy-deep);
  color: var(--slate-on-navy);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
footer.site-footer h4 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-bottom: 18px;
}
footer.site-footer a { display: block; margin-bottom: 10px; color: var(--slate-on-navy); font-size: 14px; }
footer.site-footer a:hover { color: var(--gold-soft); }
footer.site-footer p { color: var(--slate-on-navy); font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #6C7693;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Credential seals */
.cred-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--cream-line);
  padding: 26px 24px;
}
.cred-seal {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 22px;
  position: relative;
}
.cred-seal::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  opacity: 0.5;
}
.cred-card h4 {
  font-family: var(--font-body);
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px 0;
}
.cred-card .issuer {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #A9772C;
  font-weight: 600;
}

/* Headshot frame */
.photo-frame {
  position: relative;
  max-width: 340px;
}
.photo-frame img {
  width: 100%;
  border-radius: 4px;
  position: relative;
  z-index: 2;
}
.photo-frame::before {
  content: "";
  position: absolute;
  top: 16px; left: 16px;
  width: 100%; height: 100%;
  border: 1px solid var(--gold);
  z-index: 1;
}
.photo-caption {
  margin-top: 20px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--slate);
  font-size: 15px;
}

/* Abstract line-art accents */
.accent-rings {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}
.accent-growth {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
}

/* Subtle texture on cream sections */
section.cream {
  background-image: radial-gradient(circle, rgba(11,27,51,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  background-color: var(--cream);
}

/* Service card icons */
.card .card-icon, .card-dark .card-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}
.card .card-icon {
  background: var(--cream);
  color: var(--gold);
  border: 1px solid var(--gold-soft);
}
.card-dark .card-icon {
  background: rgba(200,146,61,0.12);
  color: var(--gold-soft);
  border: 1px solid rgba(200,146,61,0.3);
}

/* Page hero (non-home pages, shorter) */
.page-hero {
  background: var(--navy);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-e { font-size: 260px; left: -20px; opacity: 1; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p.lede { color: var(--slate-on-navy); max-width: 560px; margin: 0; }
