/* ============================================
   LCG — Leiter Consulting Group
   Visual system: editorial, modern, navy + gold
   ============================================ */

:root {
  --navy: #1A1A2E;
  --navy-soft: #242442;
  --navy-deep: #0F0F1F;
  --gold: #B49047;
  --gold-bright: #D4AA5C;
  --cream: #FAFAF7;
  --paper: #F5F1E8;
  --ink: #1F2937;
  --slate: #4B5563;
  --slate-light: #6B7280;
  --border: #E5E7EB;
  --border-dark: rgba(255,255,255,0.12);
  --maxw: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
  padding: 1.25rem 0;
}
.nav-scrolled {
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0.85rem 0;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Fraunces', Georgia, serif;
}
.nav-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  background: var(--navy);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  border-radius: 4px;
}
.nav-brand-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 2.2rem;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--navy); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(180,144,71,0.07) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(26,26,46,0.06) 0%, transparent 50%),
    var(--cream);
}
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.5rem;
}
.eyebrow-dark { color: var(--gold); }
.eyebrow-light { color: var(--gold-bright); }
.hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 2rem;
  max-width: 22ch;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--slate);
  max-width: 56ch;
  margin: 0 0 2.5rem;
}
.hero-sub strong { color: var(--navy); font-weight: 600; }
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  border-radius: 4px;
  transition: all 0.18s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(26,26,46,0.18);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--cream);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.section-light { background: var(--cream); }
.section-dark {
  background: var(--navy);
  color: var(--cream);
}
.section-contact {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  text-align: center;
}
.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 2.5rem;
  max-width: 28ch;
}
.section-title-light { color: var(--cream); }
.section-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.6;
  color: var(--slate);
  max-width: 64ch;
  margin: 0 0 3rem;
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.about-body p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1.4rem;
}
.about-body p:last-child { margin-bottom: 0; }
.about-card {
  background: var(--paper);
  border-radius: 6px;
  padding: 2rem;
  border: 1px solid rgba(180,144,71,0.18);
}
.about-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.about-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-card-list li {
  font-size: 0.98rem;
  color: var(--ink);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(180,144,71,0.15);
}
.about-card-list li:last-child { border-bottom: none; }
.about-card-list-tight li { padding: 0.4rem 0; font-size: 0.94rem; }
.about-card-divider {
  height: 1px;
  background: rgba(180,144,71,0.25);
  margin: 1.5rem 0;
}

/* ============================================
   PILLARS
   ============================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.pillar {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  background: rgba(255,255,255,0.025);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.pillar:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-3px);
  border-color: rgba(180,144,71,0.4);
}
.pillar-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold-bright);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.pillar-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin: 0 0 1rem;
}
.pillar-body {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(250,250,247,0.78);
  margin: 0;
}

/* ============================================
   ENGAGEMENTS
   ============================================ */
.engagements-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}
.engagement {
  padding: 1.75rem 1.85rem;
  background: var(--paper);
  border-radius: 6px;
  border-left: 3px solid var(--gold);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.engagement:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,26,46,0.06);
}
.engagement-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.engagement h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin: 0 0 0.55rem;
}
.engagement p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
}
.engagements-note {
  font-style: italic;
  font-size: 1.02rem;
  color: var(--slate);
  max-width: 64ch;
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
  margin: 0;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-inner {
  max-width: 720px;
  text-align: center;
}
.contact-inner .eyebrow,
.contact-inner .section-title {
  margin-left: auto;
  margin-right: auto;
}
.contact-inner .section-title { max-width: none; }
.contact-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(250,250,247,0.78);
  margin: 0 auto 2.5rem;
  max-width: 56ch;
}
.contact-email {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--gold-bright);
  border-bottom: 2px solid transparent;
  padding: 0.25rem 0;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s ease;
}
.contact-email:hover {
  border-bottom-color: var(--gold-bright);
}
.contact-linkedin {
  display: inline-block;
  font-size: 1rem;
  color: rgba(250,250,247,0.7);
  letter-spacing: 0.01em;
  margin-bottom: 2.5rem;
  transition: color 0.2s ease;
}
.contact-linkedin:hover { color: var(--gold-bright); }
.contact-note {
  font-size: 0.92rem;
  color: rgba(250,250,247,0.55);
  font-style: italic;
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-deep);
  padding: 2rem 0;
  color: rgba(250,250,247,0.55);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.86rem;
}
.footer-left {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.footer-mark {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  background: var(--navy);
  color: var(--gold);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  border-radius: 3px;
}
.footer-name { font-weight: 500; }

/* ============================================
   ENTRANCE ANIMATIONS — CSS-only, run once on load
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-inner > *,
.section > .container > * {
  animation: fadeUp 0.7s ease both;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.15s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.25s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.35s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 920px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pillars { grid-template-columns: 1fr; }
  .engagements-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(250,250,247,0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 1rem var(--pad);
    box-shadow: 0 8px 24px rgba(26,26,46,0.08);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-brand-name { display: none; }
  .hero { padding: 7rem 0 4rem; min-height: 90vh; }
  .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
