/* GEO Homepage Hero — split layout; kit cannot express the row flip or stepped mark */

/* Kit `section { align-items: center }` shrinks children to content width */
.hero-hero {
  --hero-hero--copy-pad-y: var(--spacer--4xl);
  --hero-hero--copy-pad-x: var(--spacer--xl);
  align-items: stretch;
}

.hero-hero__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-hero__media {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-hero__image {
  display: block;
  width: 100%;
}

.hero-hero__copy {
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-hero__copy-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacer--lg);
  width: 100%;
  padding: var(--hero-hero--copy-pad-y) var(--hero-hero--copy-pad-x);
}

.hero-hero__headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  font-family: var(--display-1-font-family);
  font-weight: var(--font-weight--black);
  font-size: var(--h2-font-size--mobile);
  line-height: 1;
  text-transform: none;
}

.hero-hero__headline-line {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: var(--spacer--xs) var(--spacer--md);
  background-color: var(--accent);
  color: var(--background);
}

.hero-hero__content {
  max-width: 28.75rem;
}

.hero-hero__content :last-child {
  margin-bottom: 0;
}

.hero-hero .button-group.hero-hero__buttons {
  margin-top: 0 !important;
  gap: var(--spacer--sm);
}

.hero-hero__regions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacer--md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-hero__region {
  display: flex;
  align-items: center;
  gap: var(--spacer--xs);
  margin: 0;
}

/* Orange square; navy silhouette via mask (scheme --background) */
.hero-hero__region-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  aspect-ratio: 1 / 1;
  background-color: var(--accent);
}

.hero-hero__region-icon::before {
  content: "";
  display: block;
  width: 70%;
  height: 70%;
  background-color: var(--background);
  -webkit-mask: var(--hero-hero--region-icon) center / contain no-repeat;
  mask: var(--hero-hero--region-icon) center / contain no-repeat;
}

.hero-hero__region-label {
  font-family: var(--font-family);
  font-size: var(--small-font-size);
  font-weight: var(--font-weight--bold);
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--link);
}

@media (min-width: 768px) {
  .hero-hero__inner {
    flex-direction: row-reverse;
    align-items: stretch;
    min-height: 46.375rem;
  }

  .hero-hero__media,
  .hero-hero__copy {
    flex: 1 1 50%;
    width: 50%;
    max-width: 50%;
    min-width: 0;
  }

  .hero-hero__media {
    min-height: 100%;
  }

  .hero-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .hero-hero {
    --hero-hero--copy-pad-y: calc(var(--spacer--4xl) + var(--spacer--xl));
    --hero-hero--copy-pad-x: var(--spacer--4xl);
  }

  .hero-hero__copy-inner {
    max-width: none;
    padding-left: var(--geo-page-inset);
    padding-right: var(--hero-hero--copy-pad-x);
  }

  .hero-hero__headline {
    font-size: var(--h1-font-size);
  }

  .hero-hero__regions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacer--md) var(--spacer--xl);
  }
}
