/*
 * Unified navy Home hero.
 * The framework visual shares the hero field instead of reading as a card.
 */

.smes-hero {
  isolation: isolate;
  color: var(--smes-white);
  background: linear-gradient(135deg, #102a43 0%, #102a43 55%, #12384a 100%);
}

.smes-hero::before {
  position: absolute;
  z-index: 0;
  width: clamp(22rem, 31vw, 33rem);
  aspect-ratio: 1;
  inset: clamp(-20rem, -16vw, -11rem) clamp(-14rem, -9vw, -7rem) auto auto;
  border: 1px solid rgba(240, 215, 157, 0.28);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.smes-hero::after {
  z-index: 3;
  height: 3px;
  background: linear-gradient(90deg, var(--smes-gold) 0 12%, #56aaa7 12% 31%, transparent 31%);
}

.smes-hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.18fr) minmax(22rem, 0.82fr);
  gap: clamp(3.5rem, 7vw, 7rem);
}

.smes-hero-grid::before {
  position: absolute;
  z-index: -1;
  width: clamp(16rem, 22vw, 21rem);
  aspect-ratio: 1;
  inset: auto auto clamp(-14rem, -11vw, -8rem) 38%;
  border: 1px solid rgba(240, 215, 157, 0.13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.smes-hero-copy {
  position: relative;
}

.smes-hero-copy::before {
  position: absolute;
  z-index: -1;
  top: 43%;
  left: clamp(-11rem, -9vw, -7rem);
  width: clamp(11rem, 15vw, 14rem);
  aspect-ratio: 1;
  border: 1px solid rgba(86, 170, 167, 0.15);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.smes-hero .smes-eyebrow {
  color: var(--smes-gold-light);
}

.smes-hero .smes-display {
  color: var(--smes-white);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.smes-hero .smes-display .smes-is {
  color: rgba(240, 215, 157, 0.9);
  font-style: italic;
  font-weight: 440;
  letter-spacing: -0.04em;
  text-shadow: none;
}

.smes-hero .smes-lead {
  color: #dbe5ea;
}

.smes-hero .wp-block-button:not(.is-style-outline) > .wp-block-button__link {
  border-color: #2d7273;
  background: #2d7273;
}

.smes-hero .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover {
  border-color: var(--smes-gold-light);
  background: var(--smes-gold-light);
  color: var(--smes-navy-deep);
}

.smes-hero .wp-block-button.is-style-outline > .wp-block-button__link {
  border-color: rgba(255, 255, 255, 0.82);
  color: var(--smes-white);
}

.smes-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover {
  border-color: var(--smes-white);
  background: var(--smes-white);
  color: var(--smes-navy);
}

.smes-hero-art {
  width: 100%;
  max-width: 28rem;
  min-height: 31rem;
  overflow: visible;
  padding: 2.25rem 0 2.25rem clamp(2rem, 3vw, 3.25rem);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  box-shadow: none;
}

.smes-hero-art::before,
.smes-hero-art::after {
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
  background: transparent;
  content: "";
  pointer-events: none;
}

.smes-hero-art::before {
  width: clamp(7rem, 10vw, 9rem);
  inset: -1.5rem 1rem auto auto;
  border: 1px solid rgba(86, 170, 167, 0.18);
}

.smes-hero-art::after {
  display: none;
}

.smes-hero-art-label {
  inset: 2.25rem 0 auto clamp(2rem, 3vw, 3.25rem);
  color: var(--smes-gold-light);
}

.smes-hero-art-core {
  align-items: center;
  gap: clamp(0.7rem, 1.3vw, 1.05rem);
  margin-top: 6.25rem;
  font-size: clamp(3.7rem, 5vw, 5.4rem);
  letter-spacing: -0.04em;
}

.smes-hero-art-core span:nth-child(2) {
  display: inline-block;
  color: var(--smes-gold-light);
  font-family: var(--wp--preset--font-family--serif);
  font-size: clamp(3.5rem, 4.6vw, 5rem);
  font-weight: 550;
  line-height: 0.72;
  transform: translateY(-0.11em) scaleX(1.12);
  transform-origin: center;
}

.smes-hero-art-core span:last-child {
  color: #6fbbb7;
}

.smes-hero-art-stages {
  inset: auto 0 2.25rem clamp(2rem, 3vw, 3.25rem);
}

.smes-hero-art-stages li {
  border-color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 1100px) {
  .smes-hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  }

  .smes-hero-art {
    min-height: 28rem;
  }
}

@media (max-width: 900px) {
  .smes-hero {
    background: linear-gradient(150deg, #102a43 0%, #102a43 58%, #12384a 100%);
  }

  .smes-hero-grid {
    grid-template-columns: 1fr;
  }

  .smes-hero-art {
    width: 100%;
    max-width: none;
    min-height: 24rem;
    justify-self: stretch;
    padding: 2rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .smes-hero-art-label {
    inset: 2rem auto auto 0;
  }

  .smes-hero-art-core {
    margin-top: 5.4rem;
  }

  .smes-hero-art-stages {
    inset: auto 0 0;
  }
}

@media (max-width: 650px) {
  .smes-hero::before {
    width: 22rem;
    inset: -14rem -12rem auto auto;
  }

  .smes-hero-grid::before {
    width: 14rem;
    inset: auto auto -8rem 24%;
  }

  .smes-hero-copy::before {
    top: 52%;
    left: -7.5rem;
    width: 10rem;
  }

  .smes-hero-art::before {
    top: 0.75rem;
    right: -1.5rem;
    width: 7.5rem;
  }

  .smes-hero-art {
    min-height: 23rem;
    padding-inline: 0;
    box-shadow: none;
  }

  .smes-hero-art-core {
    gap: 0.6rem;
    margin-top: 5.25rem;
    font-size: clamp(3.2rem, 17vw, 4.1rem);
  }

  .smes-hero-art-core span:nth-child(2) {
    font-size: clamp(2.8rem, 14vw, 3.5rem);
  }
}

