.bio-guide-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 24, 18, 0.68);
  backdrop-filter: blur(5px);
}

.bio-guide-overlay[hidden] { display: none; }
.bio-guide-lock { overflow: hidden; }

.bio-guide-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  border: 1px solid #b9d6cc;
  border-radius: 8px;
  background: #fffdf7;
  color: #12332d;
  box-shadow: 0 24px 80px rgba(7, 24, 18, 0.34);
}

.bio-guide-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(7, 24, 18, .88);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.bio-guide-poster {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: #071812;
  cursor: pointer;
}

.bio-guide-poster img,
.bio-guide-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.bio-guide-play {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: #087f5b;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 8px 30px rgba(7,24,18,.32);
}

.bio-guide-copy { padding: 22px 24px 12px; }
.bio-guide-eyebrow { margin: 0 0 8px; color: #087f5b; font-weight: 800; letter-spacing: .08em; }
.bio-guide-copy h2 { margin: 0 0 8px; font-size: clamp(24px, 4vw, 34px); line-height: 1.28; }
.bio-guide-copy p { margin: 0; line-height: 1.65; color: #48635d; }

.bio-guide-cta[hidden] { display: none; }
.bio-guide-cta {
  display: flex;
  justify-content: center;
  padding: 0 24px 12px;
}
.bio-guide-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 6px;
  background: #087f5b;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.bio-guide-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 8px 24px 22px;
}
.bio-guide-actions button {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid #9ebeb3;
  border-radius: 6px;
  background: #fff;
  color: #12332d;
  font-weight: 700;
  cursor: pointer;
}

.bio-guide-dialog :focus-visible {
  outline: 3px solid #f5c451;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .bio-guide-overlay { align-items: end; padding: 0; }
  .bio-guide-dialog {
    width: 100%;
    max-height: 92dvh;
    border-radius: 8px 8px 0 0;
    animation: bio-guide-sheet .24s ease-out both;
  }
  .bio-guide-copy { padding: 18px 18px 10px; }
  .bio-guide-actions { padding: 8px 18px 18px; flex-wrap: wrap; }
  .bio-guide-actions button { flex: 1 1 44%; }
}

@keyframes bio-guide-sheet {
  from { transform: translateY(28px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .bio-guide-dialog { animation: none; }
  .bio-guide-overlay { backdrop-filter: none; }
  .bio-guide-dialog *, .bio-guide-dialog *::before, .bio-guide-dialog *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
