/* MIND Research Portal — Design System
   Elevated from concept.html: DM Serif Display + Inter, refined tokens, full component set.
*/

/* ─── TOKENS ──────────────────────────────────────────────────────── */
:root {
  --bg:        #FFFFFF;
  --bg-2:      #F7F8F9;
  --bg-3:      #F0F2F4;
  --text:      #0C1F2A;
  --muted:     rgba(12,31,42,0.70);
  --muted-2:   rgba(12,31,42,0.55);
  --border:    rgba(12,31,42,0.10);
  --border-2:  rgba(12,31,42,0.06);

  --stm-orange: #FAA546;
  --stm-sky:    #309DD8;
  --stm-green:  #7FC460;
  --stm-grey:   #505155;

  /* Brand sky is ~3:1 on white — fine for large UI; --accent-strong is for white-text buttons (AA). */
  --accent:         #309DD8;
  --accent-strong:  #1E6F9A;
  --accent-2:       #2478A8;
  --accent-3:       #7FC460;
  --accent-4:       #E8F5FC;
  --offer:          #FAA546;

  --shadow-sm: 0 1px 4px rgba(12,31,42,0.06), 0 0 0 1px rgba(12,31,42,0.04);
  --shadow:    0 2px 12px rgba(12,31,42,0.07), 0 0 0 1px rgba(12,31,42,0.05);
  --shadow-md: 0 6px 24px rgba(12,31,42,0.10), 0 0 0 1px rgba(12,31,42,0.06);
  --shadow-lg: 0 16px 48px rgba(12,31,42,0.14), 0 0 0 1px rgba(12,31,42,0.06);

  --radius:    10px;
  --radius-sm: 6px;
  --radius-xs: 4px;
  --max:       1100px;

  --serif: 'DM Serif Display', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Outfit', 'Inter', system-ui, sans-serif;

  --h1: clamp(2.8rem, 6vw, 5.2rem);
  --h2: clamp(1.9rem, 3.5vw, 3rem);
  --h3: 1.08rem;
}

/* ─── RESET ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3,
  .reveal-delay-4 {
    transition-delay: 0s;
  }
}
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.92; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

/* ─── UTILITIES ───────────────────────────────────────────────────── */
.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 16px; top: 12px; width: auto; height: auto;
  padding: 10px 14px; background: var(--text); color: #fff;
  border-radius: var(--radius-sm); z-index: 10000; font-size: 0.9rem;
}

/* ─── BETA BANNER ─────────────────────────────────────────────────── */
.beta-banner {
  background: #fef3c7;
  /* border-bottom: 1px solid #CCCCCC; */
  color: #666666;
  padding: 0.7rem 1rem;
}
.beta-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding-right: 2.25rem;
}
.beta-banner-text {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.93rem;
  line-height: 1.4;
  font-weight: 500;
  text-align: center;
}
.beta-banner-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.25rem;
  cursor: pointer;
}
.beta-banner-close:hover,
.beta-banner-close:focus-visible {
  opacity: 0.75;
}

/* ─── SCROLL REVEAL ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ─── NAVIGATION ──────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.025em;
  color: var(--text);
}
.brand-badge {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  flex-shrink: 0;
}
.brand-logo {
  width: auto;
  height: 36px;
  object-fit: contain;
  display: inline-block;
  border-radius: 0;
}
.footer-logo {
  width: auto;
  height: 90px;
  object-fit: contain;
  display: inline-block;
}
.brand span { font-size: 1rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(12,31,42,0.05);
  opacity: 1;
}
.nav-links a.active {
  color: var(--accent);
  background: var(--accent-4);
  opacity: 1;
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ─── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  box-shadow: var(--shadow-sm);
  user-select: none;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: rgba(12,31,42,0.18);
  opacity: 1;
}
.btn:active { transform: translateY(0); }

/* legacy class aliases used in existing pages */
.btn-primary,
.btn--primary {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff !important;
  box-shadow: 0 1px 4px rgba(30, 111, 154, 0.25);
}
.btn-primary:hover,
.btn--primary:hover {
  background: #185a7e;
  border-color: #185a7e;
  box-shadow: 0 4px 16px rgba(30, 111, 154, 0.30);
  opacity: 1;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(12,31,42,0.18);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--bg-2); box-shadow: var(--shadow-sm); }

