/* Current refinement: type rhythm, the Asia Journey, and the extra-day CTA. */
body {
  letter-spacing: .008em;
}

.hero h1,
.about h2,
.community__title,
.programme h2,
.included h2,
.stay h2,
.experience h2,
.stage3-intro h2,
.application h2,
.concierge h2,
.partner h2,
.faq h2,
.contact h2,
.ticket-card h3,
.application__steps h3,
.partner__panel-copy h3,
.team-card h3,
.journey h2,
.extra-days h2 {
  letter-spacing: -.008em;
}

.journey,
.extra-days {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-ink);
}

.journey {
  min-height: 46rem;
  padding: clamp(5rem, 8vw, 8rem) 0 clamp(3.75rem, 7vw, 6.5rem);
}

.journey__map,
.extra-days__image {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.journey__map {
  object-position: center;
  opacity: .9;
}

.journey__veil {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(to bottom, rgb(8 8 6 / 18%), rgb(8 8 6 / 12%) 52%, rgb(8 8 6 / 75%)),
    radial-gradient(circle at 50% 35%, transparent 0 17%, rgb(8 8 6 / 34%) 62%, rgb(8 8 6 / 73%) 100%);
}

.journey__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 34rem;
}

.journey__intro {
  width: min(100%, 49rem);
  margin: 0 auto;
  text-align: center;
}

.journey__intro .eyebrow {
  padding-inline: 1rem;
}

.journey h2 {
  max-width: 49rem;
  margin: 1.35rem auto 0;
  color: var(--color-ivory);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 400;
  line-height: .95;
}

.journey h2 em {
  display: block;
  font-style: italic;
}

.journey__route {
  display: none;
}

.journey__arc {
  position: absolute;
  display: block;
  border-top: 1px dashed rgb(244 240 231 / 54%);
  border-radius: 50%;
}

.journey__arc--first {
  top: 49%;
  left: 18%;
  width: 45%;
  height: 26%;
  transform: rotate(-5deg);
}

.journey__arc--second {
  top: 25%;
  right: 17%;
  width: 17%;
  height: 30%;
  transform: rotate(57deg);
}

.journey__marker {
  position: absolute;
  width: .7rem;
  height: .7rem;
  border: 2px solid var(--color-ivory);
  border-radius: 50%;
  background: var(--color-ivory);
  box-shadow: 0 0 0 .45rem rgb(244 240 231 / 12%), 0 0 0 .9rem rgb(244 240 231 / 7%), 0 0 1.8rem rgb(244 240 231 / 48%);
}

.journey__marker--colombo {
  top: 60%;
  left: 21%;
}

.journey__marker--phuket {
  top: 52%;
  left: 63%;
}

.journey__marker--bangkok {
  top: 28%;
  left: 71%;
}

.journey__stops {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 8vw, 9rem);
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.journey__stops li {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--color-ivory-muted);
}

.journey__stops li:nth-child(2) {
  text-align: center;
}

.journey__stops li:last-child {
  text-align: right;
}

.journey__stops li + li::before {
  position: absolute;
  top: .7rem;
  right: calc(100% + clamp(1rem, 4vw, 4.5rem));
  width: clamp(1.5rem, 5vw, 5.25rem);
  border-top: 1px solid rgb(244 240 231 / 42%);
  color: var(--color-ivory);
  content: "";
}

.journey__stops li + li::after {
  position: absolute;
  top: .29rem;
  right: calc(100% + clamp(1rem, 4vw, 4.5rem));
  color: var(--color-ivory);
  content: "→";
  transform: translateX(.22rem);
}

.journey__date {
  display: inline-flex;
  align-items: baseline;
  gap: .42rem;
  margin: 0;
  white-space: nowrap;
}

.journey__stops time,
.journey__date span {
  color: var(--color-ivory-muted);
  font-size: clamp(.7rem, .9vw, .85rem);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.journey__stops strong {
  margin-top: 1rem;
  color: var(--color-ivory);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 2.3rem);
  font-weight: 400;
  line-height: 1.05;
}

.journey__stops em {
  margin-top: .45rem;
  color: var(--color-ivory-muted);
  font-size: clamp(.85rem, 1vw, 1rem);
  font-style: italic;
}

.extra-days {
  display: grid;
  align-items: center;
  min-height: 34rem;
  padding: clamp(4.5rem, 7vw, 6.5rem) 0;
}

.extra-days__image {
  object-position: center;
}

.extra-days__veil {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, var(--color-ink) 0%, rgb(8 8 6 / 94%) 31%, rgb(8 8 6 / 66%) 50%, rgb(8 8 6 / 9%) 75%);
}

.extra-days__content {
  position: relative;
  z-index: 1;
}

