/* ==================================================
   BIO PAGE — HERO SECTION
   (Figma 414:8008 desktop / 599:11606 mobile)
   ================================================== */

.bio-hero {
  position: relative;
  min-height: 860px;
  background: var(--color-hero-base);
}

/* Desktop composite (414:8010) includes photo + gradient */
.bio-hero__img {
  width: 100%;
  min-height: 860px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.bio-hero__img--mobile {
  display: none;
}

/* Mobile: gradient overlay on clean photo (Figma: 11.866% -> 54.798%) */
.bio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    0deg,
    rgba(14, 88, 111, 0.8) 11.866%,
    rgba(14, 88, 111, 0) 54.798%
  );
  pointer-events: none;
  display: none;
}

.bio-hero__content {
  position: absolute;
  z-index: 2;
  width: 100%;
  bottom: 52px;
  text-align: center;
  overflow: hidden;
}

/* Figma desktop: Oswald Bold 90, max 960px, tracking -2px */
.bio-hero__title {
  max-width: 960px;
  margin: 0 auto var(--space-8);
}

.bio-hero__title-mobile {
  display: none;
}

.bio-hero__buttons {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  align-items: center;
}

/* ==================================================
   BIO PAGE — RESPONSIVE
   ================================================== */

@media (max-width: 992px) {
  .bio-hero {
    min-height: 720px;
  }

  .bio-hero__img {
    min-height: 720px;
  }

  .bio-hero__content {
    bottom: var(--space-8);
  }
}

@media (max-width: 767px) {
  .bio-hero {
    min-height: 662px;
  }

  .bio-hero::before {
    display: block;
  }

  .bio-hero__img--mobile {
    display: block;
    min-height: 662px;
    object-position: 28% center;
  }

  .bio-hero__img--desktop {
    display: none;
  }

  .bio-hero__title-desktop {
    display: none;
  }

  .bio-hero__title-mobile {
    display: block;
  }

  /* Figma mobile: Oswald Bold 42px, max 342px */
  .bio-hero__title {
    font-size: 2.625rem;
    line-height: 1.2;
    max-width: 342px;
    margin-bottom: var(--space-6);
  }
}

/* ==================================================
   BIO PAGE — ABOUT SECTION
   (Figma 420:684 desktop / 607:11935 mobile)
   ================================================== */

.bio-about {
  position: relative;
  background-color: var(--color-bg-light);
  padding: var(--space-20) 0;
}

.bio-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../images/texture-light-small.png") left top repeat;
  opacity: 0.65;
  pointer-events: none;
}

.bio-about__inner {
  position: relative;
  z-index: 1;
}

/* Figma desktop: image left + copy right, 80px gap */
.bio-about__split {
  display: flex;
  align-items: flex-start;
  gap: var(--space-20);
}

/* Portrait frame — teal plate @50%, photo offset (480:3293) */
.bio-about__media {
  flex: 0 1 682px;
  max-width: 682px;
  position: relative;
  min-height: 663px;
}

.bio-about__media::before {
  content: "";
  position: absolute;
  inset: 13px 17px 16px 12px;
  background: rgba(14, 88, 111, 0.5);
  border-radius: var(--radius-lg);
  transform: rotate(-2deg);
}

.bio-about__media img {
  position: relative;
  display: block;
  width: calc(100% - 58px);
  max-width: 624px;
  margin: 32px 0 0 27px;
  aspect-ratio: 624 / 600;
  object-fit: cover;
  object-position: 17% center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-lg);
}

.bio-about__content {
  flex: 1 1 0;
  min-width: 0;
  padding-top: var(--space-8);
}

/* Figma desktop: Oswald Bold 48, max ~566px */
.bio-about__title {
  max-width: 566px;
  margin-bottom: var(--space-8);
}

.bio-about__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Figma: Inter Regular 18, black, 29.25px line-height */
.bio-about__body p {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-dark);
}

/* ==================================================
   BIO PAGE — LETTERS FROM PRISON BAND
   (Figma 657:1588 desktop / 657:1600 mobile)
   ================================================== */

.bio-letters {
  position: relative;
  margin-top: var(--space-20);
  padding: var(--space-6);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
}

/* Desktop: sheen gradient + handwriting texture + dark overlay */
.bio-letters::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-sheen);
  border-radius: inherit;
}

.bio-letters__texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  border-radius: inherit;
  pointer-events: none;
}

.bio-letters::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 49, 61, 0.6);
  border-radius: inherit;
}

.bio-letters__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  max-width: 1182px;
  margin: 0 auto;
}

.bio-letters__title {
  color: var(--color-text-primary);
  margin-bottom: 0;
}

.bio-letters__accent {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--color-turquoise);
  text-transform: uppercase;
}

.bio-letters__text {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 500;
  font-style: italic;
  line-height: var(--leading-relaxed);
  color: var(--color-text-primary);
  max-width: 1182px;
}

.bio-letters__cta {
  margin-top: var(--space-1);
  font-size: var(--text-xs);
  box-shadow: var(--shadow-glow);
}

/* ==================================================
   BIO PAGE — ABOUT RESPONSIVE
   ================================================== */

