/* ==================================================
   HOME PAGE — HERO SECTION
   ================================================== */

.hero-section {
  position: relative;
}

.hero-section__content {
  position: absolute;
  width: 100%;
  bottom: 80px;
  text-align: center;
  overflow: hidden;
}

.hero-section__content h1 {
  font-family: var(--font-heading);
  font-size: 90px;
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-8);
}

.hero-section__content .button-section {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.hero-mobile {
  display: none;
}

.hero-desktop {
  display: block;
}

/* ==================================================
   HOME PAGE — STORY SECTION
   ================================================== */

.story-section {
  background: #fff;
  padding: var(--space-16) 0;
}

.story-section p {
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text-dark);
  letter-spacing: 0;
  margin-bottom: 20px;
}

.customized-img {
  position: relative;
  width: 100%;
  float: left;
  padding: 15px 13px;
  box-sizing: border-box;
}

.customized-img:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(14, 88, 111, 0.5);
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: opacity 0.3s ease;
  border-radius: 24px;
  rotate: 178deg;
}

.customized-img img {
  max-width: 100%;
  width: 100%;
  border-radius: 24px;
  z-index: 1;
  position: relative;
}

/* ==================================================
   HOME PAGE — REDEMPTION SECTION
   ================================================== */

.redemption-section {
  background: url("../../images/redemption-bg.png") center / cover no-repeat;
  padding: var(--space-16) 0;
  text-align: center;
}

.redemption-section .primary-heading {
  color: #fff;
  padding-bottom: 40px;
}

.redemption-section__link {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.redemption-section__link img {
  display: block;
  max-width: 100%;
  height: auto;
}

.redemption-section__link:hover,
.redemption-section__link:focus-visible {
  opacity: 0.9;
}

/* ==================================================
   HOME PAGE — FEATURED SHOW SECTION
   ================================================== */

.featured-show {
  background: #fff;
  padding: var(--space-16) 0;
}

.featured-show p {
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text-dark);
  letter-spacing: 0;
  margin-bottom: 20px;
}

.featured-show__trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  transition: transform var(--transition-base);
}

.featured-show__trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.featured-show__trigger:hover {
  transform: translateY(-2px);
}

.featured-show__trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.featured-show__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.featured-show__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  padding-left: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.featured-show__play img {
  width: 18px;
  height: auto;
}

.rounded-24 {
  border-radius: 24px;
}

/* ==================================================
   HOME PAGE — STORYTELLING SECTION
   ================================================== */

.storytelling-section {
  background: var(--color-teal-deep); /* Figma: solid #0C4A5D */
  padding: var(--section-padding-y) 0;
}

.storytelling-section__title {
  margin-bottom: var(--space-8);
}

.storytelling-section p {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-5);
}

.storytelling-section .button {
  margin-top: var(--space-3);
}

.storytelling-section__trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  transition: transform var(--transition-base);
}

.storytelling-section__trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.storytelling-section__trigger:hover {
  transform: translateY(-2px);
}

.storytelling-section__trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.storytelling-section__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.storytelling-section__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  padding-left: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.storytelling-section__play img {
  width: 18px;
  height: auto;
}

/* ==================================================
   HOME PAGE — SPEAKING TOPICS SECTION
   ================================================== */

.speaking-topics {
  background: var(--color-bg-light); /* Figma: #F4FCFF @20% over white */
  padding: var(--section-padding-y) 0;
}

.speaking-topics__title {
  text-align: center;
  margin-bottom: var(--space-12);
}

.speaking-topics__grid {
  gap: var(--space-8);
}

/* Teal cards on light background (Figma: gradient card fill) */
.speaking-topics .topic-card {
  background: var(--gradient-card);
  border-color: transparent;
}

.speaking-topics__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-15);
}

/* ==================================================
   HOME PAGE — WATCH DAMON SPEAK SECTION
   ================================================== */

.watch-section {
  background: url("../../images/watch-section-bg.png") center / cover no-repeat;
  padding: var(--section-padding-y) 0;
}

.watch-section__player {
  width: 100%;
  max-width: 1304px;
  margin: 0 auto;
  aspect-ratio: 1304 / 723;
  border-radius: var(--radius-xl);
  border: none;
  box-shadow: var(--shadow-soft);
}

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

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

.watch-section__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);
}

.watch-section__player .video-preview__play img {
  width: 23px;
  height: auto;
}

/* ==================================================
   HOME PAGE — UNLOCK POTENTIAL SECTION
   ================================================== */

.unlock-section {
  background: url("../../images/texture-light-small.png") left top repeat;
  padding: var(--section-padding-y) 0;
}

.unlock-section__title {
  text-align: center;
  margin-bottom: var(--space-4);
}

.unlock-section__title span {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-3xl);
  letter-spacing: 0.02em;
  line-height: var(--leading-tight);
}

.unlock-section__lede {
  text-align: center;
  color: var(--color-text-gray);
  margin-bottom: var(--space-12);
}

.unlock-section__grid {
  gap: var(--space-8);
}

