.cgt2-hero {
  --cgt2-navy: #212f5f;
  --cgt2-navy-deep: #111a3e;
  --cgt2-mint: #b2f7ef;
  --cgt2-cyan: #adf1f9;
  --cgt2-pink: #f9b1f9;
  --cgt2-pink-strong: #f39af1;
  --cgt2-cta-pink: #eb45ad;
  --cgt2-cta-pink-hover: #bd176f;
  --cgt2-white: #fff;
  --cgt2-paper: #fffaf2;
  --cgt2-gap: clamp(16px, 1.8vw, 26px);
  position: relative;
  isolation: isolate;
  width: 100vw;
  min-height: clamp(760px, calc(100svh - 82px), 940px);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: var(--cgt2-navy);
  background: transparent;
  font-family: "DM Sans", "Avenir Next", sans-serif;
}

.cgt2-hero *,
.cgt2-hero *::before,
.cgt2-hero *::after {
  box-sizing: border-box;
}

.cgt2-hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image:
    linear-gradient(rgba(33, 47, 95, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 47, 95, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}

.cgt2-hero::after {
  position: absolute;
  z-index: 5;
  right: clamp(18px, 5vw, 72px);
  top: clamp(20px, 4vw, 58px);
  width: clamp(48px, 5vw, 72px);
  aspect-ratio: 1;
  border: 1px solid rgba(33, 47, 95, 0.14);
  background:
    linear-gradient(45deg, var(--cgt2-navy) 25%, transparent 25%, transparent 75%, var(--cgt2-navy) 75%),
    linear-gradient(45deg, var(--cgt2-navy) 25%, var(--cgt2-paper) 25%, var(--cgt2-paper) 75%, var(--cgt2-navy) 75%);
  background-position: 0 0, 50% 50%;
  background-size: 50% 50%;
  box-shadow: 8px 8px 0 rgba(244, 169, 239, 0.42);
  content: "";
  opacity: 0.78;
  transform: rotate(8deg);
}

.cgt2-hero__wash {
  position: absolute;
  z-index: -2;
  display: none;
  width: clamp(280px, 38vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.46;
  pointer-events: none;
}

.cgt2-hero__wash--mint {
  top: -25%;
  left: -8%;
  background: radial-gradient(circle, rgba(178, 247, 239, 0.9), rgba(178, 247, 239, 0));
}

.cgt2-hero__wash--pink {
  top: -27%;
  right: -9%;
  background: radial-gradient(circle, rgba(244, 169, 239, 0.72), rgba(244, 169, 239, 0));
}

.cgt2-hero__garnish {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cgt2-hero__knight {
  position: absolute;
  top: 28%;
  left: clamp(18px, 4vw, 64px);
  width: clamp(118px, 13vw, 188px);
  height: auto;
  opacity: 0.15;
  mix-blend-mode: multiply;
  object-fit: contain;
  transform: rotate(-9deg);
  user-select: none;
}

.cgt2-hero__clock {
  position: absolute;
  top: 54%;
  right: clamp(22px, 4.5vw, 72px);
  display: flex;
  width: clamp(94px, 8.5vw, 126px);
  aspect-ratio: 1.75;
  padding: 10px;
  border: 2px solid var(--cgt2-navy);
  align-items: center;
  justify-content: space-between;
  background: rgba(178, 247, 239, 0.88);
  box-shadow: 7px 7px 0 rgba(244, 169, 239, 0.72);
  transform: rotate(6deg);
  animation: cgt2HeroClockFloat 5.4s ease-in-out infinite;
}

.cgt2-hero__clock-button {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 27%;
  height: 8px;
  border: 2px solid var(--cgt2-navy);
  border-bottom: 0;
  background: var(--cgt2-pink);
  transform: translateX(-50%);
}

.cgt2-hero__clock-face {
  position: relative;
  width: 42%;
  aspect-ratio: 1;
  border: 2px solid var(--cgt2-navy);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--cgt2-navy) 0 8%, transparent 9%),
    rgba(255, 250, 242, 0.86);
}

.cgt2-hero__clock-face::before,
.cgt2-hero__clock-face::after {
  position: absolute;
  bottom: 50%;
  left: calc(50% - 1px);
  width: 2px;
  border-radius: 99px;
  background: var(--cgt2-navy);
  content: "";
  transform-origin: 50% 100%;
}

.cgt2-hero__clock-face::before {
  height: 29%;
  transform: rotate(25deg);
}

.cgt2-hero__clock-face::after {
  height: 38%;
  transform: rotate(128deg);
}

.cgt2-hero__clock-face--right::before {
  transform: rotate(310deg);
}

.cgt2-hero__clock-face--right::after {
  transform: rotate(72deg);
}

.cgt2-hero__bracket {
  position: absolute;
  top: 62%;
  left: clamp(28px, 5vw, 82px);
  width: clamp(112px, 12vw, 170px);
  overflow: visible;
  fill: var(--cgt2-pink);
  opacity: 0.56;
  stroke: var(--cgt2-navy);
  stroke-linecap: square;
  stroke-linejoin: round;
  stroke-width: 2.5;
  animation: cgt2HeroBracketPulse 4.8s ease-in-out infinite;
}

.cgt2-hero__spark {
  position: absolute;
  width: 26px;
  aspect-ratio: 1;
  animation: cgt2HeroSpark 7s linear infinite;
}

.cgt2-hero__spark::before,
.cgt2-hero__spark::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
  content: "";
  transform: translateY(-50%);
}

