/* ML Endurance - refined team page */

:root {
  --grad: linear-gradient(90deg, #8b2fc9 0%, #ae2da8 25%, #d4294a 52%, #f06b26 78%, #f5a623 100%);
  --team-surface: var(--cream);
  --team-line: rgba(14, 20, 38, .11);
}

main {
  display: flex;
  flex-direction: column;
}

main > .hero { order: 1; }
main > .coachs-section { order: 2; }
main > .content-block { order: 3; }
main > .quote-section { order: 4; }
main > .story-section { order: 5; }
main > .cta-2 { order: 6; }

.aurora-layer {
  display: none;
}

.hero {
  min-height: min(780px, 92svh);
  padding: 126px 0 88px;
}

.hero .bg-img {
  opacity: .92;
  filter: saturate(1.02) contrast(1.04);
}

.hero .bg-veil {
  background:
    linear-gradient(90deg, rgba(9, 14, 27, .91) 0%, rgba(9, 14, 27, .76) 30%, rgba(9, 14, 27, .28) 55%, rgba(9, 14, 27, .05) 78%),
    linear-gradient(180deg, rgba(9, 14, 27, .10) 0%, transparent 45%, rgba(9, 14, 27, .68) 100%);
}

.hero-text {
  max-width: 700px;
}

.hero h1 {
  max-width: 750px;
  margin: 18px 0 22px;
  font-size: 70px;
  line-height: .98;
  letter-spacing: 0;
}

.hero h1 .accent {
  display: inline;
}

.hero p.lead {
  max-width: 610px;
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 1.62;
}

.hero-ctas .btn-grad,
.hero-ctas .btn-outline-light {
  min-height: 52px;
  border-radius: 14px;
}

.hero-ctas .btn-grad {
  border: 0;
  background: var(--grad);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .72);
}

.hero-signals {
  width: min(610px, 100%);
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hero-signals > span {
  min-width: 0;
  padding: 0 18px;
  border-right: 1px solid rgba(255, 255, 255, .18);
}

.hero-signals > span:first-child { padding-left: 0; }
.hero-signals > span:last-child { border-right: 0; }

.hero-signals strong,
.hero-signals small {
  display: block;
  letter-spacing: 0;
}

.hero-signals strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.25;
}

.hero-signals small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .60);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-scroll {
  display: none;
}

.coachs-section {
  padding: 100px 0 104px;
  background: var(--team-surface);
}

.coachs-section::before {
  opacity: .55;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.coachs-section .container {
  display: flex;
  flex-direction: column;
}

.coachs-section .section-head {
  order: 1;
  margin-bottom: 42px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(320px, 1.12fr);
  column-gap: 68px;
  align-items: end;
}

.coachs-section .section-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 18px;
}

.coachs-section .section-head h2 {
  grid-column: 1;
  margin: 0;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: 0;
}

.coachs-section .section-head .sub {
  grid-column: 2;
  margin: 0 0 3px;
  max-width: 610px;
  font-size: 17px;
  line-height: 1.68;
}

.coachs-grid {
  order: 2;
  gap: 22px;
  margin-top: 0;
}

.coach-card {
  border: 1.5px solid rgba(14, 20, 38, .42);
  border-radius: 22px;
  box-shadow: 0 24px 58px -40px rgba(14, 20, 38, .46);
}

.coach-card::before {
  content: none;
}

.coach-photo::before {
  content: "";
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--grad);
  pointer-events: none;
}

.coach-photo {
  aspect-ratio: 4 / 3;
  border-radius: 21px 21px 0 0;
}

.coach-photo .veil {
  background: linear-gradient(180deg, transparent 42%, rgba(9, 14, 27, .89) 100%);
}

.coach-photo .name {
  font-size: 38px;
  letter-spacing: 0;
}

.coach-photo .disc {
  letter-spacing: .14em;
}

.coach-photo .socials-row a {
  width: 34px;
  height: 34px;
}

.coach-body {
  padding: 28px 30px 30px;
  gap: 22px;
}

.coach-body-top {
  gap: 18px;
}

