:root {
  --bg: #ffffff;
  --bg-2: #f6f6f6;
  --surface: #ffffff;
  --surface-2: #f2f2f2;
  --text: #1c3a48;
  --muted: #46616e;
  --muted-2: #87979f;
  --border: #e5e5e5;
  --accent: #314b57;
  --accent-2: #907136;
  --accent-dark: #1c3a48;
  --accent-soft: rgba(49, 75, 87, 0.08);
  --accent-2-soft: rgba(144, 113, 54, 0.12);
  --ring: rgba(49, 75, 87, 0.3);
  --radius: 10px;
  --radius-sm: 6px;
  --maxw: 1160px;
  --shadow-sm: 0 1px 2px rgba(28, 58, 72, 0.06);
  --shadow-md: 0 10px 30px rgba(28, 58, 72, 0.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--text); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-2); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 700; letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border);
}
.brand-text { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; }
.brand-accent { color: var(--muted); font-weight: 500; }

.nav { display: flex; align-items: center; }
.nav-list {
  display: flex; gap: 22px; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  color: var(--muted); font-weight: 500; font-size: 0.95rem;
  padding: 8px 2px; position: relative;
}
.nav-list a:hover, .nav-list a.active { color: var(--text); }
.nav-list a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}
.nav-cta {
  color: #ffffff !important;
  background: var(--accent);
  padding: 8px 14px !important;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(28, 58, 72, 0.15);
}
.nav-cta:hover { filter: brightness(1.05); }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--border); color: var(--text);
  padding: 8px; border-radius: 8px; cursor: pointer;
}
.nav-toggle .bar {
  display: block; width: 18px; height: 2px; background: currentColor;
  margin: 3px 0; border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 4px; font-weight: 600;
  font-size: 0.95rem; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(28, 58, 72, 0.15);
}
.btn-primary:hover { color: #ffffff; background: var(--accent-dark); }
.btn-ghost {
  color: var(--accent); background: transparent; border-color: var(--accent);
}
.btn-ghost:hover { color: #ffffff; background: var(--accent); }
.btn-light {
  color: var(--accent); background: #ffffff;
}
.btn-light:hover { color: #ffffff; background: var(--accent-dark); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.75rem;
  color: var(--accent-2); font-weight: 600; margin: 0 0 14px;
}
.hero h1 { margin-bottom: 18px; }
.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--muted); font-size: 1.1rem; max-width: 56ch; }
.hero-actions { display: flex; gap: 12px; margin: 22px 0 32px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px; margin: 0; max-width: 440px;
}
.hero-stats > div {
  padding: 14px 16px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--surface);
}
.hero-stats dt {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem; font-weight: 700; color: var(--text);
}
.hero-stats dd { margin: 0; color: var(--muted); font-size: 0.85rem; }

.hero-visual {
  position: relative; aspect-ratio: 1 / 1;
  border: 1px solid var(--border); border-radius: 12px;
  background: linear-gradient(160deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  overflow: hidden;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.hero-robot { width: 60%; height: auto; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.2)); }
.orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: 0.45; }
.orb-1 { width: 220px; height: 220px; background: var(--accent-2); top: -40px; right: -40px; }
.orb-2 { width: 180px; height: 180px; background: #46616e; bottom: -30px; left: -30px; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

/* Page hero (inner pages) */
.page-hero { padding: 72px 0 40px; border-bottom: 1px solid var(--border); }
.page-hero h1 { margin-bottom: 14px; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 0 36px; }
.section-head h2 { margin-bottom: 6px; }

/* Cards grid */
.cards {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card { box-shadow: var(--shadow-sm); }
.card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.card-icon {
  width: 44px; height: 44px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 14px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Split */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feature-list li {
  padding: 14px 16px; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-2);
  color: var(--muted);
}
.feature-list li strong { color: var(--text); margin-right: 6px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 8px; color: #ffffff; }
.cta-inner p { color: rgba(255, 255, 255, 0.85); margin-bottom: 22px; }

/* About card */
.about-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; }
.facts dt { color: var(--muted); font-size: 0.85rem; }
.facts dd { margin: 0; font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.contact-list.big { font-size: 1.05rem; }
.contact-list a { color: var(--text); }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: 0.9rem; color: var(--muted); }
.contact-form input, .contact-form textarea {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; font: inherit; outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--accent-2); box-shadow: 0 0 0 3px var(--ring);
}

/* Research */
.research-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.research-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  overflow: hidden;
}
.research-card { box-shadow: var(--shadow-sm); }
.research-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--accent-2);
  pointer-events: none;
}
.research-num {
  display: inline-block; font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; color: var(--accent-2); letter-spacing: 0.12em; margin-bottom: 10px;
}
.research-card h3 { margin-bottom: 6px; }
.research-card p { color: var(--muted); margin: 0; }

