/* ==========================================================================
   Future Africa Leaders Foundation
   Design system v5

   Contents
   01  Tokens
   02  Base and typography
   03  Layout primitives
   04  Laureate band (brand signature)
   05  Buttons and links
   06  Header, navigation, mobile drawer
   07  Page hero (inner pages)
   08  Section headings
   09  Shared content blocks (figures, lists, media, portraits, stories)
   10  Filters, search, pagination, empty states
   11  Forms and alerts
   12  Modals and lightbox
   13  Footer, back to top, assistant
   14  Home page
   15  Inner pages (about, FALA, winners, resources, impact, blog, post,
       contact, LIN, give, results, 404)
   16  Motion and accessibility
   ========================================================================== */

/* 01  Tokens ------------------------------------------------------------- */
:root {
  /* Brand */
  --aubergine: #1d0b31;
  --aubergine-2: #2a1245;
  --night: #140722;
  --royal: #5e2e80;
  --amethyst: #7b3fa0;
  --orchid: #a96dcc;
  --gold: #e3a92b;
  --gold-bright: #f4b63f;
  --gold-ink: #8a5d00;

  /* Surfaces */
  --paper: #ffffff;
  --mist: #f7f4fa;
  --lilac: #efe7f6;
  --line: #e5dcee;
  --line-strong: #cfc1dd;

  /* Text */
  --ink: #1f1430;
  --text: #3d3350;
  --muted: #6b607a;
  --on-dark: #f3eef8;
  --on-dark-muted: #bcaed0;

  /* Laureate band, sampled from the striped Africa in the logo */
  --band: linear-gradient(90deg,
    #e8559a 0 14.28%, #f29a1f 14.28% 28.56%, #f2d21b 28.56% 42.84%,
    #4caf50 42.84% 57.12%, #29b3c3 57.12% 71.4%, #2b3990 71.4% 85.68%,
    #7b3fa0 85.68% 100%);

  /* Type */
  --font-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Legacy aliases kept so any older markup still resolves */
  --p1: var(--amethyst);
  --p2: var(--royal);
  --font-head: var(--font-sans);
  --body: var(--text);

  /* Rhythm */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;
  --header-h: 84px;

  /* Depth */
  --shadow-sm: 0 1px 2px rgba(29, 11, 49, .06), 0 2px 8px rgba(29, 11, 49, .05);
  --shadow: 0 10px 30px -12px rgba(29, 11, 49, .22);
  --shadow-lg: 0 30px 70px -24px rgba(29, 11, 49, .38);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--amethyst);
}

/* 02  Base and typography ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 600; line-height: 1.2; }
h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.005em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -.01em; }
h4 { font-size: 1.0625rem; }
p { text-wrap: pretty; }
strong, b { font-weight: 650; color: inherit; }

::selection { background: var(--gold-bright); color: var(--aubergine); }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--gold-bright); color: var(--aubergine);
  padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

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

/* 03  Layout primitives -------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.container--read { max-width: 760px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--mist { background: var(--mist); }
.section--lilac { background: var(--lilac); }
.section--dark { background: var(--aubergine); color: var(--on-dark-muted); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section + .section--flush { padding-top: 0; }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: center; }
.split > * { min-width: 0; }
.split__a { grid-column: 1 / span 6; }
.split__b { grid-column: 7 / span 6; }
.split--5-7 .split__a { grid-column: 1 / span 5; }
.split--5-7 .split__b { grid-column: 6 / span 7; }
.split--7-5 .split__a { grid-column: 1 / span 7; }
.split--7-5 .split__b { grid-column: 8 / span 5; }
.split--top { align-items: start; }

.center { text-align: center; }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }
.stack > * + * { margin-top: 1rem; }

@media (max-width: 900px) {
  .split, .split--5-7, .split--7-5 { grid-template-columns: minmax(0, 1fr); }
  .split .split__a, .split .split__b { grid-column: 1 / -1; }
}

/* 04  Laureate band ------------------------------------------------------ */
.band { display: block; height: 4px; background: var(--band); }
.band--thin { height: 3px; }
.band--short { width: 96px; height: 4px; border-radius: 2px; }

