.story-page {
  --story-blue: #062f60;
  --story-blue-soft: #0b3a69;
}

.story-page .story-main > section,
.story-page .story-footer {
  border-top: 0;
}

.story-hero {
  padding-top: 86px;
  padding-bottom: 70px;
}

.story-hero-frame {
  position: relative;
  height: min(86.4vh, 912px);
  min-height: 516px;
  overflow: hidden;
  border-radius: 22px;
  background: #111;
}

.story-hero-art {
  position: absolute;
  inset: 0;
  background: url("./assets/images/patrick-mouratoglou-story-hero.jpg") 50% 50% / cover no-repeat;
}

.story-hero-art::before,
.story-hero-art::after,
.story-hero-art span {
  content: none;
  display: none;
}

.story-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.42) 42%, rgba(0,0,0,.06) 76%);
}

.story-kicker {
  position: absolute;
  z-index: 1;
  top: 42px;
  left: 42px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.story-hero-tagline {
  position: absolute;
  z-index: 1;
  left: 42px;
  bottom: 42px;
  max-width: 980px;
  margin: 0;
  font-size: var(--type-hero);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.story-intro {
  padding-top: 90px;
  padding-bottom: 100px;
}

.story-intro-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(420px, .85fr);
  gap: clamp(54px, 8vw, 130px);
  align-items: start;
}

.story-intro h2,
.story-statement h2,
.story-roles > h2,
.story-history > h2 {
  margin: 0;
  font-size: var(--type-section-title);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.story-intro h2 strong,
.story-statement h2 strong {
  font-weight: 850;
}

.story-roles > h2,
.story-history > h2 {
  font-weight: 900;
}

.story-intro-copy {
  max-width: 680px;
}

.story-intro-copy p {
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.5;
}

.story-intro-copy p:last-child { margin-bottom: 0; }

.story-statement {
  padding-top: 80px;
  padding-bottom: 95px;
}

.story-statement h2 { max-width: 1050px; }

.story-film {
  padding-top: 20px;
  padding-bottom: 100px;
}

.story-film-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #0b0b0b;
}

.story-film-poster,
.story-film-player,
.story-film-player iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-film-player {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.story-film-frame.is-playing .story-film-player { pointer-events: auto; }

.story-film-player iframe {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 0;
}

.story-film-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 18px;
  padding: clamp(24px, 4vw, 58px);
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.76) 100%);
}

.story-film-overlay p {
  margin: 0;
  font: 750 var(--type-card-title)/1 var(--font-display);
  text-transform: uppercase;
}

.story-film-overlay button,
.story-film-external {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  color: var(--white);
  background: rgba(0,0,0,.38);
  font: 500 13px/1 var(--font-body);
  text-decoration: none;
}

.story-film-external {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  display: none;
  align-items: center;
}

.story-film-frame.is-playing .story-film-poster,
.story-film-frame.is-playing .story-film-overlay { display: none; }
.story-film-frame.is-playing .story-film-external { display: inline-flex; }

.story-roles,
.story-history {
  padding-top: 90px;
  padding-bottom: 100px;
}

.story-overline {
  margin: 0 0 12px;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.role-viewport {
  width: 100%;
  margin-top: 54px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.role-viewport::-webkit-scrollbar { display: none; }

.role-track {
  display: flex;
  gap: 8px;
  width: max-content;
}

.role-card {
  position: relative;
  display: grid;
  flex: 0 0 clamp(340px, 34vw, 480px);
  min-height: 520px;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 28px;
  scroll-snap-align: start;
  background: linear-gradient(145deg, var(--story-blue-soft), #061729 75%);
}

.role-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .08) 20%, rgba(0, 0, 0, .3) 58%, rgba(0, 0, 0, .94) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .2), transparent 58%);
}

.role-card:nth-child(even) { background: linear-gradient(145deg, #111a23, var(--story-blue)); }
.role-card:nth-child(3n) { background: linear-gradient(145deg, #0c365f, #080808 86%); }

.role-card.role-card--coach {
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.2) 46%, rgba(0,0,0,.94) 100%),
    url("./assets/images/patrick-serena-coaching-hero-edited.webp") 50% 50% / cover no-repeat;
}

.role-card.role-card--media {
  background:
    linear-gradient(180deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.24) 48%, rgba(0,0,0,.92) 100%),
    url("./assets/images/story-role-tv-personality.webp") 42% 50% / cover no-repeat;
}

.role-card.role-card--vision {
  background:
    linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.18) 48%, rgba(0,0,0,.94) 100%),
    url("./assets/images/story-role-visionary.webp") 50% 50% / cover no-repeat;
}

.role-card.role-card--speaker {
  background:
    linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.22) 48%, rgba(0,0,0,.92) 100%),
    url("./assets/images/story-role-speaker.webp") 32% 50% / cover no-repeat;
}

