/**
 * About page hero — "Editorial Centered".
 *
 * Centered title + subtitle + CTAs, cert strip anchored at the bottom.
 */

/* =========================================================================
 * Shell
 * ====================================================================== */

.bes-about-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      ellipse 70% 60% at 78% 8%,
      rgba(234, 193, 23, 0.075) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 55% 55% at 8% 92%,
      rgba(234, 193, 23, 0.04) 0%,
      transparent 55%
    ),
    linear-gradient(180deg, #000 0%, #0b0b0b 100%);
  color: var(--bes-text-on-dark);
  border-bottom: 1px solid rgba(234, 193, 23, 0.14);
}

/* Faint grid — masked to fade out */
.bes-about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(219, 219, 219, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(219, 219, 219, 0.028) 1px, transparent 1px);
  background-size: 76px 76px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(
    ellipse 88% 70% at 50% 40%,
    black 25%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 88% 70% at 50% 40%,
    black 25%,
    transparent 100%
  );
}

/* Mouse-following gold glow */
.bes-about-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    560px circle at var(--bes-mouse-x, 50%) var(--bes-mouse-y, 35%),
    rgba(234, 193, 23, 0.14),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 600ms var(--bes-ease-out);
  z-index: 0;
  mix-blend-mode: screen;
}

.bes-about-hero:hover .bes-about-hero__glow {
  opacity: 1;
}

.bes-about-hero > .bes-container {
  position: relative;
  z-index: 2;
}

.bes-about-hero__inner {
  display: flex;
  flex-direction: column;
  min-height: clamp(480px, 62vh, 720px);
  padding-block: clamp(72px, 11vh, 140px) clamp(40px, 6vh, 72px);
}

/* =========================================================================
 * Centered content column
 * ====================================================================== */

.bes-about-hero__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 26px;
  max-width: 900px;
  margin-inline: auto;
  width: 100%;
}

/* Eyebrow */
.bes-about-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--bes-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bes-gold);
  opacity: 0;
  animation: bes-fade-up 700ms var(--bes-ease-out) 100ms forwards;
}

.bes-about-hero__eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--bes-gold);
  flex-shrink: 0;
}

/* Title with masked line reveal */
.bes-about-hero__title {
  font-family: var(--bes-font-head);
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.022em;
  text-transform: uppercase;
  color: var(--bes-white);
  margin: 0;
}

.bes-about-hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
  line-height: 1.02;
}

.bes-about-hero__line > span {
  display: inline-block;
  transform: translateY(120%);
  animation: bes-line-reveal 1000ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: calc(var(--bes-line-i, 0) * 150ms + 300ms);
}

.bes-about-hero__title .gold {
  color: var(--bes-gold);
  position: relative;
  display: inline-block;
  padding-right: 0.05em;
}

.bes-about-hero__title .gold::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.05em;
  bottom: 0.06em;
  height: 6px;
  background: var(--bes-gold);
  transform: scaleX(0);
  transform-origin: left center;
  animation: bes-draw-line 900ms var(--bes-ease-out) forwards;
  animation-delay: 1100ms;
  opacity: 0.9;
}

@media (max-width: 639px) {
  .bes-about-hero__title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }
  .bes-about-hero__title .gold::after {
    height: 4px;
  }
}

/* Subtitle */
.bes-about-hero__subtitle {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.65;
  color: var(--bes-silver);
  max-width: 62ch;
  margin: 0;
  opacity: 0;
  animation: bes-fade-up 800ms var(--bes-ease-out) 900ms forwards;
}

/* Actions */
.bes-about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 8px;
  opacity: 0;
  animation: bes-fade-up 800ms var(--bes-ease-out) 1100ms forwards;
}

@media (max-width: 639px) {
  .bes-about-hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
  }
}

/* =========================================================================
 * Bottom certs strip
 * ====================================================================== */

.bes-about-hero__certs {
  margin-top: clamp(48px, 7vh, 88px);
  padding-top: 30px;
  opacity: 0;
  animation: bes-fade-in 900ms var(--bes-ease-out) 1400ms forwards;
}

.bes-about-hero__certs-rule {
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(234, 193, 23, 0.45) 30%,
    rgba(234, 193, 23, 0.45) 70%,
    transparent 100%
  );
  margin-bottom: 24px;
}

.bes-about-hero__certs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bes-about-hero__certs-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--bes-font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bes-gold);
  background: rgba(234, 193, 23, 0.06);
  border: 1px solid rgba(234, 193, 23, 0.3);
  transition:
    background var(--bes-dur-fast) var(--bes-ease),
    border-color var(--bes-dur-fast) var(--bes-ease),
    transform var(--bes-dur-fast) var(--bes-ease);
}

.bes-about-hero__certs-list li:hover {
  background: rgba(234, 193, 23, 0.14);
  border-color: var(--bes-gold);
  transform: translateY(-1px);
}

.bes-about-hero__certs-list svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  color: var(--bes-gold);
}

@media (max-width: 767px) {
  .bes-about-hero__certs-list li {
    padding: 6px 12px;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
  }
  .bes-about-hero__certs-list svg {
    width: 9px;
    height: 9px;
  }
}

/* =========================================================================
 * Reduced motion
 * ====================================================================== */

@media (prefers-reduced-motion: reduce) {
  .bes-about-hero__eyebrow,
  .bes-about-hero__subtitle,
  .bes-about-hero__actions,
  .bes-about-hero__certs {
    animation: none !important;
    opacity: 1 !important;
  }

  .bes-about-hero__line > span,
  .bes-about-hero__title .gold::after {
    animation: none !important;
    transform: none !important;
  }
}
