﻿/* ============================================================
   SAVE water — Modern redesign
   Deep water blue palette · Inter typography · PRIMA-inspired
   ============================================================ */

:root {
  /* Brand — deep water blue */
  --brand-950: #032436;
  --brand-900: #04304a;
  --brand-800: #07405f;
  --brand-700: #0b5279;
  --brand-600: #0e6a9c;
  --brand-500: #1284bf;
  --brand-400: #1da1dd;
  --brand-300: #55bde6;
  --brand-200: #a3dcf2;
  --brand-100: #d8eff9;

  /* Accent — bright water cyan (CTAs, highlights) */
  --accent: #0fa5c9;
  --accent-dark: #0b83a3;
  --accent-light: #35c3dd;

  /* Text */
  --ink: #0d2739;
  --ink-2: #2a4154;
  --ink-3: #55708a;
  --ink-faint: #8aa2b5;

  /* Grays */
  --gray-50: #f8fafc;
  --gray-100: #f2f6fa;
  --gray-200: #e7eef5;
  --gray-300: #d5e1ea;
  --gray-400: #a9bccb;
  --gray-500: #7f95a7;
  --gray-600: #5a7085;
  --gray-700: #3d5266;
  --gray-900: #12293c;

  /* Surfaces */
  --surface: #ffffff;
  --surface-soft: #f4f8fb;
  --surface-muted: #eaf2f8;
  --line-soft: #e8f0f6;
  --line-strong: #d3e2ed;

  /* Alias variables kept for inline HTML / legacy references */
  --dark-green: var(--brand-600);
  --green: var(--brand-500);
  --light-green: var(--brand-300);
  --brown: var(--brand-700);
  --brown-dark: var(--brand-800);
  --brown-darker: var(--brand-900);
  --ink-green: var(--ink);
  --ink-green-2: var(--ink-2);
  --ink-green-3: var(--ink-3);
  --ink-green-4: var(--gray-600);
  --ink-green-5: var(--gray-600);
  --mint-1: #eef5fa;
  --mint-2: #f2f7fb;
  --mint-3: #f5fafd;
  --mint-4: #e8f2f9;
  --mint-5: #ecf5fb;
  --mint-6: #f0f7fc;
  --mint-7: #f7fbfd;
  --mint-8: #e2edf6;
  --mint-9: #e6f1f8;
  --mint-10: #eef6fb;
  --sage-1: #d0e0ec;
  --sage-2: #d2e4ee;
  --sage-3: #d7e7f0;
  --sage-4: #dbe9f2;
  --sage-5: #dfecf3;
  --sage-6: #e6f0f6;
  --forest: var(--brand-800);
  --cta-green: var(--brand-600);
  --cta-green-dark: var(--brand-800);
  --cta-green-bright: var(--accent);
  --focus-green: var(--brand-700);
  --shadow-card: 0 10px 30px -18px rgba(7, 51, 79, 0.35);
  --shadow-card-hover: 0 18px 38px -18px rgba(7, 51, 79, 0.42);
  --shadow-soft: 0 8px 26px -20px rgba(7, 51, 79, 0.32);
  --shadow-btn: 0 8px 20px -10px rgba(7, 51, 79, 0.55);
  --shadow-pop: 0 14px 30px rgba(4, 36, 57, 0.18);

  /* Fonts */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: var(--font-sans);
}

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

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font-sans);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style-position: inside; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

a, button {
  transition: color .2s cubic-bezier(.4,0,.2,1),
              background-color .2s cubic-bezier(.4,0,.2,1),
              border-color .2s cubic-bezier(.4,0,.2,1),
              box-shadow .2s cubic-bezier(.4,0,.2,1),
              transform .2s cubic-bezier(.4,0,.2,1),
              opacity .2s cubic-bezier(.4,0,.2,1);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-140%);
  background: var(--accent-dark);
  color: #fff;
  padding: .55rem .9rem;
  border-radius: .5rem;
  z-index: 60;
  font-size: .875rem;
  font-weight: 600;
}
.skip-link:focus-visible { transform: translateY(.6rem); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink);
  letter-spacing: -.01em;
}

p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75rem;
  color: var(--ink-3);
}
@media (min-width: 768px) {
  p { font-size: 1rem; line-height: 1.625rem; }
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 700;
  color: var(--accent-dark);
}
.eyebrow--brown { color: var(--accent-dark); }

.divider-gradient {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, transparent, rgba(18, 132, 191, .35), transparent);
}
.divider-brown {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, transparent, rgba(11, 82, 121, .3), transparent);
}

/* ---------- Layout shells ---------- */
.content-shell {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1280px;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px)  { .content-shell { padding-left: 1.5rem;  padding-right: 1.5rem; } }
@media (min-width: 1024px) { .content-shell { padding-left: 2rem;    padding-right: 2rem;    } }

.section-shell { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 640px)  { .section-shell { padding-top: 4.5rem;  padding-bottom: 4.5rem;  } }
@media (min-width: 1024px) { .section-shell { padding-top: 5.5rem;  padding-bottom: 5.5rem;  } }

.max-width-page { max-width: 1280px; margin-left: auto; margin-right: auto; }

/* ---------- Minimal utilities (used in markup) ---------- */
.text-center { text-align: center; }
.w-full { width: 100%; }
.mb-12 { margin-bottom: 3rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
@media (min-width: 640px)  { .sm\:p-6 { padding: 1.5rem; } }
@media (min-width: 768px)  { .md\:p-10 { padding: 2.5rem; } }
@media (min-width: 1024px) { .lg\:p-8 { padding: 2rem; } }

/* ---------- Cards ---------- */
.card-elevated {
  border-radius: 1.25rem;
  border: 1px solid var(--line-soft);
  background-color: var(--surface);
  box-shadow: var(--shadow-card);
}

.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-.25rem);
  box-shadow: var(--shadow-card-hover);
}

/* ---------- Chips / pills ---------- */
.meta-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(14, 106, 156, .18);
  background-color: rgba(216, 239, 249, .55);
  padding: .3rem .75rem;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--brand-700);
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .625rem;
  padding: .75rem 1.5rem;
  font-size: .9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all .2s ease;
}
.btn--primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover { background: var(--brand-700); transform: translateY(-1px); }

.btn--brown {
  background: var(--brand-600);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn--brown:hover { background: var(--brand-800); transform: translateY(-1px); }

.btn--outline-brown {
  border: 1px solid var(--brand-600);
  color: var(--brand-700);
  background: #fff;
}
.btn--outline-brown:hover { background: var(--brand-600); color: #fff; }

.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  width: 100%;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}
@media (min-width: 1024px) { .header-inner { height: 5rem; } }

.brand { display: inline-flex; align-items: center; }
.brand img.brand-logo { height: 2.5rem; width: auto; margin-right: .5rem; }
@media (min-width: 1024px) { .brand img.brand-logo { height: 3rem; } }
.brand-text { font-weight: 700; color: var(--ink); font-size: 1rem; line-height: 1.1; }
.brand-text small { display: block; font-weight: 500; font-size: .7rem; color: var(--ink-faint); letter-spacing: .08em; text-transform: uppercase; }

.main-nav { display: none; }
@media (min-width: 1024px) { .main-nav { display: flex; align-items: center; gap: .25rem; } }

.nav-list { display: flex; align-items: center; list-style: none; gap: .25rem; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .85rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-3);
  border-radius: .5rem;
  white-space: nowrap;
  position: relative;
}
.nav-link:hover { color: var(--brand-600); }
.nav-link.is-active {
  color: var(--brand-700);
  font-weight: 700;
}
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .25rem;
  height: 2px;
  border-radius: 9999px;
  background: var(--accent);
}

