/* ═══════════════════════════════════════════════
   BCONVERSE CONSULTING — SHARED STYLESHEET
   Fonts: Barlow Condensed / Lora / DM Sans
   Colors: #445a25 / #bcbcbc / #fefefe
═══════════════════════════════════════════════ */

:root {
  --green:       #445a25;
  --green-dark:  #2e3e18;
  --green-light: #5c7a33;
  --grey:        #bcbcbc;
  --white:       #fefefe;
  --off-white:   #f4f1ec;
  --black:       #0d0d0d;
  --ink:         #1a1a1a;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-h:       72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--black); color: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* GRAIN */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* CUSTOM CURSOR */
body { cursor: none; }
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; }
.cursor-dot {
  width: 8px; height: 8px; background: var(--green-light); border-radius: 50%;
  position: absolute; transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease);
}
.cursor-ring {
  width: 36px; height: 36px; border: 1.5px solid rgba(92,122,51,0.5); border-radius: 50%;
  position: absolute; transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s;
}
body.cursor-hover .cursor-ring { width: 56px; height: 56px; border-color: rgba(92,122,51,0.9); }
@media (max-width: 640px) { body { cursor: auto; } .cursor { display: none; } }

/* LOGO IMAGE — shared across all pages */
.nav-logo-img { height: 70px; width: auto; display: block; }

/* NAV — scoped to #navbar only, prevents footer nav conflicts */
nav#navbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 500;
  display: flex; align-items: center; padding: 0 48px;
  background: transparent;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s;
}
nav#navbar.scrolled {
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(68,90,37,0.2);
}
.nav-logo { display: flex; align-items: center; gap: 12px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase; }
.logo-mark { width: 42px; height: 42px; background: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 900; }
.nav-links { margin-left: auto; display: flex; gap: 36px; align-items: center; list-style: none; }
.nav-links a { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); transition: color 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--green-light); transition: width 0.3s var(--ease); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }
.nav-cta { padding: 10px 24px; background: var(--green); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white) !important; transition: background 0.2s !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--green-light) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; margin-left: auto; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 400; background: rgba(13,13,13,0.97); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: 'Barlow Condensed', sans-serif; font-size: 2.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--white); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--green-light); }

/* PAGE HERO */
.page-hero { min-height: 52vh; padding: calc(var(--nav-h) + 80px) 48px 80px; display: flex; align-items: flex-end; position: relative; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 80% 40%, rgba(68,90,37,0.18) 0%, transparent 60%), var(--black); }
.page-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(68,90,37,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(68,90,37,0.05) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse 80% 80% at 80% 50%, black 30%, transparent 80%); }
.page-hero-content { position: relative; z-index: 2; }
.page-eyebrow { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green-light); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(16px); animation: fadeUp 0.7s var(--ease) 0.1s forwards; }
.page-eyebrow::before { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--green-light); }
.page-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(3rem, 7vw, 6rem); font-weight: 900; text-transform: uppercase; line-height: 0.93; letter-spacing: -0.01em; opacity: 0; transform: translateY(24px); animation: fadeUp 0.8s var(--ease) 0.25s forwards; }
.page-title em { font-style: italic; font-family: 'Lora', serif; font-weight: 400; color: var(--green-light); font-size: 0.82em; }
.page-sub { margin-top: 24px; font-size: 1.05rem; font-weight: 300; color: var(--grey); line-height: 1.7; max-width: 560px; opacity: 0; transform: translateY(16px); animation: fadeUp 0.8s var(--ease) 0.4s forwards; }

/* SECTION LABELS & TITLES */
.section-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green-light); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.section-label::before { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--green-light); }
.section-label.centered { justify-content: center; }
.section-label.centered::after { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--green-light); }
.section-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; text-transform: uppercase; line-height: 0.95; letter-spacing: -0.01em; margin-bottom: 24px; }
.section-body { font-size: 1rem; font-weight: 300; color: var(--grey); line-height: 1.8; max-width: 560px; }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px; background: var(--green); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); transition: background 0.25s var(--ease), transform 0.2s; }
.btn-primary:hover { background: var(--green-light); transform: translateY(-2px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 15px 36px; border: 1px solid rgba(188,188,188,0.3); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); transition: border-color 0.25s, color 0.25s, transform 0.2s; }
.btn-ghost:hover { border-color: var(--white); color: var(--white); transform: translateY(-2px); }

/* CTA BAND */
.cta-band { padding: 100px 48px; background: var(--green-dark); text-align: center; position: relative; overflow: hidden; }
.cta-band-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 900; text-transform: uppercase; line-height: 0.95; margin-bottom: 24px; position: relative; z-index: 2; }
.cta-band-sub { font-size: 1rem; color: rgba(255,255,255,0.7); max-width: 480px; margin: 0 auto 40px; font-weight: 300; line-height: 1.7; position: relative; z-index: 2; }
.cta-band-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }
.btn-white { display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px; background: var(--white); color: var(--green-dark); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; transition: background 0.2s, transform 0.2s; }
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }
.btn-ghost-light { display: inline-flex; align-items: center; gap: 10px; padding: 15px 36px; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.8); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; transition: border-color 0.2s, color 0.2s; }
.btn-ghost-light:hover { border-color: rgba(255,255,255,0.8); color: var(--white); }

/* FOOTER */
footer { padding: 48px; background: var(--ink); border-top: 1px solid rgba(68,90,37,0.2); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-logo { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-logo span { color: var(--green-light); }
.footer-copy { font-size: 0.78rem; color: rgba(188,188,188,0.5); letter-spacing: 0.05em; }
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); transition: color 0.2s; }
.footer-links a:hover { color: var(--green-light); }

/* REVEAL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* FOOTER NAV — isolated wrapper class, never conflicts with #navbar */
.footer-nav { display: flex; flex-direction: column; gap: 12px; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* SHARED RESPONSIVE */
@media (max-width: 1024px) {
  nav#navbar { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .page-hero { padding: calc(var(--nav-h) + 48px) 24px 56px; }
  footer { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .cta-band { padding: 80px 24px; }
}
