/* ============================================================
   MCCI — Memetic Civic Communication Initiative
   Style System — style.css
   Design: Editorial-civic, clean typographic hierarchy
   Fonts: Playfair Display (headings) + DM Sans (body)
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables (Design Tokens) ───────────────────────── */
:root {
  /* Color palette */
  --ink:         #111418;
  --ink-light:   #3a3f48;
  --slate:       #6b7280;
  --muted:       #9ca3af;
  --line:        #e5e7eb;
  --surface:     #f8f7f4;
  --white:       #ffffff;

  /* Brand accent */
  --accent:      #1a5c3a;   /* forest green — civic, trustworthy */
  --accent-mid:  #2d7a51;
  --accent-pale: #edf4f0;
  --gold:        #c9933a;   /* warm gold for highlights */
  --gold-pale:   #faf4ea;

  /* Typography scale */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --max-w: 1200px;
  --max-w-text: 680px;

  /* Borders */
  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:    0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 280ms;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography Helpers ───────────────────────────────────── */
.serif  { font-family: var(--font-serif); }
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: var(--space-24);
}

.section--alt {
  background: var(--surface);
}

.section--dark {
  background: var(--ink);
  color: var(--white);
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--duration) var(--ease);
}

.nav.scrolled {
  box-shadow: var(--shadow);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.nav__logo-mark {
  width: 38px;
  height: 38px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__logo-mark svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav__logo-abbr {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.nav__logo-full {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.04em;
  max-width: 200px;
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-light);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--duration) var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--duration) var(--ease);
}

.nav__link:hover,
.nav__link.active {
  color: var(--accent);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* Nav CTA button */
.nav__cta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: background var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

.nav__cta:hover {
  background: var(--accent-mid);
  transform: translateY(-1px);
}

/* Hamburger for mobile */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease),
              opacity var(--duration) var(--ease);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-6) var(--space-6);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile .nav__link {
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  border-bottom: 1px solid var(--line);
}

.nav__mobile .nav__cta {
  margin-top: var(--space-4);
  text-align: center;
  padding: var(--space-3);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  letter-spacing: 0.02em;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

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

.btn--primary:hover {
  background: var(--accent-mid);
  box-shadow: 0 6px 20px rgba(26,92,58,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn--outline:hover {
  background: var(--accent-pale);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

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

.btn--gold:hover {
  background: #b8832e;
  box-shadow: 0 6px 20px rgba(201,147,58,0.35);
}

/* Arrow icon in button */
.btn__arrow {
  transition: transform var(--duration) var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ── ═══════════════════════════════════════════════════════ */
/*    HOMEPAGE — index.html                                  */
/* ══════════════════════════════════════════════════════════ */

/* Hero */
.hero {
  padding-top: calc(68px + var(--space-20));
  padding-bottom: var(--space-24);
  position: relative;
  overflow: hidden;
  background: var(--white);
}

/* Decorative rule lines */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero__eyebrow {
  margin-bottom: var(--space-4);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: var(--space-6);
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--slate);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: var(--space-10);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Hero visual side */
.hero__visual {
  position: relative;
}

.hero__graphic {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--accent-pale);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Abstract civic pattern SVG background */
.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
}

.hero__stat-cards {
  position: absolute;
  inset: var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-4);
}

.hero__stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-6);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.6s var(--ease) both;
}

.hero__stat:nth-child(1) { animation-delay: 0.1s; }
.hero__stat:nth-child(2) { animation-delay: 0.2s; }
.hero__stat:nth-child(3) { animation-delay: 0.3s; }
.hero__stat:nth-child(4) { animation-delay: 0.4s; }

.hero__stat-bar {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
}

.hero__stat:nth-child(2) .hero__stat-bar { background: var(--gold); }
.hero__stat:nth-child(3) .hero__stat-bar { background: var(--gold); }
.hero__stat:nth-child(4) .hero__stat-bar { background: var(--accent); }

.hero__stat-num {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.hero__stat-label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── What is MCCI ─────────────────────────────────────────── */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.intro__label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.intro__line {
  width: 32px; height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.intro__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-6);
}

.intro__body {
  color: var(--slate);
  margin-bottom: var(--space-6);
  line-height: 1.8;
}

.intro__aside {
  padding-top: var(--space-8);
}

.callout-box {
  background: var(--accent-pale);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-6) var(--space-8);
  margin-bottom: var(--space-6);
}

