/* ========================= */
/* COACHS PAGE TOKENS */
/* ========================= */
:root {
  --team-red: #ef1a23;
  --team-ink: #090b10;
  --team-panel: #151a22;
  --team-line: rgba(255, 255, 255, 0.14);
  --team-muted: #bec8d4;
}

.coachs-page {
  overflow: hidden;
  background: var(--team-ink);
  color: #fff;
}

.coachs-page *,
.coachs-page *::before,
.coachs-page *::after {
  box-sizing: border-box;
}

/* ========================= */
/* TEAM HERO */
/* ========================= */
.team-hero {
  position: relative;
  min-height: min(780px, 92vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 150px max(24px, calc((100% - 1200px) / 2)) 76px;
  background:
    linear-gradient(
      90deg,
      rgba(4, 6, 10, 0.95),
      rgba(4, 6, 10, 0.67) 52%,
      rgba(4, 6, 10, 0.22)
    ),
    url("http://mmacasbahfight.com/wp-content/uploads/2025/11/IMG_4958-scaled.jpg")
      center / cover no-repeat;
}

.team-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 76px
      76px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 /
      76px 76px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 76%);
  mask-image: linear-gradient(90deg, #000, transparent 76%);
  pointer-events: none;
}

.team-hero-copy,
.team-hero-word,
.team-inner {
  position: relative;
  z-index: 1;
}

.team-hero-copy {
  max-width: 760px;
}

.team-kicker,
.team-label {
  margin: 0 0 14px;
  color: #ff9ba1;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.team-hero h1,
.coachs-page h2,
.coachs-page h3 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.045em;
}

.team-hero h1 {
  max-width: 740px;
  margin: 0;
  color: #fff;
  font-size: clamp(4.8rem, 10vw, 9.4rem);
  line-height: 0.78;
}

.team-hero h1 span,
.coachs-page .accent {
  color: var(--team-red);
}

.team-hero-lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: #dbe2eb;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.72;
}

.team-hero-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 13px 19px;
  background: rgba(9, 11, 16, 0.38);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.team-hero-action:hover {
  border-color: var(--team-red);
  background: var(--team-red);
  box-shadow: 0 14px 26px rgba(239, 26, 35, 0.25);
  transform: translateY(-3px);
}

.team-hero-action:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.team-hero-word {
  position: absolute;
  right: max(24px, calc((100% - 1200px) / 2));
  bottom: 42px;
  max-width: 46%;
  color: rgba(255, 255, 255, 0.11);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(6rem, 17vw, 15rem);
  letter-spacing: 0.03em;
  line-height: 0.7;
  text-align: right;
  pointer-events: none;
}

.team-inner {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
}

.coachs-page h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.1rem, 5.5vw, 5.8rem);
  line-height: 0.84;
}

.team-copy {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--team-muted);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.75;
}

/* ========================= */
/* TEAM MANIFESTO */
/* ========================= */
.team-manifesto {
  padding: clamp(82px, 10vw, 132px) 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(239, 26, 35, 0.23), transparent 25%),
    repeating-linear-gradient(
      120deg,
      transparent 0 44px,
      rgba(255, 255, 255, 0.025) 45px 46px
    ),
    #10141b;
}

.manifesto-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.manifesto-point {
  position: relative;
  min-height: 330px;
  padding: 32px;
  border: 1px solid var(--team-line);
  border-radius: 8px;
  background: linear-gradient(
    145deg,
    rgba(31, 37, 46, 0.96),
    rgba(13, 16, 22, 0.96)
  );
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.17);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.manifesto-point:hover {
  border-color: rgba(239, 26, 35, 0.72);
  background: linear-gradient(
    145deg,
    rgba(53, 29, 35, 0.96),
    rgba(16, 18, 24, 0.96)
  );
  box-shadow: 0 24px 38px rgba(0, 0, 0, 0.34);
  transform: translateY(-8px) scale(1.02);
}

.manifesto-point b {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(239, 26, 35, 0.42);
  border-radius: 50%;
  background: rgba(239, 26, 35, 0.12);
  color: #ff9298;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  line-height: 1;
}

.manifesto-point h3 {
  margin: 46px 0 12px;
  color: #fff;
  font-size: 2rem;
}

.manifesto-point p {
  margin: 0;
  color: var(--team-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ========================= */
/* TEAM PROFILES */
/* ========================= */
.team-profiles {
  padding: clamp(84px, 10vw, 138px) 0;
  background:
    radial-gradient(circle at 6% 96%, rgba(239, 26, 35, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0
      0 / 78px 78px,
    #090c11;
}

.profiles-head {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 48px;
}

.coach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.coach-profile {
  position: relative;
  min-height: 690px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--team-line);
  border-radius: 8px;
  background: #141920;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.23);
  transition:
    transform 0.38s ease,
    border-color 0.38s ease,
    box-shadow 0.38s ease;
}

.coach-profile:hover {
  border-color: rgba(239, 26, 35, 0.7);
  box-shadow: 0 30px 44px rgba(0, 0, 0, 0.38);
  transform: translateY(-10px) scale(1.012);
}

.coach-photo {
  position: relative;
  height: 350px;
  overflow: hidden;
  background: #0c0f14;
}

.coach-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  content: "";
  background: linear-gradient(transparent, rgba(7, 9, 13, 0.9));
}

.coach-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.04);
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.coach-profile:hover .coach-photo img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.06);
}

