/* Page hero / breadcrumb band — colors unchanged, refreshed motion */
@keyframes cHeroGridPan {
  0% { background-position: 0 0; }
  100% { background-position: 42px 42px; }
}

@keyframes cHeroOrbPulseA {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.42; }
  33% { transform: scale(1.18) rotate(10deg); opacity: 0.7; }
  66% { transform: scale(0.9) rotate(-6deg); opacity: 0.5; }
}

@keyframes cHeroOrbOrbitB {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(32px, -22px) rotate(8deg); }
  50% { transform: translate(14px, 20px) rotate(-4deg); }
  75% { transform: translate(-20px, 8px) rotate(6deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes cHeroOrbSpinGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.18; }
  50% { transform: translate(-50%, -50%) scale(1.14); opacity: 0.36; }
}

@keyframes cHeroEyebrowSlide {
  0% { opacity: 0; transform: translateX(-28px); filter: blur(4px); }
  100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

@keyframes cHeroTitleBlurIn {
  0% {
    opacity: 0;
    filter: blur(14px);
    transform: scale(1.06);
    letter-spacing: 0.06em;
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    letter-spacing: -0.025em;
  }
}

@keyframes cHeroLineReveal {
  0% { transform: scaleX(0.25); opacity: 0; }
  100% { transform: scaleX(1); opacity: 1; }
}

@keyframes cHeroLineShimmerLoop {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

@keyframes cHeroCrumbPop {
  0% {
    opacity: 0;
    transform: scale(0.86) translateY(18px);
    filter: blur(6px);
  }
  65% {
    transform: scale(1.04) translateY(-3px);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@keyframes cHeroCrumbItemIn {
  0% { opacity: 0; transform: translateY(10px) scale(0.88); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cHeroCrumbSepIn {
  0% { opacity: 0; transform: scale(0.6); }
  100% { opacity: 0.55; transform: scale(1); }
}

@keyframes cHeroCrumbBorderGlow {
  0%, 100% {
    box-shadow: 0 10px 32px rgba(4, 12, 32, 0.22), 0 0 0 0 rgba(201, 126, 75, 0);
  }
  50% {
    box-shadow: 0 12px 36px rgba(4, 12, 32, 0.28), 0 0 0 3px rgba(201, 126, 75, 0.12);
  }
}

@keyframes cHeroCurrentGlow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 14px rgba(240, 176, 122, 0.6); }
}

@keyframes cHeroWaveBob {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50% { transform: translateY(5px) scaleY(1.04); }
}

.c-hero.c-hero--page,
.c-hero:not(.hero):not(.hero-two):not(.hero-three) {
  position: relative;
  overflow: hidden;
  padding: 11.5rem 0 4.8rem !important;
  background: linear-gradient(128deg, #07122e 0%, #0b1844 28%, #163a72 58%, #1a4d8c 82%, #0f2f5c 100%) !important;
  border-bottom: none;
  isolation: isolate;
}

.c-hero.c-hero--page::before,
.c-hero:not(.hero):not(.hero-two):not(.hero-three)::before,
.c-hero.c-hero--page::after,
.c-hero:not(.hero):not(.hero-two):not(.hero-three)::after {
  display: none;
}

.c-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.c-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 30%, transparent 100%);
  animation: cHeroGridPan 22s linear infinite;
}

.c-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
}

.c-hero__orb--a {
  top: -12%;
  right: 8%;
  width: clamp(180px, 22vw, 320px);
  height: clamp(180px, 22vw, 320px);
  background: radial-gradient(circle, rgba(201, 126, 75, 0.55) 0%, rgba(201, 126, 75, 0) 68%);
  animation: cHeroOrbPulseA 7s ease-in-out infinite;
}

.c-hero__orb--b {
  bottom: 18%;
  left: -4%;
  width: clamp(140px, 18vw, 260px);
  height: clamp(140px, 18vw, 260px);
  background: radial-gradient(circle, rgba(88, 168, 255, 0.42) 0%, rgba(88, 168, 255, 0) 70%);
  animation: cHeroOrbOrbitB 10s ease-in-out infinite;
}

.c-hero__orb--c {
  top: 42%;
  left: 50%;
  width: clamp(220px, 30vw, 420px);
  height: clamp(220px, 30vw, 420px);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 72%);
  animation: cHeroOrbSpinGlow 8s ease-in-out infinite;
}

.c-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  line-height: 0;
  pointer-events: none;
}

.c-hero__wave svg {
  display: block;
  width: 100%;
  height: clamp(36px, 4.5vw, 56px);
  animation: cHeroWaveBob 6s ease-in-out infinite;
  transform-origin: center bottom;
}

.c-hero.c-hero--page .container,
.c-hero:not(.hero):not(.hero-two):not(.hero-three) .container {
  position: relative;
  z-index: 1;
}

.c-hero.c-hero--page .hero-section,
.c-hero:not(.hero):not(.hero-two):not(.hero-three) .hero-section {
  min-height: 0;
  padding: 0;
}

.c-hero.c-hero--page .hero-content,
.c-hero:not(.hero):not(.hero-two):not(.hero-three) .hero-content {
  text-align: center;
}

.c-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201, 126, 75, 0.95);
  animation: cHeroEyebrowSlide 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
}

.c-hero.c-hero--page .heading,
.c-hero:not(.hero):not(.hero-two):not(.hero-three) .heading {
  color: #ffffff !important;
  font-size: clamp(2.35rem, 4.2vw, 3.75rem);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.025em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  animation: cHeroTitleBlurIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
  opacity: 0;
}

