:root {
  --ink: #08090a;
  --ink-soft: #151719;
  --paper: #f4f5f3;
  --white: #ffffff;
  --silver: #c8cdcf;
  --silver-dark: #6e787c;
  --teal: #4f827c;
  --teal-dark: #294d49;
  --amber: #b8813a;
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-light: rgba(8, 9, 10, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  --radius: 8px;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  background: var(--paper);
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  color: var(--white);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled {
  background: rgba(8, 9, 10, 0.94);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img,
.footer-brand img {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
}

.brand span,
.footer-brand span {
  display: grid;
  gap: 2px;
}

.brand strong,
.footer-brand strong {
  font: 800 22px/1 "Manrope", sans-serif;
}

.brand small,
.footer-brand small {
  color: var(--silver);
  font-size: 11px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav > a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
}

.site-nav > a:not(.nav-portal)::after {
  content: "";
  position: absolute;
  inset: auto 0 -7px;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-portal {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
}

.nav-portal:hover {
  background: var(--white);
  color: var(--ink);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: min(820px, 88svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.03);
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.06);
  will-change: transform;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 7, 8, 0.92) 0%, rgba(5, 7, 8, 0.72) 42%, rgba(5, 7, 8, 0.22) 72%, rgba(5, 7, 8, 0.48) 100%),
    linear-gradient(0deg, rgba(5, 7, 8, 0.72), transparent 42%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 80px;
  padding-block: 142px 92px;
}

.hero-copy {
  width: 100%;
  max-width: 720px;
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  color: #d8dcdc;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal-dark);
}

.hero h1,
.section-heading h2,
.purpose-intro h2,
.initiatives-title h2,
.membership-inner h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.hero-copy > p {
  max-width: 660px;
  margin: 24px 0 0;
  color: #d3d6d7;
  font-size: 19px;
  line-height: 1.65;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button svg {
  width: 18px;
  height: 18px;
}

.button-primary,
.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-quiet {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.hero-emblem {
  position: relative;
  width: 330px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  perspective: 900px;
  transform: translate3d(0, var(--emblem-shift, 0px), 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 160ms ease-out;
  will-change: transform;
}

.emblem-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.ring-one {
  inset: 0;
  animation: ring-spin 11s linear infinite;
}

.ring-two {
  inset: 28px;
  border-style: dashed;
  animation: ring-spin 8s linear infinite reverse;
}

.emblem-disc {
  width: 220px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: #000;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  transform-style: preserve-3d;
  animation: emblem-float 4.2s ease-in-out infinite;
}

.emblem-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 20px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--white);
  transform: translateX(-50%);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

.identity-band,
.services-section,
.contact-section {
  background: var(--paper);
}

.identity-grid {
  min-height: 410px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 90px;
  padding-block: 78px;
}

.section-heading h2,
.purpose-intro h2,
.initiatives-title h2,
.contact-copy h2 {
  margin-top: 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
}

.identity-copy {
  padding-left: 34px;
  border-left: 3px solid var(--teal);
}

.identity-copy p {
  margin: 0;
  color: #4e5659;
  font-size: 17px;
  line-height: 1.75;
}

.identity-copy .lead {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--teal-dark);
  font-weight: 700;
}

.text-link svg {
  width: 18px;
}

.purpose-section,
.initiatives-section {
  color: var(--white);
  background: var(--ink-soft);
}

.purpose-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.6fr);
  gap: 70px;
  padding-block: 96px;
}

.purpose-intro {
  align-self: start;
  position: sticky;
  top: 120px;
}

.purpose-intro p,
.initiatives-title p {
  color: #abb2b4;
  font-size: 17px;
  line-height: 1.7;
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.principle {
  min-height: 260px;
  position: relative;
  padding: 34px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  transition: background 180ms ease;
}

.principle:hover {
  background: rgba(255, 255, 255, 0.055);
}

.principle-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #596164;
  font: 700 12px/1 "Manrope", sans-serif;
}

.principle > svg {
  width: 30px;
  height: 30px;
  color: #79a69f;
}

.principle h3 {
  margin: 38px 0 10px;
  font: 700 24px/1.2 "Manrope", sans-serif;
}

.principle p {
  margin: 0;
  color: #aab0b2;
  line-height: 1.65;
}

.services-section {
  padding-block: 96px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: end;
  gap: 80px;
}

.section-heading.split > p {
  margin: 0;
  color: #596164;
  font-size: 17px;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 50px;
  perspective: 1200px;
}

.service-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(22, 28, 30, 0.05);
  transform-style: preserve-3d;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  box-shadow: var(--shadow);
}

