/* Screenshot-led refinement: a quiet, architectural interface. */
:root { --action-border: #9cabb2; }
svg { stroke-width: 1.5; }
.header-tools { gap: 16px; }
.header .menu-toggle { border: 0; border-radius: 0; background: none; width: 36px; height: 44px; gap: 6px; }
.header .menu-toggle span { width: 23px; height: 1px; }
.icon-button, .cap-icon, .expertise-icon, .round-link, .member-open { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.icon-button:hover, .round-link:hover { background: transparent; color: var(--blue); }
.cap-icon svg, .expertise-icon svg { width: 34px; height: 34px; stroke-width: 1.4; }
.expertise-path > .expertise-icon { border: 0; border-radius: 0; background: none; padding: 0; justify-content: start; }
.expertise-feature .expertise-icon { border: 0; background: none; justify-content: start; }
.story-arrow { background: transparent; color: white; filter: drop-shadow(0 1px 3px #102d43); }
.member-open { color: white; filter: drop-shadow(0 1px 2px #102d43); }

/* One outline button treatment, reversed on dark sections. */
.button, .text-link, .hero-secondary {
  display: inline-flex; align-items: center; justify-content: space-between;
  min-height: 52px; gap: 28px; padding: 15px 23px;
  border: 1px solid var(--action-border); border-radius: 0;
  background: transparent; color: var(--ink); font-size: 12px; font-weight: 500;
  transition: color .2s, background .2s, border-color .2s;
}
.button svg, .text-link svg { width: 21px; height: 21px; }
.button:hover, .text-link:hover, .hero-secondary:hover { background: var(--ink); border-color: var(--ink); color: white; transform: none; }
.button:hover svg, .text-link:hover svg { transform: translateX(3px); }
:is(.hero,.initiative,.presence,.join,.page-callout,.focus-solid,.conference-hero,.document-cover) :is(.button,.text-link,.hero-secondary) {
  background: transparent; border: 1px solid #d6e8f17a; color: #fff;
}
:is(.hero,.initiative,.presence,.join,.page-callout,.focus-solid,.conference-hero,.document-cover) :is(.button,.text-link,.hero-secondary):hover {
  background: var(--ivory); border-color: var(--ivory); color: var(--navy);
}
.header .header-cta { min-height: 44px; padding: 12px 16px; font-size: 10px; gap: 16px; }


/* A single, sourced statement sits between the hero and the introduction. */
.unf-status {
  background: var(--unf-blue);
  color: #fff;
  padding: 9px var(--gutter);
}
.unf-status-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 24px;
  margin-inline: auto;
  font: 400 .9375rem/1.55 DM, sans-serif;
}
.unf-status-inner p { margin: 0; color: #fff; }
.unf-status-inner a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  font-size: .8125rem;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: #a3c9ea;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.unf-status-inner a svg { width: 13px; height: 13px; }
.unf-status-inner a:is(:focus-visible,:hover) { text-decoration-color: #fff; }
@media (max-width: 1200px) {
  .unf-status-inner { justify-content: flex-start; }
}
@media (max-width: 960px) {
  .unf-status { padding-block: 13px; }
  .unf-status-inner { display: block; line-height: 1.55; }
  .unf-status-inner p { display: inline; }
  .unf-status-inner a { display: inline; margin-inline-start: .35em; padding-block: .3em; }
  .unf-status-inner a svg { display: inline-block; margin-left: 3px; vertical-align: -.1em; }
}

/* Align the three expertise symbols with their headings. */
@media (min-width: 901px) {
  .expertise-path {
    grid-template-columns: 30px minmax(0, 1fr) 16px;
    grid-template-rows: auto 1fr;
    column-gap: 14px;
    row-gap: 10px;
    align-items: center;
    padding-top: 22px;
  }
  .expertise-path > .expertise-icon {
    grid-area: 1 / 1;
    width: 30px;
    height: 30px;
    margin: 0;
  }
  .expertise-path > .expertise-icon svg { width: 28px; height: 28px; stroke-width: 1.6; }
  .expertise-path > div { display: contents; }
  .expertise-path h3 { grid-area: 1 / 2; margin: 0; font-size: clamp(24px, 2vw, 32px); line-height: 1.15; }
  .expertise-path p { grid-area: 2 / 2 / 3 / 4; margin: 0; max-width: 39ch; align-self: start; }
  .expertise-path > svg { grid-area: 1 / 3; width: 16px; height: 16px; margin: 0; }
}

/* Office selectors and filters use rules and type instead of pills. */
.office-switcher { display: none; }
.office-panel { background: none; border: 0; padding: 0; }
.office-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 20px; row-gap: 0; margin: 18px 0 28px; }
.office-tabs button { border: 0; border-bottom: 1px solid #ffffff30; border-radius: 0; background: transparent; color: #b6cad7; text-align: left; padding: 12px 0; min-height: 44px; font-size: 12px; transition: color .2s, border-color .2s; }
.office-tabs button.is-selected { background: transparent; color: white; border-color: #b3dfed; box-shadow: 0 1px 0 #b3dfed; }
.office-tabs button:hover { color: white; border-color: white; }
.office-detail { padding-top: 8px; }
.office-panel .text-link { min-height: 52px; padding: 15px 20px; margin-top: 24px; font-size: 11px; }
.filter-chips button, .language-tabs button { border: 0; border-bottom: 1px solid #b3c1c8; border-radius: 0; background: none; color: var(--muted); padding: 12px 4px; }
.filter-chips button.is-selected, .language-tabs button[aria-selected=true] { color: var(--unf-blue); border-color: var(--unf-blue); background: none; box-shadow: 0 1px 0 var(--unf-blue); }
.filter-chips button:hover, .language-tabs button:hover { background: none; color: var(--ink); }
.filter-chips, .language-tabs { gap: 20px; }

@media (max-width: 1100px) {
  .header .header-cta { display: none; }
  .header-tools { gap: 10px; }
  .desktop-nav { gap: 18px; }
}
@media (max-width: 800px) {
  .header { padding-inline: 22px; gap: 8px; }
  .header-tools { gap: 8px; }
}
@media (max-width: 600px) {
  .header { height: 78px; padding-inline: 20px; }
  .header .brand { gap: 8px; }
  .header .brand-symbol { width: 37px; height: 42px; }
  .header .brand-name { font-size: 9px; letter-spacing: .045em; }
  .header .brand-name span { font-size: 7px; }
  .header-tools { gap: 4px; }
  .header .menu-toggle { width: 31px; }
  .header .menu-toggle span { width: 21px; }
  .hero-content, .initiative-copy, .page-callout, .join, .programme-document > div, .fundraise-feature > div:first-child { text-align: center; }
  .hero-content { width: 100%; }
  .hero-description { margin-inline: auto; }
  .hero-eyebrow, .initiative-copy > .eyebrow, .join .eyebrow, .page-callout .eyebrow { justify-content: center; }
  .hero-actions, .join-actions { justify-content: center; align-items: center; }
  .hero-actions { flex-direction: column; gap: 13px; }
  .hero-actions .button, .hero-secondary { width: min(100%,320px); }
  .hero h1 { font-size: clamp(51px,13.5vw,76px); }
  .hero-secondary { padding: 15px 23px; min-height: 52px; }
  .initiative-copy { align-items: center; }
  .initiative-copy > p:not(.eyebrow) { max-width: 370px; }
  .initiative-foot { justify-content: center; }
  .section-intro, .stories-heading { align-items: center; justify-content: center; text-align: center; }
  .section-intro .eyebrow, .stories-heading .eyebrow { justify-content: center; }
  .about-grid > h2, .about-grid > div:first-child, .presence-heading, .priorities-heading { text-align: center; }
  .about-copy .text-link { display: flex; width: fit-content; margin-inline: auto; }
  .presence-heading .eyebrow, .priorities-heading .eyebrow { justify-content: center; }
  .presence-heading > p, .priorities-heading > p { margin-inline: auto; }
  .expertise-path { position: relative; display: grid; grid-template-columns: 1fr; text-align: center; gap: 0; padding: 29px 14px 32px; }
  .expertise-path > .expertise-icon { grid-column: 1; justify-content: center; width: 38px; height: 38px; margin: 0 auto 13px; border: 0; border-radius: 0; background: none; }
  .expertise-path > .expertise-icon svg { width: 35px; height: 35px; }
  .expertise-path > div { grid-column: 1; }
  .expertise-path h3 { font-size: 29px; margin: 0 0 13px; }
  .expertise-path p { font-size: 14px; line-height: 1.75; max-width: 310px; margin: auto; }
  .expertise-path > svg { position: absolute; right: 0; top: 31px; margin: 0; width: 18px; height: 18px; }
  .capability { padding-left: 0; text-align: center; }
  .capability .cap-icon { position: static; margin: 0 auto 18px; width: 38px; height: 38px; }
  .expertise-feature > div { text-align: center; }
  .expertise-feature .expertise-icon { margin-inline: auto; justify-content: center; }
  .involvement-choice { text-align: center; }
  .involvement-choice .cap-icon { margin: 0 auto; }
  .involvement-choice > .eyebrow { justify-content: center; }
  .page-callout { flex-direction: column; align-items: center; gap: 28px; }
  .button, .text-link { min-height: 52px; font-size: 12px; padding: 15px 22px; }
  .join-actions { gap: 12px; }
  .join-actions .button { width: min(100%,350px); }
  .office-panel { padding: 0; width: 100%; }
  .office-panel > .eyebrow { justify-content: center; }
  .office-tabs { column-gap: 25px; }
  .office-tabs button { text-align: center; font-size: 12px; padding: 12px 2px; }
  .office-detail { text-align: center; }
  .office-detail .eyebrow { justify-content: center; }
  .office-panel .text-link { width: 100%; max-width: 360px; margin-inline: auto; }
  .office-detail h3 { margin-block: 15px 19px; }
  .participate-note { justify-content: center; }
  .footer .brand, .footer-email { justify-content: center; }
}
@media (max-width: 365px) {
  .header { padding-inline: 14px; }
  .header .brand-symbol { width: 32px; height: 38px; }
  .header .brand-name { font-size: 8px; }
  .header .brand-name span { font-size: 6.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .text-link, .office-tabs button { transition: none; }
}

/* Preserve the same button padding inside legacy section-specific rules. */
.text-link { padding: 15px 22px !important; border-width: 1px !important; border-style: solid !important; }
@media (max-width: 600px) { main .text-link { font-size: 12px; } }

.faq-chat { border: 1px solid var(--action-border); border-radius: 0; background: transparent; color: var(--ink); padding: 15px 22px; min-height: 52px; }
.faq-chat:hover { background: var(--ink); color: white; }

/* User correction: editorial headings stay left aligned on phones. */
.header .menu-toggle { gap: 5px; }
.header .menu-toggle span { height: 1px; width: 22px; background: #244455; }
.mobile-dock .dock-menu svg { stroke-width: 1.15; }
@media (max-width: 600px) {
  main h1, main h2, main h3, main blockquote { text-align: left; }
  .hero-content, .initiative-copy, .page-callout, .join, .programme-document > div, .fundraise-feature > div:first-child,
  .about-grid > h2, .about-grid > div:first-child, .presence-heading, .priorities-heading, .capability, .expertise-feature > div, .involvement-choice { text-align: left; }
  .hero-eyebrow, .initiative-copy > .eyebrow, .join .eyebrow, .page-callout .eyebrow, .section-intro .eyebrow,
  .stories-heading .eyebrow, .presence-heading .eyebrow, .priorities-heading .eyebrow, .involvement-choice > .eyebrow { justify-content: flex-start; }
  .hero-description, .presence-heading > p, .priorities-heading > p { margin-inline: 0; }
  .initiative-copy { align-items: stretch; }
  .initiative-copy > .button, .programme-document .button, .page-callout > .button { align-self: center; margin-inline: auto; }
  .section-intro { justify-content: space-between; text-align: left; }
  .stories-heading { align-items: stretch; text-align: left; }
  .stories-heading > .text-link { align-self: center; }
  .home-people .stories-heading { align-items: stretch; }
  .page-callout { align-items: stretch; }
  .join-actions, .hero-actions { align-items: center; }
  .office-detail { text-align: left; }
  .office-detail .eyebrow, .office-panel > .eyebrow { justify-content: flex-start; }
  .expertise-path { grid-template-columns: 39px minmax(0,1fr) 18px; gap: 17px; text-align: left; padding: 32px 0; }
  .expertise-path > .expertise-icon { grid-column: 1; width: 35px; height: 35px; margin: 0; align-self: start; }
  .expertise-path > .expertise-icon svg { width: 32px; height: 32px; }
  .expertise-path > div { grid-column: 2; }
  .expertise-path h3 { font-size: 28px; margin: 0 0 18px; }
  .expertise-path p { text-align: left; font-size: 14px; line-height: 1.75; max-width: none; }
  .expertise-path > svg { position: static; grid-column: 3; align-self: start; margin-top: 5px; width: 17px; height: 17px; }
  .capability .cap-icon, .expertise-feature .expertise-icon, .involvement-choice .cap-icon { margin-inline: 0; justify-content: flex-start; }
}
@media (max-width: 365px) {
  .expertise-path { grid-template-columns: 30px minmax(0,1fr) 15px; gap: 13px; }
  .expertise-path > .expertise-icon, .expertise-path > .expertise-icon svg { width: 28px; height: 28px; }
  .expertise-path h3 { font-size: 25px; }
  .expertise-path p { font-size: 13px; }
}


@media (max-width: 600px) {
  html[lang="fr"] .hero h1 em { font-size: .95em; white-space: normal; }
}

/* Solid slate on light surfaces. Dark sections keep their light outline. */
:root {
  --cta-fill: #314c5e;
  --cta-sheen: rgb(234 250 255 / .40);
  --cta-border: #294454;
  --cta-ink: #fff;
  --cta-hover: #203d50;
  --cta-hover-ink: #fff;
  --cta-arrow-angle: -45deg;
}
:is(.hero,.initiative,.presence,.join,.page-callout,.focus-solid,.conference-hero,.document-cover) {
  --cta-fill: transparent;
  --cta-sheen: rgb(218 244 255 / .32);
  --cta-border: #d6e8f17a;
  --cta-ink: #fff;
  --cta-hover: var(--ivory);
  --cta-hover-ink: var(--navy);
  --cta-arrow-angle: 0deg;
}
body :is(.button,.text-link,.faq-chat,.hero-secondary) {
  background: var(--cta-fill);
  color: var(--cta-ink);
  border: 1px solid var(--cta-border);
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
}
body :is(.button,.text-link,.faq-chat,.hero-secondary):hover {
  background: var(--cta-hover);
  color: var(--cta-hover-ink);
  border-color: var(--cta-hover);
}
body :is(.button,.text-link,.faq-chat) svg:has(use[href="#arrow"]) { rotate: var(--cta-arrow-angle); }
body :is(.button,.text-link,.faq-chat,.hero-secondary):focus-visible { outline: 2px solid currentColor; outline-offset: -5px; }
.article-layout aside .text-link { background: var(--cta-fill); color: var(--cta-ink); }

/* A single glint passes behind the label when its action enters view. */
@media (prefers-reduced-motion: no-preference) {
  .cta-sheen {
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }
  .cta-sheen::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(108deg, transparent 8%, rgb(236 251 255 / .09) 36%, var(--cta-sheen) 48%, rgb(250 254 255 / .52) 50%, rgb(236 251 255 / .14) 54%, transparent 90%) center / 80px 100% no-repeat;
    animation: unf-button-sheen 1.05s cubic-bezier(.35, 0, .22, 1) .24s;
  }
  @keyframes unf-button-sheen {
    from { opacity: 0; transform: translateX(calc(-50% - 42px)); }
    16%, 82% { opacity: 1; }
    to { opacity: 0; transform: translateX(calc(50% + 42px)); }
  }
}



@media (max-width: 600px) {
  .office-tabs { display: none; }
  .office-switcher {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 8px;
    margin: 8px 0 14px;
    border-bottom: 1px solid #ffffff50;
  }
  .office-select { flex: 1; position: relative; min-width: 0; }
  .office-select select {
    appearance: none;
    width: 100%;
    min-height: 52px;
    padding: 0 22px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: white;
    font: 400 clamp(23px, 6.8vw, 32px)/1.2 Caslon, Georgia, serif;
    cursor: pointer;
  }
  .office-select option { background: white; color: #102c42; }
  .office-select > span {
    position: absolute;
    right: 5px;
    top: 43%;
    width: 8px;
    height: 8px;
    border: solid #c4d9e6;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
    pointer-events: none;
  }
  .office-stepper { display: flex; align-items: center; }
  .office-stepper button {
    display: grid; place-items: center; width: 44px; min-height: 48px;
    color: white; background: none; border: 0; padding: 0;
  }
  .office-stepper svg { width: 19px; height: 19px; }
  .office-stepper button:first-child svg { transform: rotate(180deg); }
  .office-stepper button:focus-visible, .office-select select:focus-visible { outline: 2px solid #a6d9f3; outline-offset: -2px; }
  .office-panel .office-detail { touch-action: pan-y pinch-zoom; min-height: 88px; padding: 0; }
  .office-panel .office-detail h3 { display: none; }
  .office-panel #office-country { font: 550 10px/1.45 DM, sans-serif; color: #bdd6e4; letter-spacing: .1em; }
  .office-panel #office-address { margin-top: 5px; font: 400 14px/1.5 DM, sans-serif; color: #eff5fb; }
}

/* Life on every page (Zakaria, 19 Nov 2026: "website looks so dead"): pictures breathe and cards lift under the
   pointer. Pointer devices only, never with reduced motion. */
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .photo-frame, .unf-picture, .portrait-photo { overflow: hidden; }
  .photo-frame img, .unf-picture img, .portrait-photo img, .story-image img { transition: transform .9s cubic-bezier(.16,1,.3,1); }
  .photo-frame:hover img, .unf-picture:hover img, .portrait-card:hover .portrait-photo img, .story:hover .story-image img { transform: scale(1.045); }
  .capability, .focus-panel, .portrait-card { transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease; }
  .capability:hover, .focus-panel:hover, .portrait-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11, 31, 58, .12); }
}