/* 05  Buttons and links -------------------------------------------------- */
.btn {
  --btn-bg: var(--royal); --btn-fg: #fff; --btn-bd: var(--royal);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 1.5rem;
  font-family: var(--font-sans); font-size: .95rem; font-weight: 600; line-height: 1.2;
  letter-spacing: .005em; text-align: center; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--r-sm);
  cursor: pointer; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn i { font-size: 1.1em; line-height: 1; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

/* Primary: royal */
.btn-primary, .btn-blue, .btn-purple { --btn-bg: var(--royal); --btn-bd: var(--royal); --btn-fg: #fff; }
.btn-primary:hover, .btn-blue:hover, .btn-purple:hover { --btn-bg: var(--aubergine-2); --btn-bd: var(--aubergine-2); }

/* Giving: gold, reserved for the most important action */
.btn-gold { --btn-bg: var(--gold-bright); --btn-bd: var(--gold-bright); --btn-fg: var(--aubergine); box-shadow: 0 6px 18px -8px rgba(227, 169, 43, .7); }
.btn-gold:hover { --btn-bg: var(--gold); --btn-bd: var(--gold); }

/* Secondary: outline */
.btn-ghost, .btn-outline { --btn-bg: transparent; --btn-bd: var(--line-strong); --btn-fg: var(--royal); }
.btn-ghost:hover, .btn-outline:hover { --btn-bd: var(--royal); --btn-bg: var(--lilac); }

/* On dark surfaces */
.btn-light { --btn-bg: #fff; --btn-bd: #fff; --btn-fg: var(--aubergine); }
.btn-light:hover { --btn-bg: var(--lilac); --btn-bd: var(--lilac); }
.btn-ghost-light { --btn-bg: transparent; --btn-bd: rgba(255, 255, 255, .4); --btn-fg: #fff; }
.btn-ghost-light:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, .08); }

.btn-sm { min-height: 40px; padding: 0 1rem; font-size: .875rem; }
.btn-block { width: 100%; }

/* Tertiary: text link with a moving underline */
.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; font-size: .95rem; color: var(--royal);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px;
  transition: background-size .35s var(--ease), color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow:hover { background-size: 100% 1.5px; gap: .7em; }
.section--dark .link-arrow { color: var(--gold-bright); }

/* 06  Header, navigation, mobile drawer ---------------------------------- */
.topbar { background: var(--night); color: var(--on-dark-muted); font-size: .8125rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s var(--ease); }
.topbar a:hover { color: #fff; }
.topbar__right { gap: 4px; }
.topbar__right span { margin-right: 8px; }
.topbar__right a { width: 30px; height: 30px; justify-content: center; border-radius: 50%; font-size: 1rem; }
.topbar__right a:hover { background: rgba(255, 255, 255, .08); }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
@supports (backdrop-filter: blur(10px)) { .nav { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(12px); } }
.nav.is-stuck { box-shadow: 0 8px 30px -18px rgba(29, 11, 49, .35); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.nav__logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__logo img { width: 56px; height: 56px; object-fit: contain; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav__logo-text strong { font-family: var(--font-display); font-weight: 400; font-size: 1.12rem; color: var(--ink); letter-spacing: .005em; }
.nav__logo-text small { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }

.nav__inner > nav { margin-left: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links > li { position: relative; }
.nav__links > li > a {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; font-size: .9375rem; font-weight: 500; color: var(--ink);
  border-radius: var(--r-sm); transition: color .2s var(--ease);
}
.nav__links > li > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav__links > li > a:hover { color: var(--royal); }
.nav__links > li > a:hover::after { transform: scaleX(1); }
.nav__links > li > a.active { color: var(--royal); font-weight: 600; }
.nav__links > li > a.active::after { transform: scaleX(1); background: var(--royal); }
.nav__links .ri-arrow-down-s-line { font-size: 1.05rem; transition: transform .25s var(--ease); }
.nav__links .ri-external-link-line { font-size: .8em; opacity: .7; }

/* Desktop dropdown */
.dd {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 330px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-dd:hover > .dd, .has-dd:focus-within > .dd, .has-dd.dd-open > .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dd:hover > a .ri-arrow-down-s-line, .has-dd.dd-open > a .ri-arrow-down-s-line { transform: rotate(180deg); }
.dd a { display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px; border-radius: 6px; transition: background-color .2s var(--ease); }
.dd a:hover, .dd a:focus-visible { background: var(--mist); }
.dd a > i { flex-shrink: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 6px; background: var(--lilac); color: var(--royal); font-size: 1.1rem; }
.dd strong { display: block; font-size: .9375rem; color: var(--ink); font-weight: 600; }
.dd small { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.4; }

.nav__cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__cta .btn { min-height: 44px; padding: 0 1.1rem; font-size: .9rem; }

.nav__burger {
  display: none; position: relative; width: 46px; height: 46px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: #fff;
}
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease); }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 22px; }
.nav__burger span:nth-child(3) { top: 29px; }
.nav__burger.is-active span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav__burger.is-active span:nth-child(2) { opacity: 0; }
.nav__burger.is-active span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.nav-mobile-header, .nav-mobile-cta, .nav-mobile-foot { display: none; }
.nav__overlay { display: none; }

@media (max-width: 1240px) {
  .nav__logo-text { display: none; }
  .nav__links > li > a { padding: 10px 9px; }
}

@media (max-width: 1100px) {
  :root { --header-h: 72px; }
  /* backdrop-filter would trap the fixed drawer inside the bar, so it is off here */
  .nav { backdrop-filter: none; background: #fff; }
  .nav.nav--open { z-index: 300; }
  .nav__logo img { width: 50px; height: 50px; }
  .nav__logo-text { display: flex; }
  .nav__cta .btn-ghost { display: none; }
  .nav__burger { display: block; }

  .nav__overlay {
    display: block; position: fixed; inset: 0; z-index: 150;
    background: rgba(20, 7, 34, .55); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav__overlay.is-active { opacity: 1; visibility: visible; }

  .nav__links {
    position: fixed; margin-left: 0; top: 0; right: 0; bottom: 0; z-index: 200;
    width: min(420px, 100%); margin: 0; padding: 0 28px 32px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--aubergine); color: var(--on-dark);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform .4s var(--ease-out), visibility .4s;
  }
  .nav__links.is-open { transform: translateX(0); visibility: visible; }
  .nav__links::before { content: ""; position: sticky; top: 0; display: block; height: 4px; margin: 0 -28px; background: var(--band); z-index: 2; }

  .nav-mobile-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); margin-bottom: 8px; }
  .nav-mobile-header span { font-size: .8125rem; color: var(--on-dark-muted); }
  .nav__close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 1.5rem; border: 1px solid rgba(255, 255, 255, .2); }
  .nav__close:hover { background: rgba(255, 255, 255, .08); }

  .nav__links > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__links > li.nav-mobile-header { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav__links > li > a {
    display: flex; justify-content: space-between; width: 100%; padding: 16px 0;
    font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: #fff; border-radius: 0;
  }
  .nav__links > li > a::after { display: none; }
  .nav__links > li > a:hover, .nav__links > li > a.active { color: var(--gold-bright); font-weight: 400; }
  .nav__links .ri-arrow-down-s-line { font-size: 1.5rem; }

  .dd {
    position: static; width: auto; padding: 0 0 12px; background: transparent; border: 0; box-shadow: none;
    transform: none; opacity: 1; visibility: visible; display: none;
  }
  .dd::before { display: none; }
  .has-dd:hover > .dd, .has-dd:focus-within > .dd { transform: none; }
  .has-dd:hover > a .ri-arrow-down-s-line { transform: none; }
  .has-dd.dd-open > .dd { display: block; }
  .has-dd.dd-open > a .ri-arrow-down-s-line { transform: rotate(180deg); }
  .dd a { padding: 10px 0; }
  .dd a:hover, .dd a:focus-visible { background: transparent; }
  .dd a > i { background: rgba(255, 255, 255, .08); color: var(--gold-bright); }
  .dd strong { color: #fff; }
  .dd small { color: var(--on-dark-muted); }

  .nav__links > li.nav-mobile-cta { display: block; border: 0; padding-top: 12px; }
  .nav__links > li.nav-mobile-cta + .nav-mobile-cta { padding-top: 10px; }
  .nav__links > li.nav-mobile-cta > a.btn { display: flex; justify-content: center; width: 100%; padding: 0 1rem; font-family: var(--font-sans); font-size: .95rem; font-weight: 600; min-height: 52px; border-radius: var(--r-sm); }
  .nav__links > li.nav-mobile-cta > a.btn-ghost-light { color: #fff; }
  .nav__links > li.nav-mobile-cta > a.btn-gold { color: var(--aubergine); }
  .nav__links > li.nav-mobile-foot { display: block; border: 0; margin-top: auto; padding-top: 28px; font-size: .875rem; color: var(--on-dark-muted); }
  .nav-mobile-foot a { display: flex; align-items: center; gap: 10px; padding: 6px 0; word-break: break-all; }
  .nav-mobile-foot a:hover { color: #fff; }
}

@media (max-width: 767px) {
  .topbar { display: none; }
}
@media (max-width: 480px) {
  .nav__cta .btn-gold { padding: 0 .9rem; }
  .nav__cta .btn-gold span { display: none; }
  .nav__logo-text { display: none; }
  .nav__links > li > a { font-size: 1.4rem; }
}

/* 07  Page hero (inner pages) -------------------------------------------- */
.page-hero { position: relative; background: var(--aubergine); color: var(--on-dark-muted); overflow: hidden; isolation: isolate; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(380px, 46vw, 520px); }
.page-hero__text {
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 64px) clamp(48px, 7vw, 96px) 0;
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  position: relative; z-index: 2;
}
.page-hero__text h1 { color: #fff; max-width: 14ch; }
.page-hero__text p { max-width: 46ch; font-size: 1.125rem; line-height: 1.6; color: var(--on-dark-muted); }
.page-hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; color: var(--gold-bright); }
.page-hero__kicker i { font-size: 1.1rem; }
.page-hero__media { position: relative; min-height: 260px; background: var(--aubergine-2); }
.page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--aubergine) 0%, rgba(29, 11, 49, 0) 28%);
}
.page-hero__badge {
  position: absolute; z-index: 2; left: 28px; bottom: 28px;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px;
  background: #fff; border-radius: var(--r); box-shadow: var(--shadow);
}
.page-hero__badge i { font-size: 1.4rem; color: var(--royal); }
.page-hero__badge strong { display: block; font-size: .95rem; color: var(--ink); line-height: 1.2; }
.page-hero__badge span { font-size: .8125rem; color: var(--muted); }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .875rem; color: var(--on-dark-muted); }
.breadcrumb a { color: var(--on-dark); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.breadcrumb a:hover { text-decoration-color: var(--gold-bright); }
.breadcrumb .sep { opacity: .5; }

.page-hero > .band { position: relative; z-index: 3; }

@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .page-hero__media { order: -1; height: clamp(220px, 52vw, 340px); }
  .page-hero__media::before { background: linear-gradient(0deg, var(--aubergine) 0%, rgba(29, 11, 49, 0) 45%); }
  .page-hero__text { padding: 8px var(--gutter) 48px; }
  .page-hero__badge { left: var(--gutter); bottom: 20px; }
}

/* 08  Section headings --------------------------------------------------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: .9375rem; font-weight: 600; color: var(--royal);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section--dark .kicker { color: var(--gold-bright); }
.section--dark .kicker::before { background: var(--gold-bright); }

.sec-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2 { margin-bottom: 18px; }
.sec-head p, .lead { font-size: 1.1875rem; line-height: 1.6; color: var(--muted); max-width: 62ch; }
.section--dark .sec-head p, .section--dark .lead { color: var(--on-dark-muted); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center p { margin-inline: auto; }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.sec-head--row > div { max-width: 680px; }

.prose { color: var(--text); }
.prose p + p { margin-top: 1.1em; }

/* 09  Shared content blocks ---------------------------------------------- */

/* Figures: large numbers with hairline separators */
.figures { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.figure { padding: 24px 20px 4px 0; border-right: 1px solid var(--line); min-width: 0; }
.figure + .figure { padding-left: 20px; }
.figure:last-child { border-right: 0; }
.figure__num { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; color: var(--royal); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.figure__num .plus { color: var(--gold); }
.figure__label { margin-top: 10px; font-size: .9375rem; color: var(--muted); }
.section--dark .figures, .figures--dark { border-color: rgba(255, 255, 255, .14); }
.section--dark .figure, .figures--dark .figure { border-color: rgba(255, 255, 255, .14); }
.section--dark .figure__num, .figures--dark .figure__num { color: #fff; }
.section--dark .figure__num .plus, .figures--dark .figure__num .plus { color: var(--gold-bright); }
.section--dark .figure__label, .figures--dark .figure__label { color: var(--on-dark-muted); }
@media (max-width: 760px) {
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figure, .figure + .figure { padding: 22px 16px 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .figure:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .section--dark .figure, .figures--dark .figure { border-color: rgba(255, 255, 255, .14); }
}

/* Framed photograph with a caption tab */
.frame { position: relative; }
.frame__img { position: relative; overflow: hidden; border-radius: var(--r); background: var(--lilac); aspect-ratio: 4 / 5; }
.frame__img img { width: 100%; height: 100%; object-fit: cover; }
.frame--wide .frame__img { aspect-ratio: 4 / 3; }
.frame::after {
  content: ""; position: absolute; z-index: -1; left: -18px; bottom: -18px; width: 55%; height: 55%;
  background: var(--lilac); border-radius: var(--r);
}
.frame { isolation: isolate; }
.frame__tab {
  position: absolute; right: -14px; bottom: 28px; z-index: 2;
  display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 16px;
  background: var(--aubergine); color: var(--on-dark-muted); border-radius: var(--r-sm);
  box-shadow: var(--shadow);
}
.frame__tab i { font-size: 1.4rem; color: var(--gold-bright); }
.frame__tab strong { display: block; color: #fff; font-size: 1rem; line-height: 1.2; }
.frame__tab span { font-size: .8125rem; }
@media (max-width: 900px) { .frame__tab { right: 12px; } .frame::after { left: -10px; bottom: -10px; } }

/* Check list */
.checklist { display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checklist i { font-size: 1.25rem; color: var(--amethyst); line-height: 1.45; }
.checklist strong { display: block; color: var(--ink); }
.checklist span { color: var(--text); }

/* Portrait cards: nominees, winners, hall of fame */
.portrait-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 28px); }
@media (max-width: 1000px) { .portrait-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .portrait-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.portrait { display: block; min-width: 0; text-align: left; color: inherit; }
.portrait__img {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r);
  background: linear-gradient(160deg, var(--lilac), #e3d6ee) center / cover no-repeat;
}
.portrait__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .7s var(--ease-out); }
.portrait__img .portrait__initials { position: absolute; inset: 0; display: none; place-items: center; font-family: var(--font-display); font-size: 2.6rem; color: var(--royal); }
.portrait__img.is-empty .portrait__initials { display: grid; }
.portrait__tag {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600;
  background: rgba(255, 255, 255, .92); color: var(--ink);
}
.portrait__hint {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px;
  border-radius: var(--r-sm); background: rgba(29, 11, 49, .82); color: #fff; font-size: .8125rem; font-weight: 600;
  opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.portrait__body { padding-top: 14px; }
.portrait__name { display: block; font-size: 1.0625rem; font-weight: 600; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.portrait__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; font-size: .875rem; color: var(--muted); }
.portrait__meta i { color: var(--amethyst); }
a.portrait:hover .portrait__img img, .portrait[role="button"]:hover .portrait__img img { transform: scale(1.04); }
a.portrait:hover .portrait__name, .portrait[role="button"]:hover .portrait__name { color: var(--royal); }
.portrait[role="button"] { cursor: pointer; border-radius: var(--r); }
.portrait[role="button"]:hover .portrait__hint, .portrait[role="button"]:focus-visible .portrait__hint { opacity: 1; transform: none; }
@media (hover: none) { .portrait__hint { opacity: 1; transform: none; min-height: 34px; font-size: .75rem; } }

/* Story cards: blog and impact stories */
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.6vw, 36px); }
@media (max-width: 1000px) { .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .story-grid { grid-template-columns: minmax(0, 1fr); } }

.story { display: flex; flex-direction: column; min-width: 0; color: inherit; }
.story__img { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--r); background: var(--lilac) center / cover no-repeat; }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.story__tag { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: .75rem; font-weight: 600; }
.story__body { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; flex: 1; }
.story__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .875rem; color: var(--muted); }
.story__meta i { color: var(--amethyst); margin-right: 4px; }
.story__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.2; color: var(--ink); transition: color .25s var(--ease); overflow-wrap: anywhere; }
.story__excerpt { font-size: .975rem; line-height: 1.6; color: var(--muted); }
.story__more { margin-top: auto; padding-top: 4px; }
.story:hover .story__img img { transform: scale(1.035); }
.story:hover .story__title { color: var(--royal); }
.story:hover .link-arrow { background-size: 100% 1.5px; gap: .7em; }
.story--muted { cursor: default; }

/* Generic image fallback layering: the background shows until the photo loads */
.visual-img img, .visual-card img { opacity: 0; transition: opacity .5s var(--ease), transform .8s var(--ease-out); }
.visual-img img.is-loaded, .visual-card img.is-loaded { opacity: 1; }

/* 10  Filters, search, pagination, empty states --------------------------- */
.filter-bar { background: #fff; border-bottom: 1px solid var(--line); padding-block: 28px; }
.filter-bar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.filter-bar__group { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1 1 320px; }
.filter-bar__label { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.result-count { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.result-count strong { color: var(--ink); }

.search { position: relative; flex: 0 1 380px; min-width: 240px; }
.search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 1.1rem; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 50px; padding: 0 16px 0 46px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff;
  font-size: 1rem; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search input:focus { outline: none; border-color: var(--amethyst); box-shadow: 0 0 0 3px rgba(123, 63, 160, .16); }
.search--wide { flex: 1 1 100%; max-width: 640px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: #fff;
  font-size: .875rem; font-weight: 500; color: var(--text); white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.pill:hover { border-color: var(--royal); color: var(--royal); }
.pill.active { background: var(--royal); border-color: var(--royal); color: #fff; }
@media (max-width: 700px) {
  .pills--scroll { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .pills--scroll::-webkit-scrollbar { display: none; }
  .search { flex-basis: 100%; min-width: 0; }
}

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: clamp(48px, 6vw, 72px); }
.page-btn {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
  font-size: .9375rem; font-weight: 500; color: var(--text); transition: all .2s var(--ease);
}
.page-btn:hover { border-color: var(--royal); color: var(--royal); }
.page-btn.active { background: var(--royal); border-color: var(--royal); color: #fff; }
.page-gap { display: inline-grid; place-items: center; min-width: 28px; height: 44px; color: var(--muted); }

.empty-state { max-width: 520px; margin: 0 auto; padding: 56px 24px; text-align: center; }
.empty-state > i { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 18px; border-radius: 50%; background: var(--lilac); color: var(--royal); font-size: 2rem; }
.empty-state h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 24px; }

/* 11  Forms and alerts ---------------------------------------------------- */
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-panel__head { margin-bottom: 26px; }
.form-panel__head h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: 6px; }
.form-panel__head p { color: var(--muted); font-size: .975rem; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.field label span, .req { color: #b42318; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff;
  font-size: 1rem; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%235e2e80' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field select option { color: var(--ink); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #9a90a8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9a8cc; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amethyst); box-shadow: 0 0 0 3px rgba(123, 63, 160, .16); }
.field input[type="date"] { min-height: 50px; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #d92d20; }
.field__hint { font-size: .8125rem; color: var(--muted); }

.form-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: .8125rem; color: var(--muted); text-align: center; }

.alert { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; margin-bottom: 20px; border-radius: var(--r-sm); border: 1px solid; font-size: .95rem; line-height: 1.55; }
.alert i { font-size: 1.2rem; line-height: 1.3; flex-shrink: 0; }
.alert a { text-decoration: underline; font-weight: 600; }
.alert-success { background: #ecfdf3; border-color: #abefc6; color: #05603a; }
.alert-error { background: #fef3f2; border-color: #fecdca; color: #b42318; }
.alert-info { background: var(--mist); border-color: var(--line); color: var(--text); }
.alert-warn { background: #fffaeb; border-color: #fedf89; color: #93370d; }

/* 12  Modals and lightbox ------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20, 7, 34, .82); }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(20, 7, 34, .7); color: #fff; font-size: 1.3rem; transition: background-color .2s var(--ease);
}
.modal__close:hover { background: var(--royal); }

/* 13  Footer, back to top, assistant ------------------------------------- */
.prefooter { background: var(--royal); color: var(--on-dark); position: relative; overflow: hidden; }
.prefooter::after {
  content: ""; position: absolute; right: -6%; top: -40%; width: 46%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 60px rgba(255, 255, 255, .03), 0 0 0 120px rgba(255, 255, 255, .02);
  pointer-events: none;
}
.prefooter__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) auto; align-items: end; gap: 32px 64px; padding-block: clamp(56px, 7vw, 96px); }
.prefooter .kicker { color: var(--gold-bright); }
.prefooter .kicker::before { background: var(--gold-bright); }
.prefooter h2 { color: #fff; max-width: 18ch; }
.prefooter__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .prefooter__inner { grid-template-columns: minmax(0, 1fr); align-items: start; } }

.footer { background: var(--night); color: var(--on-dark-muted); font-size: .9375rem; }
.footer__top { padding-block: clamp(56px, 6vw, 80px) 48px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .7fr) minmax(0, .7fr) minmax(0, 1.25fr); gap: 40px 48px; }
.footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer__brand img { width: 60px; height: 60px; object-fit: contain; background: #fff; border-radius: var(--r-sm); padding: 3px; }
.footer__brand strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: #fff; line-height: 1.2; }
.footer__desc { max-width: 42ch; line-height: 1.7; }
.footer__socials { display: flex; gap: 10px; margin-top: 24px; }
.footer__socials a {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: 1.15rem;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.footer__socials a:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--aubergine); }
.footer__socials img { width: 20px; height: 20px; object-fit: contain; border-radius: 4px; }
.footer__heading { font-family: var(--font-sans); font-size: .875rem; font-weight: 600; color: #fff; margin-bottom: 18px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { transition: color .2s var(--ease); }
.footer__links a:hover { color: var(--gold-bright); }
.footer__contact { display: grid; gap: 16px; }
.footer__contact li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.footer__contact i { color: var(--gold-bright); font-size: 1.1rem; line-height: 1.5; }
.footer__contact strong { display: block; color: #fff; font-weight: 600; font-size: .875rem; }
.footer__contact a { overflow-wrap: anywhere; }
.footer__contact a:hover { color: #fff; }
.footer__news { margin-top: 28px; }
.footer__news label { display: block; color: #fff; font-weight: 600; font-size: .875rem; margin-bottom: 10px; }
.footer__news-form { display: flex; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-sm); overflow: hidden; transition: border-color .2s var(--ease); }
.footer__news-form:focus-within { border-color: var(--gold-bright); }
.footer__news-form input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 0; background: transparent; color: #fff; font-size: .95rem; }
.footer__news-form input::placeholder { color: #9686ad; }
.footer__news-form input:focus { outline: none; }
.footer__news-form button { flex-shrink: 0; padding: 0 18px; background: var(--gold-bright); color: var(--aubergine); font-weight: 600; font-size: .9rem; }
.footer__news-form button:hover { background: var(--gold); }
.footer__news-msg { margin-top: 10px; font-size: .875rem; }
.footer__news-msg.ok { color: #6ce9a6; }
.footer__news-msg.err { color: #fda29b; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px; font-size: .875rem; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

.to-top {
  position: fixed; right: 24px; bottom: 96px; z-index: 90; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; background: #fff; color: var(--royal); font-size: 1.25rem; border: 1px solid var(--line);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--royal); color: #fff; }

.chat-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 95; width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 50%; background: var(--royal); color: #fff; font-size: 1.5rem;
  box-shadow: 0 14px 30px -10px rgba(94, 46, 128, .7); transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.chat-fab:hover { background: var(--aubergine-2); transform: scale(1.05); }
.chat-fab i { grid-area: 1 / 1; transition: opacity .2s var(--ease), transform .3s var(--ease); }
.chat-fab .ri-close-line { opacity: 0; transform: rotate(-90deg); }
.chat-fab.open .ri-close-line { opacity: 1; transform: none; }
.chat-fab.open .ri-message-3-line { opacity: 0; transform: rotate(90deg); }

.chat-panel {
  position: fixed; right: 24px; bottom: 96px; z-index: 96; width: min(380px, calc(100vw - 32px)); height: min(540px, calc(100dvh - 140px));
  display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); transform-origin: bottom right;
  transition: opacity .25s var(--ease), transform .3s var(--ease-out), visibility .3s;
}
.chat-panel.open { opacity: 1; visibility: visible; transform: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--aubergine); color: #fff; position: relative; }
.chat-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--band); }
.chat-head__avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-bright); color: var(--aubergine); font-size: 1.25rem; }
.chat-head__t strong { display: block; font-size: 1rem; }
.chat-head__t span { font-size: .8125rem; color: var(--on-dark-muted); }
.chat-head__close { margin-left: auto; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 1.2rem; }
.chat-head__close:hover { background: rgba(255, 255, 255, .1); }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--mist); }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .9375rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg.bot { align-self: flex-start; background: #fff; color: var(--text); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--royal); color: #fff; border-bottom-right-radius: 4px; }
.chat-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--orchid); animation: chatDot 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-foot { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-foot input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-size: .95rem; }
.chat-foot input:focus { outline: none; border-color: var(--amethyst); box-shadow: 0 0 0 3px rgba(123, 63, 160, .16); }
.chat-foot button { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--royal); color: #fff; font-size: 1.1rem; }
.chat-foot button:hover { background: var(--aubergine-2); }
@media (max-width: 560px) {
  .chat-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .to-top { right: 20px; bottom: 82px; width: 44px; height: 44px; }
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 82px; height: min(520px, calc(100dvh - 110px)); }
}

/* 14  Home page ----------------------------------------------------------- */

/* Hero */
.home-hero { position: relative; isolation: isolate; color: #fff; background: var(--aubergine); overflow: hidden; }
.home-hero__slider { position: absolute; inset: 0; z-index: -2; }
.home-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.home-hero__slide.is-active { opacity: 1; }
.home-hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.06); transition: transform 7s linear; }
.home-hero__slide.is-active img { transform: scale(1); }
.home-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 7, 34, .88) 0%, rgba(20, 7, 34, .62) 42%, rgba(20, 7, 34, .12) 75%),
    linear-gradient(0deg, rgba(20, 7, 34, .85) 0%, rgba(20, 7, 34, 0) 38%);
}
.home-hero__inner { display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(560px, calc(100svh - var(--header-h) - 40px), 820px); padding-block: clamp(72px, 10vw, 120px) 0; }
.home-hero__text { max-width: 760px; }
.home-hero__title { color: #fff; font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1.02; }
.home-hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.home-hero__title .line > span { display: block; animation: heroLine 1.1s var(--ease-out) both; }
.home-hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.home-hero__title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes heroLine { from { transform: translateY(105%); } to { transform: none; } }
.home-hero__lead { margin-top: 22px; max-width: 52ch; font-size: 1.1875rem; line-height: 1.6; color: rgba(255, 255, 255, .82); animation: heroFade 1s .45s var(--ease) both; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; animation: heroFade 1s .55s var(--ease) both; }
@keyframes heroFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.home-hero__bar {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: stretch;
  margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid rgba(255, 255, 255, .18);
}
.home-hero__stat { padding: 22px 24px 26px 0; min-width: 0; }
.home-hero__stat + .home-hero__stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .18); }
.home-hero__stat-val { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; color: #fff; white-space: nowrap; }
.home-hero__stat-val .plus { color: var(--gold-bright); }
.home-hero__stat-lbl { margin-top: 8px; font-size: .9rem; color: rgba(255, 255, 255, .72); }
.home-hero__controls { display: flex; align-items: center; gap: 14px; padding: 22px 0 26px 24px; border-left: 1px solid rgba(255, 255, 255, .18); }
.home-hero__count { font-size: .875rem; color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums; min-width: 52px; }
.home-hero__count b { color: #fff; font-weight: 600; }
.home-hero__arrow { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-size: 1.3rem; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.home-hero__arrow:hover { background: #fff; border-color: #fff; color: var(--aubergine); }
.home-hero__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); }
.home-hero__progress-fill { height: 100%; width: 0; background: var(--gold-bright); }
.home-hero__dots { display: none; }
@media (max-width: 860px) {
  .home-hero::before { background: linear-gradient(0deg, rgba(20, 7, 34, .94) 0%, rgba(20, 7, 34, .7) 48%, rgba(20, 7, 34, .3) 100%); }
  .home-hero__bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-hero__controls { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); padding: 16px 0 22px; }
  .home-hero__stat, .home-hero__stat + .home-hero__stat { padding: 18px 12px 18px 0; }
  .home-hero__stat + .home-hero__stat { padding-left: 14px; }
}
@media (max-width: 520px) {
  .home-hero__actions .btn { flex: 1 1 auto; }
  .home-hero__stat-val { font-size: 1.45rem; }
  .home-hero__stat-lbl { font-size: .8125rem; }
}

/* Who we are */
.home-about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.home-about__grid h2 { max-width: 12ch; }
.home-about__lead { font-family: var(--font-display); font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.4; color: var(--ink); margin-bottom: 22px; }
.home-about__body { color: var(--text); max-width: 64ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.fact i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--lilac); color: var(--royal); font-size: 1.15rem; }
.fact strong { display: block; color: var(--ink); font-size: 1rem; }
.fact span { display: block; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.home-about__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
@media (max-width: 900px) { .home-about__grid { grid-template-columns: minmax(0, 1fr); } .home-about__grid h2 { max-width: 18ch; } }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); } .fact:nth-child(even) { padding-left: 0; border-left: 0; } }