.role-card.role-card--giving {
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.2) 48%, rgba(0,0,0,.94) 100%),
    url("./assets/images/story-role-philanthropist.webp") 50% 50% / cover no-repeat;
}

.role-card.role-card--founder {
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.22) 48%, rgba(0,0,0,.94) 100%),
    url("./assets/images/brand-uts.webp") 50% 50% / cover no-repeat;
}

.role-card.role-card--author {
  background:
    linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.08) 62%, rgba(0,0,0,.55) 100%),
    #17100c url("./assets/images/story-role-author-champion-mindset.jpg") 50% 45% / cover no-repeat;
}

.role-card.role-card--author::before {
  background: linear-gradient(180deg, transparent 52%, rgba(0,0,0,.18) 68%, rgba(0,0,0,.78) 100%);
}

.role-card::after {
  content: "";
  position: absolute;
  top: 13%;
  right: -25%;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
}

.role-card.role-card--coach::after,
.role-card.role-card--media::after,
.role-card.role-card--vision::after,
.role-card.role-card--speaker::after,
.role-card.role-card--giving::after,
.role-card.role-card--founder::after,
.role-card.role-card--author::after { content: none; }

.role-card > span {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.72);
  font: 500 14px/1 var(--font-display);
}

.role-track .role-card > div {
  position: absolute !important;
  z-index: 1;
  inset: auto 28px 22px 28px !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform: none !important;
}

.role-card h3 {
  max-width: 390px;
  margin: 0 0 18px;
  font-size: var(--type-card-title);
  font-weight: 750;
  line-height: .95;
  text-transform: uppercase;
}

.role-card p {
  max-width: 390px;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.story-carousel-controls {
  display: grid;
  grid-template-columns: 36px minmax(120px, 1fr) 36px;
  gap: 18px;
  align-items: center;
  max-width: 570px;
  margin-top: 30px;
}

.role-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.role-progress {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: rgba(255,255,255,.2);
}

.role-progress span {
  display: block;
  width: 28%;
  height: 100%;
  background: var(--white);
}

.history-list {
  margin-top: 58px;
  border-top: 1px solid var(--line);
}

.history-list article {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.history-list time {
  color: var(--accent);
  font: 800 24px/1 var(--font-display);
  letter-spacing: -.025em;
}

.history-list h3 {
  margin: 0 0 10px;
  font: 750 24px/1.05 var(--font-display);
  text-transform: uppercase;
}

.history-list p {
  max-width: 980px;
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

.story-players,
.story-partners {
  padding-top: 90px;
  padding-bottom: 100px;
}

.story-newsletter {
  padding-top: 90px;
  padding-bottom: 100px;
}

.story-footer {
  max-width: 1250px;
  margin-top: 20px;
}

@media (max-width: 980px) {
  .story-intro-grid { grid-template-columns: 1fr; gap: 46px; }
  .story-intro-copy { max-width: 760px; }
  .role-card { flex-basis: min(74vw, 470px); }
}

@media (max-width: 760px) {
  .story-hero { padding-top: 76px; padding-bottom: 42px; }
  .story-hero-frame { height: 72vh; min-height: 540px; border-radius: 14px; }
  .story-kicker { top: 24px; left: 20px; font-size: 12px; }
  .story-hero-tagline { left: 20px; bottom: 24px; font-size: clamp(36px, 10vw, 46px); }

  .story-intro { padding-top: 36px; padding-bottom: 36px; }
  .story-intro h2 { font-size: clamp(32px, 9vw, 42px); }
  .story-intro-copy p { font-size: 16px; }

  .story-statement { padding-top: 36px; padding-bottom: 36px; }
  .story-film { padding-bottom: 36px; }
  .story-film-frame { border-radius: 10px; }
  .story-film-overlay { padding: 20px; }

  .story-roles,
  .story-history { padding-top: 36px; padding-bottom: 36px; }

  .role-viewport { margin-top: 28px; }
  .role-card { flex-basis: calc(100vw - 54px); min-height: 440px; padding: 24px; }
  .role-track .role-card > div { inset: auto 24px 20px 24px !important; }
  .role-card p { font-size: 15px; }

  .history-list { margin-top: 28px; }
  .history-list article { grid-template-columns: 78px minmax(0, 1fr); gap: 12px; padding: 22px 0; }
  .history-list time { font-size: 18px; letter-spacing: -.02em; }
  .history-list h3 { margin-bottom: 8px; font-size: 16px; }
  .history-list p { font-size: 15px; }

  .story-players,
  .story-partners { padding-top: 36px; padding-bottom: 36px; }
  .story-newsletter { padding-top: 36px; padding-bottom: 36px; }
}
