/* ============================================================
   LEADERSHIP — Page Styles
   Extends the global design system in style.css
============================================================ */

.lead-page {
  --lead-hero-h: 320px;
}

/* ---- Shared section rhythm ---- */
.lead-section {
  position: relative;
  padding: 72px 0;
}

.lead-section--alt {
  background-color: var(--clr-neutral-50, #f7f8fa);
}

.lead-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(28, 38, 58, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 38, 58, 0.02) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 1;
}

.lead-section > .container-max {
  position: relative;
  z-index: 1;
}

.lead-section__header {
  max-width: 640px;
  margin-bottom: 40px;
}

.lead-eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-display, var(--font-heading));
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-primary);
}

.lead-title {
  margin: 0 0 12px;
  font-family: var(--font-display, var(--font-heading));
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--clr-neutral-900);
}

.lead-lead {
  margin: 0;
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--clr-neutral-600);
}

/* ---- Photo silhouette fallback ---- */
.lead-photo-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 28%, rgba(210, 216, 224, 0.35), transparent 60%),
    linear-gradient(180deg, #2c3b4e 0%, #1c263a 100%);
  color: rgba(210, 216, 224, 0.55);
  font-size: 4.5rem;
}

.lead-president__photo.is-fallback .lead-photo-fallback,
.lead-exec-card__media.is-fallback .lead-photo-fallback {
  display: flex;
}

/* ---- 1. Hero ---- */
.lead-hero {
  position: relative;
  height: var(--lead-hero-h);
  min-height: var(--lead-hero-h);
  max-height: var(--lead-hero-h);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background-color: var(--clr-primary);
  border-bottom: 1px solid rgba(137, 27, 120, 0.35);
}

.lead-hero__pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: var(--clr-primary);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    repeating-linear-gradient(
      -32deg,
      transparent 0,
      transparent 11px,
      rgba(166, 206, 55, 0.12) 11px,
      rgba(166, 206, 55, 0.12) 12px
    ),
    radial-gradient(ellipse 65% 75% at 12% 18%, rgba(166, 206, 55, 0.22), transparent 58%),
    radial-gradient(ellipse 55% 65% at 90% 82%, rgba(166, 206, 55, 0.16), transparent 52%),
    radial-gradient(ellipse 80% 90% at 50% 120%, var(--clr-primary-hover, #891b78), transparent 55%);
  background-size:
    24px 24px,
    24px 24px,
    96px 96px,
    96px 96px,
    auto,
    auto,
    auto,
    auto;
}

.lead-hero__pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.2px);
  background-size: 18px 18px;
  opacity: 0.55;
}

.lead-hero__pattern::after {
  content: "";
  position: absolute;
  inset: 12% 8%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  box-shadow:
    inset 24px 0 0 -23px rgba(166, 206, 55, 0.28),
    inset 0 24px 0 -23px rgba(255, 255, 255, 0.1);
  opacity: 0.95;
}

.lead-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-width, 1280px);
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}

.lead-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  font-weight: 600;
}

.lead-breadcrumb a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.lead-breadcrumb a:hover,
.lead-breadcrumb a:focus-visible {
  color: #fff;
}

.lead-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.5);
}

.lead-breadcrumb [aria-current="page"] {
  color: var(--clr-secondary);
}

.lead-hero__eyebrow {
  margin: 0 0 10px;
  color: var(--clr-secondary);
}

.lead-hero__title {
  margin: 0 0 12px;
  max-width: 820px;
  font-family: var(--font-display, var(--font-heading));
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  text-wrap: balance;
}

.lead-hero__lead {
  margin: 0;
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

/* ---- 2. Introduction ---- */
.lead-intro {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.lead-intro .lead-title {
  margin-bottom: 18px;
}

.lead-intro__text p {
  margin: 0 0 14px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--clr-neutral-600);
}

.lead-intro__text p:last-child {
  margin-bottom: 0;
}

/* ---- 3. Featured President ---- */
.lead-president {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: 40px 48px;
  align-items: center;
  padding: 28px;
  border-radius: 18px;
  background-color: #fff;
  border: 1px solid rgba(28, 38, 58, 0.06);
  box-shadow: 0 16px 40px rgba(28, 38, 58, 0.08);
}

.lead-president__media {
  margin: 0;
}

.lead-president__photo {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 5;
  background-color: var(--clr-neutral-100, #eef0f4);
}

.lead-president__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.lead-president__content {
  padding: 8px 8px 8px 0;
}

.lead-president__name {
  margin: 0 0 16px;
  font-family: var(--font-display, var(--font-heading));
  font-size: clamp(1.65rem, 2.4vw, 2.1rem);
  font-weight: 750;
  line-height: 1.2;
  color: var(--clr-neutral-900);
}

.lead-president__bio p {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--clr-neutral-600);
}

.lead-president__bio p:last-child {
  margin-bottom: 0;
}

.lead-president__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 24px 0 0;
  padding: 0;
}

.lead-president__highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-neutral-800);
}

.lead-president__highlights i {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: rgba(162, 35, 142, 0.08);
  color: var(--clr-primary);
  font-size: 1rem;
}

/* ---- 4. Executive cards ---- */
.lead-exec__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.lead-exec-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background-color: #fff;
  border: 1px solid rgba(28, 38, 58, 0.08);
  box-shadow: 0 10px 28px rgba(28, 38, 58, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.lead-exec-card:hover {
  transform: translateY(-6px);
  border-color: var(--clr-primary);
  box-shadow: 0 18px 36px rgba(162, 35, 142, 0.14);
}

.lead-exec-card__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  background-color: var(--clr-neutral-100, #eef0f4);
}

.lead-exec-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s ease;
}

.lead-exec-card:hover .lead-exec-card__media img {
  transform: scale(1.045);
}

.lead-exec-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}

.lead-exec-card__role {
  margin: 0 0 6px;
  font-family: var(--font-display, var(--font-heading));
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-primary);
}

.lead-exec-card__name {
  margin: 0 0 10px;
  font-family: var(--font-display, var(--font-heading));
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--clr-neutral-900);
}

.lead-exec-card__bio {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--clr-neutral-600);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .lead-page {
    --lead-hero-h: 280px;
  }

  .lead-hero__title {
    font-size: clamp(1.55rem, 3.4vw, 2rem);
  }

  .lead-hero__pattern::after {
    inset: 10% 5%;
  }

  .lead-section {
    padding: 60px 0;
  }

  .lead-president {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 22px;
  }

  .lead-president__photo {
    max-width: 420px;
    margin: 0 auto;
  }

  .lead-president__content {
    padding: 0;
    text-align: center;
  }

  .lead-president__highlights {
    justify-items: start;
    text-align: left;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

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

@media (max-width: 767.98px) {
  .lead-page {
    --lead-hero-h: 240px;
  }

  .lead-hero__content {
    padding: 16px 0;
  }

  .lead-hero__title {
    font-size: 1.45rem;
  }

  .lead-hero__lead {
    font-size: 0.92rem;
  }

  .lead-hero__pattern::after {
    display: none;
  }

  .lead-section {
    padding: 52px 0;
  }

  .lead-president__highlights {
    grid-template-columns: 1fr;
  }

  .lead-exec__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-exec-card,
  .lead-exec-card__media img {
    transition: none;
  }

  .lead-exec-card:hover {
    transform: none;
  }

  .lead-exec-card:hover .lead-exec-card__media img {
    transform: none;
  }
}
