#top {
  --host-tint: #f8e4e8;
  --discovery-accent: #873d50;
}

#top .trip-hosts {
  padding: clamp(2.35rem, 6vw, 4rem) clamp(1rem, 5vw, 3.25rem);
  color: var(--ink);
  text-align: center;
}

#top .trip-hosts {
  background: linear-gradient(145deg, #fff8f4, var(--host-tint) 65%, #fffaf6);
}

.trip-hosts-kicker {
  margin: 0 0 .25rem;
  color: var(--discovery-accent);
  font: italic 600 clamp(1.15rem, 3.6vw, 1.65rem)/1.25 Georgia, serif;
}

#top .trip-hosts h2,
#top .other-trip > h3 {
  margin: 0 auto 1.65rem;
  color: var(--ink);
  font-size: clamp(1.35rem, 4.5vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: -.04em;
  word-break: keep-all;
}

#top .trip-hosts h2 {
  margin-bottom: clamp(1.85rem, 5vw, 3.5rem);
}

.trip-hosts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.75rem, 4.5vw, 2.75rem);
  max-width: 580px;
  margin: 0 auto;
}

.trip-hosts .trip-host-photo {
  margin: 0;
  padding: clamp(.4rem, 1.5vw, .75rem);
  border: 1px solid #f0e1df;
  border-radius: 4px;
  background: #fffefa;
  box-shadow: 0 9px 22px #5935491a;
  --host-tilt: -2deg;
  overflow: visible;
  transform: rotate(var(--host-tilt));
}

.trip-host + .trip-host .trip-host-photo {
  --host-tilt: 2deg;
  --host-landing-delay: 160ms;
}

.trip-host-image {
  position: relative;
}

.trip-host-image > img {
  display: block;
  width: 100%;
  height: auto;
}

.trip-host-photo figcaption {
  padding: .55rem .1rem .45rem;
}

#top .trip-host-photo h3 {
  margin: 0;
  color: var(--discovery-accent);
  font: italic 600 clamp(1.45rem, 5.8vw, 2.4rem)/1.1 Georgia, serif;
}

.trip-host-photo p {
  margin: .28rem 0 0;
  color: var(--discovery-accent);
  font-size: clamp(.75rem, 2.8vw, .98rem);
  font-weight: 700;
  line-height: 1.4;
  word-break: keep-all;
}

.trip-host .trip-host-bio {
  max-width: 24ch;
  margin: 1rem auto 0;
  color: var(--ink);
  font-size: clamp(.85rem, 2.8vw, 1rem);
  line-height: 1.6;
  word-break: keep-all;
}

#top .other-trip {
  margin: clamp(1.75rem, 4vw, 2.75rem) auto 0;
  padding-top: clamp(1.5rem, 4vw, 2.4rem);
  border-top: 1px solid #ebdfdc;
  color: var(--ink);
  text-align: center;
}

#top .other-trip-card {
  display: grid;
  grid-template-columns: minmax(5.25rem, 32%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.85rem, 3vw, 1.6rem);
  max-width: 650px;
  margin: 0 auto;
  padding: clamp(.65rem, 2vw, .9rem);
  border: 1px solid #e9d9d6;
  border-radius: 1.15rem;
  background: var(--host-tint);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
}

#top .other-trip-card:hover {
  border-color: var(--discovery-accent);
}

#top .other-trip-card:focus-visible {
  outline: 2px solid var(--discovery-accent);
  outline-offset: 3px;
}

.other-trip-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: .75rem;
  object-fit: cover;
}

.other-trip-copy p {
  margin: .3rem 0 0;
  font-size: clamp(.85rem, 2.7vw, 1rem);
  line-height: 1.45;
  word-break: keep-all;
}

.other-trip-copy .other-trip-dates {
  margin: 0 0 .25rem;
  color: var(--discovery-accent);
  font-weight: 750;
}

#top .other-trip-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 3.8vw, 1.5rem);
  line-height: 1.35;
  word-break: keep-all;
}

.other-trip-action {
  display: inline-block;
  margin-top: .55rem;
  color: var(--discovery-accent);
  font-size: clamp(.85rem, 2.7vw, 1rem);
  font-weight: 750;
}

.other-trip-card:is(:hover, :focus-visible) .other-trip-action {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.trip-host-image .trip-host-bow {
  position: absolute;
  max-width: none;
  pointer-events: none;
}

.trip-host-image .trip-host-bow-prim {
  top: -18.29%;
  left: -3.17%;
  width: 43.49%;
}

.trip-host-image .trip-host-bow-gigi {
  top: -11.71%;
  left: 62.22%;
  width: 41.90%;
}

@media (prefers-reduced-motion: no-preference) {
  .host-motion-pending .trip-host-photo {
    opacity: 0;
  }

  .host-motion-landed .trip-host-photo {
    animation: host-landing 1050ms cubic-bezier(.22, .68, .33, 1) var(--host-landing-delay, 0ms) both;
  }
}

@keyframes host-landing {
  0% {
    opacity: 0;
    transform: translateY(-36px) rotate(calc(var(--host-tilt) * 2));
  }

  75% {
    opacity: 1;
    transform: translateY(2px) rotate(var(--host-tilt));
  }

  100% {
    opacity: 1;
    transform: rotate(var(--host-tilt));
  }
}

#top .trip-webinar > p {
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}

#top > .trip-webinar.paper[aria-labelledby] {
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
}

#top > #reviews {
  padding-top: clamp(1.4rem, 3vw, 2.1rem);
}

