/* ============================================================
   FINDING CAPITAL — GLOBAL NAV + MOBILE DRAWER CSS
   Shared by all public pages. Do not edit inline.
   ============================================================ */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 72px; padding: 0 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(24, 33, 63, 0.08);
  transition: all 0.3s;
}
@keyframes navBrandIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes quietFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.nav-logo {
  display: flex; align-items: center; gap: 0;
  font-family: 'DM Sans', sans-serif; font-size: 0; font-weight: 900;
  color: transparent; letter-spacing: 0; text-decoration: none;
  line-height: 0;
}
.nav-logo span { display: none; }
.nav-logo img {
  content: url('logo-wordmark-dark.svg');
  width: 246px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 0;
  border-radius: 0;
  animation: navBrandIn 0.55s ease both;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links > a {
  font-size: 0.875rem; font-weight: 500;
  color: rgba(22, 30, 56, 0.7); text-decoration: none;
  transition: color 0.2s; white-space: nowrap;
}
.nav-links > a:hover { color: var(--navy-deep); }
.nav-cta {
  background: var(--gold) !important; color: var(--navy-deep) !important;
  font-weight: 700 !important; padding: 10px 22px !important;
  border-radius: 3px !important; font-size: 0.875rem !important;
}
.nav-cta:hover { opacity: 0.88 !important; transform: translateY(-1px); }

body.motion-ready section.reveal-section,
body.motion-ready .faq-insight-row.reveal-section,
body.motion-ready .contact-section.reveal-section,
body.motion-ready .cta-band.reveal-section {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
body.motion-ready section.reveal-section.is-visible,
body.motion-ready .faq-insight-row.reveal-section.is-visible,
body.motion-ready .contact-section.reveal-section.is-visible,
body.motion-ready .cta-band.reveal-section.is-visible {
  opacity: 1;
  transform: none;
}

body.motion-ready .reveal-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
body.motion-ready .reveal-card.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-orb,
  .page-hero::before {
    animation: quietFloat 8s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-logo img,
  .hero-orb,
  .page-hero::before,
  body.motion-ready section.reveal-section,
  body.motion-ready .faq-insight-row.reveal-section,
  body.motion-ready .contact-section.reveal-section,
  body.motion-ready .cta-band.reveal-section,
  body.motion-ready .reveal-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: 12px;
  padding: 0;
  position: relative;
  border: 1px solid rgba(24,33,63,0.12);
  border-radius: 4px;
  background: rgba(24,33,63,0.03);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.nav-burger:hover {
  background: rgba(24,33,63,0.06);
  border-color: rgba(201,169,110,0.3);
}
.nav-burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--navy-deep);
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.22s ease, top 0.22s ease;
}
.nav-burger span:nth-child(1) { top: 13px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 27px; }
.nav-burger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-drop-toggle {
  font-size: 0.875rem; font-weight: 500;
  color: rgba(22,30,56,0.7); background: none; border: none;
  cursor: pointer; display: flex; align-items: center; gap: 6px;
  padding: 0; font-family: inherit; transition: color 0.2s;
}
.nav-drop-toggle:hover, .nav-dropdown.open .nav-drop-toggle { color: var(--navy-deep); }
.nav-drop-arrow {
  width: 10px;
  height: 6px;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.nav-dropdown.open .nav-drop-arrow { transform: rotate(180deg); }
.nav-drop-panel {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%); width: 220px;
  background: #ffffff;
  border: 1px solid rgba(24,33,63,0.08);
  border-radius: 4px; padding: 10px;
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: all 0.22s ease;
  box-shadow: 0 24px 60px rgba(14,22,44,0.14);
}
.nav-drop-panel.nav-drop-panel-wide { width: 290px; }
.nav-dropdown.open .nav-drop-panel {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-drop-panel a {
  display: block; padding: 9px 14px; border-radius: 3px;
  font-size: 0.84rem; color: rgba(22,30,56,0.72);
  text-decoration: none; transition: all 0.18s;
}
.nav-drop-panel a:hover { background: rgba(201,169,110,0.1); color: var(--navy-deep); }
.drop-label {
  font-family: 'DM Mono', monospace; font-size: 0.58rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(22,30,56,0.35); padding: 8px 14px 4px;
}
.drop-divider { height: 1px; background: rgba(24,33,63,0.08); margin: 6px 0; }

/* ── HERO ─────────────────────────────────────────────────────── */

/* Active nav link — current page indicator */
.nav-links > a[aria-current="page"],
.nav-links > a.nav-active { color: var(--navy-deep) !important; }
.nav-links > a[aria-current="page"]::after,
.nav-links > a.nav-active::after {
  content: ''; display: block; height: 2px; background: var(--gold);
  margin-top: 2px; border-radius: 1px;
}

/* ── RESPONSIVE NAV ──────────────────────────────────────────── */
@media (max-width: 860px) {
  nav { padding: 0 20px; }
  .nav-links { display: none !important; }
  .nav-cta-btn { display: none !important; }
  .nav-burger { display: flex !important; }
  .nav-logo img { width: 198px; }
}

@media (max-width: 1180px) {
  nav { padding: 0 32px; }
  .nav-links { gap: 16px; }
  .nav-links > a,
  .nav-drop-toggle { font-size: 0.82rem; }
  .nav-cta { padding: 10px 18px !important; }
  .nav-logo img { width: 226px; }
}

/* ── MOBILE DRAWER ───────────────────────────────────────────── */
.nav-mobile-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 1100; backdrop-filter: blur(2px);
}
.nav-mobile-overlay.open { display: block; }
.nav-mobile-drawer {
  position: fixed; top: 0; right: -320px; width: min(300px, calc(100vw - 20px)); height: 100%;
  background: var(--navy-deep); z-index: 1101;
  transition: right 0.32s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column; overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,0.4);
}
.nav-mobile-drawer.open { right: 0; }
.nmd-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid rgba(245,243,238,0.08);
}
.nmd-logo {
  display: block;
  width: 246px;
  height: 68px;
  background: url('logo-wordmark-light.svg') no-repeat left center / contain;
  font-family: 'DM Sans', sans-serif;
  font-size: 0;
  color: transparent;
  text-decoration: none;
  font-weight: 700;
  line-height: 0;
}
.nmd-logo span { display: none; }
.nmd-close {
  background: none; border: none; color: rgba(245,243,238,0.5);
  font-size: 1.3rem; cursor: pointer; padding: 4px; line-height: 1;
}
.nmd-close:hover { color: var(--offwhite); }
.nmd-body { display: flex; flex-direction: column; padding: 16px 0 32px; }
.nmd-cta {
  margin: 8px 20px 16px;
  background: var(--gold); color: var(--navy-deep) !important;
  padding: 13px 20px; border-radius: 4px; font-weight: 700;
  font-size: 0.9rem; text-decoration: none; text-align: center;
  transition: opacity 0.2s;
}
.nmd-cta:hover { opacity: 0.88; }
.nmd-link {
  display: block; padding: 11px 24px;
  color: rgba(245,243,238,0.7); text-decoration: none;
  font-size: 0.9rem; transition: color 0.18s;
}
.nmd-link:hover, .nmd-link.nmd-callback { color: var(--offwhite); }
.nmd-section-label {
  font-family: 'DM Mono', monospace; font-size: 0.58rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(245,243,238,0.25); padding: 14px 24px 4px;
}
.nmd-section-toggle {
  width: calc(100% - 40px);
  margin: 8px 20px 4px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(245,243,238,0.08);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  color: rgba(245,243,238,0.82);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.nmd-section-toggle .nmd-section-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245,243,238,0.56);
}
.nmd-section-toggle .nmd-section-arrow {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid rgba(245,243,238,0.55);
  border-bottom: 1.5px solid rgba(245,243,238,0.55);
  transform: rotate(45deg);
  transition: transform 0.22s ease, border-color 0.22s ease;
  flex-shrink: 0;
  margin-right: 4px;
}
.nmd-section-toggle.open .nmd-section-arrow {
  transform: rotate(-135deg);
  border-color: var(--gold);
}
.nmd-submenu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s ease;
  margin: 0 20px 8px;
}
.nmd-submenu.open {
  grid-template-rows: 1fr;
}
.nmd-submenu-inner {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(245,243,238,0.06);
}
.nmd-submenu .nmd-link {
  padding-left: 18px;
  padding-right: 18px;
}
.nmd-submenu .nmd-link + .nmd-link {
  border-top: 1px solid rgba(245,243,238,0.05);
}
.nmd-divider {
  height: 1px; background: rgba(245,243,238,0.07); margin: 6px 20px;
}

@media (max-width: 520px) {
  nav { padding: 0 16px; }
  .nav-logo img { width: 184px; height: auto; }
  .nav-mobile-drawer { width: min(300px, calc(100vw - 16px)); }
  .nmd-logo { width: 198px; height: 56px; }
}
