/* ==========================================================================
   UNHRO — Modern institutional stylesheet
   Self-contained. Does not depend on legacy style.css / slider.css / team.css
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=Noto+Sans:wght@400;500;600;700&display=swap');

/* ---------- Design tokens ---------- */
:root {
  --royal-900: #0F2472;
  --royal-800: #1A3BB3;
  --royal-700: #2149C7;
  --royal-600: #3563DB;
  --cyan-500: #0891B2;
  --cyan-100: #E6EDFF;

  --green-600: #0E7C57;
  --green-500: #0E9F6E;
  --green-100: #E4F5EE;

  --flag-black: #111111;
  --flag-yellow: #FCDC04;
  --flag-red: #D21034;

  --gold-500: #F2C511;
  --gold-600: #D9AC00;

  --ink: #0F172A;
  --ink-soft: #334155;
  --muted: #52627A;
  --line: #DDE5ED;
  --line-soft: #EDF2F7;
  --surface: #FFFFFF;
  --surface-alt: #F5F9FC;
  --surface-tint: #EEF6FA;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-xs: 0 1px 2px rgba(15, 36, 114, .06);
  --shadow-sm: 0 2px 8px rgba(15, 36, 114, .08);
  --shadow-md: 0 8px 24px rgba(15, 36, 114, .10);
  --shadow-lg: 0 18px 48px rgba(15, 36, 114, .16);

  --container: 1240px;
  --gutter: 24px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --speed: 220ms;

  --z-nav: 50;
  --z-dropdown: 60;
  --z-overlay: 80;
  --z-toast: 90;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--royal-700); text-decoration: none; transition: color var(--speed) var(--ease); }
a:hover { color: var(--green-600); }

h1, h2, h3, h4, h5 {
  font-family: 'Figtree', 'Noto Sans', sans-serif;
  color: var(--ink);
  line-height: 1.22;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }
li { list-style: none; }

button { font: inherit; cursor: pointer; }

/* ---------- Focus visibility (WCAG) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--royal-700);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Dark surfaces need a light ring to stay visible */
.u-utility :focus-visible,
.u-nav :focus-visible,
.u-hero :focus-visible,
.u-footer :focus-visible { outline-color: var(--flag-yellow); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: var(--z-toast);
  background: var(--royal-800);
  color: #fff;
  padding: 12px 22px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: top var(--speed) var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Layout helpers ---------- */
.u-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.u-section { padding: clamp(56px, 7vw, 92px) 0; }
.u-section--tint { background: var(--surface-alt); }

.u-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Figtree', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--royal-600);
  background: var(--cyan-100);
  border: 1px solid #C9D8FF;
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.u-eyebrow svg { width: 15px; height: 15px; }

.u-section-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 52px); }
.u-section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

.u-rule {
  width: 68px; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--royal-700), var(--green-500));
  margin-top: 18px;
}

