/* ========= LEADERSHIP PAGE — main site blue theme ========= */

.page-main--leadership {
  padding-top: 0;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 72px;
}

.ldr-page {
  --ldr: #0077B6;
  --ldr-dark: #005A8C;
  --ldr-deep: #003752;
  --ldr-bg: #EBF5FB;
  --ldr-soft: rgba(0, 119, 182, 0.1);
  --prog: #0077B6;
  --prog-soft: rgba(0, 119, 182, 0.12);
}

.page-hero--program { position: relative; overflow: hidden; }
.page-hero--program::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, var(--ldr-soft) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(255,255,255,0.08) 0%, transparent 40%);
  z-index: 0;
  pointer-events: none;
}
.page-hero--ldr-graphic {
  background:
    radial-gradient(circle at 78% 42%, rgba(255, 255, 255, 0.1) 0%, transparent 42%),
    linear-gradient(145deg, var(--ldr-deep) 0%, var(--ldr) 48%, var(--ldr-dark) 100%);
}
.page-hero--ldr-graphic::before { display: none; }
.page-hero--ldr-graphic .page-hero-inner { position: relative; z-index: 2; }
.page-hero--program .page-hero-inner { position: relative; z-index: 1; }
.page-hero--program .page-tagline { color: rgba(255,255,255,0.95); }

/* Split hero + circular avatar cluster */
.ldr-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 380px);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  max-width: 1180px;
}

.ldr-hero-copy {
  min-width: 0;
}

.ldr-hero-team {
  padding: 28px 22px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 56px rgba(0, 35, 55, 0.28);
  backdrop-filter: blur(6px);
  text-align: center;
}

.ldr-hero-avatars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 340px;
  margin: 0 auto;
}

.ldr-hero-avatar {
  margin: 0;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  animation: ldrAvatarIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ldr-hero-avatar:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  z-index: 2;
}

.ldr-hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}

.ldr-hero-avatar:hover img {
  transform: scale(1.05);
}

.ldr-hero-avatar--d1 { animation-delay: 0.35s; }
.ldr-hero-avatar--d2 { animation-delay: 0.42s; }
.ldr-hero-avatar--d3 { animation-delay: 0.49s; }
.ldr-hero-avatar--d4 { animation-delay: 0.56s; }
.ldr-hero-avatar--d5 { animation-delay: 0.63s; }
.ldr-hero-avatar--d6 { animation-delay: 0.7s; }
.ldr-hero-avatar--d7 { animation-delay: 0.77s; }

.ldr-hero-team-label {
  margin: 20px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

@keyframes ldrAvatarIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ldr-hero-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.22em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 16px;
}
.ldr-hero-title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: ldrTitleIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.ldr-hero-title-word:nth-child(1) { animation-delay: 0.2s; }
.ldr-hero-title-word:nth-child(2) { animation-delay: 0.45s; }
.ldr-hero-title-word--accent {
  background: linear-gradient(90deg, #fff 0%, #a8d8f0 45%, #fff 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ldrTitleIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards, ldrTitleShine 4s ease-in-out 1.2s infinite;
}
@keyframes ldrTitleIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ldrTitleShine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.ldr-page .ldr-hero-copy > * {
  animation: ldrHeroFade 0.7s ease-out both;
}
.ldr-page .ldr-hero-copy .breadcrumb { animation-delay: 0.05s; }
.ldr-page .ldr-hero-copy .page-tagline { animation-delay: 0.12s; color: rgba(255, 255, 255, 0.92); }
.ldr-hero-lead {
  animation-delay: 0.22s;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin: 0;
  max-width: 22ch;
}
.ldr-page .ldr-hero-copy .page-lead { animation-delay: 0.65s; }
.ldr-page .ldr-hero-copy .ldr-hero-title { animation: none; }

@keyframes ldrHeroFade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-hero-deco {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  animation: ldrFloat 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.page-hero-deco--1 { width: 120px; height: 120px; top: 18%; right: 8%; }
.page-hero-deco--2 { width: 60px; height: 60px; bottom: 22%; right: 18%; animation-delay: -2s; }
.page-hero-deco--3 { width: 40px; height: 40px; top: 35%; right: 22%; background: rgba(255,255,255,0.06); animation-delay: -4s; }
@keyframes ldrFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.ldr-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.ldr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ldr);
  margin-bottom: 12px;
}
.ldr-eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--ldr);
  border-radius: 2px;
}

.ldr-section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 28px;
}
.ldr-section-head .ldr-eyebrow { justify-content: center; }
.ldr-section-head h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.8vw, 30px);
  color: #1A202C;
  margin-bottom: 10px;
}
.ldr-section-head p {
  font-size: 16px;
  color: #718096;
  line-height: 1.65;
}

