/* Only the homepage video replacement. Existing site styles remain unchanged. */
.frozen-home-slider {
  position: relative;
  isolation: isolate;
}
.frozen-home-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
  z-index: 0;
}
.frozen-home-slide.active {
  opacity: 1;
  visibility: visible;
}
.frozen-slide-controls {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  border-radius: 30px;
  background: rgba(8, 25, 34, 0.65);
  z-index: 6;
}
.frozen-slide-controls > button {
  border: 0;
  background: transparent;
  color: #fff;
  width: 32px;
  height: 32px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 50%;
}
.frozen-slide-controls > button:hover {
  background: rgba(255, 255, 255, 0.18);
}
.frozen-slide-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.frozen-slide-dots button {
  padding: 0;
  border: 1px solid #fff;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.frozen-slide-dots button.active {
  background: #fff;
}
.frozen-slide-controls button:focus-visible {
  outline: 2px solid #c8e995;
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .frozen-slide-controls {
    bottom: 12px;
    padding: 4px 9px;
    gap: 7px;
  }
  .frozen-slide-controls > button {
    width: 28px;
    height: 28px;
  }
  .frozen-home-slide {
    object-position: 60% center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .frozen-home-slide {
    transition: none;
  }
}
/* ==================================================
   FIRST SLIDE CONTENT
================================================== */

.first-slide-content {
    position: absolute;

    left: 9%;
    top: 50%;

    transform: translateY(-46%);

    z-index: 8;

    width: min(560px, 42%);

    color: #ffffff;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .55s ease,
        transform .55s ease,
        visibility .55s ease;
}


/* SHOW CONTENT ONLY WHEN FIRST IMAGE IS ACTIVE */

.frozen-home-slider:has(
    .frozen-home-slide:first-of-type.active
) .first-slide-content {

    opacity: 1;
    visibility: visible;

    transform: translateY(-50%);
}


/* ==============================
   SMALL HEADING
============================== */

.first-slide-kicker {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 17px;

    color: #78e4bd;

    font-size: .78rem;
    font-weight: 850;

    letter-spacing: .14em;
    text-transform: uppercase;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, .5);
}


.first-slide-kicker::before {
    content: "";

    width: 38px;
    height: 2px;

    background: #78e4bd;
}


/* ==============================
   MAIN TITLE
============================== */

.first-slide-content h1 {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: clamp(2.5rem, 4vw, 4.7rem);
    font-weight: 900;

    line-height: .98;

    letter-spacing: -.045em;

    text-shadow:
        0 5px 25px rgba(0, 0, 0, .38);
}


.first-slide-content h1 span {
    display: block;

    margin-top: 8px;

    color: #ffffff;
}


/* ==============================
   DESCRIPTION
============================== */

.first-slide-content p {
    max-width: 530px;

    margin: 0 0 22px;

    color: rgba(255, 255, 255, .90);

    font-size: 1rem;
    line-height: 1.75;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, .45);
}


/* ==============================
   SMALL POINTS
============================== */

.first-slide-points {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 28px;
}


.first-slide-points span {
    padding: 7px 12px;

    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: 30px;

    background: rgba(0, 0, 0, .22);

    backdrop-filter: blur(8px);

    color: #ffffff;

    font-size: .72rem;
    font-weight: 700;
}


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

.first-slide-actions {
    display: flex;
    align-items: center;

    gap: 12px;
}


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

    gap: 10px;

    min-height: 48px;

    padding: 12px 20px;

    border-radius: 7px;

    font-size: .87rem;
    font-weight: 800;

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


.first-slide-btn.primary {
    background: #ffffff;
    color: #006b70;
}


.first-slide-btn.outline {
    border: 1px solid rgba(255, 255, 255, .65);

    background: rgba(0, 0, 0, .20);

    color: #ffffff;

    backdrop-filter: blur(8px);
}


.first-slide-btn:hover {
    transform: translateY(-3px);
}


.first-slide-btn.outline:hover {
    background: #ffffff;
    color: #006b70;
}


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

@media (max-width: 768px) {

    .first-slide-content {
        left: 24px;
        right: 24px;

        top: 50%;

        width: auto;

        transform: translateY(-44%);
    }


    .frozen-home-slider:has(
        .frozen-home-slide:first-of-type.active
    ) .first-slide-content {

        transform: translateY(-50%);
    }


    .first-slide-kicker {
        margin-bottom: 10px;

        font-size: .58rem;
        letter-spacing: .10em;
    }


    .first-slide-kicker::before {
        width: 25px;
    }


    .first-slide-content h1 {
        margin-bottom: 12px;

        font-size: clamp(1.75rem, 8vw, 2.5rem);

        line-height: 1.02;
    }


    .first-slide-content p {
        margin-bottom: 15px;

        max-width: 420px;

        font-size: .76rem;
        line-height: 1.55;
    }


    .first-slide-points {
        gap: 6px;

        margin-bottom: 16px;
    }


    .first-slide-points span {
        padding: 5px 9px;

        font-size: .58rem;
    }


    .first-slide-btn {
        min-height: 39px;

        padding: 9px 12px;

        font-size: .68rem;
    }

}