:root {
  color-scheme: light;
  --blue: #037ef3;
  --blue-dark: #0056a8;
  --ink: #172033;
  --muted: #5d687c;
  --line: #dfe5ee;
  --paper: #ffffff;
  --soft: #f4f8fc;
  --green: #00c16e;
  --yellow: #ffc845;
  --red: #f85a40;
  --shadow: 0 20px 60px rgba(12, 35, 66, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(20, 35, 60, 0.1);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  font-size: 0.78rem;
}

.site-nav {
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding-top: 94px;
  overflow: hidden;
}

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

.hero-animation {
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 32%, rgba(0, 193, 110, 0.24), transparent 24%),
    radial-gradient(circle at 36% 64%, rgba(255, 200, 69, 0.18), transparent 28%),
    linear-gradient(135deg, #061a33 0%, #0b3d6e 48%, #037ef3 100%);
}

.hero-animation::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
}

.hero-globe {
  position: absolute;
  right: clamp(-120px, -6vw, -40px);
  top: 13%;
  width: min(56vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.18), transparent 16%),
    repeating-linear-gradient(90deg, transparent 0 9%, rgba(255, 255, 255, 0.13) 9.2% 9.6%, transparent 9.8% 18%),
    repeating-linear-gradient(0deg, transparent 0 12%, rgba(255, 255, 255, 0.11) 12.2% 12.7%, transparent 13% 24%),
    rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 70px rgba(255, 255, 255, 0.08), 0 26px 90px rgba(0, 0, 0, 0.22);
}

.hero-lines {
  position: absolute;
  right: 4%;
  top: 12%;
  width: min(62vw, 780px);
  height: 72%;
  opacity: 0.8;
}

.hero-lines path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 0.22;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
}

.face-cloud {
  position: absolute;
  inset: 0;
}

.face {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: block;
  width: clamp(54px, 7vw, 92px);
  aspect-ratio: 1;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: var(--face-img) center / cover no-repeat;
  box-shadow: 0 18px 42px rgba(0, 13, 32, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
}

.face-a { --x: 61%; --y: 26%; }
.face-b { --x: 76%; --y: 24%; }
.face-c { --x: 84%; --y: 42%; }
.face-d { --x: 72%; --y: 50%; }
.face-e { --x: 66%; --y: 48%; }
.face-f { --x: 70%; --y: 70%; }
.face-g { --x: 82%; --y: 70%; }
.face-h { --x: 91%; --y: 58%; }
.face-i { --x: 65%; --y: 66%; }

.hero-wordmark {
  position: absolute;
  right: 15.5%;
  top: 45%;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(2.8rem, 8vw, 7.5rem);
  font-weight: 900;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(22px) scale(0.9);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(1, 19, 42, 0.9) 0%, rgba(1, 25, 54, 0.66) 42%, rgba(1, 25, 54, 0.18) 100%),
    linear-gradient(0deg, rgba(1, 25, 54, 0.62), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 36px));
  margin: 0 0 clamp(56px, 8vw, 96px) clamp(18px, 7vw, 90px);
  color: #ffffff;
}

.hero-credential {
  position: absolute;
  z-index: 5;
  left: clamp(360px, 43vw, 650px);
  top: clamp(86px, 12vw, 150px);
  width: clamp(150px, 18vw, 250px);
  pointer-events: none;
  filter: drop-shadow(0 24px 36px rgba(3, 68, 132, 0.28));
  transform: translate3d(0, var(--credential-y, 0px), 0) rotate(-7deg);
  transform-origin: 50% 10%;
  transition: transform 180ms ease-out;
}

.hero-credential img {
  display: block;
  width: 100%;
  height: auto;
}

.credential-chip {
  position: absolute;
  width: 27%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: center / cover no-repeat;
  background-color: rgba(244, 248, 255, 0.72);
  box-shadow: 0 0 0 2px rgba(3, 126, 243, 0.58), 0 14px 24px rgba(3, 68, 132, 0.22);
  animation: credentialChipSwap 9s infinite;
}

.chip-one {
  right: 4%;
  bottom: 25%;
  background-image: url("assets/faces/face-3.png");
  transform: rotate(8deg);
}

.chip-two {
  left: 3%;
  bottom: 31%;
  background-image: url("assets/faces/face-6.png");
  animation-delay: -3s;
  transform: rotate(-5deg);
}

.chip-three {
  right: 18%;
  bottom: 7%;
  background-image: url("assets/faces/face-8.png");
  animation-delay: -6s;
  transform: rotate(4deg);
}

@keyframes credentialChipSwap {
  0%, 27%, 100% {
    opacity: 0.95;
    scale: 1;
  }
  34%, 58% {
    opacity: 0.18;
    scale: 0.96;
  }
  65%, 92% {
    opacity: 0.9;
    scale: 1.02;
  }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

@media (min-width: 901px) and (max-height: 760px) {
  h1 {
    font-size: clamp(2.6rem, 5.1vw, 4.8rem);
  }

  .hero-content {
    margin-bottom: clamp(36px, 6vw, 64px);
  }
}

h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 680px;
  font-size: 1.18rem;
  line-height: 1.7;
}

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

.button,
.membership-form button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.primary {
  color: #ffffff;
  background: var(--blue);
}

.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.48);
}

.donate {
  color: var(--ink);
  background: var(--yellow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.stats article {
  padding: clamp(28px, 5vw, 54px);
  background: #ffffff;
}

.stats strong {
  display: block;
  color: var(--blue);
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 6vw, 78px);
}

.section-heading {
  max-width: 1040px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.compact {
  margin-bottom: 26px;
}

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

.pillar-grid,
.event-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mission-grid article,
.pillar-grid article,
.program-list article,
.event-grid article,
.leadership-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(14, 31, 55, 0.06);
}

.mission-grid article {
  padding: 34px;
}

.section-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: #eaf4ff;
  color: var(--blue);
  font-weight: 800;
}

.mission-grid p,
.pillar-grid p,
.program-list p,
.event-grid p,
.membership-copy p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.countries,
.events {
  background: var(--soft);
}

.countries {
  padding-left: 0;
  padding-right: 0;
}

.countries .section-heading {
  padding-left: clamp(18px, 6vw, 78px);
  padding-right: clamp(18px, 6vw, 78px);
}

.map-shell {
  width: 100%;
}

.map-stage {
  position: relative;
  display: grid;
  min-height: 560px;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 26% 44%, rgba(3, 126, 243, 0.17), transparent 26%),
    radial-gradient(circle at 68% 54%, rgba(0, 193, 110, 0.12), transparent 32%),
    linear-gradient(135deg, #f9fcff 0%, #e8f4ff 100%);
  box-shadow: var(--shadow);
}

.map-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(3, 126, 243, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 126, 243, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.map-canvas {
  position: relative;
  width: min(1180px, calc(100% - 24px));
  aspect-ratio: 940 / 477;
  margin: 34px auto;
}

.world-map {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 18px 32px rgba(16, 50, 86, 0.1));
  opacity: 0.82;
}

.map-dots {
  position: absolute;
  inset: 0;
}

.map-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 18px;
  height: 18px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(3, 126, 243, 0.34), 0 10px 22px rgba(0, 45, 95, 0.2);
  cursor: pointer;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
}

.map-shell.is-visible .map-dot {
  animation: mapDotIn 560ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
    mapPulse 2200ms ease-out infinite;
  animation-delay: var(--delay), calc(var(--delay) + 560ms);
}

.map-dot:hover,
.map-dot:focus-visible,
.map-dot.is-active {
  background: var(--yellow);
  outline: 0;
  transform: translate(-50%, -50%) scale(1.25);
}

.map-card {
  position: absolute;
  left: var(--card-x, 50%);
  top: var(--card-y, 50%);
  display: grid;
  align-content: start;
  width: min(210px, calc(100% - 24px));
  min-height: 0;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.16));
  box-shadow: 0 14px 32px rgba(5, 25, 45, 0.18);
  backdrop-filter: blur(16px) saturate(1.35);
  pointer-events: none;
  transform: translate(var(--card-shift-x, 16px), var(--card-shift-y, -50%));
  z-index: 4;
}

.map-card::before {
  display: none;
}

.map-card-content {
  position: relative;
  z-index: 1;
  animation: cardEnter 220ms ease-out;
}

.map-card h3 {
  margin: 0 0 4px;
  color: #10243c;
  font-size: 1.02rem;
  line-height: 1.1;
}

.map-card p,
.map-card a {
  color: #17314f;
}

