/* Full-screen hero edition: image-first desktop and mobile layouts. */
.ae-header__brand {
  width: 300px;
  height: 90px;
  max-width: 300px;
  overflow: hidden;
}
.ae-header .brand-logo {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 50%;
}
.footer-brand > a {
  display: inline-flex;
  width: 310px;
  max-width: 100%;
  height: 90px;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: .5rem;
  background: #fff;
}
.footer-logo {
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: center 50%;
  filter: none;
}
.ae-hero {
  position: relative;
  height: calc(100svh - 236px);
  min-height: 640px;
  max-height: 900px;
  color: #fff;
  background: var(--aeblack-950);
  isolation: isolate;
}
.ae-hero__slider,
.ae-hero__slides,
.ae-hero__slide,
.ae-hero__slide picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ae-hero__slide { margin: 0; overflow: hidden; }
.ae-hero__slide picture { display: block; }
.ae-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  transition: transform 7s cubic-bezier(.2,.7,.2,1);
}
.ae-hero__slide.is-active img { transform: scale(1); }
.ae-hero__slide:nth-child(1) img { object-position: 52% center; }
.ae-hero__slide:nth-child(2) img { object-position: 42% center; }
.ae-hero__slide:nth-child(3) img { object-position: 56% center; }
.ae-hero__overlay {
  position: absolute;
  z-index: 3;
  inset: 0;
  background: linear-gradient(90deg, rgb(var(--bcai-overlay-rgb, 14 15 18) / var(--bcai-overlay-opacity, .9)) 0%, rgb(var(--bcai-overlay-rgb, 14 15 18) / .7) 35%, rgb(var(--bcai-overlay-rgb, 14 15 18) / .16) 67%, rgb(var(--bcai-overlay-rgb, 14 15 18) / .12) 100%), linear-gradient(0deg, rgb(var(--bcai-overlay-rgb, 14 15 18) / .48), transparent 45%);
  pointer-events: none;
  transition: background .5s ease;
}
.ae-hero[data-active-slide="1"] .ae-hero__overlay {
  background: linear-gradient(270deg, rgb(var(--bcai-overlay-rgb, 14 15 18) / var(--bcai-overlay-opacity, .9)) 0%, rgb(var(--bcai-overlay-rgb, 14 15 18) / .7) 35%, rgb(var(--bcai-overlay-rgb, 14 15 18) / .12) 67%, rgb(var(--bcai-overlay-rgb, 14 15 18) / .08) 100%), linear-gradient(0deg, rgb(var(--bcai-overlay-rgb, 14 15 18) / .48), transparent 45%);
}
.ae-hero__fullscreen-content {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 2rem;
  padding-bottom: 5rem;
}
.ae-hero__fullscreen-content > div { width: min(100%, 690px); transition: margin .5s ease, text-align .5s ease; }
.ae-hero[data-active-slide="1"] .ae-hero__fullscreen-content > div { margin-left: auto; }
.ae-hero__fullscreen-content .ae-eyebrow { color: var(--aegold-300); }
.ae-hero__fullscreen-content h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.875rem, 7vw, var(--bcai-hero-title-size, 108px));
  line-height: .96;
  letter-spacing: -.055em;
  text-shadow: 0 4px 24px rgba(0,0,0,.28);
}
.ae-hero__tagline {
  margin: 1.25rem 0 0;
  color: var(--aegold-200) !important;
  font-family: Inter, Roboto, sans-serif;
  font-size: clamp(1.25rem, 2.1vw, 1.875rem) !important;
  line-height: 1.2 !important;
  font-weight: 700;
  letter-spacing: .015em;
}
.ae-hero__description {
  max-width: 590px;
  margin: 1.25rem 0 0 !important;
  color: rgba(255,255,255,.82) !important;
  font-size: 1.125rem !important;
  line-height: 1.75rem !important;
}
.ae-hero__fullscreen-content .ae-actions { margin-top: 2rem; }
.ae-btn--glass {
  border-color: rgba(255,255,255,.72);
  color: #fff;
  background: rgba(14,15,18,.25);
  backdrop-filter: blur(12px);
}
.ae-btn--glass:hover { border-color: #fff; color: var(--aeblack-950); background: #fff; }
.ae-hero__dots.hero-slider__dots { bottom: 2rem; }
.ae-hero__dots button { border-color: rgba(255,255,255,.8); }
.ae-hero__dots button.is-active { border-color: var(--aegold-300); background: var(--aegold-300); }
.ae-hero__controls { bottom: 1.5rem; }
.ae-hero__controls .hero-slider__arrow { border-color: rgba(255,255,255,.68); color: #fff; background: rgba(14,15,18,.34); backdrop-filter: blur(12px); }
.ae-hero__controls .hero-slider__arrow:hover { color: var(--aeblack-950); background: #fff; }

@media (max-width: 1023px) {
  .ae-hero { height: calc(100svh - 218px); min-height: 650px; max-height: 860px; }
  .ae-hero__fullscreen-content > div { width: min(100%, 620px); }
  .ae-hero__fullscreen-content h1 { font-size: clamp(3.75rem, 8vw, 5.75rem); }
}

@media (max-width: 767px) {
  .ae-header__brand { width: 220px; height: 64px; max-width: calc(100% - 64px); }
  .ae-header .brand-logo { width: 100%; height: 100%; }
  .ae-hero {
    height: calc(100svh - 108px);
    min-height: 650px;
    max-height: none;
  }
  .ae-hero__slide:nth-child(1) img { object-position: 65% center; }
  .ae-hero__slide:nth-child(2) img { object-position: 30% center; }
  .ae-hero__slide:nth-child(3) img { object-position: 67% center; }
  .ae-hero__overlay,
  .ae-hero[data-active-slide="1"] .ae-hero__overlay {
    background: linear-gradient(0deg, rgb(var(--bcai-overlay-rgb, 14 15 18) / var(--bcai-overlay-opacity, .96)) 0%, rgb(var(--bcai-overlay-rgb, 14 15 18) / .76) 48%, rgb(var(--bcai-overlay-rgb, 14 15 18) / .2) 78%, rgb(var(--bcai-overlay-rgb, 14 15 18) / .08) 100%);
  }
  .ae-hero__fullscreen-content {
    align-items: flex-end;
    padding-top: 6rem;
    padding-bottom: 7rem;
  }
  .ae-hero[data-active-slide="1"] .ae-hero__fullscreen-content > div { margin-left: 0; }
  .ae-hero__fullscreen-content h1 { font-size: clamp(2.5rem, 15vw, var(--bcai-mobile-title-size, 64px)); }
  .ae-hero__tagline { font-size: clamp(1.1rem, 5vw, 1.45rem) !important; }
  .ae-hero__description { max-width: 520px; font-size: 1rem !important; line-height: 1.5rem !important; }
  .ae-hero__dots.hero-slider__dots { bottom: 1.5rem; }
  .ae-hero__controls { bottom: 1rem; }
}

@media (max-width: 639px) {
  .ae-header__brand { width: 198px; height: 58px; }
  .footer-brand > a { width: 280px; height: 82px; }
  .ae-hero { height: calc(100svh - 98px); min-height: 640px; }
  .ae-hero__fullscreen-content { padding-bottom: 6.5rem; }
  .ae-hero__fullscreen-content h1 { font-size: clamp(2.5rem, 16vw, var(--bcai-mobile-title-size, 64px)); }
  .ae-hero__fullscreen-content .ae-actions { gap: .625rem; margin-top: 1.5rem; }
  .ae-hero__fullscreen-content .ae-actions .ae-btn { min-height: 3rem; }
}

@media (max-height: 720px) and (min-width: 768px) {
  .ae-hero { min-height: 560px; }
  .ae-hero__fullscreen-content h1 { font-size: clamp(3.5rem, 6vw, 5.5rem); }
  .ae-hero__description { margin-top: .875rem !important; }
  .ae-hero__fullscreen-content .ae-actions { margin-top: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ae-hero__slide img { transform: none; transition: none; }
}
