/* ── TOKENS ── */
:root {
  --cyan:       #00C8FF;
  --cyan-dk:    #009DBF;
  --cyan-tint:  rgba(0,200,255,0.10);
  --navy:       #080C10;
  --surface:    #0D1219;
  --surface-2:  #131A24;
  --surface-3:  #1A2233;
  --border:     #1E2A3A;
  --border-lt:  #273546;
  --text:       #E4EAF2;
  --text-muted: #7A8899;
  --text-faint: #3A4555;
  --white:      #FFFFFF;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}
img { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── LAYOUT ── */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s, color 0.15s;
  text-decoration: none;
}
.btn--primary { background: var(--cyan); color: var(--navy); }
.btn--primary:hover { background: var(--cyan-dk); color: var(--navy); text-decoration: none; }
.btn--outline {
  background: transparent;
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
}
.btn--outline:hover { background: var(--cyan-tint); text-decoration: none; }
.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ── NAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,12,16,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 64px;
}
.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo-mark {
  color: var(--cyan);
  font-size: 1.5rem;
}
.nav__logo-dot { color: var(--cyan); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav__links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--text); }
.nav__cta {
  background: var(--cyan-tint);
  color: var(--cyan) !important;
  border: 1px solid rgba(0,200,255,0.25);
  margin-left: 0.5rem;
}
.nav__cta:hover { background: var(--cyan-tint) !important; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ── HERO ── */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0,200,255,0.06) 0%, transparent 70%),
              var(--navy);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero__kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0,200,255,0.3);
  border-radius: 2rem;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.5rem;
}
.hero__title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero__dot { color: var(--cyan); }
.hero__sub {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.hero__body {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 44ch;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── HEX GRAPHIC ── */
.hero__graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hex-grid {
  display: grid;
  grid-template-columns: repeat(3, 90px);
  grid-template-rows: repeat(3, 80px);
  gap: 8px;
  transform: rotate(-10deg);
}
.hex {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border-lt);
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: border-color 0.3s, color 0.3s;
}
.hex span { transform: rotate(10deg); }
.hex--1 { grid-column: 1; grid-row: 1; }
.hex--2 { grid-column: 2; grid-row: 1; border-color: var(--cyan); color: var(--cyan); }
.hex--3 { grid-column: 3; grid-row: 2; }
.hex--4 { grid-column: 1; grid-row: 2; }
.hex--5 { grid-column: 2; grid-row: 3; border-color: rgba(0,200,255,0.4); }

/* ── SECTIONS ── */
.section { padding: 5rem 0; }
.section--alt { background: var(--surface); }

.section__two-col {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  align-items: start;
}
.section__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  padding-top: 0.6rem;
}
.section__body h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.section__body p { color: var(--text-muted); margin-bottom: 1rem; max-width: 60ch; }

.section__heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}
.section__intro { color: var(--text-muted); max-width: 60ch; margin-bottom: 3rem; }

/* ── COMMUNITY INITIATIVES ── */
.initiative-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.initiative-card {
  background: var(--surface-2);
  border: 1px solid var(--border-lt);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.2s;
}
.initiative-card:hover { border-color: var(--cyan); }
.initiative-card__icon {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--navy);
  background: var(--cyan);
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  display: inline-block;
  margin-bottom: 1.25rem;
}
.initiative-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.initiative-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.75rem; }
.initiative-card .btn { margin-top: 0.75rem; }

/* ── CAPABILITY GRID ── */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.capability-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
}
.capability-card__icon {
  font-size: 1.5rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.capability-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.capability-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ── PROJECT LIST ── */
.project-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.project-list li a,
.project-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 0.2s;
  color: var(--text);
}
.project-list li a:hover { border-color: var(--cyan); text-decoration: none; }
.project-list li a strong { color: var(--white); font-weight: 600; flex-shrink: 0; }
.project-list li a span { color: var(--text-muted); font-size: 0.9rem; }
.project-list__wip { opacity: 0.5; cursor: default; }
.project-list__wip strong { color: var(--text-muted); flex-shrink: 0; }
.project-list__wip span { font-size: 0.9rem; }

/* ── ETHICS LIST ── */
.ethics-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.ethics-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.ethics-list li::before {
  content: '→';
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* ── TEAM ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.team-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
}
.team-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cyan-tint);
  border: 2px solid var(--cyan);
  color: var(--cyan);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.team-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.team-card__role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}
.team-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ── MISSION ── */
.mission-section {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--navy) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 5rem 0;
}
.mission-quote {
  max-width: 700px;
  margin: 0 auto 3rem;
  border: none;
  padding: 0;
}
.mission-quote p {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.mission-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.mission-pillar {
  padding: 0.5rem 1.25rem;
  background: var(--cyan-tint);
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: 2rem;
  font-size: 0.9rem;
  color: var(--cyan);
}

/* ── CONTACT ── */
.contact-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.contact-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.contact-inner p { color: var(--text-muted); margin-bottom: 2rem; }

/* ── FOOTER ── */
.site-footer {
  background: var(--surface);
  border-top: 3px solid var(--cyan);
  padding: 3rem 0 1.5rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.footer__brand .nav__logo-mark { font-size: 1.4rem; color: var(--cyan); font-weight: 900; }
.footer__brand .nav__logo-text { font-size: 1.2rem; font-weight: 800; color: var(--text); }
.footer__tagline { font-size: 0.875rem; color: var(--text-faint); margin-top: 0.5rem; }
.footer__links { display: flex; gap: 3rem; }
.footer__col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.25rem;
}
.footer__col a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.15s; }
.footer__col a:hover { color: var(--cyan); text-decoration: none; }
.footer__base { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.footer__base p { font-size: 0.8rem; color: var(--text-faint); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__graphic { display: none; }
  .section__two-col { grid-template-columns: 1fr; gap: 0.5rem; }
  .section__label { padding-top: 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__links { flex-wrap: wrap; gap: 2rem; }
  .nav__links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 1rem; gap: 0.25rem; }
  .nav--open .nav__links { display: flex; }
  .nav__toggle { display: flex; }
  .nav { position: relative; }
  .mission-pillars { gap: 0.75rem; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { text-align: center; }
  .team-grid, .capability-grid, .initiative-grid { grid-template-columns: 1fr; }
}