/* ---------- Uganda flag stripe ---------- */
.u-flagstrip { display: flex; height: 5px; width: 100%; }
.u-flagstrip span { flex: 1; }
.u-flagstrip span:nth-child(3n+1) { background: var(--flag-black); }
.u-flagstrip span:nth-child(3n+2) { background: var(--flag-yellow); }
.u-flagstrip span:nth-child(3n+3) { background: var(--flag-red); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.u-header { position: relative; z-index: var(--z-nav); background: var(--surface); }

/* Utility bar */
.u-utility { background: var(--royal-900); color: #CBD9E2; font-size: .845rem; }
.u-utility__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 44px; flex-wrap: wrap; padding-block: 4px;
}
.u-utility__links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.u-utility__links a {
  color: #CBD9E2; padding: 8px 12px; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: 7px; font-weight: 500;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.u-utility__links a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.u-utility__links svg { width: 15px; height: 15px; opacity: .8; }

.u-search { display: flex; align-items: center; }
.u-search__field {
  display: flex; align-items: stretch; gap: 0;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 0; padding: 0;
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.u-search__field:focus-within { background: rgba(255, 255, 255, .16); border-color: var(--gold-500); }
.u-search input {
  background: none; border: 0; outline: none; color: #fff;
  font-size: .86rem; width: 152px; padding: 8px 12px;
  /* Safari rounds type="search" natively, which breaks the square field */
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.u-search input::-webkit-search-decoration,
.u-search input::-webkit-search-cancel-button,
.u-search input::-webkit-search-results-button { -webkit-appearance: none; }
.u-search input::placeholder { color: #B9C7E8; }
.u-search button {
  border: 0; background: var(--gold-500); color: var(--royal-900);
  width: 38px; min-width: 38px; border-radius: 0;
  display: grid; place-items: center;
  transition: background var(--speed) var(--ease);
}
.u-search button:hover { background: var(--gold-600); }
.u-search button svg { width: 15px; height: 15px; }

/* Brand row */
.u-brand { background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.u-brand__inner {
  display: flex; align-items: center; gap: 22px;
  padding-block: 18px;
}
.u-brand__logo img { height: 78px; width: auto; }
.u-brand__text { flex: 1; min-width: 0; }
.u-brand__text h1 {
  font-size: clamp(1.02rem, 2.05vw, 1.6rem);
  line-height: 1.24; margin: 0; color: var(--royal-800);
  font-weight: 800; letter-spacing: -.01em; text-transform: uppercase;
}
.u-brand__text span {
  display: block; margin-top: 6px; font-size: .82rem;
  color: var(--muted); letter-spacing: .05em; text-transform: uppercase; font-weight: 600;
}
.u-brand__seal img { height: 74px; width: auto; }

/* Primary navigation */
.u-nav { background: var(--royal-800); position: relative; }
.u-nav.is-stuck { position: fixed; top: 0; left: 0; right: 0; box-shadow: var(--shadow-md); }
.u-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.u-menu { display: flex; flex-wrap: wrap; align-items: stretch; }
.u-menu > li { position: relative; }
.u-menu > li > a {
  display: flex; align-items: center; gap: 7px;
  padding: 16px 17px; min-height: 44px;
  color: #E2ECF2; font-family: 'Figtree', sans-serif;
  font-weight: 600; font-size: .935rem; letter-spacing: .005em;
  border-bottom: 3px solid transparent;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.u-menu > li > a:hover,
.u-menu > li:focus-within > a { background: rgba(255, 255, 255, .09); color: #fff; }
.u-menu > li > a.is-active { color: #fff; border-bottom-color: var(--flag-yellow); background: rgba(255, 255, 255, .07); }
.u-menu .u-caret { width: 13px; height: 13px; opacity: .75; transition: transform var(--speed) var(--ease); }
.u-menu > li:hover > a .u-caret { transform: rotate(180deg); }

/* Dropdowns — square panels that read as an extension of the blue bar */
.u-submenu {
  position: absolute; top: 100%; left: 0; min-width: 284px; max-width: 340px;
  background: var(--surface); border-radius: 0;
  border: 1px solid var(--line); border-top: 3px solid var(--gold-500);
  box-shadow: 0 18px 42px rgba(11, 31, 74, .18);
  padding: 0; opacity: 0; visibility: hidden;
  transform: translateY(6px); z-index: var(--z-dropdown);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility var(--speed);
}
.u-menu li:hover > .u-submenu,
.u-menu li:focus-within > .u-submenu { opacity: 1; visibility: visible; transform: translateY(0); }

.u-submenu li { position: relative; border-bottom: 1px solid var(--line-soft); }
.u-submenu li:last-child { border-bottom: 0; }
.u-submenu a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 18px; min-height: 46px; border-radius: 0;
  color: var(--ink-soft); font-size: .92rem; font-weight: 500; line-height: 1.45;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.u-submenu a:hover,
.u-submenu a:focus-visible {
  background: var(--surface-tint); color: var(--royal-700);
  box-shadow: inset 3px 0 0 var(--royal-700);
}
.u-submenu a svg { width: 13px; height: 13px; flex-shrink: 0; opacity: .55; }

.u-submenu .u-submenu {
  top: -1px; left: 100%; margin-left: 1px;
  border-top: 1px solid var(--line); border-left: 3px solid var(--gold-500); border-radius: 0;
}

/* Mobile toggle */
.u-navtoggle {
  display: none; align-items: center; gap: 10px;
  background: none; border: 0; color: #fff;
  font-family: 'Figtree', sans-serif; font-weight: 600;
  padding: 14px 4px; min-height: 48px;
}
.u-navtoggle svg { width: 24px; height: 24px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.u-hero { position: relative; background: var(--royal-900); overflow: hidden; }
.u-hero__viewport { position: relative; min-height: clamp(420px, 62vh, 620px); }

.u-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 900ms var(--ease);
}
.u-slide.is-active { opacity: 1; }
.u-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 42, 61, .93) 0%, rgba(15, 36, 114, .78) 45%, rgba(6, 42, 61, .42) 100%);
}

.u-hero__content {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  min-height: clamp(420px, 62vh, 620px);
  padding-block: 56px;
}
.u-hero__copy { max-width: 660px; }
.u-hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  border-left: 3px solid var(--gold-500);
  color: #E9F4F8; padding: 9px 16px; border-radius: 0;
  font-family: 'Figtree', sans-serif; font-size: .78rem;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 22px;
}
.u-hero__badge svg { width: 15px; height: 15px; }
.u-hero h2 {
  color: #fff; font-size: clamp(1.95rem, 4.3vw, 3.15rem);
  font-weight: 800; margin-bottom: 20px; letter-spacing: -.022em;
}
.u-hero h2 em { font-style: normal; color: var(--flag-yellow); }
.u-hero__lead {
  color: #D3E2EA; font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 58ch; margin-bottom: 32px;
}

.u-btnrow { display: flex; flex-wrap: wrap; gap: 14px; }
.u-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 28px; border-radius: 0;
  font-family: 'Figtree', sans-serif; font-weight: 700; font-size: .95rem;
  letter-spacing: .01em;
  border: 2px solid transparent; cursor: pointer;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease),
              border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.u-btn svg { width: 17px; height: 17px; }
.u-btn--primary {
  background: var(--gold-500); color: var(--royal-900);
  border-color: var(--gold-500);
  box-shadow: 0 6px 20px rgba(214, 173, 4, .34);
}
.u-btn--primary:hover {
  background: var(--gold-600); border-color: var(--gold-600);
  color: var(--royal-900); box-shadow: 0 8px 26px rgba(184, 146, 0, .44);
}
.u-btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); }
.u-btn--ghost:hover { background: #fff; color: var(--royal-800); border-color: #fff; }
.u-btn--solid { background: var(--royal-700); color: #fff; }
.u-btn--solid:hover { background: var(--royal-800); color: #fff; }
.u-btn--outline { border-color: var(--line); color: var(--royal-700); background: var(--surface); }
.u-btn--outline:hover { border-color: var(--royal-700); background: var(--surface-tint); color: var(--royal-800); }

/* Slider controls */
.u-hero__dots {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3;
  display: flex; justify-content: center; gap: 10px;
}
.u-hero__dots button {
  width: 40px; height: 5px; border-radius: 999px; border: 0; padding: 0;
  background: rgba(255, 255, 255, .38);
  transition: background var(--speed) var(--ease), width var(--speed) var(--ease);
}
.u-hero__dots button::after {
  content: ''; position: absolute; inset: -14px 0; /* 44px touch target */
}
.u-hero__dots button { position: relative; }
.u-hero__dots button:hover { background: rgba(255, 255, 255, .68); }
.u-hero__dots button[aria-selected="true"] { background: var(--flag-yellow); width: 58px; }

/* ==========================================================================
   TICKER
   ========================================================================== */
.u-ticker {
  background: var(--surface-tint);
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.u-ticker__inner { display: flex; align-items: stretch; gap: 0; min-height: 52px; }
.u-ticker__tag {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  background: var(--flag-red); color: #fff;
  font-family: 'Figtree', sans-serif; font-weight: 700; font-size: .74rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 0 16px; border-radius: 0; margin-right: 22px;
}
.u-ticker__tag svg { width: 14px; height: 14px; }

/* Marquee viewport */
.u-ticker__items {
  position: relative; flex: 1; min-width: 0;
  display: flex; align-items: center; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0, #000 94%, transparent 100%);
}
.u-ticker__track {
  display: flex; width: max-content; flex: none;
  animation: u-ticker-scroll 42s linear infinite;
}
.u-ticker__set { display: flex; gap: 44px; padding-right: 44px; }
.u-ticker__items a { color: var(--ink-soft); white-space: nowrap; font-weight: 500; }
.u-ticker__items a:hover { color: var(--green-600); }

.u-ticker:hover .u-ticker__track,
.u-ticker:focus-within .u-ticker__track { animation-play-state: paused; }

@keyframes u-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   QUICK ACCESS CARDS
   ========================================================================== */
.u-quickgrid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}
.u-quick {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px;
  box-shadow: var(--shadow-xs); cursor: pointer; position: relative; overflow: hidden;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease);
}
.u-quick::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--royal-700), var(--green-500));
  opacity: 0; transition: opacity var(--speed) var(--ease);
}
.u-quick:hover { border-color: #B9CAF2; box-shadow: var(--shadow-md); background: #FCFEFF; }
.u-quick:hover::before { opacity: 1; }
.u-quick__icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--cyan-100); color: var(--royal-700);
  border: 1px solid #CBD9FF;
}
.u-quick__icon svg { width: 26px; height: 26px; }
.u-quick h3 { margin: 0; font-size: 1.16rem; color: var(--royal-800); }
.u-quick p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.u-quick__more {
  margin-top: auto; padding-top: 6px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Figtree', sans-serif; font-weight: 700; font-size: .88rem;
  color: var(--green-600);
}
.u-quick__more svg { width: 15px; height: 15px; transition: transform var(--speed) var(--ease); }
.u-quick:hover .u-quick__more svg { transform: translateX(4px); }

