/* ===== Neurodisruptors — shared stylesheet ===== */

:root {
  --ink: #1c1730;
  --ink-soft: #4a4560;
  --bg: #fbfaf8;
  --bg-alt: #f1eefc;
  --primary: #4b2e83;
  --primary-dark: #34205c;
  --accent: #e08a2c;
  --accent-2: #2c9c8f;
  --border: #e4e0f0;
  --white: #ffffff;
  --radius: 14px;
  --max-width: 1100px;
  --shadow: 0 6px 24px rgba(28, 23, 48, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header / Nav ---------- */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.brand img {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

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

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--bg-alt);
  color: var(--primary);
  text-decoration: none;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 12px 0 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, var(--bg-alt), var(--bg));
  padding: 64px 0 56px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 12px;
  color: var(--primary-dark);
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 720px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 10px;
  display: block;
}

/* ---------- Sections ---------- */

section {
  padding: 48px 0;
}

section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary-dark);
  margin-top: 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  color: var(--primary-dark);
}

/* ---------- People / avatar grids ---------- */

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.person {
  text-align: center;
}

.person img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}

.person .name {
  margin-top: 10px;
  font-weight: 600;
  font-size: 0.92rem;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.thumb-row img {
  border-radius: 8px;
  width: 100%;
  height: 80px;
  object-fit: cover;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
}

/* ---------- Forms ---------- */

form.stacked {
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin-top: 20px;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 4px;
}

input, textarea, select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Callout / disclaimer ---------- */

.callout {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.callout h2 {
  margin-bottom: 6px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--primary-dark);
  color: #d9d3ee;
  padding: 40px 0 24px;
  margin-top: 40px;
}

.site-footer a { color: #f0ecff; }

.footer-disclaimer {
  font-size: 0.85rem;
  color: #c3bce0;
  max-width: 800px;
  margin-bottom: 20px;
}

.footer-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.footer-partners img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 18px;
  margin-top: 12px;
}

.footer-bottom a { margin-right: 16px; }

/* ---------- Misc ---------- */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
}

.tag {
  background: var(--bg-alt);
  color: var(--primary-dark);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.list-plain {
  padding-left: 20px;
}

.list-plain li { margin-bottom: 8px; }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
