.leadership-screen {
  isolation: isolate;
  position: relative;
  overflow: hidden;
}

.leadership-screen::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  pointer-events: none;
}

.leadership-founder-screen {
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(200, 154, 66, .2), transparent 34%),
    linear-gradient(135deg, #061729 0%, #0a263d 58%, #061522 100%);
}

.leadership-founder-screen::before {
  right: -260px;
  bottom: -330px;
  border: 1px solid rgba(238, 211, 155, .18);
  box-shadow: 0 0 0 90px rgba(238, 211, 155, .025), 0 0 0 180px rgba(238, 211, 155, .018);
}

.leadership-founder-screen .section-head > p {
  color: rgba(255, 255, 255, .62);
}

.leadership-cofounder-screen {
  background:
    radial-gradient(circle at 5% 5%, rgba(200, 154, 66, .17), transparent 31%),
    linear-gradient(145deg, #f8f4eb, #eef3f5 58%, #fff);
}

.leadership-cofounder-screen::before {
  left: -310px;
  top: -320px;
  border: 1px solid rgba(7, 26, 47, .09);
  box-shadow: 0 0 0 100px rgba(7, 26, 47, .025), 0 0 0 200px rgba(7, 26, 47, .014);
}

.leadership-screen .leadership-profile {
  position: relative;
  isolation: isolate;
  min-height: clamp(450px, 54vh, 575px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 38px;
  box-shadow: 0 32px 90px rgba(2, 14, 25, .28);
  transform: translateZ(0);
}

.leadership-screen .leadership-profile::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 16px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 27px;
}

.leadership-founder-screen .leadership-profile {
  grid-template-columns: minmax(430px, 1.18fr) minmax(360px, .82fr);
  background: linear-gradient(120deg, #071827, #0d2b42);
}

.leadership-founder-screen .leadership-profile::before,
.leadership-cofounder-screen .leadership-profile::before {
  position: absolute;
  z-index: 5;
  top: 25px;
  right: 30px;
  color: rgba(238, 211, 155, .42);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 78px;
  line-height: 1;
}

.leadership-founder-screen .leadership-profile::before { content: "01"; }
.leadership-cofounder-screen .leadership-profile::before { content: "02"; color: rgba(7, 26, 47, .12); }

.leadership-founder-screen .profile-image,
.leadership-cofounder-screen .profile-image {
  position: relative;
  min-height: 100%;
}

.leadership-founder-screen .profile-image {
  background: #050c12;
  clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%);
}

.leadership-founder-screen .profile-image::after,
.leadership-cofounder-screen .profile-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.leadership-founder-screen .profile-image::after {
  background: linear-gradient(90deg, transparent 52%, rgba(7, 24, 39, .96) 100%), linear-gradient(0deg, rgba(4, 14, 22, .28), transparent 55%);
}

.leadership-founder-screen .profile-image img {
  object-fit: cover;
  object-position: 10% center;
  filter: saturate(.88) contrast(1.05);
}

.leadership-founder-screen .copy-block {
  position: relative;
  z-index: 6;
  padding: 54px 58px 48px 38px;
}

.leadership-founder-screen .copy-block h2 {
  color: #fff;
  font-size: clamp(43px, 4.4vw, 66px);
}

.leadership-founder-screen .copy-block p:not(.eyebrow) { color: rgba(255, 255, 255, .68); }

.leadership-cofounder-screen .leadership-profile {
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  border-color: rgba(7, 26, 47, .08);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 32px 90px rgba(7, 26, 47, .16);
  backdrop-filter: blur(20px);
}

.leadership-cofounder-screen .profile-image {
  grid-column: 2;
  grid-row: 1;
  overflow: hidden;
  background: #c9b99b;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
}

.leadership-cofounder-screen .profile-image::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, .94), transparent 28%), linear-gradient(0deg, rgba(7, 26, 47, .12), transparent 42%);
}

.leadership-cofounder-screen .profile-image img {
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(.82) contrast(1.04);
}

.leadership-cofounder-screen .copy-block {
  position: relative;
  z-index: 6;
  grid-column: 1;
  grid-row: 1;
  padding: 52px 42px 44px 58px;
}

.leadership-cofounder-screen .copy-block h2 { font-size: clamp(43px, 4.4vw, 66px); }