.callout-box__quote {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
}

/* ── Why It Matters ───────────────────────────────────────── */
.matters__header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.matters__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.matters__sub {
  color: var(--slate);
  font-size: var(--text-lg);
}

.matters__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.matters__item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}

.matters__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.matters__icon {
  width: 44px; height: 44px;
  background: var(--accent-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.25rem;
}

.matters__item-title {
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--ink);
}

.matters__item-body {
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.7;
}

/* ── How We Work ──────────────────────────────────────────── */
.how__header {
  margin-bottom: var(--space-16);
}

.how__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.how__intro {
  color: var(--slate);
  max-width: 560px;
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.how__card {
  position: relative;
  padding: var(--space-8) var(--space-6);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.how__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}

.how__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.how__card:hover::before { transform: scaleX(1); }

.how__card-num {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--line);
  line-height: 1;
  margin-bottom: var(--space-4);
  user-select: none;
}

.how__card-title {
  font-weight: 600;
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
  color: var(--ink);
}

.how__card-body {
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.7;
}

/* ── Explore the Platform ─────────────────────────────────── */
.explore__header {
  text-align: center;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.explore__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.explore__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.explore__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
  cursor: pointer;
}

.explore__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.explore__card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--accent-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.explore__card:nth-child(2) .explore__card-icon,
.explore__card:nth-child(3) .explore__card-icon {
  background: var(--gold-pale);
  color: var(--gold);
}

.explore__card-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--ink);
}

.explore__card-body {
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.7;
  flex: 1;
}

.explore__card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--duration) var(--ease);
}

.explore__card:hover .explore__card-link { gap: var(--space-3); }

/* ── Impact strip ─────────────────────────────────────────── */
.impact {
  background: var(--ink);
  color: var(--white);
  padding-block: var(--space-24);
}

.impact__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.impact__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.impact__sub {
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin-inline: auto;
}

.impact__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.impact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  transition: background var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}

.impact__item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.2);
}

.impact__check {
  width: 24px; height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: white;
  font-size: 0.75rem;
}

.impact__item-text {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* ── Partner section ──────────────────────────────────────── */
.partner__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.partner__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 700;
  margin-bottom: var(--space-6);
}

.partner__body {
  color: var(--slate);
  margin-bottom: var(--space-6);
}

.partner__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.partner__list-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--ink-light);
}

.partner__list-item::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.partner__visual {
  background: var(--accent-pale);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.partner__org-pill {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--white);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease);
}

.partner__org-pill:hover { transform: translateX(4px); }

.partner__org-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.partner__org-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
}

/* ── Get Involved CTA ─────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding-block: var(--space-24);
  background: var(--surface);
}

.cta-section__kicker {
  margin-bottom: var(--space-4);
}

.cta-section__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 700;
  margin-bottom: var(--space-6);
  max-width: 580px;
  margin-inline: auto;
}

.cta-section__body {
  color: var(--slate);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.cta-section__ways {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.way-tag {
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  color: var(--ink-light);
  background: var(--white);
  transition: border-color var(--duration), color var(--duration), background var(--duration);
}

.way-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-pale);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-8);
}

.footer__brand-name {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: white;
  margin-bottom: var(--space-3);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 300px;
  margin-bottom: var(--space-6);
}

.footer__contact {
  font-size: var(--text-sm);
}

.footer__contact a {
  color: var(--accent-mid);
  transition: color var(--duration);
}

.footer__contact a:hover { color: var(--white); }

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-5);
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: color var(--duration) var(--ease);
}

.footer__col-links a:hover { color: white; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
  transition: border-color var(--duration), color var(--duration), background var(--duration);
}

.footer__social a:hover {
  border-color: var(--accent-mid);
  color: white;
  background: var(--accent);
}

/* ══════════════════════════════════════════════════════════ */
/*    ABOUT PAGE                                             */
/* ══════════════════════════════════════════════════════════ */

.page-hero {
  padding-top: calc(68px + var(--space-16));
  padding-bottom: var(--space-16);
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero__kicker {
  margin-bottom: var(--space-5);
}

.page-hero__kicker .eyebrow {
  color: rgba(255,255,255,0.5);
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700;
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: var(--space-6);
}

.page-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.7;
}

