/* ===========================================================
   Home hero banner (PXP)
   Full-bleed background video with badge, heading, lead,
   two calls to action, proof points and a scroll cue.
   =========================================================== */
.pxp-hero {
  /* Clearance for the fixed header bar that overlaps the top of the banner. */
  --pxp-hero-header: 88px;
  background-color: var(--at-neutral-0);
  /* Full bleed: the banner runs to all four edges and the fixed header sits on
     top of it, so there is no page padding to reserve. */
  padding: 0;
}

.pxp-hero__card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  height: 100svh;
  min-height: 480px;
  background-color: var(--at-neutral-950);
  color: var(--at-common-white);
}

.pxp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--at-neutral-950);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.pxp-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* Darker at the very top: the transparent header bar and its light menu ink sit here. */
    linear-gradient(180deg, rgba(15, 15, 15, 0.55) 0%, rgba(15, 15, 15, 0.16) 13%, rgba(15, 15, 15, 0) 32%, rgba(15, 15, 15, 0.25) 55%, rgba(15, 15, 15, 0.85) 100%),
    linear-gradient(90deg, rgba(15, 15, 15, 0.7) 0%, rgba(15, 15, 15, 0.15) 55%, rgba(15, 15, 15, 0) 75%);
}

.pxp-hero__video {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 60% 50%;
     object-position: 60% 50%;
}

.pxp-hero__inner {
  /* Never let the copy slide under the fixed bar on short viewports. */
  padding-top: calc(var(--pxp-hero-header) + clamp(16px, 4vh, 56px));
  padding-bottom: clamp(24px, 6vh, 64px);
}

.pxp-hero__content {
  max-width: 760px;
}

.pxp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  margin-bottom: clamp(12px, 2.4vh, 24px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: var(--at-common-white);
  font-family: var(--at-ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pxp-hero__title {
  margin: 0;
  color: var(--at-common-white);
  font-family: var(--at-ff-heading);
  font-size: clamp(2.4rem, min(6.4vw, 9.5vh), 6.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.pxp-hero__title em {
  font-style: normal;
  color: var(--at-theme-primary);
}

.pxp-hero__lead {
  margin: clamp(12px, 2.2vh, 24px) 0 0;
  max-width: 520px;
  color: #EAEAEA;
  font-family: var(--at-ff-body);
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.2rem);
  line-height: 1.5;
}

.pxp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(16px, 3.2vh, 32px);
}

.pxp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: 50px;
  font-family: var(--at-ff-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
}

.pxp-btn svg {
  flex: none;
  width: 18px;
  height: 18px;
  transition: transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pxp-btn--brand {
  background-color: var(--at-theme-primary);
  color: #FEFEFE;
  font-size: 1.1rem;
  font-weight: 700;
}

.pxp-btn--brand:hover,
.pxp-btn--brand:focus-visible {
  background-color: #D93A06;
  color: #FEFEFE;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -10px rgba(15, 15, 15, 0.4);
}

.pxp-btn--brand:hover svg {
  transform: translateX(3px);
}

.pxp-btn--ghost {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #FEFEFE;
}

.pxp-btn--ghost:hover,
.pxp-btn--ghost:focus-visible {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #FEFEFE;
  color: #FEFEFE;
  transform: translateY(-1px);
}

.pxp-btn:focus-visible {
  outline: 3px solid var(--at-theme-primary);
  outline-offset: 3px;
}

.pxp-hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin: clamp(14px, 2.6vh, 28px) 0 0;
  padding: 0;
  list-style: none;
  color: #D6D6D6;
  font-family: var(--at-ff-body);
  font-size: 0.92rem;
}

.pxp-hero__proof li {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.pxp-hero__proof li:not(:last-child)::after {
  content: "\00b7";
  margin: 0 12px;
  color: var(--at-theme-primary);
}

.pxp-hero__proof strong {
  color: #FEFEFE;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pxp-hero__scroll {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 1;
  display: none;
  align-items: center;
  gap: 10px;
  color: #D6D6D6;
  font-family: var(--at-ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pxp-hero__scroll span {
  width: 1px;
  height: 40px;
  background: linear-gradient(#FEFEFE, transparent);
}

@media (min-width: 1024px) and (min-height: 700px) {
  .pxp-hero__scroll {
    display: flex;
  }
}

/* Short screens: hide the least important lines instead of cropping the CTAs */
@media (max-height: 620px) {
  .pxp-hero__proof {
    display: none;
  }
}

@media (max-height: 540px) {
  .pxp-hero__lead {
    display: none;
  }
}

@media (max-width: 599px) {
  .pxp-hero__card {
    height: 100svh;
    min-height: 560px;
  }
  .pxp-hero__video {
    -o-object-position: 72% 50%;
       object-position: 72% 50%;
  }
  .pxp-hero__bg::after {
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.55) 0%, rgba(15, 15, 15, 0.1) 30%, rgba(15, 15, 15, 0.9) 100%);
  }
  .pxp-hero__cta .pxp-btn {
    flex: 1 1 auto;
  }
  .pxp-hero__badge {
    max-width: 100%;
    line-height: 1.3;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pxp-btn,
  .pxp-btn svg {
    transition: none;
  }
}