/* White cards on light background */
.unlock-section .media-card {
  background: var(--color-accent);
  border: none;
}

.unlock-section .media-card__title {
  text-transform: uppercase;
  font-size: var(--text-base);
  color: var(--color-heading-dark);
}

.unlock-section .media-card__text {
  color: var(--color-text-gray);
}

.unlock-section .link-arrow {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
}

/* ==================================================
   HOME PAGE — IMPACT BAND SECTION
   ================================================== */

.impact-band {
  background: var(--color-heading-dark);
  padding: var(--section-padding-y) 0;
  text-align: center;
}

.impact-band__title {
  margin-bottom: var(--space-10);
}

.impact-band__strip {
  width: 100%;
  border-radius: var(--radius-sm);
}

.impact-band__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-10);
}

/* ==================================================
   HOME PAGE — TESTIMONIALS SECTION (Figma 384:1363 / 578:5178)
   Swiper carousel — 3-up desktop, centered active slide
   ================================================== */

.testimonials {
  background: var(--gradient-section);
  padding: var(--section-padding-y) 0;
}

.testimonials__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.testimonials__title {
  margin-bottom: var(--space-5);
}

.testimonials__lede {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  max-width: 745px;
  margin: 0 auto;
}

.testimonials .swiper-horizontal {
  padding: 50px 0px 70px 0px;
}

/* Swiper viewport — contained within .container (Figma max row ~1303px) */
.testimonials-swiper {
  width: 100%;
  max-width: 1303px;
  margin: 0 auto;
  overflow: visible;
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}

.testimonials-swiper .swiper-wrapper {
  align-items: center;
}

.testimonials-swiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
}

.testimonials-swiper .swiper-slide-active {
  z-index: 2;
}

/* Base card — inactive (Figma side: 374×341, opacity 0.8, r14.5, soft shadow) */
.testimonials-swiper .quote-card {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  color: var(--color-heading-dark);
  background: var(--color-accent);
  border: none;
  gap: 21px;
  padding: 29px;
  min-height: 341px;
  border-radius: 14px;
  box-shadow:
    0 9px 14px -3px rgba(0, 0, 0, 0.1),
    0 4px 5px -4px rgba(0, 0, 0, 0.1);
  opacity: 0.75;
  transform: scale(0.9);
  transition:
    transform 600ms ease-out,
    opacity 600ms ease-out,
    box-shadow 600ms ease-out;
}

.testimonials-swiper .quote-card__text {
  font-size: 1.018rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.625;
  color: var(--color-text-dark);
}

.testimonials-swiper .quote-card__author {
  font-size: 0.905rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.testimonials-swiper .quote-card__role {
  font-size: 0.792rem;
  font-style: italic;
  font-weight: 500;
  color: #06414c;
}

.testimonials-swiper .stars img {
  width: 16px;
  height: 14px;
}

/* Active center card (Figma: 517px, r16, lift, strong shadow) */
.testimonials-swiper .swiper-slide-active .quote-card {
  gap: var(--space-6);
  padding: var(--space-6) var(--space-8);
  min-height: 0;
  border-radius: var(--radius-md);
  box-shadow:
    0 13px 19px -4px rgba(0, 0, 0, 0.1),
    0 5px 8px -5px rgba(0, 0, 0, 0.1);
  opacity: 1;
  transform: scale(1.1) translateY(-8px);
  z-index: 2;
}

.testimonials-swiper .swiper-slide-active .quote-card__text {
  font-size: var(--text-xl);
  font-style: normal;
  font-weight: 500;
  line-height: 1.83;
}

.testimonials-swiper .swiper-slide-active .quote-card__author {
  font-size: var(--text-xl);
  font-weight: 600;
}

.testimonials-swiper .swiper-slide-active .quote-card__role {
  font-size: var(--text-base);
}

.testimonials-swiper .swiper-slide-active .stars img {
  width: 22px;
  height: 20px;
}

/* Dot pagination (Figma 384:1454 — 48px below carousel) */
.testimonials-swiper__pagination {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-12);
}

.testimonials-swiper__dot {
  width: 14px;
  height: 14px;
  margin: 0 !important;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition:
    transform 600ms ease-out,
    background-color 600ms ease-out;
}

.testimonials-swiper__dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.testimonials-swiper__dot--active {
  background: var(--color-accent);
  transform: scale(1.15);
}

/* Hide default Swiper pagination chrome */
.testimonials-swiper__pagination.swiper-pagination-horizontal {
  width: auto;
}

.testimonials-swiper__pagination .swiper-pagination-bullet {
  opacity: 1;
}

/* ==================================================
   HOME PAGE — LETTERS CARD
   ================================================== */