/* Focus areas mosaic */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.area { position: relative; min-width: 0; overflow: hidden; border-radius: var(--r); background: var(--aubergine-2); color: #fff; isolation: isolate; }
.area--lg { grid-column: span 2; grid-row: span 2; }
.area--wide { grid-column: span 2; }
.area__btn { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border-radius: var(--r); }
.area__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.area::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 7, 34, 0) 25%, rgba(20, 7, 34, .55) 55%, rgba(20, 7, 34, .94) 100%); transition: background .4s var(--ease); }
.area__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 22px; pointer-events: none; }
.area__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; line-height: 1.15; }
.area__title i { flex-shrink: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); font-size: 1rem; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.area__desc { margin-top: 10px; font-size: .925rem; line-height: 1.55; color: rgba(255, 255, 255, .82); max-width: 46ch; }
.area--lg .area__body { padding: 32px; }
.area--lg .area__title { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.area--lg .area__desc { font-size: 1.0625rem; }
.area:hover .area__img { transform: scale(1.05); }
.area:hover .area__title i, .area__btn:focus-visible + .area__body .area__title i { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--aubergine); }
.area.is-broken .area__img { display: none; }
@media (max-width: 1080px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } .area--lg { grid-row: span 1; min-height: 380px; } }
@media (max-width: 620px) { .areas { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(240px, auto); } .area--lg, .area--wide { grid-column: auto; } .area--lg { min-height: 320px; } }