.map-card p {
  margin: 0 0 7px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.map-card a {
  display: block;
  max-width: 100%;
  padding: 0;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

@keyframes mapDotIn {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes mapPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(3, 126, 243, 0.34), 0 10px 22px rgba(0, 45, 95, 0.2);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(3, 126, 243, 0), 0 10px 22px rgba(0, 45, 95, 0.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(3, 126, 243, 0), 0 10px 22px rgba(0, 45, 95, 0.2);
  }
}

@keyframes cardEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.programs {
  background: #ffffff;
}

.pillar-grid article,
.event-grid article,
.program-list article {
  padding: 24px;
}

.pillar-grid article:nth-child(1) {
  border-top: 5px solid var(--blue);
}

.pillar-grid article:nth-child(2) {
  border-top: 5px solid var(--green);
}

.pillar-grid article:nth-child(3) {
  border-top: 5px solid var(--red);
}

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

.inline-button {
  margin-top: 26px;
}

.events-banner {
  min-height: 260px;
  display: grid;
  align-content: end;
  margin: 0 0 18px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(0, 86, 168, 0.92), rgba(0, 193, 110, 0.72)),
    url("assets/alumni-hero.png") center / cover;
}

.events-banner .eyebrow {
  color: var(--yellow);
}

.event-grid a {
  color: var(--blue-dark);
  font-weight: 800;
}

.membership {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  background: #071d36;
  color: #ffffff;
}

.membership h2 {
  max-width: 780px;
}

.membership-copy p {
  color: #dbe8f4;
  font-size: 1.08rem;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.benefits span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  font-weight: 700;
}

.membership-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.membership-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.membership-form input,
.membership-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}

.membership-form button {
  color: #ffffff;
  background: var(--green);
}

.membership-form p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.leadership-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  min-height: 128px;
  padding: 18px;
}

.avatar {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  font-weight: 800;
}

.leadership-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.leadership-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 32px;
  padding: 54px clamp(18px, 6vw, 78px);
  color: #ffffff;
  background: #101722;
}

.site-footer h2 {
  font-size: 1.8rem;
}

.site-footer address,
.site-footer nav {
  display: grid;
  gap: 9px;
  font-style: normal;
}

.site-footer a,
.site-footer span {
  color: #cdd8e4;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .site-header {
    gap: 12px;
    padding: 12px 18px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand span:last-child {
    font-size: 0.95rem;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 8px;
    color: var(--ink);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 100svh;
    align-items: end;
    padding-top: 70px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px max(34px, env(safe-area-inset-bottom));
  }

  .hero-globe {
    right: -220px;
    top: 8%;
    width: 660px;
    opacity: 0.72;
  }

  .hero-lines {
    right: -170px;
    top: 4%;
    width: 680px;
  }

  .face {
    width: 58px;
  }

  .hero-wordmark {
    right: -2%;
    top: 28%;
  }

  .stats,
  .mission-grid,
  .pillar-grid,
  .program-list,
  .event-grid,
  .map-shell,
  .membership,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .map-stage {
    min-height: 480px;
    align-items: start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .map-stage::-webkit-scrollbar {
    display: none;
  }

  .map-canvas {
    flex: 0 0 auto;
    width: 1040px;
    max-width: none;
    margin: 24px 16px 0 0;
    transform: translateX(-42px);
  }

  .map-card {
    left: clamp(96px, var(--card-x, 50%), calc(100% - 96px));
    top: clamp(88px, var(--card-y, 50%), calc(100% - 18px));
    width: 180px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 12px 28px rgba(5, 25, 45, 0.2);
    transform: translate(-50%, calc(-100% - 18px));
  }

  .map-card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 14px;
    height: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.48);
    border-bottom: 1px solid rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(16px) saturate(1.35);
    transform: translateX(-50%) rotate(45deg);
  }

  .map-card h3 {
    font-size: 0.95rem;
  }

  .map-card p {
    font-size: 0.74rem;
  }

  .map-card a {
    font-size: 0.68rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand span:last-child {
    max-width: 132px;
    line-height: 1.1;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 0.7rem;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .site-nav {
    top: 62px;
    left: 12px;
    right: 12px;
  }

  .hero {
    min-height: 100svh;
    align-items: center;
    padding-top: 62px;
  }

  h1 {
    max-width: 360px;
    font-size: clamp(2.45rem, 13vw, 3.15rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.35rem);
  }

  .hero .eyebrow {
    max-width: 280px;
    margin-bottom: 10px;
    font-size: 0.7rem;
  }

  .hero-content p:not(.eyebrow) {
    max-width: 340px;
    font-size: 0.96rem;
    line-height: 1.5;
    margin-top: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(260px, 100%);
    margin-top: 18px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(1, 19, 42, 0.97) 0%, rgba(1, 25, 54, 0.82) 66%, rgba(1, 25, 54, 0.3) 100%),
      linear-gradient(0deg, rgba(1, 25, 54, 0.78), transparent 58%);
  }

  .hero-globe {
    right: -300px;
    top: 9%;
    width: 620px;
    opacity: 0.46;
  }

  .hero-lines {
    right: -260px;
    top: 5%;
    width: 650px;
    opacity: 0.5;
  }

  .face {
    width: 46px;
  }

  .face-a { --x: 74%; --y: 17%; }
  .face-b { --x: 91%; --y: 21%; }
  .face-c { --x: 95%; --y: 35%; }
  .face-d { --x: 83%; --y: 38%; }
  .face-e { --x: 74%; --y: 32%; }
  .face-f { --x: 84%; --y: 54%; }
  .face-g { --x: 99%; --y: 56%; }
  .face-h { --x: 110%; --y: 46%; }
  .face-i { --x: 77%; --y: 50%; }

  .stats strong {
    font-size: 2.35rem;
  }

  .section,
  .stats article {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .mission-grid article,
  .pillar-grid article,
  .program-list article,
  .event-grid article {
    padding: 20px;
  }

  .map-stage {
    min-height: 470px;
  }

  .map-canvas {
    width: 760px;
    margin: 22px 12px 0 0;
    transform: translateX(-30px);
  }

  .map-card {
    left: clamp(88px, var(--card-x, 50%), calc(100% - 88px));
    top: clamp(84px, var(--card-y, 50%), calc(100% - 18px));
    width: 164px;
  }

  .map-card h3 {
    font-size: 0.9rem;
  }

  .map-card p {
    font-size: 0.72rem;
  }

  .map-card a {
    font-size: 0.66rem;
  }

  .map-dot {
    width: 20px;
    height: 20px;
  }

  .leadership-card {
    grid-template-columns: 48px 1fr;
    min-height: 112px;
    padding: 14px;
  }

  .avatar {
    width: 48px;
    height: 48px;
  }
}

/* AAIB brand direction: Colombia reference blue, turquoise, green, and Lato type. */
:root {
  --aaib-navy: #00538a;
  --aaib-blue: #037ef3;
  --aaib-sky: #27c7e7;
  --aaib-green: #00c16e;
  --aaib-social-blue: #037ef3;
  --aaib-social-deep: #0059a8;
  --aaib-social-purple: #18b49d;
  --aaib-purple-accent: #5b4cc4;
  --aaib-wave-blue: #22c6e3;
  --aaib-wave-light: #9af2f1;
  --aaib-pale: #edf9fc;
  --aaib-ice: #f7fcff;
  --blue: var(--aaib-social-blue);
  --blue-dark: var(--aaib-social-deep);
  --ink: #0b4b7d;
  --muted: #4f6f86;
  --line: #bedceb;
  --paper: #ffffff;
  --soft: var(--aaib-ice);
  --green: var(--aaib-green);
  --yellow: var(--aaib-sky);
  --red: var(--aaib-navy);
  --acid: var(--aaib-green);
  --orange: var(--aaib-navy);
  --black: #06365f;
  --aiesec-blue: var(--aaib-social-blue);
  --aiesec-blue-dark: var(--aaib-social-deep);
  --aiesec-blue-soft: var(--aaib-pale);
  --aiesec-cyan: var(--aaib-wave-blue);
  --serif: Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-sans: Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 28px 80px rgba(0, 83, 138, 0.15);
}

body {
  font-family: var(--sans);
  background: var(--paper);
  font-kerning: normal;
  text-rendering: geometricPrecision;
}

.site-header {
  color: var(--ink);
  text-transform: uppercase;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(0, 85, 129, 0.12);
}

.brand {
  letter-spacing: 0;
}

.brand-mark {
  background: var(--aiesec-blue);
  color: var(--paper);
  font-family: var(--display);
  border-radius: 0;
}

.site-nav {
  font-size: 0.78rem;
  letter-spacing: 0;
  line-height: 1;
}

.nav-toggle {
  color: var(--ink);
  background: rgba(234, 246, 251, 0.76);
}

.hero {
  min-height: 92vh;
  border-bottom: 1px solid var(--ink);
}

.hero-animation {
  background:
    linear-gradient(110deg, rgba(0, 85, 129, 0.96) 0%, rgba(11, 133, 199, 0.7) 48%, rgba(43, 167, 220, 0.38) 100%),
    url("assets/alumni-hero.png") center / cover;
}

.hero-animation::before {
  background-image:
    linear-gradient(rgba(17, 16, 12, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 16, 12, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
}

.hero-globe {
  right: clamp(28px, 6vw, 82px);
  top: 19%;
  width: min(32vw, 400px);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(17, 16, 12, 0.75);
  border-radius: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.07)),
    url("assets/alumni-hero.png") center / cover;
  box-shadow: 14px 14px 0 var(--aiesec-blue), 0 26px 90px rgba(0, 85, 129, 0.24);
  transform: rotate(-3deg);
}

.hero-lines {
  right: 0;
  top: 8%;
  width: min(56vw, 760px);
  height: 74%;
  opacity: 0.64;
  mix-blend-mode: multiply;
}

.hero-lines path {
  stroke: rgba(17, 16, 12, 0.58);
  stroke-width: 0.24;
}

.face {
  width: clamp(62px, 7.5vw, 108px);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background-color: rgba(244, 248, 255, 0.72);
  box-shadow: 0 0 0 2px rgba(43, 167, 220, 0.58), 0 18px 42px rgba(0, 85, 129, 0.22);
}

.face-a { --x: 62%; --y: 22%; }
.face-b { --x: 76%; --y: 20%; }
.face-c { --x: 84%; --y: 39%; }
.face-d { --x: 71%; --y: 49%; }
.face-e { --x: 64%; --y: 45%; }
.face-f { --x: 72%; --y: 70%; }
.face-g { --x: 83%; --y: 69%; }
.face-h { --x: 91%; --y: 55%; }
.face-i { --x: 63%; --y: 65%; }

.hero-wordmark {
  right: 5%;
  bottom: 3%;
  top: auto;
  color: rgba(17, 16, 12, 0.78);
  font-family: var(--display);
  font-size: clamp(3.2rem, 11vw, 10rem);
  font-weight: 800;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.74) 44%, rgba(255, 255, 255, 0.12) 100%),
    radial-gradient(circle at 16% 88%, rgba(43, 167, 220, 0.26), transparent 28%);
}

