/* ─── AuspexAI — Light Theme Design System ─── */
/* Inherits preneurial[works] family conventions; AuspexAI emphasis: purple accent */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;600;700;800&display=swap');

:root {
  /* ── Pillar Colors (preneurial[works] family palette) ── */
  --amber:         #D97706;
  --amber-dim:     rgba(217, 119, 6, 0.08);
  --blue:          #2563EB;
  --blue-dim:      rgba(37, 99, 235, 0.08);
  --green:         #059669;
  --green-dim:     rgba(5, 150, 105, 0.08);
  --purple:        #7C3AED;
  --purple-dim:    rgba(124, 58, 237, 0.08);
  --brand:         #1e293b;

  /* ── AuspexAI primary accent (purple — Pillar 4 / operational productization) ── */
  --accent:        var(--purple);
  --accent-dim:    var(--purple-dim);

  /* ── Light Theme Palette ── */
  --bg-primary:    #ffffff;
  --bg-secondary:  #f8fafc;
  --bg-tertiary:   #f1f5f9;
  --bg-card:       #ffffff;

  --text-primary:  #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;

  --border:        #e2e8f0;
  --border-subtle: #cbd5e1;

  /* ── Radii ── */
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;

  /* ── Shadows ── */
  --shadow-sm:     0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md:     0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg:     0 8px 24px rgba(0, 0, 0, 0.10);

  /* ── Layout ── */
  --container:        1200px;
}


/* ─── Reset & Base ─── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85em;
  background: var(--bg-tertiary);
  padding: 0.1em 0.35em;
  border-radius: 3px;
  color: var(--text-primary);
}


/* ─── Typography ─── */

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}
h1 { font-size: 2.6rem; letter-spacing: -0.02em; }
h2 { font-size: 1.8rem; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

.subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-top: 0.75rem;
  line-height: 1.7;
}


/* ─── Layout ─── */

.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }

section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}
section:last-of-type { border-bottom: none; }


/* ─── Skip link (a11y) ─── */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--brand);
  color: #ffffff;
  padding: 8px 16px;
  z-index: 1000;
  font-size: 0.85rem;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }


/* ─── Navigation ─── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
nav .nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}


/* ─── Hero ─── */

.hero {
  padding: 7rem 0 5rem;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: 3rem;
  max-width: 800px;
  color: var(--text-primary);
}
.hero .subtitle {
  font-size: 1.2rem;
  max-width: 760px;
  margin-top: 1.25rem;
}


/* ─── Section headers / overlines ─── */

.section-header {
  margin-bottom: 2.5rem;
}
.overline-hero {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}


/* ─── Cards ─── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: var(--text-secondary); }

.card-accent-left { border-left: 3px solid var(--brand); }
.card-accent-green  { border-left-color: var(--green); }
.card-accent-purple { border-left-color: var(--purple); }


/* ─── Research / doorway cards (used in governance grid) ─── */

.research-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.research-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.research-card h3 {
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}
.research-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
}


/* ─── Tags ─── */

.tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 6px;
  margin-bottom: 6px;
}
.tag-green   { background: var(--green-dim);  color: var(--green); }
.tag-purple  { background: var(--purple-dim); color: var(--purple); }


/* ─── Callouts ─── */

.callout {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin: 1rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  border-left: 3px solid;
}
.callout-accent { background: rgba(30, 41, 59, 0.04); border-color: var(--brand); color: var(--text-secondary); }
.callout-purple { background: var(--purple-dim); border-color: var(--purple); }
.callout strong { color: var(--text-primary); }


/* ─── Pillar list (used in volunteer / researcher sections) ─── */

.pillar-list {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pillar-list li { line-height: 1.6; }


/* ─── Two column ─── */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}


/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--brand);
  color: #ffffff;
}
.btn-primary:hover {
  background: #0f172a;
  color: #ffffff;
}
.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--border-subtle);
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--text-primary);
  background: var(--bg-tertiary);
}
.btn-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}


/* ─── Section CTA (centered) ─── */

.section-cta { border-bottom: none; }
.section-cta .container { text-align: center; }
.section-cta .subtitle { margin: 0.75rem auto 0; }
.section-cta .btn-group { justify-content: center; }
.section-cta .section-header { text-align: center; }
.section-cta .section-header .subtitle { margin-left: auto; margin-right: auto; }


/* ─── Footer ─── */

footer {
  padding: 3rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-about {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
footer p {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}
footer a { color: var(--text-secondary); }
footer a:hover { color: var(--accent); }
.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 1.5rem;
}
.footer-bio {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}
.footer-bio strong { color: var(--text-primary); }
.footer-bio a { color: var(--text-primary); text-decoration: underline; text-decoration-color: var(--border); }
.footer-bio a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.footer-social {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.footer-social a { font-size: 0.85rem; color: var(--text-secondary); }
.footer-social a:hover { color: var(--accent); }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}


/* ─── Utility ─── */

.mt-half { margin-top: 0.5rem; }
.mt-1    { margin-top: 1rem; }


/* ─── Responsive ─── */

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .hero { padding: 4rem 0 3rem; }
  .hero h1 { font-size: 2.2rem; }

  .card-grid, .two-col {
    grid-template-columns: 1fr;
  }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    gap: 0.75rem;
  }
  .nav-toggle { display: block; }
}
