/* ============================================================
   Zevolve Global Ventures — Core stylesheet
   ============================================================ */

:root {
  --navy-950: #0a1420;
  --navy-900: #0f2138;
  --navy-800: #16304f;
  --navy-700: #1c3a5e;
  --gold-600: #a9824d;
  --gold-700: #8c6a3a;
  --gold-100: #f2ead9;
  --cream: #f7f5f0;
  --white: #ffffff;
  --ink: #14181f;
  --grey-700: #444b56;
  --grey-600: #5c6470;
  --grey-400: #9298a1;
  --grey-300: #d8d9d4;
  --grey-100: #f1f0ec;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1280px;
  --gutter: clamp(1.5rem, 5vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy-950);
  line-height: 1.15;
  margin: 0;
}

.h1 { font-size: clamp(2.75rem, 5vw, 4.5rem); font-weight: 340; letter-spacing: -0.01em; }
.h2 { font-size: clamp(2rem, 3.2vw, 2.85rem); font-weight: 380; letter-spacing: -0.01em; }
.h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 400; }
.h4 { font-size: 1.15rem; font-weight: 500; font-family: var(--font-body); }

p { margin: 0 0 1.1em; color: var(--grey-700); }
.lede { font-size: 1.2rem; line-height: 1.6; color: var(--grey-700); max-width: 46ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold-600);
  display: inline-block;
}

.serif-italic { font-style: italic; font-family: var(--font-display); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.9rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy-950);
  color: var(--white);
  border-color: var(--navy-950);
}
.btn-primary:hover { background: var(--navy-700); border-color: var(--navy-700); }

.btn-outline {
  background: transparent;
  color: var(--navy-950);
  border-color: var(--navy-950);
}
.btn-outline:hover { background: var(--navy-950); color: var(--white); }

.btn-on-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-on-dark:hover { background: var(--white); color: var(--navy-950); border-color: var(--white); }

.btn-gold {
  background: var(--gold-600);
  color: var(--navy-950);
  border-color: var(--gold-600);
}
.btn-gold:hover { background: var(--gold-700); border-color: var(--gold-700); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--grey-300);
  backdrop-filter: saturate(180%) blur(6px);
}
.header-inner { position: relative; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy-950);
  letter-spacing: 0.01em;
}
.logo-mark {
  width: 30px; height: 30px;
  border: 1px solid var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--navy-950);
  flex-shrink: 0;
}
.logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-600);
  font-weight: 600;
  margin-top: 1px;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
nav.main-nav a {
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--navy-900);
  position: relative;
  padding: 0.3rem 0;
}
nav.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold-600);
  transition: width 0.2s ease;
}
nav.main-nav a:hover::after,
nav.main-nav a.active::after { width: 100%; }
nav.main-nav a.active { color: var(--gold-700); }

.header-cta { display: flex; align-items: center; gap: 1.6rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy-950);
  margin: 5px 0;
}

/* ---------- Sections ---------- */

section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--navy-950); color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.72); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

hr.rule {
  border: none;
  border-top: 1px solid var(--grey-300);
  margin: 0;
}
.section-dark hr.rule { border-top-color: rgba(255,255,255,0.15); }

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(4.5rem, 9vw, 8rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--grey-300);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: end;
}
.hero-headline { max-width: 15ch; }
.hero-side {
  border-left: 1px solid var(--grey-300);
  padding-left: 2rem;
}
.hero-tagline {
  font-size: 0.98rem;
  color: var(--grey-600);
  letter-spacing: 0.02em;
  margin-bottom: 1.8rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; }

/* ---------- Grids & cards ---------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

.card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  padding: 2.2rem;
}
.section-dark .card {
  background: var(--navy-900);
  border-color: rgba(255,255,255,0.15);
}
.card-number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold-600);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: block;
}
.card h4 { margin-bottom: 0.7rem; }
.card p { font-size: 0.95rem; margin-bottom: 0; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-950);
  border-bottom: 1px solid var(--gold-600);
  padding-bottom: 2px;
}
.section-dark .card-link { color: var(--white); }

/* trust badges */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.badge {
  border: 1px solid var(--grey-300);
  padding: 0.55rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy-800);
  letter-spacing: 0.01em;
}

/* stat block */
.stat { border-top: 1px solid var(--grey-300); padding-top: 1.3rem; }
.section-dark .stat { border-top-color: rgba(255,255,255,0.2); }
.stat-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--navy-950); display: block; line-height: 1; }
.section-dark .stat-num { color: var(--white); }
.stat-label { font-size: 0.85rem; color: var(--grey-600); margin-top: 0.5rem; }

/* quote / pull */
.pull-quote {
  border-left: 2px solid var(--gold-600);
  padding-left: 2rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--navy-950);
  max-width: 60ch;
}

