/* =====================================================
   HERO + BACKGROUND
===================================================== */

.hero {
  height: 250vh;
}

.sky {
  position: sticky;
  top: 0;
  height: 100vh;
  background: url("../images/backgrounds/AF1.jpg") center / cover
    no-repeat;
}

/* =====================================================
   OVERLAY + SVG MASK (DESKTOP)
===================================================== */

.overlay {
  position: sticky;
  top: 0;
  inset: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
}

.mask-shape {
  transform-origin: 10% 100%;
  transform: scale(20);
}

.mask-shape path {
  fill: black !important;
}

.red {
  opacity: 0;
}

#logoMaskGroup {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(4);
}

#logoMaskGroup path {
  fill: black !important;
}

/* =====================================================
   SCROLL INDICATOR (DESKTOP)
===================================================== */

.scroll-indicator {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  font-family: Raleway;
  font-weight: 800;
  font-size: 24px;
  line-height: 134%;

  color: rgba(255, 255, 255, 0.8);
  pointer-events: none;

  opacity: 1;
  transition: opacity 0.4s ease;
}

.scroll-indicator .arrow {
  width: 16px;
  height: 16px;
  border-right: 2px solid rgba(255, 255, 255, 0.8);
  border-bottom: 2px solid rgba(255, 255, 255, 0.8);
  transform: rotate(45deg);
  animation: bounce 1.6s infinite;
}

@keyframes bounce {
  0% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.6;
  }
  50% {
    transform: rotate(45deg) translate(0, 6px);
    opacity: 1;
  }
  100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.6;
  }
}

/* =====================================================
   CORNER TEXT (DESKTOP)
===================================================== */

.corner-text {
  position: fixed;
  right: 68px;
  bottom: 68px;
  max-width: 520px;
  z-index: 2;

  color: white;
  font-family: "Raleway", system-ui, sans-serif;

  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;

  transition: opacity 0.6s ease, transform 0.6s ease;
}

.corner-text h1 {
  font-size: 50px;
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.corner-text p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.corner-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   MOBILE RESET (≤768px)
===================================================== */

@media (max-width: 768px) {
  .corner-text {
    position: relative;
    right: auto;
    bottom: auto;

    max-width: 100%;
    padding: 64px 24px 48px;
    margin: 0 auto;

    text-align: center;

    opacity: 1 !important;
    transform: none !important;
    pointer-events: none;
  }

  .corner-text h1 {
    font-size: 28px;
    line-height: 1.15;
  }

  .corner-text p {
    font-size: 14px;
    max-width: 90%;
    margin: 0 auto;
  }
}