/* ==========================================================================
   DIRECTOR FOREWORD
   ========================================================================== */
.u-foreword { display: grid; gap: clamp(30px, 4vw, 54px); grid-template-columns: minmax(0, 320px) minmax(0, 1fr); align-items: start; }

.u-portrait {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-sm); position: sticky; top: 24px;
}
.u-portrait img { width: 100%; aspect-ratio: 3 / 3.4; object-fit: cover; object-position: top center; }
.u-portrait__cap { padding: 20px; background: var(--surface); border-top: 3px solid var(--green-500); text-align: center; }
.u-portrait__cap h3 { font-size: 1.03rem; margin: 0 0 4px; color: var(--royal-800); }
.u-portrait__cap span {
  display: block; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--green-600);
}

.u-prose { color: var(--ink-soft); font-size: 1.03rem; }
.u-prose p { max-width: 74ch; }
.u-prose__lead { font-size: 1.16rem; color: var(--ink); font-weight: 500; }
.u-prose__sign {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line);
  font-family: 'Figtree', sans-serif; font-weight: 700; color: var(--royal-800);
}
.u-prose__sign span { display: block; font-weight: 500; font-size: .9rem; color: var(--muted); }

/* Read-more disclosure */
.u-more { display: none; }
.u-more.is-open { display: block; }
.u-morebtn { margin-top: 6px; }