/* Hall of fame marquee */
.hof { margin-top: clamp(32px, 4vw, 48px); display: grid; gap: 22px; }
.hof-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.hof-track { display: flex; gap: 20px; will-change: transform; }
.hof-card { flex: 0 0 auto; width: 190px; display: block; color: inherit; }
.hof-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--aubergine-2); }
.hof-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(.85); transition: transform .7s var(--ease-out), filter .4s var(--ease); }
.hof-card__fallback-icon { position: absolute; inset: 0; display: none; place-items: center; font-size: 2.2rem; color: rgba(255, 255, 255, .5); }
.hof-card__media--fallback .hof-card__fallback-icon { display: grid; }
.hof-card__body { display: block; padding-top: 12px; }
.hof-card__year { display: block; font-size: .8125rem; font-weight: 600; color: var(--gold-bright); }
.hof-card__name { display: block; margin-top: 2px; font-size: .9375rem; color: #fff; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hof-card:hover .hof-card__media img { transform: scale(1.05); filter: none; }
.hof-card:hover .hof-card__name { color: var(--gold-bright); }
@media (max-width: 700px) { .hof-card { width: 150px; } .hof-track { gap: 14px; } }

/* Statesmen */
.leaders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.leader { display: block; min-width: 0; color: inherit; }
.leader__img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--lilac); }
.leader__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: grayscale(.25); transition: transform .8s var(--ease-out), filter .5s var(--ease); }
.leader__body { padding-top: 18px; border-top: 2px solid var(--gold); margin-top: 18px; }
.leader__name { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: 1.2; color: var(--ink); }
.leader__title { margin-top: 6px; font-size: .9375rem; color: var(--text); line-height: 1.45; }
.leader__role { margin-top: 4px; font-size: .875rem; color: var(--muted); }
.leader__more { margin-top: 12px; }
a.leader:hover .leader__img img { transform: scale(1.04); filter: none; }
a.leader:hover .leader__name { color: var(--royal); }
@media (max-width: 1000px) { .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .leaders { grid-template-columns: minmax(0, 1fr); } .leader__img { aspect-ratio: 1 / 1; } }

