:root {
  --purple: #6750b5;
  --purple-dark: #2f1b5b;
  --purple-soft: #ece8f8;
  --gold: #d8a63c;
  --ink: #201633;
  --paper: #f7f4ee;
  --white: #ffffff;
  --header-height: 88px;
  --shell: min(1480px, calc(100vw - 72px));
  --shadow-card: 0 18px 50px rgb(40 25 78 / 15%);
  --transition: 240ms cubic-bezier(0.2, 0.75, 0.25, 1);
  --font-display: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: #fff;
  background: var(--purple);
}

h1,
h2,
h3,
strong {
  font-family: var(--font-display);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 9px;
  color: var(--white);
  background: var(--purple-dark);
  transform: translateY(-150%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 50;
  height: var(--header-height);
  padding: 8px 18px;
  background: rgb(246 244 250 / 88%);
  backdrop-filter: blur(16px);
  transition: background var(--transition);
}

.site-header.is-scrolled {
  background: rgb(246 244 250 / 96%);
}

.scroll-progress {
  position: absolute;
  right: 30px;
  bottom: 4px;
  left: 30px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.back-to-top {
  position: fixed;
  z-index: 45;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 50%;
  color: #fff;
  background: var(--purple-dark);
  box-shadow: 0 16px 35px rgb(35 19 66 / 25%);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--purple);
  transform: translateY(-3px);
}

.header-inner {
  width: min(1840px, calc(100vw - 36px));
  height: 100%;
  margin-inline: auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid rgb(103 80 181 / 10%);
  border-radius: 22px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 12px 34px rgb(47 27 91 / 10%);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 56px;
}

.brand img {
  display: block;
  width: 150px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  height: auto;
  margin-left: auto;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 14px;
  color: var(--purple-dark);
  font-size: 0.94rem;
  font-weight: 650;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.is-current {
  color: var(--purple-dark);
  background: var(--purple-soft);
  transform: translateY(-1px);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 16px;
  color: var(--white);
  background: var(--purple);
  font-weight: 750;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgb(103 80 181 / 20%);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.header-cta:hover {
  background: var(--purple-dark);
  box-shadow: 0 14px 32px rgb(47 27 91 / 25%);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 0;
  border-radius: 14px;
  color: var(--purple-dark);
  background: var(--purple-soft);
  cursor: pointer;
}

.mobile-nav {
  position: absolute;
  top: var(--header-height);
  right: 0;
  left: 0;
  z-index: 60;
  padding: 18px max(24px, calc((100vw - 1480px) / 2));
  background: var(--white);
  box-shadow: 0 22px 40px rgb(31 20 56 / 15%);
}

.mobile-nav a {
  display: block;
  padding: 13px 4px;
  border-bottom: 1px solid rgb(103 80 181 / 12%);
  color: var(--purple-dark);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 820px;
  padding-bottom: 62px;
  background: var(--paper);
}

.slides {
  position: relative;
  height: min(780px, calc(100vh - var(--header-height)));
  min-height: 680px;
  overflow: hidden;
  background: #2b2832;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgb(25 16 43 / 62%) 0%, rgb(25 16 43 / 18%) 62%, rgb(25 16 43 / 25%) 100%),
    rgb(30 18 48 / 12%);
  pointer-events: none;
}

.slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.025);
  transition: transform 7s linear;
}

.slide:nth-child(2) .slide-image {
  object-position: center 52%;
}

.slide:nth-child(3) .slide-image {
  object-position: center 35%;
}

.slide.is-active .slide-image {
  transform: scale(1);
}

.hero-center {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: min(780px, calc(100vh - var(--header-height)));
  min-height: 680px;
  padding-bottom: 82px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  text-align: center;
  pointer-events: none;
  transform: translateY(260px);
}

.hero-center > * {
  pointer-events: auto;
}

.hero-center .eyebrow {
  justify-content: center;
  margin-bottom: 20px;
}

.hero-center .eyebrow::after {
  display: none;
}

.hero-center h1 {
  max-width: 1160px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  font-weight: 820;
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-shadow: 0 5px 32px rgb(15 8 28 / 48%);
  text-wrap: balance;
}

.hero-center .hero-actions {
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.hero-center .button {
  min-height: 52px;
  padding: 0 22px;
  gap: 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.hero-center .button-primary {
  min-width: 218px;
}

.hero-center .button-secondary {
  min-width: 214px;
}

.hero-center .button svg {
  width: 1.05rem;
  height: 1.05rem;
}

.hero-center .button-primary {
  color: var(--purple-dark);
  background: var(--gold);
  box-shadow: 0 15px 36px rgb(25 14 43 / 28%);
}

.hero-center .button-primary:hover {
  background: #e5b347;
}

.slide-content {
  position: relative;
  z-index: 2;
  padding-bottom: 58px;
  color: var(--white);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 27px;
  color: #f1bd45;
  font-size: clamp(0.76rem, 0.9vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  width: 70px;
  height: 2px;
  background: currentColor;
}

.slide h1,
.slide h2 {
  max-width: 800px;
  margin: 0;
  color: var(--white);
  font-size: clamp(3.25rem, 5.3vw, 5.5rem);
  font-weight: 820;
  line-height: 0.99;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgb(0 0 0 / 35%);
}

.hero-copy {
  max-width: 640px;
  margin: 34px 0 0;
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  line-height: 1.55;
  text-shadow: 0 2px 18px rgb(0 0 0 / 45%);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 59px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 17px;
  font-size: 1rem;
  font-weight: 760;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--purple);
  box-shadow: 0 15px 35px rgb(36 20 70 / 25%);
}

.button-primary:hover {
  background: #745ec2;
}

.button-secondary {
  border-color: rgb(255 255 255 / 78%);
  color: var(--white);
  background: rgb(24 20 31 / 16%);
  backdrop-filter: blur(3px);
}

.button-secondary:hover {
  border-color: var(--white);
  background: rgb(255 255 255 / 12%);
}

.carousel-controls {
  position: absolute;
  z-index: 4;
  top: 48%;
  right: clamp(22px, 3vw, 58px);
  display: grid;
  justify-items: center;
  gap: 25px;
  color: var(--white);
  transform: translateY(-50%);
}

.slide-count {
  font-size: 0.96rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgb(0 0 0 / 35%);
}

.slide-dots {
  position: relative;
  display: grid;
  gap: 15px;
}

.slide-dots::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 7px;
  bottom: 7px;
  left: 50%;
  width: 1px;
  background: rgb(255 255 255 / 70%);
  transform: translateX(-50%);
}

.slide-dot {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  box-shadow: 0 2px 8px rgb(0 0 0 / 18%);
  transition: background var(--transition), transform var(--transition);
}

.slide-dot:hover,
.slide-dot.is-active {
  background: var(--purple);
  transform: scale(1.2);
}

.impact-cards {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.impact-card {
  position: relative;
  min-height: 96px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 21px;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #6f57bb 0%, #4c368d 100%);
  box-shadow: 0 20px 44px rgb(32 18 59 / 22%);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.impact-card:hover {
  background: linear-gradient(135deg, #7b63c5 0%, #58409b 100%);
  box-shadow: 0 26px 54px rgb(32 18 59 / 30%);
  transform: translateY(-5px);
}

.impact-card-primary {
  background: linear-gradient(135deg, #775fc3 0%, #523996 100%);
}

.impact-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--purple);
  background: #fff;
}

.impact-card-primary .impact-icon {
  color: var(--purple);
  background: var(--white);
}

.impact-icon svg {
  width: 22px;
  height: 22px;
}

.impact-card p {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
  margin: 0;
}

.impact-card strong {
  color: #fff;
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.impact-card p span {
  color: rgb(255 255 255 / 72%);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.3;
}

.impact-card-primary p span {
  color: var(--white);
}

.impact-card > b {
  margin-left: auto;
  color: var(--gold);
  font-family: inherit;
  font-size: 1.2rem;
}

.africa-mark {
  position: absolute;
  right: 28px;
  color: rgb(103 80 181 / 15%);
  font-size: 4rem;
}

.home-metrics {
  padding: 46px 0;
  color: #fff;
  background: var(--purple-dark);
}

.home-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.home-metrics-grid > div {
  display: flex;
  min-height: 92px;
  padding: 8px clamp(24px, 3vw, 48px);
  align-items: center;
  gap: 22px;
  border-right: 1px solid rgb(255 255 255 / 16%);
}

.home-metrics-grid > div:first-child {
  padding-left: 0;
}

.home-metrics-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.home-metrics strong {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}

.home-metrics span {
  max-width: 150px;
  color: rgb(255 255 255 / 70%);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.theme-marquee {
  overflow: hidden;
  color: #fff;
  background: var(--purple-dark);
}

.theme-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 30px;
  padding: 19px 0;
  animation: theme-marquee 34s linear infinite;
  will-change: transform;
}

.theme-marquee span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.theme-marquee i {
  color: var(--gold);
  font-size: 0.72rem;
  font-style: normal;
}

@keyframes theme-marquee {
  to { transform: translateX(-50%); }
}

.preview-next {
  padding: 84px 0 102px;
  background: var(--paper);
}

.preview-next-inner {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr 1fr;
  gap: 65px;
  align-items: start;
}

.section-kicker {
  margin: 12px 0 0;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.preview-next h2 {
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.preview-next-inner > p:last-child {
  margin: 11px 0 0;
  color: #665d72;
  font-size: 1.06rem;
  line-height: 1.7;
}

.section-pad {
  padding: 106px 0;
}

section[id],
article[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.section-kicker {
  margin: 0 0 20px;
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-kicker-light {
  color: #edc15b;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading h2,
.funding-heading h2,
.region-copy h2,
.resources-heading h2 {
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(3rem, 5.2vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.section-heading > p,
.funding-heading > p:last-child {
  margin: 0 0 6px;
  color: #655d70;
  font-size: 1.05rem;
  line-height: 1.7;
}

.mission {
  background: var(--paper);
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(60px, 8vw, 130px);
  align-items: center;
}

.mission-visual {
  position: relative;
  min-height: 600px;
}

.mission-visual::before {
  content: "";
  position: absolute;
  top: -25px;
  left: -25px;
  width: 42%;
  height: 55%;
  border: 2px solid rgb(103 80 181 / 28%);
  border-radius: 30px 0 0 0;
}

.mission-visual img {
  position: absolute;
  inset: 0 0 0 8%;
  width: 92%;
  height: 100%;
  border-radius: 8px 80px 8px 8px;
  object-fit: cover;
  object-position: 18% center;
  box-shadow: 0 30px 70px rgb(47 27 91 / 16%);
}

.mission-note {
  position: absolute;
  right: -34px;
  bottom: 38px;
  display: grid;
  gap: 5px;
  max-width: 270px;
  padding: 24px 28px;
  border-radius: 16px;
  color: var(--white);
  background: var(--purple);
  box-shadow: var(--shadow-card);
}

.mission-note span {
  color: #e6dffa;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mission-note strong {
  font-size: 1.1rem;
  line-height: 1.3;
}

.mission-copy h2 {
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(3rem, 4.7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.mission-copy .lead,
.region-copy .lead {
  margin: 38px 0 22px;
  color: #3f334f;
  font-size: clamp(1.12rem, 1.5vw, 1.36rem);
  line-height: 1.65;
}

.mission-copy > p:not(.section-kicker):not(.lead) {
  margin: 0;
  color: #6e6578;
  line-height: 1.75;
}

.mission-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.mission-values span,
.country-list span {
  padding: 10px 16px;
  border: 1px solid rgb(103 80 181 / 18%);
  border-radius: 999px;
  color: var(--purple-dark);
  background: rgb(255 255 255 / 68%);
  font-size: 0.88rem;
  font-weight: 720;
}

.priorities {
  background: var(--white);
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
}

.priority-card {
  overflow: hidden;
  border: 1px solid rgb(47 27 91 / 10%);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 60px rgb(47 27 91 / 8%);
  transition: transform var(--transition), box-shadow var(--transition);
}

.priority-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 70px rgb(47 27 91 / 14%);
}

.priority-card-raised {
  margin-top: 22px;
}

.priority-card img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.project-card img,
.resource-card img,
.page-hero-visual img {
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.priority-card:hover img,
.project-card:hover img,
.resource-card:hover img,
.page-hero-visual:hover img,
.team-card:hover img {
  transform: scale(1.025);
}

.priority-card:nth-child(1) img {
  object-position: 50% 30%;
}

.priority-card:nth-child(2) img {
  object-position: 50% 78%;
}

.priority-card:nth-child(3) img {
  object-position: 50% 42%;
}

.priority-body {
  position: relative;
  min-height: 250px;
  padding: 35px;
}

.priority-number {
  display: block;
  margin-bottom: 25px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.priority-body h3 {
  margin: 0 0 16px;
  color: var(--purple-dark);
  font-size: clamp(1.5rem, 2vw, 2rem);
  letter-spacing: -0.035em;
}

.priority-body p {
  margin: 0;
  color: #6a6272;
  line-height: 1.65;
}

.funding {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--purple-dark);
}

.funding::before {
  content: "";
  position: absolute;
  top: -280px;
  right: -140px;
  width: 650px;
  height: 650px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgb(255 255 255 / 2%), 0 0 0 160px rgb(255 255 255 / 2%);
}

.funding-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 65px;
}

.funding-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -33px;
}

.funding-heading h2 {
  color: var(--white);
}

.funding-heading > p:last-child {
  color: #cfc6e4;
}

.funding-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.funding-card {
  position: relative;
  min-height: 450px;
  padding: 36px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 22px;
  background: rgb(255 255 255 / 6%);
}

.funding-card-featured {
  border-color: var(--gold);
  background: var(--purple);
  box-shadow: 0 24px 70px rgb(17 8 39 / 28%);
}

.funding-index {
  position: absolute;
  top: 34px;
  right: 34px;
  color: #e8b94f;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.funding-type {
  max-width: 270px;
  min-height: 58px;
  margin: 0 0 42px;
  color: #ded7ed;
  font-size: 1rem;
  font-weight: 740;
  line-height: 1.45;
}

.funding-card strong {
  display: block;
  font-size: clamp(3.2rem, 4.2vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.funding-currency {
  display: block;
  margin-top: 9px;
  color: #c9bedf;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.funding-card dl {
  display: grid;
  gap: 20px;
  margin: 44px 0 0;
}

.funding-card dl div {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 15px;
  padding-top: 17px;
  border-top: 1px solid rgb(255 255 255 / 13%);
}

.funding-card dt,
.funding-card dd {
  margin: 0;
}

.funding-card dt {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.funding-card dd {
  color: #ded8ea;
  font-size: 0.91rem;
  line-height: 1.5;
}

.funding-action {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin-top: 45px;
}

.funding-action p {
  margin: 0;
  color: #bfb4d4;
}

.button-gold {
  color: var(--purple-dark);
  background: var(--gold);
}

.button-gold:hover {
  background: #ecc056;
}

.region {
  background: #f0ece4;
}

.region-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(60px, 8vw, 125px);
  align-items: center;
}

.region-copy .lead {
  margin-bottom: 35px;
}

.country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.country-list span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
}

.country-list img,
.country-flags-inline img,
.country-with-flag img {
  display: block;
  width: 28px;
  height: 19px;
  border: 1px solid rgb(47 27 91 / 12%);
  border-radius: 3px;
  background: var(--white);
  object-fit: contain;
}

.country-flags-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.country-flags-inline span,
.country-with-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.country-flags-inline span {
  padding: 8px 11px;
  border: 1px solid rgb(103 80 181 / 16%);
  border-radius: 999px;
  color: var(--purple-dark);
  background: var(--white);
  font-size: 0.76rem;
  font-weight: 780;
}

.region-image {
  position: relative;
  margin: 0;
}

.region-image::before {
  content: "";
  position: absolute;
  inset: 34px -32px -32px 34px;
  border: 2px solid rgb(103 80 181 / 26%);
  border-radius: 0 0 70px 0;
}

.region-image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 540px;
  border-radius: 70px 8px 8px 8px;
  object-fit: cover;
  object-position: center 38%;
}

.region-image figcaption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--purple-dark);
  background: rgb(255 255 255 / 90%);
  font-size: 0.8rem;
  font-weight: 750;
}

.projects {
  background: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  overflow: hidden;
  border-radius: 20px;
  background: var(--paper);
}

.project-card img {
  display: block;
  width: 100%;
  height: 310px;
  object-fit: cover;
  transition: transform 600ms ease;
}

.project-card:nth-child(1) img {
  object-position: 50% 32%;
}

.project-card:nth-child(2) img {
  object-position: 50% 30%;
}

.project-card:nth-child(3) img {
  object-position: 50% 38%;
}

.project-card:hover img {
  transform: scale(1.035);
}

.project-body {
  padding: 30px;
}

.project-org,
.resource-label {
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-body h3 {
  margin: 15px 0;
  color: var(--purple-dark);
  font-size: 1.5rem;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.project-body p {
  min-height: 56px;
  margin: 0;
  color: #6c6475;
  line-height: 1.6;
}

.project-body p strong {
  color: var(--purple-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 24px;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--purple);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.text-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.text-link:hover svg {
  transform: translateX(5px);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.button-outline-purple {
  border-color: rgb(103 80 181 / 35%);
  color: var(--purple);
  background: transparent;
  cursor: pointer;
}

.button-outline-purple:hover {
  border-color: var(--purple);
  background: var(--purple-soft);
}

.resources {
  background: var(--paper);
}

.resources-heading {
  margin-bottom: 65px;
}

.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.resource-card {
  min-height: 650px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr 0.92fr;
  border-radius: 26px;
}

.resource-card-study {
  color: var(--white);
  background: var(--purple-dark);
}

.resource-card-training {
  color: var(--purple-dark);
  background: var(--white);
  box-shadow: 0 25px 70px rgb(47 27 91 / 9%);
}

.resource-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 295px;
  object-fit: cover;
}

.resource-card-study img {
  grid-row: 2;
  object-position: 50% 30%;
}

.resource-card-training img {
  object-position: 50% 28%;
}

.resource-copy {
  padding: 42px;
}

.resource-card-study .resource-label,
.text-link-light {
  color: #edc15b;
}

.resource-copy h3 {
  margin: 15px 0 18px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.resource-copy p {
  margin: 0;
  color: #706778;
  line-height: 1.65;
}

.resource-card-study .resource-copy p {
  color: #d4cce4;
}

.closing {
  background: var(--white);
}

.closing-card {
  min-height: 550px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border-radius: 34px;
  color: var(--white);
  background: var(--purple);
  box-shadow: 0 35px 90px rgb(47 27 91 / 18%);
}

.closing-copy {
  padding: clamp(50px, 6vw, 90px);
}

.closing-copy h2 {
  margin: 0;
  font-size: clamp(3rem, 4.8vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.closing-copy > p:not(.section-kicker) {
  max-width: 640px;
  margin: 28px 0 0;
  color: #e1dcf0;
  font-size: 1.08rem;
  line-height: 1.65;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 35px;
}

.closing-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.site-footer {
  color: #d6cee7;
  background: #21113e;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr 0.65fr 1fr 1fr;
  gap: 60px;
  padding-top: 85px;
  padding-bottom: 70px;
}

.footer-brand img {
  width: 190px;
  height: auto;
  padding: 10px;
  border-radius: 14px;
  background: var(--white);
}

.footer-brand p,
.footer-platform p {
  max-width: 360px;
  margin: 24px 0 0;
  color: #bdb2d2;
  line-height: 1.65;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column h2 {
  margin: 0 0 11px;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a {
  width: fit-content;
  color: #c9bfdc;
  line-height: 1.5;
  transition: color var(--transition);
}

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

.footer-column address {
  color: #bdb2d2;
  font-style: normal;
  line-height: 1.65;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold) !important;
  font-weight: 780;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 25px;
  padding-bottom: 30px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  color: #978baa;
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.inner-main {
  background: var(--paper);
}

.page-hero {
  position: relative;
  padding: 70px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 16%, rgb(216 166 60 / 8%), transparent 24rem),
    radial-gradient(circle at 94% 88%, rgb(103 80 181 / 9%), transparent 29rem),
    var(--paper);
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -260px;
  right: -180px;
  width: 560px;
  height: 560px;
  border: 1px solid rgb(103 80 181 / 13%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(55px, 8vw, 125px);
  align-items: center;
}

.page-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(3.6rem, 6vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.page-hero-copy .lead {
  max-width: 650px;
  margin: 34px 0 0;
  color: #5d5368;
  font-size: clamp(1.1rem, 1.45vw, 1.32rem);
  line-height: 1.65;
}

.page-hero-visual {
  position: relative;
  min-height: 500px;
  margin: 0;
}

.page-hero-visual::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 2px solid rgb(103 80 181 / 22%);
  border-radius: 0 0 70px 0;
}

.page-hero-visual img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 70px 8px 8px 8px;
  object-fit: cover;
  object-position: var(--page-image-position, 50% 40%);
}

.page-hero-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--purple-dark);
  background: rgb(255 255 255 / 92%);
  font-size: 0.76rem;
  font-weight: 760;
}

.page-summary {
  padding: 68px 0 84px;
  background: var(--white);
}

.page-summary-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(45px, 8vw, 120px);
}

.page-summary h2 {
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.page-summary-content {
  color: #62596c;
  font-size: 1.05rem;
  line-height: 1.75;
}

.page-summary-content > :first-child {
  margin-top: 0;
}

.page-summary-content ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
}

.page-summary-content strong {
  color: var(--purple-dark);
}

.role-section {
  padding: 62px 0 48px;
  background: #fbfaf7;
}

.role-section + .editorial-section {
  padding-top: 64px;
}

.role-intro {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(460px, 1.14fr);
  align-items: start;
  gap: clamp(54px, 8vw, 128px);
}

.role-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 18px;
  color: var(--purple);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.role-eyebrow::after {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
}

.role-heading h2 {
  max-width: 680px;
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(3rem, 4.8vw, 5.3rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.role-copy {
  padding: 7px 0 6px clamp(28px, 4vw, 58px);
  border-left: 1px solid rgb(103 80 181 / 20%);
  color: #5d5566;
  font-size: clamp(1.02rem, 1.22vw, 1.15rem);
  line-height: 1.72;
}

.role-copy p {
  margin: 0;
}

.role-copy p + p {
  margin-top: 20px;
}

.role-copy strong {
  color: var(--purple-dark);
  font-weight: 780;
}

.role-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 50px;
}

.role-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 142px;
  padding: 24px 26px;
  border: 1px solid rgb(103 80 181 / 12%);
  border-radius: 20px;
  background: linear-gradient(145deg, #f5f2fc, #eee9f9);
  box-shadow: 0 14px 34px rgb(47 27 91 / 7%);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.role-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  width: 46px;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: var(--gold);
}

.role-card:hover {
  border-color: rgb(103 80 181 / 24%);
  box-shadow: 0 18px 42px rgb(47 27 91 / 11%);
  transform: translateY(-3px);
}

.role-card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgb(103 80 181 / 14%);
  border-radius: 50%;
  color: var(--purple);
  background: rgb(255 255 255 / 76%);
}

.role-card-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.role-card h3 {
  margin: 0 0 6px;
  color: var(--purple-dark);
  font-size: 1.2rem;
  line-height: 1.1;
}

.role-card p {
  margin: 0;
  color: #665d70;
  font-size: 0.94rem;
  line-height: 1.5;
}

@media (max-width: 1010px) {
  .role-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .role-heading h2 {
    max-width: 780px;
  }

  .role-copy {
    padding: 26px 0 0;
    border-top: 1px solid rgb(103 80 181 / 20%);
    border-left: 0;
  }

  .role-card {
    grid-template-columns: 50px 1fr;
    gap: 14px;
    padding: 22px 20px;
  }

  .role-card-icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 720px) {
  .role-section {
    padding: 52px 0 42px;
  }

  .role-section + .editorial-section {
    padding-top: 52px;
  }

  .role-heading h2 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .role-card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 38px;
  }

  .role-card {
    min-height: 124px;
  }
}

.empty-state {
  padding: 36px;
  border: 1px solid rgb(103 80 181 / 17%);
  border-radius: 20px;
  color: #62596c;
  background: var(--paper);
}

.empty-state strong {
  display: block;
  margin-bottom: 8px;
  color: var(--purple-dark);
  font-size: 1.3rem;
}

.simple-contact {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.simple-contact a {
  width: fit-content;
  color: var(--purple);
  font-weight: 760;
}

.surface-white {
  background: var(--white);
}

.editorial-section,
.portfolio-section,
.library-section,
.modules-section,
.contact-section {
  padding: 96px 0;
}

.section-intro {
  max-width: 900px;
  margin-bottom: 58px;
}

.section-intro h2,
.portfolio-toolbar h2,
.library-toolbar h2,
.contact-intro h2 {
  max-width: 900px;
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.principle-card {
  overflow: hidden;
  display: flex;
  min-height: 0;
  padding: 0;
  flex-direction: column;
  border: 1px solid rgb(103 80 181 / 16%);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgb(47 27 91 / 8%);
}

.principle-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  background: #d9d1e7;
}

.principle-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.principle-media::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 22px;
  background: linear-gradient(180deg, transparent, rgb(47 27 91 / 10%));
  pointer-events: none;
}

.principle-badge {
  position: absolute;
  z-index: 1;
  bottom: 16px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgb(255 255 255 / 76%);
  border-radius: 999px;
  color: var(--purple-dark);
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 8px 24px rgb(27 15 48 / 17%);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.principle-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgb(216 166 60 / 16%);
}

.principle-content {
  flex: 1;
  min-height: 190px;
  padding: 28px 30px 32px;
  border-top: 1px solid rgb(103 80 181 / 10%);
  background: var(--paper);
}

.principle-card > span,
.module-number,
.empty-index {
  display: block;
  margin-bottom: 52px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.principle-card h3 {
  margin: 0 0 12px;
  color: var(--purple-dark);
  font-size: 1.8rem;
  line-height: 1.1;
}

.principle-card p {
  margin: 0;
  color: #62596c;
  font-size: 0.98rem;
  line-height: 1.65;
}

.principle-card-dark {
  color: var(--white);
  background: var(--purple-dark);
  transform: none;
}

.principle-card-dark .principle-content {
  border-top-color: rgb(255 255 255 / 12%);
  background: var(--purple-dark);
}

.principle-card-dark h3,
.principle-card-dark p {
  color: var(--white);
}

.method-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(60px, 8vw, 130px);
}

.method-copy h2 {
  margin: 0 0 28px;
  color: var(--purple-dark);
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.method-copy > p:not(.section-kicker) {
  color: #62596c;
  font-size: 1.08rem;
  line-height: 1.75;
}

.check-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}

.check-list li {
  padding: 17px 0 17px 32px;
  border-top: 1px solid rgb(103 80 181 / 16%);
  background: radial-gradient(circle at 8px 26px, var(--gold) 0 4px, transparent 5px);
  font-weight: 680;
}

.method-visual {
  position: relative;
  margin: 0;
}

.method-visual::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 2px solid rgb(103 80 181 / 24%);
  border-radius: 20px 80px 20px 20px;
}

.method-visual img {
  position: relative;
  display: block;
  width: 100%;
  height: 610px;
  border-radius: 20px 80px 20px 20px;
  object-fit: cover;
  object-position: center 44%;
}

.method-visual figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--purple-dark);
  background: rgb(255 255 255 / 92%);
  font-size: 0.78rem;
  font-weight: 780;
}

.team-heading {
  align-items: end;
}

.team-heading > p {
  max-width: 540px;
  margin: 0;
  color: #62596c;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}

.team-card {
  overflow: hidden;
  border: 1px solid rgb(103 80 181 / 14%);
  border-radius: 18px;
  background: var(--paper);
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  box-shadow: 0 22px 55px rgb(47 27 91 / 12%);
  transform: translateY(-5px);
}

.team-card img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center 20%;
  background: var(--purple-soft);
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.team-card-copy {
  min-height: 154px;
  padding: 24px;
}

.team-card h3 {
  margin: 0 0 10px;
  color: var(--purple-dark);
  font-size: 1.1rem;
  line-height: 1.25;
}

.team-card p {
  margin: 0;
  color: #6c6375;
  font-size: 0.88rem;
  line-height: 1.55;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.portfolio-toolbar,
.library-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.62fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 50px;
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(170px, 0.7fr);
  gap: 15px;
}

.filter-controls label,
.contact-form label:not(.consent):not(.honeypot) {
  display: grid;
  gap: 9px;
  color: var(--purple-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.filter-controls input,
.filter-controls select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #d9d2e3;
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.filter-controls input:focus,
.filter-controls select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--purple);
  outline: 3px solid rgb(103 80 181 / 15%);
}

.results-line {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid rgb(103 80 181 / 18%);
  color: #746a7d;
  font-size: 0.86rem;
}

.results-line span:first-child {
  color: var(--purple-dark);
  font-weight: 820;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgb(103 80 181 / 18%);
}

.portfolio-item {
  position: relative;
  display: block;
  min-height: 330px;
  padding: 32px;
  border-right: 1px solid rgb(103 80 181 / 18%);
  border-bottom: 1px solid rgb(103 80 181 / 18%);
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.portfolio-item:nth-child(3n) {
  border-right: 0;
}

.portfolio-item:hover {
  background: var(--purple-soft);
  transform: translateY(-3px);
}

.portfolio-meta,
.library-card-top,
.library-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #786e81;
  font-size: 0.75rem;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portfolio-org {
  margin: 48px 0 12px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-item h3 {
  margin: 0;
  color: inherit;
  font-size: 1.3rem;
  line-height: 1.3;
}

.portfolio-link {
  position: absolute;
  right: 32px;
  bottom: 28px;
  left: 32px;
  display: flex;
  justify-content: space-between;
  color: var(--purple);
  font-size: 0.85rem;
  font-weight: 760;
}

.project-detail-loading,
.project-detail-missing {
  min-height: 64vh;
  padding-block: 140px;
}

.project-story-hero {
  overflow: hidden;
  padding: 90px 0 110px;
  background:
    radial-gradient(circle at 82% 16%, rgb(242 186 54 / 18%), transparent 22rem),
    linear-gradient(145deg, var(--purple-dark), #3d246b 58%, #27163f);
  color: #fff;
}

.project-story-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: clamp(50px, 8vw, 120px);
}

.project-back-link {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 50px;
  color: rgb(255 255 255 / 72%);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.project-back-link:hover,
.project-source-note a:hover,
.project-download:hover {
  color: var(--gold);
}

.project-story-country {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: rgb(255 255 255 / 72%);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-story-country img {
  width: 36px;
  height: 24px;
  border: 1px solid rgb(255 255 255 / 28%);
  object-fit: contain;
}

.project-story-country span + span::before {
  content: "•";
  margin-right: 12px;
  color: var(--gold);
}

.project-story-heading .section-kicker {
  color: var(--gold);
}

.project-story-heading h1 {
  max-width: 880px;
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(2.7rem, 5.4vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.project-story-card {
  padding: 34px;
  border: 1px solid rgb(255 255 255 / 18%);
  background: rgb(255 255 255 / 8%);
  box-shadow: 0 30px 90px rgb(18 5 34 / 30%);
  backdrop-filter: blur(14px);
}

.project-story-card-label {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-story-card > strong {
  display: block;
  margin-bottom: 28px;
  font-size: 1.75rem;
}

.project-story-card dl {
  margin: 0 0 30px;
  border-top: 1px solid rgb(255 255 255 / 16%);
}

.project-story-card dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.project-story-card dt {
  color: rgb(255 255 255 / 56%);
  font-size: 0.78rem;
}

.project-story-card dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 750;
}

.project-story-card .button {
  width: 100%;
}

.project-download {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 750;
  text-decoration: none;
}

.project-story-body {
  padding: 92px 0;
}

.project-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.45fr);
  align-items: start;
  gap: clamp(60px, 10vw, 150px);
}

.project-story-layout article h2 {
  max-width: 940px;
  margin: 16px 0 38px;
  color: var(--purple-dark);
  font-size: clamp(2rem, 3.4vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.project-story-prose {
  max-width: 790px;
  color: #51495a;
  font-size: clamp(1.08rem, 1.4vw, 1.24rem);
  line-height: 1.82;
}

.project-story-prose p {
  margin: 0 0 1.4em;
}

.project-source-note {
  position: sticky;
  top: 120px;
  padding: 30px;
  border-top: 4px solid var(--gold);
  background: var(--purple-soft);
}

.project-source-note > span {
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-source-note p {
  color: #61576a;
  line-height: 1.6;
}

.project-source-note a {
  color: var(--purple-dark);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.project-story-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-block: 70px;
}

.project-story-nav a {
  display: flex;
  min-height: 120px;
  padding: 28px 34px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgb(103 80 181 / 18%);
  color: var(--purple-dark);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.project-story-nav a + a {
  border-left: 0;
  text-align: right;
}

.project-story-nav a:hover {
  background: var(--purple-dark);
  color: #fff;
}

.project-story-nav span {
  color: #81778a;
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-story-nav strong {
  font-size: 1.2rem;
}

.filter-empty {
  grid-column: 1 / -1;
  padding: 50px 0;
  color: #6c6375;
}

.grant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grant-card {
  min-height: 340px;
  padding: 36px;
  border: 1px solid rgb(103 80 181 / 18%);
  border-radius: 18px;
  background: var(--white);
}

.grant-card > span {
  display: block;
  min-height: 45px;
  color: var(--purple);
  font-weight: 800;
}

.grant-card strong {
  display: block;
  margin: 72px 0 20px;
  color: var(--purple-dark);
  font-size: clamp(2rem, 3vw, 3.2rem);
  letter-spacing: -0.05em;
}

.grant-card p {
  margin: 0;
  color: #665e70;
  line-height: 1.65;
}

.grant-card-featured {
  color: var(--white);
  background: var(--purple-dark);
}

.grant-card-featured > span,
.grant-card-featured strong,
.grant-card-featured p {
  color: var(--white);
}

.archive-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 26px;
  padding: 34px 36px;
  border-radius: 18px;
  color: var(--white);
  background: var(--purple);
}

.archive-notice h3 {
  margin: 10px 0 5px;
  font-size: 1.5rem;
}

.archive-notice p {
  margin: 0;
  color: rgb(255 255 255 / 80%);
}

.archive-notice .button {
  flex: 0 0 auto;
  color: var(--purple-dark);
  background: var(--white);
}

.status-pill {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--purple-dark);
  background: var(--gold);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.library-card {
  display: flex;
  min-height: 330px;
  padding: 30px;
  border: 1px solid rgb(103 80 181 / 16%);
  border-radius: 18px;
  flex-direction: column;
  background: var(--paper);
}

.library-card h3 {
  margin: 50px 0 16px;
  color: var(--purple-dark);
  font-size: 1.35rem;
  line-height: 1.25;
}

.library-card > p {
  margin: 0;
  color: #706777;
  line-height: 1.6;
}

.library-card-bottom {
  align-items: center;
  margin-top: auto;
  padding-top: 24px;
}

.migration-status {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--purple-dark);
  background: var(--purple-soft);
  font-size: 0.62rem;
}

.document-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.document-actions a {
  color: var(--purple);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgb(103 80 181 / 30%);
  text-underline-offset: 4px;
}

.document-actions a:hover {
  text-decoration-color: currentColor;
}

.migration-note {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 40px;
  margin-top: 35px;
  padding: 28px 32px;
  border-left: 4px solid var(--gold);
  color: #6c6375;
  background: var(--paper);
}

.migration-note strong {
  color: var(--purple-dark);
}

.migration-note p {
  margin: 0;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgb(103 80 181 / 18%);
  border-radius: 20px;
  background: rgb(103 80 181 / 18%);
}

.module-card {
  display: grid;
  min-height: 270px;
  padding: 34px;
  grid-template-columns: 70px 1fr;
  background: var(--white);
  transition: background var(--transition);
}

.module-card:hover {
  background: var(--purple-soft);
}

.module-number {
  margin: 2px 0 0;
}

.module-card h3 {
  margin: 0 0 18px;
  color: var(--purple-dark);
  font-size: 1.55rem;
  line-height: 1.15;
}

.module-card p {
  margin: 0 0 30px;
  color: #6c6375;
  line-height: 1.65;
}

.module-format {
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 800;
}

.language-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.language-strip span {
  padding: 9px 14px;
  border: 1px solid rgb(103 80 181 / 20%);
  border-radius: 999px;
  color: var(--purple-dark);
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 760;
}

.empty-state-premium {
  position: relative;
  overflow: hidden;
  padding: 56px;
  border: 0;
  color: rgb(255 255 255 / 76%);
  background: var(--purple-dark);
}

.empty-state-premium::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  bottom: -90px;
  border: 34px solid rgb(216 166 60 / 35%);
  border-radius: 50%;
}

.empty-state-premium .empty-index {
  margin-bottom: 42px;
}

.empty-state-premium strong {
  max-width: 650px;
  color: var(--white);
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.empty-state-premium p {
  max-width: 620px;
  line-height: 1.7;
}

.empty-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 35px;
}

.empty-actions .button {
  color: var(--purple-dark);
  background: var(--gold);
}

.text-link {
  color: var(--purple);
  font-weight: 780;
}

.empty-actions .text-link {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(65px, 9vw, 150px);
}

.contact-quickbar {
  color: #fff;
  background: var(--purple-dark);
}

.contact-quickbar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.contact-quickbar-grid > * {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 168px;
  padding: 32px 34px;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgb(255 255 255 / 14%);
  transition: background var(--transition);
}

.contact-quickbar-grid > :first-child {
  border-left: 1px solid rgb(255 255 255 / 14%);
}

.contact-quickbar-grid > a:hover {
  background: rgb(255 255 255 / 8%);
}

.contact-quickbar-grid span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-quickbar-grid strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.contact-quickbar-grid small {
  color: rgb(255 255 255 / 56%);
  font-size: 0.78rem;
}

.contact-intro > p:not(.section-kicker) {
  color: #6c6375;
  line-height: 1.75;
}

.contact-process {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid rgb(103 80 181 / 18%);
}

.contact-process > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgb(103 80 181 / 18%);
}

.contact-process span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
}

.contact-process p {
  display: grid;
  gap: 3px;
  margin: 0;
  color: #776e80;
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact-process strong {
  color: var(--purple-dark);
  font-size: 0.95rem;
}

.contact-detail {
  display: grid;
  gap: 8px;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid rgb(103 80 181 / 18%);
}

.contact-detail span {
  color: #756c7d;
  font-size: 0.8rem;
}

.contact-detail strong {
  color: var(--purple-dark);
}

.contact-form {
  display: grid;
  gap: 22px;
  padding: 44px;
  border: 1px solid rgb(103 80 181 / 16%);
  border-radius: 20px;
  background: var(--paper);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.optional {
  color: #8d8594;
  font-weight: 600;
  text-transform: none;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #665e70;
  font-size: 0.9rem;
  line-height: 1.5;
}

.consent input {
  width: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  accent-color: var(--purple);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.contact-form .button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--purple-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.module-hero {
  padding: 42px 0 78px;
  background: var(--paper);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 48px;
  color: var(--purple);
  font-size: 0.88rem;
  font-weight: 780;
}

.module-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 90px;
}

.module-hero h1 {
  max-width: 960px;
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(3.6rem, 7vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.module-hero .lead {
  max-width: 720px;
  margin: 32px 0 0;
  color: #665e70;
  font-size: 1.1rem;
  line-height: 1.7;
}

.module-stat {
  display: grid;
  gap: 12px;
  padding: 28px 0;
  border-top: 1px solid rgb(103 80 181 / 25%);
  border-bottom: 1px solid rgb(103 80 181 / 25%);
}

.module-stat span {
  color: var(--purple-dark);
  font-size: 1.45rem;
  font-weight: 820;
}

.module-stat small {
  color: #776e80;
}

.module-files-section {
  padding: 78px 0 92px;
}

.archive-hero {
  padding: 60px 0 76px;
  background: var(--paper);
}

.archive-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.archive-hero .back-link {
  margin-bottom: 42px;
  text-decoration: none;
}

.archive-hero h1 {
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(3.4rem, 6.4vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.archive-hero .lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: #62596c;
  font-size: 1.12rem;
  line-height: 1.7;
}

.archive-warning {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgb(103 80 181 / 18%);
}

.archive-warning p {
  margin: 0;
  color: #6d6475;
  font-size: 0.88rem;
}

.archive-hero-visual {
  overflow: hidden;
  margin: 0;
  border-radius: 28px 8px 28px 8px;
  background: var(--purple-dark);
  box-shadow: 0 28px 80px rgb(50 30 80 / 18%);
}

.archive-hero-visual img {
  display: block;
  width: 100%;
  min-height: 210px;
  object-fit: cover;
}

.archive-hero-visual figcaption {
  display: grid;
  gap: 5px;
  padding: 28px 30px;
  color: #fff;
}

.archive-hero-visual figcaption strong {
  font-size: 1.4rem;
}

.archive-hero-visual figcaption span {
  color: rgb(255 255 255 / 64%);
  font-size: 0.82rem;
}

.archive-section {
  padding: 88px 0;
}

.compact-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.4fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 42px;
}

.compact-heading h2 {
  max-width: 860px;
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(2.5rem, 4.8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.compact-heading > p {
  margin: 0;
  color: #6c6375;
  line-height: 1.65;
}

.archive-grant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.archive-grant-card {
  display: flex;
  min-height: 460px;
  padding: 32px;
  border: 1px solid rgb(103 80 181 / 18%);
  border-radius: 18px;
  flex-direction: column;
  color: #665d6f;
  background: var(--paper);
}

.archive-card-index {
  margin-bottom: 42px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.archive-grant-card h3 {
  margin: 8px 0 25px;
  color: var(--purple-dark);
  font-size: 1.55rem;
  line-height: 1.2;
}

.archive-grant-card dl {
  display: grid;
  margin: 0 0 22px;
}

.archive-grant-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-top: 1px solid rgb(103 80 181 / 16%);
}

.archive-grant-card dt {
  color: #887f90;
  font-size: 0.78rem;
}

.archive-grant-card dd {
  margin: 0;
  color: var(--purple-dark);
  font-weight: 820;
}

.archive-grant-card > p:not(.section-kicker) {
  margin: 0 0 24px;
  line-height: 1.6;
}

.archive-grant-card > a {
  margin-top: auto;
  color: var(--purple);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.archive-grant-card-featured {
  color: rgb(255 255 255 / 74%);
  background: var(--purple-dark);
  transform: translateY(-12px);
}

.archive-grant-card-featured h3,
.archive-grant-card-featured dd,
.archive-grant-card-featured > a {
  color: #fff;
}

.archive-grant-card-featured dl div {
  border-color: rgb(255 255 255 / 16%);
}

.archive-grant-card-featured dt {
  color: rgb(255 255 255 / 54%);
}

.archive-country-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgb(103 80 181 / 18%);
}

.archive-country-row strong {
  margin-right: 12px;
  color: var(--purple-dark);
  font-size: 0.86rem;
}

.archive-country-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--purple-dark);
  background: var(--purple-soft);
  font-size: 0.75rem;
  font-weight: 760;
}

.archive-country-row img {
  width: 23px;
  height: 15px;
  object-fit: contain;
}

.archive-experts-section {
  background: var(--paper);
}

.archive-file-list {
  border-top: 1px solid rgb(103 80 181 / 18%);
}

.archive-file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
  padding: 25px 0;
  border-bottom: 1px solid rgb(103 80 181 / 18%);
}

.archive-file-row span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-file-row h3 {
  max-width: 900px;
  margin: 8px 0 0;
  color: var(--purple-dark);
  font-size: 1.15rem;
  line-height: 1.35;
}

.files-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 35px;
}

.files-heading p:last-child {
  max-width: 600px;
  margin: 0;
  color: #6c6375;
  line-height: 1.65;
}

.module-files {
  border-top: 1px solid rgb(103 80 181 / 20%);
}

.file-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid rgb(103 80 181 / 20%);
}

.file-index,
.file-type {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.file-row h2 {
  margin: 7px 0 0;
  color: var(--purple-dark);
  font-size: 1.05rem;
  line-height: 1.35;
  text-transform: none;
}

.file-actions {
  display: flex;
  gap: 10px;
}

.file-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgb(103 80 181 / 25%);
  border-radius: 10px;
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 780;
  transition: color var(--transition), background var(--transition);
}

.file-actions a:hover {
  color: var(--white);
  background: var(--purple);
}

.module-empty {
  padding: 50px;
  border-radius: 18px;
  color: #6c6375;
  background: var(--paper);
}

.module-empty strong {
  color: var(--purple-dark);
  font-size: 1.35rem;
}

.module-open {
  display: flex;
  justify-content: space-between;
  margin-top: 26px;
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 820;
}

.report-hero {
  padding: 105px 0;
  color: var(--white);
  background: var(--purple-dark);
}

.report-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 110px;
}

.report-hero .section-kicker {
  color: var(--gold);
}

.report-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3.8rem, 7vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.report-hero .lead {
  max-width: 720px;
  margin: 32px 0 0;
  color: rgb(255 255 255 / 74%);
}

.report-note {
  padding: 28px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 16px;
  background: rgb(255 255 255 / 6%);
}

.report-note strong {
  color: var(--gold);
}

.report-note p {
  margin: 12px 0 0;
  color: rgb(255 255 255 / 76%);
  line-height: 1.65;
}

.report-section {
  padding: 110px 0 125px;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.report-grid span {
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  border: 1px solid rgb(103 80 181 / 16%);
  border-radius: 14px;
  color: var(--purple-dark);
  background: var(--paper);
  font-weight: 780;
}

.report-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-top: 28px;
  padding: 38px;
  border-radius: 18px;
  color: var(--white);
  background: var(--purple);
}

.report-action h2 {
  margin: 0 0 8px;
}

.report-action p {
  margin: 0;
  color: rgb(255 255 255 / 78%);
}

.report-action .button {
  flex: 0 0 auto;
  color: var(--purple-dark);
  background: var(--white);
}

.error-section {
  padding: 90px 0 115px;
  background: var(--paper);
}

.error-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 90px;
}

.error-code {
  display: block;
  margin-bottom: 48px;
  color: var(--gold);
  font-size: clamp(5rem, 10vw, 11rem);
  font-weight: 850;
  line-height: 0.7;
  letter-spacing: -0.08em;
}

.error-section h1 {
  max-width: 780px;
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.error-section p:not(.section-kicker) {
  max-width: 650px;
  color: #6c6375;
  line-height: 1.7;
}

.error-section img {
  display: block;
  width: 100%;
  height: 610px;
  border-radius: 80px 18px 18px 18px;
  object-fit: cover;
  object-position: 68% center;
}

.inner-footer {
  padding: 72px 0 26px;
  color: #a89dbb;
  background: var(--purple-dark);
}

.inner-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.7fr;
  gap: 80px;
  padding-bottom: 65px;
}

.inner-footer p {
  margin: 0;
  line-height: 1.65;
}

.inner-footer-brand img {
  display: block;
  width: 165px;
  height: auto;
  margin-bottom: 25px;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.inner-footer-brand p {
  max-width: 490px;
}

.inner-footer nav,
.inner-footer-contact {
  display: grid;
  align-content: start;
  gap: 13px;
}

.inner-footer strong {
  margin-bottom: 8px;
  color: var(--white);
}

.inner-footer a {
  transition: color var(--transition);
}

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

.inner-footer-contact > a {
  margin-top: 8px;
  color: var(--gold);
  font-weight: 780;
}

.inner-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: 0.84rem;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 750ms ease, transform 750ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.preview-toast {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  max-width: 360px;
  padding: 15px 20px;
  border-radius: 14px;
  color: var(--white);
  background: var(--purple-dark);
  box-shadow: var(--shadow-card);
}

@media (max-width: 1260px) {
  :root {
    --shell: min(1120px, calc(100vw - 48px));
  }

  .desktop-nav {
    gap: 0;
  }

  .desktop-nav a {
    padding-inline: 9px;
    font-size: 0.82rem;
  }

  .header-cta {
    padding-inline: 18px;
  }

  .impact-card {
    min-height: 96px;
    gap: 14px;
    padding: 17px 19px;
  }

  .footer-top {
    gap: 38px;
  }
}

@media (max-width: 1450px) and (min-width: 1011px) {
  .header-inner {
    gap: 14px;
    padding-inline: 16px;
  }

  .desktop-nav {
    gap: 0;
  }

  .desktop-nav a {
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .header-cta {
    padding-inline: 17px;
    font-size: 0.88rem;
  }
}

@media (max-width: 1010px) {
  :root {
    --header-height: 80px;
    --shell: calc(100vw - 40px);
  }

  .site-header {
    height: var(--header-height);
    padding: 8px 12px;
  }

  .header-inner {
    width: calc(100vw - 24px);
    padding-inline: 14px;
    border-radius: 20px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .brand {
    height: 52px;
  }

  .brand img {
    width: 150px;
    max-height: 56px;
  }

  .slides {
    height: 700px;
    min-height: 700px;
  }

  .hero-center {
    height: 700px;
    min-height: 700px;
  }

  .slide-content {
    padding-right: 90px;
    padding-bottom: 130px;
  }

  .slide h1,
  .slide h2 {
    font-size: clamp(3rem, 7vw, 4.6rem);
  }

  .impact-cards {
    gap: 14px;
  }

  .impact-card {
    min-height: 96px;
    display: flex;
    gap: 15px;
    padding: 17px;
  }

  .impact-icon {
    width: 52px;
    height: 52px;
  }

  .impact-icon svg {
    width: 26px;
    height: 26px;
  }

  .preview-next-inner {
    grid-template-columns: 1fr 2fr;
  }

  .preview-next-inner > p:last-child {
    grid-column: 2;
  }

  .section-pad {
    padding: 105px 0;
  }

  .mission-grid,
  .region-grid {
    gap: 60px;
  }

  .mission-visual {
    min-height: 580px;
  }

  .mission-note {
    right: -15px;
  }

  .priority-body {
    min-height: 285px;
    padding: 28px;
  }

  .funding-card {
    padding: 28px;
  }

  .footer-top {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }

  .footer-platform {
    grid-column: 3;
  }

  .page-hero-visual {
    min-height: 500px;
  }

  .editorial-section,
  .portfolio-section,
  .library-section,
  .modules-section,
  .contact-section {
    padding: 96px 0;
  }

  .principle-grid,
  .grant-grid {
    grid-template-columns: 1fr 1fr;
  }

  .principle-card-dark {
    transform: none;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-card img {
    height: 300px;
  }

  .portfolio-toolbar,
  .library-toolbar {
    grid-template-columns: 1fr;
    gap: 35px;
  }

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

  .portfolio-item:nth-child(3n) {
    border-right: 1px solid rgb(103 80 181 / 18%);
  }

  .portfolio-item:nth-child(2n) {
    border-right: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .module-hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .inner-footer-grid {
    grid-template-columns: 1.15fr 0.7fr 0.85fr;
    gap: 42px;
  }

  .report-hero-grid,
  .error-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

  .archive-hero-grid {
    grid-template-columns: 1fr;
  }

  .archive-hero-visual {
    max-width: 760px;
  }

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

  .archive-grant-card-featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100vw - 32px);
  }

  .contact-quickbar-grid {
    grid-template-columns: 1fr;
  }

  .contact-quickbar-grid > * {
    min-height: 136px;
    padding: 26px 24px;
    border-right: 1px solid rgb(255 255 255 / 14%);
    border-bottom: 1px solid rgb(255 255 255 / 14%);
    border-left: 1px solid rgb(255 255 255 / 14%);
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }

  .hero {
    padding-bottom: 0;
  }

  .slides {
    height: 700px;
    min-height: 700px;
  }

  .slide::after {
    background: linear-gradient(0deg, rgb(25 18 38 / 72%) 0%, rgb(25 18 38 / 12%) 72%);
  }

  .hero-center {
    padding: 40px 24px 96px;
    justify-content: flex-end;
    transform: none;
  }

  .hero-center h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .slide-image {
    object-position: 62% center;
  }

  .slide-content {
    align-self: end;
    padding-right: 36px;
    padding-bottom: 78px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.67rem;
  }

  .eyebrow::after {
    width: 38px;
  }

  .slide h1,
  .slide h2 {
    font-size: clamp(2.55rem, 12vw, 3.8rem);
  }

  .hero-copy {
    margin-top: 22px;
    font-size: 1rem;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 24px;
  }

  .button {
    min-height: 52px;
    padding-inline: 20px;
    border-radius: 14px;
    font-size: 0.9rem;
  }

  .button-secondary {
    display: none;
  }

  .carousel-controls {
    top: auto;
    right: 18px;
    bottom: 80px;
    gap: 15px;
    transform: none;
  }

  .slide-count {
    display: none;
  }

  .slide-dots {
    gap: 12px;
  }

  .impact-cards {
    position: relative;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .impact-card {
    min-height: 118px;
    grid-template-columns: auto 1fr;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .impact-card strong {
    font-size: 1.15rem;
  }

  .home-metrics-grid {
    grid-template-columns: 1fr;
  }

  .home-metrics-grid > div,
  .home-metrics-grid > div:first-child,
  .home-metrics-grid > div:last-child {
    min-height: 88px;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 16%);
  }

  .home-metrics-grid > div:last-child {
    border-bottom: 0;
  }

  .preview-next {
    padding: 88px 0;
  }

  .preview-next-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .preview-next-inner > p:last-child {
    grid-column: auto;
  }

  .section-pad {
    padding: 82px 0;
  }

  .section-heading,
  .funding-heading,
  .mission-grid,
  .region-grid,
  .resource-grid,
  .closing-card {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .funding-heading {
    gap: 25px;
    margin-bottom: 45px;
  }

  .funding-heading .section-kicker {
    grid-column: auto;
    margin-bottom: 0;
  }

  .mission-visual {
    min-height: 480px;
  }

  .mission-note {
    right: 15px;
    bottom: 20px;
  }

  .priority-grid,
  .funding-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .priority-card-raised {
    margin-top: 0;
  }

  .priority-card img,
  .project-card img {
    height: 280px;
  }

  .region-image img {
    height: 420px;
  }

  .priority-body {
    min-height: auto;
  }

  .funding-card {
    min-height: auto;
  }

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

  .region-image::before {
    inset: 20px -12px -12px 20px;
  }

  .resource-card {
    min-height: 580px;
  }

  .closing-card > img {
    max-height: 430px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-platform {
    grid-column: 1 / -1;
  }

  .page-hero-grid,
  .page-summary-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-visual {
    min-height: 470px;
  }

  .principle-grid,
  .grant-grid,
  .portfolio-grid,
  .library-grid,
  .modules-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: 320px;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-visual img {
    height: 470px;
  }

  .method-visual::before {
    inset: 16px -10px -10px 16px;
  }

  .team-card img {
    height: min(118vw, 480px);
  }

  .filter-controls,
  .form-row,
  .migration-note {
    grid-template-columns: 1fr;
  }

  .portfolio-item {
    border-right: 0 !important;
  }

  .module-card {
    min-height: auto;
    grid-template-columns: 52px 1fr;
    padding: 28px 22px;
  }

  .module-card p {
    margin-bottom: 28px;
  }

  .archive-notice,
  .empty-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .archive-notice .button,
  .empty-actions .button {
    width: 100%;
  }

  .empty-state-premium,
  .contact-form {
    padding: 34px 26px;
  }

  .module-hero {
    padding: 40px 0 75px;
  }

  .back-link {
    margin-bottom: 52px;
  }

  .files-heading,
  .file-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .file-row {
    grid-template-columns: 42px 1fr;
  }

  .file-actions {
    grid-column: 2;
    display: flex;
    width: 100%;
  }

  .file-actions a {
    width: 100%;
  }

  .inner-footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .inner-footer-bottom {
    flex-direction: column;
  }

  .report-hero,
  .report-section {
    padding: 78px 0;
  }

  .report-grid {
    grid-template-columns: 1fr;
  }

  .report-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-action .button {
    width: 100%;
  }

  .error-section img {
    height: 420px;
  }

  .archive-hero,
  .archive-section {
    padding: 68px 0;
  }

  .compact-heading,
  .archive-grant-grid,
  .archive-file-row {
    grid-template-columns: 1fr;
  }

  .compact-heading {
    gap: 22px;
  }

  .archive-grant-card {
    min-height: 410px;
  }

  .archive-file-row {
    gap: 22px;
  }

  .archive-file-row .file-actions {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .mission-visual {
    min-height: 400px;
  }

  .mission-note {
    right: 0;
    left: 18px;
    max-width: none;
  }

  .funding-action,
  .closing-actions {
    align-items: stretch;
  }

  .funding-action .button,
  .closing-actions .button {
    width: 100%;
  }

  .resource-copy,
  .closing-copy {
    padding: 32px 26px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-brand,
  .footer-platform {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .project-story-hero {
    padding: 68px 0 78px;
  }

  .project-story-hero-grid,
  .project-story-layout {
    grid-template-columns: 1fr;
  }

  .project-back-link {
    margin-bottom: 48px;
  }

  .project-story-card {
    max-width: 600px;
  }

  .project-story-body {
    padding: 82px 0;
  }

  .project-source-note {
    position: static;
  }
}

@media (max-width: 600px) {
  .project-story-country {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .project-story-card {
    padding: 28px 24px;
  }

  .project-story-nav {
    grid-template-columns: 1fr;
    padding-block: 48px;
  }

  .project-story-nav a + a {
    border-top: 0;
    border-left: 1px solid rgb(103 80 181 / 18%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-marquee-track {
    animation: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================================
   PROJECTS — REGIONAL PORTFOLIO & ORGANISATION PROFILES
   ================================================================ */

.project-portfolio-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 8vw, 128px) 0;
  background:
    radial-gradient(circle at 8% 8%, rgb(216 166 60 / 20%), transparent 25rem),
    radial-gradient(circle at 91% 12%, rgb(103 80 181 / 18%), transparent 30rem),
    linear-gradient(135deg, #fbf8f2 0%, #f3eef8 100%);
}

.project-portfolio-hero::after {
  position: absolute;
  right: -8vw;
  bottom: -18vw;
  width: 44vw;
  height: 44vw;
  border: 1px solid rgb(103 80 181 / 13%);
  border-radius: 50%;
  content: "";
}

.project-portfolio-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(350px, 0.66fr);
  align-items: center;
  gap: clamp(60px, 9vw, 150px);
}

.project-portfolio-copy h1 {
  max-width: 980px;
  margin: 15px 0 30px;
  color: var(--purple-dark);
  font-size: clamp(3.6rem, 6.2vw, 7.2rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
}

.project-portfolio-copy .lead {
  max-width: 760px;
  margin: 0;
  color: #5d5368;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.7;
}

.project-portfolio-stats {
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(3, 1fr);
  margin: 48px 0 0;
  border-top: 1px solid rgb(47 27 91 / 16%);
}

.project-portfolio-stats div {
  padding: 21px 24px 0 0;
}

.project-portfolio-stats div + div {
  padding-left: 24px;
  border-left: 1px solid rgb(47 27 91 / 16%);
}

.project-portfolio-stats dt {
  color: var(--purple-dark);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 850;
  line-height: 1;
}

.project-portfolio-stats dd {
  margin: 7px 0 0;
  color: #6d6376;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-country-panel {
  padding: clamp(30px, 3vw, 46px);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgb(216 166 60 / 24%), transparent 18rem),
    var(--purple-dark);
  box-shadow: 0 32px 90px rgb(47 27 91 / 22%);
}

.project-country-panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgb(255 255 255 / 15%);
}

.project-country-panel-heading p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 820;
}

.project-country-panel-heading span {
  max-width: 140px;
  color: rgb(255 255 255 / 58%);
  font-size: 0.7rem;
  line-height: 1.45;
  text-align: right;
  text-transform: uppercase;
}

.project-country-list {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.project-country-list > div {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 15px;
  padding-bottom: 12px;
}

.project-country-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 720;
}

.project-country-list img {
  width: 30px;
  height: 20px;
  border-radius: 2px;
  object-fit: cover;
}

.project-country-list strong {
  color: var(--gold);
  font-size: 1.1rem;
}

.project-country-list i {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  overflow: hidden;
  background: rgb(255 255 255 / 12%);
}

.project-country-list i::after {
  display: block;
  width: var(--country-share);
  height: 100%;
  background: var(--gold);
  content: "";
}

.project-country-note {
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 15%);
  color: rgb(255 255 255 / 65%);
  font-size: 0.82rem;
  line-height: 1.6;
}

.project-organizations-section {
  padding: clamp(88px, 9vw, 140px) 0;
}

.project-organizations-section .portfolio-toolbar {
  align-items: end;
  margin-bottom: 42px;
}

.project-organizations-section .portfolio-toolbar h2 {
  max-width: 800px;
  margin: 12px 0 14px;
  font-size: clamp(2.7rem, 4.8vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.project-portfolio-intro {
  max-width: 670px;
  margin: 0;
  color: #6b6174;
  line-height: 1.65;
}

.project-organizations-section .results-line {
  margin-bottom: 30px;
  border-bottom: 1px solid rgb(103 80 181 / 12%);
}

.project-organizations-section .portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  border: 0;
}

.project-organization-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgb(103 80 181 / 14%);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 45px rgb(47 27 91 / 7%);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.project-organization-card:hover {
  border-color: rgb(103 80 181 / 32%);
  box-shadow: 0 24px 65px rgb(47 27 91 / 13%);
  transform: translateY(-6px);
}

.project-logo-stage {
  position: relative;
  display: grid;
  min-height: 245px;
  padding: 42px 54px;
  place-items: center;
  background:
    radial-gradient(circle at 50% 55%, #fff 0, #fff 23%, transparent 24%),
    linear-gradient(145deg, #f8f5fb, #eee9f7);
}

.project-logo-stage > img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgb(47 27 91 / 9%));
  transition: transform var(--transition);
}

.project-organization-card:hover .project-logo-stage > img {
  transform: scale(1.035);
}

.project-country-chip {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgb(103 80 181 / 13%);
  border-radius: 999px;
  color: var(--purple-dark);
  background: rgb(255 255 255 / 92%);
  font-size: 0.68rem;
  font-weight: 820;
  box-shadow: 0 8px 24px rgb(47 27 91 / 7%);
}

.project-country-chip img {
  width: 25px;
  height: 17px;
  border-radius: 2px;
  object-fit: cover;
}

.project-organization-body {
  display: flex;
  min-height: 320px;
  padding: 29px 30px 27px;
  flex: 1;
  flex-direction: column;
}

.project-organization-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #857a8e;
  font-size: 0.67rem;
  font-weight: 820;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-organization-meta span:last-child {
  max-width: 50%;
  color: var(--gold);
  text-align: right;
}

.project-organization-body h3 {
  margin: 28px 0 11px;
  color: var(--purple-dark);
  font-size: clamp(1.45rem, 1.8vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.project-organization-body > p {
  margin: 0 0 25px;
  color: #675d70;
  line-height: 1.55;
}

.project-organization-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 21px;
  border-top: 1px solid rgb(103 80 181 / 13%);
  color: var(--purple-dark);
  font-size: 0.82rem;
  font-weight: 820;
}

.project-organization-link span {
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform var(--transition);
}

.project-organization-link:hover span {
  transform: translateX(5px);
}

.project-practice-bridge {
  overflow: hidden;
  padding: clamp(90px, 10vw, 150px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 12% 0%, rgb(216 166 60 / 19%), transparent 26rem),
    linear-gradient(135deg, #241344, var(--purple-dark) 62%, #3c2867);
}

.project-practice-bridge-grid {
  display: grid;
  grid-template-columns: minmax(430px, 0.9fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(70px, 10vw, 160px);
}

.project-practice-covers {
  position: relative;
  min-height: 560px;
}

.project-practice-covers img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(41%, 255px);
  aspect-ratio: 0.707;
  border: 8px solid #fff;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 28px 75px rgb(12 3 26 / 38%);
}

.project-practice-covers img:nth-child(1) { transform: translate(-125%, -50%) rotate(-8deg); }
.project-practice-covers img:nth-child(2) { z-index: 2; transform: translate(-50%, -54%) rotate(1deg); }
.project-practice-covers img:nth-child(3) { transform: translate(28%, -47%) rotate(8deg); }

.project-practice-bridge-copy .section-kicker,
.project-linked-copy .section-kicker {
  color: var(--gold);
}

.project-practice-bridge-copy h2 {
  max-width: 720px;
  margin: 16px 0 25px;
  color: #fff;
  font-size: clamp(3rem, 5vw, 5.7rem);
  line-height: 0.97;
  letter-spacing: -0.055em;
}

.project-practice-bridge-copy p:not(.section-kicker) {
  max-width: 640px;
  margin: 0 0 34px;
  color: rgb(255 255 255 / 70%);
  font-size: 1.08rem;
  line-height: 1.7;
}

.project-practice-bridge-copy .button {
  color: var(--purple-dark);
  background: var(--gold);
}

/* Organisation and practice detail — one dataset, two deliberate contexts */
.project-profile-hero {
  overflow: hidden;
  padding: 74px 0 clamp(90px, 9vw, 140px);
  color: #fff;
  background:
    radial-gradient(circle at 86% 10%, rgb(216 166 60 / 22%), transparent 28rem),
    linear-gradient(140deg, #241443 0%, var(--purple-dark) 58%, #41276d 100%);
}

.project-profile-hero.is-practice-mode {
  background:
    radial-gradient(circle at 84% 8%, rgb(216 166 60 / 18%), transparent 25rem),
    linear-gradient(140deg, #321b60, #24123f);
}

.project-profile-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.52fr);
  align-items: center;
  gap: clamp(70px, 10vw, 160px);
}

.project-profile-hero .project-back-link {
  margin-bottom: 55px;
}

.project-profile-mode {
  display: inline-flex;
  margin: 0 0 30px;
  padding: 8px 12px;
  border: 1px solid rgb(255 255 255 / 17%);
  border-radius: 999px;
  color: var(--gold);
  background: rgb(255 255 255 / 7%);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-profile-heading .project-story-country {
  margin-bottom: 25px;
}

.project-profile-heading .section-kicker {
  color: var(--gold);
}

.project-profile-heading h1 {
  max-width: 980px;
  margin: 16px 0 0;
  color: #fff;
  font-size: clamp(3.5rem, 6vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.062em;
}

.project-identity-card {
  padding: 20px 27px 28px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 24px;
  color: var(--purple-dark);
  background: #fff;
  box-shadow: 0 35px 95px rgb(14 5 29 / 35%);
}

.project-identity-logo {
  display: grid;
  height: 190px;
  margin-bottom: 24px;
  padding: 23px 34px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #f7f4fa, #efebf7);
}

.project-identity-logo img {
  width: 100%;
  height: 140px;
  object-fit: contain;
}

.project-identity-label {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-identity-card > strong {
  display: block;
  margin-bottom: 22px;
  font-size: 1.4rem;
  line-height: 1.15;
}

.project-identity-card dl {
  margin: 0 0 24px;
  border-top: 1px solid rgb(103 80 181 / 13%);
}

.project-identity-card dl div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid rgb(103 80 181 / 13%);
}

.project-identity-card dt {
  color: #84798d;
  font-size: 0.72rem;
}

.project-identity-card dd {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 780;
}

.project-identity-actions .button {
  width: 100%;
  min-height: 54px;
  padding-inline: 18px;
  text-align: center;
}

.project-identity-actions .project-download {
  color: var(--purple-dark);
}

.project-profile-story {
  padding: clamp(90px, 10vw, 160px) 0;
}

.project-profile-story-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.54fr) minmax(0, 1.1fr);
  align-items: start;
  column-gap: clamp(70px, 10vw, 170px);
}

.project-profile-story-inner > .section-kicker {
  grid-column: 1;
  margin-top: 12px;
}

.project-profile-story-inner > h2,
.project-profile-story-inner > .project-story-prose {
  grid-column: 2;
}

.project-profile-story-inner > h2 {
  max-width: 1000px;
  margin: 0 0 42px;
  color: var(--purple-dark);
  font-size: clamp(2.8rem, 4.8vw, 5.7rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.project-profile-story .project-story-prose {
  max-width: 830px;
}

.project-linked-practice {
  padding: clamp(85px, 9vw, 140px) 0;
  background:
    radial-gradient(circle at 8% 90%, rgb(216 166 60 / 16%), transparent 25rem),
    linear-gradient(135deg, #f3eef9, #fbf8f2);
}

.project-linked-practice-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.58fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(70px, 11vw, 175px);
}

.project-linked-cover {
  display: grid;
  min-height: 610px;
  padding: 45px;
  place-items: center;
  border: 1px solid rgb(103 80 181 / 14%);
  border-radius: 26px;
  background: rgb(255 255 255 / 62%);
  box-shadow: 0 25px 70px rgb(47 27 91 / 11%);
}

.project-linked-cover img {
  width: auto;
  max-width: 100%;
  height: 540px;
  border-radius: 5px;
  object-fit: contain;
  box-shadow: 0 18px 46px rgb(47 27 91 / 18%);
}

.project-linked-copy h2 {
  max-width: 800px;
  margin: 17px 0 28px;
  color: var(--purple-dark);
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: 0.97;
  letter-spacing: -0.058em;
}

.project-linked-copy > p:not(.section-kicker) {
  max-width: 670px;
  margin: 0 0 35px;
  color: #645a6d;
  font-size: 1.08rem;
  line-height: 1.75;
}

@media (max-width: 1120px) {
  .project-portfolio-hero-grid,
  .project-profile-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
    gap: 55px;
  }

  .project-organizations-section .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-practice-bridge-grid {
    grid-template-columns: minmax(380px, 0.8fr) minmax(0, 0.8fr);
    gap: 60px;
  }
}

@media (max-width: 900px) {
  .project-portfolio-hero-grid,
  .project-profile-hero-grid,
  .project-practice-bridge-grid,
  .project-profile-story-inner,
  .project-linked-practice-grid {
    grid-template-columns: 1fr;
  }

  .project-country-panel,
  .project-identity-card {
    max-width: 620px;
  }

  .project-profile-story-inner > .section-kicker,
  .project-profile-story-inner > h2,
  .project-profile-story-inner > .project-story-prose {
    grid-column: 1;
  }

  .project-profile-story-inner > .section-kicker {
    margin: 0 0 18px;
  }

  .project-practice-covers {
    min-height: 500px;
  }

  .project-linked-cover {
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  .project-portfolio-hero {
    padding: 66px 0 76px;
  }

  .project-portfolio-copy h1,
  .project-profile-heading h1 {
    font-size: clamp(3rem, 13vw, 4.8rem);
  }

  .project-portfolio-stats {
    grid-template-columns: 1fr;
  }

  .project-portfolio-stats div,
  .project-portfolio-stats div + div {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px solid rgb(47 27 91 / 13%);
  }

  .project-country-panel-heading,
  .project-organization-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-country-panel-heading span,
  .project-organization-meta span:last-child {
    max-width: none;
    text-align: left;
  }

  .project-organizations-section .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .project-logo-stage {
    min-height: 220px;
  }

  .project-organization-body {
    min-height: 285px;
  }

  .project-practice-covers {
    min-height: 390px;
  }

  .project-practice-covers img {
    border-width: 5px;
  }

  .project-profile-hero {
    padding: 55px 0 75px;
  }

  .project-profile-hero .project-back-link {
    margin-bottom: 40px;
  }

  .project-identity-card {
    padding: 17px 20px 24px;
  }

  .project-linked-cover {
    min-height: 470px;
    padding: 26px;
  }

  .project-linked-cover img {
    height: 420px;
  }
}

/* Bibliothèque des meilleures pratiques */
.practice-library-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 7vw, 112px) 0 clamp(78px, 8vw, 126px);
  background:
    radial-gradient(circle at 87% 16%, rgb(216 166 60 / 22%), transparent 25%),
    linear-gradient(135deg, #f7f3ea 0%, #f1edf8 58%, #e8e0f6 100%);
}

.practice-library-hero::before {
  position: absolute;
  z-index: -1;
  right: -9rem;
  bottom: -15rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgb(103 80 181 / 13%);
  border-radius: 50%;
  content: "";
}

.practice-library-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 0.78fr);
  align-items: center;
  gap: clamp(58px, 8vw, 138px);
}

.practice-library-copy {
  max-width: 830px;
}

.practice-library-copy h1 {
  max-width: 820px;
  margin: 18px 0 28px;
  color: var(--purple-dark);
  font-size: clamp(3.7rem, 6.1vw, 6.8rem);
  line-height: 0.91;
  letter-spacing: -0.072em;
}

.practice-library-copy .lead {
  max-width: 670px;
  margin: 0;
  color: rgb(47 27 91 / 75%);
  font-size: clamp(1.05rem, 1.3vw, 1.28rem);
  line-height: 1.7;
}

.practice-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 690px;
  margin: 46px 0 0;
  border-top: 1px solid rgb(47 27 91 / 15%);
}

.practice-hero-stats div {
  padding: 24px 20px 0 0;
}

.practice-hero-stats div + div {
  padding-left: 24px;
  border-left: 1px solid rgb(47 27 91 / 13%);
}

.practice-hero-stats dt {
  color: var(--purple-dark);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 800;
  line-height: 1;
}

.practice-hero-stats dd {
  margin: 8px 0 0;
  color: rgb(47 27 91 / 65%);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.practice-cover-stage {
  position: relative;
  min-height: clamp(490px, 43vw, 660px);
  perspective: 1400px;
}

.practice-cover {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(270px, 23vw, 360px);
  margin: 0;
  overflow: hidden;
  border: 8px solid rgb(255 255 255 / 92%);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 34px 70px rgb(38 20 74 / 23%);
  transform-origin: 50% 100%;
}

.practice-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.practice-cover-one {
  z-index: 3;
  transform: translate(-50%, -50%) rotate(-1deg);
}

.practice-cover-two {
  z-index: 2;
  transform: translate(-84%, -47%) rotate(-8deg) scale(0.91);
}

.practice-cover-three {
  z-index: 1;
  transform: translate(-16%, -46%) rotate(8deg) scale(0.91);
}

.practice-edition-badge {
  position: absolute;
  z-index: 5;
  right: 1%;
  bottom: 4%;
  padding: 13px 18px;
  border: 1px solid rgb(103 80 181 / 14%);
  border-radius: 999px;
  color: var(--purple-dark);
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 14px 30px rgb(47 27 91 / 12%);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.practice-edition-badge::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.practice-library-section {
  padding: clamp(84px, 9vw, 142px) 0;
  background: #fffdfa;
}

.practice-library-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.55fr);
  align-items: end;
  gap: clamp(54px, 9vw, 160px);
}

.practice-library-heading h2 {
  max-width: 900px;
  margin: 16px 0 0;
  color: var(--purple-dark);
  font-size: clamp(3rem, 5vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.practice-library-heading > p {
  margin: 0 0 8px;
  color: rgb(47 27 91 / 68%);
  font-size: 1.04rem;
  line-height: 1.75;
}

.practice-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 60px;
  padding: 13px;
  border: 1px solid rgb(103 80 181 / 12%);
  border-radius: 18px;
  background: #f5f1fb;
}

.practice-search {
  display: flex;
  flex: 1 1 410px;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgb(103 80 181 / 12%);
  border-radius: 12px;
  color: var(--purple);
  background: #fff;
}

.practice-search svg {
  flex: 0 0 auto;
}

.practice-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--purple-dark);
  background: transparent;
  font: inherit;
}

.practice-search input::placeholder {
  color: rgb(47 27 91 / 48%);
}

.practice-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.practice-filters button {
  min-height: 43px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgb(47 27 91 / 72%);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 750;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), box-shadow var(--transition);
}

.practice-filters button:hover {
  color: var(--purple-dark);
  background: rgb(255 255 255 / 70%);
}

.practice-filters button.is-active {
  color: #fff;
  background: var(--purple);
  box-shadow: 0 9px 20px rgb(103 80 181 / 22%);
}

.practice-results-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 32px 0 22px;
  color: rgb(47 27 91 / 56%);
  font-size: 0.86rem;
}

.practice-results-line strong {
  color: var(--purple-dark);
  font-size: 0.98rem;
}

.practice-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.practice-library-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgb(103 80 181 / 12%);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgb(47 27 91 / 7%);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.practice-library-card:hover {
  border-color: rgb(103 80 181 / 28%);
  box-shadow: 0 24px 55px rgb(47 27 91 / 13%);
  transform: translateY(-5px);
}

.practice-document-preview {
  position: relative;
  display: grid;
  place-items: center;
  height: 306px;
  overflow: hidden;
  padding: 24px 24px 0;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 45%), transparent 52%),
    #eee9f7;
}

.practice-document-preview::after {
  position: absolute;
  inset: auto 0 0;
  height: 25%;
  background: linear-gradient(transparent, rgb(47 27 91 / 8%));
  content: "";
  pointer-events: none;
}

.practice-document-preview > img {
  display: block;
  width: auto;
  max-width: 78%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  border: 5px solid #fff;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 20px 38px rgb(47 27 91 / 20%);
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.practice-library-card:hover .practice-document-preview > img {
  transform: translateY(-5px) scale(1.015);
}

.practice-pdf-chip {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--purple-dark);
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 8px 20px rgb(47 27 91 / 11%);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.practice-pdf-chip::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
  vertical-align: 1px;
}

.practice-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 27px 25px;
}

.practice-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.practice-card-meta > strong {
  overflow: hidden;
  color: var(--purple);
  font-size: 0.78rem;
  letter-spacing: 0.075em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.practice-card-meta > span {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: rgb(47 27 91 / 63%);
  font-size: 0.78rem;
  font-weight: 700;
}

.practice-card-meta img {
  display: block;
  width: 24px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgb(47 27 91 / 8%);
}

.practice-card-body h3 {
  display: -webkit-box;
  min-height: 3.05em;
  margin: 20px 0 10px;
  overflow: hidden;
  color: var(--purple-dark);
  font-size: clamp(1.28rem, 1.55vw, 1.62rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.practice-place {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.practice-excerpt {
  display: -webkit-box;
  margin: 18px 0 26px;
  overflow: hidden;
  color: rgb(47 27 91 / 65%);
  font-size: 0.94rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.practice-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgb(103 80 181 / 11%);
}

.practice-card-actions a {
  color: var(--purple-dark);
  font-size: 0.82rem;
  font-weight: 800;
  transition: color var(--transition);
}

.practice-card-actions a:last-child {
  color: var(--purple);
  font-size: 0.76rem;
}

.practice-card-actions a:hover {
  color: var(--gold);
}

.practice-card-actions span {
  margin-left: 4px;
}

.practice-empty {
  grid-column: 1 / -1;
  padding: 72px 32px;
  border: 1px dashed rgb(103 80 181 / 28%);
  border-radius: 18px;
  text-align: center;
  background: #f7f3fc;
}

.practice-empty strong {
  display: block;
  color: var(--purple-dark);
  font-size: 1.4rem;
}

.practice-empty p {
  margin: 10px 0 0;
  color: rgb(47 27 91 / 62%);
}

@media (max-width: 1100px) {
  .practice-library-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.7fr);
    gap: 44px;
  }

  .practice-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .practice-search {
    flex-basis: auto;
  }

  .practice-filters {
    justify-content: flex-start;
  }
}

@media (max-width: 780px) {
  .practice-library-hero-grid,
  .practice-library-heading {
    grid-template-columns: 1fr;
  }

  .practice-library-copy h1 {
    font-size: clamp(3.25rem, 13vw, 5.2rem);
  }

  .practice-cover-stage {
    min-height: 520px;
  }

  .practice-edition-badge {
    right: 3%;
  }

  .practice-library-heading {
    gap: 28px;
  }

  .practice-library-heading h2 {
    font-size: clamp(2.75rem, 11vw, 4.6rem);
  }

  .practice-library-heading > p {
    max-width: 620px;
  }

  .practice-library-grid {
    grid-template-columns: 1fr;
  }

  .practice-document-preview {
    height: 340px;
  }
}

@media (max-width: 520px) {
  .practice-library-hero {
    padding-block: 62px 74px;
  }

  .practice-library-copy h1 br {
    display: none;
  }

  .practice-hero-stats {
    margin-top: 34px;
  }

  .practice-hero-stats div {
    padding-right: 10px;
  }

  .practice-hero-stats div + div {
    padding-left: 12px;
  }

  .practice-hero-stats dd {
    font-size: 0.66rem;
  }

  .practice-cover-stage {
    min-height: 430px;
  }

  .practice-cover {
    width: min(66vw, 285px);
  }

  .practice-library-section {
    padding-block: 72px;
  }

  .practice-toolbar {
    margin-top: 42px;
  }

  .practice-filters button {
    flex: 1 1 auto;
    padding-inline: 13px;
  }

  .practice-results-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .practice-document-preview {
    height: 300px;
  }

  .practice-card-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .practice-card-actions {
    grid-template-columns: 1fr;
    gap: 13px;
  }
}

/* Pied de page commun */
.premium-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #cfc5df;
  background:
    radial-gradient(circle at 88% 8%, rgb(103 80 181 / 28%), transparent 28rem),
    linear-gradient(145deg, #241244 0%, #1b0d35 58%, #160a2c 100%);
}

.premium-footer::before {
  position: absolute;
  z-index: -1;
  right: -18rem;
  bottom: -27rem;
  width: 48rem;
  height: 48rem;
  border: 1px solid rgb(216 166 60 / 10%);
  border-radius: 50%;
  content: "";
}

.premium-footer-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 64px;
  padding-top: clamp(62px, 7vw, 104px);
  padding-bottom: clamp(52px, 6vw, 82px);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.premium-footer-eyebrow {
  margin: 0 0 17px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.premium-footer-callout h2 {
  max-width: 910px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 4.5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.premium-footer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 56px;
  padding: 0 25px;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 12px;
  color: #fff;
  background: rgb(255 255 255 / 6%);
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

.premium-footer-action svg {
  width: 19px;
  transition: transform var(--transition);
}

.premium-footer-action:hover {
  border-color: var(--gold);
  color: var(--purple-dark);
  background: var(--gold);
  transform: translateY(-2px);
}

.premium-footer-action:hover svg {
  transform: translateX(4px);
}

.premium-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) 0.56fr 0.72fr minmax(245px, 0.9fr);
  gap: clamp(38px, 5vw, 82px);
  padding-top: clamp(52px, 6vw, 78px);
  padding-bottom: clamp(52px, 6vw, 78px);
}

.premium-footer-brand img {
  display: block;
  width: 158px;
  height: auto;
  padding: 8px 11px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(0 0 0 / 18%);
}

.premium-footer-brand > p {
  max-width: 430px;
  margin: 25px 0 22px;
  color: #bcb1cf;
  font-size: 0.95rem;
  line-height: 1.72;
}

.premium-footer-region {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e7e0f0;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.premium-footer-region i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgb(216 166 60 / 12%);
}

.premium-footer-column {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.premium-footer-column h3 {
  margin: 5px 0 15px;
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.premium-footer-column a {
  position: relative;
  width: fit-content;
  max-width: 100%;
  color: #c8bdd9;
  font-size: 0.93rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  transition: color var(--transition), transform var(--transition);
}

.premium-footer-column a:hover {
  color: #fff;
  transform: translateX(3px);
}

.premium-footer-contact address {
  margin: 0 0 7px;
  color: #afa3c3;
  font-size: 0.93rem;
  font-style: normal;
  line-height: 1.72;
}

.premium-footer-contact a:first-of-type {
  color: #fff;
  font-weight: 760;
}

.premium-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 25px;
  padding-bottom: 29px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  color: #9083a6;
  font-size: 0.78rem;
}

.premium-footer-bottom p {
  margin: 0;
}

.premium-footer-bottom .premium-footer-signature {
  padding-left: 18px;
  margin-right: 62px;
  border-left: 1px solid rgb(216 166 60 / 45%);
}

.premium-footer-signature strong {
  color: #d9cfE8;
  font-weight: 800;
}

@media (max-width: 1050px) {
  .premium-footer-callout {
    align-items: center;
    gap: 40px;
  }

  .premium-footer-grid {
    grid-template-columns: minmax(280px, 1.15fr) repeat(2, minmax(160px, 0.62fr));
  }

  .premium-footer-contact {
    grid-column: 2 / 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    column-gap: 30px;
  }

  .premium-footer-contact h3 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .premium-footer-callout {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
  }

  .premium-footer-callout h2 {
    font-size: clamp(2.45rem, 11vw, 4rem);
  }

  .premium-footer-action {
    min-width: min(100%, 240px);
  }

  .premium-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-footer-brand {
    grid-column: 1 / -1;
  }

  .premium-footer-brand > p {
    max-width: 560px;
  }

  .premium-footer-contact {
    grid-column: 1 / -1;
  }

  .premium-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .premium-footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .premium-footer-brand,
  .premium-footer-contact {
    grid-column: auto;
  }

  .premium-footer-contact {
    display: flex;
  }

  .premium-footer-column h3 {
    margin-bottom: 8px;
  }

  .premium-footer-bottom .premium-footer-signature {
    padding-left: 0;
    margin-right: 54px;
    border-left: 0;
  }
}

/* Page Études */
.study-collections-section {
  padding: clamp(76px, 8vw, 118px) 0 clamp(84px, 9vw, 132px);
  background: #fffdfa;
}

.study-collections-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.5fr);
  align-items: end;
  gap: clamp(48px, 8vw, 130px);
  margin-bottom: 48px;
}

.study-collections-heading h2 {
  margin: 15px 0 0;
  color: var(--purple-dark);
  font-size: clamp(3.2rem, 5.4vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.study-collections-heading > p {
  margin: 0 0 5px;
  color: #62596c;
  font-size: 1.04rem;
  line-height: 1.72;
}

.study-collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.study-collection-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 28px 26px;
  border: 1px solid rgb(103 80 181 / 13%);
  border-radius: 18px;
  background: #f4f0fa;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.study-collection-card::after {
  position: absolute;
  right: -48px;
  bottom: -58px;
  width: 140px;
  height: 140px;
  border: 1px solid rgb(103 80 181 / 12%);
  border-radius: 50%;
  content: "";
}

.study-collection-card:hover {
  border-color: rgb(103 80 181 / 27%);
  box-shadow: 0 18px 42px rgb(47 27 91 / 10%);
  transform: translateY(-4px);
}

.study-collection-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 45px;
  border-radius: 12px;
  color: var(--purple);
  background: #fff;
  box-shadow: 0 10px 24px rgb(47 27 91 / 8%);
}

.study-collection-icon svg {
  width: 23px;
  height: 23px;
}

.study-collection-card > span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.study-collection-card h3 {
  margin: 11px 0 12px;
  color: var(--purple-dark);
  font-size: 1.3rem;
  line-height: 1.2;
}

.study-collection-card p {
  max-width: 280px;
  margin: 0;
  color: #6b6273;
  font-size: 0.91rem;
  line-height: 1.62;
}

.study-collection-card-accent {
  border-color: var(--purple-dark);
  background: var(--purple-dark);
}

.study-collection-card-accent::after {
  border-color: rgb(255 255 255 / 14%);
}

.study-collection-card-accent .study-collection-icon {
  color: var(--purple-dark);
  background: var(--gold);
}

.study-collection-card-accent h3 {
  color: #fff;
}

.study-collection-card-accent p {
  color: rgb(255 255 255 / 67%);
}

.study-library-section {
  padding-top: clamp(84px, 9vw, 138px);
  padding-bottom: clamp(90px, 10vw, 150px);
  background: #fbfaf7;
}

.study-library-toolbar {
  grid-template-columns: minmax(0, 1fr) minmax(470px, 0.62fr);
  align-items: end;
  margin-bottom: 38px;
}

.study-library-intro {
  max-width: 750px;
  margin: 24px 0 0;
  color: #6b6273;
  font-size: 1.02rem;
  line-height: 1.7;
}

.study-results-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding-top: 21px;
  border-top: 1px solid rgb(103 80 181 / 16%);
  color: #786e81;
  font-size: 0.82rem;
}

.study-results-line strong {
  color: var(--purple-dark);
  font-size: 0.94rem;
}

.study-edition-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 20px; }
.study-edition-nav a { display: inline-flex; align-items: center; gap: 18px; min-height: 46px; padding: 10px 18px; border: 1px solid #e4ddef; border-radius: 100px; color: var(--purple-dark); background: #f7f4fb; font-weight: 750; font-size: .88rem; }
.study-edition-nav a:first-child { color: #fff; background: var(--purple-dark); border-color: var(--purple-dark); }
.study-edition-nav a span { opacity: .75; font-size: .78rem; }
.study-edition-nav a:hover { box-shadow: 0 3px 0 var(--gold); }
.study-edition { scroll-margin-top: 24px; margin-top: 28px; }
.study-edition + .study-edition { margin-top: 64px; padding-top: 36px; border-top: 1px solid #e4ddef; }
.study-edition-heading { display: flex; align-items: center; gap: 24px; margin-bottom: 26px; }
.study-edition-heading .section-kicker { margin: 0 0 6px; font-size: .66rem; }
.study-edition-heading h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.045em; color: var(--purple-dark); line-height: 1.1; }
.study-edition-heading h3 span { color: var(--purple); }
.study-edition-heading > p { margin: 16px 0 0; color: #62596c; font-size: .88rem; }
.study-edition-heading > a { margin-left: auto; color: var(--purple); font-size: .85rem; font-weight: 750; padding: 12px 0; white-space: nowrap; }
.study-edition .study-library-card { scroll-margin-top: 28px; }
.study-edition .study-library-grid:has(> :only-child) { grid-template-columns: 1fr; }
@media (min-width: 761px) {
  .study-edition .study-library-card:only-child { display: grid; grid-template-columns: minmax(240px, .8fr) 1.2fr; }
  .study-edition .study-library-card:only-child .study-document-preview { height: 100%; min-height: 380px; padding: 28px; }
  .study-edition .study-library-card:only-child .study-document-preview > img { width: auto; height: 340px; max-width: 100%; border-bottom: 5px solid #fff; }
  .study-edition .study-library-card:only-child .study-card-content { padding: 32px; }
}
.study-library-card:target { outline: 3px solid var(--gold); outline-offset: 5px; }
.study-previous { margin: 0 0 18px; padding: 12px 0 0; border-top: 1px solid #eee8f5; }
.study-previous + .study-previous { margin-top: 8px; padding-top: 8px; border-top-style: dashed; }
.study-previous > span { display: block; color: #62596c; font-size: .75rem; line-height: 1.5; }
.study-previous > div { display: flex; flex-wrap: wrap; gap: 12px; }
.study-previous a { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; color: var(--purple); font-size: .82rem; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) {
  .study-edition-heading { flex-wrap: wrap; gap: 12px; }
  .study-edition-heading > p { width: 100%; margin: 0; order: 3; }
  .study-edition + .study-edition { margin-top: 40px; padding-top: 28px; }
}

.study-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.study-library-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgb(103 80 181 / 13%);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgb(47 27 91 / 7%);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.study-library-card:hover {
  border-color: rgb(103 80 181 / 28%);
  box-shadow: 0 24px 54px rgb(47 27 91 / 13%);
  transform: translateY(-4px);
}

.study-document-preview {
  position: relative;
  display: grid;
  place-items: center;
  height: 306px;
  overflow: hidden;
  padding: 24px 24px 0;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 46%), transparent 55%),
    #ece7f6;
}

.study-document-preview::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 24%;
  background: linear-gradient(transparent, rgb(47 27 91 / 10%));
  content: "";
  pointer-events: none;
}

.study-document-preview > img {
  display: block;
  width: auto;
  max-width: 78%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  border: 5px solid #fff;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 20px 44px rgb(47 27 91 / 21%);
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.study-library-card:hover .study-document-preview > img {
  transform: translateY(-5px) scale(1.012);
}

.study-type-chip,
.study-page-chip {
  position: absolute;
  z-index: 2;
  top: 15px;
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgb(47 27 91 / 11%);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.study-type-chip {
  left: 14px;
  color: #fff;
  background: var(--purple);
}

.study-page-chip {
  right: 14px;
  color: var(--purple-dark);
  background: rgb(255 255 255 / 94%);
}

.study-card-content {
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 368px;
  padding: 28px 27px 25px;
  flex-direction: column;
}

.study-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #7a7083;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.study-card-meta span:first-child {
  overflow: hidden;
  color: var(--purple);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.study-card-content h3,
.study-card-content h4 {
  display: -webkit-box;
  min-height: 3.05em;
  margin: 21px 0 15px;
  overflow: hidden;
  color: var(--purple-dark);
  font-size: clamp(1.22rem, 1.45vw, 1.48rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.study-card-description {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #62596c;
  font-size: 0.92rem;
  line-height: 1.67;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.study-card-countries {
  margin: 18px 0 24px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  line-height: 1.55;
  text-transform: uppercase;
}

.study-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 19px;
  border-top: 1px solid rgb(103 80 181 / 12%);
}

.study-card-actions a {
  color: var(--purple-dark);
  font-size: 0.79rem;
  font-weight: 850;
  transition: color var(--transition);
}

.study-card-actions a:last-child {
  color: var(--purple);
}

.study-card-actions a:hover {
  color: var(--gold);
}

.study-local-note {
  margin-top: 42px;
  border: 1px solid rgb(103 80 181 / 12%);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: #f2eef8;
}

@media (max-width: 1100px) {
  .study-collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .study-library-toolbar {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .study-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .study-library-card {
    display: flex;
  }
}

@media (max-width: 760px) {
  .study-collections-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .study-collection-grid {
    grid-template-columns: 1fr;
  }

  .study-collection-card {
    min-height: 260px;
  }

  .study-collection-icon {
    margin-bottom: 32px;
  }

  .study-results-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .study-library-card {
    display: flex;
  }

  .study-library-grid {
    grid-template-columns: 1fr;
  }

  .study-document-preview {
    height: 340px;
  }

  .study-document-preview > img {
    max-width: min(68%, 300px);
  }
}

@media (max-width: 480px) {
  .study-collections-heading h2 {
    font-size: 3.2rem;
  }

  .study-card-content {
    padding: 27px 23px 23px;
  }

  .study-card-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .study-local-note {
    padding: 25px 23px;
  }
}
