/* ============================================
  Base Styles
  ============================================ */

html,
body {
  height: 100%;
  overflow: hidden;
}

.wrapper {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
  max-height: 100dvh;
}

.intro {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.intro-footer {
  flex: 0 0 auto;
}

.wrapper-intro {
  background-color: #000000;
  position: relative;
  overflow: hidden;
}

.wrapper-intro-bg {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  bottom: 45%;
  left: 50%;
  transform: translateX(-50%);
}

/* ============================================
  Animations
  ============================================ */

@keyframes breatheScaleUp {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

@keyframes breatheScaleUpFirst {
  0% {
    transform: scale(1);
  }

  22.7% {
    transform: scale(1.15);
  }

  45.5% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes breatheScaleUpSecond {
  0% {
    transform: scale(1);
  }

  45.5% {
    transform: scale(1);
  }

  68.2% {
    transform: scale(1.15);
  }

  90.9% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}

/* ============================================
  Main Content
  ============================================ */

.intro-main__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin-top: 0;
  padding: 2vh 0;
}

.intro-main__wrapper-link {
  font-size: clamp(40px, 6vw, 85px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  z-index: 2;
  color: #fff;
  transition: transform 0.3s ease;
}

.intro-main__wrapper-link-1 {
  animation: breatheScaleUpFirst 11s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

.intro-main__wrapper-link-2 {
  animation: breatheScaleUpSecond 11s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

.intro-main__wrapper-line {
  display: inline-block;
  vertical-align: middle;
  transform: none;
  margin: -8px clamp(20px, 8vw, 60px);
  width: 5px;
  height: clamp(60px, 15vh, 110px);
  background: #fff;
  transform: rotate(-90deg);
  z-index: 2;
}

.intro-main__wrapper-jpg img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: contain;
  max-width: 506px;
  max-height: 722px;
  width: auto;
  height: auto;
}

/* ============================================
  Header
  ============================================ */

.intro-header {
  margin-top: clamp(20px, 8vh, 126px);
  flex: 0 0 auto;
}

.intro-header__wrapper {
  display: flex;
  justify-content: space-between;
}

.intro-header__wrapper .menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  width: 40px;
}

.intro-header__wrapper .menu span {
  display: block;
  width: 11px;
  height: 11px;
  background: #fff;
  margin-bottom: 11px;
}

.intro-header__wrapper .menu span:last-child {
  margin-bottom: 0;
}

.intro-header__wrapper-logo {
  z-index: 5;
}

/* ============================================
  Footer
  ============================================ */

.intro-footer {
  color: #fff;
  padding-top: clamp(15px, 4vh, 45px);
  padding-bottom: clamp(30px, 8vh, 80px);
}

.intro-footer__wrapper {
  display: flex;
  justify-content: space-between;
}

.intro-footer__wrapper-left-link {
  color: #fff;
  text-align: center;
  font-size: clamp(14px, 2vw, 20px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  transition: transform 0.3s ease, font-size 0.3s ease;
  display: inline-block;
}

.intro-footer__margin-left {
  margin-left: clamp(20px, 5vw, 77px);
}

.contact-link-icon {
  display: none;
}

/* ============================================
  Media Queries - Desktop (990px+)
  ============================================ */

@media screen and (min-width: 990px) {
  .intro-main__wrapper-link-1 {
    cursor: none;
  }

  .intro-main__wrapper-link-2 {
    cursor: none;
  }

  .intro-footer__wrapper-left-link:hover {
    transform: scale(1.1);
    font-size: clamp(15px, 2.2vw, 22px);
  }

  .custom-cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    border: 0.5px solid rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 9999;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .custom-cursor.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  .custom-cursor.expanding {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
  }

  .custom-cursor::before,
  .custom-cursor::after {
    content: "";
    position: absolute;
    background: #ffffff;
  }

  .custom-cursor::before {
    width: 0.56px;
    height: 13px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .custom-cursor::after {
    width: 13px;
    height: 0.56px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

/* ============================================
      Media Queries - Tablet (max-width: 1765px)
      ============================================ */

@media screen and (max-width: 1765px) {
  .intro-main__wrapper-link {
    font-size: 65px;
  }
}

@media screen and (max-width: 1440px) {
  .intro-main__wrapper-link {
    font-size: 50px;
  }

  .intro-main__wrapper-line {
    margin: -8px clamp(20px, 8vw, 60px);
    height: clamp(60px, 15vh, 70px);
  }

}

@media screen and (max-width: 1185px) {
  .intro-main__wrapper-link {
    font-size: clamp(40px, 6vw, 45px);
  }
}

/* ============================================
  Media Queries - Mobile (max-width: 990px)
  ============================================ */

@media screen and (max-width: 990px) {
  .wrapper-intro * {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .custom-cursor {
    display: none !important;
  }

  .intro-main__wrapper-link,
  .intro-footer__wrapper-left-link,
  .menu {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
  }

  .intro-main__wrapper {
    flex-direction: column;
    align-items: center;
    gap: clamp(10px, 3vh, 30px);
  }

  .intro-main__wrapper-link-1,
  .intro-main__wrapper-link-2 {
    margin: 0;
  }

  .intro-main__wrapper {
    flex-direction: column;
    align-items: center;
    gap: clamp(10px, 3vh, 30px);
  }

  .intro-main__wrapper-line {
    display: none;
  }
}

/* ============================================
  Media Queries - Small Mobile (max-width: 540px)
  ============================================ */

@media screen and (max-width: 540px) {
  .intro.intro-main {
    justify-content: flex-start;
    padding-top: 15%;
  }

  .intro-header__wrapper-logo {
    display: none;
  }

  .intro-main__wrapper-jpg img {
    display: none;
  }

  .intro-header__wrapper .menu {
    z-index: 2;
  }

  .wrapper-intro-bg {
    position: absolute;
    bottom: 45%;
    top: auto;
    right: -120px;
    left: auto;
    transform: translateX(0);
  }

  .wrapper-intro-bg-svg {
    right: -3px;
  }

  .intro-header__wrapper {
    justify-content: end;
    margin-right: 11px;
  }

  .intro-header__wrapper .menu span {
    width: 6px;
    height: 6px;
    margin-bottom: 6px;
  }

  .intro-main__wrapper {
    justify-content: center;
    gap: clamp(15px, 4vh, 30px);
  }
}

@media screen and (min-width: 540px) {
  .wrapper-intro-bg {
    display: none;
  }
}

/* ============================================
  Media Queries - Extra Small Mobile (max-width: 450px)
  ============================================ */

@media screen and (max-width: 450px) {
  .intro-footer__wrapper {
    display: none;
  }

  .intro-footer__wrapper-mob {
    display: flex;
    justify-content: space-between;
  }

  .intro-footer__margin-left {
    margin-left: 0;
  }
}

@media screen and (min-width: 451px) {
  .intro-footer__wrapper-mob {
    display: none;
  }
}

/* ============================================
  Media Queries - Height Adjustments
  ============================================ */
@media screen and (max-height: 1028px) {
  .intro-main__wrapper-jpg img {
    max-height: 550px;
    max-width: 390px;
  }
}

/* ============================================
  Media Queries - Width and Height Adjustments
  ============================================ */
@media screen and (max-width: 930px) {
  .intro-main__wrapper-jpg img {
    max-height: 550px;
    max-width: 390px;
  }
}


@media screen and (max-width: 540px) {
  .intro-footer {
    padding-top: 10%;
    padding-bottom: 25%;
  }

  .wrapper-intro-bg {
    bottom: 30%;
    top: auto;
  }
}

/* ============================================
  Media Queries - Small Mobile (max-width: 420px)
  ============================================ */

@media screen and (max-width: 420px) {
  .intro-main__wrapper-link {
    font-size: 30px;
  }
}

/* ============================================
  Media Queries - Very Small Mobile (max-width: 374px)
  ============================================ */

@media screen and (max-width: 374px) {
  .wrapper-intro-bg {
    right: -165px;
  }

  .wrapper-intro-bg-svg {
    right: -48px;
  }
}

