/*
 * WCCM Meet Bill, Two-column founder introduction section.
 * Loaded on front page only via conditional enqueue.
 * ─────────────────────────────────────────────────────────────────────────────
 */

/* ── Section ─────────────────────────────────────────────────────────────── */
.meet-bill {
  background-color: var(--color-navy-dark);
  color: var(--color-white);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Override section-heading colors on dark background */
.meet-bill .section-heading__title,
.meet-bill h2 {
  color: var(--color-white);
}

/* ── Two-column grid ─────────────────────────────────────────────────────── */
.meet-bill__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

/* ══════════════════════════════════════════════════════════════════════════
   MEDIA COLUMN
══════════════════════════════════════════════════════════════════════════ */
.meet-bill__media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ── Decorative elements removed, no longer needed with work-photo layout ── */

/* ── Photo frame ─────────────────────────────────────────────────────────── */
.meet-bill__photo-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  margin: 0;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(26, 122, 114, 0.2);
}

/* ── Portrait / photo panel ───────────────────────────────────────────────── */
.meet-bill__work-photo {
  aspect-ratio: 7 / 8;
  position: relative;
  background-size: cover;
  background-position: center 20%;
  background-color: var(--color-navy-light);
  /* Fallback when no photo */
  background-image:
    radial-gradient(ellipse at 30% 25%, rgba(26, 122, 114, 0.55) 0%, transparent 60%),
    linear-gradient(160deg, var(--color-navy-light) 0%, var(--color-navy-dark) 100%);
}

.meet-bill__work-photo--portrait {
  background-position: center 18%;
}

.meet-bill__work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 15, 26, 0.05) 0%,
    rgba(6, 15, 26, 0.12) 45%,
    rgba(6, 15, 26, 0.78) 100%
  );
  pointer-events: none;
}

/* ── Stat badges overlaid on the photo ──────────────────────────────────── */
.meet-bill__stats {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-5);
  right: var(--space-5);
  display: flex;
  gap: var(--space-3);
  z-index: 1;
}

.meet-bill__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: var(--space-3) var(--space-4);
  background: rgba(6, 15, 26, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

.meet-bill__stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  line-height: 1;
}

.meet-bill__stat-label {
  font-size: 10px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  color: var(--color-teal-light);
  text-transform: uppercase;
  line-height: 1.3;
}

/* ── Caption strip ───────────────────────────────────────────────────────── */
.meet-bill__caption {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-6);
  background: rgba(26, 122, 114, 0.15);
  border-top: 1px solid rgba(26, 122, 114, 0.25);
  backdrop-filter: blur(8px);
}

.meet-bill__caption-name {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  line-height: 1;
}

.meet-bill__caption-role {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-teal-light);
}

/* ══════════════════════════════════════════════════════════════════════════
   TEXT COLUMN
══════════════════════════════════════════════════════════════════════════ */
.meet-bill__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.meet-bill__eyebrow {
  color: var(--color-teal-light);
}

.meet-bill__heading {
  font-size: var(--text-6xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
  margin: 0;
}

.meet-bill__sub {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-style: italic;
  font-weight: var(--weight-normal);
  color: var(--color-teal-light);
  line-height: var(--leading-snug);
  margin: 0;
}

.meet-bill__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.meet-bill__body p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

/* ── Services list ─────────────────────────────────────────────────────────── */
.meet-bill__services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.meet-bill__services-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.75);
}

.meet-bill__services-list li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: rgba(26, 122, 114, 0.25);
  border: 1.5px solid var(--color-teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a7a72' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.meet-bill__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-3);
}

/* ── Responsive: tablet ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .meet-bill__grid {
    gap: var(--space-12);
  }

  .meet-bill__heading {
    font-size: var(--text-5xl);
  }
}

@media (max-width: 900px) {
  .meet-bill__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .meet-bill__media {
    align-items: center;
    max-width: 460px;
    margin-inline: auto;
    width: 100%;
  }

  .meet-bill__photo-frame {
    max-width: 100%;
  }

  .meet-bill__content {
    gap: var(--space-4);
  }
}

/* ── Responsive: mobile ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .meet-bill__heading {
    font-size: var(--text-4xl);
  }

  .meet-bill__sub {
    font-size: var(--text-xl);
  }

  .meet-bill__cta .btn {
    width: 100%;
    justify-content: center;
  }
}