.nav-item { position: relative; }
.nav-item--dropdown > button.nav-link { cursor: pointer; background: none; border: none; }
.nav-chevron { transition: transform .2s ease; }
.nav-item--dropdown.open .nav-chevron { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: .5rem;
  background: #fff;
  color: var(--ink);
  border-radius: .75rem;
  box-shadow: 0 10px 30px rgba(7, 51, 79, .14), 0 4px 8px rgba(7, 51, 79, .08);
  border: 1px solid var(--line-soft);
  z-index: 1000;
  min-width: 230px;
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-item--dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: .55rem .85rem;
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-2);
}
.dropdown a:hover { background: var(--surface-soft); color: var(--brand-600); }
.dropdown a.is-active { background: var(--brand-600); color: #fff; }

.nav-socials { display: none; align-items: center; gap: .25rem; margin-left: .5rem; }
@media (min-width: 1024px) { .nav-socials { display: inline-flex; } }
.nav-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  color: var(--brand-600);
}
.nav-socials a:hover { color: var(--accent-dark); background: var(--surface-soft); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: none;
  color: var(--ink);
  border-radius: .5rem;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  z-index: 1100;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  padding: 1rem;
  display: none;
}
.mobile-menu.open { display: block; }
.mobile-menu a, .mobile-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .8rem .5rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink-2);
  background: none;
  border: none;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}
.mobile-menu a:hover, .mobile-menu button:hover { color: var(--brand-600); }
.mobile-menu a.is-active { color: var(--brand-700); font-weight: 700; }
.mobile-sub { display: none; padding-left: 1rem; }
.mobile-sub.open { display: block; }
.mobile-socials { display: flex; gap: 1rem; padding: 1rem .5rem .5rem; justify-content: flex-start; }
.mobile-socials a { width: auto; border: none; color: var(--brand-600); display: inline-flex; gap: .5rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem 4rem;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (min-width: 768px) {
  .hero { min-height: 100vh; padding: 7rem 1rem 5rem; background-attachment: fixed; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(3, 36, 54, .82) 0%,
    rgba(4, 48, 74, .72) 40%,
    rgba(7, 64, 95, .66) 75%,
    rgba(11, 82, 121, .78) 100%);
  pointer-events: none;
}
.hero-card {
  position: relative;
  text-align: center;
  max-width: 54rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(4, 40, 62, .38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2.5rem 1.75rem;
  box-shadow: 0 24px 60px -28px rgba(2, 20, 32, .85);
}
@media (min-width: 768px) {
  .hero-card { padding: 3.25rem 3.5rem; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  padding: .45rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .1);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
}
.hero-eyebrow .dot-live {
  width: .5rem;
  height: .5rem;
  border-radius: 9999px;
  background: var(--accent-light);
  box-shadow: 0 0 0 4px rgba(53, 195, 221, .25);
}
.hero-card h1 {
  font-size: clamp(1.85rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.hero-card .hero-sub {
  margin: 0 auto 2rem;
  max-width: 56ch;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: rgba(255, 255, 255, .86);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.btn--hero {
  background: var(--accent);
  color: #fff;
  border-radius: .75rem;
  padding: .85rem 1.75rem;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 10px 24px -10px rgba(3, 36, 54, .8);
}
.btn--hero:hover { background: var(--accent-light); transform: translateY(-2px); }

/* ---------- Section header ---------- */
.section-title-center {
  text-align: center;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .section-title-center { font-size: 2.5rem; } }
.section-sub-center {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 1rem;
  color: var(--ink-3);
  line-height: 1.7;
}

/* ---------- Stats band (homepage) ---------- */
.stats-band {
  position: relative;
  background: linear-gradient(135deg, var(--brand-900), var(--brand-800) 55%, var(--brand-700));
  color: #fff;
  padding: 3.5rem 1rem;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(53, 195, 221, .18), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(18, 132, 191, .28), transparent 50%);
  pointer-events: none;
}
.stats-band-inner { position: relative; max-width: 1280px; margin: 0 auto; }
.stats-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-light);
}
.stats-band h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 2.25rem;
  max-width: 40rem;
  line-height: 1.2;
}
@media (min-width: 768px) { .stats-band h2 { font-size: 2.25rem; } }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-light);
  letter-spacing: -.02em;
}
@media (min-width: 768px) { .stat-value { font-size: 3rem; } }
.stat-label {
  display: block;
  margin-top: .6rem;
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
}

/* ---------- Project pillars ---------- */
.pillars-section {
  background: linear-gradient(to bottom, var(--surface-soft), var(--surface));
}
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillar-grid { grid-template-columns: repeat(4, 1fr); } }
.pillar-card {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  transition: all .3s ease;
}
.pillar-card:hover {
  transform: translateY(-.4rem);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(18, 132, 191, .28);
}
.pillar-card img { width: 5rem; height: 5rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .pillar-card img { width: 6rem; height: 6rem; } }
.pillar-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.pillar-card p { font-size: .875rem; line-height: 1.6; color: var(--ink-3); }

/* ---------- Consortium & map ---------- */
.map-section {
  background: linear-gradient(to bottom, var(--surface), var(--surface-soft));
}
.map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .map-grid { grid-template-columns: 1fr 1fr; } }
.map-panel {
  border-radius: 1.25rem;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.75rem;
}
@media (min-width: 768px) { .map-panel { padding: 2.75rem; } }
.map-panel h2 { font-size: 1.875rem; color: var(--ink); font-weight: 800; margin-bottom: 1rem; letter-spacing: -.02em; }
@media (min-width: 768px) { .map-panel h2 { font-size: 2.25rem; } }
.map-panel .map-intro { font-size: 1.05rem; line-height: 1.75rem; color: var(--ink-3); margin-bottom: 1.75rem; }
.region-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .625rem;
}
@media (min-width: 768px) { .region-chips { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .region-chips { grid-template-columns: repeat(4, 1fr); } }
.region-chip {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: .45rem;
  min-height: 44px;
  padding: .5rem .8rem;
  border-radius: .625rem;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: clamp(11px, 2.6vw, 14px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink-2);
  text-align: left;
  transition: all .22s ease;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(7, 51, 79, .04);
}
.region-chip:hover { border-color: rgba(18, 132, 191, .35); box-shadow: 0 4px 12px rgba(7, 51, 79, .1); }
.region-chip.is-active {
  color: #fff;
  border-color: var(--brand-600);
  background: var(--brand-600);
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(7, 51, 79, .2);
}
.region-chip .dot { width: .625rem; height: .625rem; border-radius: 9999px; flex-shrink: 0; }
.region-chip .check {
  display: none;
  width: 1rem;
  height: 1rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .22);
  font-size: 10px;
  font-weight: 700;
}
.region-chip.is-active .check { display: inline-flex; }
.region-chip .label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.map-status { margin-top: 1rem; min-height: 1.5rem; font-size: .875rem; color: var(--ink-3); }
.map-status strong { font-weight: 700; color: var(--ink); }

.map-figure {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
}
@media (min-width: 1024px) { .map-figure { margin: 0; } }
.map-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #fff;
}
.map-stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.map-stage .map-land path, .ll-intro-map .map-land path {
  fill: #eaf3fa;
  stroke: #ffffff;
  stroke-width: .6;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.map-stage .map-countries .country, .ll-intro-map .map-countries .country {
  fill: #cfe6f4;
  stroke: #ffffff;
  stroke-width: .9;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: fill .25s ease, opacity .25s ease;
  cursor: pointer;
}
.map-stage .map-countries .country:hover, .ll-intro-map .map-countries .country:hover { fill: #8fc9ea; }
.map-stage .map-countries .country.is-active, .ll-intro-map .map-countries .country.is-active { stroke-width: 1.5; }
.map-stage .map-countries .country.is-dimmed, .ll-intro-map .map-countries .country.is-dimmed { opacity: .45; }
.map-reset {
  position: absolute;
  bottom: .75rem;
  right: .75rem;
  padding: .3rem .7rem;
  font-size: 11px;
  font-weight: 600;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line-soft);
  color: var(--ink-2);
}
.map-reset:hover { background: #fff; color: var(--brand-600); }
.map-tip { margin-top: .75rem; font-size: 12px; color: var(--ink-faint); text-align: center; }
@media (min-width: 1024px) { .map-tip { text-align: left; } }

.map-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
.btn--map {
  background: var(--brand-600);
  color: #fff;
  border-radius: .625rem;
  padding: .8rem 1.75rem;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: var(--shadow-btn);
}
.btn--map:hover { transform: translateY(-2px); background: var(--brand-700); }

/* ---------- News / Events cards ---------- */
.news-band { padding: 3rem 0 4rem; }
.news-band .content-shell { padding-top: 0; padding-bottom: 0; }
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 22rem;
  border-radius: 1.1rem;
  border: 1px solid var(--line-soft);
  background: #fff;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all .3s ease;
}
.news-card:hover { transform: translateY(-.3rem); box-shadow: var(--shadow-card-hover); border-color: rgba(18, 132, 191, .25); }
.news-card.is-featured { min-height: 27rem; }
@media (min-width: 768px) { .news-card.is-featured { grid-column: span 2; } }

.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.news-meta time { font-size: 12px; color: var(--ink-faint); }

.news-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: .75rem;
}
.news-card h3 .title-underline {
  position: relative;
  display: inline;
}
.news-card h3 .title-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.25rem;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.news-card:hover h3 .title-underline::after { transform: scaleX(1); }