/* ==========================================================================
   PILLARS (Vision / Mission / Goal / Values)
   ========================================================================== */
.u-pillars { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.u-pillar {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow-xs); position: relative;
  transition: box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.u-pillar:hover { box-shadow: var(--shadow-md); border-color: #B9CAF2; background: #FCFEFF; }
.u-pillar--wide { grid-column: 1 / -1; }
.u-pillar__icon {
  width: 58px; height: 58px; border-radius: var(--radius);
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--green-100); color: var(--green-600); border: 1px solid #C9E9DB;
}
.u-pillar__icon svg { width: 27px; height: 27px; }
.u-pillar h3 { color: var(--royal-800); margin-bottom: 10px; }
.u-pillar p { color: var(--muted); margin-bottom: 0; font-size: .99rem; }

.u-values { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 6px; }
.u-value {
  background: var(--surface-alt); border: 1px solid var(--line-soft);
  border-left: 4px solid var(--green-500);
  border-radius: var(--radius); padding: 20px 22px;
}
.u-value h4 { margin: 0 0 6px; color: var(--royal-800); font-size: 1rem; }
.u-value p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.62; }

/* ==========================================================================
   AWARENESS / CAMPAIGN GRID
   ========================================================================== */
.u-campaign { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.u-campaign figure {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xs);
  transition: box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.u-campaign figure:hover { box-shadow: var(--shadow-md); border-color: #B9CAF2; }
.u-campaign img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--surface-alt); }
.u-campaign figcaption {
  padding: 14px 18px; font-family: 'Figtree', sans-serif;
  font-weight: 700; font-size: .92rem; color: var(--royal-800);
  border-top: 1px solid var(--line-soft);
}

/* ==========================================================================
   ANNOUNCEMENTS
   ========================================================================== */
.u-announce { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.u-announce a {
  display: flex; align-items: flex-start; gap: 15px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
  box-shadow: var(--shadow-xs); color: var(--ink-soft); font-weight: 500;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease);
}
.u-announce a:hover { border-color: #B9CAF2; box-shadow: var(--shadow-sm); background: #FCFEFF; color: var(--royal-800); }
.u-announce__ico {
  width: 40px; height: 40px; min-width: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--cyan-100); color: var(--royal-700); border: 1px solid #CBD9FF;
}
.u-announce__ico svg { width: 19px; height: 19px; }
.u-announce span { line-height: 1.55; font-size: .96rem; }