/* Impact report: one lead story, two supporting */
.reports { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3vw, 44px); }
.reports__side { display: grid; gap: clamp(24px, 3vw, 36px); align-content: start; }
.report { display: block; color: inherit; min-width: 0; }
.report__img { position: relative; overflow: hidden; border-radius: var(--r); background: var(--lilac); aspect-ratio: 16 / 10; }
.report__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.report__body { padding-top: 18px; }
.report__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.2; color: var(--ink); transition: color .25s var(--ease); }
.report__text { margin-top: 10px; color: var(--muted); font-size: .975rem; }
.report__more { margin-top: 14px; }
.report--lead .report__img { aspect-ratio: 4 / 3; }
.report--lead .report__title { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.reports__side .report { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; align-items: start; }
.reports__side .report__img { aspect-ratio: 1 / 1; }
.reports__side .report__body { padding-top: 0; }
.report:hover .report__img img { transform: scale(1.035); }
.report:hover .report__title { color: var(--royal); }
.report:hover .link-arrow { background-size: 100% 1.5px; }
@media (max-width: 900px) { .reports { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .reports__side .report { grid-template-columns: minmax(0, 1fr); } .reports__side .report__img { aspect-ratio: 16 / 10; } .reports__side .report__body { padding-top: 0; } }

/* Impact figures band */
.impact-band { position: relative; overflow: hidden; }
.impact-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(60% 80% at 100% 0%, rgba(123, 63, 160, .45), transparent 70%);
}
.impact-band .container { position: relative; }
.impact-band .figures { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, .9fr); }
.impact-band .figure__num { font-size: clamp(1.7rem, 2.5vw, 2.4rem); }
@media (max-width: 1000px) { .impact-band .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); } .impact-band .figure { border-bottom: 1px solid rgba(255, 255, 255, .14); } .impact-band .figure:nth-child(3n) { border-right: 0; } }
@media (max-width: 760px) { .impact-band .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } .impact-band .figure:nth-child(3n) { border-right: 0; } .impact-band .figure:last-child { grid-column: 1 / -1; border-left: 0; padding-left: 0; } }