.hero-content {
  width: min(900px, calc(100% - 36px));
  margin: 0 0 clamp(38px, 5vw, 70px) clamp(18px, 5vw, 64px);
  color: var(--ink);
}

.hero-credential {
  left: clamp(325px, 39vw, 610px);
  top: clamp(72px, 9vw, 126px);
  width: clamp(190px, 22vw, 320px);
}

.eyebrow {
  color: var(--orange);
  font-size: 0.72rem;
  line-height: 1.05;
}

.hero .eyebrow {
  color: var(--ink);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  font-optical-sizing: auto;
  font-feature-settings: "kern" 1, "liga" 1;
  text-transform: uppercase;
}

h1 {
  max-width: min(780px, 64vw);
  font-size: clamp(3.25rem, 6.7vw, 7.35rem);
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(2.22rem, 4.55vw, 4.8rem);
  line-height: 1.1;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.08rem, 1.68vw, 1.54rem);
  line-height: 1.22;
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  font-size: clamp(1rem, 1.35vw, 1.24rem);
  line-height: 1.38;
}

.button,
.membership-form button {
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-size: 0.78rem;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.primary {
  color: var(--paper);
  background: var(--aiesec-blue);
  border-color: var(--aiesec-blue);
}

.secondary,
.donate {
  color: var(--ink);
  background: rgba(234, 246, 251, 0.72);
}

.button::after,
.membership-form button::after,
.event-grid a::after {
  content: " ↗";
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(17, 16, 12, 0.45);
  background: rgba(234, 246, 251, 0.78);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stats {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
}

.stats article {
  background: var(--paper);
}

.stats strong {
  color: var(--aiesec-blue);
  font-family: var(--display);
  font-size: clamp(2.48rem, 5.45vw, 5.9rem);
  font-weight: 700;
  line-height: 0.94;
}

.stats span {
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(0, 64, 160, 0.98), rgba(88, 64, 120, 0.96) 52%, rgba(64, 160, 208, 0.96));
}

.brand-marquee::before,
.brand-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(120px, 18vw);
  pointer-events: none;
}

.brand-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--aaib-social-blue), rgba(0, 64, 160, 0));
}

.brand-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--aaib-wave-blue), rgba(64, 160, 208, 0));
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  will-change: transform;
}

.marquee-track span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.8vw, 1.7rem);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(102, 221, 255, 0.12);
}

.section {
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 1180px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.42;
}

.mission-grid,
.pillar-grid,
.event-grid {
  gap: 1px;
  background: var(--ink);
}

.mission-grid article,
.pillar-grid article,
.program-list article,
.event-grid article,
.leadership-card {
  border: 0;
  border-radius: 0;
  background: var(--paper);
  box-shadow: none;
}

.mission-grid article,
.pillar-grid article,
.program-list article,
.event-grid article {
  min-height: 210px;
  padding: clamp(22px, 3.5vw, 42px);
}

.mission-grid article:nth-child(2),
.pillar-grid article:nth-child(2n),
.event-grid article:nth-child(2) {
  background: var(--aiesec-blue-soft);
}

.section-icon {
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--aiesec-blue);
  color: var(--paper);
}

.countries,
.events {
  background: var(--soft);
}

.map-stage {
  border-color: var(--ink);
  background:
    radial-gradient(circle at 74% 30%, rgba(11, 133, 199, 0.2), transparent 22%),
    radial-gradient(circle at 18% 72%, rgba(43, 167, 220, 0.2), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, var(--aaib-pale) 100%);
}

.map-stage::before {
  background-image:
    linear-gradient(rgba(17, 16, 12, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 16, 12, 0.07) 1px, transparent 1px);
}

.world-map {
  filter: contrast(1.05) drop-shadow(0 18px 32px rgba(54, 36, 6, 0.13));
  opacity: 0.86;
}

.map-dot {
  border-color: var(--paper);
  background: var(--aiesec-blue);
}

.map-dot:hover,
.map-dot:focus-visible,
.map-dot.is-active {
  background: var(--aaib-sky);
}

.map-card {
  border: 1px solid var(--ink);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 8px 8px 0 var(--ink);
}

.map-card h3,
.map-card p,
.map-card a {
  color: var(--ink);
}

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

.pillar-grid article:nth-child(1),
.pillar-grid article:nth-child(2),
.pillar-grid article:nth-child(3) {
  border-top: 0;
}

.program-list {
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  gap: 1px;
  background: var(--ink);
}

.program-list article:nth-child(1),
.program-list article:nth-child(6) {
  background: var(--aiesec-blue);
  color: var(--paper);
}

.program-list article:nth-child(1) h3,
.program-list article:nth-child(1) p,
.program-list article:nth-child(1) a,
.program-list article:nth-child(6) h3,
.program-list article:nth-child(6) p,
.program-list article:nth-child(6) a {
  color: var(--paper);
}

.program-list article:nth-child(2),
.program-list article:nth-child(5) {
  background: var(--aiesec-blue-soft);
}

.events-banner {
  min-height: clamp(360px, 54vw, 650px);
  border-radius: 0;
  border: 1px solid var(--ink);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.84)),
    linear-gradient(100deg, rgba(0, 85, 129, 0.9), rgba(43, 167, 220, 0.48)),
    url("assets/alumni-hero.png") center / cover;
}

.events-banner .eyebrow {
  color: var(--ink);
}

.event-grid a {
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
}

.membership {
  background:
    linear-gradient(90deg, rgba(0, 47, 73, 0.98), rgba(0, 85, 129, 0.92)),
    url("assets/alumni-hero.png") center / cover;
  color: var(--paper);
}

.membership-copy p {
  color: var(--aaib-pale);
}

.benefits span {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
}

.membership-form {
  border: 1px solid var(--paper);
  border-radius: 0;
  background: var(--paper);
  box-shadow: 12px 12px 0 var(--aiesec-blue);
}

.membership-form input,
.membership-form textarea {
  border-color: var(--ink);
  border-radius: 0;
  background: transparent;
}

.membership-form button {
  color: var(--paper);
  background: var(--aiesec-blue);
  border-color: var(--aiesec-blue);
}

.leadership-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--ink);
}

.leadership-card {
  min-height: 160px;
  padding: 22px;
}