/* ==========================================================================
   PARTNER LINKS
   ========================================================================== */
.u-partners { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.u-partners a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; min-height: 44px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); font-weight: 600; font-size: .94rem;
  color: var(--ink-soft);
  transition: border-color var(--speed) var(--ease), color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.u-partners a:hover { border-color: var(--green-500); color: var(--green-600); background: var(--green-100); }
.u-partners svg { width: 15px; height: 15px; flex-shrink: 0; opacity: .65; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.u-footer { background: var(--royal-900); color: #B6C8D4; margin-top: 0; }
.u-footer__grid {
  display: grid; gap: clamp(30px, 4vw, 52px);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  padding-block: clamp(48px, 6vw, 72px);
}
.u-footer h4 {
  color: #fff; font-size: .82rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.u-footer__logo img { max-width: 210px; margin-bottom: 20px; }
.u-footer p { font-size: .94rem; line-height: 1.72; }
.u-footer a { color: #B6C8D4; }
.u-footer a:hover { color: #fff; }

.u-footer__list li { margin-bottom: 11px; }
.u-footer__list a {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .93rem; line-height: 1.55;
}
.u-footer__list svg { width: 14px; height: 14px; margin-top: 5px; flex-shrink: 0; color: var(--flag-yellow); opacity: .85; }

.u-contact li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 13px; font-size: .94rem; line-height: 1.6;
}
.u-contact svg { width: 17px; height: 17px; margin-top: 3px; flex-shrink: 0; color: var(--cyan-500); }

.u-social { display: flex; gap: 10px; margin-top: 22px; }
.u-social a {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.u-social a:hover { background: var(--green-500); border-color: var(--green-500); }
.u-social svg { width: 19px; height: 19px; color: #fff; }

.u-copy { border-top: 1px solid rgba(255, 255, 255, .12); }
.u-copy__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; padding-block: 22px; font-size: .875rem;
}
.u-copy__links { display: flex; flex-wrap: wrap; gap: 6px; }
.u-copy__links a { padding: 8px 12px; border-radius: var(--radius-sm); }
.u-copy__links a:hover { background: rgba(255, 255, 255, .09); }

/* Back to top */
.u-top {
  position: fixed; right: 22px; bottom: 22px; z-index: var(--z-overlay);
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--royal-700); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease),
              visibility var(--speed), background var(--speed) var(--ease);
}
.u-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.u-top:hover { background: var(--green-500); }
.u-top svg { width: 21px; height: 21px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .u-footer__grid { grid-template-columns: 1fr 1fr; }
  .u-footer__brandcol { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .u-foreword { grid-template-columns: 1fr; }
  .u-portrait { position: static; max-width: 320px; }

  .u-navtoggle { display: inline-flex; }
  .u-nav__inner { flex-wrap: wrap; }

  .u-menu {
    display: none; width: 100%; flex-direction: column;
    padding-bottom: 12px; max-height: 74vh; overflow-y: auto;
  }
  .u-menu.is-open { display: flex; }
  .u-menu > li { width: 100%; }
  .u-menu > li > a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .u-menu > li > a.is-active { border-bottom-color: var(--flag-yellow); }
  .u-menu .u-caret { margin-left: auto; }

  .u-submenu,
  .u-submenu .u-submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: rgba(255, 255, 255, .05);
    border: 0; border-left: 3px solid var(--gold-500);
    border-radius: 0; margin: 4px 0 8px 10px; padding: 0;
    display: none; min-width: 0; max-width: none;
  }
  .u-submenu.is-open { display: block; }
  .u-submenu li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .u-submenu a { color: #D6E3EB; padding: 12px 14px; }
  .u-submenu a:hover,
  .u-submenu a:focus-visible { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .u-brand__inner { flex-wrap: wrap; gap: 14px; justify-content: center; text-align: center; }
  .u-brand__text { flex-basis: 100%; order: 3; }
  .u-brand__logo img, .u-brand__seal img { height: 60px; }
  .u-utility__inner { justify-content: center; }
  .u-search input { width: 120px; }
  .u-hero__viewport, .u-hero__content { min-height: 460px; }
  .u-btnrow .u-btn { flex: 1 1 100%; }
  .u-footer__grid { grid-template-columns: 1fr; }
  .u-copy__inner { justify-content: center; text-align: center; }
  .u-campaign { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .u-campaign { grid-template-columns: 1fr; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .u-slide { transition: none; }
  .u-ticker__track { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .u-utility, .u-nav, .u-hero, .u-ticker, .u-top, .u-social { display: none !important; }
  body { color: #000; font-size: 12pt; }
}

/* ==========================================================================
   EDITORIAL SECTIONS — Swiss / magazine layouts (homepage body)
   Each section has a distinct composition. Royal blue is the only accent.
   ========================================================================== */

.u-kicker {
  display: block;
  margin: 0 0 18px;
  font-family: 'Figtree', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--royal-700);
}
.u-kicker--on-dark { color: #A8BBFF; }

.u-textbtn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px; padding: 0; min-height: 44px;
  background: none; border: 0; border-bottom: 2px solid var(--royal-700);
  color: var(--royal-700); font-family: 'Figtree', sans-serif;
  font-weight: 700; font-size: .95rem; border-radius: 0;
  transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.u-textbtn:hover { color: var(--royal-900); border-color: var(--royal-900); }

/* ---------- 01 INDEX (quick access) ---------- */
.u-index { background: var(--surface); border-top: 1px solid var(--line); }
.u-index__layout {
  display: grid; gap: clamp(40px, 6vw, 80px);
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
  align-items: start;
}
.u-index__intro { position: sticky; top: 88px; }
.u-index__intro h2 {
  font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800;
  letter-spacing: -.03em; margin: 0 0 22px; color: var(--ink);
}
.u-index__intro p { color: var(--muted); font-size: 1.05rem; max-width: 34ch; margin: 0; }

.u-index__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.u-index__list li { border-bottom: 1px solid var(--line); }
.u-index__list a {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 32px;
  gap: 20px; align-items: center;
  padding: 26px 4px; color: var(--ink); min-height: 44px;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.u-index__list a:hover { background: var(--cyan-100); color: var(--royal-800); }
.u-index__n {
  font-family: 'Figtree', sans-serif; font-weight: 800;
  font-size: 1.35rem; letter-spacing: -.02em; color: var(--royal-700);
}
.u-index__body { display: flex; flex-direction: column; gap: 6px; }
.u-index__body strong {
  font-family: 'Figtree', sans-serif; font-size: 1.18rem;
  font-weight: 700; letter-spacing: -.015em; color: inherit;
}
.u-index__body em {
  font-style: normal; font-size: .95rem; line-height: 1.55;
  color: var(--muted); max-width: 54ch;
}
.u-index__arrow {
  font-size: 1.35rem; color: var(--royal-700);
  transition: transform var(--speed) var(--ease);
}
.u-index__list a:hover .u-index__arrow { transform: translateX(5px); }

/* ---------- 02 EDITORIAL FOREWORD ---------- */
.u-edito {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-top: clamp(64px, 8vw, 100px);
}
.u-edito__grid {
  display: grid; gap: clamp(36px, 5vw, 72px);
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: start; margin-top: 28px;
}
.u-edito__aside { position: sticky; top: 88px; }
.u-edito__portrait {
  margin: 0; overflow: hidden;
  border-radius: 0; /* editorial — sharp corners */
  aspect-ratio: 3 / 3.7;
  background: var(--surface-alt);
}
.u-edito__portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.u-edito__byline {
  margin-top: 18px; padding-top: 16px;
  border-top: 3px solid var(--royal-700);
}
.u-edito__byline strong {
  display: block; font-family: 'Figtree', sans-serif;
  font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 4px;
}
.u-edito__byline span {
  display: block; font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--royal-700);
}

.u-edito__pull {
  margin: 0 0 36px; padding: 0 0 0 28px;
  border-left: 4px solid var(--royal-700);
  font-family: 'Figtree', sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  font-weight: 700; line-height: 1.28; letter-spacing: -.02em;
  color: var(--ink);
}
.u-edito__body { max-width: 68ch; }
.u-edito__lede {
  font-size: 1.12rem; color: var(--ink); font-weight: 500; line-height: 1.75;
}
.u-edito__lede::first-letter {
  float: left; font-family: 'Figtree', sans-serif;
  font-size: 4.4rem; font-weight: 800; line-height: .82;
  padding: 8px 12px 0 0; color: var(--royal-700);
}
.u-edito__body p { color: var(--ink-soft); margin: 0 0 1.15em; }
/* Managed foreword text: the opening paragraph gets the lede treatment */
.u-edito__message > p:first-child {
  font-size: 1.12rem; color: var(--ink); font-weight: 500; line-height: 1.75;
}
.u-edito__message > p:first-child::first-letter {
  float: left; font-family: 'Figtree', sans-serif;
  font-size: 4.4rem; font-weight: 800; line-height: .82;
  padding: 8px 12px 0 0; color: var(--royal-700);
}
.u-more.u-edito__message > p:first-child {
  font-size: 1rem; font-weight: 400; color: var(--ink-soft); line-height: 1.7;
}
.u-more.u-edito__message > p:first-child::first-letter {
  float: none; font-size: inherit; font-weight: inherit;
  line-height: inherit; padding: 0; color: inherit;
}
.u-edito__message h3 {
  font-family: 'Figtree', sans-serif; font-size: 1.15rem;
  color: var(--ink); margin: 1.6em 0 .5em;
}
.u-edito__message ul, .u-edito__message ol { margin: 0 0 1.15em 1.25em; color: var(--ink-soft); }
.u-edito__message li { margin-bottom: .45em; }
.u-edito__message a { color: var(--royal-700); text-decoration: underline; }
.u-edito__sign {
  display: flex; align-items: center; gap: 22px;
  margin-top: 36px; padding-top: 8px;
}
.u-edito__signline {
  width: 56px; height: 2px; background: var(--royal-700); flex-shrink: 0;
}
.u-edito__sign strong {
  display: block; font-family: 'Figtree', sans-serif;
  font-size: 1rem; color: var(--ink);
}
.u-edito__sign em {
  display: block; font-style: normal; font-size: .88rem; color: var(--muted);
}

/* ---------- 03 MANIFESTO (light) ---------- */
.u-manifesto {
  background: var(--surface);
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-block: clamp(72px, 9vw, 120px);
}
.u-manifesto__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.u-manifesto__head h2 {
  color: var(--ink); font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 800; letter-spacing: -.03em; margin: 0;
}

.u-manifesto__stack { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.u-manif {
  display: grid; gap: 24px;
  grid-template-columns: 64px minmax(0, 200px) minmax(0, 1fr);
  padding: clamp(28px, 3.5vw, 42px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.u-manif__icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: var(--surface-alt);
  border: 1px solid var(--line);
}
.u-manif__icon img { width: 36px; height: 36px; object-fit: contain; }
.u-manif__label {
  font-family: 'Figtree', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.1;
  color: var(--royal-700);
}
.u-manif p {
  margin: 0; max-width: 62ch; font-size: 1.05rem;
  line-height: 1.72; color: var(--ink-soft);
}

.u-manifesto__values { margin-top: clamp(48px, 6vw, 72px); }
.u-manifesto__values .u-kicker { margin-bottom: 22px; }
.u-manifesto__values ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0; grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
}
.u-manifesto__values li {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.u-manifesto__values li:last-child { border-right: 0; padding-right: 0; }
.u-manifesto__values li > span {
  font-family: 'Figtree', sans-serif; font-weight: 800;
  font-size: 1.05rem; color: var(--royal-700);
}
.u-manifesto__values strong {
  display: block; font-family: 'Figtree', sans-serif;
  font-size: 1.08rem; color: var(--ink); margin-bottom: 8px;
}
.u-manifesto__values em {
  display: block; font-style: normal; font-size: .94rem;
  line-height: 1.6; color: var(--muted);
}

.u-policy {
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(28px, 4vw, 40px);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-left: 4px solid var(--royal-700);
  display: grid; gap: 20px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}
.u-policy__mark {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: 'Figtree', sans-serif; font-weight: 800;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--royal-700);
}
.u-policy p {
  margin: 0; font-size: 1.02rem; line-height: 1.72;
  color: var(--ink-soft); max-width: 78ch;
}

/* ---------- 04 PHOTO ESSAY (Ebola) ---------- */
.u-essay {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
}
.u-essay__head {
  display: grid; gap: 28px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: end; margin-bottom: clamp(36px, 5vw, 56px);
}
.u-essay__head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800;
  letter-spacing: -.03em; margin: 0; color: var(--ink);
}
.u-essay__head > p {
  margin: 0; color: var(--muted); font-size: 1.05rem;
  max-width: 38ch; justify-self: end;
}
.u-essay__strip {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}
.u-essay__strip figure { margin: 0; }
.u-essay__strip img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  background: var(--surface); filter: saturate(.92);
  transition: filter var(--speed) var(--ease);
}
.u-essay__strip figure:hover img { filter: saturate(1.05); }
.u-essay__strip figcaption {
  display: flex; align-items: baseline; gap: 12px;
  margin-top: 12px; font-family: 'Figtree', sans-serif;
  font-weight: 700; font-size: .92rem; color: var(--ink);
}
.u-essay__strip figcaption span {
  font-size: .78rem; letter-spacing: .1em;
  color: var(--royal-700);
}

/* ---------- 05 GAZETTE (announcements) ---------- */
.u-gazette { background: var(--surface); border-top: 1px solid var(--line); }
.u-gazette__layout {
  display: grid; gap: clamp(40px, 6vw, 80px);
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr);
  align-items: start;
}
.u-gazette__intro { position: sticky; top: 88px; }
.u-gazette__intro h2 {
  font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800;
  letter-spacing: -.03em; margin: 0 0 18px; color: var(--ink);
}
.u-gazette__intro p { margin: 0; color: var(--muted); max-width: 32ch; }

.u-gazette__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.u-gazette__list li { border-bottom: 1px solid var(--line); }
.u-gazette__list a {
  display: grid; grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px; align-items: baseline;
  padding: 22px 4px; color: var(--ink); min-height: 44px;
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.u-gazette__list a:hover { color: var(--royal-700); background: var(--cyan-100); }
.u-gazette__list span {
  font-family: 'Figtree', sans-serif; font-weight: 800;
  font-size: .95rem; color: var(--royal-700);
}
.u-gazette__list strong {
  font-family: 'Noto Sans', sans-serif; font-weight: 500;
  font-size: 1.02rem; line-height: 1.5;
}

/* ---------- 06 DIRECTORY (partners) ---------- */
.u-directory {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-bottom: clamp(72px, 9vw, 120px);
}
.u-directory__head { margin-bottom: clamp(32px, 4vw, 48px); }
.u-directory__head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800;
  letter-spacing: -.025em; margin: 0; color: var(--ink);
}
.u-directory__cols {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0 48px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}
.u-directory__cols li { border-bottom: 1px solid var(--line); }
.u-directory__cols a {
  display: block; padding: 20px 0; min-height: 44px;
  font-family: 'Figtree', sans-serif; font-weight: 600;
  font-size: 1.02rem; color: var(--ink);
  position: relative;
}
.u-directory__cols a::after {
  content: ''; position: absolute; left: 0; bottom: 18px;
  width: 0; height: 2px; background: var(--royal-700);
  transition: width var(--speed) var(--ease);
}
.u-directory__cols a:hover { color: var(--royal-700); }
.u-directory__cols a:hover::after { width: 40px; }

/* Hide leftover generic helpers when unused */
.u-eyebrow, .u-rule { display: none !important; }

/* ---------- Editorial responsive ---------- */
@media (max-width: 960px) {
  .u-index__layout,
  .u-edito__grid,
  .u-gazette__layout,
  .u-essay__head { grid-template-columns: 1fr; }
  .u-index__intro, .u-edito__aside, .u-gazette__intro { position: static; }
  .u-edito__portrait { max-width: 320px; }
  .u-essay__head > p { justify-self: start; }
  .u-manif { grid-template-columns: 56px minmax(0, 1fr); gap: 18px; }
  .u-manif__icon { width: 56px; height: 56px; }
  .u-manif__label { grid-column: 2; }
  .u-manif p { grid-column: 2; margin-top: 10px; }
  .u-manifesto__values ul { grid-template-columns: 1fr; }
  .u-manifesto__values li {
    border-right: 0; border-bottom: 1px solid var(--line);
    padding: 22px 0;
  }
  .u-policy { grid-template-columns: 1fr; }
  .u-policy__mark {
    writing-mode: horizontal-tb; transform: none;
    letter-spacing: .18em;
  }
  .u-essay__strip { grid-template-columns: repeat(2, 1fr); }
  .u-directory__cols { grid-template-columns: 1fr 1fr; gap: 0 28px; }
}
@media (max-width: 560px) {
  .u-index__list a { grid-template-columns: 44px minmax(0, 1fr); }
  .u-index__arrow { display: none; }
  .u-essay__strip { grid-template-columns: 1fr 1fr; gap: 12px; }
  .u-directory__cols { grid-template-columns: 1fr; }
  .u-edito__lede::first-letter,
  .u-edito__message > p:first-child::first-letter { font-size: 3.4rem; }
}

/* Visually hidden but available to assistive tech */
.u-sronly {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* Foreword now leads with the pull quote — tighten the top */
.u-edito__grid { margin-top: 0; }