.news-thumb { overflow: hidden; border-radius: .8rem; margin-bottom: 1rem; position: relative; z-index: 0; }
.news-thumb img { width: 100%; height: 10rem; object-fit: cover; transition: transform .3s ease; }
.news-card.is-featured .news-thumb img { height: 13rem; }
@media (min-width: 768px) { .news-card.is-featured .news-thumb img { height: 14rem; } }
.news-card.is-poster .news-thumb img { height: auto; max-height: 30rem; }
.news-card:hover .news-thumb img { transform: scale(1.04); }
.news-thumb.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-muted);
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.news-card p.excerpt { font-size: .875rem; line-height: 1.625rem; color: var(--ink-3); margin-bottom: 1rem; position: relative; z-index: 0; }
.fb-post-embed { margin: .75rem 0; position: relative; z-index: 0; }
.fb-post-embed iframe { width: 100%; max-width: 100%; border: none; overflow: hidden; }
.news-card .read-more {
  margin-top: auto;
  border-top: 1px solid var(--line-soft);
  padding-top: .75rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--brand-600);
  position: relative;
  z-index: 1;
}
.news-card > a.news-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 1.1rem;
}

.news-head { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .news-head { flex-direction: row; align-items: center; justify-content: space-between; } }
.news-head .news-title { display: flex; align-items: center; gap: .85rem; }
.news-head .news-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  background: rgba(216, 239, 249, .6);
  border: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
  color: var(--brand-600);
  flex-shrink: 0;
}
.news-head h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
@media (min-width: 768px) { .news-head h2 { font-size: 2.25rem; } }
.news-head .latest-note { margin-top: .25rem; font-size: .875rem; color: var(--ink-faint); }

.news-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.news-grid.news-grid--plain { grid-template-columns: 1fr; }
@media (min-width: 768px) { .news-grid.news-grid--plain { grid-template-columns: repeat(2, 1fr); } }

.news-divider { width: 6rem; margin: 2rem auto; border-top: 2px solid var(--accent); }

/* ---------- Consortium logos ---------- */
.consortium-panel {
  max-width: 1280px;
  margin: 0 auto 4rem;
  padding: 3rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card);
}
.consortium-panel h2 { font-size: 1.875rem; font-weight: 800; text-align: center; color: var(--ink); margin-bottom: 2rem; letter-spacing: -.02em; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .logo-grid { gap: 1.5rem; } }
@media (min-width: 768px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .logo-grid { grid-template-columns: repeat(6, 1fr); } }
.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: .75rem;
  transition: all .2s ease;
}
.logo-tile:hover { border-color: rgba(18, 132, 191, .3); transform: scale(1.03); box-shadow: 0 1px 6px rgba(7, 51, 79, .12); }
.logo-tile img { height: 3rem; object-fit: contain; }
@media (min-width: 768px) { .logo-tile img { height: 5rem; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 4.5rem 1rem 2.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 12% 0%, rgba(18, 132, 191, .12), transparent 45%),
    radial-gradient(circle at 88% 10%, rgba(53, 195, 221, .12), transparent 40%),
    linear-gradient(to bottom, var(--surface-soft), var(--surface));
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}
@media (min-width: 768px) { .page-hero h1 { font-size: 2.75rem; } }
.page-hero p { margin-top: .9rem; max-width: 44rem; margin-left: auto; margin-right: auto; color: var(--ink-3); font-size: 1.05rem; }
.page-hero .rule {
  margin: 1.5rem auto 0;
  width: 9rem;
  height: .3rem;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--accent), var(--brand-400), var(--accent-light));
}

.page-body { max-width: 1280px; margin: 0 auto; padding: 3rem 1rem 5rem; }

/* ---------- About page ---------- */
.about-intro-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 1.25rem;
  padding: 2.25rem;
  box-shadow: var(--shadow-soft);
}
.about-intro-card p { font-size: 1.05rem; line-height: 1.85rem; color: var(--ink-2); }
.about-intro-card p + p { margin-top: 1.5rem; }

.section-label { text-align: center; font-size: 1.875rem; font-weight: 800; margin: 3.5rem 0 2.5rem; letter-spacing: -.02em; }
@media (min-width: 768px) { .section-label { font-size: 2.25rem; } }

.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 768px) { .outcomes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .outcomes-grid { grid-template-columns: repeat(3, 1fr); } }
.outcome-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  padding: 1.75rem;
  background: linear-gradient(to bottom right, rgba(216, 239, 249, .6), rgba(255, 255, 255, .85));
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  transition: all .3s ease;
}
.outcome-card:hover {
  transform: translateY(-.25rem);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(18, 132, 191, .28);
}
.outcome-card .num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: rgba(11, 82, 121, .14);
  user-select: none;
  transition: color .3s ease;
}
.outcome-card:hover .num { color: rgba(11, 82, 121, .24); }
.outcome-card .icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: .8rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-600);
  margin-bottom: 1rem;
  transition: transform .3s ease;
}
.outcome-card:hover .icon-box { transform: scale(1.06); }
.outcome-card .icon-box svg { width: 1.5rem; height: 1.5rem; }
.outcome-card p { color: var(--ink-3); font-size: .95rem; line-height: 1.65rem; white-space: pre-line; }
.outcome-card.is-featured { grid-column: span 1; }
@media (min-width: 1024px) { .outcome-card.is-featured { grid-column: span 2; } }

.sampling-panel {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}
.sampling-map {
  width: 100%;
  overflow: hidden;
  border-radius: .9rem;
  border: 1px solid var(--line-soft);
  background: radial-gradient(circle at 22% 18%, #e8f3fb 0%, #d6e9f6 40%, #cfe3f1 100%);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
}
.sampling-map svg { width: 60%; height: auto; }
.sampling-credit { margin-top: .75rem; font-size: 11px; color: var(--ink-faint); text-align: right; }
.sampling-credit a { font-weight: 600; color: var(--brand-600); }
.sampling-credit a:hover { text-decoration: underline; }
.team-figure {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}
.team-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .9rem;
  border: 1px solid var(--line-soft);
}
.team-figure figcaption { text-align: center; }

/* ---------- Work Packages ---------- */
.wp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--line-soft);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.wp-item + .wp-item { margin-top: 2rem; }
@media (min-width: 768px) { .wp-item { flex-direction: row; } }
@media (min-width: 768px) { .wp-item.is-reverse { flex-direction: row-reverse; } }
.wp-media {
  width: 100%;
  flex-shrink: 0;
}
@media (min-width: 768px) { .wp-media { width: 33.333%; } }
.wp-media .wp-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: .75rem;
  background: var(--surface-muted);
}
.wp-media img { width: 100%; height: 100%; object-fit: contain; }
.wp-body { flex: 1; }
.wp-body h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: .6rem; letter-spacing: -.01em; color: var(--ink); }
@media (min-width: 768px) { .wp-body h2 { font-size: 1.75rem; } }
.wp-body .led-by { font-size: 1rem; font-weight: 600; color: var(--brand-600); margin-bottom: 1rem; }
.wp-body ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .5rem; }
.wp-body ul li { font-size: 1rem; line-height: 1.75rem; color: var(--ink-3); }
.wp-body ul ul.wp-sub { padding-left: 1.25rem; gap: .25rem; margin-top: .25rem; }
.wp-gantt-figure {
  margin: 0;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--line-soft);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.wp-gantt-figure h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); margin-bottom: .75rem; }