/* Mission / Vision diptych */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.mv-card {
  padding: var(--space-10);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.mv-card--mission {
  background: var(--accent);
  color: white;
}

.mv-card--vision {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.mv-card__type {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  opacity: 0.7;
}

.mv-card__text {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  line-height: 1.5;
  font-style: italic;
}

.mv-card--mission .mv-card__text { color: white; }

/* About approach grid */
.approach__header {
  margin-bottom: var(--space-12);
}

.approach__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.approach__sub {
  color: var(--slate);
  max-width: 560px;
}

.approach__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.approach__item {
  padding: var(--space-8);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  padding-left: calc(var(--space-8) + 4px);
  transition: box-shadow var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

.approach__item::before {
  content: '';
  position: absolute;
  top: var(--space-8); bottom: var(--space-8);
  left: 0;
  width: 4px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}

.approach__item:nth-child(2)::before { background: var(--gold); }
.approach__item:nth-child(3)::before { background: var(--gold); }
.approach__item:nth-child(4)::before { background: var(--accent); }

.approach__item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.approach__item-title {
  font-weight: 600;
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.approach__item-body {
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.75;
}

/* Problem section */
.problem {
  background: var(--ink);
  color: white;
  padding-block: var(--space-24);
}

.problem__header {
  max-width: 600px;
  margin-bottom: var(--space-12);
}

.problem__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.problem__intro {
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.problem__item {
  padding: var(--space-6) var(--space-6) var(--space-6) var(--space-8);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  transition: background var(--duration) var(--ease);
}

.problem__item:nth-child(odd) { border-left-color: var(--accent-mid); }
.problem__item:hover { background: rgba(255,255,255,0.08); }

/* National relevance */
.national {
  padding-block: var(--space-24);
}

.national__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.national__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 700;
  margin-bottom: var(--space-6);
}

.national__body {
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.national__topics {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.national__topic {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-light);
  border-left: 3px solid var(--accent);
  transition: transform var(--duration) var(--ease);
}

.national__topic:hover { transform: translateX(4px); }

.national__visual {
  background: linear-gradient(145deg, var(--accent-pale), var(--gold-pale));
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.national__big-text {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  line-height: 1;
}

.national__big-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--slate);
  text-align: center;
  max-width: 200px;
}

/* What We Do section */
.what-we-do__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 700;
  margin-bottom: var(--space-12);
}

.wwd-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.wwd-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background var(--duration), border-color var(--duration), transform var(--duration);
}

.wwd-item:hover {
  background: var(--accent-pale);
  border-color: var(--accent);
  transform: translateX(4px);
}

.wwd-num {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--line);
  flex-shrink: 0;
  line-height: 1;
  width: 32px;
  text-align: right;
  transition: color var(--duration);
}

.wwd-item:hover .wwd-num { color: var(--accent); }

.wwd-text {
  font-size: var(--text-sm);
  color: var(--ink-light);
  line-height: 1.7;
  padding-top: 2px;
}

/* ══════════════════════════════════════════════════════════ */
/*    LAB PAGE (Virtual Memetic Communication Lab)           */
/* ══════════════════════════════════════════════════════════ */

.lab-hero {
  padding-top: calc(68px + var(--space-20));
  padding-bottom: var(--space-24);
  background: var(--ink);
  color: white;
  position: relative;
}

.lab-hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.lab-hero__decor-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
}

.lab-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.lab-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 0.35rem 0.875rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-6);
}

.lab-hero__tag-dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.lab-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-6);
}

.lab-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.lab-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Lab visual side */
.lab-hero__visual {
  position: relative;
}

.lab-stat-display {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  backdrop-filter: blur(8px);
}

.lab-stat-display__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.lab-stat-display__title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.lab-stat-display__live {
  font-size: var(--text-xs);
  color: #4ade80;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lab-stat-display__live::before {
  content: '';
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.lab-focus-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.lab-focus-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  gap: var(--space-4);
}

.lab-focus-item__label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
  flex: 1;
}

.lab-focus-item__bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  flex: 2;
  position: relative;
  overflow: hidden;
}

.lab-focus-item__fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: var(--accent-mid);
  border-radius: 2px;
  animation: expandBar 1.2s var(--ease) both;
  animation-delay: 0.6s;
}