/* founder */
.founder-portrait {
  aspect-ratio: 4/5;
  background: var(--navy-950);
  border: 1px solid var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-portrait .initials {
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: rgba(255,255,255,0.9);
  font-weight: 300;
}

/* office list */
.office-block { border-top: 1px solid var(--grey-300); padding: 2rem 0; }
.office-block:last-child { border-bottom: 1px solid var(--grey-300); }

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; grid-column: span 1; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy-800);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--grey-300);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-800);
}
.form-note { font-size: 0.82rem; color: var(--grey-600); margin-top: 1.2rem; }

/* case study */
.cs-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: 2.5rem 0; }
.cs-meta div { border-top: 1px solid var(--grey-300); padding-top: 0.9rem; }
.section-dark .cs-meta div { border-top-color: rgba(255,255,255,0.2); }
.cs-meta .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-600); }
.section-dark .cs-meta .label { color: rgba(255,255,255,0.55); }
.cs-meta .value { font-family: var(--font-display); font-size: 1.15rem; margin-top: 0.3rem; }

.metric-placeholder {
  font-family: var(--font-display);
  color: var(--gold-700);
  font-style: italic;
}

/* map / connector */
.route-svg { width: 100%; height: auto; }

/* Practice list rows (services overview) */
.practice-row {
  display: grid;
  grid-template-columns: 2fr 3fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.1rem 0;
  border-top: 1px solid var(--grey-300);
}
.practice-row:last-child { border-bottom: 1px solid var(--grey-300); }
.practice-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  font-size: 0.78rem;
  color: var(--grey-600);
  border: 1px solid var(--grey-300);
  padding: 0.3rem 0.7rem;
}
.practice-arrow {
  font-size: 1.3rem;
  color: var(--navy-950);
}

/* footer */
footer.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.65);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-grid h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin: 0 0 1.2rem;
}
.footer-grid a, .footer-grid p {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.7rem;
  line-height: 1.5;
}
.footer-grid a:hover { color: var(--gold-600); }
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.8rem;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: rgba(255,255,255,0.55); margin-left: 1.4rem; }
.footer-bottom a:hover { color: var(--gold-600); }
.social-links { display: flex; gap: 1rem; }

/* page hero (interior pages) */
.page-hero {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 3.5rem;
  border-bottom: 1px solid var(--grey-300);
}
.breadcrumb {
  font-size: 0.82rem;
  color: var(--grey-600);
  margin-bottom: 1.5rem;
}
.breadcrumb a:hover { color: var(--gold-700); }

/* utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--grey-300); border: none; margin: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  nav.main-nav { display: none; }
  nav.main-nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--grey-300);
    padding: 1.5rem var(--gutter) 2rem;
    gap: 1.3rem;
  }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { border-left: none; border-top: 1px solid var(--grey-300); padding-left: 0; padding-top: 1.5rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cs-meta { grid-template-columns: 1fr 1fr; }
  .practice-row { grid-template-columns: 1fr; gap: 0.8rem; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Logo image ---------- */

.logo-mark-img {
  width: 34px;
  height: auto;
  flex-shrink: 0;
}

/* ---------- Hero with background photo ---------- */

.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-image:
    linear-gradient(100deg, rgba(10,20,32,0.94) 0%, rgba(10,20,32,0.86) 40%, rgba(10,20,32,0.72) 100%),
    url('../images/hero-bg.jpg');
}
.hero .eyebrow { color: var(--gold-600); }
.hero h1.hero-headline { color: var(--white); }
.hero-side { border-left-color: rgba(255,255,255,0.25); }
.hero-tagline { color: rgba(255,255,255,0.75); }
.hero-side p { color: rgba(255,255,255,0.6) !important; }
.hero .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.5); }
.hero .btn-outline:hover { background: var(--white); color: var(--navy-950); }

/* ---------- Founder photo ---------- */

.founder-portrait {
  position: relative;
  overflow: hidden;
}
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(12%) contrast(1.04);
}
.founder-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,33,56,0) 45%, rgba(15,33,56,0.5) 100%);
  pointer-events: none;
}

/* ---------- Route diagram animation ---------- */

.route-svg .connector {
  transition: stroke-dashoffset 1.6s ease;
}
.route-svg circle.node-dot {
  transform-box: fill-box;
  transform-origin: center;
}
.route-svg.in-view circle.node-dot {
  animation: routeDotPulse 2.6s ease-in-out infinite;
}
@keyframes routeDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@media (prefers-reduced-motion: reduce) {
  .route-svg .connector { transition: none !important; }
  .route-svg circle.node-dot { animation: none !important; }
}
