/* Genesis Travel Collective — refined editorial image bands + network transition */

/* Our Regions: simplify to one strong Greece / Mediterranean image. */
.specialties {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 0 !important;
  min-height: clamp(650px, 66vw, 760px);
  overflow: hidden;
  isolation: isolate;
  background: #f8f3ea !important;
}

.specialties-visual {
  position: absolute !important;
  inset: 0 28% 0 0 !important;
  z-index: 0;
  display: block !important;
  max-width: none !important;
  margin: 0 !important;
}

.specialties-visual .specialty-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100% !important;
  transform: none !important;
  clip-path: none !important;
  box-shadow: none !important;
}

.specialties-visual .specialty-img.europe {
  display: block !important;
  background-size: cover !important;
  background-position: center 48% !important;
}

.specialties-visual .specialty-img.caribbean,
.specialties-visual .specialty-img.asia {
  display: none !important;
}

.specialties::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(248, 243, 234, 0) 0%,
    rgba(248, 243, 234, 0) 34%,
    rgba(248, 243, 234, 0.10) 42%,
    rgba(248, 243, 234, 0.48) 50%,
    rgba(248, 243, 234, 0.86) 58%,
    rgba(248, 243, 234, 0.98) 64%,
    #f8f3ea 70%,
    #f8f3ea 100%);
}

.specialties > .reveal {
  position: relative;
  z-index: 2;
  width: min(42%, 570px) !important;
  margin-left: auto;
}

/* Our Collective: keep Fuji full-bleed but give copy a brighter reading zone. */
.collective {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr) !important;
  gap: 0 !important;
  align-items: center;
  min-height: clamp(700px, 70vw, 840px);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.03) 34%,
      rgba(255, 255, 255, 0.20) 42%,
      rgba(255, 255, 255, 0.62) 49%,
      rgba(255, 255, 255, 0.90) 56%,
      rgba(255, 255, 255, 0.985) 62%,
      #ffffff 68%,
      #ffffff 100%),
    url("/images/japan.jpg") 24% center / cover no-repeat !important;
}

.collective-visual {
  min-height: 610px !important;
}

.collective-img-main,
.collective-img-small {
  display: none !important;
}

.collective-statement {
  left: 0 !important;
  bottom: 54px !important;
  width: min(76%, 390px) !important;
  background: rgba(251, 247, 239, 0.94) !important;
}

.collective-content {
  position: relative;
  z-index: 2;
  width: min(100%, 600px) !important;
  justify-self: end;
}

/* Quiet credibility transition between regions and the collective. */
.network-strip {
  position: relative;
  overflow: hidden;
  background: #fff;
  text-align: center;
  padding: 64px 0 58px !important;
  border-top: 1px solid rgba(184, 138, 74, 0.16);
  border-bottom: 1px solid rgba(184, 138, 74, 0.16);
}

.network-intro {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
}

.network-intro h2 {
  margin-bottom: 14px !important;
}

.network-intro p {
  width: min(100%, 650px);
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.6;
}

.network-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 38px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.network-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: networkScroll 34s linear infinite;
}

.network-strip .network-group {
  display: flex;
  align-items: center;
  gap: 0 !important;
  padding-right: 0 !important;
}

.network-item {
  flex: 0 0 auto;
  white-space: nowrap;
  font-family: var(--heading-font);
  font-size: clamp(1.16rem, 1.75vw, 1.52rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(47, 63, 70, 0.82);
}

.network-strip .network-dot {
  flex: 0 0 auto;
  display: inline-block;
  margin-inline: 13px !important;
  color: #b88a4a !important;
  opacity: 1 !important;
  font-size: 0.46rem !important;
  line-height: 1 !important;
}

@keyframes networkScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Traveler review transition before the closing CTA. */
.reviews-strip {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 8vw, 118px) var(--editorial-gutter, 48px) !important;
  text-align: center;
  background:
    radial-gradient(circle at 50% 10%, rgba(216, 189, 147, 0.20), transparent 38%),
    linear-gradient(180deg, #fbf7ef 0%, #f7efe4 100%);
  border-top: 1px solid rgba(184, 138, 74, 0.15);
}

.reviews-inner {
  position: relative;
  width: min(100%, 860px) !important;
  max-width: 860px !important;
  margin: 0 auto;
}

.reviews-mark {
  height: 44px;
  margin-bottom: 8px;
  font-family: var(--heading-font);
  font-size: 5.2rem;
  line-height: 0.9;
  color: rgba(184, 138, 74, 0.26);
}

.reviews-strip h2 {
  max-width: 780px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.reviews-strip p {
  display: block;
  width: min(100%, 680px) !important;
  max-width: 680px !important;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  white-space: normal !important;
  overflow-wrap: break-word;
}

.reviews-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 32px;
  padding: 13px 24px;
  border: 1px solid rgba(47, 63, 70, 0.28);
  color: var(--slate);
  font-family: var(--body-font);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.reviews-link:hover {
  transform: translateY(-2px);
  background: rgba(216, 189, 147, 0.16);
  border-color: rgba(184, 138, 74, 0.42);
}

@media (max-width: 1100px) {
  .specialties > .reveal {
    width: min(46%, 540px) !important;
  }

  .collective {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr) !important;
  }
}

@media (max-width: 820px) {
  .specialties {
    display: block !important;
    min-height: 0;
    padding-top: 0 !important;
  }

  .specialties-visual {
    position: relative !important;
    inset: auto !important;
    width: calc(100% + 40px) !important;
    height: 390px;
    margin: 0 -20px 42px !important;
  }

  .specialties::after {
    inset: 0 0 auto 0;
    height: 390px;
    background: linear-gradient(180deg,
      rgba(248, 243, 234, 0) 0%,
      rgba(248, 243, 234, 0.08) 58%,
      rgba(248, 243, 234, 0.74) 84%,
      #f8f3ea 100%);
  }

  .specialties > .reveal {
    width: 100% !important;
    max-width: 620px;
    margin: 0;
  }

  .collective {
    display: block !important;
    min-height: 850px;
    background:
      linear-gradient(180deg,
        rgba(255, 255, 255, 0.02) 0%,
        rgba(255, 255, 255, 0.18) 26%,
        rgba(255, 255, 255, 0.76) 43%,
        rgba(255, 255, 255, 0.97) 54%,
        #ffffff 62%,
        #ffffff 100%),
      url("/images/japan.jpg") 40% top / cover no-repeat !important;
  }

  .collective-visual {
    min-height: 300px !important;
  }

  .collective-content {
    width: 100% !important;
    max-width: 620px;
    margin-top: 22px;
  }

  .network-strip {
    padding: 56px 0 50px !important;
  }

  .network-marquee {
    margin-top: 30px;
  }

  .network-strip .network-group {
    gap: 0 !important;
    padding-right: 0 !important;
  }

  .network-strip .network-dot {
    margin-inline: 10px !important;
    font-size: 0.4rem !important;
  }

  .reviews-strip {
    padding: 72px 20px !important;
  }

  .reviews-strip p {
    width: min(100%, 620px) !important;
    max-width: 620px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .network-track {
    animation: none;
    transform: none;
  }

  .network-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}