/* =============================================================
   Global Digital Governance Lab — gdglab.ch
   Stylesheet — complementary to Geneva Graduate Institute,
   Global Governance Centre, and GI TechHub branding.
   ============================================================= */

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

/* ─── Custom Properties ─────────────────────────────────────── */
:root {
  /* Brand colours — navy anchors the GI/GGC palette;
     teal adds a "digital governance" identity */
  --navy:        #1C3268;   /* GI-inspired institutional navy */
  --navy-dark:   #0E1C3E;   /* hero / deep bg */
  --navy-mid:    #243D7A;   /* lighter navy for hover states */
  --blue:        #1A6DC3;   /* digital accent blue */
  --blue-light:  #4A9FE8;   /* lighter blue tints */
  --teal:        #0D9E90;   /* TechHub-inspired teal */
  --teal-light:  #E0F5F3;   /* very light teal bg tint */
  --gold:        #C09A4A;   /* warm accent — ties to GI's warm tones */
  --white:       #FFFFFF;
  --off-white:   #F5F7FB;
  --bg:          #F0F3F9;
  --text:        #1A202C;
  --text-mid:    #374151;
  --text-muted:  #6B7280;
  --border:      #D1D9E6;
  --shadow-sm:   0 1px 4px rgba(28, 50, 104, 0.08);
  --shadow-md:   0 4px 16px rgba(28, 50, 104, 0.12);
  --shadow-lg:   0 8px 32px rgba(28, 50, 104, 0.16);

  /* Typography */
  --font-serif:  'Inter', system-ui, -apple-system, sans-serif; @import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-xs:    0.5rem;
  --space-sm:    1rem;
  --space-md:    1.5rem;
  --space-lg:    2.5rem;
  --space-xl:    4rem;
  --space-2xl:   6rem;

  /* Layout */
  --max-width:   1200px;
  --nav-height:  72px;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;

  /* Transitions */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --duration:    220ms;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--teal);
}

ul {
  list-style: none;
}

/* ─── Typography helpers ────────────────────────────────────── */
.display-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.8;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

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

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

