/* Thrive Season 1 Recap (coded) */

.thrive-recap-standalone {
  background: #fff;
}

.recap-page {
  overflow: clip;
  background: #fff;
}

.recap-hero {
  padding-top: calc(var(--header-bottom) + clamp(28px, 5vw, 72px));
  padding-bottom: clamp(48px, 6vw, 86px);
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 48%, rgba(255, 255, 255, 0.9) 100%), var(--recap-hero-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.recap-hero__inner {
  min-height: min(78dvh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.recap-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: recapHeroCopyIn 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.recap-hero__title,
.recap-section-title,
.recap-stat-card strong,
.recap-highlight-card h3,
.recap-feature-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-main);
}

.recap-hero__title {
  max-width: 13.5ch;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.08;
}

.recap-hero__body {
  margin: 18px 0 0;
  max-width: 35ch;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
}

.recap-hero__art {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  animation: recapStatsIn 820ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

.recap-hero__art img {
  display: block;
  width: min(100%, 760px);
  aspect-ratio: 3835 / 2462;
  height: auto;
}

.recap-stat-grid {
  width: min(100%, 500px);
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  animation: recapStatsIn 820ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

.recap-stat-card {
  display: grid;
  place-content: center;
  gap: 6px;
  min-height: 104px;
  padding: 16px 14px;
  border-radius: 22px;
  background: #f5f5f5;
  text-align: center;
}

.recap-stat-card strong {
  font-size: clamp(24px, 2.1vw, 36px);
  line-height: 0.95;
}

.recap-stat-card span {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.1;
}

.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 840ms cubic-bezier(0.22, 1, 0.36, 1), transform 840ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-up.is-in {
  opacity: 1;
  transform: none;
}

.recap-highlights,
.recap-milestones,
.recap-protocol {
  background: #f5f5f5;
}

.recap-highlights,
.recap-aims,
.recap-milestones,
.recap-process,
.recap-protocol,
.recap-season {
  padding: clamp(56px, 8vw, 108px) 0;
}

.recap-section-title {
  font-size: clamp(20px, 1.6vw + 9px, 31px);
  line-height: 1.12;
}

.recap-section-title--center {
  text-align: center;
}

.recap-highlight-grid,
.recap-feature-grid {
  margin-top: clamp(34px, 5vw, 58px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
}

.recap-highlight-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: 28px;
  background: #fff;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.recap-highlight-card:hover,
.recap-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.recap-highlight-card__header {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
}

.recap-highlight-card__header img {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  object-fit: contain;
  flex: 0 0 auto;
}

.recap-highlight-card h3 {
  font-size: clamp(18px, 1vw + 12px, 24px);
  line-height: 1.08;
}

.recap-highlight-card p {
  margin: 20px 0 0;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.42;
}

.recap-card-button {
  margin-top: auto;
  min-width: 142px;
}

.recap-feature-card {
  min-height: 310px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: 30px;
  background: #f2f2f2;
  text-align: center;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.recap-feature-card--white {
  background: #fff;
}

.recap-feature-card img {
  width: min(62%, 180px);
  height: auto;
  margin-bottom: clamp(16px, 2vw, 26px);
}

.recap-feature-card h3 {
  font-size: clamp(18px, 0.8vw + 13px, 24px);
  line-height: 1.12;
}

.recap-feature-card p {
  margin: 12px 0 0;
  max-width: 22ch;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.38;
}

.recap-process__inner,
.recap-protocol__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.8fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
}

.recap-process__timeline-art,
.recap-process__art,
.recap-protocol__logo,
.recap-season__logo {
  margin: 0;
}

.recap-process__timeline-art img {
  display: block;
  width: min(100%, 700px);
  height: auto;
}

.recap-process__art {
  display: flex;
  justify-content: center;
}

.recap-process__art img {
  width: min(100%, 480px);
  height: auto;
}

.recap-protocol__copy p {
  margin: 28px 0 0;
  max-width: 54ch;
  color: var(--text-main);
  font-size: clamp(16px, 0.6vw + 12px, 20px);
  line-height: 1.42;
}

.recap-protocol__logo {
  display: flex;
  justify-content: center;
}

.recap-protocol__logo img {
  width: min(100%, 448px);
  height: auto;
}

.recap-season__inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.recap-season__logo {
  display: none;
}

.recap-season__button {
  margin-top: 30px;
  min-width: 270px;
}

@keyframes recapHeroCopyIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes recapStatsIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .recap-hero__inner,
  .recap-process__inner,
  .recap-protocol__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .recap-hero__copy,
  .recap-protocol__copy {
    display: grid;
    justify-items: center;
  }

  .recap-hero__art {
    justify-content: center;
  }

  .recap-protocol__copy p {
    max-width: 62ch;
  }
}

@media (max-width: 980px) {
  .thrive-recap-standalone .container {
    padding-inline: 32px;
  }

  .recap-hero {
    padding-top: calc(var(--header-bottom) + 42px);
    padding-bottom: 56px;
    text-align: center;
    background-position: center top;
  }

  .recap-hero__inner,
  .recap-hero__copy {
    justify-items: center;
  }

  .recap-hero__inner {
    min-height: 0;
  }

  .recap-hero__art {
    animation: none;
    order: -1;
    margin-top: 44px;
  }

  .recap-hero__art img {
    width: min(100%, 300px);
  }

  .recap-hero__title,
  .recap-section-title {
    font-size: clamp(20px, 1.6vw + 9px, 31px);
    line-height: 1.12;
  }

  .recap-hero__title {
    max-width: 32ch;
  }

  .recap-hero__body {
    margin-top: 20px;
    max-width: 31ch;
    font-size: 16px;
    line-height: 1.42;
  }

  .recap-stat-grid,
  .recap-highlight-grid,
  .recap-feature-grid {
    max-width: 520px;
    margin-inline: auto;
  }

  .recap-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .recap-highlight-grid,
  .recap-feature-grid {
    grid-template-columns: 1fr;
  }

  .recap-stat-card {
    min-height: 76px;
    padding: 12px 8px;
    border-radius: 18px;
  }

  .recap-stat-card strong {
    font-size: 22px;
  }

  .recap-stat-card span {
    font-size: 12px;
  }

  .recap-highlight-card {
    min-height: 0;
    align-items: center;
    text-align: center;
  }

  .recap-highlight-card__header {
    flex-direction: column;
    gap: 16px;
  }

  .recap-card-button {
    margin-top: 28px;
  }

  .recap-feature-card {
    min-height: 300px;
  }

  .recap-feature-card img {
    width: min(62%, 190px);
  }

  .recap-process__timeline-art img {
    width: min(100%, 560px);
  }

  .recap-process__art img {
    width: min(100%, 330px);
  }

  .recap-process__art {
    display: none;
  }

  .recap-protocol__logo img {
    width: min(100%, 320px);
  }

  .recap-highlight-card:hover,
  .recap-feature-card:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (max-width: 640px) {
  .thrive-recap-standalone .container {
    padding-inline: 30px;
  }

  .recap-hero {
    padding-top: calc(var(--header-bottom) + 34px);
    padding-bottom: 44px;
  }

  .recap-hero__inner {
    gap: 34px;
  }

  .recap-hero__art {
    margin-top: 56px;
  }

  .recap-hero__title {
    max-width: 100%;
  }

  .recap-stat-grid {
    gap: 8px;
  }

  .recap-stat-card {
    min-height: 68px;
    padding: 10px 6px;
    border-radius: 16px;
  }

  .recap-stat-card strong {
    font-size: 20px;
  }

  .recap-stat-card span {
    font-size: 11px;
  }

  .recap-highlights,
  .recap-aims,
  .recap-milestones,
  .recap-process,
  .recap-protocol,
  .recap-season {
    padding: 52px 0;
  }

  .recap-highlight-grid,
  .recap-feature-grid {
    margin-top: 34px;
  }

  .recap-highlight-card,
  .recap-feature-card {
    border-radius: 28px;
  }

  .recap-highlight-card {
    padding: 28px;
  }

  .recap-feature-card {
    min-height: 250px;
  }

  .recap-feature-card img {
    width: min(64%, 168px);
    margin-bottom: 18px;
  }

  .recap-season__button {
    min-width: 0;
    width: 100%;
    max-width: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recap-hero__copy,
  .recap-stat-grid {
    animation: none !important;
  }

  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