.service-card > svg {
  width: 30px;
  height: 30px;
  color: var(--teal);
  transform: translateZ(18px);
}

.service-card:nth-child(2) > svg,
.service-card:nth-child(4) > svg {
  color: var(--amber);
}

.service-card h3 {
  margin: 58px 0 12px;
  font: 700 22px/1.25 "Manrope", sans-serif;
}

.service-card p {
  margin: 0;
  color: #596164;
  line-height: 1.65;
}

.service-card a,
.service-card > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 26px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
}

.service-card > span {
  color: #7a8386;
}

.service-card a svg {
  width: 16px;
}

.programmes-section {
  padding-block: 100px;
  background: #e8eceb;
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 52px;
}

.programme-card {
  overflow: hidden;
  border: 1px solid rgba(8, 9, 10, 0.13);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(18, 27, 29, 0.08);
}

.programme-card > img {
  width: 100%;
  aspect-ratio: 1.55;
  display: block;
  object-fit: cover;
  transition: transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

.programme-card:hover > img {
  transform: scale(1.045);
}

.programme-body {
  min-height: 265px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.programme-body > span,
.leader-card > span,
.document-card > span,
.update-compact > span {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.programme-body h3,
.leader-card h3,
.document-card h3 {
  margin: 10px 0;
  font: 700 22px/1.2 "Manrope", sans-serif;
}

.programme-body p,
.leader-card p,
.document-card p {
  margin: 0;
  color: #5b6467;
  line-height: 1.6;
}

.programme-body button,
.leader-card button,
.document-card button,
.update-feature button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  margin-top: auto;
  padding: 18px 0 0;
  border: 0;
  background: transparent;
  color: var(--teal-dark);
  font: 700 13px/1 "DM Sans", sans-serif;
  cursor: pointer;
}

.programme-body button svg {
  width: 16px;
}

.leadership-section {
  padding-block: 100px;
  background: var(--paper);
}

.section-heading.centered {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered > p {
  margin: 18px auto 0;
  color: #5d676a;
  font-size: 17px;
  line-height: 1.7;
}

.leadership-grid {
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 52px auto 0;
}

.leader-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 28px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  box-shadow: 0 16px 38px rgba(20, 26, 28, 0.07);
}

.leader-card.featured {
  transform: translateY(-18px);
  border-color: rgba(79, 130, 124, 0.42);
  box-shadow: 0 24px 50px rgba(41, 77, 73, 0.14);
}

.leader-portrait {
  width: 150px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid rgba(79, 130, 124, 0.48);
  border-radius: 50%;
  background:
    conic-gradient(from 35deg, var(--teal) 0 18%, transparent 18% 35%, var(--amber) 35% 43%, transparent 43% 68%, var(--teal-dark) 68% 86%, transparent 86%);
  animation: portrait-ring 14s linear infinite;
}

.leader-portrait img {
  width: 112px;
  height: 112px;
  border: 7px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
  background: #000;
  animation: portrait-counter 14s linear infinite;
}

.leader-card button {
  align-self: center;
}

.committees-section {
  color: var(--white);
  background: #315d70;
}

.committees-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.65fr) minmax(0, 1.5fr);
  gap: 70px;
  padding-block: 100px;
}

.committees-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.committees-intro h2 {
  margin: 14px 0 20px;
  font: 700 clamp(34px, 4vw, 52px)/1.08 "Manrope", sans-serif;
}

.committees-intro p {
  color: #d0dce0;
  font-size: 17px;
  line-height: 1.7;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.committee-tile {
  min-height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 22px;
  border: 0;
  background: #f8faf9;
  color: var(--ink);
  text-align: center;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.committee-tile:hover,
.committee-tile:focus-visible {
  z-index: 2;
  color: var(--white);
  background: var(--teal-dark);
  transform: translateY(-4px);
}

.committee-tile svg {
  width: 30px;
  height: 30px;
  color: var(--teal);
}

.committee-tile:hover svg,
.committee-tile:focus-visible svg {
  color: #a9d5ce;
}

.committee-tile span {
  font: 700 16px/1.25 "Manrope", sans-serif;
}

.committee-tile small {
  color: #788286;
  font-size: 11px;
}

.committee-tile:hover small,
.committee-tile:focus-visible small {
  color: #d0dcda;
}

.initiatives-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.4fr);
  gap: 80px;
  padding-block: 96px;
}

.initiative-list {
  border-top: 1px solid var(--line-dark);
}

.initiative {
  min-height: 150px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-dark);
}

.initiative > time,
.initiative > span {
  color: #79a69f;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.initiative h3 {
  margin: 0 0 7px;
  font: 700 22px/1.25 "Manrope", sans-serif;
}