/* Newsletter */
.newsletter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.newsletter h2 { margin-bottom: 14px; }
.newsletter p { color: var(--muted); font-size: 1.0625rem; }
.newsletter__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.newsletter__form .field--email { grid-column: 1 / -1; }
.newsletter__submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.newsletter__note { font-size: .9375rem; font-weight: 500; }
.newsletter__note.ok { color: #05603a; }
.newsletter__note.err { color: #b42318; }
@media (max-width: 900px) { .newsletter { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .newsletter__form { grid-template-columns: minmax(0, 1fr); } .newsletter__submit .btn { width: 100%; } }

/* Image preview modal (focus areas) */
.img-modal__dialog {
  position: relative; z-index: 2; width: min(1040px, 100%); max-height: calc(100dvh - 48px); display: flex; flex-direction: column;
  overflow: hidden; border-radius: var(--r-lg); background: var(--night);
  transform: translateY(16px) scale(.98); transition: transform .4s var(--ease-out);
}
.modal.is-open .img-modal__dialog { transform: none; }
.img-modal__dialog img { width: 100%; min-height: 0; flex: 1; max-height: 74dvh; object-fit: contain; background: #0c0414; }
.img-modal__caption { padding: 18px 24px 22px; position: relative; }
.img-modal__caption::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--band); }
.img-modal__caption span { font-size: .8125rem; color: var(--gold-bright); font-weight: 600; }
.img-modal__caption h3 { margin-top: 4px; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: #fff; }
@media (max-width: 560px) { .modal { padding: 12px; } }

/* 15  Inner pages --------------------------------------------------------- */

/* About: mission, vision, values */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 36px 32px 8px 0; min-width: 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--royal); font-size: 1.4rem; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.pillar h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: 12px; }
.pillar p { color: var(--text); }
.pillar--featured .pillar__icon { background: var(--royal); color: var(--gold-bright); }
@media (max-width: 860px) { .pillars { grid-template-columns: minmax(0, 1fr); } .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* Programmes: icon rows */
.programmes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); }
.programme { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); min-width: 0; color: inherit; }
.programme__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--r); background: var(--lilac); color: var(--royal); font-size: 1.4rem; transition: background-color .25s var(--ease), color .25s var(--ease); }
.programme h3 { font-size: 1.2rem; margin-bottom: 6px; }
.programme p { color: var(--muted); font-size: .975rem; }
.programme__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 14px; font-size: .875rem; }
.programme__type { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); color: var(--muted); font-weight: 500; }
.programme__soon { color: var(--muted); font-style: italic; }
a.programme:hover .programme__icon { background: var(--royal); color: #fff; }
a.programme:hover h3 { color: var(--royal); }
a.programme:hover .link-arrow { background-size: 100% 1.5px; }
@media (max-width: 760px) { .programmes { grid-template-columns: minmax(0, 1fr); } }

/* FALA criteria steps */
.steps { display: grid; gap: clamp(56px, 8vw, 104px); }
.step-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: center; }
.step-row__media { grid-column: 1 / span 6; position: relative; }
.step-row__text { grid-column: 7 / span 6; min-width: 0; }
.step-row--flip .step-row__media { grid-column: 7 / span 6; order: 2; }
.step-row--flip .step-row__text { grid-column: 1 / span 6; order: 1; }
.step-row__media .frame__img { aspect-ratio: 5 / 4; }
.step-num { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; color: var(--royal); font-weight: 600; font-size: .9375rem; }
.step-num b { font-family: var(--font-display); font-weight: 400; font-size: 3.4rem; line-height: .9; color: var(--gold); }
.step-row__text h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 20px; }
.step-row__text .checklist { margin-bottom: 28px; }
@media (max-width: 900px) {
  .step-row { grid-template-columns: minmax(0, 1fr); }
  .step-row__media, .step-row__text, .step-row--flip .step-row__media, .step-row--flip .step-row__text { grid-column: 1 / -1; order: 0; }
}

.cta-panel { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 56px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-lg); background: var(--aubergine); color: var(--on-dark-muted); position: relative; overflow: hidden; }
.cta-panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--band); background-size: 100% 100%; background: linear-gradient(180deg, #e8559a 0 14.28%, #f29a1f 14.28% 28.56%, #f2d21b 28.56% 42.84%, #4caf50 42.84% 57.12%, #29b3c3 57.12% 71.4%, #2b3990 71.4% 85.68%, #7b3fa0 85.68% 100%); }
.cta-panel h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 12px; }
.cta-panel p { max-width: 60ch; }
.cta-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-panel { grid-template-columns: minmax(0, 1fr); } }

/* Winners: star prize strip */
.star-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.star { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: var(--r); background: var(--aubergine-2); color: #fff; isolation: isolate; }
.star img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .8s var(--ease-out); }
.star::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 7, 34, 0) 45%, rgba(20, 7, 34, .9) 100%); }
.star__info { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.star__year { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--gold-bright); }
.star__label { display: block; margin-top: 6px; font-size: .875rem; color: rgba(255, 255, 255, .85); }
.star:hover img { transform: scale(1.05); }
.star.is-current { box-shadow: 0 0 0 3px var(--gold-bright); }
@media (max-width: 1000px) {
  .star-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scrollbar-width: thin; }
  .star { flex: 0 0 min(240px, 62vw); scroll-snap-align: start; }
}

