.gigi-intro-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto !important;
  min-height: calc(100svh - var(--header-height, 80px));
  min-height: calc(100dvh - var(--header-height, 80px));
}

.gigi-intro-section > .et-pb-background-video {
  z-index: 0;
}

.gigi-intro-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.2);
}

.gigi-intro-section > .et_pb_row {
  position: relative;
  z-index: 2;
}

.gigi-intro-section .svg-animation-wrap {
  position: relative;
  width: min(820px, calc(100% - 28px));
  margin-inline: auto;
  aspect-ratio: 1000 / 400;
  background: transparent;
}

.gigi-intro-section #gigi-signature-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  filter: none;
  pointer-events: none;
}

.gigi-intro-section .gigi-svg-animation {
  opacity: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
  transition: opacity 0.8s ease;
}

.gigi-intro-section.is-signature-on .gigi-svg-animation {
  opacity: 1;
}

.gigi-intro-section .gigi-animation-heading {
  opacity: 0;
  transform: translateY(10px);
  background: transparent;
  box-shadow: none;
  filter: none;
  transition: opacity 1s ease, transform 1s ease;
}

.gigi-intro-section .gigi-animation-heading .et_pb_module_header {
  text-shadow: none;
  box-shadow: none;
}

.gigi-intro-section.is-words-visible .gigi-animation-heading {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .gigi-intro-section .svg-animation-wrap {
    width: min(640px, calc(100% - 24px));
  }
}

@media (max-width: 767px) {
  .gigi-intro-section .svg-animation-wrap {
    width: min(460px, calc(100% - 16px));
  }

  .gigi-intro-section .gigi-animation-heading .et_pb_module_header {
    letter-spacing: 1px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gigi-intro-section .gigi-animation-heading,
  .gigi-intro-section .gigi-svg-animation {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}