.wp-gantt-figure > p { font-size: 1rem; line-height: 1.75rem; color: var(--ink-3); margin-bottom: 1.25rem; }
.wp-gantt-img {
  border-radius: .5rem;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--gray-100);
}
.wp-gantt-img img { display: block; width: 100%; height: auto; }
.wp-gantt-figure figcaption { margin-top: .75rem; font-size: .8125rem; line-height: 1.4; color: var(--ink-faint); text-align: center; }

/* ---------- Partners ---------- */
.partner-section { margin-bottom: 3rem; }
.partner-section h2 { font-size: 1.875rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--ink); letter-spacing: -.02em; }
.partner-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
.partner-grid--two { grid-template-columns: 1fr; }
@media (min-width: 768px) { .partner-grid--two { grid-template-columns: repeat(2, 1fr); } }
.partner-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line-soft);
  padding: 1.5rem;
  border-radius: .85rem;
  transition: all .2s ease;
}
.partner-card:hover { background: var(--surface-soft); border-color: rgba(18, 132, 191, .25); transform: translateY(-2px); }
.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 4rem;
  flex-shrink: 0;
}
@media (min-width: 768px) { .logo-box { width: 7rem; height: 5rem; } }
.logo-box img { max-height: 100%; max-width: 100%; object-fit: contain; }
.partner-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.partner-card .country { font-size: 1.05rem; color: var(--brand-600); }
.partner-card .pi-name { font-size: .95rem; color: var(--ink-3); margin: .25rem 0 0; }
.logo-box--text {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--brand-600);
  background: rgba(216, 239, 249, .55);
  border: 1px solid var(--line-soft);
  border-radius: .5rem;
}
.associated-note { font-size: 1rem; color: var(--ink-3); }
.partner-card--coordinator { max-width: 40rem; }

/* Partners on the map */
.partner-map-section { padding: 1rem 0 2rem; }
.partner-map-panel { margin-top: 1.5rem; }
.partner-panel-title { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin-bottom: 1rem; }
.partner-role { margin: .25rem 0 0; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand-600); }

/* Consortium photo map (partners page) */
.consortium-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .consortium-wrap { grid-template-columns: 1.6fr 1fr; }
}
.consortium-map {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}
.consortium-map img { display: block; width: 100%; height: auto; }
.consortium-hotspots { position: absolute; inset: 0; }
.consortium-hotspot {
  position: absolute;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: .5rem;
  cursor: pointer;
  box-shadow: none;
  transition: background .2s ease, box-shadow .2s ease;
}
.consortium-hotspot:hover,
.consortium-hotspot:focus-visible { background: rgba(18, 132, 191, .28); box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); }
.consortium-hotspot.is-active { background: rgba(15, 165, 201, .42); box-shadow: 0 0 0 3px rgba(15, 165, 201, .6); }
.consortium-info {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 1.25rem;
  padding: 1.5rem;
  min-height: 12rem;
  box-shadow: var(--shadow-card);
}
.consortium-panel-placeholder { margin: 0; font-style: italic; color: var(--ink-faint); }
.consortium-panel-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; }
.consortium-panel-card .logo-box { margin-bottom: .25rem; }
.consortium-panel-card h3 { font-size: 1.15rem; color: var(--ink); line-height: 1.35; }
.consortium-panel-card .pi-name { margin: 0; font-size: .9rem; color: var(--ink-3); }
.consortium-panel-card .country { margin: 0; font-weight: 700; color: var(--brand-600); }

/* Home consortium panel (text chips) */
.consortium-intro { max-width: 60rem; margin: .5rem 0 1.75rem; color: var(--ink-3); }
.partner-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}
@media (min-width: 640px) { .partner-logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .partner-logos { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .partner-logos { grid-template-columns: repeat(5, 1fr); } }
.partner-logo { text-align: center; }
.partner-logo .logo-tile {
  height: 6.5rem;
  padding: .75rem 1rem;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: .75rem;
  transition: all .2s ease;
}
.partner-logo:hover .logo-tile { border-color: rgba(18, 132, 191, .35); box-shadow: 0 6px 16px -8px rgba(7, 51, 79, .35); transform: translateY(-2px); }
.partner-logo .logo-tile img {
  height: auto;
  max-height: 4rem;
  max-width: 92%;
  object-fit: contain;
}
.partner-logo-name { font-size: .78rem; font-weight: 700; color: var(--ink-2); line-height: 1.3; }
.partner-logo-sub { font-size: .7rem; color: var(--ink-faint); }
.consortium-cta a { color: var(--brand-600); font-weight: 700; text-decoration: underline; }

/* ---------- Living labs ---------- */
.ll-map-band {
  width: 100%;
  background: #fff;
  padding: 1rem;
}
.ll-map-band img {
  margin: 0 auto;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}
.ll-header { text-align: center; max-width: 48rem; margin: 2rem auto 1rem; padding: 0 1rem; }
.ll-header h1 { font-size: 1.875rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
@media (min-width: 768px) { .ll-header h1 { font-size: 2.25rem; } }
.ll-header p { margin-top: 1rem; color: var(--ink-3); line-height: 1.75rem; }
.ll-regions {
  max-width: 1600px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid var(--line-soft);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.region-row { display: block; border-bottom: 1px solid var(--line-soft); }
.region-row:last-child { border-bottom: 0; }
.region-banner {
  position: relative;
  height: 14rem;
  width: 100%;
  overflow: hidden;
  background: var(--brand-800);
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}
.region-banner::-moz-focus-inner { border: 0; }
.region-banner:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
@media (min-width: 640px) { .region-banner { height: 15rem; } }
@media (min-width: 768px) { .region-banner { height: 16rem; } }
.region-banner > img.banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease-out;
}
.region-row:hover .banner-img { transform: scale(1.035); }
.region-banner .darken {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 36, 54, .72), rgba(3, 36, 54, .18) 70%, rgba(3, 36, 54, .1));
  transition: background .3s ease;
}
.region-row:hover .darken { background: linear-gradient(90deg, rgba(3, 36, 54, .8), rgba(3, 36, 54, .25) 70%, rgba(3, 36, 54, .14)); }
.region-banner .band {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(72vw, 27rem);
}
@media (min-width: 640px) { .region-banner .band { width: min(62vw, 30rem); } }
@media (min-width: 768px) { .region-banner .band { width: min(50vw, 34rem); } }
.region-banner .content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .5rem;
  padding: 1.5rem;
}
@media (min-width: 640px) { .region-banner .content { padding: 1.5rem 2rem; } }
.region-banner .reg-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .85);
}
@media (min-width: 640px) { .region-banner .reg-label { font-size: 12px; } }
.region-banner h2,
.region-banner .region-h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -.01em;
  margin: 0;
}
@media (min-width: 640px) { .region-banner h2 { font-size: 1.875rem; } }
.region-banner .reg-info {
  font-size: .875rem;
  color: rgba(255, 255, 255, .9);
  max-width: 34ch;
  line-height: 1.5rem;
}
@media (min-width: 640px) { .region-banner .reg-info { font-size: 1rem; } }
.region-banner .explore {
  margin-top: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  align-self: flex-start;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .18);
  padding: .5rem .95rem;
  font-size: .875rem;
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(4px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
  transition: background .3s ease;
}
.region-row:hover .explore { background: rgba(255, 255, 255, .28); }
.region-banner .explore .arrow { margin-left: .5rem; transition: transform .3s ease; }
.region-row:hover .explore .arrow { transform: translateX(4px); }
.region-banner .lead-dot { width: .5rem; height: .5rem; border-radius: 9999px; background: var(--accent-light); transition: all .3s ease; }
.region-row:hover .lead-dot { transform: scale(1.25); background: #fff; }

.ll-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .ll-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ll-grid { grid-template-columns: repeat(3, 1fr); } }
.ll-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ll-card:hover { transform: translateY(-.3rem); box-shadow: var(--shadow-card-hover); border-color: rgba(18, 132, 191, .25); }
.ll-card.ll-flash { box-shadow: 0 0 0 3px rgba(15, 165, 201, .55), var(--shadow-card); animation: ll-flash 1.6s ease; }
@keyframes ll-flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(15, 165, 201, 0), var(--shadow-card); } 20%, 60% { box-shadow: 0 0 0 3px rgba(15, 165, 201, .55), var(--shadow-card); } }
.ll-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-muted); }
.ll-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ll-card:hover .thumb img { transform: scale(1.04); }
.ll-card .body { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.ll-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.ll-card .region-tag {
  align-self: flex-start;
  border-radius: 9999px;
  border: 1px solid rgba(14, 106, 156, .18);
  background: rgba(216, 239, 249, .55);
  padding: .3rem .75rem;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-700);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ll-card p { font-size: .875rem; line-height: 1.625rem; color: var(--ink-3); }
.region-detail { scroll-margin-top: 6rem; display: none; }
.region-row.is-open .region-detail {
  display: block;
  animation: regionIn .35s ease;
}
@keyframes regionIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
.region-detail h2 { font-size: 1.75rem; font-weight: 800; color: var(--ink); margin-bottom: 1rem; text-align: left; letter-spacing: -.02em; }
@media (min-width: 768px) { .region-detail h2 { font-size: 2rem; } }
.region-detail .desc { font-size: 1rem; line-height: 1.75rem; color: var(--ink-3); margin-bottom: 2rem; }
.region-detail .desc:last-child { margin-bottom: 0; }
.region-detail .desc.ll-empty { margin-bottom: 0; padding: 1.25rem; border-radius: .85rem; background: rgba(216, 239, 249, .5); border: 1px dashed rgba(18, 132, 191, .4); font-weight: 600; color: var(--ink-2); }
.region-detail .ll-grid { margin-top: 2.25rem; }
.region-row .explore .arrow { transition: transform .3s ease; display: inline-block; }
.region-row.is-open .explore .arrow { transform: rotate(180deg); }
.regions-wrap { margin: 3rem 0 1rem; }
@media (min-width: 768px) { .regions-wrap { margin-top: 4rem; } }
.ll-intro { padding-top: 3.5rem; }
@media (min-width: 768px) { .ll-intro { padding-top: 5rem; } }
.ll-intro-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .ll-intro-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem; } }
.ll-intro-copy p { font-size: 1rem; line-height: 1.75rem; color: var(--ink-3); margin-bottom: 1rem; }
.ll-intro-copy p:last-child { margin-bottom: 0; }
.ll-intro-map { margin: 0; }
.ll-intro-map img, .ll-intro-map svg { width: 100%; height: auto; border-radius: 1.25rem; box-shadow: var(--shadow-soft); border: 1px solid var(--line-soft); display: block; background: #fff; }
.ll-intro-map figcaption { margin-top: .75rem; font-size: .8125rem; line-height: 1.4; color: var(--ink-faint); text-align: center; }

.study-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.study-gallery .gallery-item {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.study-gallery .gallery-item:hover { transform: translateY(-.3rem); box-shadow: var(--shadow-card-hover); }
.study-gallery .gallery-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.study-gallery .gallery-item figcaption {
  padding: .625rem .875rem;
  font-size: .8125rem;
  line-height: 1.4;
  color: var(--ink-3);
  text-align: left;
}

/* ---------- Materials / Practice abstracts ---------- */
.section-block { margin-bottom: 4rem; }
.section-block h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); margin-bottom: 1.5rem; }
.section-block h2 .serif { font-family: var(--font-sans); }