.btn--lg { padding: 13px 26px; font-size: 0.97rem; border-radius: var(--radius); }

.btn--white {
  background: #fff; border-color: rgba(255,255,255,0.3);
  color: var(--accent); box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.btn--white:hover {
  background: #fff; color: var(--accent);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2); transform: translateY(-2px); opacity: 1;
}
.btn--outline-white {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25); color: #fff; box-shadow: none;
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4); color: #fff; opacity: 1;
}

.icon-btn { width: 40px; height: 40px; padding: 0; font-size: 1.1rem; }
.mobile-toggle { display: none; }

/* ─── MOBILE MENU ─────────────────────────────────────────────────── */
.mobile-menu {
  display: none;
  padding: 8px 0 16px;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 11px 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.mobile-menu a:hover { background: var(--bg-2); color: var(--text); opacity: 1; }

/* ─── SECTION ANATOMY ─────────────────────────────────────────────── */
.section-full { width: 100%; padding: 80px 0; }
.section-full.bg-light {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-full.bg-accent { background: var(--accent); color: #fff; }
.section-full.bg-dark { background: var(--text); color: #fff; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  width: 18px; height: 1.5px;
  background: var(--accent-3);
  flex-shrink: 0;
}
.section-full.bg-accent .section-label,
.section-full.bg-dark .section-label,
.cta-section .section-label { color: var(--accent-3); }
.section-full.bg-accent .section-label::before,
.section-full.bg-dark .section-label::before,
.cta-section .section-label::before { background: var(--accent-3); }

h1, .h1 {
  font-family: var(--serif);
  font-size: var(--h1);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--text);
}
h2, .h2 {
  font-family: var(--serif);
  font-size: var(--h2);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
}
h2 em, h1 em { font-style: italic; color: var(--accent); }

.section-full.bg-accent h2,
.section-full.bg-accent h1,
.section-full.bg-dark h2,
.section-full.bg-dark h1 { color: #fff; }
.section-full.bg-accent h2 em,
.section-full.bg-dark h2 em { color: rgba(255,255,255,0.7); }

h3 {
  font-size: var(--h3);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.lead, .sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 0;
}
.section-full.bg-accent .lead,
.section-full.bg-accent .sub,
.section-full.bg-accent p { color: rgba(255,255,255,0.75); }
.section-full.bg-dark .lead,
.section-full.bg-dark .sub { color: rgba(255,255,255,0.6); }

.section-header { margin-bottom: 48px; }

/* ─── HERO ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(12,31,42,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 90% at 60% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 60% 50%, black 20%, transparent 75%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}
.hero-blob--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45,183,163,0.18) 0%, transparent 70%);
  top: -100px; right: -80px;
}
.hero-blob--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(11,132,165,0.12) 0%, transparent 70%);
  bottom: 0; left: -60px;
}
.hero-schematic {
  position: absolute;
  right: -16%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(520px, 72vw, 980px);
  height: auto;
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, black 14%, black 100%),
    linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right,  transparent 0%, black 14%, black 100%),
    linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 768px) { .hero-schematic { display: none; } }

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 80px 0;
}
.hero-inner { max-width: 700px; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 28px;
}
.hero-label-line {
  width: 28px;
  height: 1.5px;
  background: var(--accent-3);
  flex-shrink: 0;
}

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--text);
  margin-bottom: 26px;
}
.hero-h1 em { font-style: italic; color: var(--accent); }

.hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 38px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat-value {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--text);
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

/* ─── GRID / CARDS ────────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.card {
  grid-column: span 6;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card small { display: block; color: var(--muted-2); margin-top: 10px; font-size: 0.85rem; }
.card .apa { margin-top: 10px; color: var(--muted-2); font-size: 0.92rem; }

.card-link { display: block; color: inherit; }
.card-link:focus {
  outline: 3px solid rgba(11,132,165,0.35);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ─── RESEARCH CARDS ──────────────────────────────────────────────── */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.research-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}
.research-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(48,157,216,0.04) 0%, transparent 60%);
  opacity: 0;
}
.research-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 10px;
}
.research-card-desc {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.research-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.research-card-partner {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted-2);
}
.link-arrow {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.link-arrow:hover { gap: 7px; color: var(--accent); opacity: 1; }

/* ─── COLLABORATION CARDS ─────────────────────────────────────────── */
.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.collab-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.collab-card-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-3) 100%);
}
.collab-card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.collab-partner-type {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.collab-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 12px;
}
.collab-card-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.collab-finding {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border-left: 3px solid var(--accent-3);
}
.collab-finding-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 5px;
}
.collab-finding-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.collab-card-meta {
  padding: 16px 26px;
  border-top: 1px solid var(--border-2);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.collab-meta-item { font-size: 0.76rem; color: var(--muted-2); font-weight: 500; }
.collab-meta-item strong { font-weight: 600; color: var(--muted); }

/* ─── PROCESS SECTION ─────────────────────────────────────────────── */
.process-section {
  background: var(--text);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.process-section .section-label { color: var(--accent-3); }
.process-section .section-label::before { background: var(--accent-3); }
.process-section h2 { color: #fff; }
.process-section h2 em { color: var(--accent-3); opacity: 1; }
.process-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.process-orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(45,183,163,0.10) 0%, transparent 70%);
  top: -80px; right: -120px;
}
.process-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(11,132,165,0.08) 0%, transparent 70%);
  bottom: -60px; left: -80px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 14);
  right: calc(100% / 14);
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.15) 10%,
    rgba(255,255,255,0.15) 90%,
    transparent 100%
  );
  z-index: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
  position: relative;
}
.process-step-node {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.process-step-num {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-3);
  line-height: 1;
}
.process-step-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.3;
}
.process-step-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}