.coach-profile:nth-child(2) .coach-photo img {
  object-position: 62% center;
}

.coach-profile:nth-child(3) .coach-photo img {
  object-position: 35% center;
}

.coach-body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px 30px 32px;
}

.coach-role {
  margin: 0 0 7px;
  color: #ff969c;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coach-body h3 {
  margin: 0;
  color: #fff;
  font-size: 2.3rem;
}

.coach-summary {
  margin: 13px 0 0;
  color: var(--team-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.coach-focus {
  margin: 27px 0 24px;
}

.coach-focus p {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 8px;
  color: #ff969c;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coach-focus p::after {
  height: 1px;
  flex: 1;
  content: "";
  background: linear-gradient(90deg, rgba(239, 26, 35, 0.5), transparent);
}

.coach-focus ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coach-focus li {
  display: flex;
  gap: 9px;
  align-items: baseline;
  color: #dfe5ed;
  font-size: 0.78rem;
  line-height: 1.35;
}

.coach-focus i {
  flex: 0 0 auto;
  color: var(--team-red);
  font-size: 0.66rem;
}

.coach-strengths {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  margin: auto 0 0;
  overflow: hidden;
  border: 1px solid rgba(239, 26, 35, 0.38);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.coach-strengths div {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px 18px 16px 22px;
  background: linear-gradient(
    105deg,
    rgba(239, 26, 35, 0.16),
    rgba(11, 14, 19, 0.96) 62%
  );
}

.coach-strengths div::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  content: "";
  background: var(--team-red);
}

.coach-strengths b,
.coach-strengths span {
  display: block;
}

.coach-strengths b {
  color: #fff;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.38rem;
  font-weight: 400;
  line-height: 1;
}

.coach-strengths span {
  margin: 0;
  color: #aeb9c7;
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.coach-strengths div:last-child span {
  margin-top: 0;
  color: #aeb9c7;
  font-size: 0.64rem;
}

/* ========================= */
/* TEAM METHOD */
/* ========================= */
.team-method {
  padding: clamp(84px, 10vw, 134px) 0;
  background:
    radial-gradient(circle at 90% 16%, rgba(239, 26, 35, 0.2), transparent 28%),
    repeating-linear-gradient(
      125deg,
      transparent 0 46px,
      rgba(255, 255, 255, 0.026) 47px 48px
    ),
    #151a22;
}

.method-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(38px, 8vw, 115px);
  align-items: center;
}

.method-list-team {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--team-line);
}

.method-list-team li {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  overflow: hidden;
  padding: 22px 14px;
  border-bottom: 1px solid var(--team-line);
  transition:
    background 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease,
    transform 0.32s ease;
}

.method-list-team li:hover {
  border-color: rgba(239, 26, 35, 0.58);
  background: linear-gradient(90deg, rgba(239, 26, 35, 0.14), transparent 78%);
  box-shadow: inset 3px 0 var(--team-red);
  transform: translateY(-2px);
}

.method-list-team li > div {
  min-width: 0;
}

.method-list-team b {
  color: var(--team-red);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.65rem;
  font-weight: 400;
}

.method-list-team strong,
.method-list-team span {
  display: block;
}

.method-list-team strong {
  color: #fff;
  font-size: 1.02rem;
}

.method-list-team span {
  margin-top: 5px;
  color: var(--team-muted);
  font-size: 0.92rem;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.team-reveal {
  opacity: 1;
  transform: none;
}

.team-reveal.is-pending {
  transform: translateY(18px);
  transition: transform 0.65s ease;
}

.team-reveal.is-pending.is-visible {
  transform: translateY(0);
}

/* ========================= */
/* RESPONSIVE OVERRIDES */
/* ========================= */
@media (max-width: 850px) {
  .team-hero {
    min-height: 650px;
    padding: 122px 16px 54px;
  }

  .team-hero-word {
    right: 16px;
    bottom: 26px;
    max-width: 60%;
    font-size: clamp(6rem, 23vw, 10rem);
  }

  .team-inner {
    width: min(100% - 32px, 1200px);
  }

  .manifesto-layout,
  .profiles-head,
  .method-layout {
    grid-template-columns: 1fr;
  }

  .method-layout {
    align-items: stretch;
  }

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

  .coach-profile {
    min-height: 0;
  }

  .coach-photo {
    height: 310px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-reveal,
  .team-reveal.is-pending,
  .coach-profile,
  .manifesto-point,
  .coach-photo img,
  .team-hero-action,
  .method-list-team li {
    transform: none;
    transition: none;
  }
}