.initiative p {
  margin: 0;
  color: #aeb4b6;
  line-height: 1.6;
}

.initiative > svg {
  width: 28px;
  color: #cfd4d5;
}

.membership-banner {
  color: var(--white);
  background: var(--teal-dark);
}

.membership-inner {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-block: 56px;
}

.membership-inner h2 {
  max-width: 700px;
  margin-top: 12px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.membership-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.governance-section {
  padding-block: 100px;
  background: #eef0ef;
}

.governance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}

.document-card {
  min-height: 315px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-top: 4px solid var(--teal);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(17, 25, 27, 0.07);
}

.document-card:nth-child(even) {
  border-top-color: var(--amber);
}

.document-card > svg {
  width: 34px;
  height: 34px;
  margin-bottom: 42px;
  color: var(--teal);
}

.document-card button {
  border-bottom: 1px solid currentColor;
}

.updates-section {
  padding-block: 100px;
  background: var(--white);
}

.updates-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(220px, 0.7fr));
  gap: 18px;
  margin-top: 50px;
}

.update-feature,
.update-compact {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.update-feature {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 30px;
  color: var(--white);
  background: var(--ink-soft);
}

.update-date {
  padding-right: 24px;
  border-right: 1px solid var(--line-dark);
}

.update-date strong,
.update-date span {
  display: block;
}

.update-date strong {
  color: #86b7af;
  font: 800 36px/1 "Manrope", sans-serif;
}

.update-date span {
  margin-top: 10px;
  color: #aab2b4;
  font-size: 11px;
  text-transform: uppercase;
}

.update-feature h3,
.update-compact h3 {
  margin: 0 0 14px;
  font: 700 25px/1.25 "Manrope", sans-serif;
}

.update-feature p {
  color: #b2b8ba;
  line-height: 1.65;
}

.update-feature button {
  color: #a1d0c9;
}

.update-compact {
  background: #f1f3f2;
}

.update-compact h3 {
  margin-top: 34px;
  font-size: 21px;
}

.update-compact p {
  color: #5d6669;
  line-height: 1.65;
}

.update-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
}

.update-link svg {
  width: 15px;
  height: 15px;
}

.contact-section {
  padding-block: 96px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 90px;
}

.contact-copy p {
  max-width: 570px;
  color: #596164;
  font-size: 17px;
  line-height: 1.7;
}

.contact-details {
  display: grid;
  margin: 0;
  font-style: normal;
  border-top: 1px solid var(--line-light);
}

.contact-details a {
  min-height: 96px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
  font-weight: 600;
}

.contact-details a:hover {
  color: var(--teal-dark);
}

.contact-details svg {
  width: 26px;
  color: var(--teal);
}

.contact-details span {
  display: grid;
  gap: 4px;
}

.contact-details small {
  color: #758084;
  font-size: 11px;
  text-transform: uppercase;
}

.contact-stack {
  display: grid;
  gap: 32px;
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(20, 28, 30, 0.07);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #5a6568;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #9ea7aa;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 500 15px/1.4 "DM Sans", sans-serif;
}

.contact-form input {
  min-height: 42px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal-dark);
}

.form-submit {
  justify-self: start;
  background: var(--teal-dark);
  color: var(--white);
  cursor: pointer;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--teal-dark);
  font-size: 13px;
}

.detail-modal[hidden] {
  display: none;
}

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 6, 0.76);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(760px, calc(100svh - 40px));
  overflow-y: auto;
  padding: 42px;
  border-top: 5px solid var(--teal);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.42);
  animation: modal-in 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: #f0f2f1;
  color: var(--ink);
  cursor: pointer;
}