/* ─── COLLABORATE STEPS ───────────────────────────────────────────── */
.collab-steps {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
}
.collab-step {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  gap: 0 28px;
  align-items: start;
  position: relative;
}
.collab-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-3);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
/* vertical connector line — centered under the circle via ::after */
.collab-step-num::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: calc(100% + 40px); /* grows to fill gap between steps */
  background: rgba(255,255,255,0.12);
}
.collab-step:last-child .collab-step-num::after { display: none; }
.collab-step-line { display: none; } /* no longer used */
.collab-step-body {
  padding: 12px 0 40px;
}
.collab-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  line-height: 1.3;
}
.collab-step-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}
.collab-step-prepare {
  padding: 12px 0 40px;
}
.collab-step-prepare-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
}
.collab-step-topics {
  font-size: 0.85rem;
  color: var(--accent-3);
  line-height: 1.65;
  margin: 0;
}
.collab-step-sep {
  display: inline-block;
  padding: 0 0.55em;
  color: inherit;
}
@media (max-width: 820px) {
  .collab-step {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
  }
  .collab-step-prepare {
    grid-column: 2;
    grid-row: 2;
    padding-top: 0;
  }
}
@media (max-width: 560px) {
  .collab-step-prepare { padding-bottom: 28px; }
}

/* ─── AREA TILES ──────────────────────────────────────────────────── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.area-tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.area-tile::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48,157,216,0.08) 0%, transparent 70%);
  transform: translate(30%, 30%);
  opacity: 0;
}
.area-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.2s ease;
}
.area-icon svg { width: 17px; height: 17px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.area-title {
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 8px;
}
.area-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ─── CALLOUT ─────────────────────────────────────────────────────── */
.callout {
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.callout p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.callout strong { color: var(--text); }
.callout-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* ─── WHO-WE-WORK-WITH PILL ROW ───────────────────────────────────── */
.partner-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.partner-pill {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--accent-4);
  color: var(--accent);
}

/* ─── TAGS & BADGES ───────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-4);
  color: var(--accent);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.06);
  color: var(--muted);
  font-size: 0.85rem;
}
.badge .dot {
  width: 9px; height: 9px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── CTA SECTION ─────────────────────────────────────────────────── */