.c-hero.c-hero--page .hero-content::after,
.c-hero:not(.hero):not(.hero-two):not(.hero-three) .hero-content::after {
  content: "";
  display: block;
  width: 88px;
  height: 4px;
  margin: 1.15rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #c97e4b, #f0b07a, #ffffff, #c97e4b);
  background-size: 220% 100%;
  transform-origin: center;
  animation: cHeroLineReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards,
             cHeroLineShimmerLoop 2.8s linear 1.4s infinite;
  transform: scaleX(0.25);
  opacity: 0;
  box-shadow: 0 0 18px rgba(201, 126, 75, 0.45);
}

.c-hero__breadcrumb {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 1.35rem;
  padding: 0.65rem 1.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 32px rgba(4, 12, 32, 0.22);
  animation: cHeroCrumbPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s forwards,
             cHeroCrumbBorderGlow 4s ease-in-out 1.3s infinite;
  opacity: 0;
  overflow: hidden;
}

.c-hero__breadcrumb::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: cHeroCrumbShineSweep 5s ease-in-out 1.6s infinite;
  pointer-events: none;
}

@keyframes cHeroCrumbShineSweep {
  0%, 72% { transform: translateX(-120%); opacity: 0; }
  78% { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

.c-hero.c-hero--page .section-list,
.c-hero:not(.hero):not(.hero-two):not(.hero-three) .section-list {
  position: relative;
  z-index: 1;
  margin-top: 0 !important;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.c-hero.c-hero--page .section-list .nav-list,
.c-hero:not(.hero):not(.hero-two):not(.hero-three) .section-list .nav-list {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

.c-hero__crumb-item {
  opacity: 0;
  animation: cHeroCrumbItemIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.c-hero__crumb-item:nth-child(1) { animation-delay: 0.72s; }
.c-hero__crumb-item:nth-child(3) { animation-delay: 0.88s; }
.c-hero__crumb-item:nth-child(5) { animation-delay: 1.04s; }
.c-hero__crumb-item:nth-child(7) { animation-delay: 1.2s; }
.c-hero__crumb-item:nth-child(9) { animation-delay: 1.36s; }

.c-hero__crumb-sep {
  opacity: 0;
  animation: cHeroCrumbSepIn 0.4s ease forwards;
}

.c-hero__crumb-sep:nth-child(2) { animation-delay: 0.8s; }
.c-hero__crumb-sep:nth-child(4) { animation-delay: 0.96s; }
.c-hero__crumb-sep:nth-child(6) { animation-delay: 1.12s; }
.c-hero__crumb-sep:nth-child(8) { animation-delay: 1.28s; }

.c-hero.c-hero--page .section-list .list-item,
.c-hero:not(.hero):not(.hero-two):not(.hero-three) .section-list .list-item {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 1.28rem !important;
  font-weight: 500;
  transition: color 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.c-hero.c-hero--page .section-list a.list-item:hover,
.c-hero:not(.hero):not(.hero-two):not(.hero-three) .section-list a.list-item:hover {
  color: #f0b07a !important;
  transform: none;
}

.c-hero__slash {
  color: rgba(255, 255, 255, 0.35) !important;
  font-weight: 400;
}

.c-hero.c-hero--page .section-list .nav-list.is-current .list-text,
.c-hero:not(.hero):not(.hero-two):not(.hero-three) .section-list .nav-list.is-current .list-text {
  color: #f0b07a !important;
  font-weight: 600;
  animation: cHeroCurrentGlow 3s ease-in-out 1.4s infinite;
}

.c-hero.c-hero--page .section-list .list-text::before,
.c-hero:not(.hero):not(.hero-two):not(.hero-three) .section-list .list-text::before {
  display: none !important;
}

.c-hero.c-hero--page .section-list .c-hero__crumb-sep,
.c-hero:not(.hero):not(.hero-two):not(.hero-three) .section-list .c-hero__crumb-sep {
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .c-hero__breadcrumb {
    max-width: 100%;
    padding: 0.6rem 1.55rem;
  }

  .c-hero.c-hero--page .section-list,
  .c-hero:not(.hero):not(.hero-two):not(.hero-three) .section-list {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap;
  }

  .c-hero.c-hero--page .section-list .list-item,
  .c-hero:not(.hero):not(.hero-two):not(.hero-three) .section-list .list-item {
    font-size: 1.12rem !important;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .c-hero.c-hero--page,
  .c-hero:not(.hero):not(.hero-two):not(.hero-three) {
    padding: 10rem 0 4rem !important;
  }

  .c-hero.c-hero--page .heading,
  .c-hero:not(.hero):not(.hero-two):not(.hero-three) .heading {
    font-size: 2.15rem;
  }

  .c-hero__breadcrumb {
    max-width: 100%;
    padding: 0.55rem 1.45rem;
  }

  .c-hero.c-hero--page .section-list,
  .c-hero:not(.hero):not(.hero-two):not(.hero-three) .section-list {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.3rem;
  }

  .c-hero.c-hero--page .section-list .list-item,
  .c-hero:not(.hero):not(.hero-two):not(.hero-three) .section-list .list-item {
    font-size: 1.05rem !important;
    white-space: nowrap;
  }

  .c-hero__eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
  }

  .c-hero--hide-breadcrumb-mobile .c-hero__breadcrumb {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-hero.c-hero--page,
  .c-hero:not(.hero):not(.hero-two):not(.hero-three),
  .c-hero__grid,
  .c-hero__orb,
  .c-hero__wave svg,
  .c-hero .heading,
  .c-hero__eyebrow,
  .c-hero .hero-content::after,
  .c-hero__breadcrumb,
  .c-hero__breadcrumb::before,
  .c-hero__crumb-item,
  .c-hero__crumb-sep,
  .c-hero .section-list .nav-list.is-current .list-text {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
