.gny-hero-widget,
.gny-hero-widget * {
  box-sizing: border-box;
}

.gny-hero-widget {
  --gny-hero-accent: #008879;
  --gny-hero-accent-dark: #006f64;
  --gny-hero-gold: #d8b46a;
  --gny-hero-ink: #071011;
  --gny-overlay-dark: .78;
  --gny-cycle: 32s;
  position: relative;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  background: var(--gny-hero-ink);
  color: #fff;
}

.gny-hero-slides,
.gny-hero-slide,
.gny-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gny-hero-slides {
  z-index: 0;
  clip-path: inset(0);
  overflow: clip;
}

.gny-hero-slide {
  opacity: 0;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.035) translate3d(0,0,0);
  will-change: opacity, transform;
}

.gny-hero-slide:first-child {
  opacity: 1;
}

.gny-hero--fixed-desktop .gny-hero-slide {
  position: fixed;
  width: 100vw;
  height: 100vh;
}

.gny-hero-overlay {
  z-index: 1;
  opacity: var(--gny-overlay-dark);
  background:
    radial-gradient(circle at 78% 28%, rgba(0, 136, 121, .24), transparent 34%),
    linear-gradient(90deg,
      rgba(7, 16, 17, 1) 0%,
      rgba(7, 16, 17, .90) 38%,
      rgba(7, 16, 17, .62) 68%,
      rgba(7, 16, 17, .42) 100%
    );
}

.gny-hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  min-height: inherit;
  margin: 0 auto;
  padding: 132px 0 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.gny-hero-eyebrow {
  margin: 0 0 24px;
  color: var(--gny-hero-gold);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0,0,0,.42);
}

.gny-hero-title {
  max-width: 900px;
  margin: 0 0 38px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 7.2vw, 104px);
  line-height: .94;
  font-weight: 500;
  letter-spacing: -.045em;
  text-shadow: 0 2px 30px rgba(0,0,0,.50);
}

.gny-hero-lower {
  width: min(980px, 100%);
  display: flex;
  gap: 34px;
  align-items: center;
  justify-content: space-between;
}

.gny-hero-body {
  max-width: 600px;
  color: rgba(255,255,255,.93);
  font-size: 20px;
  line-height: 1.62;
  font-weight: 500;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}

.gny-hero-body p {
  margin: 0;
}

.gny-hero-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.gny-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 54px;
  padding: 17px 30px;
  border-radius: 0;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.gny-hero-btn:hover,
.gny-hero-btn:focus {
  transform: translateY(-1px);
}

.gny-hero-btn--primary {
  background: var(--gny-hero-accent);
  border: 1px solid var(--gny-hero-accent);
  color: #fff !important;
}

.gny-hero-btn--primary:hover,
.gny-hero-btn--primary:focus {
  background: var(--gny-hero-accent-dark);
  border-color: var(--gny-hero-accent-dark);
}

.gny-hero-btn--secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,.64);
  color: #fff !important;
}

.gny-hero-btn--secondary:hover,
.gny-hero-btn--secondary:focus {
  background: rgba(255,255,255,.10);
  border-color: #fff;
}

@keyframes gnyHeroDrift {
  from { transform: scale(1.035) translate3d(0,0,0); }
  to { transform: scale(1.075) translate3d(-1.2%, .8%, 0); }
}

@media (max-width: 1024px) {
  .gny-hero-widget {
    min-height: 660px;
  }
  .gny-hero--fixed-desktop .gny-hero-slide,
  .gny-hero-slide {
    position: absolute;
    width: auto;
    height: auto;
    background-image: var(--gny-mobile-image) !important;
  }
  .gny-hero-content {
    width: min(100% - 44px, 920px);
    padding: 100px 0 92px;
  }
  .gny-hero-title {
    font-size: clamp(48px, 8vw, 76px);
  }
  .gny-hero-lower {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .gny-hero-widget {
    min-height: 620px;
  }
  .gny-hero-overlay {
    background: linear-gradient(180deg, rgba(7,16,17,.88) 0%, rgba(7,16,17,.72) 54%, rgba(7,16,17,.94) 100%);
  }
  .gny-hero-content {
    width: min(100% - 36px, 680px);
    padding: 82px 0 76px;
  }
  .gny-hero-title {
    font-size: clamp(40px, 12vw, 56px);
    letter-spacing: -.035em;
  }
  .gny-hero-body {
    font-size: 17px;
  }
  .gny-hero-actions,
  .gny-hero-btn {
    width: 100%;
  }
  .gny-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gny-hero-slide {
    animation: none !important;
  }
  .gny-hero-slide:not(:first-child) {
    opacity: 0 !important;
  }
}