.materials-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .materials-grid { grid-template-columns: repeat(2, 1fr); } }
.material-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  transition: all .3s ease;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
.material-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.material-thumb {
  position: relative;
  width: 100%;
  border-radius: .75rem;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--surface-muted);
}
.material-thumb .ratio { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; }
.material-thumb img { width: 100%; height: 100%; object-fit: cover; }
.material-thumb .file-type {
  position: absolute;
  top: .5rem;
  left: .5rem;
  padding: .2rem .6rem;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line-soft);
  color: var(--brand-700);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.material-card header { margin-bottom: .5rem; }
.material-card h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.375; color: var(--ink); }
.material-card .uploaded { font-size: 12px; color: var(--ink-faint); margin-top: .125rem; }
.material-card .desc { font-size: .875rem; line-height: 1.625rem; color: var(--ink-3); margin-bottom: 1rem; }
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  align-self: flex-start;
  margin-top: auto;
  background: var(--brand-600);
  color: #fff;
  padding: .55rem 1.1rem;
  border-radius: .625rem;
  font-weight: 700;
  font-size: .875rem;
  box-shadow: var(--shadow-btn);
}
.download-btn:hover { background: var(--brand-700); transform: translateY(-1px); }
.download-btn svg { width: 1rem; height: 1rem; }

.video-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.video-card:hover { transform: translateY(-.25rem); box-shadow: var(--shadow-card-hover); }
.video-card .frame { aspect-ratio: 16 / 9; }
.video-card iframe { width: 100%; height: 100%; border: 0; }
.video-card p { padding: .75rem; font-size: .875rem; font-weight: 600; color: var(--ink-2); line-height: 1.375; }

.pa-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .pa-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pa-grid { grid-template-columns: repeat(3, 1fr); } }
.pa-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  transition: all .3s ease;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
.pa-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.pa-thumb {
  position: relative;
  width: 100%;
  border-radius: .75rem;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--surface-muted);
}
.pa-thumb .ratio { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.pa-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pa-thumb .file-type {
  position: absolute;
  top: .5rem;
  left: .5rem;
  padding: .2rem .6rem;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line-soft);
  color: var(--brand-700);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pa-card header { margin-bottom: .5rem; }
.pa-card h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.375; color: var(--ink); min-height: 3.5rem; }
.pa-card .uploaded { font-size: 12px; color: var(--ink-faint); margin-top: .125rem; }

/* ---------- Newsletter ---------- */
.newsletter-page { background: linear-gradient(to bottom, var(--surface), var(--surface-soft)); }
.newsletter-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .newsletter-layout { grid-template-columns: 1fr 400px; } }
.newsletter-archive h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); margin-bottom: 1rem; }
.newsletter-list { display: grid; gap: 3rem; }
.newsletter-item {
  max-width: 28rem;
  border-radius: 1.25rem;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}
.newsletter-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: .9rem; margin-bottom: 1rem; }
.newsletter-item h3 { font-size: 1.15rem; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: .5rem; letter-spacing: -.01em; }
.newsletter-item h3 a { color: inherit; }
.newsletter-item h3 a:hover { color: var(--brand-600); }
.newsletter-item h3 .ext { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--accent); }
.newsletter-item .date { font-size: .875rem; color: var(--ink-faint); margin-top: .25rem; }
.newsletter-item .excerpt { margin-top: .75rem; color: var(--ink-3); }
.newsletter-sticky { position: static; }
@media (min-width: 1024px) { .newsletter-sticky { position: sticky; top: 6rem; } }
.newsletter-signup {
  background: var(--surface);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
  border: 1px solid var(--line-soft);
}
.newsletter-signup h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 1rem; color: var(--ink); letter-spacing: -.01em; }
.newsletter-signup p { font-size: .9rem; color: var(--ink-3); margin-bottom: 1.5rem; }
.btn--subscribe { border-radius: .75rem; background: var(--brand-600); color: #fff; font-weight: 700; box-shadow: var(--shadow-btn); }
.btn--subscribe:hover { background: var(--brand-700); }

/* ---------- Contact ---------- */
.contact-page { background: linear-gradient(to bottom, var(--surface), var(--surface-soft)); }
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: .95fr 1.35fr; gap: 2rem; } }
.contact-info-card, .contact-form-card { padding: 1.75rem; }
.contact-info-card h2, .contact-form-card h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; color: var(--ink); letter-spacing: -.01em; }
.email-box { border-radius: .85rem; border: 1px solid var(--line-soft); background: rgba(216, 239, 249, .55); padding: 1rem; margin-bottom: 1rem; }
.email-box .coord-name { font-size: .9rem; color: var(--ink-3); margin: .25rem 0 0; }
.email-box .label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand-600); margin-bottom: .25rem; }
.email-box a { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink-2); font-weight: 700; }
.email-box a:hover { color: var(--brand-600); }
.email-box svg { width: 1.25rem; height: 1.25rem; color: var(--brand-600); }
.channels h3 { font-size: .875rem; font-weight: 700; color: var(--ink); margin-bottom: .75rem; }
.channel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .625rem; }
@media (min-width: 640px) { .channel-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .channel-grid { grid-template-columns: repeat(2, 1fr); } }
.channel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: .625rem;
  border: 1px solid var(--line-soft);
  background: #fff;
  padding: .5rem .75rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-2);
}
.channel-link:hover { background: rgba(216, 239, 249, .55); color: var(--brand-600); border-color: rgba(18, 132, 191, .25); }
.channel-link svg { width: 1.125rem; height: 1.125rem; }
.privacy-note { margin-top: 1.25rem; font-size: 12px; color: var(--ink-faint); line-height: 1.5rem; }