/* ─── Dot-grid background pattern (subtle digital motif) ────── */
.bg-dots {
  background-image: radial-gradient(circle, rgba(28, 50, 104, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}

.bg-dots-light {
  background-image: radial-gradient(circle, rgba(28, 50, 104, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ─── Navigation ────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(14, 28, 62, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--duration) var(--ease);
}

.site-nav.scrolled {
  background: rgba(14, 28, 62, 0.99);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
}

.nav-brand-abbr {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}

.nav-brand-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.03em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-bottom-color: var(--teal);
}

.nav-cta {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--teal) !important;
  padding: 0.45rem 1rem !important;
  border-radius: var(--radius-sm) !important;
  border-bottom: none !important;
  letter-spacing: 0.04em;
  transition: background var(--duration) var(--ease) !important;
}

.nav-cta:hover {
  background: #0D9E90cc !important;
}

/* Mobile nav hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

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

/* ─── Page header offset (below fixed nav) ──────────────────── */
.page-offset {
  padding-top: var(--nav-height);
}

/* ─── Hero Section ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 60%, #1C4A7A 100%);
  overflow: hidden;
}

/* Subtle animated grid lines */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Radial glow */
.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,158,144,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-content .eyebrow {
  color: var(--teal);
  margin-bottom: var(--space-sm);
}

.hero-content .display-title {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.hero-content .lead {
  color: rgba(255, 255, 255, 0.72);
  max-width: 600px;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: #0C8A7D;
  border-color: #0C8A7D;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(13, 158, 144, 0.35);
}

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

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

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

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.5rem 1.1rem;
}

/* ─── Section layout ────────────────────────────────────────── */
.section {
  padding-block: var(--space-2xl);
}

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

.section-header {
  margin-bottom: var(--space-lg);
}

.section-header .eyebrow {
  margin-bottom: 0.6rem;
}

.section-header .section-title {
  margin-bottom: 0.8rem;
}

.section-header p {
  color: var(--text-mid);
  max-width: 680px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  margin-inline: auto;
}

/* ─── Feature / Pillars ─────────────────────────────────────── */
.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  font-size: 1.4rem;
}

.pillar-icon.teal  { background: var(--teal-light); }
.pillar-icon.blue  { background: #EFF6FF; }
.pillar-icon.gold  { background: #FDF5E0; }

.pillar-card .card-title {
  margin-bottom: 0.6rem;
}

.pillar-card p {
  font-size: 0.925rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ─── Statement block ───────────────────────────────────────── */
.statement-block {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a7e 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
}

.statement-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.statement-block .eyebrow {
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.statement-block .display-title {
  font-family: var(--font-sans);   /* was inherited Playfair */
  font-weight: 400;               /* add weight back, since sans at 400 looks thin large */
  font-style: normal;            /* was italic — this is half the antique feel */
  color: var(--white);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.statement-block p {
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  position: relative;
  z-index: 1;
}

/* ─── Challenge / Gap cards ─────────────────────────────────── */
.challenge-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border-left: 4px solid var(--navy);
  box-shadow: var(--shadow-sm);
}

.challenge-card.teal { border-left-color: var(--teal); }
.challenge-card.blue { border-left-color: var(--blue); }
.challenge-card.gold { border-left-color: var(--gold); }

.challenge-card .card-title {
  margin-bottom: var(--space-xs);
}

.challenge-card p {
  font-size: 0.925rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ─── Why Geneva strip ──────────────────────────────────────── */
.geneva-strip {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.geneva-stat-group {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
  align-items: center;
}

.geneva-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.geneva-stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.geneva-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ─── Org logos / badges ────────────────────────────────────── */
.org-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
}

/* ─── People cards ──────────────────────────────────────────── */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
}

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

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

.person-portrait {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.person-portrait-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--bg) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2.5rem;
}

.person-info {
  padding: var(--space-sm);
}

.person-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.person-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.person-org {
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* ─── Activity / Project cards ──────────────────────────────── */
.activity-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

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

.activity-card-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.tag-research  { background: #EFF6FF; color: var(--blue); }
.tag-policy    { background: var(--teal-light); color: #0A7A6E; }
.tag-event     { background: #FDF5E0; color: #92740C; }
.tag-fellowship { background: #F3F0FF; color: #5B21B6; }

.activity-card-body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.activity-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.activity-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.activity-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
}

.activity-card-footer {
  padding: 0.75rem var(--space-md);
  border-top: 1px solid var(--border);
  background: var(--off-white);
}

/* ─── Events list ───────────────────────────────────────────── */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.event-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: var(--space-md);
  align-items: center;
  background: var(--white);
  padding: var(--space-sm) var(--space-md);
  transition: background var(--duration) var(--ease);
}

.event-row:hover {
  background: var(--off-white);
}

.event-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.4rem;
  min-width: 56px;
}

.event-month {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  line-height: 1;
}

.event-day {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
}

.event-year {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.5);
  line-height: 1;
}

.event-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.event-details {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.event-type {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
}

/* ─── Page hero (inner pages) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-hero .eyebrow { color: var(--teal); margin-bottom: 0.75rem; }
.page-hero .display-title { color: var(--white); margin-bottom: var(--space-sm); }
.page-hero .lead { color: rgba(255,255,255,0.7); max-width: 640px; }

/* ─── Divider ───────────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(to right, var(--teal), var(--blue));
  border-radius: 2px;
  margin: var(--space-sm) 0;
}

.divider-center {
  margin-inline: auto;
}

/* ─── Blockquote / pull quote ───────────────────────────────── */
.pull-quote {
  border-left: 4px solid var(--teal);
  padding: var(--space-sm) var(--space-md);
  background: var(--teal-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.pull-quote p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: normal;
  color: var(--navy);
  line-height: 1.65;
}

/* ─── Accordion / details ───────────────────────────────────── */
details.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

details.faq-item + details.faq-item {
  margin-top: -1px;
}

details.faq-item summary {
  padding: var(--space-sm) var(--space-md);
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--teal);
  line-height: 1;
}

details.faq-item[open] summary::after { content: '−'; }

details.faq-item .details-body {
  padding: var(--space-sm) var(--space-md) var(--space-md);
  font-size: 0.925rem;
  color: var(--text-mid);
  border-top: 1px solid var(--border);
}

/* ─── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-sm);
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ─── Tag pill ──────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  background: var(--off-white);
  color: var(--text-mid);
  border: 1px solid var(--border);
}

.pill-teal { background: var(--teal-light); color: #0A7A6E; border-color: #AEEAE3; }
.pill-blue { background: #EFF6FF; color: var(--blue); border-color: #BFDBFE; }
.pill-navy { background: #EEF1F8; color: var(--navy); border-color: #C8D0E6; }

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.65);
  padding-top: var(--space-2xl);
}

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

.footer-brand-name {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.footer-brand-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-md);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.35);
}

.footer-bottom a:hover {
  color: rgba(255,255,255,0.7);
}

.footer-gg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
}

/* ─── Affiliations bar ──────────────────────────────────────── */
.affiliation-bar {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding-block: var(--space-sm);
}

.affiliation-inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.affiliation-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.affiliation-list {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
}

.affiliation-item {
  font-size: 0.8rem;
  color: var(--text-mid);
  font-weight: 500;
}

/* ─── Two-col with sidebar ──────────────────────────────────── */
.layout-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
  align-items: start;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}

.sidebar-card-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* ─── Research theme badges ─────────────────────────────────── */
.theme-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.theme-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-mid);
  font-weight: 500;
}

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

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 3rem;
    --space-2xl: 4.5rem;
  }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(14, 28, 62, 0.99);
    padding: var(--space-md);
    gap: var(--space-sm);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links.mobile-open a {
    border-bottom: none;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links.mobile-open a:first-child {
    border-top: none;
  }

  .nav-cta {
    align-self: flex-start;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-row {
    grid-template-columns: 60px 1fr;
    gap: var(--space-sm);
  }

  .event-type { display: none; }

  .geneva-stat-group {
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  :root {
    --space-2xl: 3.5rem;
  }

  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .container {
    padding-inline: 1rem;
  }
}
