/* =========================
   HOME PAGE
========================= */

.home {
  display: block;
  background: var(--ls-dark);
}

.home-section-container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.section-eyebrow {
  display: block;

  margin-bottom: 10px;

  font-family: 'Sofia Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;

  color: #bb080b;
}


/* =========================
   HERO
========================= */

.home-hero {
  position: relative;

  height: calc(100vh - 68px);
  min-height: 650px;

  overflow: hidden;

  background: #0f1113;
}


/* =========================
   HERO SLIDES
========================= */

.home-hero-slides,
.home-hero-slide {
  position: absolute;
  inset: 0;
}

.home-hero-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0;

  transition: opacity 1s ease-in-out;
}

.home-hero-slide.active {
  opacity: 1;
}


/* =========================
   HERO OVERLAY
========================= */

.home-hero::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 1;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(8, 9, 10, 0.84) 0%,
      rgba(8, 9, 10, 0.62) 34%,
      rgba(8, 9, 10, 0.22) 68%,
      rgba(8, 9, 10, 0.10) 100%
    );
}


/* =========================
   HERO CONTENT
========================= */

.home-hero-content {
  position: absolute;

  z-index: 2;

  top: 50%;
  left: max(6%, calc((100vw - 1400px) / 2));

  transform: translateY(-50%);

  width: min(650px, 80%);

  color: #F7F5F2;
}

.hero-eyebrow {
  display: block;

  margin-bottom: 14px;

  font-family: 'Sofia Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;

  color: rgba(255, 255, 255, 0.88);
}

.home-hero-content h1 {
  margin: 0;

  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 7vw, 125px);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: 1px;

  color: #ffffff;
}

.home-hero-content h1 span {
  color: #c90b0f;
}

.home-hero-content p {
  max-width: 570px;

  margin: 28px 0 0;

  font-family: 'Sofia Sans', sans-serif;
  font-size: 18px;
  line-height: 1.6;

  color: rgba(255, 255, 255, 0.88);
}


/* =========================
   HERO BUTTONS
========================= */

.hero-actions {
  display: flex;
  align-items: center;

  gap: 14px;

  margin-top: 32px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;

  padding: 0 25px;

  border-radius: 6px;

  font-family: 'Sofia Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
}

.hero-btn-primary {
  background: #bb080b;
  border: 1px solid #bb080b;

  color: #ffffff;
}

.hero-btn-primary:hover {
  background: #d10b10;
  border-color: #d10b10;
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.07);

  border: 1px solid rgba(255, 255, 255, 0.50);

  color: #ffffff;

  backdrop-filter: blur(5px);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}


/* =========================
   HERO ARROWS
========================= */

.hero-arrow {
  position: absolute;

  top: 50%;

  z-index: 3;

  width: 46px;
  height: 46px;

  transform: translateY(-50%);

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.30);

  color: #ffffff;

  font-size: 21px;

  cursor: pointer;

  backdrop-filter: blur(5px);

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.hero-prev {
  left: 25px;
}

.hero-next {
  right: 25px;
}

.hero-arrow:hover {
  background: rgba(187, 8, 11, 0.85);

  transform: translateY(-50%) scale(1.05);
}


/* =========================
   HERO DOTS
========================= */

.home-hero-dots {
  position: absolute;

  z-index: 3;

  left: 50%;
  bottom: 25px;

  transform: translateX(-50%);

  display: flex;
  align-items: center;

  gap: 9px;
}

.home-dot {
  width: 8px;
  height: 8px;

  padding: 0;

  border: none;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.45);

  cursor: pointer;

  transition:
    width 0.25s ease,
    border-radius 0.25s ease,
    background 0.25s ease;
}

.home-dot.active {
  width: 26px;

  border-radius: 10px;

  background: #ffffff;
}


/* =========================
   EVENTS CTA
========================= */

.home-events-cta {
  padding: 75px 24px;

  background: var(--ls-dark);

  color: #F7F5F2;

  text-align: center;
}

.home-events-cta .section-eyebrow {
  margin-bottom: 8px;
}

.home-events-cta h2 {
  margin: 0;

  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1.5px;

  color: #F7F5F2;
}

.home-events-cta p {
  margin: 15px auto 26px;

  font-family: 'Sofia Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;

  color: rgba(247, 245, 242, 0.72);
}

.section-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding: 0 25px;

  border: 1px solid #bb080b;
  border-radius: 6px;

  background: #bb080b;

  color: #ffffff;

  font-family: 'Sofia Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;

  text-decoration: none;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.section-btn:hover {
  background: #d10b10;

  transform: translateY(-2px);
}


/* =========================
   SECTION HEADINGS
========================= */

.home-section-heading {
  width: min(1200px, 90%);

  margin: 0 auto 35px;

  text-align: center;
}

.home-section-heading h2 {
  margin: 0;

  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1.3px;

  color: #F7F5F2;
}


/* =========================
   VIDEO CENTRE
========================= */

.home-video {
  padding: 80px 0 90px;

  background: #111315;

  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.video-main {
  width: min(1050px, 90%);

  margin: 0 auto;
}

.video-main iframe {
  display: block;

  width: 100%;
  height: auto;

  aspect-ratio: 16 / 9;

  border: 0;
  border-radius: 12px;

  background: #000;

  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.30);
}