.form-field { margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field label { display: block; margin-bottom: .5rem; font-size: .875rem; font-weight: 600; color: var(--ink); }
.form-control {
  width: 100%;
  padding: .8rem;
  border-radius: .625rem;
  border: 1px solid var(--line-strong);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus { outline: none; box-shadow: 0 0 0 3px rgba(18, 132, 191, .25); border-color: var(--brand-500); }
.form-control.is-invalid { border-color: #e5484d; }
.input-icon-wrap { position: relative; }
.input-icon-wrap svg { position: absolute; left: .9rem; top: .95rem; width: 1.25rem; height: 1.25rem; color: var(--ink-faint); }
.input-icon-wrap .form-control { padding-left: 2.75rem; }
.field-error { margin-top: .25rem; font-size: .875rem; color: #d92d20; }
.field-hint { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-faint); margin-top: .25rem; }
.field-hint .error { color: #d92d20; }
.form-badge {
  display: none;
  align-items: center;
  gap: .375rem;
  border-radius: 9999px;
  background: rgba(216, 239, 249, .55);
  padding: .3rem .8rem;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-700);
}
@media (min-width: 640px) { .form-badge { display: inline-flex; } }
.form-badge svg { width: 1rem; height: 1rem; }
.btn--submit {
  width: 100%;
  border-radius: .75rem;
  padding: .9rem;
  font-size: 1rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn--submit:hover:not(:disabled) { background: var(--accent-dark); transform: translateY(-1px); }
.btn--submit:disabled { background: var(--gray-300); color: var(--gray-600); cursor: not-allowed; }
.form-success { margin-top: 1rem; min-height: 1.5rem; text-align: center; font-size: .875rem; font-weight: 600; color: #0b7a52; }
.spinner { display: none; }
.btn--submit.is-sending .spinner { display: inline-flex; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-strong);
  background: var(--surface-soft);
}
.footer-band {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 1rem;
}
.footer-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(242, 247, 251, .92), rgba(255, 255, 255, .96));
  pointer-events: none;
}
.footer-band-inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; }
.footer-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-bottom: 1.75rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line-soft); justify-content: center; text-align: center; }
.footer-logos img.footer-logo { height: 5rem; width: auto; }
@media (min-width: 640px) { .footer-logos img.footer-logo { height: 6rem; } }
@media (min-width: 768px) { .footer-logos img.footer-logo { height: 8rem; } }
.footer-logos img.eu-badge { height: 3rem; width: auto; }
@media (min-width: 640px) { .footer-logos img.eu-badge { height: 3.5rem; } }
@media (min-width: 768px) { .footer-logos img.eu-badge { height: 4rem; } }
.footer-logos img.prima-badge { height: 3rem; width: auto; }
@media (min-width: 640px) { .footer-logos img.prima-badge { height: 3.5rem; } }
@media (min-width: 768px) { .footer-logos img.prima-badge { height: 4rem; } }
.funding-text { max-width: 80ch; margin: 0 auto 2.5rem; font-size: .875rem; line-height: 1.625rem; color: var(--ink-3); text-align: center; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col { text-align: center; }
@media (min-width: 768px) { .footer-col { text-align: left; } }
.footer-col h3 { font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: 1rem; letter-spacing: -.01em; }
.footer-links { list-style: none; display: grid; gap: .5rem; justify-content: center; }
@media (min-width: 768px) { .footer-links { justify-content: flex-start; } }
.footer-links a { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--ink-3); }
.footer-links a:hover { color: var(--brand-600); }
.footer-links svg { width: 1rem; height: 1rem; color: var(--brand-600); }
.footer-subscribe p { font-size: .875rem; color: var(--ink-3); margin-bottom: 1rem; }
.btn--subscribe-sm {
  display: inline-block;
  background: var(--brand-600);
  color: #fff;
  padding: .6rem 1.6rem;
  border-radius: .625rem;
  font-weight: 700;
  font-size: .875rem;
  box-shadow: var(--shadow-btn);
}
.btn--subscribe-sm:hover { background: var(--brand-700); transform: translateY(-1px); }
.footer-socials { display: flex; gap: .75rem; margin-top: .75rem; justify-content: center; }
@media (min-width: 768px) { .footer-socials { justify-content: flex-start; } }
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--brand-600);
}
.footer-socials a:hover { color: #fff; background: var(--brand-600); border-color: var(--brand-600); }
.footer-socials svg { width: 1.125rem; height: 1.125rem; }
.footer-socials .follow-note { font-size: .875rem; color: var(--ink-faint); margin-top: .75rem; }
.footer-bottom { border-top: 1px solid var(--line-soft); background: #fff; }
.footer-bottom-inner { max-width: 1280px; margin: 0 auto; padding: 1.25rem 1rem; display: flex; flex-direction: column; gap: .5rem; align-items: center; text-align: center; }
@media (min-width: 768px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; } }
.footer-bottom-inner p { font-size: .875rem; color: var(--ink-faint); }
.footer-bottom-inner .legal { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; align-items: center; }
.footer-bottom-inner .legal a { font-size: .875rem; color: var(--ink-faint); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom-inner .legal a:hover { color: var(--brand-600); }
.footer-bottom-inner .legal .sep { color: var(--gray-400); }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .92);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-btn);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand-600); color: #fff; }
.back-to-top svg { width: 1.25rem; height: 1.25rem; }

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 5rem 1rem; }
.not-found .code {
  font-size: 6rem;
  font-weight: 800;
  color: var(--brand-600);
  line-height: 1;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--brand-500), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (min-width: 768px) { .not-found .code { font-size: 9rem; } }
.not-found h1 { font-size: 1.75rem; font-weight: 800; color: var(--ink); margin: 1rem 0 .75rem; letter-spacing: -.02em; }
.not-found p { max-width: 36rem; margin-bottom: 2rem; }
.not-found .not-found-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.not-found .btn { text-decoration: none; }