/* Winner citation modal */
.winner-modal__dialog {
  position: relative; z-index: 2; width: min(860px, 100%); max-height: calc(100dvh - 48px); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.98); transition: transform .4s var(--ease-out);
}
.modal.is-open .winner-modal__dialog { transform: none; }
.winner-modal__media { position: relative; background: var(--aubergine-2); min-height: 100%; }
.winner-modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.winner-modal__body { padding: 40px 36px 36px; overflow-y: auto; max-height: calc(100dvh - 48px); }
.winner-modal__year { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: var(--lilac); color: var(--royal); font-size: .8125rem; font-weight: 600; margin-bottom: 14px; }
.winner-modal__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; margin-bottom: 8px; }
.winner-modal__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9375rem; color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.winner-modal__meta span:empty { display: none; }
.winner-modal__section { margin-top: 22px; }
.winner-modal__section h4 { display: flex; align-items: center; gap: 8px; font-size: .9375rem; color: var(--royal); margin-bottom: 10px; }
.winner-modal__citation, .winner-modal__about { font-size: 1rem; line-height: 1.75; color: var(--text); }
.winner-modal__citation p + p, .winner-modal__about p + p { margin-top: 12px; }
.winner-modal__citation ul, .winner-modal__about ul { list-style: disc; padding-left: 1.2em; }
.winner-modal__citation ol, .winner-modal__about ol { list-style: decimal; padding-left: 1.2em; }
@media (max-width: 700px) {
  .modal--sheet { padding: 0; align-items: flex-end; }
  .winner-modal__dialog { grid-template-columns: minmax(0, 1fr); width: 100%; max-height: 92dvh; overflow-y: auto; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .winner-modal__media { aspect-ratio: 4 / 3; min-height: 0; }
  .winner-modal__body { max-height: none; overflow: visible; padding: 26px 22px 32px; }
}

/* Our impact: charts and country bars */
.chart-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); min-width: 0; }
.chart-panel h3 { font-size: 1.125rem; margin-bottom: 4px; }
.chart-panel p { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.chart-wrap { position: relative; height: 320px; }
.chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
@media (max-width: 900px) { .chart-grid { grid-template-columns: minmax(0, 1fr); } .chart-wrap { height: 280px; } }

.country-bars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); }
.country-bar { padding: 18px 0; border-top: 1px solid var(--line); min-width: 0; }
.country-bar__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.country-bar__name { font-weight: 600; color: var(--ink); }
.country-bar__count { font-size: .9rem; color: var(--muted); white-space: nowrap; }
.country-bar__track { height: 6px; border-radius: 6px; background: var(--lilac); overflow: hidden; }
.country-bar__fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--royal), var(--orchid)); transform-origin: left; }
@media (max-width: 760px) { .country-bars { grid-template-columns: minmax(0, 1fr); } }

/* Blog: featured story */
.featured { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; color: inherit; }
.featured__img { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; background: var(--lilac) center / cover no-repeat; }
.featured__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), opacity .5s var(--ease); }
.featured__label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 5px 12px; border-radius: 999px; background: var(--gold-bright); color: var(--aubergine); font-size: .8125rem; font-weight: 600; }
.featured h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 16px; transition: color .25s var(--ease); overflow-wrap: anywhere; }
.featured__excerpt { color: var(--muted); font-size: 1.0625rem; margin-bottom: 22px; }
.featured:hover .featured__img img { transform: scale(1.03); }
.featured:hover h2 { color: var(--royal); }
.featured:hover .link-arrow { background-size: 100% 1.5px; }
@media (max-width: 860px) { .featured { grid-template-columns: minmax(0, 1fr); } }

/* Blog post */
.post-head { background: var(--aubergine); color: var(--on-dark-muted); padding-top: clamp(48px, 6vw, 80px); position: relative; }
.post-head__inner { max-width: 900px; margin-inline: auto; padding-inline: var(--gutter); }
.post-head .breadcrumb { margin-bottom: 22px; }
.post-head__tag { display: inline-flex; margin-bottom: 18px; padding: 5px 12px; border-radius: 999px; background: var(--gold-bright); color: var(--aubergine); font-size: .8125rem; font-weight: 600; }
.post-head h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.1; max-width: 22ch; overflow-wrap: anywhere; }
.post-head__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font-size: .9375rem; }
.post-head__meta i { color: var(--gold-bright); margin-right: 6px; }
.post-cover { position: relative; max-width: 1100px; margin: clamp(36px, 5vw, 56px) auto 0; padding-inline: var(--gutter); }
.post-cover__frame { position: relative; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; aspect-ratio: 16 / 8; background: var(--aubergine-2); box-shadow: var(--shadow-lg); }
.post-cover__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.post-cover .band { border-radius: 0 0 2px 2px; }
.post-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: #fff; z-index: 0; }
.post-head__inner, .post-cover { position: relative; z-index: 1; }
@media (max-width: 640px) { .post-cover__frame { aspect-ratio: 4 / 3; } }

.post-body { font-size: 1.125rem; line-height: 1.8; color: var(--text); }
.post-body > * + * { margin-top: 1.2em; }
.post-body p:first-child::first-letter { float: left; font-family: var(--font-display); font-size: 4.2em; line-height: .82; margin: .06em .1em 0 0; color: var(--royal); }
.post-body h2, .post-body h3, .post-body h4 { margin-top: 1.8em; font-family: var(--font-display); font-weight: 400; }
.post-body h2 { font-size: 2rem; } .post-body h3 { font-size: 1.6rem; } .post-body h4 { font-size: 1.3rem; }
.post-body a { color: var(--royal); text-decoration: underline; text-underline-offset: 3px; }
.post-body ul { list-style: disc; padding-left: 1.3em; } .post-body ol { list-style: decimal; padding-left: 1.3em; }
.post-body li + li { margin-top: .4em; }
.post-body blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold); font-family: var(--font-display); font-size: 1.45rem; line-height: 1.45; color: var(--ink); }
.post-body img { border-radius: var(--r); }

.post-gallery { margin-top: 56px; }
.post-gallery__title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; }
.post-gallery__title span { font-family: var(--font-sans); font-size: .875rem; color: var(--muted); }
.post-gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.post-gallery__item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--lilac); }
.post-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.post-gallery__item::after { content: "\ee6b"; font-family: remixicon; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); opacity: 0; transition: opacity .25s var(--ease); }
.post-gallery__item:hover img { transform: scale(1.05); }
.post-gallery__item:hover::after, .post-gallery__item:focus-visible::after { opacity: 1; }

.post-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-share { display: flex; align-items: center; gap: 10px; }
.post-share strong { font-size: .9375rem; color: var(--ink); margin-right: 4px; }
.share-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--royal); font-size: 1.1rem; transition: all .2s var(--ease); }
.share-btn:hover { background: var(--royal); border-color: var(--royal); color: #fff; }

.falf-lb { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 56px 72px; background: rgba(12, 4, 20, .95); }
.falf-lb.is-open { display: flex; }
.falf-lb__img { max-width: 100%; max-height: 84dvh; object-fit: contain; border-radius: var(--r-sm); }
.falf-lb__close { position: absolute; top: 14px; right: 16px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 1.6rem; }
.falf-lb__close:hover, .falf-lb__nav:hover { background: rgba(255, 255, 255, .12); }
.falf-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-size: 1.6rem; }
.falf-lb__prev { left: 14px; } .falf-lb__next { right: 14px; }
.falf-lb__count { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: rgba(255, 255, 255, .75); font-size: .875rem; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .falf-lb { padding: 64px 10px; } .falf-lb__nav { top: auto; bottom: 8px; transform: none; width: 46px; height: 46px; } }

/* Contact */
.contact-list { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.contact-item__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--lilac); color: var(--royal); font-size: 1.25rem; }
.contact-item strong { display: block; font-size: .875rem; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.contact-item a, .contact-item span { color: var(--ink); font-size: 1.0625rem; font-weight: 500; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--royal); }