.profile-tags {
  margin: 24px 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.leadership-founder-screen .profile-tags span {
  color: var(--gold-light);
  border: 1px solid rgba(238, 211, 155, .22);
  background: rgba(238, 211, 155, .07);
}

.leadership-cofounder-screen .profile-tags span {
  color: var(--blue);
  border: 1px solid rgba(17, 73, 112, .12);
  background: #edf3f6;
}

.profile-principle {
  padding: 16px 18px;
  border-left: 2px solid var(--gold);
}

.profile-principle span {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.profile-principle strong {
  margin-top: 3px;
  display: block;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}

.leadership-founder-screen .profile-principle strong { color: #fff; }

@media (max-width: 1050px) {
  .leadership-founder-screen .leadership-profile,
  .leadership-cofounder-screen .leadership-profile { grid-template-columns: 1fr 1fr; }
  .leadership-founder-screen .copy-block,
  .leadership-cofounder-screen .copy-block { padding: 42px 38px; }
}

@media (max-width: 860px) {
  .leadership-screen .leadership-profile { grid-template-columns: 1fr; }
  .leadership-founder-screen .profile-image,
  .leadership-cofounder-screen .profile-image {
    grid-column: 1;
    grid-row: 1;
    min-height: 390px;
    clip-path: none;
  }
  .leadership-founder-screen .copy-block,
  .leadership-cofounder-screen .copy-block {
    grid-column: 1;
    grid-row: 2;
    padding: 36px 30px;
  }
  .leadership-founder-screen .profile-image::after { background: linear-gradient(0deg, rgba(7, 24, 39, .92), transparent 48%); }
  .leadership-cofounder-screen .profile-image::after { background: linear-gradient(0deg, rgba(255, 255, 255, .9), transparent 38%); }
  .leadership-screen .leadership-profile::before { font-size: 58px; }
  .leadership-screen .leadership-profile::after { inset: 10px; border-radius: 24px; }
}

@media (max-width: 620px) {
  .leadership-screen .leadership-profile { border-radius: 28px; }
  .leadership-founder-screen .profile-image,
  .leadership-cofounder-screen .profile-image { min-height: 320px; }
  .leadership-founder-screen .copy-block,
  .leadership-cofounder-screen .copy-block { padding: 30px 24px 34px; }
  .leadership-screen .copy-block h2 { font-size: 42px; }
  .profile-tags { margin-top: 20px; }
  .profile-principle strong { font-size: 20px; }
}

/* Keep each leadership profile fully visible within a desktop snap screen. */
@media (min-width: 861px) {
  .leadership-screen {
    padding: 76px 0 28px;
  }

  .leadership-founder-screen .section-head {
    margin-bottom: 18px;
  }

  .leadership-founder-screen .section-head .section-title {
    font-size: clamp(38px, 4vw, 55px);
  }

  .leadership-founder-screen .section-head > p {
    max-width: 440px;
    margin-bottom: 3px;
    font-size: 13px;
    line-height: 1.55;
  }

  .leadership-screen .leadership-profile {
    min-height: 0;
    height: clamp(420px, 53vh, 500px);
  }

  .leadership-founder-screen .copy-block,
  .leadership-cofounder-screen .copy-block {
    padding-top: 30px;
    padding-bottom: 28px;
  }

  .leadership-screen .copy-block h2 {
    margin-bottom: 13px;
    font-size: clamp(38px, 3.8vw, 54px);
  }

  .leadership-screen .copy-block p:not(.eyebrow) {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.52;
  }

  .leadership-screen .copy-block p.lead {
    font-size: 15px;
    line-height: 1.55;
  }

  .leadership-screen .copy-block .eyebrow {
    margin-bottom: 8px;
  }

  .profile-tags {
    margin: 14px 0 12px;
  }

  .profile-tags span {
    padding: 5px 9px;
    font-size: 9px;
  }

  .profile-principle {
    padding: 10px 14px;
  }

  .profile-principle strong {
    font-size: 19px;
  }
}

/* Fill the About-page Co-Founder portrait panel without empty bands. */
.leadership-cofounder-screen .profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: none;
  mask-image: none;
}

/* Preserve both faces inside the compact leadership frames. */
.leadership-founder-screen .profile-image img {
  object-position: center 20%;
}

.leadership-cofounder-screen .profile-image {
  background: linear-gradient(145deg, #c9c5bb, #aaa69d);
}

.leadership-cofounder-screen .profile-image img {
  padding: 0;
  object-fit: cover;
  object-position: center 14%;
}

@media (max-width: 620px) {
  .leadership-cofounder-screen .profile-image img {
    padding: 0;
    object-position: center 10%;
  }
}

/* Show the complete Founder and Co-Founder photographs without cropping. */
.leadership-founder-screen .profile-image,
.leadership-cofounder-screen .profile-image {
  clip-path: none;
}

.leadership-founder-screen .profile-image img,
.leadership-cofounder-screen .profile-image img {
  padding: 0;
  object-fit: contain;
  object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 11%, #000 89%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 11%, #000 89%, transparent 100%);
}

@media (min-width: 861px) {
  .leadership-founder-screen .leadership-profile {
    grid-template-columns: minmax(360px, .72fr) minmax(0, 1.28fr);
  }

  .leadership-cofounder-screen .leadership-profile {
    grid-template-columns: minmax(0, 1.28fr) minmax(360px, .72fr);
  }
}

/* Final Co-Founder image treatment: fill the complete panel edge to edge. */
.leadership-cofounder-screen .profile-image img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: none;
  mask-image: none;
}