/* ---------- Deliverables ---------- */
.deliverables-note { max-width: 56rem; margin: 0 auto 2.5rem; text-align: center; font-size: .98rem; color: var(--ink-3); background: var(--surface-soft); border: 1px solid var(--line-soft); border-radius: .85rem; padding: 1rem 1.25rem; }
.deliverables-block { margin-bottom: 2.75rem; }
.deliverables-block h2 { font-size: 1.3rem; font-weight: 800; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1rem; padding-bottom: .65rem; border-bottom: 2px solid var(--brand-300); letter-spacing: -.01em; }
.deliverables-block .meta-chip { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand-700); background: rgba(216, 239, 249, .55); border: 1px solid var(--line-soft); border-radius: 9999px; padding: .25rem .7rem; white-space: nowrap; }
.deliverables-list { list-style: none; padding: 0; margin: 0; }
.deliverables-list li { display: grid; grid-template-columns: 5rem 1fr auto; align-items: center; gap: 1rem; padding: .85rem 1rem; border-bottom: 1px dashed var(--line-strong); background: #fff; }
.deliverables-list li:nth-child(even) { background: var(--surface-soft); }
.deliverables-list li:first-child { border-top: 1px dashed var(--line-strong); }
.del-id { font-family: var(--font-sans); font-weight: 700; color: var(--brand-600); font-size: .95rem; }
.del-title { color: var(--ink-3); font-size: .95rem; }
.del-status { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-700); background: rgba(216, 239, 249, .55); border: 1px solid var(--line-soft); border-radius: 9999px; padding: .25rem .6rem; white-space: nowrap; }
@media (max-width: 640px) {
  .deliverables-list li { grid-template-columns: 1fr auto; row-gap: .35rem; }
  .del-title { grid-column: 1 / -1; grid-row: 2; }
}
.deliverables-table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 1rem; background: #fff; box-shadow: var(--shadow-soft); }
.deliverables-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 760px; }
.deliverables-table caption { caption-side: top; text-align: left; padding: 1.1rem 1.25rem .6rem; font-size: 1.1rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.deliverables-table th, .deliverables-table td { text-align: left; padding: .7rem 1rem; border-bottom: 1px dashed var(--line-strong); vertical-align: top; }
.deliverables-table thead th { background: var(--surface-muted); color: var(--brand-700); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; border-bottom: 2px solid var(--line-strong); white-space: nowrap; }
.deliverables-table tbody tr:nth-child(even) { background: var(--surface-soft); }
.deliverables-table tbody tr:last-child td { border-bottom: none; }
.deliverables-table .del-id { font-weight: 700; color: var(--brand-600); white-space: nowrap; }
.deliverables-table .type-chip, .deliverables-table .level-chip { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .03em; border-radius: 9999px; padding: .15rem .5rem; white-space: nowrap; }
.deliverables-table .type-chip { color: var(--brand-700); background: rgba(216, 239, 249, .55); border: 1px solid var(--line-soft); }
.deliverables-table .level-chip { color: var(--ink-3); background: var(--surface-soft); border: 1px solid var(--line-soft); }
.deliverables-legend { margin-top: 1.5rem; font-size: .85rem; line-height: 1.6; color: var(--ink-3); background: var(--surface-soft); border: 1px solid var(--line-soft); border-radius: .85rem; padding: 1rem 1.25rem; }
.deliverables-legend strong { color: var(--brand-600); }

/* ---------- Motion / reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s cubic-bezier(.16,.68,.43,.99); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-60px); }
.reveal--right { transform: translateX(60px); }
.reveal--left.is-visible, .reveal--right.is-visible { transform: none; }
.stagger > * { opacity: 0; transform: translateY(28px); }
.stagger.is-visible > * { animation: rise .55s cubic-bezier(.16,.68,.43,.99) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal--left, .reveal--right, .stagger > * { opacity: 1; transform: none; }
}

/* ---------- AVSS 2026 Workshop page ---------- */
.workshop-layout { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .workshop-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.workshop-poster { margin: 0; }
.workshop-poster img { width: 100%; border-radius: 1.25rem; box-shadow: var(--shadow-card); }
.workshop-caption { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.workshop-details { min-width: 0; }
.workshop-title { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; font-weight: 800; color: var(--ink); margin-bottom: .75rem; letter-spacing: -.02em; }
.workshop-sub { font-size: 1.05rem; color: var(--ink-3); margin-bottom: 1.5rem; }
.workshop-intro { font-size: 1rem; line-height: 1.625; color: var(--ink-3); margin-bottom: 1.75rem; }
.workshop-block h3 { font-size: 1.125rem; font-weight: 800; color: var(--ink); margin-bottom: 1rem; }
.workshop-block + .workshop-block { margin-top: 1.75rem; }
.organizer-list { list-style: none; display: grid; gap: .9rem; }
.organizer-item {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-soft);
}
.organizer-item svg { flex: none; color: var(--brand-600); margin-top: .15rem; }
.organizer-item p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--ink-3); }
.organizer-name { font-weight: 700; color: var(--ink); }
.organizer-aff { font-size: .9rem; }
.topic-list { list-style: none; display: grid; gap: .85rem; counter-reset: topic; }
.topic-list li {
  counter-increment: topic;
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--ink-3);
}
.topic-list li::before {
  content: counter(topic, decimal-leading-zero);
  flex: none;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(216, 239, 249, .6);
  color: var(--brand-700);
  font-weight: 700;
  font-size: .8rem;
  border: 1px solid var(--line-soft);
}

/* ============================================================
   Pass 2 — NexusLabs-inspired editorial restyle (water blue)
   Overrides / additions layered on top of the base system.
   ============================================================ */

/* ---------- Shared editorial helpers ---------- */
.kicker {
  display: inline-block;
  margin-bottom: .75rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.editorial-head { max-width: 46rem; margin-bottom: 2.75rem; }
.editorial-head h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 1rem;
}
.editorial-head p { font-size: 1.05rem; color: var(--ink-3); line-height: 1.8; max-width: 58rem; }

/* ---------- Header polish ---------- */
.site-header { border-bottom: 1px solid var(--line-strong); }
.site-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-950), var(--brand-600) 40%, var(--accent) 75%, var(--brand-300));
  z-index: 5;
}
.nav-link { font-weight: 700; }
.nav-link:not(.is-active):hover { background: var(--surface-soft); }
.brand img.brand-logo { height: 2.75rem; }
@media (min-width: 1024px) { .brand img.brand-logo { height: 3.25rem; } }

/* ---------- Pill buttons ---------- */
.btn, .btn--hero, .btn--map, .btn--ghost, .btn--subscribe, .btn--subscribe-sm, .btn--submit, .download-btn { border-radius: 9999px; }

/* ---------- Editorial hero (homepage) ---------- */
.hero-editorial {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(86vh, 720px);
  background: var(--brand-950);
  border-bottom: 1px solid var(--line-soft);
}
.hero-editorial-top {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}
.hero-editorial-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) {
  .hero-editorial-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3.5rem; }
}
.hero-copy .hero-eyebrow { margin-bottom: 1.25rem; }
.hero-copy h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 1.25rem;
  text-shadow: none;
}
.hero-copy h1 .hl { color: var(--brand-600); }
.hero-copy .hero-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.8;
  color: var(--ink-3);
  max-width: 52ch;
  margin: 0 0 1.75rem;
}
.hero-editorial .hero-actions { justify-content: flex-start; }
.hero-eyebrow {
  border: 1px solid rgba(14, 106, 156, .2);
  background: rgba(216, 239, 249, .6);
  color: var(--brand-700);
}
.hero-eyebrow .dot-live { background: var(--accent); box-shadow: 0 0 0 4px rgba(15, 165, 201, .22); }
.btn--hero { background: var(--brand-600); box-shadow: var(--shadow-btn); }
.btn--hero:hover { background: var(--brand-700); transform: translateY(-2px); }
.btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--brand-700);
  padding: .85rem 1.75rem;
  font-weight: 700;
  font-size: .95rem;
}
.btn--ghost:hover { border-color: var(--brand-400); color: var(--brand-600); box-shadow: var(--shadow-soft); transform: translateY(-1px); }