.letters-card {
  margin-top: var(--space-15);
  padding: var(--space-12) var(--space-10);
  text-align: center;
  background: var(--color-glass-bg);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.letters-card__title {
  margin-bottom: var(--space-6);
}

.letters-card__title em {
  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;
}

.letters-card__text {
  font-size: var(--text-lg);
  font-style: italic;
  line-height: var(--leading-relaxed);
  color: var(--color-text-primary);
  max-width: 1100px;
  margin: 0 auto var(--space-8);
}

.letters-card__cta {
  display: flex;
  justify-content: center;
}

/* ==================================================
   HOME PAGE — RESPONSIVE
   ================================================== */

/* Laptop — 1200px */
@media (max-width: 1200px) {
  .hero-section__content h1 {
    font-size: 70px;
  }

  .story-section p {
    font-size: 16px;
    line-height: 26px;
  }
}

/* Tablet — 992px (2-up testimonials) */
@media (max-width: 992px) {
  .hero-section__content h1 {
    font-size: 42px;
  }

  .testimonials-swiper .quote-card {
    min-height: 300px;
    padding: var(--space-6);
  }

  .testimonials-swiper .swiper-slide-active .quote-card {
    transform: scale(1.08) translateY(-8px);
  }
}

/* Mobile — 767px */
@media (max-width: 767px) {
  .story-section .row .fifty-fifty-section:first-child {
    order: 2;
  }

  .story-section .row .fifty-fifty-section:last-child {
    order: 1;
    padding-bottom: 30px;
  }

  .featured-show {
    padding: 30px 0;
  }

  .featured-show .sixty-section {
    padding-top: 20px;
  }

  .storytelling-section .fifty-fifty-section:first-child {
    padding-bottom: 30px;
  }

  /* Testimonials — mobile (Figma: single centered card) */
  .testimonials__header {
    margin-bottom: var(--space-8);
  }

  .testimonials-swiper .quote-card {
    min-height: 0;
    padding: var(--space-6);
    opacity: 0.8;
    transform: scale(0.92);
  }

  .testimonials-swiper .swiper-slide-active .quote-card {
    opacity: 1;
    transform: scale(1) translateY(-8px);
  }

  .testimonials-swiper .swiper-slide-active .quote-card__text {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
  }

  .testimonials-swiper .swiper-slide-active .quote-card__author {
    font-size: var(--text-base);
  }

  .testimonials-swiper .swiper-slide-active .quote-card__role {
    font-size: var(--text-sm);
  }

  .testimonials-swiper .swiper-slide-active .stars img {
    width: 16px;
    height: 14px;
  }

  .testimonials-swiper__pagination {
    margin-top: var(--space-8);
  }

  /* Letters card — light variant on mobile (Figma mobile) */
  .letters-card {
    background: var(--color-accent);
    border: none;
    text-align: left;
    padding: var(--space-8) var(--space-6);
  }

  .letters-card__title,
  .letters-card__title em {
    color: var(--color-heading-dark);
  }

  /* Mobile design: "PRISON" matches the heading, no script font */
  .letters-card__title em {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
  }

  .letters-card__text {
    font-style: normal;
    color: var(--color-text-gray);
  }

  .letters-card__cta {
    justify-content: flex-start;
  }

  .letters-card .button--white {
    background: var(--color-heading-dark);
    color: var(--color-accent);
  }

  .letters-card .button--white .button__icon img,
  .letters-card .button--white .button__icon svg {
    filter: brightness(0) invert(1);
  }
}

/* Small Mobile — 576px */
@media (max-width: 576px) {
  .hero-mobile {
    display: block;
  }

  .hero-desktop {
    display: none;
  }

  .hero-section__content h1 {
    letter-spacing: -2px;
  }

  .story-section {
    padding: 30px 0;
  }

  .redemption-section {
    padding: 30px 0;
  }

  .redemption-section .primary-heading {
    padding-bottom: 20px;
  }

  .storytelling-section {
    padding: 30px 0;
  }

  .storytelling-section__title {
    margin-bottom: var(--space-5);
  }

  .speaking-topics {
    padding: 30px 0;
  }

  .speaking-topics__title {
    margin-bottom: var(--space-6);
  }

  .speaking-topics__cta {
    margin-top: var(--space-8);
  }

  .watch-section,
  .unlock-section,
  .impact-band,
  .testimonials {
    padding: 30px 0;
  }

  .watch-section__player {
    max-width: 358px;
    /* aspect-ratio: 358 / 332; */
    border-radius: var(--radius-md);
  }

  .watch-section__player .video-preview__play {
    width: 44px;
    height: 44px;
  }

  .watch-section__player .video-preview__play img {
    width: 16px;
  }

  .unlock-section__lede,
  .testimonials__lede {
    margin-bottom: var(--space-8);
  }

  .unlock-section__title span {
    font-size: var(--text-2xl);
  }

  .impact-band__title {
    margin-bottom: var(--space-6);
  }

  .impact-band__cta {
    margin-top: var(--space-6);
  }

  .letters-card {
    margin-top: var(--space-8);
  }

  .customized-img {
    padding: 15px 8px;
  }

  .featured-show__play, .storytelling-section__play {
    width: 44px;
    height: 44px;
  }

  .featured-show__play img, .storytelling-section__play img {
    width: 12px;
  }
}
