body,
button,
input,
select,
textarea {
  font-family: "Be Vietnam Pro", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.brand,
.hero-carousel h1,
.section h1,
.section h2 {
  font-family: "Be Vietnam Pro", Inter, system-ui, sans-serif;
  letter-spacing: -.025em;
}

.hero-carousel {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  overflow: hidden;
  background: #050914;
  isolation: isolate;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  transition: transform 7s ease;
}

.hero-slide.is-active > img { transform: scale(1.075); }

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 8, 18, .94) 0%, rgba(4, 8, 18, .76) 42%, rgba(4, 8, 18, .24) 72%, rgba(4, 8, 18, .38) 100%),
    linear-gradient(0deg, rgba(4, 8, 18, .78), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: clamp(560px, 72vh, 760px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 64px;
  padding-bottom: 82px;
  text-align: left;
}

.hero-carousel h1 {
  max-width: 820px;
  margin: 15px 0 18px;
  font-size: clamp(39px, 5.8vw, 72px);
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
}

.hero-carousel .lead {
  max-width: 650px;
  margin: 0 0 30px;
  color: rgba(237, 243, 255, .82);
  font-size: clamp(16px, 2vw, 19px);
  text-wrap: balance;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-secondary { background: rgba(12, 20, 35, .62); backdrop-filter: blur(12px); }

.carousel-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0 0 4px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(5, 9, 20, .48);
  color: #fff;
  font: 300 35px/1 Arial, sans-serif;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background .2s, border-color .2s, transform .2s;
}

.carousel-arrow:hover { background: rgba(5, 9, 20, .82); border-color: var(--gold); transform: translateY(-50%) scale(1.05); }
.carousel-arrow.prev { left: max(14px, calc((100vw - 1320px) / 2)); }
.carousel-arrow.next { right: max(14px, calc((100vw - 1320px) / 2)); }

.carousel-dots {
  position: absolute;
  z-index: 4;
  bottom: 28px;
  left: 50%;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .48);
  cursor: pointer;
  transition: width .25s, background .25s;
}

.carousel-dots button.is-active { width: 32px; background: var(--gold); }

@media (max-width: 780px) {
  .hero-carousel,
  .hero-content { min-height: 620px; }
  .hero-shade { background: linear-gradient(90deg, rgba(4, 8, 18, .9), rgba(4, 8, 18, .45)), linear-gradient(0deg, rgba(4, 8, 18, .86), transparent 60%); }
  .hero-content { justify-content: flex-end; padding-bottom: 105px; }
  .hero-carousel h1 { font-size: clamp(34px, 9vw, 52px); }
  .carousel-arrow { top: auto; bottom: 20px; transform: none; }
  .carousel-arrow:hover { transform: scale(1.05); }
  .carousel-arrow.prev { left: 16px; }
  .carousel-arrow.next { right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide > img { transition: none; }
}