/* Team */
.team-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.team-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.avatar {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 4px auto 14px;
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; font-weight: 700;
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 6px 14px rgba(28, 58, 72, 0.2);
}
.team-card h3 { margin-bottom: 2px; }
.role { color: var(--accent-2); font-weight: 600; margin: 0 0 4px; }
.tenure { color: var(--muted); font-size: 0.85rem; margin: 0 0 10px; }
.bio { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Footer */
.site-footer {
  margin-top: 40px;
  background: var(--accent-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 20px;
}
.site-footer .footer-brand p,
.site-footer .small,
.site-footer .contact-list,
.site-footer .newsletter-status,
.site-footer .footer-col h4 { color: rgba(255, 255, 255, 0.65); }
.site-footer .footer-brand h3 { color: #ffffff; }
.site-footer .footer-col a { color: rgba(255, 255, 255, 0.9); }
.site-footer .footer-col a:hover { color: var(--accent-2); }
.site-footer .contact-list a { color: #ffffff; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr 1.4fr; gap: 28px;
}
.footer-brand h3 {
  font-size: 1.1rem; margin-bottom: 6px;
}
.footer-brand p { color: var(--muted); }
.footer-col h4 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted); margin-bottom: 12px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--text); }
.footer-col a:hover { color: var(--accent-2); }
.newsletter { display: flex; gap: 8px; margin-top: 8px; }
.newsletter input {
  flex: 1; min-width: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-sm);
  padding: 10px 12px; font: inherit; outline: none;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.45); }
.newsletter input:focus { border-color: var(--accent-2); background: rgba(255, 255, 255, 0.12); }
.newsletter button {
  background: var(--accent-2);
  color: #ffffff; border: none; border-radius: var(--radius-sm);
  padding: 10px 14px; font-weight: 600; cursor: pointer;
  transition: filter 0.2s ease;
}
.newsletter button:hover { filter: brightness(1.1); }
.newsletter-status { margin: 8px 0 0; font-size: 0.85rem; min-height: 1.2em; }
.newsletter-status.ok { color: #a8d89a; }
.newsletter-status.err { color: #f2b8b8; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a {
  width: 34px; height: 34px; border-radius: 6px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8); font-size: 0.8rem; font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}
.social a:hover { color: #ffffff; background: var(--accent-2); border-color: var(--accent-2); }
.small { font-size: 0.9rem; margin: 0; }
.footer-bottom {
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55); font-size: 0.85rem;
}

/* Inline link style */
.link {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.link:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }

/* Initiative tagline inside research cards */
.init-tagline {
  color: var(--text);
  font-weight: 600;
  margin: 0 0 10px;
  font-size: 0.95rem;
}

/* Founder block */
.founder {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-2);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.founder-avatar {
  width: 140px; height: 140px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem; font-weight: 700; color: #ffffff;
  background: var(--accent);
  border: 3px solid var(--accent-2);
  box-shadow: 0 10px 28px rgba(28, 58, 72, 0.22);
}
.founder-body h3 { margin-bottom: 2px; font-size: 1.4rem; }
.founder-body .role { color: var(--accent-2); font-weight: 600; margin: 0 0 14px; }
.founder-body .titles {
  list-style: none; padding: 0; margin: 0 0 16px;
  display: grid; gap: 6px;
}
.founder-body .titles li {
  color: var(--muted); font-size: 0.95rem;
  padding-left: 18px; position: relative;
}
.founder-body .titles li::before {
  content: '▸'; position: absolute; left: 0; color: var(--accent);
}
.founder-links { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .founder { grid-template-columns: 1fr; text-align: left; }
  .founder-avatar { margin: 0; width: 110px; height: 110px; font-size: 2.4rem; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-list {
    position: absolute; right: 16px; top: 60px;
    flex-direction: column; align-items: flex-start;
    background: var(--surface); border: 1px solid var(--border);
    padding: 14px 18px; border-radius: var(--radius);
    display: none; min-width: 200px;
  }
  .nav-list.open { display: flex; }
  .hero { padding-top: 48px; }
  .section { padding: 56px 0; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; }
}