/* Trustee message */
.ldr-message {
  background: linear-gradient(145deg, var(--ldr-deep) 0%, var(--ldr) 55%, var(--ldr-dark) 100%);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
  margin-bottom: 44px;
}
.ldr-message::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.08);
  top: -120px;
  right: -80px;
  pointer-events: none;
}
.ldr-message::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  bottom: -60px;
  left: 10%;
  pointer-events: none;
}
.ldr-message-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.ldr-message-quote { color: #fff; }
.ldr-quote-icon {
  font-size: 36px;
  color: rgba(255,255,255,0.25);
  line-height: 1;
  margin-bottom: 10px;
  font-family: Georgia, serif;
}
.ldr-quote-lead {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.45;
  margin-bottom: 14px;
  color: #fff;
}
.ldr-message-quote p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
  margin-bottom: 10px;
}
.ldr-quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.ldr-quote-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.35);
}
.ldr-quote-author strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.ldr-quote-author span {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

.ldr-message-visual {
  position: relative;
  max-width: 220px;
  margin-left: auto;
}
.ldr-message-frame {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
  border: 3px solid rgba(255,255,255,0.2);
}
.ldr-message-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 280px;
  object-fit: cover;
  display: block;
}
.ldr-message-badge {
  position: absolute;
  bottom: 16px;
  left: -12px;
  background: #fff;
  color: var(--ldr);
  padding: 8px 16px;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ldr-message-badge i { font-size: 13px; }

/* Trustees */
.ldr-section {
  margin-bottom: 44px;
}
.ldr-section--alt {
  background: var(--ldr-bg);
  padding: 48px 0;
  margin-bottom: 44px;
}

.ldr-trustees {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.ldr-trustee {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 160px 1fr;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ldr-trustee:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,55,90,0.12);
}
.ldr-trustee-photo {
  position: relative;
  overflow: hidden;
}
.ldr-trustee-photo img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.ldr-trustee:hover .ldr-trustee-photo img { transform: scale(1.04); }
.ldr-trustee-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(0,55,90,0.08) 100%);
}
.ldr-trustee-body {
  padding: 28px 28px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ldr-trustee-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #1A202C;
  margin-bottom: 6px;
}
.ldr-trustee-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--ldr);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.ldr-trustee-body p {
  font-size: 15px;
  color: #4A5568;
  line-height: 1.7;
  margin: 0;
}

/* Governing body */
.ldr-gov-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ldr-gov {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid rgba(0,119,182,0.12);
  box-shadow: 0 8px 28px rgba(0,55,90,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ldr-gov:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,55,90,0.1);
}
.ldr-gov-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid var(--ldr-bg);
  box-shadow: 0 8px 24px rgba(0,55,90,0.12);
}
.ldr-gov-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ldr-gov h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #1A202C;
  margin-bottom: 6px;
  line-height: 1.3;
}
.ldr-gov-role {
  font-size: 12px;
  font-weight: 700;
  color: var(--ldr);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Board list */
.ldr-board-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ldr-board-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ldr-board-card:hover {
  transform: translateX(4px);
  box-shadow: 0 16px 48px rgba(0,55,90,0.1);
  border-color: rgba(0,119,182,0.25);
}
.ldr-board-photo img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  display: block;
}
.ldr-board-body {
  padding: 28px 32px;
}
.ldr-board-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #1A202C;
  margin-bottom: 4px;
}
.ldr-board-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--ldr);
  margin-bottom: 12px;
}
.ldr-board-bio {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.7;
  margin: 0;
}

.ldr-cta {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.ldr-cta-band {
  background: linear-gradient(135deg, var(--ldr) 0%, var(--ldr-deep) 100%);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  color: #fff;
}
.ldr-cta-band h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 26px;
  margin-bottom: 10px;
  color: #fff;
}
.ldr-cta-band p {
  font-size: 15px;
  opacity: 0.88;
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.65;
}
.ldr-cta-band .hero-ctas { justify-content: center; }

/* Scroll reveal */
.ldr-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.ldr-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .ldr-message-grid { grid-template-columns: 1fr; }
  .ldr-message-visual { max-width: 360px; margin: 0 auto; }
  .ldr-trustees { grid-template-columns: 1fr; }
  .ldr-trustee { grid-template-columns: 160px 1fr; }
  .ldr-gov-grid { grid-template-columns: repeat(3, 1fr); }
  .ldr-board-card { grid-template-columns: 180px 1fr; }
}

@media (max-width: 768px) {
  .ldr-inner { padding: 0 20px; }
  .ldr-message { padding: 36px 0; margin-bottom: 32px; }
  .ldr-message-visual { max-width: 240px; }
  .ldr-trustee { grid-template-columns: 1fr; }
  .ldr-trustee-photo img { min-height: 180px; max-height: 220px; }
  .ldr-gov-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .ldr-board-card { grid-template-columns: 1fr; }
  .ldr-board-photo img { max-height: 240px; }
  .ldr-cta { padding: 0 20px; }
  .ldr-section--alt { padding: 36px 0; }
  .ldr-section { margin-bottom: 32px; }
}

@media (max-width: 900px) {
  .ldr-hero-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ldr-hero-lead { max-width: none; }
  .ldr-hero-team {
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .ldr-hero-team {
    padding: 22px 16px 20px;
  }
  .ldr-hero-avatar {
    width: 72px;
    height: 72px;
  }
  .ldr-hero-avatars {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ldr-reveal { opacity: 1; transform: none; transition: none; }
  .ldr-hero-avatar,
  .ldr-hero-title-word,
  .ldr-page .ldr-hero-copy > * { animation: none; opacity: 1; transform: none; }
  .ldr-hero-title-word--accent { color: #fff; background: none; -webkit-background-clip: unset; background-clip: unset; }
}