.cgt2-hero__spark::after {
  transform: translateY(-50%) rotate(90deg);
}

.cgt2-hero__spark--one {
  top: 20%;
  left: 15%;
  color: #e57bdf;
  transform: rotate(18deg);
}

.cgt2-hero__spark--two {
  top: 35%;
  right: 14%;
  width: 17px;
  color: #69dbe9;
  animation-delay: -2.2s;
}

.cgt2-hero__spark--three {
  top: 68%;
  right: 21%;
  width: 20px;
  color: var(--cgt2-pink);
  animation-delay: -4.1s;
}

.cgt2-hero__content {
  position: relative;
  z-index: 6;
  display: flex;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 9vh, 120px) 0 clamp(318px, 36vh, 390px);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cgt2-hero--without-marquee .cgt2-hero__content {
  min-height: inherit;
  padding-bottom: clamp(90px, 12vh, 150px);
  justify-content: center;
}

.cgt2-hero__tagline {
  margin: 0 0 22px;
  padding: 9px 16px;
  border: 1px solid rgba(33, 47, 95, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 30px rgba(33, 47, 95, 0.06);
  color: var(--cgt2-navy);
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(12px, 1.2vw, 15px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(14px);
}

.cgt2-hero__title {
  max-width: 940px;
  margin: 0;
  color: var(--cgt2-navy-deep);
  font-size: clamp(54px, 8.2vw, 112px);
  font-weight: 900;
  letter-spacing: -0.072em;
  line-height: 0.9;
  text-wrap: balance;
}

.cgt2-hero__word {
  display: inline-block;
  margin-right: 0.19em;
  opacity: 0;
  transform: translateY(0.38em) rotate(1.5deg);
  transition:
    opacity 0.72s ease calc(0.08s + var(--cgt2-word-index) * 0.075s),
    transform 0.82s cubic-bezier(0.2, 0.82, 0.2, 1) calc(0.08s + var(--cgt2-word-index) * 0.075s);
}

.cgt2-hero__word:last-child {
  margin-right: 0;
}

.cgt2-hero__word:nth-child(3n + 2) {
  color: var(--cgt2-pink-strong);
}

.cgt2-hero__description {
  max-width: 710px;
  margin: 28px auto 0;
  color: #55617c;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.67;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.72s ease 0.44s, transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.44s;
  text-wrap: pretty;
}

.cgt2-hero__cta {
  position: relative;
  display: inline-flex;
  min-height: 56px;
  margin-top: 32px;
  padding: 16px 34px;
  border: 2px solid var(--cgt2-cta-pink);
  border-radius: 999px;
  align-items: center;
  gap: 13px;
  overflow: hidden;
  background: var(--cgt2-cta-pink);
  box-shadow: 0 14px 30px rgb(33 47 95 / 14%);
  color: var(--cgt2-white) !important;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
  opacity: 0;
  text-decoration: none !important;
  transform: translateY(18px);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    opacity 0.72s ease 0.54s,
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.54s;
}

.cgt2-hero__cta::before {
  position: absolute;
  inset: 0;
  background: transparent;
  content: "";
  transform: translateX(-102%);
  transition: transform 0.28s ease;
}

.cgt2-hero__cta span,
.cgt2-hero__cta svg {
  position: relative;
  z-index: 1;
}

.cgt2-hero__cta svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  transition: transform 0.2s ease;
}

.cgt2-hero__cta:hover,
.cgt2-hero__cta:focus-visible {
  border-color: var(--cgt2-cta-pink-hover);
  background: var(--cgt2-cta-pink-hover);
  box-shadow: 0 16px 34px rgb(33 47 95 / 16%);
  color: var(--cgt2-white) !important;
  outline: none;
  transform: translateY(-3px) !important;
}

.cgt2-hero__cta:hover::before,
.cgt2-hero__cta:focus-visible::before {
  transform: translateX(0);
}

.cgt2-hero__cta:hover svg,
.cgt2-hero__cta:focus-visible svg {
  transform: translateX(4px);
}

.cgt2-hero__cta:focus-visible {
  outline: 4px solid rgba(105, 219, 233, 0.58);
  outline-offset: 5px;
}

.cgt2-hero--ready .cgt2-hero__tagline,
.cgt2-hero--ready .cgt2-hero__word,
.cgt2-hero--ready .cgt2-hero__description,
.cgt2-hero--ready .cgt2-hero__cta {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.cgt2-hero__marquee {
  position: absolute;
  z-index: 4;
  bottom: -52px;
  left: 0;
  width: 100%;
  padding: 34px 0 76px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.cgt2-hero__track {
  display: flex;
  width: max-content;
  gap: var(--cgt2-gap);
  animation: cgt2HeroMarquee 42s linear infinite;
  will-change: transform;
}

.cgt2-hero__image-group {
  display: flex;
  gap: var(--cgt2-gap);
}

.cgt2-hero__image-card {
  position: relative;
  width: clamp(170px, 15vw, 238px);
  aspect-ratio: 3 / 4;
  margin: 0;
  border: clamp(7px, 0.7vw, 10px) solid #fff;
  border-bottom-width: clamp(18px, 1.8vw, 28px);
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  transform: rotate(calc((var(--cgt2-card-index) - 2) * 1.4deg));
}

.cgt2-hero__image-card:nth-child(even) {
  transform: rotate(calc((var(--cgt2-card-index) - 1) * -1.2deg)) translateY(12px);
}

.cgt2-hero__image-card::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(33, 47, 95, 0.07);
  content: "";
  pointer-events: none;
}

.cgt2-hero__image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.03);
  transition: filter 0.35s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cgt2-hero__image-card:hover img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.045);
}