/* ---------- Hero video background (homepage) ---------- */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(3, 36, 54, .6) 0%, rgba(3, 36, 54, .3) 40%, rgba(3, 36, 54, .78) 100%);
}
.hero-editorial--video .hero-editorial-grid {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}
.hero-editorial--video .hero-copy {
  text-align: center;
  max-width: 52rem;
}
.hero-editorial--video .hero-copy h1 { color: #fff; }
.hero-editorial--video .hero-copy h1 .hl { color: var(--brand-300); }
.hero-editorial--video .hero-copy .hero-sub { color: rgba(255, 255, 255, .88); margin-left: auto; margin-right: auto; }
.hero-editorial--video .hero-actions { justify-content: center; }
.hero-editorial--video .hero-eyebrow {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-editorial--video .hero-eyebrow .dot-live { background: var(--accent); box-shadow: 0 0 0 4px rgba(15, 165, 201, .3); }
.hero-editorial--video .btn--hero { background: var(--accent); }
.hero-editorial--video .btn--hero:hover { background: #0d8db0; }
.hero-editorial--video .btn--ghost {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .75);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-editorial--video .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .18); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-editorial--video { background: var(--brand-950) url('../assets/study-sites/morocco-ait-bouguemez.jpg') center / cover no-repeat; }
}

/* ---------- Stats band (count-up style) ---------- */
.stats-band { padding: 4.25rem 1rem; }
.stats-band h2 { font-size: clamp(1.85rem, 4vw, 2.5rem); margin-bottom: 2.75rem; }
.stat-grid { gap: 1.25rem 2rem; }
.stat {
  position: relative;
  border: none;
  background: transparent;
  padding: 1.25rem .5rem 1.75rem;
}
.stat::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .25rem;
  transform: translateX(-50%);
  width: 2.75rem;
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--accent), var(--brand-400));
  opacity: .9;
}
.stat-value { font-size: clamp(2.75rem, 6vw, 4rem); color: #fff; }
.stat-label { font-size: .9rem; color: rgba(255, 255, 255, .78); }

/* ---------- Integrated approach block ---------- */
.approach-section { background: linear-gradient(to bottom, var(--surface), var(--surface-soft)); }
.approach-block { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) {
  .approach-block { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 4rem; }
}
.approach-figure { position: relative; margin: 0; }
.approach-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line-soft);
}
.approach-stat {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card-hover);
  padding: 1.25rem 1.5rem;
  max-width: 100%;
}
.approach-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--brand-600);
}
.approach-stat span { display: block; margin-top: .4rem; font-size: .8rem; line-height: 1.4; color: var(--ink-3); }
.approach-copy h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.16;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.approach-copy > p { font-size: 1.05rem; line-height: 1.85; color: var(--ink-3); margin-bottom: 1rem; }
.check-list { list-style: none; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; font-size: .98rem; font-weight: 500; color: var(--ink-2); }
.check-list li::before {
  content: "";
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: .1rem;
  border-radius: 9999px;
  background: var(--brand-100) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e6a9c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>") center / .8rem no-repeat;
  border: 1px solid rgba(14, 106, 156, .22);
}

/* ---------- Pillars → toolkit cards ---------- */
.pillars-section { background: linear-gradient(to bottom, var(--surface), var(--surface-soft)); }
.pillar-grid { margin-top: 0; }
.pillar-card {
  aspect-ratio: auto;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 0 9999px 9999px 0;
  background: linear-gradient(var(--accent), var(--brand-400));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .35s cubic-bezier(.16, .68, .43, .99);
}
.pillar-card:hover::before { transform: scaleY(1); }
.pillar-card svg {
  width: 3.5rem;
  height: 3.5rem;
  padding: .8rem;
  margin: 0 0 1.25rem;
  background: var(--brand-100);
  border: 1px solid rgba(14, 106, 156, .15);
  border-radius: .9rem;
  color: var(--brand-600) !important;
  stroke-width: 1.8;
}
.pillar-card img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  margin: 0 0 1.25rem;
  padding: .6rem;
  background: var(--brand-100);
  border: 1px solid rgba(14, 106, 156, .15);
  border-radius: .9rem;
}
.pillar-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.pillar-card p { font-size: .9rem; }

/* ---------- Map / consortium panel ---------- */
.map-panel { padding: 2.5rem 2rem; }
@media (min-width: 768px) { .map-panel { padding: 3rem; } }
.map-panel h2 { font-size: clamp(1.85rem, 3vw, 2.4rem); }
.region-chip { border-radius: 9999px; font-weight: 700; }
.map-status strong { color: var(--brand-600); }
.map-reset { border-radius: 9999px; }

/* ---------- News cards (NexusLabs style) ---------- */
.news-card { min-height: 0; padding: 0; border-radius: 1.125rem; }
.news-card.is-featured { min-height: 0; }
.news-card .news-thumb { border-radius: 0; margin-bottom: 0; height: 11rem; }
.news-card.is-featured .news-thumb { height: 14rem; }
@media (min-width: 768px) { .news-card.is-featured .news-thumb { height: 15rem; } }
.news-card .news-thumb img { height: 100%; }
.news-card.is-featured .news-thumb img { height: 100%; }
.news-card.is-poster .news-thumb img { height: auto; max-height: 30rem; }
.news-thumb.is-empty { height: 8rem; }
.news-card .news-meta { padding: 1rem 1.25rem 0; margin-bottom: .5rem; }
.news-card h3 { padding: 0 1.25rem; }
.news-card p.excerpt { padding: 0 1.25rem; min-height: 3.4rem; }
.news-card .read-more { margin-top: auto; padding: .9rem 1.25rem 1.1rem; border-top: 1px solid var(--line-soft); font-size: .85rem; letter-spacing: .02em; }
.meta-chip { background: var(--brand-600); border-color: var(--brand-600); color: #fff; font-size: .62rem; padding: .25rem .6rem; letter-spacing: .08em; }
.news-head .latest-note { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }

/* ---------- Partners grid ---------- */
.consortium-panel { padding: 3.25rem 1.5rem; }
@media (min-width: 768px) { .consortium-panel { padding: 3.75rem 2.5rem; } }
.partner-logos { gap: 1.25rem; }
.partner-logo { position: relative; }
.partner-logo .logo-tile { border-radius: .875rem; background: var(--surface-soft); }
.partner-logo .logo-tile img { transition: transform .3s ease; }
.partner-logo--coordinator .logo-tile { background: rgba(216, 239, 249, .55); border-color: rgba(18, 132, 191, .35); }
.partner-logo--coordinator .logo-tile img { filter: none; }
.logo-coord-badge {
  position: absolute;
  top: .45rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: .18rem .6rem;
  border-radius: 9999px;
  background: var(--brand-600);
  color: #fff;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(7, 51, 79, .28);
}

/* Partners page cards with real logos */
.partner-card { position: relative; border-radius: 1rem; }
.partner-card--coordinator .logo-box { opacity: 1; }
.partner-card .logo-box img { transition: transform .3s ease; }
.partner-card--coordinator { border-color: rgba(18, 132, 191, .4); }
.partner-card--coordinator::after {
  content: "Coordinator";
  position: absolute;
  top: .75rem;
  right: .75rem;
  padding: .2rem .6rem;
  border-radius: 9999px;
  background: var(--brand-600);
  color: #fff;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- Inner page hero ---------- */
.page-hero { padding: 5rem 1rem 3rem; }
.page-hero .eyebrow { display: inline-block; margin-bottom: 1.1rem; font-size: .72rem; letter-spacing: .22em; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); letter-spacing: -.025em; }
.page-hero p { font-size: 1.1rem; }
.page-hero .rule { width: 4.5rem; height: .22rem; background: linear-gradient(90deg, var(--accent), var(--brand-400)); }

/* ---------- Living Labs cards ---------- */
.ll-card { position: relative; border-radius: 1.125rem; }
.ll-card .thumb { aspect-ratio: 4 / 3; }
.ll-card .region-tag {
  position: absolute;
  top: .9rem;
  left: .9rem;
  z-index: 3;
  background: rgba(3, 36, 54, .62);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(3, 36, 54, .25);
}
.ll-card h3 { font-size: 1.18rem; }
.ll-card p { font-size: .9rem; }
.ll-header h1 { font-size: 2.25rem; letter-spacing: -.02em; }
@media (min-width: 768px) { .ll-header h1 { font-size: 2.75rem; } }

/* ---------- Section labels (About) ---------- */
.section-label { letter-spacing: -.025em; margin-top: 4.5rem; }

/* ---------- Footer ---------- */
.footer-band { padding: 4.5rem 1rem; }
.footer-band::before { background: linear-gradient(to bottom, rgba(244, 249, 252, .94), rgba(255, 255, 255, .97)); }
.footer-logos { gap: 2rem; }
.footer-col h3 {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.workshop-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }