.leadership-page {
  background: #f8fbfd;
  color: var(--navy);
}

.leadership-page .navbar {
  position: fixed;
  top: 0;
}

.leadership-hero {
  margin-top: 84px;
  padding: clamp(88px, 11vw, 150px) 40px clamp(80px, 9vw, 120px);
  background:
    radial-gradient(circle at 84% 14%, rgba(202, 165, 74, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #eef7fc 100%);
  border-bottom: 1px solid rgba(111, 149, 177, 0.18);
}

.leadership-hero-inner,
.people-section-inner {
  width: min(1380px, 100%);
  margin: 0 auto;
}

.leadership-eyebrow,
.people-heading > p,
.profile-modal-label {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.leadership-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.leadership-eyebrow span {
  width: 38px;
  height: 1px;
  background: var(--accent);
}

.leadership-hero h1 {
  max-width: 900px;
  margin: 0 0 28px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: var(--navy);
}

.leadership-intro {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  line-height: 1.8;
}

.people-section {
  padding: clamp(82px, 9vw, 130px) 40px;
}

.founders-section {
  background: #ffffff;
}

.leadership-grid-section {
  background: linear-gradient(180deg, #f0f7fb 0%, #ffffff 100%);
  border-top: 1px solid rgba(111, 149, 177, 0.16);
}

.people-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  align-items: end;
  gap: 30px;
  margin-bottom: clamp(42px, 6vw, 76px);
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(47, 93, 124, 0.2);
}

.people-heading > p {
  margin: 0 0 7px;
}

.people-heading h2 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 46px);
  width: min(700px, 100%);
  margin: 0 auto;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(24px, 2.4vw, 36px) clamp(16px, 1.8vw, 26px);
}

.profile-card {
  min-width: 0;
}

.profile-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, #dcecf7, #fff3d6);
}

.founder-card .profile-media {
  aspect-ratio: 1 / 1;
}

.profile-reveal {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.profile-reveal img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.profile-card:hover .profile-reveal img,
.profile-card.is-revealed .profile-reveal img {
  transform: scale(1.035);
  filter: saturate(1);
}

.profile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background: linear-gradient(180deg, rgba(19, 42, 59, 0.08) 28%, rgba(22, 49, 68, 0.88) 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.profile-card.is-revealed .profile-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.profile-open {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font: 700 0.74rem/1 'DM Sans', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(12px);
  transition: transform 0.3s ease, background 0.2s ease;
}

.profile-card.is-revealed .profile-open {
  transform: translateY(0);
}

.profile-open:hover,
.profile-open:focus-visible {
  background: #f4d779;
}

.profile-summary {
  min-height: 108px;
  padding: 20px 2px 0;
}

.founder-card .profile-summary {
  min-height: 116px;
  padding-top: 24px;
}

.profile-name {
  margin: 0 0 8px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.15rem, 1.45vw, 1.55rem);
  font-weight: 600;
  line-height: 1.16;
  color: var(--navy);
}

.founder-card .profile-name {
  font-size: clamp(1.55rem, 2vw, 2rem);
}

.profile-role {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profile-reveal:focus-visible,
.profile-open:focus-visible,
.profile-modal-close:focus-visible {
  outline: 3px solid #f4d779;
  outline-offset: -3px;
}

.profile-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(22, 45, 62, 0.76);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.profile-modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.profile-modal-open {
  overflow: hidden;
}

.profile-modal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  width: min(1050px, 100%);
  height: min(720px, calc(100dvh - 48px));
  max-height: min(720px, calc(100vh - 48px));
  overflow: hidden;
  background: #f8fbfd;
  box-shadow: 0 36px 100px rgba(8, 28, 43, 0.38);
  transform: translateY(20px) scale(0.985);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-modal-overlay.open .profile-modal {
  transform: translateY(0) scale(1);
}

.profile-modal-image-wrap {
  display: grid;
  min-width: 0;
  min-height: 0;
  height: 100%;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.86), transparent 35%),
    linear-gradient(145deg, #d7e7f1, #edf4f8 56%, #f4ead3);
}

.profile-modal-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  image-rendering: auto;
}

.profile-modal-content {
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(47, 93, 124, 0.55) rgba(111, 149, 177, 0.12);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  padding: clamp(48px, 6vw, 78px) clamp(34px, 5vw, 70px) 54px;
}

.profile-modal-content::-webkit-scrollbar {
  width: 9px;
}

.profile-modal-content::-webkit-scrollbar-track {
  background: rgba(111, 149, 177, 0.12);
}

.profile-modal-content::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(47, 93, 124, 0.55);
  background-clip: padding-box;
}

.profile-modal-content:focus-visible {
  outline: 3px solid rgba(202, 165, 74, 0.72);
  outline-offset: -3px;
}

.profile-modal-content h2 {
  margin: 0 0 12px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--navy);
}

.profile-modal-role {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-modal-rule {
  width: 52px;
  height: 1px;
  margin: 28px 0;
  background: linear-gradient(90deg, var(--accent), rgba(111, 149, 177, 0.5));
}

.profile-modal-bio {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.9;
}

.profile-modal-bio p {
  margin: 0 0 18px;
}

.profile-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(111, 149, 177, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1120px) {
  .leadership-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .leadership-hero,
  .people-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .people-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .profile-modal {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(220px, 42%) minmax(0, 1fr);
    overflow: hidden;
  }

  .profile-modal-image-wrap {
    min-height: 0;
    height: 100%;
  }

  .profile-modal-content {
    height: 100%;
    overflow-y: auto;
    padding: 34px 26px 38px;
  }
}

@media (max-width: 520px) {
  .leadership-hero h1 {
    font-size: clamp(3.2rem, 14vw, 4rem);
  }

  .founders-grid,
  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .profile-summary,
  .founder-card .profile-summary {
    min-height: 0;
    padding-bottom: 22px;
  }

  .profile-modal-overlay {
    padding: 0;
  }

  .profile-modal {
    width: 100%;
    height: 100dvh;
    max-height: 100vh;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-reveal img,
  .profile-overlay,
  .profile-open,
  .profile-modal,
  .profile-modal-overlay {
    transition: none !important;
  }
}
