@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=IBM+Plex+Mono:wght@300;400;500&display=swap');

/* =========================================================
   Design tokens
   ========================================================= */
:root {
  /* Colby-inspired palette — navy anchor, warm accents */
  --navy:        #0f1c3f;
  --navy-mid:    #162249;
  --navy-light:  #1d2d5c;
  --slate:       #3a4a6e;
  --mist:        #c5cee0;
  --cloud:       #e9edf5;
  --white:       #f8f9fc;
  --cream:       #fdfbf6;
  --gold:        #d4a843;
  --gold-soft:   #e8c96e;
  --gold-muted:  rgba(212,168,67,0.12);
  --teal:        #2a9d8f;
  --teal-soft:   rgba(42,157,143,0.1);
  --coral:       #e07a5f;
  --text-dark:   #111827;
  --text-body:   #374151;
  --text-light:  #6b7280;
  --border:      rgba(15,28,63,0.08);
  --border-strong: rgba(15,28,63,0.14);
  --radius:      10px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 3px rgba(15,28,63,0.06);
  --shadow-md:   0 4px 16px rgba(15,28,63,0.08);
  --shadow-lg:   0 8px 30px rgba(15,28,63,0.10);
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--gold); }

/* =========================================================
   Layout helpers
   ========================================================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* =========================================================
   Navigation
   ========================================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,249,252,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-logo {
  width: 32px;
  height: 32px;
  background: var(--navy);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo svg { width: 18px; height: 18px; }

.nav-title {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.nav-title span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
}

.nav-links {
  display: none;
  list-style: none;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-body);
  letter-spacing: 0.01em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: none;
  padding: 0.5rem 1.15rem;
  background: var(--navy);
  color: var(--white) !important;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--navy-mid);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 1.25rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(212,168,67,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(42,157,143,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.75rem;
  background: rgba(212,168,67,0.06);
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 400;
}

.hero-desc {
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  line-height: 1.7;
  color: var(--mist);
  margin-bottom: 2rem;
  max-width: 560px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,168,67,0.25);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

/* =========================================================
   Stats bar
   ========================================================= */
.stats-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.stat-number {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.1;
}

.stat-desc {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* =========================================================
   Section base
   ========================================================= */
.section {
  padding: 4rem 1.25rem;
}

.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  max-width: 540px;
  line-height: 1.65;
  font-weight: 300;
}

/* =========================================================
   Programs / pathways
   ========================================================= */
.pathways-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.pathway-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pathway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
}

.pathway-card.ideate::before { background: var(--gold); }
.pathway-card.build::before  { background: var(--teal); }
.pathway-card.launch::before { background: var(--coral); }
.pathway-card.connect::before { background: var(--navy); }

.pathway-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pathway-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pathway-card.ideate .pathway-icon  { background: var(--gold-muted); }
.pathway-card.build .pathway-icon   { background: var(--teal-soft); }
.pathway-card.launch .pathway-icon  { background: rgba(224,122,95,0.1); }
.pathway-card.connect .pathway-icon { background: rgba(15,28,63,0.06); }

.pathway-icon svg { width: 20px; height: 20px; }

.pathway-name {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.pathway-text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 300;
}

.pathway-tag {
  display: inline-block;
  margin-top: 0.85rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
}

.pathway-card.ideate .pathway-tag  { color: var(--gold); background: var(--gold-muted); }
.pathway-card.build .pathway-tag   { color: var(--teal); background: var(--teal-soft); }
.pathway-card.launch .pathway-tag  { color: var(--coral); background: rgba(224,122,95,0.08); }
.pathway-card.connect .pathway-tag { color: var(--slate); background: rgba(15,28,63,0.05); }

/* =========================================================
   Funding / pitch section (dark)
   ========================================================= */
.pitch-section {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.pitch-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(212,168,67,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.pitch-content {
  position: relative;
  z-index: 1;
}

.pitch-section .section-label { color: var(--gold-soft); }
.pitch-section .section-title { color: var(--white); }
.pitch-section .section-desc  { color: var(--mist); }

.funding-cards {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.funding-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s;
}

.funding-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
}

.funding-amount {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gold-soft);
  margin-bottom: 0.25rem;
}

.funding-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.funding-desc {
  font-size: 0.82rem;
  color: var(--mist);
  line-height: 1.6;
  font-weight: 300;
}

/* =========================================================
   Spaces / community
   ========================================================= */
.spaces-section {
  background: var(--cream);
  padding: 4rem 1.25rem;
}

.spaces-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.space-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: all 0.3s;
}

.space-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.space-name {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.space-location {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.space-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 300;
}

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner {
  padding: 4rem 1.25rem;
  text-align: center;
}

.cta-inner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(212,168,67,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 20% 80%, rgba(42,157,143,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-inner > * { position: relative; z-index: 1; }

.cta-banner .section-title {
  color: var(--white);
  text-align: center;
  margin-bottom: 0.5rem;
}

.cta-banner .section-desc {
  color: var(--mist);
  text-align: center;
  margin: 0 auto 1.75rem;
}

.cta-banner .btn-primary {
  margin: 0 auto;
  display: inline-flex;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  padding: 2.5rem 1.25rem 2rem;
  border-top: 1px solid var(--border);
}

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

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-light);
  max-width: 300px;
  line-height: 1.55;
  font-weight: 300;
}

.footer-links-group h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-light);
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-light);
}

.footer-colby {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Desktop
   ========================================================= */
@media (min-width: 640px) {
  .nav-links {
    display: flex;
  }

  .nav-cta { display: inline-flex; }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pathways-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .funding-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .spaces-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 6rem 2rem 5rem;
  }

  .hero-content { max-width: 640px; }

  .section, .pitch-section, .spaces-section, .cta-banner { padding-left: 2rem; padding-right: 2rem; }

  .pathways-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .funding-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .spaces-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-inner { padding: 4rem 3rem; }
}