.lab-focus-item:nth-child(2) .lab-focus-item__fill { background: var(--gold); }
.lab-focus-item:nth-child(3) .lab-focus-item__fill { background: #60a5fa; }

@keyframes expandBar {
  from { width: 0; }
  to   { width: var(--w); }
}

/* What We Study */
.study__header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.study__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.study__sub { color: var(--slate); }

.study__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.study__card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.study__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.study__card-top {
  height: 8px;
  background: var(--accent);
}

.study__card:nth-child(2) .study__card-top { background: var(--gold); }
.study__card:nth-child(3) .study__card-top { background: #60a5fa; }

.study__card-body {
  padding: var(--space-8);
}

.study__card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-5);
}

.study__card-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.study__card-text {
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.75;
}

/* Projects section */
.projects {
  background: var(--surface);
  padding-block: var(--space-24);
}

.projects__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-12);
}

.projects__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.projects__sub {
  color: var(--slate);
  font-size: var(--text-sm);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-7);
  position: relative;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.project-card__status {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: var(--accent-pale);
  color: var(--accent);
  margin-bottom: var(--space-4);
  letter-spacing: 0.04em;
}

.project-card__title {
  font-weight: 600;
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
  color: var(--ink);
}

.project-card__body {
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.7;
}

/* Insights */
.insights__header {
  margin-bottom: var(--space-12);
}

.insights__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.insights__sub {
  color: var(--slate);
  max-width: 520px;
}

.insights__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

.insight-featured {
  background: var(--ink);
  color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-10);
}

.insight-featured__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: var(--space-4);
}

.insight-featured__heading {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.insight-featured__body {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}

.insights__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.insight-item {
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--duration), transform var(--duration);
}

.insight-item:hover {
  border-color: var(--accent);
  transform: translateX(3px);
}

.insight-item__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.insight-item__title {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ink);
  line-height: 1.5;
}

/* Toolkits */
.toolkits {
  background: var(--accent);
  color: white;
  padding-block: var(--space-24);
}

.toolkits__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.toolkits__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 700;
  margin-bottom: var(--space-6);
}

.toolkits__body {
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-8);
  line-height: 1.8;
}

.toolkit-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.toolkit-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.9);
  transition: background var(--duration);
}

.toolkit-item:hover { background: rgba(255,255,255,0.15); }

.toolkit-item__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Collaborations */
.collabs__header {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.collabs__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.collabs__sub { color: var(--slate); }

.collabs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.collab-card {
  padding: var(--space-7) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: transform var(--duration), border-color var(--duration);
}

.collab-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.collab-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-4);
}

.collab-card__title {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.collab-card__desc {
  font-size: var(--text-xs);
  color: var(--slate);
  line-height: 1.6;
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0.0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .how__grid      { grid-template-columns: repeat(2, 1fr); }
  .collabs__grid  { grid-template-columns: repeat(2, 1fr); }
  .footer__top    { grid-template-columns: 1fr 1fr; }
  .footer__top > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root {
    --space-24: 4rem;
    --space-16: 3rem;
    --space-12: 2.5rem;
  }

  /* Nav */
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  /* Layouts → single column */
  .hero__grid,
  .intro,
  .partner__inner,
  .mv-grid,
  .approach__grid,
  .national__inner,
  .lab-hero__inner,
  .insights__grid,
  .toolkits__inner { grid-template-columns: 1fr; }

  .matters__grid,
  .explore__grid,
  .impact__grid,
  .problem__grid,
  .projects__grid,
  .study__grid     { grid-template-columns: 1fr; }

  .how__grid       { grid-template-columns: 1fr; }
  .collabs__grid   { grid-template-columns: 1fr 1fr; }
  .partner__list   { grid-template-columns: 1fr; }
  .footer__top     { grid-template-columns: 1fr; }

  .hero__visual    { display: none; }

  .projects__header { flex-direction: column; align-items: flex-start; gap: var(--space-4); }

  .footer__bottom  { flex-direction: column; gap: var(--space-4); text-align: center; }
}

@media (max-width: 480px) {
  .hero__actions   { flex-direction: column; }
  .cta-section__ways { flex-direction: column; align-items: center; }
  .mv-grid         { grid-template-columns: 1fr; }
  .collabs__grid   { grid-template-columns: 1fr; }
}