.cta-section {
  background: var(--accent);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.cta-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.cta-blob--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(45,183,163,0.22) 0%, transparent 70%);
  top: -100px; right: -80px;
}
.cta-blob--2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  bottom: -60px; left: 10%;
}
.cta-content { position: relative; z-index: 1; max-width: 640px; }
.cta-label {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 18px;
}
.cta-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08; letter-spacing: -0.02em;
  color: #fff; margin-bottom: 18px;
}
.cta-heading em { font-style: italic; color: #fff; opacity: 0.75; }
.cta-sub { font-size: 1.05rem; color: rgba(255,255,255,0.65); line-height: 1.65; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── FAQ ─────────────────────────────────────────────────────────── */
.q-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.q-card h3 { margin-bottom: 16px; }
.q-item {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-2);
}
.q-item:last-child { border-bottom: none; padding-bottom: 0; }
.q-item:first-of-type { padding-top: 0; }
.q-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.q-text {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.6;
}
.faq-q {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 4px;
}
.faq-a {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.faq-pills { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.faq-pill {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.faq-pill:hover { border-color: rgba(12,31,42,0.18); }
.faq-pill[open] {
  box-shadow: var(--shadow-md);
}
.faq-pill-summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 20px 13px 18px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}
.faq-pill-summary::-webkit-details-marker { display: none; }
.faq-pill-summary::after {
  content: '';
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-right: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(45deg);
  margin-top: -4px;
  opacity: 0.85;
  transition: transform 0.2s ease;
}
.faq-pill[open] .faq-pill-summary::after { transform: rotate(225deg); margin-top: 2px; }
.faq-pill-summary:focus { outline: none; }
.faq-pill-summary:focus-visible { outline: 3px solid rgba(11,132,165,0.35); outline-offset: 2px; border-radius: var(--radius); }
.faq-pill[open] .faq-pill-summary:focus-visible { border-radius: var(--radius) var(--radius) 0 0; }
.faq-pill-body { padding: 4px 20px 18px; border-top: 1px solid var(--border); }
.faq-item { padding: 14px 0; border-bottom: 1px solid rgba(12,31,42,0.08); }
.faq-item:last-child { border-bottom: none; padding-bottom: 4px; }
.faq-q { font-weight: 600; color: var(--text); line-height: 1.45; margin: 0 0 8px; }
.faq-a { margin: 0; color: var(--muted); line-height: 1.55; font-size: 0.98rem; }

/* ─── FORMS ───────────────────────────────────────────────────────── */
.input, .input-short, .select {
  font-family: var(--sans);
  font-size: 0.95rem;
  background: #fff;
  border: 1px solid rgba(12,31,42,0.18);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  outline: none;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-shadow: inset 0 1px 2px rgba(12,31,42,0.04);
}
.input:focus, .input-short:focus, .select:focus {
  border-color: rgba(11,132,165,0.65);
  box-shadow: 0 0 0 4px rgba(11,132,165,0.12);
}
.input::placeholder { color: rgba(12,31,42,0.38); }

.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-card label {
  display: block;
  font-weight: 600;
  margin: 14px 0 6px;
  color: rgba(12,31,42,0.90);
  font-size: 0.93rem;
}
.form-card label:first-of-type { margin-top: 0; }
.form-card .hint { color: rgba(12,31,42,0.55); font-size: 0.88rem; margin-top: 5px; }
.form-card textarea { min-height: 110px; resize: vertical; }
.form-card .status { margin-top: 10px; font-size: 0.95rem; }
.form-card .hp { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; overflow: hidden; }

.form-field { display: flex; flex-direction: column; margin-top: 14px; }
.form-field:first-of-type { margin-top: 0; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; }
.form-check input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }
.form-check input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 2px;
}
.interest-layout { max-width: 720px; margin: 0 auto; }

/* ─── RESOURCES TABLE ─────────────────────────────────────────────── */
.resource-filters {
  --resource-cols: 2.4fr 1.1fr 0.8fr 1.2fr 1.8fr;
  display: grid;
  grid-template-columns: var(--resource-cols);
  gap: 10px;
  align-items: center;
}
.resource-filters .filter-search { grid-column: 1; min-width: 0; }
.resource-filters .filter-type  { grid-column: 2; min-width: 0; width: 100%; }
.resource-filters .filter-year  { grid-column: 3; min-width: 0; width: 100%; }
.resource-filters .filter-audience { grid-column: 4; min-width: 0; width: 100%; }
.resource-filters .filter-count { grid-column: 5; justify-self: start; white-space: nowrap; }

.table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 0.93rem;
}
.table th, .table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(12,31,42,0.07);
  vertical-align: top;
}
.table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  background: var(--bg-2);
}
.table td { color: var(--text); }
.table tr:last-child td { border-bottom: none; }
.table-head {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(12,31,42,0.12);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  padding-right: var(--scrollbarW, 0px);
}
.table-head thead th {
  background: var(--bg-2);
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(12,31,42,0.12);
}
.table-scroll {
  max-height: 840px;
  overflow-y: auto;
  border: 1px solid rgba(12,31,42,0.12);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  scrollbar-gutter: stable;
}
.table-body {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0 !important;
}
.table-head.table, .table-body { table-layout: fixed; font-size: 0.92rem; }
.table-head .col-resource, .table-body .col-resource { width: 32%; }
.table-head .col-type,     .table-body .col-type     { width: 15%; }
.table-head .col-year,     .table-body .col-year     { width: 10%; }
.table-head .col-audience, .table-body .col-audience { width: 16%; }
.table-head .col-citation, .table-body .col-citation { width: 27%; }
.table-body td, .table-head th { overflow-wrap: anywhere; }
.citation-cell { font-size: 0.85rem; color: rgba(12,31,42,0.72); }
.table thead th[data-sort-key] { cursor: pointer; user-select: none; }
.table thead th[data-sort-key]:hover { background: rgba(12,31,42,0.06); }
.table thead th[data-sort-key] .sort-indicator { margin-left: 6px; font-size: 0.85rem; color: rgba(12,31,42,0.55); }
.resources-table tbody tr { transition: background-color 0.15s ease; }
.resources-table tbody tr:hover,
table tbody tr:hover { background-color: rgba(11,132,165,0.05); }
.resource-link { text-decoration: none; color: inherit; transition: color 0.15s; }
.resource-link:hover { color: var(--accent-2); opacity: 1; }