.extra-days__body {
  display: grid;
  grid-template-columns: auto minmax(15rem, 23rem);
  column-gap: clamp(1rem, 3vw, 3.25rem);
  align-items: end;
  width: min(100%, 54rem);
}

.extra-days__day {
  grid-column: 1;
  margin: 0;
  color: var(--color-ivory);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6.8rem);
  line-height: .8;
  text-transform: uppercase;
}

.extra-days__day span {
  white-space: nowrap;
}

.extra-days h2 {
  grid-column: 2;
  margin: 0 0 .25rem;
  color: var(--color-ivory);
  font-family: var(--font-body);
  font-size: clamp(.9rem, 1.28vw, 1.25rem);
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.55;
  text-transform: uppercase;
}

.extra-days h2 em {
  font-style: normal;
}

.extra-days__copy {
  grid-column: 1 / -1;
  max-width: 35rem;
  margin: 1.7rem 0 0;
  color: var(--color-ivory-muted);
  font-size: clamp(.92rem, 1.05vw, 1.08rem);
  line-height: 1.55;
}

.extra-days__features {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
  max-width: 46rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.extra-days__features li {
  display: grid;
  grid-template-rows: 2.35rem minmax(0, 1fr);
  gap: .45rem;
  min-height: 3.5rem;
  border-left: 1px solid var(--color-rule);
  padding: .15rem 0 .15rem .85rem;
  color: var(--color-ivory-muted);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.extra-days__features img {
  width: 2.15rem;
  height: 2.15rem;
  object-fit: contain;
}

.extra-days__body .button {
  grid-column: 1 / -1;
  width: fit-content;
  min-width: 12.75rem;
  margin-top: 2rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.extra-days__seal {
  position: absolute;
  top: 50%;
  left: min(51vw, 47rem);
  display: grid;
  width: 9.5rem;
  height: 9.5rem;
  margin: 0;
  border: 1px dashed rgb(244 240 231 / 65%);
  border-radius: 50%;
  color: var(--color-ivory-muted);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.5;
  place-content: center;
  text-align: center;
  text-transform: uppercase;
  transform: translateY(-6%);
}

.extra-days__seal::before {
  position: absolute;
  inset: .35rem;
  border: 1px solid rgb(244 240 231 / 24%);
  border-radius: inherit;
  content: "";
}

.extra-days__seal em {
  color: var(--color-ivory);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 67.5rem) {
  .journey__stops {
    gap: clamp(1.5rem, 5vw, 3rem);
  }

  .extra-days__seal {
    left: 53vw;
  }
}

@media (max-width: 50rem) {
  .journey {
    min-height: 0;
    padding: 4.5rem 0;
  }

  .journey__map {
    object-position: 50% 50%;
  }

  .journey__veil {
    background: linear-gradient(to bottom, rgb(8 8 6 / 20%), rgb(8 8 6 / 66%) 45%, var(--color-ink) 100%);
  }

  .journey__content {
    min-height: 0;
  }

  .journey__intro {
    margin: 0;
    text-align: left;
  }

  .journey h2 {
    margin: 1.15rem 0 0;
    font-size: clamp(2.5rem, 11.5vw, 4.15rem);
  }

  .journey__route {
    display: none;
  }

  .journey__stops {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin-top: 5.5rem;
  }

  .journey__stops li,
  .journey__stops li:nth-child(2),
  .journey__stops li:last-child {
    text-align: left;
  }

  .journey__stops li + li {
    border-top: 1px solid var(--color-rule);
    padding-top: 2.25rem;
  }

  .journey__stops li + li::before,
  .journey__stops li + li::after {
    display: none;
  }

  .extra-days {
    min-height: 44rem;
    padding: 4.5rem 0 3.5rem;
    align-items: start;
  }

  .extra-days__image {
    object-position: 68% center;
  }

  .extra-days__veil {
    background: linear-gradient(90deg, rgb(8 8 6 / 97%) 0%, rgb(8 8 6 / 91%) 53%, rgb(8 8 6 / 34%) 100%);
  }

  .extra-days__body {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  .extra-days__day,
  .extra-days h2,
  .extra-days__copy,
  .extra-days__features,
  .extra-days__body .button {
    grid-column: 1;
  }

  .extra-days__day {
    font-size: clamp(3.35rem, 17vw, 5rem);
  }

  .extra-days h2 {
    max-width: 17rem;
    margin: 0;
    font-size: .82rem;
  }

  .extra-days__copy {
    max-width: 19rem;
    margin-top: 1rem;
  }

  .extra-days__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 22rem;
    margin-top: 1rem;
  }

  .extra-days__features li {
    min-height: 3.15rem;
  }

  .extra-days__body .button {
    margin-top: 1.25rem;
  }

  .extra-days__seal {
    display: none;
  }
}