.coach-bio {
  font-size: 15px;
  line-height: 1.68;
}

.coach-signature {
  padding-left: 15px;
  border-left: 3px solid #d4294a;
}

#alex .coach-signature {
  border-left-color: #1b806d;
}

.coach-signature span,
.coach-signature strong {
  display: block;
  letter-spacing: 0;
}

.coach-signature span {
  margin-bottom: 5px;
  color: rgba(14, 20, 38, .48);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.coach-signature strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
}

.coach-stats {
  padding: 17px 8px 9px;
  border: 1px solid rgba(14, 20, 38, .07);
  border-radius: 14px;
  background: #f6f3ed;
}

.coach-stats::before {
  display: none;
}

.coach-stats .coach-stats-label {
  margin: 0 7px 7px;
  color: rgba(14, 20, 38, .53);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.coach-stats .s {
  min-width: 0;
  padding: 5px 7px 3px;
  border-right: 1px solid rgba(14, 20, 38, .08);
}

.coach-stats .s:last-child {
  border-right: 0;
}

.coach-stats .s .n {
  font-size: 21px;
  letter-spacing: 0;
}

.coach-stats .s .l {
  min-height: 26px;
  letter-spacing: .10em;
  line-height: 1.35;
}

.coach-actions {
  gap: 11px;
}

.btn-toggle,
.btn-choose {
  min-height: 50px;
  padding: 13px 15px;
  border-radius: 12px;
}

.btn-toggle {
  border-width: 1px;
}

.btn-choose {
  background: var(--grad);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow: 0 18px 30px -20px rgba(14, 20, 38, .62);
}

.btn-choose:hover {
  box-shadow: 0 22px 34px -20px rgba(14, 20, 38, .72);
}

.coach-details .inner-pad {
  padding-top: 12px;
}

.story-item {
  border-radius: 12px;
  background: #f6f3ed;
}

.story-item summary {
  min-height: 58px;
}

.fastmatch {
  order: 3;
  margin: 30px 0 0;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;
  color: #fff;
  background: #151d34;
  box-shadow: 0 24px 48px -34px rgba(14, 20, 38, .72);
}

.fastmatch .fm-ico {
  background: var(--grad);
  box-shadow: none;
}

.fastmatch h4 {
  color: #fff;
  font-size: 17px;
  letter-spacing: 0;
}

.fastmatch p {
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
}

.fastmatch .fm-btn {
  min-height: 46px;
  border-radius: 12px;
  background: var(--grad);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow: 0 18px 30px -20px rgba(0, 0, 0, .72);
}

.partners-banner-inline {
  order: 4;
  margin-top: 56px;
  padding-top: 54px;
  border-top: 1px solid rgba(14, 20, 38, .16);
}

.partners-banner-inline .pb-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.partners-banner-inline .pb-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 12px 64px;
  align-items: end;
  text-align: left;
}

.partners-banner-inline .pb-eyebrow {
  grid-column: 1 / -1;
  justify-self: start;
}

.partners-banner-inline .pb-head h2 {
  grid-column: 1;
  grid-row: 2 / 4;
  max-width: 610px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

.partners-banner-inline .pb-sub {
  grid-column: 2;
  grid-row: 2;
  max-width: 52ch;
  margin: 0;
  color: rgba(14, 20, 38, .66);
  font-size: 15.5px;
}

.pb-access-badge {
  grid-column: 2;
  grid-row: 3;
  justify-self: start;
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #176a49;
  background: #e1f1e8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.partners-banner-inline .pb-partners-grid {
  gap: 18px;
}

.partners-banner-inline .pb-partner-tile {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(14, 20, 38, .25);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  background: #fff;
  box-shadow: 0 20px 44px -38px rgba(14, 20, 38, .48);
}

.partners-banner-inline .pb-partner-tile::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--grad);
  pointer-events: none;
}

.partners-banner-inline .pb-partner-tile:hover {
  border-color: rgba(14, 20, 38, .55);
  box-shadow: 0 24px 46px -34px rgba(14, 20, 38, .42);
}