#reviews > #reviews-title {
  margin: 0 auto .65rem;
}

#reviews > p {
  margin: 0 auto 1.15rem;
  line-height: 1.65;
}

#reviews .participant-interview > .review-video {
  margin-top: 0;
}

#reviews .participant-interview + .review-video {
  margin-top: clamp(1.1rem, 3vw, 1.6rem);
}

#top > #trip-hosts {
  padding-bottom: clamp(1.4rem, 3.5vw, 2.4rem);
  background: linear-gradient(180deg, #fff8f4, var(--host-tint) 70%);
}

#top > #trip-hosts + .intro-continuation {
  background: linear-gradient(180deg, var(--host-tint) 0%, #fff6f4 82%, var(--paper));
}

#top > #trip-hosts + .intro-continuation .solo-welcome {
  padding-top: 0;
  margin-bottom: clamp(1.6rem, 3.8vw, 2.15rem);
}

#top > #trip-hosts + .intro-continuation .solo-welcome h2,
#top > #trip-hosts + .intro-continuation .intro-breakfast-photo {
  margin-top: 0;
  margin-bottom: 0;
}

.home {
  --villa-photo-gap: clamp(.8rem, 2vw, 1.2rem);
}

.home .villa-photos,
.home .villa-gallery {
  display: grid;
  gap: var(--villa-photo-gap);
}

.home .villa-gallery {
  margin-top: 0;
}

.home .villa-photos img {
  display: block;
  width: 100%;
}

.home .villa-pajama-photo {
  margin-top: var(--villa-photo-gap);
}

@media (min-width: 651px) {
  .home .villa-gallery {
    aspect-ratio: 3 / 2;
    grid-template-rows: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .home .villa-gallery > figure {
    position: relative;
    min-height: 0;
  }

  .home .villa-gallery > figure > img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
  }
}

/* Angled ink stamp for the completed first early-bird offer. */
#top #pricing .earlybird-closed-note{position:relative;display:table;box-sizing:border-box;width:fit-content;max-width:90%;margin:14px auto 40px;padding:13px 21px;border:5px double currentColor;border-radius:4px;background:transparent;color:#a4354d;font-size:clamp(1.1rem,3.5vw,1.65rem);font-weight:900;line-height:1.45;letter-spacing:.025em;white-space:nowrap;transform:rotate(-7deg);transform-origin:center;box-shadow:none;text-shadow:.4px 0 currentColor;opacity:.94}
#top #pricing .earlybird-closed-note::after{content:"";position:absolute;inset:-5px;pointer-events:none;border-radius:4px;background-image:radial-gradient(ellipse at center,#fff8f5 0 .55px,transparent .95px),radial-gradient(ellipse at center,#fff8f5 0 .35px,transparent .75px);background-size:7px 5px,11px 9px;background-position:0 0,3px 2px;opacity:.5}
@media(max-width:650px){#top #pricing .earlybird-closed-note{max-width:88%;margin:14px auto 35px;padding:11px 13px;font-size:clamp(.95rem,4.2vw,1.22rem);letter-spacing:0;border-radius:3px}}
#top #pricing .earlybird-closed-note[hidden],
#top #pricing[data-price-pending="true"] .earlybird-closed-note {
  display: none;
}

#top #pricing[data-price-pending="false"] .price-highlight:has(> .earlybird-closed-note:not([hidden])) {
  padding-top: 48px;
}

@media (max-width: 650px) {
  #top #pricing[data-price-pending="false"] .price-highlight:has(> .earlybird-closed-note:not([hidden])) {
    padding-top: 30px;
  }
}

/* Emphasize the current offer only while final early-bird seats are available. */
#top #pricing .final-earlybird-next-price,
#top #pricing[data-final-earlybird-active="true"][data-price-pending="true"] .earlybird-badge {
  display: none;
}

#top #pricing[data-final-earlybird-active="true"][data-price-pending="false"] .earlybird-badge {
  display: table;
  margin: 0 auto 1.4rem;
  padding: .55rem .95rem;
  border: 1px solid #e6bdca;
  background: linear-gradient(120deg, #fbe4eb, #fff5e7);
  color: #83384f;
  font-size: clamp(.75rem, 2.8vw, .9rem);
  font-weight: 800;
  line-height: 1.45;
}

#top #pricing[data-final-earlybird-active="true"][data-price-pending="false"] .earlybird-discount-callout {
  border-color: #efd2da;
  background: linear-gradient(125deg, #f9dce7, #fff2dc);
}

#top #pricing[data-final-earlybird-active="true"][data-price-pending="false"] .earlybird-discount-callout strong {
  color: #8a354e;
  font-size: clamp(2rem, 6.5vw, 3.25rem);
  font-weight: 900;
}

#top #pricing[data-final-earlybird-active="true"][data-price-pending="false"] .final-earlybird-next-price {
  display: block;
  margin: 0 0 1.05rem;
  color: #79535f;
  font-size: clamp(.75rem, 2.8vw, .9rem);
  font-weight: 650;
  line-height: 1.55;
  word-break: keep-all;
}

#top #pricing[data-final-earlybird-active="true"] .earlybird-availability.is-final-urgent,
#top #pricing[data-final-earlybird-active="true"] .is-final-urgent .availability-pill {
  width: min(100%, 340px);
  font-size: clamp(1rem, 4.6vw, 1.4rem);
  white-space: normal;
  word-break: keep-all;
}
