/* Color palette */
:root {
  --brand-primary: #35829F;
  --brand-accent: #57CBF5;
  --black: #0a0a0a;
  --white: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --bg: #ffffff;
  --ring: rgba(53,130,159,0.35);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(17,24,39,0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, h4 { letter-spacing: -0.01em; font-family: 'Nunito', Inter, system-ui, -apple-system, sans-serif; }
h2 { font-weight: 700; }
h3 { font-weight: 600; font-size: 2em; color: var(--brand-primary); }
h4 { font-weight: 600; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 20px;
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(8px);
  background: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(17,24,39,0.06);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo {
  height: 45px;
  width: auto;
  margin-left: 20px; /* nudge right to align with Mission title */
}

/* Hero */
.hero {
  --g1: var(--brand-primary);
  --g2: var(--brand-accent);
  background: linear-gradient(135deg, var(--g1) 0%, var(--g2) 100%);
  background-size: 200% 200%;
  animation: gradientShift 16s ease infinite;
  color: var(--white);
  padding: 96px 0 72px;
  text-align: center;
}
.hero h2 { font-size: 2.5rem; margin: 0 0 10px; line-height: 1.2; }
.hero .tagline { margin: 8px 0 0; display: inline-flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; }
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 20px;
  font-size: 0.9rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.25);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  font-size: 0.95rem;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Mission */
.mission { padding: 72px 0; }
.connect h4 {margin: 0 0 8px; font-size: 1.2rem;}
.connect p { margin: 0 0 10px; color: var(--text); }
.connect { padding-bottom: 50px; }
/* Ensure chips in Let's chat are sized to content */
.connect .founder-contact { display: inline-flex; width: max-content; align-self: flex-start; justify-self: start; }
.connect .founder-contact a { white-space: nowrap; display: inline; }

.mission h3 {
  margin: 0 0 20px;
  color: var(--brand-primary);
}
.mission-text {
  display: grid;
  gap: 18px;
  color: var(--text);
  font-size: 1.05rem;
  max-width: 85ch;
}
.mission-text p { margin: 0; }

/* Founders */
.founders {
  padding: 40px 0;
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
}
.founders h3 {
  margin: 0 0 28px;
  color: var(--brand-primary);
}
.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.founder-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  padding: 16px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(53,130,159,0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.founder-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  align-items: start;
}
.founder-meta { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left; }
.founder-left { display: flex; flex-direction: column; align-items: center; }
.founder-name {
  margin: 0 0 4px;
  font-size: 1.3rem;
  color: var(--brand-primary);
  text-align: left;
}
.founder-role { margin: 0; line-height: 1.2; margin-bottom: 1em;}
.founder-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1em;
  border: 1px solid rgba(87,203,245,0.35);
}
.founder-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 4px 15px;
  border-radius: var(--radius);
  background: rgba(87,203,245,0.12);
  color: var(--brand-primary);
  font-size: 0.9rem;
  border: 1px solid rgba(87,203,245,0.35);
}
.founder-achievements {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 15px;
  border-radius: var(--radius);
  background: rgba(87,203,245,0.12);
  color: var(--brand-primary);
  border: 1px solid rgba(87,203,245,0.35);
  font-size: 0.9rem;
}
.founder-contact a { color: inherit; text-decoration: none; }
.founder-contact a:hover { text-decoration: underline; }
.icon-mail { color: var(--brand-primary); }
.founder-content h4 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  color: var(--black);
}
.founder-content p {
  margin: 0 0 4px;
  color: var(--text);
}
.brand-strong { color: var(--brand-primary); }

.founder-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(17,24,39,0.12);
  background: rgba(255,255,255,0.85);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(17,24,39,0.06);
  background: var(--white);
}
.site-footer .container { padding: 16px 0; text-align: center; }
.site-footer p { margin: 0; color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-inner { justify-content: center; }
  .logo { height: 38px; }
  .hero { padding: 64px 0 48px; }
  .hero h2 { font-size: 1.8rem; }
  .founder-card { grid-template-rows: auto 1fr; text-align: left; }
  .founder-header { grid-template-columns: 1fr; gap: 12px; }
  .founder-meta { gap: 4px; }
  .founder-name { text-align: left; }
  .founder-photo { width: 100%; height: auto; }
}

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

