/* Focused homepage refinements requested August 2026. */
#phoenix-site .footer-contact > h3 {
  font-family: Baskerville, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif !important;
  font-size: clamp(1.38rem, 2vw, 1.68rem) !important;
  font-weight: 400 !important;
  letter-spacing: .1em !important;
  line-height: 1.05 !important;
  text-transform: uppercase;
}

/* Use one consistent bullet between every legal footer destination. */
#phoenix-site .footer-legal > a + a::before {
  content: "•";
  margin-right: 8px;
  color: rgba(255, 255, 255, .38);
  pointer-events: none;
}

@media (max-width: 680px) {
  #phoenix-site .footer-contact {
    display: flex !important;
    flex-direction: column;
  }
  #phoenix-site .footer-contact > h3 { order: 0; }
  #phoenix-site .footer-contact-locations { display: contents !important; }
  #phoenix-site .footer-contact-office:nth-child(1) { order: 1; }
  #phoenix-site .footer-contact-address {
    order: 2;
    margin-top: 14px !important;
    padding-bottom: 24px;
  }
  #phoenix-site .footer-contact-office:nth-child(2) { order: 3; }
  #phoenix-site .footer-contact-email { order: 4; }
}

/* Wide framing with a cinematic dark veil for the homepage hero photographs. */
#phoenix-site .hero-slide img {
  opacity: .93 !important;
}

#phoenix-site .hero-slide.active img {
  animation: phoenixHeroWideFrame 20s cubic-bezier(.22, 1, .36, 1) infinite alternate !important;
  filter: saturate(1.05) contrast(1.02) brightness(1.08) !important;
}

#phoenix-site .hero-slide:nth-child(2) img {
  object-position: center center !important;
}

/* Keep the coastline photograph deliberately wider than the other two slides. */
#phoenix-site .hero-slide:nth-child(2).active img {
  animation: phoenixHeroCoastlineWide 20s cubic-bezier(.22, 1, .36, 1) infinite alternate !important;
}

/* Dissolve the hero into the quote section instead of leaving a hard seam. */
#phoenix-site #inicio.hero::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  bottom: -1px !important;
  left: 0 !important;
  z-index: 2 !important;
  height: clamp(120px, 16vw, 230px) !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(2, 11, 24, 0) 0%, rgba(2, 11, 24, .42) 48%, rgba(2, 11, 24, .9) 82%, var(--navy) 100%) !important;
}

@keyframes phoenixHeroWideFrame {
  0% { transform: scale(1.005) translate3d(0, 0, 0); }
  50% { transform: scale(1.025) translate3d(-.45%, -.3%, 0); }
  100% { transform: scale(1.012) translate3d(.35%, .25%, 0); }
}

@keyframes phoenixHeroCoastlineWide {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  50% { transform: scale(1.008) translate3d(-.18%, -.12%, 0); }
  100% { transform: scale(1.003) translate3d(.14%, .1%, 0); }
}

/* Match the word-by-word masked entrance used by the routes directory. */
#phoenix-site .hero-copy.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

#phoenix-site .hero-copy .eyebrow,
#phoenix-site .hero-copy h1,
#phoenix-site .hero-copy .hero-text,
#phoenix-site .hero-copy .hero-actions {
  animation: none !important;
}

#phoenix-site .phx-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-block: .06em;
  font-style: inherit;
}

#phoenix-site .phx-word-mask > b {
  display: inline-block;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  animation: phoenixHomeWordIn 1.05s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms) both;
  will-change: transform;
}

@keyframes phoenixHomeWordIn {
  from { transform: translate3d(0, 110%, 0); }
  to { transform: translate3d(0, 0, 0); }
}

#phoenix-site .hero-copy .hero-text,
#phoenix-site .hero-copy .hero-actions {
  animation: phoenixHomeContentIn .95s cubic-bezier(.16, 1, .3, 1) var(--home-reveal-delay, 640ms) both !important;
}

#phoenix-site .hero-copy .hero-actions {
  --home-reveal-delay: 760ms;
}

@keyframes phoenixHomeContentIn {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (min-width: 1001px) {
  #phoenix-site .hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 11, 24, .94) 0%, rgba(2, 11, 24, .82) 25%, rgba(2, 11, 24, .48) 48%, rgba(2, 11, 24, .18) 70%, rgba(2, 11, 24, .08) 100%),
      linear-gradient(0deg, rgba(2, 11, 24, .72) 0%, rgba(2, 11, 24, .08) 48%, rgba(2, 11, 24, .18) 100%) !important;
  }

  #phoenix-site .hero::before {
    background:
      radial-gradient(circle at 80% 18%, rgba(201, 154, 46, .1), transparent 30%),
      linear-gradient(110deg, rgba(2, 11, 24, .62) 0%, rgba(2, 11, 24, .18) 55%, rgba(2, 11, 24, .28) 100%) !important;
    opacity: .86 !important;
  }
}

@media (max-width: 1000px) {
  #phoenix-site .hero-slide:nth-child(2) img {
    object-position: 50% 52% !important;
  }

  #phoenix-site .hero-shade {
    background:
      linear-gradient(180deg, rgba(2, 11, 24, .92) 0%, rgba(2, 11, 24, .7) 27%, rgba(2, 11, 24, .34) 53%, rgba(2, 11, 24, .1) 72%, rgba(2, 11, 24, .42) 100%) !important;
  }
}

@media (max-width: 680px) {
  #phoenix-site .hero-slide img,
  #phoenix-site .hero-slide.active img {
    animation: none !important;
    transform: scale(1) !important;
    will-change: auto !important;
  }

  #phoenix-site .hero-slide:nth-child(2) img {
    object-position: 50% 52% !important;
    transform-origin: center center !important;
    transform: none !important;
  }

  #phoenix-site #inicio.hero::after {
    height: 160px !important;
    background: linear-gradient(180deg, rgba(2, 11, 24, 0) 0%, rgba(2, 11, 24, .56) 48%, var(--navy) 100%) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #phoenix-site .phx-word-mask > b,
  #phoenix-site .hero-copy .hero-text,
  #phoenix-site .hero-copy .hero-actions {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  #phoenix-site .hero-slide.active img {
    animation: none !important;
    transform: scale(1.005) !important;
  }

  #phoenix-site .hero-slide:nth-child(2).active img {
    transform: none !important;
  }
}
