/* ============================================
   CHI - Coalition for Human Iteration
   Theme: Clean biotech nonprofit meets
   "grassroots" org with suspicious funding
   ============================================ */

/* -- Color Palette -- */
:root {
  --primary: #1a3a5c;
  --primary-light: #2a5a8c;
  --accent: #4ecdc4;
  --accent-dark: #3ab5ad;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --text-dark: #1a1a2e;
  --text-medium: #4a4a6a;
  --text-light: #7a7a9a;
  --border: #e0e0e0;
  --gold: #c9a84c;
  --gold-light: #f0e6c8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

img {
  max-width: 100%;
}

/* -- Navigation -- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 58, 92, 0.97);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
}

.nav-logo .logo-accent {
  color: var(--accent);
}

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

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.nav-hamburger span {
  width: 25px;
  height: 2px;
  background: #fff;
}

/* -- Hero -- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #0d1f33 100%);
  color: #fff;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234ecdc4' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero .tagline {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  font-style: italic;
}

.hero .cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* -- Buttons -- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* -- Sections -- */
.section {
  padding: 6rem 2rem;
}

.section-dark {
  background: var(--bg-light);
}

.section-navy {
  background: var(--primary);
  color: #fff;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-navy .section-header h2 {
  color: #fff;
}

.section-header .subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

.section-navy .section-header .subtitle {
  color: rgba(255,255,255,0.7);
}

.section-label {
  display: inline-block;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* -- About / Mission -- */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-text p {
  margin-bottom: 1.5rem;
  color: var(--text-medium);
  font-size: 1.05rem;
}

.mission-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stat-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-top: 3px solid var(--accent);
}

.stat-card .number {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-card .label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* -- Pillars -- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 3px solid transparent;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border-bottom-color: var(--accent);
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.pillar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.pillar-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* -- Board / Team -- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card {
  text-align: center;
  padding: 2rem 1rem;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: rgba(255,255,255,0.3);
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 700;
}

.team-card h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--accent-dark);
  font-family: 'Helvetica Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.team-card .bio {
  font-size: 0.9rem;
  color: var(--text-medium);
}

/* -- Initiatives -- */
.initiative-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.initiative-item {
  display: flex;
  gap: 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 2rem;
  transition: background 0.3s;
}

.initiative-item:hover {
  background: rgba(255,255,255,0.08);
}

.initiative-icon {
  font-size: 2rem;
  min-width: 60px;
  text-align: center;
}

.initiative-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.initiative-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.initiative-tag {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 3px 12px;
  background: rgba(78, 205, 196, 0.15);
  color: var(--accent);
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* -- Funding Transparency (lol) -- */
.funding-bar {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 2.5rem;
  margin-top: 2rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.funding-bar h3 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.funding-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.funding-item:last-child {
  border-bottom: none;
}

.funding-item .source {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.funding-item .amount {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 700;
  color: var(--accent);
}

/* -- Newsletter / CTA -- */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, #0d1f33 100%);
  color: #fff;
  padding: 5rem 2rem;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 1rem;
  font-family: 'Georgia', serif;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

/* -- Footer -- */
.footer {
  background: #0a1929;
  color: rgba(255,255,255,0.5);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 0.85rem;
}

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

.footer small {
  font-size: 0.8rem;
  display: block;
  margin-top: 1rem;
  width: 100%;
  text-align: center;
  color: rgba(255,255,255,0.25);
}

/* -- Responsive -- */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.5rem; }
  .mission-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(26, 58, 92, 0.97);
    padding: 1rem 2rem 2rem;
    gap: 1rem;
  }
  .nav-hamburger { display: flex; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .section { padding: 4rem 1.5rem; }
  .team-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .funding-item { flex-direction: column; gap: 0.3rem; text-align: center; }
  .initiative-item { flex-direction: column; text-align: center; }
}