.avatar {
  border-radius: 0;
  background: var(--aiesec-blue);
  color: var(--paper);
  font-family: var(--display);
}

.leadership-card a {
  color: var(--ink);
  text-transform: uppercase;
}

.site-footer {
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(43, 167, 220, 0.28), transparent 28%),
    linear-gradient(160deg, var(--paper) 0%, var(--aaib-pale) 58%, rgba(11, 133, 199, 0.34) 100%);
}

.site-footer h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.95vw, 6.05rem);
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span,
.site-footer p {
  color: var(--ink);
}

@media (min-width: 901px) and (max-height: 760px) {
  h1 {
    font-size: clamp(3rem, 6.1vw, 5.75rem);
  }
}

@media (max-width: 900px) {
  .site-nav {
    color: var(--ink);
    background: var(--paper);
  }

  .hero {
    align-items: end;
  }

  .hero-content {
    margin: 0 18px max(28px, env(safe-area-inset-bottom));
  }

  .hero-credential {
    left: auto;
    right: 20px;
    top: 84px;
    width: clamp(150px, 40vw, 240px);
    opacity: 0.92;
  }

  h1 {
    max-width: min(540px, 100%);
    font-size: clamp(2.8rem, 10.1vw, 4.65rem);
    line-height: 1.02;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0.95) 55%, rgba(255, 255, 255, 0.98) 100%),
      radial-gradient(circle at 24% 84%, rgba(43, 167, 220, 0.28), transparent 30%);
  }

  .hero-globe {
    right: 24px;
    top: 94px;
    width: min(48vw, 250px);
    opacity: 0.72;
  }

  .hero-lines {
    right: -110px;
    top: 4%;
    width: 620px;
    opacity: 0.42;
  }

  .face {
    width: 58px;
  }

  .program-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.26rem, 10.85vw, 3.08rem);
    line-height: 1.05;
  }

  h2 {
    font-size: clamp(1.92rem, 9.1vw, 2.85rem);
    line-height: 1.12;
  }

  .hero {
    align-items: end;
  }

  .hero-content {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  .hero-content p:not(.eyebrow) {
    max-width: 100%;
    font-size: 0.96rem;
    line-height: 1.36;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
  }

  .hero-meta span {
    display: grid;
    min-width: 0;
    place-items: center;
    text-align: center;
  }

  .hero-meta span:last-child {
    grid-column: 1 / -1;
  }

  .hero-globe {
    right: 18px;
    top: 88px;
    width: 190px;
    opacity: 0.6;
  }

  .hero-credential {
    right: 12px;
    top: 92px;
    width: clamp(128px, 39vw, 172px);
    opacity: 0.86;
    transform: translate3d(0, calc(var(--credential-y, 0px) * 0.55), 0) rotate(-7deg);
  }

  .credential-chip {
    box-shadow: 0 0 0 2px rgba(43, 167, 220, 0.58), 0 10px 18px rgba(0, 85, 129, 0.18);
  }

  .face-a { --x: 60%; --y: 16%; }
  .face-b { --x: 80%; --y: 18%; }
  .face-c { --x: 92%; --y: 34%; }
  .face-d { --x: 76%; --y: 36%; }
  .face-e { --x: 63%; --y: 32%; }
  .face-f { --x: 77%; --y: 51%; }
  .face-g { --x: 96%; --y: 53%; }
  .face-h { --x: 108%; --y: 43%; }
  .face-i { --x: 64%; --y: 49%; }

  .stats article {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .mission-grid article,
  .pillar-grid article,
  .program-list article,
  .event-grid article {
    min-height: 170px;
  }

  .events-banner {
    min-height: 430px;
  }
}

/* Hero polish: a cleaner AAIB opening with one strong visual focal point. */
.site-header {
  color: #ffffff;
}

.site-header.is-scrolled {
  color: var(--ink);
}

.hero {
  min-height: 100svh;
  isolation: isolate;
  border-bottom: 0;
  background: var(--aaib-social-blue);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: clamp(150px, 22vw, 260px);
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(16, 58, 145, 0) 0%, rgba(64, 160, 208, 0.18) 34%, rgba(102, 221, 255, 0.28) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 280' preserveAspectRatio='none'%3E%3Cpath d='M0 122 C150 188 254 46 430 112 C584 170 682 44 840 106 C1004 171 1110 48 1440 116' fill='none' stroke='%2366ddff' stroke-width='5' stroke-opacity='.9'/%3E%3Cpath d='M0 148 C158 78 300 202 470 126 C626 56 738 194 900 116 C1062 38 1226 182 1440 92' fill='none' stroke='%2340c8f0' stroke-width='4' stroke-opacity='.78'/%3E%3Cpath d='M0 168 C170 214 278 100 454 160 C626 220 728 90 900 150 C1070 210 1218 92 1440 146' fill='none' stroke='%232f92ce' stroke-width='3' stroke-opacity='.72'/%3E%3Cpath d='M0 190 C180 128 318 232 500 172 C680 112 820 226 990 158 C1168 88 1300 210 1440 166' fill='none' stroke='%2388ecff' stroke-width='2' stroke-opacity='.62'/%3E%3Cpath d='M0 220 C154 164 304 248 468 198 C646 144 796 250 960 190 C1134 126 1276 224 1440 184' fill='none' stroke='%23134ca3' stroke-width='2' stroke-opacity='.5'/%3E%3Cpath d='M0 252 C162 202 340 268 520 226 C710 182 864 260 1040 218 C1220 176 1328 236 1440 212' fill='none' stroke='%235fe5ff' stroke-width='2' stroke-opacity='.44'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: clamp(120px, 18vw, 220px);
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 64, 160, 0.42), rgba(0, 64, 160, 0));
  pointer-events: none;
}

.hero-animation {
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(102, 221, 255, 0.34), transparent 25%),
    linear-gradient(180deg, rgba(0, 64, 160, 0.95) 0%, rgba(29, 63, 148, 0.91) 42%, rgba(88, 64, 120, 0.9) 78%, rgba(40, 64, 144, 0.96) 100%),
    linear-gradient(102deg, rgba(0, 64, 160, 0.95) 0%, rgba(42, 63, 138, 0.78) 44%, rgba(88, 64, 120, 0.42) 74%, rgba(64, 160, 208, 0.14) 100%),
    url("assets/alumni-hero.png") right center / cover no-repeat;
}

.hero-animation::before {
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, #000 0%, #000 68%, transparent 100%);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 37, 118, 0.82) 0%, rgba(21, 55, 142, 0.68) 38%, rgba(88, 64, 120, 0.26) 68%, rgba(64, 160, 208, 0.02) 100%),
    linear-gradient(0deg, rgba(29, 63, 148, 0.54) 0%, rgba(88, 64, 120, 0.14) 42%, rgba(0, 64, 160, 0) 100%);
}

.hero-content {
  z-index: 3;
  width: min(820px, calc(100% - 72px));
  margin: 0 0 clamp(64px, 8vw, 110px) clamp(24px, 7vw, 112px);
  color: #ffffff;
}

.hero .eyebrow {
  width: max-content;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 8px 12px;
  color: #ffffff;
  border: 1px solid rgba(102, 221, 255, 0.38);
  background: rgba(20, 63, 149, 0.38);
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-family: var(--display-sans);
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(4rem, 7.15vw, 8.25rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-shadow: 0 22px 70px rgba(0, 26, 43, 0.46);
}

.hero-content p:not(.eyebrow) {
  max-width: 660px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.06rem, 1.28vw, 1.24rem);
  line-height: 1.62;
}

.hero-actions {
  margin-top: 30px;
}