/* =========================
   LEGACY COMMUNITY
========================= */

.home-community {
  padding: 80px 0 95px;

  background: var(--ls-dark);
}

.home-slices {
  display: flex;

  width: min(1400px, 90%);
  height: 500px;

  margin: 0 auto;

  gap: 7px;

  overflow: hidden;

  border-radius: 14px;
}

.slice {
  position: relative;

  flex: 1;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  transition:
    flex 0.35s ease,
    filter 0.35s ease;
}

.slice:hover {
  flex: 1.08;
}

.slice-1 {
  background-image: url("../images/home_page/fin_pointing.59e0c3bfd33d.jpg");

  clip-path: polygon(
    0 0,
    96% 0,
    86% 100%,
    0 100%
  );

  flex: 1.15;

  background-position: center 30%;
}

.slice-2 {
  background-image: url("../images/home_page/celina_volleyball.d6ef42ee2130.jpg");

  clip-path: polygon(
    10% 0,
    100% 0,
    90% 100%,
    0 100%
  );

  background-position: center 30%;
}

.slice-3 {
  background-image: url("../images/home_page/pointing_soccer.67c24297e326.jpg");

  clip-path: polygon(
    10% 0,
    100% 0,
    90% 100%,
    0 100%
  );

  background-position: center 30%;
}

.slice-4 {
  background-image: url("../images/home_page/ball_grip.3d971f6ac003.jpg");

  clip-path: polygon(
    10% 0,
    100% 0,
    90% 100%,
    0 100%
  );

  background-position: center 30%;
}


/* ======================================
   TABLET / MOBILE
====================================== */

@media (max-width: 900px) {

  /* HERO */

  .home-hero {
    height: calc(100svh - 68px);
    min-height: 600px;
  }

  .home-hero::after {
    background:
      linear-gradient(
        0deg,
        rgba(8, 9, 10, 0.92) 0%,
        rgba(8, 9, 10, 0.58) 55%,
        rgba(8, 9, 10, 0.20) 100%
      );
  }

  .home-hero-content {
    top: auto;
    bottom: 80px;
    left: 24px;

    transform: none;

    width: calc(100% - 48px);
  }

  .hero-eyebrow {
    margin-bottom: 10px;

    font-size: 11px;
    letter-spacing: 3px;
  }

  .home-hero-content h1 {
    font-size: clamp(58px, 17vw, 82px);
  }

  .home-hero-content p {
    margin-top: 20px;

    max-width: 500px;

    font-size: 15px;
    line-height: 1.5;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-btn {
    min-height: 46px;

    padding: 0 18px;

    font-size: 14px;
  }

  .hero-arrow {
    display: none;
  }

  .home-hero-dots {
    bottom: 24px;
  }


  /* EVENTS */

  .home-events-cta {
    padding: 60px 20px;
  }


  /* VIDEO */

  .home-video {
    padding: 65px 0 70px;
  }


  /* COMMUNITY */

  .home-community {
    padding: 65px 0 70px;
  }

  .home-slices {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    width: min(650px, 90%);
    height: auto;

    gap: 8px;

    overflow: visible;

    border-radius: 0;
  }

  .slice {
    height: 330px;

    clip-path: none;

    border-radius: 10px;
  }

  .slice:hover {
    flex: 1;
  }

}


/* ======================================
   SMALL MOBILE
====================================== */

@media (max-width: 550px) {

  .home-hero {
    min-height: 620px;
  }

  .home-hero-content {
    bottom: 75px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;

    width: 100%;
  }

  .hero-btn {
    width: 100%;
  }

  .home-events-cta {
    padding: 55px 20px;
  }

  .home-section-heading {
    margin-bottom: 28px;
  }

  .home-video {
    padding: 55px 0 60px;
  }

  .video-main {
    width: 92%;
  }

  .video-main iframe {
    border-radius: 8px;
  }

  .home-community {
    padding: 55px 0 60px;
  }

  .home-slices {
    grid-template-columns: 1fr;

    width: 88%;
  }

  .slice {
    height: 360px;
  }

}


/* ======================================
   LEGACY AMBASSADORS STRIP (home page)
   Same skewed slices, filled from Admin -> Ambassadors; each one links to /ambassadors/.
====================================== */

.amb-slice {
  display: block;

  overflow: hidden;

  color: #fff;
  text-decoration: none;

  background-position: center;
}

.amb-slice::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(180deg, transparent 55%, rgba(14, 15, 17, 0.85));

  pointer-events: none;
}

.amb-slice-caption {
  position: absolute;
  left: 14%;
  bottom: 22px;
  z-index: 1;

  display: flex;
  flex-direction: column;
  gap: 2px;
}

.slice-1 .amb-slice-caption {
  left: 22px;
}

.amb-slice-caption strong {
  font: 400 32px/1 "Bebas Neue", sans-serif;
  letter-spacing: 1px;
}

.amb-slice-caption small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.8);
}

.amb-slice:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
}

.home-community-cta {
  margin-top: 38px;

  text-align: center;
}

@media (max-width: 900px) {
  .amb-slice-caption,
  .slice-1 .amb-slice-caption {
    left: 18px;
    bottom: 18px;
  }

  .amb-slice-caption strong {
    font-size: 28px;
  }

  .home-community-cta {
    margin-top: 30px;
  }
}