@keyframes cgt2HeroMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - (var(--cgt2-gap) / 2)), 0, 0);
  }
}

@keyframes cgt2HeroClockFloat {
  0%,
  100% {
    transform: translateY(0) rotate(6deg);
  }

  50% {
    transform: translateY(-9px) rotate(3deg);
  }
}

@keyframes cgt2HeroBracketPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: translateX(0);
  }

  50% {
    opacity: 0.66;
    transform: translateX(5px);
  }
}

@keyframes cgt2HeroSpark {
  from {
    transform: rotate(18deg);
  }

  to {
    transform: rotate(378deg);
  }
}

@media (min-width: 1200px) {
  .cgt2-hero__cta {
    margin-bottom: 10px;
  }
}

@media (max-width: 900px) {
  .cgt2-hero {
    min-height: 820px;
  }

  .cgt2-hero__content {
    padding-top: 72px;
    padding-bottom: 300px;
  }

  .cgt2-hero__title {
    max-width: 720px;
    letter-spacing: -0.06em;
  }

  .cgt2-hero__description {
    max-width: 640px;
  }

  .cgt2-hero__marquee {
    bottom: -42px;
  }

  .cgt2-hero__knight {
    top: 31%;
    left: -20px;
    width: 126px;
    opacity: 0.1;
  }

  .cgt2-hero__clock {
    top: 62%;
    right: 18px;
    width: 96px;
    opacity: 0.74;
  }

  .cgt2-hero__bracket {
    top: 63%;
    left: 18px;
    width: 106px;
    opacity: 0.42;
  }

  .cgt2-hero__spark--one {
    top: 22%;
    left: 8%;
  }

  .cgt2-hero__spark--two {
    top: 36%;
    right: 7%;
  }
}

@media (max-width: 640px) {
  .cgt2-hero {
    --cgt2-gap: 14px;
    min-height: 790px;
  }

  .cgt2-hero::after {
    right: 16px;
    top: 22px;
    width: 42px;
    box-shadow: 5px 5px 0 rgba(244, 169, 239, 0.42);
  }

  .cgt2-hero__content {
    width: min(100% - 32px, 520px);
    padding: 76px 0 268px;
  }

  .cgt2-hero__tagline {
    max-width: calc(100% - 58px);
    margin-bottom: 18px;
    padding: 7px 12px;
    font-size: 11px;
  }

  .cgt2-hero__title {
    font-size: clamp(46px, 15vw, 68px);
    line-height: 0.94;
  }

  .cgt2-hero__description {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.58;
  }

  .cgt2-hero__cta {
    min-height: 50px;
    margin-top: 26px;
    padding-inline: 22px 19px;
    font-size: 13px;
    box-shadow: 5px 5px 0 var(--cgt2-navy);
  }

  .cgt2-hero__marquee {
    bottom: -24px;
    padding-bottom: 54px;
    mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
  }

  .cgt2-hero__image-card {
    width: 150px;
  }

  .cgt2-hero__knight {
    top: 30%;
    left: -38px;
    width: 112px;
    opacity: 0.08;
  }

  .cgt2-hero__clock,
  .cgt2-hero__bracket {
    display: none;
  }

  .cgt2-hero__spark--one {
    top: 24%;
    left: 5%;
    width: 18px;
  }

  .cgt2-hero__spark--two {
    top: 42%;
    right: 4%;
    width: 14px;
  }

  .cgt2-hero__spark--three {
    top: 67%;
    right: 8%;
    width: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cgt2-hero__tagline,
  .cgt2-hero__word,
  .cgt2-hero__description,
  .cgt2-hero__cta {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cgt2-hero__track {
    animation: none;
    transform: translateX(0);
  }

  .cgt2-hero__clock,
  .cgt2-hero__bracket,
  .cgt2-hero__spark {
    animation: none;
  }

  .cgt2-hero__marquee {
    overflow-x: hidden;
  }

  .cgt2-hero__image-group[aria-hidden="true"] {
    display: none;
  }

  .cgt2-hero__image-card,
  .cgt2-hero__image-card:nth-child(even),
  .cgt2-hero__image-card img,
  .cgt2-hero__cta,
  .cgt2-hero__cta::before,
  .cgt2-hero__cta svg {
    transition: none;
  }
}