@media (max-width: 1200px) {
  .bio-about__split {
    gap: var(--space-12);
  }

  .bio-about__media {
    flex-basis: 45%;
    min-height: auto;
  }
}

@media (max-width: 992px) {
  .bio-about__split {
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
  }

  .bio-about__content {
    padding-top: 0;
    width: 100%;
  }

  .bio-about__title {
    max-width: none;
  }

  .bio-about__media {
    flex-basis: auto;
    max-width: 520px;
    width: 100%;
    min-height: auto;
  }

  .bio-about__media img {
    width: calc(100% - 40px);
    margin: 24px 0 0 20px;
  }
}

@media (max-width: 767px) {
  .bio-about {
    padding: var(--space-8) 0;
  }

  /* Figma mobile: copy → portrait → letters card */
  .bio-about__split {
    gap: var(--space-6);
  }

  .bio-about__content {
    order: 1;
  }

  .bio-about__media {
    order: 2;
    max-width: 344px;
  }

  .bio-about__media::before {
    border-radius: var(--radius-sm);
  }

  .bio-about__media img {
    width: calc(100% - 30px);
    margin: 16px 0 0 15px;
    aspect-ratio: 314 / 302;
  }

  .bio-about__title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-6);
  }

  .bio-letters {
    margin-top: var(--space-6);
    padding: var(--space-8);
    text-align: left;
    background: var(--color-accent);
    border: 1px solid var(--color-heading-dark);
  }

  /* Mobile: solid white card — hide desktop decorative layers */
  .bio-letters::before,
  .bio-letters::after {
    display: none;
  }

  .bio-letters__texture {
    display: none;
  }

  .bio-letters__inner {
    align-items: flex-start;
    gap: var(--space-3);
  }

  .bio-letters__title,
  .bio-letters__accent {
    color: var(--color-heading-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: var(--tracking-heading);
  }

  .bio-letters__text {
    font-weight: 400;
    font-style: normal;
    color: var(--color-text-dark);
    max-width: none;
  }

  .bio-letters__cta {
    margin-top: var(--space-2);
    background: var(--color-heading-dark);
    color: var(--color-text-primary);
    box-shadow: none;
  }

  .bio-letters__cta .button__icon img,
  .bio-letters__cta .button__icon svg {
    filter: brightness(0) invert(1);
  }
}

/* ==================================================
   BIO PAGE — VIDEO PLAYER SECTION
   (Figma 419:616 desktop / 599:11629 mobile)
   ================================================== */

.bio-video {
  position: relative;
  padding: var(--space-20) 0;
  overflow: hidden;
}

.bio-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-teal-deep);
  pointer-events: none;
}

.bio-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../images/abstract-bg.png") center / cover;
  opacity: 0.1;
  pointer-events: none;
}

.bio-video__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-15);
}

.bio-video__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
  width: 100%;
}

.bio-video__title {
  color: var(--color-text-primary);
  margin-bottom: 0;
}

.bio-video__title-mobile {
  display: none;
}

/* Figma: Inter Regular 18, white, max 744px */
.bio-video__lede {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  max-width: 744px;
  margin: 0;
}

/* Figma desktop: 1304×723, radius 32px, dark overlay on thumb */
.bio-video__player {
  width: 100%;
  max-width: 1304px;
  aspect-ratio: 1304 / 723;
  border-radius: var(--radius-xl);
  border: none;
  box-shadow: var(--shadow-soft);
}

.bio-video__player .video-preview__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.bio-video__player:not(.video-preview--playing)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 1;
}

.bio-video__player .video-preview__play {
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: none;
  box-shadow: var(--shadow-card-lg);
}

.bio-video__player .video-preview__play img {
  width: 23px;
  height: auto;
}

.bio-video__cta {
  font-size: var(--text-xs);
  font-weight: 700;
  box-shadow: var(--shadow-glow);
  letter-spacing: 1px;
}

/* ==================================================
   BIO PAGE — VIDEO SECTION RESPONSIVE
   ================================================== */

@media (max-width: 767px) {
  .bio-video {
    padding: var(--space-8) 0;
  }

  .bio-video__inner {
    gap: var(--space-6);
    align-items: stretch;
  }

  .bio-video__title-desktop {
    display: none;
  }

  .bio-video__title-mobile {
    display: block;
    font-size: var(--text-4xl);
  }

  .bio-video__header {
    align-items: flex-start;
    text-align: center;
    gap: var(--space-6);
  }

  .bio-video__lede {
    max-width: 348px;
    margin: 0 auto;
    text-align: center;
  }

  /* Figma mobile: 358×332, radius 16px, 44px play */
  .bio-video__player {
    max-width: 358px;
    margin: 0 auto;
    aspect-ratio: 358 / 332;
    border-radius: var(--radius-md);
  }

  .bio-video__player .video-preview__play {
    width: 44px;
    height: 44px;
  }

  .bio-video__player .video-preview__play img {
    width: 16px;
  }

  .bio-video__cta {
    align-self: center;
  }
}

@media(max-width: 576px) {
  .bio-about__media::before {
    inset: 9px 8px -7px 7px;
  }
}
