/* ============================================
   PathForge Mentorship — Design tokens
   Color: paper #FAF8F4, forest #1C2B22, copper #C7641F,
          sage #5B7A63, stone #E8E2D6
   Type: Fraunces (display) + Inter (body/UI)
   Signature: stepping-stone path motif, literal to "forging a path"
   ============================================ */

:root {
  --paper: #FAF8F4;
  --paper-warm: #F3EEE4;
  --forest: #1C2B22;
  --forest-soft: #2E4334;
  --copper: #C7641F;
  --copper-soft: #E0884A;
  --sage: #5B7A63;
  --stone: #E8E2D6;
  --stone-line: #D8D0C0;
  --ink-muted: #5B6359;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--forest);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--forest);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
}
.eyebrow-center { text-align: center; }

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stone-line);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--forest);
  flex-shrink: 0;
  line-height: 1.1;
}

.logo-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--copper);
  margin-top: 1px;
}

.main-nav {
  display: flex;
  margin: 0 auto;
}

.main-nav a { margin: 0 18px; }

.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--forest); }

.nav-cta {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  background: var(--forest);
  color: var(--paper);
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--forest-soft); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--forest);
  border-radius: 1px;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px 32px 60px;
  position: relative;
}

.hero-inner {
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.12;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  transition: all 0.15s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--copper);
  color: var(--paper);
}
.btn-primary:hover { background: #B05415; }

.btn-ghost {
  color: var(--forest);
  padding: 14px 8px;
}
.btn-ghost:hover { color: var(--copper); }
.btn-ghost .arrow { transition: transform 0.15s ease; display: inline-block; }
.btn-ghost:hover .arrow { transform: translateX(3px); }

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--stone-line);
  width: 100%;
  justify-content: center;
}
.btn-outline:hover { border-color: var(--forest); background: var(--stone); }

.involved-card:not(.involved-card-featured) .btn-outline {
  color: var(--paper);
  border-color: rgba(255,255,255,0.35);
}
.involved-card:not(.involved-card-featured) .btn-outline:hover {
  border-color: var(--paper);
  background: rgba(255,255,255,0.08);
}

.hero-path {
  margin-top: 56px;
  height: 110px;
  width: 100%;
  opacity: 0.55;
}
.hero-path svg { width: 100%; height: 100%; }

#hero-path-line {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw-path 2.2s ease-out 0.5s forwards;
}

.hero-reveal > * {
  opacity: 0;
  transform: translateY(14px);
  animation: rise-in 0.7s ease-out forwards;
}
.hero-reveal .eyebrow { animation-delay: 0.05s; }
.hero-reveal h1 { animation-delay: 0.15s; }
.hero-reveal .hero-sub { animation-delay: 0.3s; }
.hero-reveal .hero-actions { animation-delay: 0.45s; }

@keyframes rise-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes draw-path {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  #hero-path-line { animation: none; stroke-dashoffset: 0; }
  .hero-reveal > * { animation: none; opacity: 1; transform: none; }
}

/* ============================================
   THE GAP / STORY
   ============================================ */

.gap {
  background: var(--forest);
  color: var(--paper);
  padding: 90px 32px;
}

.gap-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.gap-quote {
  position: relative;
  padding-top: 8px;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--copper-soft);
  margin-bottom: -16px;
}

.quote-text {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.35;
  font-weight: 400;
  font-style: italic;
  color: var(--paper);
  margin-bottom: 16px;
}

.quote-attr {
  font-size: 14px;
  color: #9DAA9F;
}

.gap-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: #D8DED9;
  margin-bottom: 20px;
}
.gap-copy p:last-child { margin-bottom: 0; }

.founders {
  max-width: var(--max-width);
  margin: 72px auto 0;
  padding-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.founders-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin-bottom: 28px;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.founder-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 20px 22px;
}

.founder-initial {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--copper);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.founder-name {
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 3px;
}

.founder-role {
  font-size: 13.5px;
  color: #A9B5AC;
}

.founders-bio {
  font-size: 16px;
  line-height: 1.7;
  color: #C2CBC4;
  max-width: 760px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how {
  padding: 110px 32px;
}

.how-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.how h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.25;
  margin-bottom: 76px;
}

.path-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: left;
}

.path-steps-line {
  position: absolute;
  top: 22px;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  background: var(--paper);
  padding-top: 0;
}

.step-stone {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--copper);
  color: var(--copper);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.step h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.step p {
  font-size: 15.5px;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* ============================================
   IMPACT
   ============================================ */

.impact {
  background: var(--stone);
  padding: 100px 32px;
}

.impact-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.impact h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 60px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.impact-card {
  background: var(--paper);
  border-radius: 16px;
  padding: 36px 30px;
  text-align: left;
}

.impact-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 8px;
}

.impact-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--forest);
  margin-bottom: 14px;
}

.impact-detail {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ============================================
   PHILOSOPHY
   ============================================ */

.philosophy {
  padding: 110px 32px;
}

.philosophy-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.philosophy blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 400;
  color: var(--copper);
  line-height: 1.3;
  margin-bottom: 36px;
}

.philosophy-body {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink-muted);
}

/* ============================================
   GET INVOLVED
   ============================================ */

.involved {
  background: var(--forest);
  padding: 110px 32px;
}

.involved-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.involved .eyebrow { color: var(--copper-soft); }

.involved h2 {
  color: var(--paper);
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.3;
  margin-bottom: 60px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.involved-card {
  background: var(--forest-soft);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.08);
}

.involved-card-featured {
  background: var(--paper);
  border: 1px solid var(--copper);
}

.involved-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.involved-card-featured .involved-icon {
  background: #FBEEE3;
}
.involved-card-featured .involved-icon svg path,
.involved-card-featured .involved-icon svg circle,
.involved-card-featured .involved-icon svg rect {
  stroke: var(--copper);
}

.involved-card:not(.involved-card-featured) h3,
.involved-card:not(.involved-card-featured) p {
  color: var(--paper);
}
.involved-card:not(.involved-card-featured) p { color: #C2CBC4; }

.involved-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--copper);
  background: #FBEEE3;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  width: fit-content;
}

.involved-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.involved-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.involved-card .btn { margin-top: auto; }

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--forest);
  padding: 40px 32px 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--paper);
}

.footer-tag {
  font-size: 13.5px;
  color: #8C9990;
}

.footer-mail {
  font-size: 14px;
  color: var(--copper-soft);
  font-weight: 500;
}
.footer-mail:hover { text-decoration: underline; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--stone-line);
    flex-direction: column;
    gap: 0;
    padding: 8px 32px 16px;
  }
  .main-nav.nav-open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--stone-line); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .gap-inner { grid-template-columns: 1fr; gap: 40px; }
  .founders-grid { grid-template-columns: 1fr; }
  .path-steps { grid-template-columns: 1fr; gap: 32px; }
  .path-steps-line { display: none; }
  .impact-grid { grid-template-columns: 1fr; }
  .involved-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .header-inner { padding: 0 20px; }
  .hero { padding: 64px 20px 40px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 17px; }
  .gap, .how, .impact, .philosophy, .involved { padding: 64px 20px; }
  .quote-text { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