/* ─── SHOWCASE (index) ────────────────────────────────────────────── */
.showcase-ref { color: inherit; text-decoration: none; transition: color 0.2s; }
.showcase-ref:hover { color: var(--accent-2); }
.showcase-read a {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent-2);
  transition: color 0.2s;
}
.showcase-read a:hover { color: var(--accent); }

/* ─── FOOTER ──────────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
  margin-bottom: 28px;
}
.footer a { color: var(--muted); transition: color 0.15s; }
.footer a:hover { color: var(--text); opacity: 1; }
.footnote {
  margin-top: 12px;
  color: rgba(12,31,42,0.55);
  font-size: 0.78rem;
  line-height: 1.6;
}
.footnote strong { font-weight: 700; }
hr.sep { border: none; border-top: 1px solid var(--border); margin: 14px 0; }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.8rem; color: var(--muted-2); }
.footer-bottom-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 0.8rem; color: var(--muted-2); transition: color 0.15s; }
.footer-bottom-links a:hover { color: var(--text); opacity: 1; }

/* ─── MISC ────────────────────────────────────────────────────────── */
kbd {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  color: var(--text);
}
.list { padding-left: 18px; color: var(--muted); list-style: disc; }
.list li { margin: 8px 0; font-size: 0.95rem; }

.section-full.bg-accent .callout-actions a,
.section-full.bg-accent strong,
.section-full.bg-accent h2 { color: #fff; }

/* ─── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .research-grid { grid-template-columns: 1fr; }
  .collab-grid   { grid-template-columns: 1fr; }
  .areas-grid    { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; gap: 28px; }
  .process-steps::before { display: none; }
  .process-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 18px; }
  .process-step-node { flex-shrink: 0; margin-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .resource-filters { grid-template-columns: 1fr 1fr; }
  .resource-filters .filter-search { grid-column: 1 / -1; }
  .resource-filters .filter-type   { grid-column: 1; }
  .resource-filters .filter-year   { grid-column: 2; }
  .resource-filters .filter-audience { grid-column: 1 / -1; }
  .resource-filters .filter-count  { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-flex; }
  .card { grid-column: span 12; }
  .two-col { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
  .section-full { padding: 56px 0; }
  .process-section { padding: 56px 0; }
  .cta-section { padding: 56px 0; }
  .about-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
}
@media (max-width: 640px) {
  .resource-filters { grid-template-columns: 1fr; }
  .resource-filters .filter-search,
  .resource-filters .filter-type,
  .resource-filters .filter-year,
  .resource-filters .filter-audience,
  .resource-filters .filter-count { grid-column: 1; }
  .areas-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions  { flex-direction: column; align-items: flex-start; }
  .callout { flex-direction: column; align-items: flex-start; }
  .callout-actions { justify-content: flex-start; }
}