.pb-partner-main {
  min-width: 0;
  padding: 25px 25px 21px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.partners-banner-inline .pb-partner-logo-box {
  width: 104px;
  height: 82px;
  border-radius: 12px;
  border-color: rgba(14, 20, 38, .10);
}

.partners-banner-inline .pb-partner-logo-img:not(.partner-logo--bob) {
  transform: scale(1.5);
}

.partners-banner-inline .pb-partner-logo-img.partner-logo--noemie {
  transform: translateY(-4px) scale(1.5);
}

.partners-banner-inline .pb-partner-info strong {
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: 0;
}

.partners-banner-inline .pb-partner-info small {
  margin-top: 6px;
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: .10em;
}

.partners-banner-inline .pb-partner-info p {
  min-height: 2.9em;
  margin: 11px 0 0;
  color: rgba(14, 20, 38, .62);
  font-size: 12.5px;
  line-height: 1.45;
}

.pb-partner-benefits {
  margin-top: auto;
  padding: 0 25px;
  border-top: 1px solid rgba(14, 20, 38, .11);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.pb-partner-benefits span {
  min-height: 72px;
  padding: 14px 10px 15px;
  border: 0;
  border-right: 1px solid rgba(14, 20, 38, .11);
  border-radius: 0;
  display: grid;
  place-content: center;
  color: rgba(14, 20, 38, .62);
  background: transparent;
  text-align: center;
}

.pb-partner-benefits span:last-child {
  border-right: 0;
}

.pb-partner-benefits strong,
.pb-partner-benefits small {
  display: block;
  letter-spacing: 0;
}

.pb-partner-benefits strong {
  color: #151d34;
  font-size: 19px;
  line-height: 1.05;
}

.pb-partner-benefits small {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.pb-partner-benefits-single span {
  grid-column: 1 / -1;
  border-right: 0;
}

.partners-banner-inline .pb-footer {
  justify-content: center;
  margin-top: 0;
}

.partners-banner-inline .pb-footer .btn-grad {
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 12px;
  background: #151d34;
  box-shadow: none;
}

.content-block {
  padding: 100px 0 108px;
  background: #fff;
}

.content-block .section-head h2,
.story-head h2,
.quote-card blockquote,
.cta-2 h2 {
  letter-spacing: 0;
}

.values {
  gap: 16px;
}

.vcard {
  border-color: rgba(14, 20, 38, .09);
  border-radius: 18px;
  background: #f7f4ee;
  box-shadow: none;
}

.quote-section {
  background: var(--cream-2);
}

.quote-card {
  border-radius: 22px;
  box-shadow: 0 26px 60px -42px rgba(14, 20, 38, .45);
}

.story-section {
  background: #fff;
}

.story-body {
  max-width: 870px;
}

.cta-2-primary,
.site-cta,
.site-mobile-cta {
  border: 0;
  background: var(--grad);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .68);
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 60px;
  }

  .coachs-section .section-head {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .coachs-section .section-head h2,
  .coachs-section .section-head .sub {
    grid-column: 1;
  }

  .coachs-section .section-head .sub {
    max-width: 760px;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 0;
    padding: clamp(320px, 47svh, 390px) 0 68px;
  }

  .hero .bg-img {
    background-position: center top;
    opacity: 1;
    filter: saturate(1.01) contrast(1.01);
  }

  .hero .bg-veil {
    background: linear-gradient(
      180deg,
      rgba(9, 14, 27, .01) 0%,
      rgba(9, 14, 27, .03) 28%,
      rgba(9, 14, 27, .18) 40%,
      rgba(9, 14, 27, .74) 55%,
      rgba(9, 14, 27, .96) 74%,
      rgba(9, 14, 27, .98) 100%
    );
  }

  .hero h1 {
    max-width: 8.6em;
    margin: 14px 0 18px;
    font-size: 44px;
    line-height: 1;
  }

  .hero p.lead {
    max-width: 34ch;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.58;
  }

  .hero-signals {
    margin-top: 22px;
    padding-top: 16px;
  }

  .hero-signals > span {
    padding: 0 10px;
  }

  .hero-signals strong {
    font-size: 13px;
  }

  .hero-signals small {
    font-size: 7.5px;
  }

  .coachs-section {
    padding: 72px 0 76px;
  }

  .coachs-section .section-head {
    margin-bottom: 30px;
  }

  .coachs-section .section-head h2 {
    font-size: 42px;
  }

  .coachs-section .section-head .sub {
    font-size: 15.5px;
  }

  .coachs-grid {
    gap: 26px;
  }

  .coach-photo {
    aspect-ratio: 16 / 11;
  }

  .coach-photo .name {
    font-size: 31px;
  }

  .coach-body {
    padding: 24px;
  }

  .fastmatch {
    grid-template-columns: auto 1fr;
    gap: 13px;
    padding: 20px;
  }

  .fastmatch .fm-btn {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .partners-banner-inline {
    margin-top: 42px;
    padding-top: 42px;
  }

  .partners-banner-inline .pb-head {
    grid-template-columns: 1fr;
    gap: 11px;
    align-items: start;
  }

  .partners-banner-inline .pb-head h2,
  .partners-banner-inline .pb-sub,
  .partners-banner-inline .pb-access-badge {
    grid-column: 1;
    grid-row: auto;
  }

  .content-block {
    padding: 76px 0 82px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 104px 0 58px;
  }

  .hero-text {
    transform: none;
  }

  .hero .bg-img {
    background-size: clamp(500px, 128vw, 540px) auto;
    background-position: center -55px;
  }

  .hero-tag {
    margin-bottom: clamp(198px, 25svh, 215px);
    text-shadow: 0 2px 12px rgba(9, 14, 27, .76);
  }

  .hero h1 {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 104px 0 58px;
  }

  .hero h1 {
    max-width: 8.2em;
    font-size: 39px;
  }

  .hero-ctas {
    max-width: none;
  }

  .hero-signals > span {
    padding: 0 8px;
  }

  .hero-signals strong {
    font-size: 12px;
  }

  .hero-signals small {
    font-size: 7px;
  }

  .coachs-section .section-head h2 {
    font-size: 38px;
  }

  .coach-card {
    border-radius: 18px;
  }

  .partners-banner-inline .pb-card {
    gap: 22px;
  }

  .partners-banner-inline .pb-head h2 {
    font-size: 32px;
  }

  .partners-banner-inline .pb-sub {
    font-size: 14px;
  }

  .partners-banner-inline .pb-partner-tile {
    padding: 0;
  }

  .pb-partner-main {
    padding: 19px 17px 17px;
    gap: 13px;
  }

  .pb-partner-benefits {
    padding: 0 17px;
  }

  .pb-partner-benefits span {
    min-height: 66px;
    padding: 12px 7px 13px;
  }

  .partners-banner-inline .pb-footer,
  .partners-banner-inline .pb-footer .btn-grad {
    width: 100%;
  }

  .partners-banner-inline .pb-footer .btn-grad {
    justify-content: center;
  }

  .partners-banner-inline .pb-partner-logo-box {
    width: 82px;
    height: 68px;
  }

  .partners-banner-inline .pb-partner-info strong {
    font-size: 15px;
  }

  .partners-banner-inline .pb-partner-info p {
    min-height: 0;
    margin-top: 9px;
    font-size: 11.5px;
  }

  .coach-photo {
    border-radius: 17px 17px 0 0;
  }

  .coach-photo .socials-row {
    gap: 6px;
  }

  .coach-photo .socials-row a {
    width: 32px;
    height: 32px;
  }

  .coach-body {
    padding: 22px 20px 23px;
  }

  .coach-stats {
    padding-inline: 4px;
  }

  .coach-stats .s {
    padding-inline: 3px;
  }

  .coach-stats .s .n {
    font-size: 18px;
  }

  .coach-actions {
    grid-template-columns: 1fr;
  }

  .btn-toggle,
  .btn-choose {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coach-photo-img,
  .btn-toggle,
  .btn-choose,
  .fastmatch .fm-btn {
    transition: none;
  }
}
