/* ==============================
   JustPath — Theme CSS
   ============================== */

:root {
  --bg: #FAF7F2;
  --bg-alt: #F0EBE1;
  --nav-bg: #1A2744;
  --nav-text: #FAF7F2;
  --text: #1A2744;
  --text-muted: #4A5568;
  --accent: #B8892A;
  --accent-light: #D4AA50;
  --white: #FFFFFF;
  --border: #D6CEBC;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Navbar ---- */
.navbar {
  background: var(--nav-bg);
  color: var(--nav-text);
  padding: 18px 48px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: baseline;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-light);
}

.nav-tagline {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(250,247,242,0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- Section label ---- */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ---- Hero ---- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  min-height: 85vh;
  background: var(--bg);
}

.hero-left {
  background: var(--nav-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 48px;
  position: relative;
}

.hero-left::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 2px;
  height: 100%;
  background: var(--accent);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(250,247,242,0.65);
  line-height: 1.7;
}

.hero-right {
  padding: 72px 64px 72px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 600;
  line-height: 1.08;
  color: var(--text);
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.7;
}

.hero-sub--secondary {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 500;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  max-width: 480px;
}

/* ---- The Gap ---- */
.thegap {
  background: var(--bg-alt);
  padding: 96px 48px;
}

.thegap-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.thegap-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  max-width: 760px;
  margin-bottom: 64px;
}

.gap-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 64px;
}

.gap-block {
  padding: 40px;
}

.gap-block--left {
  background: var(--white);
}

.gap-block--right {
  background: var(--nav-bg);
  color: var(--white);
}

.gap-divider {
  display: flex;
  align-items: center;
  padding: 0 24px;
}

.gap-line {
  width: 1px;
  height: 100%;
  background: var(--border);
  min-height: 160px;
}

.gap-block-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--accent);
}

.gap-block--right .gap-block-number {
  color: var(--accent-light);
}

.gap-block-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.gap-block--right .gap-block-text {
  color: rgba(250,247,242,0.65);
}

.gap-callout {
  background: var(--accent);
  padding: 28px 36px;
  border-left: 4px solid var(--text);
}

.gap-callout p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

/* ---- Approach ---- */
.approach {
  background: var(--bg);
  padding: 96px 48px;
}

.approach-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.approach-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 56px;
  max-width: 600px;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.approach-card {
  padding: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
}

.approach-card-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.approach-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.2;
}

.approach-card-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.approach-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.approach-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.approach-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- Who ---- */
.who {
  background: var(--nav-bg);
  padding: 96px 48px;
}

.who-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.who-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 48px;
}

.who-facts {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.who-fact {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
}

.who-fact-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.who-fact-body {
  font-size: 0.95rem;
  color: rgba(250,247,242,0.75);
  line-height: 1.7;
}

.who-quote {
  padding: 40px;
  border: 1px solid rgba(184,137,42,0.4);
  background: rgba(184,137,42,0.08);
  margin-top: 80px;
}

.who-quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 20px;
}

.who-quote-source {
  font-size: 0.75rem;
  color: var(--accent-light);
  letter-spacing: 0.05em;
}

/* ---- Closing ---- */
.closing {
  background: var(--accent);
  padding: 96px 48px;
  text-align: center;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
}

.closing-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 28px;
}

.closing-body {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Footer ---- */
.footer {
  background: var(--text);
  padding: 64px 48px 48px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 40px;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
  display: block;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  color: rgba(250,247,242,0.6);
  max-width: 500px;
  line-height: 1.7;
}

.footer-rule {
  height: 1px;
  background: rgba(250,247,242,0.15);
  margin-bottom: 24px;
}

.footer-note {
  font-size: 0.8rem;
  color: rgba(250,247,242,0.4);
  line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-left {
    padding: 48px 32px;
    min-height: auto;
  }
  .hero-right {
    padding: 48px 32px;
  }
  .stat-number {
    font-size: 5rem;
  }
  .hero-headline {
    font-size: 3rem;
  }
  .gap-grid {
    grid-template-columns: 1fr;
  }
  .gap-divider { display: none; }
  .approach-grid {
    grid-template-columns: 1fr;
  }
  .who-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .who-quote {
    margin-top: 0;
  }
  .navbar { padding: 16px 24px; }
  .thegap, .approach, .who, .closing, .footer { padding: 64px 24px; }
  .closing-heading { font-size: 2rem; }
  .thegap-heading, .approach-heading, .who-heading { font-size: 1.9rem; }
}

@media (max-width: 480px) {
  .stat-number { font-size: 4rem; }
  .hero-headline { font-size: 2.4rem; }
  .approach-card { padding: 28px 24px; }
  .hero-right { padding: 36px 24px; }
  .hero-left { padding: 36px 24px; }
}