#hero-root {
  position: relative;
  isolation: isolate;
  background: var(--hero-paper, var(--paper-strong));
  font-family: var(--hero-font-family, Inter, Arial, sans-serif);
}

#hero-root::before,
#hero-root::after {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  content: "";
  pointer-events: none;
}

#hero-root::before {
  left: 0;
  background-color: var(--hero-paper, var(--paper-strong));
  background-image: var(--hero-world-map-image);
  background-position: right 46%;
  background-repeat: no-repeat;
  background-size: min(58rem, 82vw) auto;
  opacity: 0.23;
}

#hero-root::after {
  z-index: 2;
  right: 0;
  width: calc((100% - var(--hero-desktop-max-width, 1180px)) / 2 + 7rem);
  background-image: var(--hero-desktop-background);
  background-position: center 42%;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(7px);
  -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.42) 7rem, #000 14rem);
  mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.42) 7rem, #000 14rem);
  opacity: 0.56;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--hero-desktop-columns, minmax(19rem, 0.42fr) minmax(19rem, 0.58fr));
  height: var(--hero-desktop-height, 410px);
  min-height: var(--hero-desktop-height, clamp(14rem, 25vh, 17rem));
  max-height: var(--hero-desktop-max-height, 17rem);
  max-width: var(--hero-desktop-max-width, 1240px);
  margin: 0 auto;
  overflow: visible;
  background: var(--hero-paper, var(--paper-strong));
  border: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  padding: var(--hero-desktop-copy-padding, clamp(1rem, 2.4vw, 1.7rem));
}

.hero-copy .overline {
  margin-bottom: 0.9rem;
  font-size: var(--hero-overline-size, 0.72rem);
}

.hero-map {
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: var(--hero-world-map-width, 51%);
  background-image: var(--hero-world-map-image);
  background-position: var(--hero-world-map-position, center);
  background-size: var(--hero-world-map-size, 155%);
  background-repeat: no-repeat;
  opacity: var(--hero-world-map-opacity, 0.62);
  pointer-events: none;
}

.hero-copy .overline,
.hero-title,
.hero-lead,
.hero-button,
.hero-values {
  position: relative;
  z-index: 1;
}

.hero-title {
  max-width: 20ch;
  margin: 0 0 0.75rem;
  color: var(--hero-navy, var(--navy));
  font-family: "Playfair Display", Georgia, serif;
  font-size: var(--hero-title-size, 48px);
  font-weight: 500;
  line-height: 1.12;
}

.hero-lead {
  max-width: 30rem;
  margin: 0 0 1.2rem;
  color: var(--hero-muted, var(--muted));
  font-size: var(--hero-lead-size, 15px);
  line-height: 1.55;
}

.hero-button {
  align-self: start;
  padding: 0.78rem 1.25rem;
  background: var(--hero-gold, var(--gold));
  color: var(--hero-navy, var(--navy));
  font-size: var(--hero-button-size, 0.73rem);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  margin-top: 1.25rem;
  color: var(--hero-muted, var(--muted));
  font-size: var(--hero-values-size, 0.7rem);
}

.hero-values span {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}

.hero-values svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  fill: none;
  stroke: var(--hero-gold-deep, var(--gold-deep));
  stroke-width: 1.35;
}

.hero-values em {
  color: inherit;
  font-style: normal;
}

.hero-image {
  position: relative;
  z-index: 1;
  align-self: stretch;
  overflow: visible;
  clip-path: inset(-2rem 0 0 -12rem);
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  margin: 0;
  background-image: var(--hero-desktop-background);
  background-position: var(--hero-desktop-background-position, center 44%);
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-image picture {
  display: contents;
}

.hero-photo-base {
  position: absolute;
  top: 50%;
  left: var(--hero-composite-left, -8rem);
  display: block;
  width: var(--hero-composite-width, calc(100% + 8rem));
  height: auto;
  max-width: none;
  transform: translateY(-50%);
  object-fit: cover;
  object-position: var(--hero-composite-position, center 48%);
  pointer-events: none;
}

.hero-photo-base.desktop-composite-disabled {
  display: none;
}

.hero-photo-cutout {
  position: absolute;
  z-index: 3;
  top: var(--hero-cutout-top, -3.3rem);
  left: var(--hero-cutout-left, -7.5rem);
  display: block;
  width: auto;
  height: var(--hero-cutout-height, 27rem);
  max-width: none;
  pointer-events: none;
}

@media (min-width: 821px) and (max-width: 1100px) {
  .hero-copy {
    padding: 24px 56px 20px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-photo-cutout {
    top: -7rem;
    left: -4rem;
    height: 48rem;
  }
}

@media (max-width: 1180px) {
  #hero-root::before,
  #hero-root::after {
    display: none;
  }
}

@media (max-width: 820px) {
  #hero-root::before,
  #hero-root::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    height: var(--hero-mobile-height, clamp(25rem, 72svh, 34rem));
    min-height: var(--hero-mobile-height, clamp(25rem, 72svh, 34rem));
    max-height: var(--hero-mobile-max-height, 34rem);
    margin: 0;
    overflow: hidden;
    border-right: 0;
    border-left: 0;
    background: var(--hero-navy, var(--navy));
  }

  .hero-copy {
    grid-area: 1 / 1;
    z-index: 2;
    justify-content: flex-end;
    min-height: inherit;
    height: 100%;
    padding: var(--hero-mobile-copy-padding, clamp(10rem, 46vh, 20rem) 1rem 1rem);
    color: var(--hero-white, var(--white));
    background: var(--hero-mobile-overlay);
    pointer-events: none;
  }

  .hero-map {
    display: none;
  }

  .hero-title {
    max-width: 15ch;
    margin-bottom: 0.45rem;
    color: var(--hero-white, var(--white));
    font-size: clamp(1.7rem, 7.2vw, 2rem);
    line-height: 1.12;
  }

  .hero-lead {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
  }

  .hero-copy .overline,
  .hero-copy .hero-button,
  .hero-copy .hero-values {
    pointer-events: auto;
  }

  .hero-copy .hero-button {
    padding: 0.58rem 0.72rem;
    font-size: 0.58rem;
  }

  .hero-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
    margin-top: 0.65rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.6rem;
  }

  .hero-image {
    grid-area: 1 / 1;
    z-index: 1;
    overflow: hidden;
    min-height: inherit;
    max-height: none;
    height: 100%;
    background: none;
  }

  .hero-image picture {
    position: absolute;
    inset: 0;
    display: block;
  }

  .hero-photo-base {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-height: 0;
    transform: none;
    object-fit: cover;
    object-position: var(--hero-mobile-portrait-position, center 18%);
  }

  .hero-photo-base.desktop-composite-disabled {
    display: block;
  }

  .hero-photo-cutout {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero-copy .overline {
    font-size: 0.55rem;
  }
}

[dir="rtl"] .hero {
  direction: rtl;
}