.modal-kicker {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.modal-panel h2 {
  max-width: 560px;
  margin: 12px 0 16px;
  font: 700 clamp(30px, 5vw, 46px)/1.08 "Manrope", sans-serif;
}

.modal-summary {
  color: #596366;
  font-size: 17px;
  line-height: 1.7;
}

.modal-content {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.modal-content h3 {
  margin: 10px 0 0;
  font: 700 17px/1.3 "Manrope", sans-serif;
}

.modal-content p,
.modal-content li {
  color: #596366;
  line-height: 1.65;
}

.modal-content ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

body.modal-open {
  overflow: hidden;
}

.site-footer {
  color: var(--white);
  background: var(--ink);
}

.footer-inner {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto 44px 48px;
  align-items: center;
  gap: 14px;
}

.footer-inner p {
  color: #9fa5a7;
  font-size: 13px;
}

.back-top {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 5px;
}

.back-top svg {
  width: 18px;
}

.footer-social {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 5px;
  color: var(--white);
  transition: background 160ms ease, color 160ms ease;
}

.footer-social:hover {
  background: var(--white);
  color: #1877f2;
}

.footer-social svg {
  width: 19px;
  height: 19px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.animations-ready .reveal {
  opacity: 0;
  filter: blur(5px);
  transform: perspective(900px) translate3d(0, 64px, -70px) rotateX(7deg);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.animations-ready .identity-copy.reveal,
.animations-ready .service-card.reveal:nth-child(even),
.animations-ready .initiative.reveal {
  transform: perspective(900px) translate3d(70px, 24px, -80px) rotateY(-7deg);
}

.animations-ready .section-heading.reveal,
.animations-ready .purpose-intro.reveal,
.animations-ready .initiatives-title.reveal,
.animations-ready .contact-copy.reveal {
  transform: perspective(900px) translate3d(-64px, 28px, -70px) rotateY(6deg);
}

.animations-ready .principle.reveal:nth-child(odd),
.animations-ready .service-card.reveal:nth-child(odd) {
  transform: perspective(900px) translate3d(-48px, 54px, -90px) rotateY(7deg);
}

.animations-ready .reveal.reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

@keyframes ring-spin {
  from { transform: rotateX(66deg) rotateZ(0deg); }
  to { transform: rotateX(66deg) rotateZ(360deg); }
}

@keyframes emblem-float {
  0%, 100% {
    transform: translate3d(0, -7px, 38px) rotateY(-4deg) rotateX(2deg);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  }
  50% {
    transform: translate3d(0, 9px, 58px) rotateY(5deg) rotateX(-2deg);
    box-shadow: 0 42px 78px rgba(0, 0, 0, 0.58);
  }
}

@keyframes scroll-dot {
  0%, 100% { opacity: 0.4; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 14px); }
}

@keyframes portrait-ring {
  to { transform: rotate(360deg); }
}

@keyframes portrait-counter {
  to { transform: rotate(-360deg); }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 16px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 40px;
  }

  .hero-emblem {
    width: 260px;
  }

  .emblem-disc {
    width: 174px;
  }

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

  .programme-grid,
  .leadership-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leader-card.featured {
    transform: none;
  }

  .committees-layout {
    grid-template-columns: 1fr;
  }

  .committees-intro {
    position: static;
  }

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

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

  .update-feature {
    grid-column: 1 / -1;
  }

  .membership-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 72px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: grid;
    gap: 0;
    padding: 14px;
    background: rgba(8, 9, 10, 0.98);
    border-top: 1px solid var(--line-dark);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .site-nav.open {
    transform: translateY(0);
  }

  .site-nav > a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding-inline: 12px;
    border-bottom: 1px solid var(--line-dark);
  }

  .nav-portal {
    margin-top: 10px;
    justify-content: center;
  }

  .hero {
    min-height: 760px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    padding-block: 114px 86px;
  }

  .hero-emblem {
    position: absolute;
    right: -86px;
    bottom: 34px;
    width: 260px;
    opacity: 0.45;
    pointer-events: none;
  }

  .hero-copy {
    max-width: 680px;
  }

  .identity-grid,
  .purpose-layout,
  .initiatives-layout,
  .committees-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .identity-grid {
    min-height: 0;
  }

  .purpose-intro {
    position: static;
  }

  .section-heading.split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr 44px 48px;
  }

  .footer-inner p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 20px;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.06;
  }

  .hero-copy > p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.58;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .membership-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-emblem {
    display: none;
  }

  .identity-grid,
  .purpose-layout,
  .initiatives-layout,
  .contact-layout,
  .services-section {
    padding-block: 72px;
  }

  .identity-copy {
    padding-left: 20px;
  }

  .principles,
  .services-grid,
  .programme-grid,
  .leadership-grid,
  .governance-grid,
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: 230px;
  }

  .service-card {
    min-height: 290px;
  }

  .programme-body {
    min-height: 245px;
  }

  .leader-card {
    min-height: 390px;
  }

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

  .committee-tile {
    min-height: 140px;
  }

  .document-card {
    min-height: 285px;
  }

  .update-feature {
    grid-template-columns: 1fr;
  }

  .update-date {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-panel {
    padding: 34px 22px 26px;
  }

  .initiative {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .initiative > svg {
    display: none;
  }

  .membership-inner {
    min-height: 0;
  }

  .footer-inner {
    min-height: 190px;
  }

  .footer-brand small {
    max-width: 210px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 34px;
  }

  .hero-copy > p {
    font-size: 15px;
  }
}