.hero .button {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero .primary {
  color: var(--aaib-navy);
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 18px 48px rgba(0, 25, 45, 0.28);
}

.hero .secondary {
  color: #ffffff;
  background: rgba(88, 64, 120, 0.28);
}

.hero-meta {
  gap: 10px;
  margin-top: 28px;
}

.hero-meta span {
  color: #ffffff;
  border-color: rgba(102, 221, 255, 0.34);
  background: rgba(17, 76, 163, 0.3);
  backdrop-filter: blur(10px);
}

.hero-globe {
  right: clamp(30px, 7vw, 112px);
  top: clamp(110px, 14vh, 170px);
  width: min(36vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    url("assets/alumni-hero.png") right center / cover no-repeat;
  box-shadow:
    inset 0 0 0 12px rgba(255, 255, 255, 0.04),
    0 34px 100px rgba(0, 32, 54, 0.35);
  opacity: 0.92;
  transform: none;
}

.hero-globe::after {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-lines {
  right: clamp(0px, 5vw, 96px);
  top: clamp(96px, 12vh, 150px);
  width: min(44vw, 660px);
  height: 58%;
  opacity: 0.34;
  mix-blend-mode: screen;
}

.hero-lines path {
  stroke: rgba(255, 255, 255, 0.56);
  stroke-width: 0.18;
}

.hero-wordmark {
  right: clamp(24px, 5vw, 88px);
  bottom: clamp(92px, 13vw, 160px);
  color: rgba(255, 255, 255, 0.09);
  font-size: clamp(5rem, 13vw, 13rem);
  line-height: 0.8;
  opacity: 1;
  transform: none;
}

.hero-credential {
  display: block;
  left: auto;
  right: clamp(320px, 42vw, 620px);
  top: clamp(120px, 18vh, 210px);
  width: clamp(130px, 16vw, 230px);
  z-index: 4;
  opacity: 0.96;
  filter: drop-shadow(0 26px 42px rgba(0, 23, 78, 0.34));
  transform: translate3d(0, var(--credential-y, 0px), 0) rotate(-8deg);
}

.hero-credential::before {
  content: "";
  position: absolute;
  inset: 8% -8% -5% 10%;
  z-index: -1;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(102, 221, 255, 0.22), rgba(88, 64, 120, 0.28));
  filter: blur(12px);
}

.face {
  width: clamp(56px, 5.6vw, 86px);
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(43, 167, 220, 0.45), 0 20px 48px rgba(0, 35, 58, 0.34);
}

.face-a { --x: 70%; --y: 26%; }
.face-b { --x: 84%; --y: 26%; }
.face-c { --x: 88%; --y: 48%; }
.face-d { --x: 73%; --y: 58%; }
.face-e { --x: 80%; --y: 73%; }
.face-f { --x: 94%; --y: 67%; }
.face-g,
.face-h,
.face-i {
  display: none;
}

@media (max-width: 900px) {
  .site-header {
    color: var(--ink);
  }

  .hero {
    min-height: 100svh;
  }

  .hero-animation {
    background:
      radial-gradient(circle at 84% 12%, rgba(102, 221, 255, 0.34), transparent 28%),
      linear-gradient(180deg, rgba(0, 64, 160, 0.08) 0%, rgba(49, 64, 136, 0.42) 35%, rgba(88, 64, 120, 0.74) 58%, rgba(0, 64, 160, 0.98) 84%),
      url("assets/alumni-hero.png") 62% top / auto 58% no-repeat,
      linear-gradient(180deg, var(--aaib-social-blue), var(--aaib-social-purple));
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(88, 64, 120, 0.14) 38%, rgba(0, 64, 160, 0.96) 74%, rgba(0, 64, 160, 1) 100%);
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px max(34px, env(safe-area-inset-bottom));
  }

  .hero h1 {
    max-width: 720px;
    font-size: clamp(3.3rem, 10vw, 5.8rem);
    line-height: 0.94;
  }

  .hero-content p:not(.eyebrow) {
    max-width: 620px;
  }

  .hero-globe {
    right: -70px;
    top: 84px;
    width: min(54vw, 360px);
    opacity: 0.52;
  }

  .hero-credential {
    right: clamp(18px, 6vw, 42px);
    top: clamp(92px, 13vh, 132px);
    width: clamp(112px, 24vw, 170px);
    opacity: 0.86;
  }

  .hero-lines {
    right: -120px;
    top: 70px;
    width: 560px;
    opacity: 0.22;
  }

  .face {
    width: 54px;
  }

  .face-a { --x: 68%; --y: 18%; }
  .face-b { --x: 88%; --y: 21%; }
  .face-c { --x: 86%; --y: 36%; }
  .face-d { --x: 66%; --y: 40%; }
  .face-e { --x: 76%; --y: 50%; }
  .face-f { --x: 96%; --y: 49%; }
}

@media (max-width: 560px) {
  .brand span:last-child {
    max-width: 128px;
    font-size: 0.78rem;
  }

  .hero {
    align-items: end;
  }

  .hero-animation {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(88, 64, 120, 0.22) 34%, rgba(0, 64, 160, 0.96) 70%, rgba(0, 64, 160, 1) 100%),
      url("assets/alumni-hero.png") 64% top / auto 48% no-repeat,
      linear-gradient(180deg, var(--aaib-social-blue), var(--aaib-social-purple));
  }

  .hero-content {
    width: min(358px, calc(100% - 32px));
    max-width: 358px;
    margin-left: 16px;
    margin-right: 16px;
  }

  .hero .eyebrow {
    font-size: 0.64rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.42rem, 10.9vw, 3.08rem);
    line-height: 1;
    letter-spacing: -0.01em;
  }

  .hero-content p:not(.eyebrow) {
    max-width: 100%;
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero .button {
    width: 100%;
  }

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

  .hero-meta span:last-child {
    grid-column: auto;
  }

  .hero-globe,
  .hero-lines,
  .hero-wordmark {
    display: none;
  }

  .hero-credential {
    right: 16px;
    top: 78px;
    width: 112px;
    opacity: 0.74;
    transform: translate3d(0, calc(var(--credential-y, 0px) * 0.45), 0) rotate(-8deg);
  }

  .credential-chip {
    display: none;
  }

  .face {
    width: 42px;
    opacity: 0.78;
  }

  .face-a { --x: 70%; --y: 16%; }
  .face-b { --x: 88%; --y: 20%; }
  .face-c { --x: 82%; --y: 34%; }
  .face-d { --x: 64%; --y: 36%; }
.face-e,
  .face-f {
    display: none;
  }
}

/* Directive showcase: adapted from the AAIB Instagram board announcement. */
.directive-showcase {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 86px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 20%, rgba(102, 221, 255, 0.2), transparent 24%),
    linear-gradient(180deg, var(--aaib-social-blue) 0%, var(--aaib-social-deep) 46%, var(--aaib-social-purple) 100%);
}

.directive-showcase::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: clamp(128px, 18vw, 220px);
  background:
    linear-gradient(180deg, rgba(64, 160, 208, 0), rgba(64, 160, 208, 0.3)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 260' preserveAspectRatio='none'%3E%3Cpath d='M0 90 C170 166 250 24 430 92 C600 156 720 28 890 94 C1066 162 1190 24 1440 92' fill='none' stroke='%2366ddff' stroke-width='5' stroke-opacity='.88'/%3E%3Cpath d='M0 118 C160 58 306 182 480 112 C650 44 760 178 930 106 C1094 38 1244 166 1440 80' fill='none' stroke='%2340c8f0' stroke-width='4' stroke-opacity='.72'/%3E%3Cpath d='M0 150 C182 206 300 84 480 148 C660 212 778 86 958 146 C1138 206 1250 92 1440 138' fill='none' stroke='%232f92ce' stroke-width='3' stroke-opacity='.68'/%3E%3Cpath d='M0 184 C164 132 334 218 520 170 C704 122 840 220 1030 166 C1210 116 1320 200 1440 176' fill='none' stroke='%2388ecff' stroke-width='2' stroke-opacity='.52'/%3E%3Cpath d='M0 222 C174 178 350 238 542 204 C724 172 884 234 1060 204 C1238 174 1334 222 1440 210' fill='none' stroke='%235fe5ff' stroke-width='2' stroke-opacity='.42'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
  pointer-events: none;
}

.directive-showcase::after {
  content: "AAIB";
  position: absolute;
  right: clamp(18px, 5vw, 76px);
  top: clamp(42px, 6vw, 82px);
  color: rgba(255, 255, 255, 0.08);
  font-family: var(--display);
  font-size: clamp(5rem, 12vw, 12rem);
  font-weight: 900;
  line-height: 1;
}

.directive-showcase .section-heading {
  position: relative;
  z-index: 1;
}

.directive-showcase .eyebrow {
  color: var(--aaib-wave-light);
}

.directive-showcase h2 {
  max-width: 980px;
  color: #ffffff;
}

.directive-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.8vw, 34px);
  padding-bottom: clamp(62px, 9vw, 118px);
}

.directive-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  min-height: 430px;
  padding: clamp(18px, 2.8vw, 30px);
  text-align: center;
}

.directive-card::before {
  content: "";
  position: absolute;
  inset: 86px 8% auto;
  height: 48%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(102, 221, 255, 0.16), transparent 68%);
  filter: blur(6px);
}

.directive-card figure {
  position: relative;
  display: grid;
  width: min(260px, 82%);
  aspect-ratio: 1;
  margin: 0;
  place-items: center;
}

.directive-card figure::before {
  content: "";
  position: absolute;
  inset: 5%;
  border-radius: 50% 50% 42% 50%;
  background: #ffffff;
  box-shadow: 18px 22px 36px rgba(0, 23, 78, 0.36);
  transform: rotate(-8deg);
}