/* LIN */
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 32px; border-top: 1px solid var(--line); }
.benefit { padding: 22px 0; border-bottom: 1px solid var(--line); }
.benefit i { display: block; font-size: 1.4rem; color: var(--amethyst); margin-bottom: 10px; }
.benefit strong { display: block; color: var(--ink); font-size: 1.0625rem; margin-bottom: 4px; }
.benefit span { color: var(--muted); font-size: .95rem; }
@media (max-width: 560px) { .benefits { grid-template-columns: minmax(0, 1fr); } }
.ref-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; margin-bottom: 22px; border-radius: var(--r-sm); background: var(--mist); border: 1px solid var(--line); font-size: .9375rem; color: var(--text); }
.ref-note i { color: var(--royal); font-size: 1.15rem; line-height: 1.45; }
.ref-note--warn { background: #fffaeb; border-color: #fedf89; color: #93370d; }
.ref-note--warn i { color: #b54708; }
.form-fieldset { border: 0; padding: 0; }
.form-fieldset + .form-fieldset { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-fieldset legend { font-size: .9375rem; font-weight: 600; color: var(--royal); margin-bottom: 16px; }

/* Give now */
.give { background: var(--mist); padding-block: clamp(48px, 6vw, 88px) var(--section-y); }
.give-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.give-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 16ch; }
.give-hero p { font-size: 1.125rem; color: var(--muted); max-width: 46ch; }
.give-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.donation-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); }
.give .step { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--ink); font-size: 1.0625rem; font-weight: 600; }
.give .step b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--royal); color: #fff; font-size: .875rem; }
.give .step + * { margin-top: 0; }
.give .step--next { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }

.currency-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: var(--r); background: var(--mist); border: 1px solid var(--line); }
.currency-switch label, .amounts label { position: relative; cursor: pointer; min-width: 0; }
.currency-switch input, .amounts input, .pay-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.currency-switch span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px; border-radius: 6px; font-weight: 600; font-size: .9375rem; color: var(--muted); text-align: center; transition: all .2s var(--ease); }
.currency-switch label:hover span { color: var(--ink); }
.currency-switch input:checked + span { background: #fff; color: var(--royal); box-shadow: var(--shadow-sm); }
.currency-switch input:focus-visible + span, .amounts input:focus-visible + span, .pay-choice input:focus-visible + label { box-shadow: var(--focus); }

.amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.amounts span { display: grid; place-items: center; min-height: 56px; padding: 8px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; color: var(--ink); font-weight: 600; font-size: 1.0625rem; font-variant-numeric: tabular-nums; transition: all .2s var(--ease); }
.amounts label:hover span { border-color: var(--royal); }
.amounts input:checked + span { background: var(--royal); border-color: var(--royal); color: #fff; }
.custom { display: none; margin-top: 14px; }
.custom.show { display: block; }

.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.details .full { grid-column: 1 / -1; }

.pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pay-choice { position: relative; min-width: 0; }
.pay-choice label { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; height: 100%; padding: 18px; border: 1px solid var(--line-strong); border-radius: var(--r); background: #fff; cursor: pointer; transition: all .2s var(--ease); }
.pay-choice label:hover { border-color: var(--royal); }
.pay-icon { grid-row: span 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--lilac); color: var(--royal); font-size: 1.2rem; }
.pay-choice strong { color: var(--ink); font-size: 1rem; }
.pay-choice small { color: var(--muted); font-size: .875rem; line-height: 1.45; }
.pay-choice input:checked + label { border-color: var(--royal); background: #fbf8fd; box-shadow: inset 0 0 0 1px var(--royal); }
.pay-choice input:checked + label .pay-icon { background: var(--royal); color: var(--gold-bright); }

.payment-info { display: none; margin-top: 16px; padding: 20px; border-radius: var(--r); background: var(--mist); border: 1px solid var(--line); }
.payment-info.show { display: block; }
.payment-info > strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 6px; }
.bank-details { margin: 8px 0 10px; }
.bank-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line-strong); }
.bank-row:last-child { border-bottom: 0; }
.bank-row span { color: var(--muted); font-size: .9rem; }
.bank-row b { color: var(--ink); font-size: 1rem; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.bank-unavailable { color: #b42318; font-size: .9375rem; }
.wallet { font-family: var(--font-display); font-size: 2rem; letter-spacing: .12em; color: var(--royal); margin: 6px 0; }
.payment-info p { color: var(--muted); font-size: .9375rem; line-height: 1.55; }

.give .button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; margin-top: 28px; border-radius: var(--r-sm); background: var(--gold-bright); color: var(--aubergine); font-weight: 600; font-size: 1rem; box-shadow: 0 10px 24px -12px rgba(227, 169, 43, .9); transition: background-color .2s var(--ease), transform .2s var(--ease); }
.give .button:hover { background: var(--gold); transform: translateY(-1px); }
.give .button:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-message { display: none; margin-top: 14px; padding: 14px 16px; border-radius: var(--r-sm); background: #fef3f2; border: 1px solid #fecdca; color: #b42318; font-size: .9375rem; line-height: 1.55; }
.form-message.show { display: block; }
.form-message.ok { background: #ecfdf3; border-color: #abefc6; color: #05603a; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: .875rem; text-align: center; }

.give-aside { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--r-lg); overflow: hidden; background: var(--aubergine); color: var(--on-dark-muted); }
.give-aside__img { aspect-ratio: 16 / 10; background: var(--aubergine-2); }
.give-aside__img img { width: 100%; height: 100%; object-fit: cover; }
.give-aside__body { padding: clamp(22px, 3vw, 32px); }
.give-aside h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.give-aside > .give-aside__body > p { margin-bottom: 8px; }
.impact-line { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.impact-line:first-of-type { margin-top: 16px; }
.impact-line i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--gold-bright); font-size: 1.15rem; }
.impact-line b { display: block; color: #fff; font-size: 1rem; }
.impact-line span { display: block; font-size: .9rem; line-height: 1.5; margin-top: 2px; }
@media (max-width: 960px) { .give-hero, .give-layout { grid-template-columns: minmax(0, 1fr); } .give-aside { position: static; } }
@media (max-width: 640px) { .amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .details, .pay-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .currency-switch { grid-template-columns: minmax(0, 1fr); } }

/* Donation result pages */
.result { min-height: 60vh; display: grid; place-items: center; padding: clamp(56px, 8vw, 112px) var(--gutter); background: var(--mist); }
.result-card { width: 100%; max-width: 580px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.result-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--band); }
.result-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 20px; border-radius: 50%; font-size: 2.2rem; }
.result-icon--ok { background: #ecfdf3; color: #039855; }
.result-icon--wait { background: #fffaeb; color: #b54708; }
.result-icon--fail { background: #fef3f2; color: #d92d20; }
.result-card h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 14px; }
.result-card p { color: var(--muted); }
.result-card .reference { margin: 10px 0 0; padding: 14px; border-radius: var(--r-sm); background: var(--mist); border: 1px dashed var(--line-strong); color: var(--ink); font-weight: 600; letter-spacing: .04em; overflow-wrap: anywhere; }
.result-card .ref-label { margin-top: 20px; font-size: .875rem; }
.result-card .btn { margin-top: 28px; }

/* 404 */
.not-found { min-height: 64vh; display: grid; place-items: center; padding: clamp(64px, 10vw, 128px) var(--gutter); background: var(--aubergine); color: var(--on-dark-muted); text-align: center; position: relative; overflow: hidden; }
.not-found__code { font-family: var(--font-display); font-size: clamp(7rem, 22vw, 15rem); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px rgba(244, 182, 63, .7); margin-bottom: 18px; }
.not-found h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.not-found p { max-width: 46ch; margin: 0 auto 28px; }
.not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.not-found .band { position: absolute; left: 0; right: 0; bottom: 0; }

/* 16  Motion and accessibility ------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .home-hero__slide img { transform: none !important; }
}

@media print {
  .topbar, .nav, .prefooter, .footer, .chat-fab, .chat-panel, .to-top { display: none !important; }
}
.amounts label:last-child { grid-column: span 2; }
@media (max-width: 400px) { .figure__num, .impact-band .figure__num { font-size: 1.55rem; } }
@media (min-width: 901px) { .is-sticky { position: sticky; top: calc(var(--header-h) + 32px); } }
