@font-face {
  font-family: "Sofia Pro";
  src: url("../fonts/Sofia-Pro-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Pro";
  src: url("../fonts/Sofia-Pro-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Pro";
  src: url("../fonts/Sofia-Pro-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Trajan Pro";
  src: url("../fonts/Trajan-Pro-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Trajan Pro";
  src: url("../fonts/Trajan-Pro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Trajan Pro";
  src: url("../fonts/Trajan-Pro-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.splash-section {
  --wave-height: 100px;
  --section-height: 260px;
  --track-left-space: 3vw;
  --droplet-width: min(56vw, 260px);

  position: relative;
  height: var(--section-height);
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    #E2F0FF 0%,
    #E2F0FF 50%,
    transparent 50%,
    transparent 100%
  );
}

.sticky-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.sticky-stage svg {
  position: absolute;
  top: 15%;
  height: 300px;
  left: 0;
  width: 100%;
  display: block;
}

.scroll-track {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  width: max-content;
  padding-left: var(--track-left-space);
  white-space: nowrap;
  will-change: transform;
  transform: translate3d(0, -50%, 0);
}

.scroll-text {
  line-height: 0.92;
  letter-spacing: 0.01em;
  user-select: none;
  pointer-events: none;
}

.droplet-wrap {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.droplet-blur {
  position: absolute;
  width: var(--droplet-width);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.droplet-img {
  position: relative;
  display: block;
  width: var(--droplet-width);
  max-width: 100%;
  height: auto;
  opacity: 0.6;
  filter: drop-shadow(0 14px 24px rgba(0, 60, 120, 0.14));
}

@media (min-width: 640px) {
  .splash-section {
    --wave-height: 125px;
    --section-height: 320px;
    --track-left-space: 2.5vw;
    --droplet-width: min(42vw, 280px);
  }
}

@media (min-width: 960px) {
  .splash-section {
    --wave-height: 180px;
    --section-height: 400px;
    --track-left-space: 2vw;
    --droplet-width: min(34vw, 400px);
  }
}

@media (min-width: 1200px) {
  .splash-section {
    --section-height: 440px;
    --droplet-width: min(30vw, 420px);
  }
}

@media (min-width: 1600px) {
  .splash-section {
    --section-height: 500px;
    --droplet-width: 430px;
  }
}

.marquee-section,
.marquee-section *,
.marquee-section *::before,
.marquee-section *::after {
  box-sizing: border-box;
}

.marquee-section {
  --marquee-primary: #4070D0;
  --marquee-secondary: #000;
  --marquee-padding-block: 70px;
  --marquee-row-space: 10px;
  --marquee-edge-fade: 80px;
  --marquee-text-size: 51px;
  --marquee-bubble-size: 45px;

  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.marquee-section .wave-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.marquee-section .wave-bg svg {
  display: block;
  width: 100%;
  height: 100%;
}

.marquee-section .marquee-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding-block: var(--marquee-padding-block);
}

.marquee-section .swiper-row {
  position: relative;
  width: 100%;
  margin-block: var(--marquee-row-space);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 var(--marquee-edge-fade),
    #000 calc(100% - var(--marquee-edge-fade)),
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 var(--marquee-edge-fade),
    #000 calc(100% - var(--marquee-edge-fade)),
    transparent
  );
}

.marquee-section .marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

.marquee-section .marquee-item {
  display: inline-flex;
  flex-shrink: 0;
  align-items: flex-start;
}

.marquee-section .marquee-text {
  padding: 4px 6px 0;
  color: var(--marquee-primary);
  font-family: "Trajan Pro", serif;
  font-size: var(--marquee-text-size);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
  text-transform: uppercase;
}

.marquee-section .swiper-row--second .marquee-text {
  color: var(--marquee-secondary);
}

.marquee-section .bubble-sep {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-inline: 22px;
}

.marquee-section .bubble-sep img {
  display: block;
  width: var(--marquee-bubble-size);
  height: var(--marquee-bubble-size);
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(30, 167, 237, 0.4));
}

@media (max-width: 769px) {
  .marquee-section {
    --marquee-text-size: 40px;
  }

  .marquee-section .marquee-item {
    align-items: center;
  }

  .marquee-section .marquee-text {
    padding: 0;
  }
}

@media (max-width: 500px) {
  .marquee-section {
    --marquee-text-size: 30px;
  }
}