.directive-card figure::after {
  content: "";
  position: absolute;
  right: 3%;
  bottom: 8%;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 0 0 100% 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(210, 226, 244, 0.2));
  box-shadow: -10px 12px 22px rgba(0, 23, 78, 0.26);
  transform: rotate(-16deg);
}

.directive-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 23, 78, 0.26));
}

.directive-card > div {
  position: relative;
  display: grid;
  gap: 6px;
}

.directive-country {
  justify-self: center;
  padding: 5px 10px;
  border: 1px solid rgba(102, 221, 255, 0.42);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.directive-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.18rem, 2vw, 1.54rem);
}

.directive-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.directive-card.is-featured {
  transform: translateY(-16px);
}

.directive-card.is-featured figure {
  width: min(286px, 88%);
}

@media (max-width: 900px) {
  .directive-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .directive-card,
  .directive-card.is-featured {
    min-height: auto;
    transform: none;
  }

  .directive-card figure,
  .directive-card.is-featured figure {
    width: min(240px, 76vw);
  }
}

@media (max-width: 560px) {
  .directive-showcase {
    padding-top: 64px;
  }

  .directive-grid {
    padding-bottom: 92px;
  }

  .directive-card {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Official AAIB logo treatment and contact/document refinements. */
.brand {
  flex: 0 0 auto;
  min-width: 0;
  gap: 0;
}

.brand-logo {
  display: block;
  width: clamp(200px, 25vw, 280px);
  height: auto;
  object-fit: contain;
}

.brand-logo-dark,
.brand-logo-compact {
  display: none;
}

.site-header.is-scrolled .brand-logo-light {
  display: none;
}

.site-header.is-scrolled .brand-logo-dark {
  display: block;
}

.nav-financials {
  color: currentColor;
  font-weight: 800;
}

.hero-wordmark {
  width: clamp(230px, 31vw, 480px);
  height: auto;
  font-size: 0;
  line-height: 0;
}

.hero-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.map-card {
  pointer-events: auto;
}

.map-card-label {
  display: block;
  margin-bottom: 8px;
  color: var(--aaib-social-purple);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.map-card a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(112px, 12vw, 152px);
  color: #ffffff;
  background: linear-gradient(160deg, var(--aaib-social-blue) 0%, var(--aaib-social-deep) 56%, var(--aaib-social-purple) 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: clamp(74px, 9vw, 116px);
  background:
    linear-gradient(180deg, rgba(64, 160, 208, 0), rgba(64, 160, 208, 0.34)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 250' preserveAspectRatio='none'%3E%3Cpath d='M0 92 C176 168 258 28 438 96 C606 160 722 30 890 96 C1060 162 1196 32 1440 92' fill='none' stroke='%2366ddff' stroke-width='5' stroke-opacity='.88'/%3E%3Cpath d='M0 122 C168 58 312 188 486 112 C654 40 770 184 940 104 C1106 28 1252 170 1440 82' fill='none' stroke='%2340c8f0' stroke-width='4' stroke-opacity='.74'/%3E%3Cpath d='M0 154 C180 210 298 88 484 150 C662 212 782 88 964 146 C1140 204 1262 94 1440 138' fill='none' stroke='%232f92ce' stroke-width='3' stroke-opacity='.68'/%3E%3Cpath d='M0 188 C170 132 338 222 526 170 C710 120 846 222 1038 166 C1216 114 1328 198 1440 176' fill='none' stroke='%2388ecff' stroke-width='2' stroke-opacity='.56'/%3E%3Cpath d='M0 224 C178 180 358 240 548 204 C734 170 892 238 1074 204 C1248 172 1340 222 1440 212' fill='none' stroke='%235fe5ff' stroke-width='2' stroke-opacity='.46'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 22px;
}

.footer-logo {
  display: block;
  width: min(100%, 340px);
  height: auto;
}

.site-footer a,
.site-footer span,
.site-footer p {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer strong,
.site-footer .footer-subheading {
  color: var(--aaib-wave-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
}

.footer-subheading {
  margin-top: 18px;
}

.footer-financial-link {
  color: #ffffff !important;
  font-weight: 800;
}

.directive-card h3 {
  display: none;
}

.hero h1,
.hero h1 span {
  letter-spacing: 0;
}

@media (max-width: 1080px) and (min-width: 901px) {
  .site-header {
    padding-right: 24px;
    padding-left: 24px;
  }

  .brand-logo {
    width: min(250px, 28vw);
  }

  .site-nav {
    gap: 12px;
    font-size: 0.68rem;
  }
}

@media (max-width: 900px) {
  .brand-logo {
    width: min(250px, 48vw);
  }

  .site-nav .nav-financials {
    color: var(--ink);
  }
}

@media (max-width: 560px) {
  .brand-logo-light,
  .brand-logo-dark {
    display: none !important;
  }

  .brand-logo-compact {
    display: block;
    width: 44px;
    height: 44px;
  }

  .footer-logo {
    width: min(78vw, 280px);
  }
}

.stats-anniversary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 17px clamp(18px, 5vw, 64px) 19px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--aaib-social-blue), var(--aaib-social-purple) 52%, var(--aaib-wave-blue));
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.stats-anniversary b {
  color: var(--aaib-wave-light);
  font-weight: 800;
}

@media (max-width: 560px) {
  .stats-anniversary {
    padding: 15px 18px 17px;
    font-size: 0.8rem;
  }
}

/* Countries mega menu: a visual gateway to the reusable national landings. */
.site-nav .country-menu {
  position: relative;
  flex: 0 0 auto;
}

.site-nav .country-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: currentColor;
  cursor: pointer;
  list-style: none;
  opacity: 0.86;
}

.site-nav .country-menu > summary::-webkit-details-marker {
  display: none;
}

.site-nav .country-menu > summary:hover,
.site-nav .country-menu[open] > summary,
.site-nav .country-menu > summary:focus-visible {
  opacity: 1;
}

.country-menu-caret {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.country-menu[open] .country-menu-caret {
  transform: translateY(2px) rotate(225deg);
}

.country-menu-panel {
  position: absolute;
  top: calc(100% + 18px);
  right: -12px;
  display: grid;
  grid-template-columns: minmax(210px, 0.85fr) minmax(300px, 1.15fr);
  width: min(650px, calc(100vw - 40px));
  padding: 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(20, 63, 149, 0.18);
  box-shadow: 0 24px 70px rgba(8, 36, 95, 0.2);
  text-transform: none;
  line-height: 1.3;
}

.country-menu-panel::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 40px;
  width: 11px;
  height: 11px;
  background: #ffffff;
  border-top: 1px solid rgba(20, 63, 149, 0.18);
  border-left: 1px solid rgba(20, 63, 149, 0.18);
  transform: rotate(45deg);
}

.country-menu-feature {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 22px;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(0, 64, 160, 0.97), rgba(88, 64, 120, 0.95)),
    url("assets/world-map.png") center / cover;
}

.country-menu-feature::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -5%;
  width: 125%;
  height: 36%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 180' preserveAspectRatio='none'%3E%3Cpath d='M0 90 C92 148 148 24 254 88 C360 148 432 28 540 92 C652 154 714 46 800 80' fill='none' stroke='%2366ddff' stroke-width='5' stroke-opacity='.86'/%3E%3Cpath d='M0 122 C102 58 172 158 284 102 C388 48 466 154 578 96 C682 44 742 132 800 90' fill='none' stroke='%2340a0d0' stroke-width='4' stroke-opacity='.76'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}

.country-menu-feature > *,
.country-menu-feature-actions > * {
  position: relative;
  z-index: 1;
}

.country-menu-kicker {
  display: block;
  color: var(--aaib-social-purple);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.country-menu-feature .country-menu-kicker {
  color: var(--aaib-wave-light);
}

.country-menu-feature h2 {
  max-width: 190px;
  margin: 16px 0 12px;
  color: #ffffff;
  font-family: var(--display-sans);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

.country-menu-feature p {
  max-width: 230px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  line-height: 1.55;
}

.country-menu-feature-actions {
  display: grid;
  gap: 10px;
}

.country-menu-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: #ffffff !important;
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.country-menu-colombia {
  display: grid;
  gap: 3px;
  width: fit-content;
  padding: 10px 12px;
  color: var(--aaib-social-blue) !important;
  background: var(--aaib-wave-light);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 6px 6px 0 rgba(0, 64, 160, 0.42);
}

.country-menu-colombia span,
.country-menu-colombia small {
  color: var(--aaib-social-purple);
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.country-menu-colombia strong {
  font-size: 1rem;
  line-height: 1;
}

.country-menu-directory {
  padding: 12px 12px 10px 20px;
}

.country-menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.country-menu-list li {
  border-top: 1px solid rgba(20, 63, 149, 0.15);
}

.country-menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 43px;
  color: var(--ink) !important;
  font-size: 0.72rem;
  font-weight: 800;
  opacity: 1 !important;
  transition: color 180ms ease, padding 180ms ease;
}

.country-menu-list a:hover,
.country-menu-list a:focus-visible {
  padding-left: 5px;
  color: var(--aaib-social-purple) !important;
}

.country-menu-list a span {
  color: var(--aaib-wave-blue);
  font-size: 0.95rem;
  line-height: 1;
}

@media (max-width: 1080px) and (min-width: 901px) {
  .country-menu-panel {
    right: -24px;
  }
}

@media (max-width: 900px) {
  .site-nav .country-menu {
    width: 100%;
  }

  .site-nav .country-menu > summary {
    justify-content: space-between;
    width: 100%;
    padding: 9px 0;
  }

  .country-menu-panel {
    position: static;
    grid-template-columns: 1fr;
    width: auto;
    margin-top: 8px;
    padding: 10px;
    box-shadow: none;
  }

  .country-menu-panel::before {
    display: none;
  }

  .country-menu-feature {
    min-height: 235px;
  }

  .country-menu-directory {
    padding: 18px 6px 6px;
  }
}

@media (max-width: 560px) {
  .country-menu-list {
    grid-template-columns: 1fr;
  }

  .country-menu-feature {
    min-height: 220px;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .country-menu-caret,
  .country-menu-list a {
    transition: none;
  }
}

/* Colombia reference polish: blue-to-turquoise gradients, green CTA, and aqua waves. */
.site-header {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 38, 96, 0.28), transparent);
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
}

.hero-animation {
  background:
    radial-gradient(circle at 82% 16%, rgba(154, 242, 241, 0.3), transparent 24%),
    linear-gradient(112deg, rgba(3, 126, 243, 0.96) 0%, rgba(0, 122, 183, 0.9) 44%, rgba(24, 180, 157, 0.78) 78%, rgba(0, 83, 138, 0.96) 100%),
    url("assets/alumni-hero.png") right center / cover no-repeat;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 48, 112, 0.84) 0%, rgba(0, 89, 168, 0.62) 38%, rgba(24, 180, 157, 0.3) 70%, rgba(34, 198, 227, 0.02) 100%),
    linear-gradient(0deg, rgba(0, 83, 138, 0.64) 0%, rgba(24, 180, 157, 0.16) 46%, rgba(3, 126, 243, 0) 100%);
}

.hero-globe {
  border-color: rgba(154, 242, 241, 0.52);
  box-shadow:
    inset 0 0 0 12px rgba(154, 242, 241, 0.08),
    0 34px 100px rgba(0, 83, 138, 0.4);
}

.hero .primary {
  color: #06365f;
  background: var(--aaib-green);
  border-color: var(--aaib-green);
  box-shadow: 0 18px 48px rgba(0, 70, 73, 0.28);
}

.hero .secondary {
  color: #ffffff;
  background: rgba(24, 180, 157, 0.32);
  border-color: rgba(154, 242, 241, 0.52);
}

.hero-meta span {
  border-color: rgba(154, 242, 241, 0.5);
  background: rgba(0, 89, 168, 0.34);
}

.hero-credential::before {
  background: linear-gradient(135deg, rgba(154, 242, 241, 0.3), rgba(0, 193, 110, 0.34));
}

.brand-marquee {
  background: linear-gradient(90deg, var(--aaib-social-deep), #168fba 52%, var(--aaib-green));
}

.brand-marquee::before {
  background: linear-gradient(90deg, var(--aaib-social-deep), rgba(0, 89, 168, 0));
}

.brand-marquee::after {
  background: linear-gradient(270deg, var(--aaib-wave-blue), rgba(34, 198, 227, 0));
}

.marquee-track span {
  border-color: rgba(154, 242, 241, 0.46);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(154, 242, 241, 0.16);
}

.events-banner {
  background:
    linear-gradient(102deg, rgba(3, 126, 243, 0.86) 0%, rgba(18, 148, 181, 0.8) 52%, rgba(0, 193, 110, 0.72) 100%),
    url("assets/alumni-hero.png") center / cover;
  border-color: rgba(0, 83, 138, 0.3);
  color: #00538a;
}

.events-banner .eyebrow,
.events-banner h2 {
  color: #00538a;
}

.events-banner h2 {
  max-width: 980px;
  line-height: 0.94;
  text-shadow: none;
}

.membership {
  background: #06365f;
}

.directive-showcase {
  background:
    radial-gradient(circle at 80% 18%, rgba(154, 242, 241, 0.16), transparent 24%),
    linear-gradient(180deg, var(--aaib-social-deep) 0%, var(--aaib-social-purple) 100%);
}

.directive-showcase .eyebrow,
.directive-country {
  color: var(--aaib-wave-light);
}

.directive-country {
  border-color: rgba(154, 242, 241, 0.52);
}

.site-footer {
  background: linear-gradient(160deg, var(--aaib-social-deep) 0%, var(--aaib-navy) 54%, var(--aaib-social-purple) 100%);
}

.site-footer::before {
  background:
    linear-gradient(180deg, rgba(34, 198, 227, 0), rgba(34, 198, 227, 0.38)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 250' preserveAspectRatio='none'%3E%3Cpath d='M0 92 C176 168 258 28 438 96 C606 160 722 30 890 96 C1060 162 1196 32 1440 92' fill='none' stroke='%239af2f1' stroke-width='5' stroke-opacity='.9'/%3E%3Cpath d='M0 122 C168 58 312 188 486 112 C654 40 770 184 940 104 C1106 28 1252 170 1440 82' fill='none' stroke='%2322c6e3' stroke-width='4' stroke-opacity='.8'/%3E%3Cpath d='M0 154 C180 210 298 88 484 150 C662 212 782 88 964 146 C1140 204 1262 94 1440 138' fill='none' stroke='%23037ef3' stroke-width='3' stroke-opacity='.72'/%3E%3Cpath d='M0 188 C170 132 338 222 526 170 C710 120 846 222 1038 166 C1216 114 1328 198 1440 176' fill='none' stroke='%23b8ffff' stroke-width='2' stroke-opacity='.6'/%3E%3Cpath d='M0 224 C178 180 358 240 548 204 C734 170 892 238 1074 204 C1248 172 1340 222 1440 212' fill='none' stroke='%235b4cc4' stroke-width='2' stroke-opacity='.62'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
}

.site-footer strong,
.site-footer .footer-subheading {
  color: var(--aaib-wave-light);
}

.country-cta-primary {
  color: #06365f;
  background: var(--aaib-green);
  border-color: var(--aaib-green);
}

@media (max-width: 900px) {
  .site-header {
    background: linear-gradient(180deg, rgba(0, 38, 96, 0.32), transparent);
  }

  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
  }

  .hero-animation {
    background:
      radial-gradient(circle at 82% 12%, rgba(154, 242, 241, 0.32), transparent 28%),
      linear-gradient(180deg, rgba(3, 126, 243, 0.12) 0%, rgba(0, 89, 168, 0.48) 34%, rgba(24, 180, 157, 0.72) 58%, rgba(0, 83, 138, 0.98) 86%),
      url("assets/alumni-hero.png") 62% top / auto 58% no-repeat,
      linear-gradient(180deg, var(--aaib-social-blue), var(--aaib-social-purple));
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 89, 168, 0.04) 0%, rgba(24, 180, 157, 0.18) 38%, rgba(0, 83, 138, 0.96) 74%, rgba(0, 83, 138, 1) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .button,
  .country-cta,
  .marquee-track span {
    transition: none;
  }
}

/* Keep the directive portraits circular so their baked-in square backgrounds never show. */
.directive-card figure::before {
  inset: 4%;
  border-radius: 50%;
  transform: none;
}

.directive-card figure::after {
  display: none;
}

.directive-card img {
  width: 94%;
  height: 94%;
  object-fit: cover;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  filter: drop-shadow(0 18px 26px rgba(0, 23, 78, 0.26));
}

/* Final reference adjustments: green map points, one green program tile, and stronger event-title contrast. */
.map-dot {
  background: var(--aaib-green);
  box-shadow: 0 0 0 0 rgba(0, 193, 110, 0.34), 0 10px 22px rgba(0, 83, 88, 0.2);
}

.map-dot:hover,
.map-dot:focus-visible,
.map-dot.is-active {
  background: var(--aaib-green);
}

.program-list article:nth-child(6) {
  background: var(--aaib-green);
}

.program-list article:nth-child(6) h3,
.program-list article:nth-child(6) p,
.program-list article:nth-child(6) a {
  color: var(--paper);
}

.events-banner {
  background:
    linear-gradient(102deg, rgba(3, 126, 243, 0.64) 0%, rgba(18, 164, 174, 0.8) 28%, rgba(0, 193, 110, 0.9) 68%, rgba(0, 159, 114, 0.92) 100%),
    url("assets/alumni-hero.png") center / cover;
}

.events-banner .eyebrow,
.events-banner h2 {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.events-banner h2 {
  font-weight: 900;
  -webkit-text-stroke: 1px rgba(0, 63, 120, 0.32);
  text-shadow: 0 3px 0 rgba(0, 63, 120, 0.72), 0 7px 18px rgba(0, 55, 98, 0.32);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: currentColor;
}

.language-label {
  padding: 0 5px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.language-switcher button {
  min-width: 31px;
  min-height: 28px;
  padding: 0 7px;
  border: 0;
  border-radius: 999px;
  color: currentColor;
  background: transparent;
  font: inherit;
  font-size: 0.64rem;
  font-weight: 900;
  cursor: pointer;
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.language-switcher button.is-active {
  color: #06365f;
  background: #fff;
}

.site-header.is-scrolled .language-switcher {
  color: var(--ink);
  border-color: rgba(11, 75, 125, 0.26);
  background: rgba(237, 249, 252, 0.72);
}

.site-header.is-scrolled .language-switcher button.is-active {
  color: #fff;
  background: var(--aaib-blue);
}

@media (max-width: 1080px) and (min-width: 901px) {
  .site-nav {
    gap: 9px;
  }

  .language-label {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-nav .language-switcher {
    align-self: flex-start;
    margin-top: 10px;
  }
}

@media (max-width: 560px) {
  .language-label {
    display: none;
  }
}

/* Final AAIB colour corrections. */
.map-card-label {
  color: var(--aaib-social-deep);
}

.membership-actions .button.primary,
.membership-form button {
  color: #06365f;
  background: var(--aaib-green);
  border-color: var(--aaib-green);
}

.membership-actions .button.primary:hover,
.membership-actions .button.primary:focus-visible,
.membership-form button:hover,
.membership-form button:focus-visible {
  color: #06365f;
  background: #12d47f;
  border-color: #12d47f;
}

.directive-showcase {
  background:
    radial-gradient(circle at 80% 18%, rgba(102, 221, 255, 0.12), transparent 24%),
    linear-gradient(160deg, #0040a0 0%, #0059a8 48%, #00c16e 100%);
}

.site-footer {
  background: linear-gradient(160deg, #0040a0 0%, #0059a8 48%, #00c16e 100%);
}

.stats-anniversary {
  position: relative;
  isolation: isolate;
  min-height: 164px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  overflow: hidden;
  padding: 32px 132px 36px;
  color: #ffffff;
  background:
    repeating-linear-gradient(125deg, transparent 0 58px, rgba(102, 221, 255, 0.07) 58px 59px),
    linear-gradient(102deg, #002d70 0%, #0040a0 62%, #00538a 100%);
  border-top: 1px solid rgba(102, 221, 255, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: center;
}

.stats-anniversary::before {
  content: "20";
  position: absolute;
  top: 50%;
  left: 46px;
  z-index: 0;
  color: rgba(102, 221, 255, 0.2);
  font-family: var(--display);
  font-size: 10rem;
  font-weight: 900;
  line-height: 0.75;
  transform: translateY(-50%);
}

.stats-anniversary::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 6px;
  background: linear-gradient(90deg, #66ddff 0 28%, #00c16e 28% 68%, #037ef3 68% 100%);
}

.stats-anniversary > span,
.stats-anniversary > b {
  position: relative;
  z-index: 1;
}

.stats-anniversary > span {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.stats-anniversary > b {
  max-width: 920px;
  color: #ffffff;
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 3px 20px rgba(0, 26, 68, 0.34);
}

@media (max-width: 900px) {
  .stats-anniversary {
    min-height: 150px;
    padding: 28px 40px 32px;
  }

  .stats-anniversary::before {
    left: 18px;
    font-size: 8rem;
  }

  .stats-anniversary > span {
    font-size: 1.05rem;
  }

  .stats-anniversary > b {
    font-size: 2.4rem;
  }
}

@media (max-width: 560px) {
  .stats-anniversary {
    min-height: 176px;
    padding: 32px 20px 38px;
  }

  .stats-anniversary::before {
    left: 50%;
    color: rgba(102, 221, 255, 0.13);
    font-size: 8rem;
    transform: translate(-50%, -50%);
  }

  .stats-anniversary > span {
    font-size: 1rem;
  }

  .stats-anniversary > b {
    font-size: 2rem;
    line-height: 1.08;
  }
}

.brand-marquee {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 0;
  border-top: 1px solid rgba(102, 221, 255, 0.5);
  border-bottom: 1px solid rgba(0, 193, 110, 0.56);
  background:
    repeating-linear-gradient(120deg, transparent 0 84px, rgba(102, 221, 255, 0.07) 84px 85px),
    linear-gradient(90deg, #003a83 0%, #0059a8 54%, #007d72 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(0, 37, 80, 0.24);
}

.brand-marquee::before {
  background: linear-gradient(90deg, #003a83 0%, rgba(0, 58, 131, 0) 100%);
}

.brand-marquee::after {
  background: linear-gradient(270deg, #007d72 0%, rgba(0, 125, 114, 0) 100%);
}

.marquee-track {
  min-height: 92px;
  align-items: center;
  gap: 0;
}

.marquee-track span {
  position: relative;
  min-height: 92px;
  padding: 0 50px;
  border: 0;
  border-radius: 0;
  color: #ffffff;
  background: transparent;
  box-shadow: none;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 32, 72, 0.26);
}

.marquee-track span::before {
  content: "";
  width: 3px;
  height: 36px;
  flex: 0 0 3px;
  margin-right: 30px;
  border: 0;
  background: linear-gradient(180deg, #66ddff 0%, #00c16e 100%);
  box-shadow: 0 0 18px rgba(102, 221, 255, 0.24);
  transform: skewX(-18deg);
}

@media (max-width: 560px) {
  .brand-marquee,
  .marquee-track {
    min-height: 72px;
  }

  .marquee-track span {
    min-height: 72px;
    padding: 0 28px;
    font-size: 1.05rem;
  }

  .marquee-track span::before {
    height: 28px;
    margin-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .brand-marquee::-webkit-scrollbar {
    display: none;
  }
}

/* Production directive refresh: green-led gradient, stronger hierarchy, and clearer portraits. */
.directive-showcase {
  background:
    radial-gradient(circle at 78% 24%, rgba(102, 221, 255, 0.16), transparent 22%),
    linear-gradient(118deg, #0040a0 0%, #087fba 28%, #00a77e 58%, #00c16e 100%);
}

.directive-showcase .section-heading {
  max-width: 1120px;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.directive-showcase .eyebrow {
  color: #b8ffff;
  font-size: 0.86rem;
}

.directive-showcase h2 {
  max-width: 1100px;
  color: #ffffff;
  font-size: clamp(3.25rem, 5.5vw, 5.6rem);
  line-height: 0.98;
  text-shadow: 0 10px 36px rgba(0, 45, 95, 0.2);
}

.directive-grid {
  gap: clamp(24px, 4vw, 62px);
}

.directive-card,
.directive-card.is-featured {
  min-height: 468px;
  padding: clamp(20px, 2.4vw, 34px);
}

.directive-card figure,
.directive-card.is-featured figure {
  width: min(286px, 90%);
}

.directive-card.is-featured figure {
  width: min(310px, 94%);
}

.directive-card figure::before {
  background: #ffffff;
  box-shadow: 0 22px 44px rgba(0, 39, 78, 0.34);
}

.directive-country {
  border-color: rgba(184, 255, 255, 0.7);
  color: #ffffff;
  background: rgba(0, 64, 160, 0.2);
}

.directive-card p {
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.3;
  text-shadow: 0 3px 14px rgba(0, 45, 95, 0.16);
}

@media (max-width: 900px) {
  .directive-showcase h2 {
    font-size: clamp(2.8rem, 7vw, 4.6rem);
  }

  .directive-card,
  .directive-card.is-featured {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .directive-showcase h2 {
    font-size: 2.7rem;
  }

  .directive-card figure,
  .directive-card.is-featured figure {
    width: min(250px, 78vw);
  }
}
