/* ============ Tokens ============ */
:root {
  --terracotta: #8f4325;
  --terracotta-hover: #a5502d;
  --peach: #f3b896;
  --peach-hover: #f7c8ab;
  --gold: #e5b07c;
  --ink: #2a1a12;
  --cream: #fbf4ec;
  --white: #ffffff;
  --divider: rgba(229, 176, 124, .55);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, -apple-system, sans-serif;
  --font-script: "Caveat", cursive;

  --container: 1280px;
  --gutter: clamp(16px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--white);
  background: #1d130d;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  padding: .85em 1.6em;
  transition: background .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--terracotta); color: var(--white); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.btn--dark:hover { background: var(--terracotta-hover); }
.btn--light { background: var(--peach); color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.btn--light:hover { background: var(--peach-hover); }
.btn--lg { font-size: 1.3rem; padding: .95em 1.5em .95em 1.7em; }

/* arrow icon (→) drawn in CSS */
.arrow {
  position: relative;
  display: inline-block;
  width: 1.05em; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.arrow::after {
  content: "";
  position: absolute; right: 0; top: 50%;
  width: .48em; height: .48em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translate(0, -50%) rotate(45deg);
  transform-origin: center;
}
.btn:hover .arrow { transform: translateX(3px); transition: transform .2s; }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
  /* warm dusk sky fading to deep olive/brown on the left */
  background:
    radial-gradient(60% 50% at 35% 40%, rgba(196, 128, 72, .35), transparent 70%),
    radial-gradient(50% 40% at 15% 95%, rgba(120, 82, 46, .55), transparent 70%),
    linear-gradient(180deg, #6f6f86 0%, #8a6f66 22%, #6d4b33 48%, #3f2c1b 72%, #2a1d12 100%);
}

.hero__photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(62%, 980px);
  background: url("assets/photos/hero-boards.jpg") 50% 46% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
}

.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(30, 20, 12, .55) 0%, rgba(30, 20, 12, .25) 45%, transparent 65%),
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, transparent 18%);
}

/* ---- Nav ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 32px;
  padding-bottom: 16px;
  position: relative;
  z-index: 10;
}

.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo__main {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: -.04em;
}
.logo__dot { color: var(--white); }
.logo__script {
  font-family: var(--font-script);
  font-size: 1.55rem;
  margin: -.35em 0 0 auto;
  transform: rotate(-8deg) translateX(.6em);
}

.nav__links {
  display: flex;
  gap: clamp(1.5rem, 3.5vw, 3.6rem);
  font-size: 1.12rem;
  font-weight: 400;
}
.nav__links a { opacity: .95; transition: color .2s; }
.nav__links > li:not(.nav__cta-mobile) a:hover { color: var(--gold); }
.nav__cta-mobile { display: none; }
.nav__cta { font-size: 1.1rem; }

.nav__toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Content ---- */
.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 80px;
}
.hero__content > * { max-width: 680px; }

.eyebrow {
  margin: 0 0 1.1rem;
  font-weight: 600;
  font-size: clamp(1.1rem, 1.6vw, 1.75rem);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.2rem, 7.8vw, 7.2rem);
  line-height: .98;
  letter-spacing: -.025em;
  text-shadow: 0 4px 30px rgba(0,0,0,.25);
}

.hero__lead {
  margin: 1.6rem 0 0;
  font-size: clamp(1.1rem, 1.7vw, 1.65rem);
  line-height: 1.35;
  max-width: 30ch;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2.6rem;
  row-gap: 1rem;
}
.facts li {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-weight: 500;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  line-height: 1.25;
  padding-right: clamp(1rem, 2.2vw, 2.1rem);
  margin-right: clamp(1rem, 2.2vw, 2.1rem);
  border-right: 2px solid var(--divider);
  min-height: 60px;
}
.facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.facts svg {
  width: 40px; height: 40px; flex: none;
  fill: none; stroke: var(--gold); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.4rem;
  margin-top: 2.8rem;
}

.play {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  font-weight: 600;
  font-size: 1.3rem;
}
.play__icon {
  width: 48px; height: 48px;
  border: 2.5px solid var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.play__icon svg { width: 24px; height: 24px; fill: currentColor; margin-left: 3px; }
.play:hover .play__icon { background: var(--white); color: var(--ink); }

/* ============ Choose Your Adventure ============ */
.trips {
  --brown: #8a4426;
  --brown-deep: #6e331b;
  --text: #2b1b14;
  --muted: #4a3a32;
  --sand: #f6e5d6;
  background: linear-gradient(180deg, #fbf1e8 0%, #f9ece1 100%);
  color: var(--text);
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px);
}

.trips .container { max-width: 1440px; padding-inline: clamp(16px, 2.4vw, 36px); }

.section-head { text-align: center; max-width: 1000px; margin: 0 auto; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0 0 1rem;
  font-weight: 600;
  font-size: clamp(.8rem, 1.2vw, 1.15rem);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--brown);
}
.kicker::before, .kicker::after {
  content: "";
  width: clamp(28px, 6vw, 76px);
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6.4vw, 5.6rem);
  line-height: 1;
  letter-spacing: -.035em;
  color: #24140d;
}

.section-sub {
  margin: 1.1rem auto 0;
  max-width: 62ch;
  font-size: clamp(1.05rem, 1.7vw, 1.6rem);
  line-height: 1.4;
  color: var(--muted);
}

.trips__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1080px;
  margin-inline: auto;
  gap: clamp(16px, 1.6vw, 24px);
  align-items: stretch;
  margin-top: clamp(48px, 6vw, 80px);
}

/* ---- Trip card ---- */
.trip-card {
  display: flex;
  flex-direction: column;
  background: #fffaf5;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(110, 51, 27, .13), 0 2px 6px rgba(110, 51, 27, .06);
  transition: transform .25s, box-shadow .25s;
}
.trip-card:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(110, 51, 27, .18); }

.trip-card__media { position: relative; aspect-ratio: 16 / 9.4; }
.trip-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tag {
  position: absolute;
  left: 18px; bottom: 34px;
  background: #fffaf3;
  color: var(--text);
  border-radius: 999px;
  padding: .5em 1.1em;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}

.trip-card__body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: -22px;
  background: #fffaf5;
  border-radius: 22px 22px 0 0;
  padding: 26px clamp(20px, 2vw, 30px) 28px;
}

.trip-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.3vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.trip-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin: .9rem 0 1.4rem;
  font-size: 1.3rem;
}
.trip-card__meta svg, .date-pill svg {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.trip-card__meta strong { font-weight: 600; }
.trip-card__body { container-type: inline-size; }
/* When the card is too narrow for "8 days | SURF + CULTURE + ADVENTURE" on one line,
   drop the label onto its own line and hide the divider (applies to both cards equally). */
@container (max-width: 420px) {
  .trip-card__meta .sep { display: none; }
  .trip-card__type { flex-basis: 100%; margin-top: .15rem; }
}
.sep { width: 1.5px; height: 1.2em; background: var(--text); margin: 0 .9rem; opacity: .7; }
.trip-card__type {
  color: var(--brown);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.checks { display: grid; gap: .7rem; font-size: 1.12rem; line-height: 1.35; }
.trip-card .checks { margin-bottom: 1.8rem; }
.checks li { position: relative; padding-left: 2.1rem; }
.checks li::before {
  content: "";
  position: absolute; left: .25rem; top: .22em;
  width: .5rem; height: .95rem;
  border-right: 2px solid var(--brown);
  border-bottom: 2px solid var(--brown);
  transform: rotate(45deg);
}

.date-pill {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: auto 0 0; /* pin date + price to the card bottom so both cards line up */
  padding: .85rem 1.6rem;
  background: var(--sand);
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 500;
}
.date-pill svg { color: var(--brown); }

.trip-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0;
  padding-top: 1.8rem;
}
.price {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  letter-spacing: -.02em;
}
.price__from {
  font-family: var(--font-script);
  font-weight: 500;
  font-size: .8em;
  color: var(--muted);
  margin-right: .15em;
}
.btn--sm { font-size: 1.1rem; padding: .75em 1.5em; }
.trips .btn--dark { background: var(--brown); }
.trips .btn--dark:hover { background: #9d5130; }

/* ============ Sub-pages (trip itinerary pages) ============ */
.page-sub { background: #fbf1e8; }
.topbar {
  position: relative;
  background: linear-gradient(180deg, #3a2618 0%, #2a1c12 100%);
  color: #fff;
}
.topbar .nav { padding-top: 22px; padding-bottom: 22px; }
.topbar .logo__main { font-size: 2.2rem; }

.back-row { max-width: 1440px; padding-inline: clamp(16px, 2.4vw, 36px); padding-top: 28px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: #8a4426;
  font-weight: 600;
  font-size: 1rem;
}
.back-link:hover { color: #b0582f; }
.arrow--back { transform: scaleX(-1); }
.page-sub .itinerary { padding-top: 20px; }

/* ============ Itinerary ============ */
.itinerary {
  --brown: #8a4426;
  --text: #2b1b14;
  --muted: #4a3a32;
  background: #fbf1e8;
  color: var(--text);
  padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
}

.itinerary__wrap {
  max-width: 1440px;
  padding-inline: clamp(16px, 2.4vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 31%) minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
  align-items: stretch;
}

.itinerary__photo {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(110, 51, 27, .16);
}
.itinerary__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.itinerary__kicker {
  margin: .4rem 0 .9rem;
  font-weight: 600;
  font-size: clamp(.9rem, 1.3vw, 1.3rem);
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--brown);
}

.itinerary__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 4.7vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.035em;
  color: #24140d;
}

.itinerary__sub {
  margin: 1.1rem 0 0;
  max-width: 50ch;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  line-height: 1.4;
  color: var(--muted);
}

.days {
  list-style: none;
  margin: clamp(24px, 2.6vw, 34px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1vw, 16px);
}

.day {
  display: flex;
  flex-direction: column;
  background: #fffaf5;
  border-radius: 16px;
  overflow: hidden;
  padding-bottom: 16px;
  box-shadow: 0 10px 30px rgba(110, 51, 27, .1), 0 1px 3px rgba(110, 51, 27, .06);
  transition: transform .25s, box-shadow .25s;
}
.day:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(110, 51, 27, .16); }

.day__media { position: relative; aspect-ratio: 16 / 8.2; margin-bottom: 22px; }
.day__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.day__badge {
  position: absolute;
  left: 14px; bottom: -14px;
  padding: .35em 1em;
  background: #f8dcc3;
  color: #3a1f12;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(110, 51, 27, .15);
}

.day__title {
  margin: 0 16px;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.2;
  color: #2b1b14;
}

.day__text {
  margin: .5rem 16px 0;
  font-size: .93rem;
  line-height: 1.35;
  color: var(--muted);
}

.day__tag {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: auto 16px 0;
  padding-top: .9rem;
  font-size: .85rem;
  color: var(--text);
}
.day__tag svg {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: var(--brown); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* summary card that fills the 8th slot on 7-day trips */
.day--info {
  padding: 22px 0 20px;
  color: #fff;
  background:
    radial-gradient(120% 60% at 30% 0%, rgba(255, 210, 170, .18), transparent 60%),
    linear-gradient(180deg, #a4592f 0%, #8a4426 60%, #7a3a1f 100%);
}
.day--info .day__title { color: #fff; margin-top: .2rem; }
.day__kicker {
  margin: 0 16px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #f8dcc3;
}
.day__list {
  list-style: none;
  margin: .9rem 16px 0;
  padding: 0;
  display: grid;
  gap: .45rem;
  font-size: .93rem;
}
.day__list li { position: relative; padding-left: 1.5rem; }
.day__list li::before {
  content: "";
  position: absolute; left: .2rem; top: .2em;
  width: .38rem; height: .75rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

/* full-width version of the Included card (used when all 8 day slots are taken) */
.day--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem 2rem;
  padding: 26px 30px;
}
.day--wide .day__head { padding-right: 2rem; border-right: 1px solid rgba(255,255,255,.35); }
.day--wide .day__title { font-size: clamp(1.2rem, 1.6vw, 1.5rem); white-space: nowrap; }
.day--wide .day__list {
  margin-top: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem 1.6rem;
  margin-inline: 0;
}

.itinerary__note {
  margin: 1rem 0 0;
  font-size: .9rem;
  font-style: italic;
  color: var(--muted);
  opacity: .85;
}

.itinerary__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 3vw, 40px);
  padding-inline: 16px;
}
.itinerary .btn--dark { background: #b0582f; }
.itinerary .btn--dark:hover { background: #c06536; }

/* ============ Responsive ============ */
@media (max-width: 1200px) {
  .itinerary__wrap { grid-template-columns: 1fr; }
  .itinerary__photo { display: none; } /* when stacked, the photo would sit right above the button — hide it */
  .days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day--wide { grid-template-columns: 1fr; }
  .day--wide .day__head { padding-right: 0; border-right: 0; }
  .day--wide .day__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .days { grid-template-columns: 1fr; }
  .day--wide .day__list { grid-template-columns: 1fr; }
  .day--wide .day__title { white-space: normal; }
  .day__text { font-size: 1rem; }
}
@media (max-width: 760px) {
  .trips__grid { grid-template-columns: 1fr; }
  .tag { font-size: .8rem; bottom: 32px; }
  .trip-card__meta { font-size: 1.1rem; }
  .checks { font-size: 1.02rem; }
}
@media (max-width: 1100px) {
  .nav__links { gap: 1.4rem; font-size: 1rem; }
  .nav__cta { font-size: 1rem; padding: .75em 1.3em; }
}

@media (max-width: 920px) {
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute;
    top: 100%; left: var(--gutter); right: var(--gutter);
    flex-direction: column;
    gap: 0;
    padding: .75rem;
    background: rgba(35, 23, 15, .96);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,.4);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links li a { display: block; padding: .85rem 1rem; border-radius: 10px; }
  .nav__links li:not(.nav__cta-mobile) a:hover { background: rgba(255,255,255,.06); }
  .nav__cta-mobile { display: block; margin-top: .5rem; }
  .nav__cta-mobile .btn { display: flex; justify-content: center; }

  .hero__photo {
    width: 100%;
    background-position: 50% 46%;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(25, 16, 10, .35) 0%, rgba(25, 16, 10, .55) 40%, rgba(25, 16, 10, .9) 100%);
  }
  .hero__content { justify-content: flex-end; }
}

@media (max-width: 560px) {
  .logo__main { font-size: 2.1rem; }
  .logo__script { font-size: 1.3rem; }
  .facts { flex-direction: column; align-items: flex-start; }
  .facts li { border-right: 0; margin-right: 0; padding-right: 0; min-height: 0; }
  .facts svg { width: 32px; height: 32px; }
  .btn--lg { font-size: 1.1rem; }
  .play { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Included strip: header text sits flush inside the padded card */
.day--wide .day__kicker, .day--wide .day__title { margin-inline: 0; }

/* "Included" label is the only heading on the summary card, so give it more presence */
.day--info .day__kicker { font-size: 1rem; color: #fbe3cd; }

/* "A few spots left" — subtle pulsing urgency note above the booking button */
.itinerary__cta { flex-direction: column; align-items: center; gap: 14px; }
.spots {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: rgba(176, 88, 47, .1);
  color: #8a4426;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  animation: spots-fade 2.4s ease-in-out infinite;
}
.spots__dot {
  position: relative;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #c0582c;
}
.spots__dot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #c0582c;
  animation: spots-ping 2.4s ease-out infinite;
}
@keyframes spots-fade { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }
@keyframes spots-ping { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .spots, .spots__dot::after { animation: none; }
}

/* ============ Past Trips & Reviews page ============ */
.stories {
  position: relative;
  overflow: hidden;
  color: #2b1b14;
  background: linear-gradient(180deg, #fbf0e6 0%, #fbf3ec 100%);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.stories__deco {
  position: absolute;
  top: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.stories__deco--palm {
  left: 0; width: clamp(160px, 23vw, 330px); opacity: .8; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%), linear-gradient(180deg, #000 55%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 55%, transparent 100%), linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.stories__deco--arch {
  right: 0; width: clamp(180px, 24vw, 343px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%), linear-gradient(0deg, transparent 0%, #000 30%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 35%), linear-gradient(0deg, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}

.past, .reviews { position: relative; max-width: 1440px; padding-inline: clamp(16px, 2.4vw, 36px); }
.past { padding-top: clamp(56px, 7vw, 96px); }
.past__kicker { text-align: center; letter-spacing: .3em; color: #b0582f; }
.past .section-title { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }

.past__strip {
  display: grid;
  grid-template-columns: 1.08fr 1fr 1.1fr .98fr 1.05fr;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 52px);
}
.past__strip img {
  width: 100%;
  height: clamp(190px, 17vw, 250px);
  object-fit: cover;
  border-radius: 18px;
  display: block;
  box-shadow: 0 12px 30px rgba(110, 51, 27, .14);
}

.reviews { padding-top: clamp(48px, 6vw, 80px); }
.reviews__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2.4rem;
  padding-inline: clamp(0px, 2.5vw, 36px);
}
.reviews__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  letter-spacing: -.03em;
  line-height: 1.05;
  color: #2a1209;
}
.reviews__score {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 2.4rem;
  border-left: 1px solid rgba(110, 51, 27, .25);
}
.reviews__num { font-weight: 700; font-size: clamp(1.8rem, 2.6vw, 2.5rem); }
.reviews__count { font-size: 1.05rem; }

.stars { display: inline-flex; gap: 3px; color: #f2a516; }
.stars svg { width: 22px; height: 22px; fill: currentColor; }
.review .stars svg { width: 19px; height: 19px; }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 26px);
  margin-top: clamp(28px, 3.4vw, 44px);
}
.review {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: clamp(24px, 2.6vw, 36px) clamp(22px, 2.6vw, 38px) clamp(22px, 2.2vw, 30px);
  background: rgba(255, 251, 246, .9);
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(110, 51, 27, .1);
}
.review__quote {
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.45;
}
.review__quote::before { content: "“"; color: #c0582c; font-weight: 700; margin-right: .1em; }
.review__quote::after  { content: "”"; color: #c0582c; font-weight: 700; margin-left: .05em; }
.review__by { display: flex; align-items: center; gap: 1rem; margin-top: auto; }
.review__avatar {
  width: 64px; height: 64px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3c7a2, #c97a4c);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
}
.review__name { font-weight: 700; font-size: 1.1rem; margin-right: auto; }

.stories .itinerary__cta { margin-top: clamp(36px, 4vw, 52px); }
.stories .btn--dark { background: #b0582f; }
.stories .btn--dark:hover { background: #c06536; }

@media (max-width: 1000px) {
  .reviews__grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .reviews__head { justify-content: center; text-align: center; }
  .reviews__score { padding-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
  /* swipeable photo strip on phones */
  .past__strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * clamp(16px, 2.4vw, 36px));
    padding: 0 16px 12px;
    scrollbar-width: none;
  }
  .past__strip::-webkit-scrollbar { display: none; }
  .past__strip img { flex: 0 0 72%; scroll-snap-align: center; }
  .stories__deco--palm { opacity: .35; }
  .stories__deco--arch { opacity: .55; }
  .reviews__score { flex-wrap: wrap; justify-content: center; gap: .6rem; }
}

/* reviewer photo inside the round avatar, zoomed onto the face */
.review__avatar--photo { overflow: hidden; background: #e9cdb4; box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(110, 51, 27, .18); }
.review__avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============ Reviews carousel ============ */
.carousel { position: relative; margin-top: clamp(28px, 3.4vw, 44px); }
.carousel__track {
  display: flex;
  gap: clamp(14px, 1.8vw, 26px);
  margin-top: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 24px;          /* room for card shadows */
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track .review {
  flex: 0 0 calc((100% - 2 * clamp(14px, 1.8vw, 26px)) / 3);
  scroll-snap-align: start;
}
.carousel__track:focus-visible { outline: 2px solid #b0582f; outline-offset: 4px; border-radius: 22px; }

.carousel__btn {
  position: absolute;
  top: calc(50% - 12px);
  transform: translateY(-50%);
  z-index: 2;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: #b0582f;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(110, 51, 27, .28);
  transition: background .2s, opacity .2s, transform .2s;
}
.carousel__btn:hover { background: #c06536; transform: translateY(-50%) scale(1.06); }
.carousel__btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.carousel__btn--prev { left: -18px; }
.carousel__btn--next { right: -18px; }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }

@media (max-width: 1000px) {
  .carousel__track .review { flex-basis: calc((100% - clamp(14px, 1.8vw, 26px)) / 2); }
  .reviews__grid.carousel__track { max-width: none; grid-template-columns: none; }
}
@media (max-width: 640px) {
  .carousel__track .review { flex-basis: 86%; scroll-snap-align: center; }
  .carousel__btn { width: 44px; height: 44px; }
  .carousel__btn--prev { left: -6px; }
  .carousel__btn--next { right: -6px; }
}
@media (prefers-reduced-motion: reduce) { .carousel__track { scroll-behavior: auto; } }
/* softer card shadow inside the scrolling row, so it isn't clipped into a visible box */
.carousel__track .review { box-shadow: 0 6px 16px rgba(110, 51, 27, .07); }

/* ============ Sign-up page ============ */
.signup {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 90px);
  color: #fff;
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 80px);
}
.signup__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    url("assets/photos/dune-sunset.jpg") left bottom / min(66%, 980px) auto no-repeat,
    radial-gradient(60% 50% at 40% 70%, rgba(255, 196, 140, .35), transparent 70%),
    linear-gradient(180deg, #a8736a 0%, #c98568 38%, #df9468 62%, #d7845c 78%, #7d5a4f 100%);
}
.signup__bg::after { /* fade the photo's top and right edge into the sky */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(201, 133, 104, 1) 0%, rgba(201, 133, 104, .0) 58%),
    linear-gradient(90deg, transparent 40%, rgba(200, 120, 90, .55) 65%, rgba(150, 95, 80, .4) 100%);
}

.signup__wrap {
  max-width: 1400px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.signup__intro { padding-bottom: clamp(120px, 18vw, 280px); }
.signup .eyebrow { color: #f6cfa5; }
.signup__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 7.2vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.035em;
  text-shadow: 0 4px 30px rgba(90, 40, 20, .25);
}
.signup__lead {
  margin: 1.4rem 0 0;
  max-width: 34ch;
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
  line-height: 1.35;
}
.signup .hero__actions { margin-top: 2rem; }
.signup__facts { margin-top: 2.2rem; }
.signup__facts li { border-color: rgba(255, 255, 255, .45); font-size: clamp(.95rem, 1.25vw, 1.15rem); }
.signup__facts svg { stroke: #fff; }

/* ---- card + form ---- */
.signup__card {
  background: rgba(253, 246, 239, .97);
  color: #2b1b14;
  border-radius: 36px;
  padding: clamp(28px, 3.6vw, 52px) clamp(22px, 3.4vw, 50px) clamp(26px, 3vw, 40px);
  box-shadow: 0 30px 80px rgba(80, 35, 20, .3);
}
.form__title {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.3vw, 3rem);
  letter-spacing: -.03em;
  line-height: 1.05;
  color: #24120a;
}
.form__sub {
  margin: .8rem auto 1.8rem;
  max-width: 40ch;
  text-align: center;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.35;
  color: #3e2c24;
}

.field { display: block; margin-bottom: 1.1rem; }
.field__label { display: block; margin-bottom: .45rem; font-weight: 600; font-size: 1.05rem; }
.field__label b { color: #c0392b; }
.field__opt { font-weight: 400; }
.field__box {
  position: relative;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 0 1.1rem;
  background: #f4e7dc;
  border: 1.5px solid #dcc6b6;
  border-radius: 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field__box:focus-within { border-color: #b0582f; background: #fbf2ea; box-shadow: 0 0 0 4px rgba(176, 88, 47, .15); }
.field__box > svg {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: #4a3a32; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.field input, .field select, .field textarea {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 1.05rem;
  color: #2b1b14;
  padding: .95rem 0;
}
.field input::placeholder, .field textarea::placeholder { color: #7a6559; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2rem; }
.field select:invalid { color: #7a6559; }
.field__chevron { position: absolute; right: 1.1rem; pointer-events: none; }
.field__box--area { align-items: flex-start; }
.field__box--area > svg { margin-top: .95rem; }
.field textarea { resize: vertical; min-height: 84px; }

.field__error { display: none; margin-top: .35rem; font-size: .9rem; color: #b03a2e; }
.field.is-invalid .field__box { border-color: #c0392b; }
.field.is-invalid .field__error { display: block; }

.form__submit { width: 100%; justify-content: center; margin-top: .8rem; background: #a64f28; font-size: 1.35rem; }
.form__submit:hover { background: #b85d32; }
.form__submit:disabled { opacity: .7; cursor: wait; }

.form__foot { margin-top: 1.8rem; text-align: center; color: #3e2c24; }
.form__foot svg {
  display: block; margin: 0 auto .6rem;
  width: 28px; height: 28px;
  fill: none; stroke: #6b4a3c; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.form__foot { position: relative; }
.form__foot::before, .form__foot::after {
  content: ""; position: absolute; top: 14px; width: calc(50% - 40px); height: 1px; background: #d8c3b4;
}
.form__foot::before { left: 0; } .form__foot::after { right: 0; }
.form__foot p { margin: 0; font-size: 1.05rem; }
.form__foot em { font-weight: 700; color: #8a4426; }

.form__done { text-align: center; padding: 2rem 0; }
.form__done svg { width: 64px; height: 64px; fill: none; stroke: #a64f28; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.form__done .btn { margin-top: .4rem; }

@media (max-width: 980px) {
  .signup__wrap { grid-template-columns: minmax(0, 1fr); }
  .signup__intro { padding-bottom: 0; }
  .signup__bg { background-size: 100% auto, auto, auto; }
  .signup__card { margin-bottom: clamp(140px, 40vw, 300px); }
}
@media (max-width: 560px) {
  .signup__facts { flex-direction: column; align-items: flex-start; }
  .signup__card { border-radius: 26px; }
}
.field select { width: 100%; text-overflow: ellipsis; }
/* <button> elements don't inherit the page font by default */
button.btn { font-family: inherit; border: 0; cursor: pointer; }

/* ---- field flags: red when wrong (even while focused), green tick when right ---- */
.field.is-invalid .field__box,
.field.is-invalid .field__box:focus-within {
  border-color: #c0392b;
  background: #fdecea;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, .12);
}
.field.is-invalid .field__box > svg { stroke: #c0392b; }
.field.is-invalid .field__label { color: #b03a2e; }
.field__box::after {
  position: absolute; right: 1.1rem; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: .85rem; font-weight: 700; color: #fff;
}
.field.is-invalid .field__box:not(.field__box--select):not(.field__box--area)::after { content: "!"; background: #c0392b; }
.field.is-valid .field__box:not(.field__box--select):not(.field__box--area)::after { content: "✓"; background: #3c8d5a; }
.field.is-valid .field__box { border-color: #3c8d5a; }
.field.is-invalid .field__error { display: flex; gap: .4rem; font-weight: 500; }
.field.is-invalid .field__box:not(.field__box--select):not(.field__box--area),
.field.is-valid .field__box:not(.field__box--select):not(.field__box--area) { padding-right: 3rem; }
.field.is-valid .field__box,
.field.is-valid .field__box:focus-within { border-color: #3c8d5a; background: #f1f8f3; box-shadow: 0 0 0 4px rgba(60, 141, 90, .14); }

/* ============ FAQ page ============ */
.faqpage {
  position: relative;
  overflow: hidden;
  color: #2b1b14;
  background: linear-gradient(180deg, #fbf0e6 0%, #fbf3ec 100%);
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px);
}
.faqpage__wrap {
  position: relative;
  max-width: 1360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
}
.faqpage__wrap::before { /* thin divider between the two columns */
  content: "";
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: rgba(176, 88, 47, .4);
}
.host__kicker { color: #b0582f; letter-spacing: .3em; }

.host__photo {
  margin: 0 0 clamp(24px, 3vw, 36px);
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1.4 / 1;
  box-shadow: 0 18px 50px rgba(110, 51, 27, .16);
}
.host__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
.host__title, .faq__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
  color: #2a1209;
}
.host__title { font-size: clamp(2.2rem, 4.4vw, 4rem); }
.host__text { margin: 1rem 0 0; max-width: 52ch; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.45; color: #3e2c24; }

.host__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(24px, 3vw, 40px);
  max-width: 540px;
  text-align: center;
}
.host__stats li { display: flex; flex-direction: column; align-items: center; padding: 0 .6rem; }
.host__stats li + li { border-left: 1px solid rgba(176, 88, 47, .35); }
.host__stats svg { width: 40px; height: 40px; fill: none; stroke: #b0582f; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .5rem; }
.host__stats strong { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1; letter-spacing: -.02em; }
.host__stats span { margin-top: .35rem; font-size: 1.05rem; line-height: 1.25; }

.faq { padding-top: .4rem; }
.faq__title { font-size: clamp(2.6rem, 5.2vw, 4.7rem); }
.faq__sub { margin: 1.4rem 0 0; max-width: 44ch; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.45; color: #3e2c24; }
.faq__sub a, .faq__answer a { color: #a64f28; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.faq__list { display: grid; gap: 18px; margin-top: clamp(28px, 3.6vw, 48px); }
.faq__item {
  background: rgba(255, 251, 246, .92);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(110, 51, 27, .08);
  transition: box-shadow .2s;
}
.faq__item[open] { box-shadow: 0 14px 40px rgba(110, 51, 27, .14); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.8rem;
  font-weight: 700;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: #2a1209;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 2px solid #b0582f; outline-offset: 3px; border-radius: 18px; }
.faq__icon { position: relative; width: 20px; height: 20px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 20px; height: 2.5px; border-radius: 2px; background: #2a1209;
  transform: translate(-50%, -50%);
  transition: transform .25s;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 1.8rem 1.5rem; font-size: 1.05rem; line-height: 1.55; color: #3e2c24; }
.faq__answer p { margin: 0 0 .8rem; }
.faq__answer p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .faqpage__wrap { grid-template-columns: minmax(0, 1fr); }
  .faqpage__wrap::before { display: none; }
  .faq { order: -1; }
  .host { padding-top: clamp(24px, 6vw, 48px); border-top: 1px solid rgba(176, 88, 47, .3); }
}
@media (max-width: 480px) {
  .host__stats span { font-size: .9rem; }
  .faq__item summary { padding: 1.2rem 1.3rem; }
  .faq__answer { padding: 0 1.3rem 1.2rem; }
}
.faqpage__cta { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.faqpage .btn--dark { background: #b0582f; }
.faqpage .btn--dark:hover { background: #c06536; }

/* ---- Logo: round badge + wordmark ---- */
.logo { flex-direction: row; align-items: center; gap: .75rem; }
.logo__badge {
  width: 56px; height: 56px; flex: none;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.topbar .logo__badge { width: 50px; height: 50px; }
@media (max-width: 560px) {
  .logo__badge, .topbar .logo__badge { width: 44px; height: 44px; }
  .logo { gap: .55rem; }
}

/* Photo boxes keep a fixed shape whatever the photo's own proportions (portrait/square/landscape) */
.trip-card__media, .day__media { overflow: hidden; }
.trip-card__media img, .day__media img { position: absolute; inset: 0; }
.day__media { overflow: visible; }            /* the DAY badge hangs below the photo */
.day__media img { border-radius: 0; }
.day { isolation: isolate; }

/* Past trips strip: each photo labelled with its country */
.past__item { position: relative; margin: 0; }
.past__item img { width: 100%; }
.past__item figcaption {
  position: absolute; left: 12px; bottom: 12px;
  padding: .3em .85em;
  border-radius: 999px;
  background: rgba(255, 250, 243, .92);
  color: #3a1f12;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .15);
}
@media (max-width: 760px) {
  .past__item { flex: 0 0 72%; scroll-snap-align: center; }
  .past__strip .past__item img { flex: none; }
}

/* ============ Past trips as a scrolling photo row ============ */
.past__carousel { margin-top: clamp(32px, 4vw, 52px); }
.past__strip.carousel__track {
  display: flex;
  grid-template-columns: none;
  gap: 12px;
  margin: 0;
  padding: 4px 4px 20px;
}
.past__strip.carousel__track img {
  flex: 0 0 calc((100% - 4 * 12px) / 5);   /* 5 photos visible on a laptop */
  min-width: 0; width: auto; max-width: none;
  height: auto;
  aspect-ratio: 3 / 4;                     /* portrait frame, so portrait photos aren't zoomed in */
  object-fit: cover;
  scroll-snap-align: start;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(110, 51, 27, .12);
}
@media (max-width: 1000px) {
  .past__strip.carousel__track img { flex-basis: calc((100% - 2 * 12px) / 3); }
}
@media (max-width: 760px) {
  .past__strip.carousel__track { margin-inline: 0; padding: 4px 4px 16px; }
  .past__strip.carousel__track img { flex-basis: 70%; scroll-snap-align: center; }
}
/* Past trips row: back to the earlier, shorter photo size (still 5 visible + arrows) */
.past__strip.carousel__track img { aspect-ratio: auto; height: clamp(190px, 17vw, 250px); }
@media (max-width: 760px) { .past__strip.carousel__track img { height: 240px; } }

/* Home hero with the surfboard-line photo: shorter left fade so the left-most surfers stay visible,
   and a darker top band so the white menu links stay readable over the pale sky */
.hero__photo {
  width: min(66%, 1040px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 12%);
}
.hero__shade {
  background:
    linear-gradient(90deg, rgba(30, 20, 12, .55) 0%, rgba(30, 20, 12, .2) 40%, transparent 55%),
    linear-gradient(180deg, rgba(30, 20, 12, .55) 0%, rgba(30, 20, 12, .2) 14%, transparent 24%);
}
@media (max-width: 920px) {
  .hero__photo { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .hero__shade {
    background: linear-gradient(180deg, rgba(25, 16, 10, .55) 0%, rgba(25, 16, 10, .35) 35%, rgba(25, 16, 10, .85) 100%);
  }
}

/* Brighter home hero: lift the photo itself and keep only light shading near the text and menu */
.hero__photo { filter: brightness(1.12) saturate(1.05); }
.hero__shade {
  background:
    linear-gradient(90deg, rgba(30, 20, 12, .35) 0%, rgba(30, 20, 12, .08) 38%, transparent 50%),
    linear-gradient(180deg, rgba(30, 20, 12, .4) 0%, rgba(30, 20, 12, .12) 12%, transparent 20%);
}
@media (max-width: 920px) {
  .hero__photo { filter: brightness(1.05); }
  .hero__shade {
    background: linear-gradient(180deg, rgba(25, 16, 10, .45) 0%, rgba(25, 16, 10, .25) 35%, rgba(25, 16, 10, .75) 100%);
  }
}
/* keep hero text and menu legible where they overlap the brighter photo */
.hero .facts li, .hero .nav__links a { text-shadow: 0 1px 2px rgba(20, 12, 6, .55), 0 2px 12px rgba(20, 12, 6, .45); }
.hero .facts svg { filter: drop-shadow(0 1px 3px rgba(20, 12, 6, .5)); }

/* Sign-up page, narrow screens: leave room for the whole dune photo below the form (photo is 1600x904) */
@media (max-width: 980px) {
  .signup__card { margin-bottom: calc(56.5vw + 8px); }
}

/* ============ One-page layout ============ */
section[id], div[id], header[id] { scroll-margin-top: 0; }
.itinerary--next { border-top: 1px solid rgba(138, 68, 38, .16); }
.itinerary .itinerary__cta { margin-bottom: 0; }

/* ============ Sign-up: dune photo as a full, softly graded background ============ */
.signup__bg {
  background: url("assets/photos/dune-sunset.jpg") 50% 62% / cover no-repeat, #b9765c;
}
.signup__bg::after { /* blend the photo into the warm sky: soft top, darker left for the text, deeper bottom */
  background:
    linear-gradient(180deg, rgba(176, 112, 90, .92) 0%, rgba(196, 126, 96, .55) 28%, rgba(120, 72, 52, .10) 58%, rgba(45, 26, 18, .55) 100%),
    linear-gradient(90deg, rgba(70, 40, 28, .50) 0%, rgba(70, 40, 28, .18) 45%, transparent 70%);
}
.signup__intro { padding-bottom: clamp(40px, 8vw, 120px); }
@media (max-width: 980px) {
  .signup__bg { background-position: 38% 100%, 0 0; }
  .signup__bg::after {
    background: linear-gradient(180deg, rgba(176, 112, 90, .9) 0%, rgba(176, 112, 90, .55) 35%, rgba(90, 52, 36, .35) 70%, rgba(45, 26, 18, .6) 100%);
  }
  .signup__intro { padding-bottom: 0; }
  .signup__card { margin-bottom: 0; }
}

/* ============ Hero: social proof + benefits ============ */
.hero__content > * { max-width: 760px; }
.rating {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .8rem;
  margin: 0 0 1.4rem;
  font-size: clamp(1rem, 1.25vw, 1.2rem); font-weight: 500;
  text-shadow: 0 1px 2px rgba(20, 12, 6, .55), 0 2px 12px rgba(20, 12, 6, .45);
}
.rating__g {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.rating__g svg { width: 21px; height: 21px; }
.rating__stars { color: var(--gold); letter-spacing: .12em; font-size: 1.15em; }
.rating strong { font-weight: 700; }

.hero__title { font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1.04; }
.hero__lead { max-width: 44ch; }

.benefits {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start;
  gap: 1.2rem clamp(1.6rem, 3vw, 3rem);
  margin-top: 2.4rem;
}
.benefits li {
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  text-align: center;
  font-size: clamp(.78rem, .95vw, .92rem); font-weight: 600; line-height: 1.35;
  letter-spacing: .16em; text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(20, 12, 6, .55), 0 2px 12px rgba(20, 12, 6, .45);
}
.benefits svg {
  width: 38px; height: 38px;
  fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 1px 3px rgba(20, 12, 6, .5));
}

.trusted {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.1rem;
  margin: 2.2rem 0 0;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  text-shadow: 0 1px 2px rgba(20, 12, 6, .55), 0 2px 12px rgba(20, 12, 6, .45);
}
.trusted__faces { display: flex; }
.trusted__faces img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; margin-left: -10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.trusted__faces img:first-child { margin-left: 0; }
.trusted__text { padding-left: 1.1rem; border-left: 1px solid rgba(255, 255, 255, .45); }
.trusted strong { font-weight: 700; }

@media (max-width: 560px) {
  .benefits { grid-template-columns: repeat(2, auto); gap: 1.4rem 2.2rem; }
  .trusted__text { border-left: 0; padding-left: 0; }
}
/* Desktop: keep the longer hero text on the dark left side, photo on the right */
@media (min-width: 921px) {
  .hero__content > * { max-width: 620px; }
  .hero__title { font-size: clamp(2.6rem, 4.1vw, 4rem); }
  .hero__lead { max-width: none; font-size: clamp(1.05rem, 1.45vw, 1.4rem); }
  .hero__photo { width: min(57%, 1000px); }
  .hero__shade {
    background:
      linear-gradient(90deg, rgba(30, 20, 12, .45) 0%, rgba(30, 20, 12, .25) 44%, transparent 58%),
      linear-gradient(180deg, rgba(30, 20, 12, .4) 0%, rgba(30, 20, 12, .12) 12%, transparent 20%);
  }
}
@media (min-width: 921px) {
  .hero__content > * { max-width: 570px; }
  .hero__title { font-size: clamp(2.5rem, 3.7vw, 3.7rem); }
  .hero__lead { max-width: 570px; font-size: clamp(1.05rem, 1.4vw, 1.35rem); }
  /* photo starts right where the text column ends, at any screen width */
  .hero__photo {
    width: calc(100% - max(0px, (100% - var(--container)) / 2) - var(--gutter) - 560px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 90px);
            mask-image: linear-gradient(90deg, transparent 0%, #000 90px);
  }
  .hero__shade {
    background: linear-gradient(180deg, rgba(30, 20, 12, .4) 0%, rgba(30, 20, 12, .12) 12%, transparent 20%);
  }
}
@media (min-width: 921px) { .hero__title { font-size: clamp(2.5rem, 3.7vw, 3rem); } }

/* Desktop hero: photo runs full width, with a see-through warm-brown blend behind the text */
@media (min-width: 921px) {
  .hero__photo {
    width: 100%;
    background-position: 50% 44%;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero__shade {
    background:
      linear-gradient(90deg, rgba(42, 27, 17, .78) 0%, rgba(42, 27, 17, .68) 30%, rgba(42, 27, 17, .42) 46%, rgba(42, 27, 17, .12) 60%, transparent 72%),
      linear-gradient(180deg, rgba(30, 20, 12, .45) 0%, rgba(30, 20, 12, .12) 14%, transparent 24%);
  }
}
@media (max-width: 560px) {
  .benefits { grid-template-columns: repeat(3, auto); gap: 1.2rem 1.2rem; }
  .benefits li { font-size: .72rem; letter-spacing: .1em; }
}
@media (min-width: 921px) {
  .hero__shade {
    background:
      linear-gradient(90deg, rgba(42, 27, 17, .86) 0%, rgba(42, 27, 17, .8) 34%, rgba(42, 27, 17, .55) 48%, rgba(42, 27, 17, .2) 61%, transparent 74%),
      linear-gradient(180deg, rgba(30, 20, 12, .45) 0%, rgba(30, 20, 12, .12) 14%, transparent 24%);
  }
}
/* Subtitle never wider than the row of benefit icons: the wrapper takes the icon row's width */
.hero__fit { display: grid; width: max-content; max-width: 100%; }
.hero__fit .hero__lead { contain: inline-size; max-width: none; }
.benefits { grid-template-columns: repeat(3, auto); }

/* ============ CTAs: "Join The Group Trip" + small urgency note underneath ============ */
.hero__actions { flex-direction: column; align-items: flex-start; gap: .7rem; }
.hero__fit .hero__actions { align-items: stretch; margin-top: 2.4rem; }
.hero__fit .hero__cta { justify-content: center; width: 100%; }
.cta__note {
  margin: 0;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  opacity: .85;
}
.hero__fit .cta__note { text-align: center; }
.hero .cta__note, .signup .cta__note { color: #fff; text-shadow: 0 1px 6px rgba(20, 12, 6, .5); }
.itinerary__cta .cta__note, .stories .cta__note, .faqpage .cta__note { color: #8a4426; margin-top: -4px; }
#trip-form { scroll-margin-top: 24px; }

/* Trip cards: button + red, slowly flashing spots count */
.trip-card__cta { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.spots-alert {
  margin: 0;
  color: #d32f2f;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  animation: slow-flash 2.2s ease-in-out infinite;
}
@keyframes slow-flash { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .spots-alert { animation: none; } }

/* ============ Trip 2: 7 day cards fill the grid evenly (4 on top, 3 wider below) ============ */
@media (min-width: 1201px) {
  #trip-2 .days { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  #trip-2 .day { grid-column: span 3; }
  #trip-2 .day:nth-child(n+5) { grid-column: span 4; }
}
@media (min-width: 601px) and (max-width: 1200px) {
  #trip-2 .day:last-child { grid-column: 1 / -1; }
}

/* ============ Past trips: show a slice of the next photo so it's clearly a slider ============ */
.past__strip.carousel__track img { flex-basis: calc((100% - 4 * 12px) / 4.4); }
@media (max-width: 1000px) { .past__strip.carousel__track img { flex-basis: calc((100% - 2 * 12px) / 2.4); } }
@media (max-width: 760px) { .past__strip.carousel__track img { flex-basis: 78%; } }

/* ============ Journey map between the trips: line draws through 8 stops on scroll ============ */
.journey {
  position: relative;
  height: 260vh;                       /* scroll distance used to draw the route */
  background: linear-gradient(180deg, #fbf1e8 0%, #f6e7d8 50%, #fbf1e8 100%);
  color: #2b1b14;
  border-top: 1px solid rgba(138, 68, 38, .16);
}
.journey__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(10px, 2vh, 22px);
  padding: 24px 16px;
}
.journey__head { text-align: center; }
.journey__head .itinerary__kicker { margin-bottom: .4rem; }
.journey__title {
  margin: 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.05; letter-spacing: -.02em;
}
.journey__sub { margin: .5rem 0 0; color: #4a3a32; font-size: clamp(.95rem, 1.2vw, 1.1rem); }
.journey__map {
  width: min(100%, 860px);
  max-height: 68vh;
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(110, 51, 27, .14);
  background: #d9e7e6;
}
.journey__sea { fill: #d6e6e6; }
.journey__land { fill: #f3dfc8; }
.journey__coast { fill: none; stroke: #d7b48f; stroke-width: 3; }
.journey__ocean-label { fill: #7fa2a4; font: italic 500 18px var(--font-display); letter-spacing: .08em; }
.journey__track { fill: none; stroke: rgba(138, 68, 38, .22); stroke-width: 4; stroke-dasharray: 2 10; stroke-linecap: round; }
.journey__line { fill: none; stroke: #b0582f; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.journey__head-dot { fill: #b0582f; stroke: #fff; stroke-width: 4; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25)); }
.journey__stop circle { fill: #fffaf4; stroke: #c9a27e; stroke-width: 3; transition: fill .35s, stroke .35s, transform .35s; transform-box: fill-box; transform-origin: center; }
.journey__num { fill: #a9846a; font: 700 15px var(--font-body); text-anchor: middle; transition: fill .35s; }
.journey__label { fill: #8b7564; font: 600 19px var(--font-body); paint-order: stroke; stroke: #f3dfc8; stroke-width: 5px; transition: fill .35s; }
.journey__stop.is-on circle { fill: #b0582f; stroke: #fff; transform: scale(1.12); }
.journey__stop.is-on .journey__num { fill: #fff; }
.journey__stop.is-on .journey__label { fill: #2b1b14; }
@media (max-width: 600px) {
  .journey { height: 220vh; }
  .journey__label { font-size: 22px; }
  .journey__map { max-height: 62vh; }
}
@media (prefers-reduced-motion: reduce) { .journey { height: auto; } .journey__sticky { position: static; height: auto; } }
.journey__map { aspect-ratio: 640 / 600; width: min(100%, 860px, 70vh * 640 / 600); max-height: none; height: auto; }
@media (max-width: 600px) { .journey__map { width: min(100%, 62vh * 640 / 600); } }

/* ============ Route map as the background of Trip 1 + Trip 2 (line draws as you scroll) ============ */
.route { position: relative; isolation: isolate; background: #fbf1e8; }
.route__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.route__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.route__map { display: block; width: 100%; height: 100%; }
.route > .itinerary { position: relative; z-index: 1; background: transparent; }
.route__sea { fill: #e3eeec; }
.route__land { fill: #f8ebdc; }
.route__coast { fill: none; stroke: #e2c6a6; stroke-width: 2.5; }
.route__ocean-label { fill: #9bb8b9; font: italic 500 16px var(--font-display); letter-spacing: .1em; }
.route__track { fill: none; stroke: rgba(138, 68, 38, .2); stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; }
.route__line { fill: none; stroke: #b0582f; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.route__head-dot { fill: #b0582f; stroke: #fff; stroke-width: 3.5; }
.route__stop circle { fill: #fffaf4; stroke: #d6b796; stroke-width: 2.5; transition: fill .35s, stroke .35s; }
.route__num { fill: #b49579; font: 700 12px var(--font-body); text-anchor: middle; transition: fill .35s; }
.route__label { fill: #a48a74; font: 600 15px var(--font-body); paint-order: stroke; stroke: #f8ebdc; stroke-width: 4px; transition: fill .35s; }
.route__stop.is-on circle { fill: #b0582f; stroke: #fff; }
.route__stop.is-on .route__num { fill: #fff; }
.route__stop.is-on .route__label { fill: #6e331b; }
/* keep the route map quiet behind the content */
.route__map { opacity: .55; }
.route .itinerary__kicker, .route .itinerary__title, .route .itinerary__sub, .route .itinerary__note, .route .cta__note {
  text-shadow: 0 0 6px #fbf1e8, 0 0 14px #fbf1e8, 0 0 24px #fbf1e8;
}
.route .spots { background: rgba(251, 236, 222, .92); }
/* Flat background with just the travel line + 8 stops, fully opaque */
.route__map { opacity: 1; }
.route__label { display: none; }
.route__track { stroke: rgba(176, 88, 47, .28); }
.route__line { opacity: 1; }
.route__stop circle { fill: #fbf1e8; stroke: #d2a983; }

/* Travel line now scrolls with the page: the SVG covers both trips at full height */
.route__sticky { position: absolute; inset: 0; height: auto; overflow: visible; }
.route__map { width: 100%; height: 100%; overflow: visible; }
.route__line { stroke-width: 3.5; }
.route__track { stroke-width: 2.5; }
.route__head-dot { transition: opacity .3s; }
.route .itinerary__kicker, .route .itinerary__title, .route .itinerary__sub, .route .itinerary__note, .route .cta__note { text-shadow: none; }

/* ============ Choose Your Adventure: entrance animation for both trip cards ============ */
.js-anim .trips .trip-card { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.js-anim .trips .trip-card__media img { transform: scale(1.12); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.js-anim .trips .trip-card__body > *,
.js-anim .trips .checks li { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js-anim .trips .tag { opacity: 0; transform: translateY(-8px); transition: opacity .6s ease .5s, transform .6s ease .5s; }

.js-anim .trips.is-in .trip-card,
.js-anim .trips.is-in .trip-card__body > *,
.js-anim .trips.is-in .checks li,
.js-anim .trips.is-in .tag { opacity: 1; transform: none; }
.js-anim .trips.is-in .trip-card__media img { transform: none; }

/* stagger: second card a beat later, then the content inside each card */
.js-anim .trips .trip-card:nth-child(2) { transition-delay: .15s; }
.js-anim .trips .trip-card__body > :nth-child(1) { transition-delay: .35s; }
.js-anim .trips .trip-card__body > :nth-child(2) { transition-delay: .45s; }
.js-anim .trips .checks li:nth-child(1) { transition-delay: .55s; }
.js-anim .trips .checks li:nth-child(2) { transition-delay: .65s; }
.js-anim .trips .checks li:nth-child(3) { transition-delay: .75s; }
.js-anim .trips .trip-card__body > :nth-child(4) { transition-delay: .85s; }
.js-anim .trips .trip-card__body > :nth-child(5) { transition-delay: .95s; }
.js-anim .trips .trip-card:nth-child(2) .trip-card__body > *,
.js-anim .trips .trip-card:nth-child(2) .checks li { transition-delay: calc(var(--d, 0s) + .15s); }
.js-anim .trips .trip-card:nth-child(2) .trip-card__body > :nth-child(1) { --d: .35s; }
.js-anim .trips .trip-card:nth-child(2) .trip-card__body > :nth-child(2) { --d: .45s; }
.js-anim .trips .trip-card:nth-child(2) .checks li:nth-child(1) { --d: .55s; }
.js-anim .trips .trip-card:nth-child(2) .checks li:nth-child(2) { --d: .65s; }
.js-anim .trips .trip-card:nth-child(2) .checks li:nth-child(3) { --d: .75s; }
.js-anim .trips .trip-card:nth-child(2) .trip-card__body > :nth-child(4) { --d: .85s; }
.js-anim .trips .trip-card:nth-child(2) .trip-card__body > :nth-child(5) { --d: .95s; }

/* once in, cards lift slightly on hover */
.js-anim .trips.is-in .trip-card:hover { transform: translateY(-6px); transition-delay: 0s; box-shadow: 0 22px 44px rgba(110, 51, 27, .16); }
.js-anim .trips.is-in .trip-card:hover .trip-card__media img { transform: scale(1.04); transition: transform .6s ease; }
/* phones load a smaller hero photo */
@media (max-width: 760px) { .hero__photo { background-image: url("assets/photos/hero-boards-900.jpg"); } }

/* ============ Choose Your Adventure: swipeable cards on phones ============ */
.swipe-hint, .trips__dots { display: none; }
@media (max-width: 760px) {
  .swipe-hint {
    display: flex; align-items: center; justify-content: center; gap: .55rem;
    margin: 1.6rem 0 -1.2rem;
    color: #8a4426; font-weight: 600; font-size: .95rem; letter-spacing: .02em;
    transition: opacity .4s;
  }
  .swipe-hint svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .swipe-hint__hand { animation: swipe-hand 1.8s ease-in-out infinite; }
  .swipe-hint__arrow { animation: swipe-arrow 1.8s ease-in-out infinite; }
  .swipe-hint.is-done { opacity: .45; }
  @keyframes swipe-hand { 0%, 100% { transform: translateX(6px) rotate(-8deg); } 50% { transform: translateX(-6px) rotate(4deg); } }
  @keyframes swipe-arrow { 0%, 100% { transform: translateX(0); opacity: .6; } 50% { transform: translateX(6px); opacity: 1; } }

  .trips__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    gap: 14px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 8px var(--gutter) 22px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .trips__grid::-webkit-scrollbar { display: none; }
  .trips__grid .trip-card { flex: 0 0 86%; scroll-snap-align: center; }

  .trips__dots { display: flex; justify-content: center; gap: 8px; margin-top: 2px; }
  .trips__dots span { width: 8px; height: 8px; border-radius: 99px; background: rgba(138, 68, 38, .25); transition: width .3s, background .3s; }
  .trips__dots span.is-active { width: 22px; background: #8a4426; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .swipe-hint svg { animation: none; } }

/* ============ Mobile hero: centred, compact one-line rows, 3-line headline ============ */
html, body { overflow-x: clip; }              /* the page itself never slides sideways */
@media (max-width: 760px) {
  .hero__content { align-items: center; text-align: center; }
  .hero__content > * { margin-inline: auto; }
  .rating {
    flex-wrap: nowrap; justify-content: center; white-space: nowrap;
    gap: .45rem; font-size: clamp(.78rem, 3.6vw, .95rem);
  }
  .rating__g { width: 26px; height: 26px; }
  .rating__g svg { width: 16px; height: 16px; }
  .rating__stars { font-size: 1em; letter-spacing: .06em; }
  .hero__title { font-size: clamp(1.7rem, 8.4vw, 2.5rem); line-height: 1.06; }
  .hero__fit { margin-inline: auto; }
  .hero__lead { text-align: center; }
  .benefits { justify-content: center; }
  .trusted {
    flex-wrap: nowrap; justify-content: center; white-space: nowrap;
    gap: .6rem; font-size: clamp(.8rem, 3.7vw, 1rem);
  }
  .trusted__faces img { width: 30px; height: 30px; margin-left: -8px; }
  .trusted__faces img:first-child { margin-left: 0; }
  .trusted__text { border-left: 1px solid rgba(255, 255, 255, .45); padding-left: .6rem; }

  /* swiping the trip cards moves only the cards, never the page */
  .trips__grid { overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
}

/* "Very limited spots remaining" sits inside the button, under the main text */
.btn--stack { flex-direction: column; gap: .3rem; line-height: 1.1; padding-top: .78em; padding-bottom: .72em; text-align: center; }
.btn__main { display: inline-flex; align-items: center; gap: .6em; }
.btn__sub { font-size: .56em; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }

/* ============ Mobile "Join Us in Morocco": centred, 3 icons side by side ============ */
@media (max-width: 760px) {
  .signup__intro { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .signup__intro .hero__actions { align-items: center; }
  .signup .facts.signup__facts {
    flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: flex-start;
    gap: 0; width: 100%;
  }
  .signup .facts.signup__facts li {
    flex: 1 1 0; flex-direction: column; align-items: center; text-align: center;
    gap: .45rem; margin: 0; padding: 0 .4rem; min-height: 0;
    font-size: .88rem; line-height: 1.25;
    border-right: 1px solid var(--divider);
  }
  .signup .facts.signup__facts li:last-child { border-right: 0; }
  .signup .facts.signup__facts svg { width: 30px; height: 30px; }
}

/* ============ Airplane on the travel line ============ */
.route__plane { transition: opacity .3s; }
.route__plane path { fill: #b0582f; stroke: #fffaf4; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(60, 30, 15, .3)); }
/* Phones: more room between the stacked day cards so the plane can fly between them */
@media (max-width: 600px) {
  .route .days { gap: 34px; }
}

/* ============ Mobile: centre everything except the itineraries and the FAQ list ============ */
@media (max-width: 760px) {
  /* Choose Your Adventure cards */
  .trip-card__body { text-align: center; }
  .trip-card__meta { justify-content: center; flex-wrap: wrap; }
  .trip-card__body .checks { width: fit-content; max-width: 100%; margin-inline: auto; text-align: left; }
  .date-pill { justify-content: center; }
  .trip-card__foot { flex-direction: column; align-items: center; gap: .9rem; }
  /* Past trips + reviews */
  .reviews__head { flex-direction: column; justify-content: center; text-align: center; padding-inline: 0; }
  .reviews__score { padding-left: 0; border-left: 0; justify-content: center; flex-wrap: wrap; }
  .review { text-align: center; }
  .review__by { justify-content: center; flex-wrap: wrap; }
  /* Meet your host */
  .host { text-align: center; }
  .host__text { margin-inline: auto; }
  .host__stats { margin-inline: auto; }
  .faqpage__cta { text-align: center; }
}
.route__fly { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }

/* ============ Mobile: sticky top menu ============ */
@media (max-width: 760px) {
  .hero { padding-top: 78px; }                     /* room for the fixed menu bar */
  .hero .nav {
    position: fixed; top: 0; left: 0; right: 0;
    max-width: none; z-index: 100;
    padding-top: 12px; padding-bottom: 12px;
    transition: background .3s, box-shadow .3s, padding .3s;
  }
  .hero .nav.is-stuck {
    background: rgba(35, 23, 15, .94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
    padding-top: 8px; padding-bottom: 8px;
  }
  .hero .nav.is-stuck .nav__links a { text-shadow: none; }
  /* jumping to a section from the menu: don't hide its top under the bar */
  section[id], div[id="faqs"], #trip-form { scroll-margin-top: 72px; }
}
@media (max-width: 760px) { .hero { z-index: 50; } }   /* the hero (and its fixed menu bar) sits above later sections */
@media (max-width: 760px) { .hero .nav.is-stuck { background: rgba(35, 23, 15, .75); } }   /* 75% see-through header on phones */
/* Phones: logo 20% smaller (badge 44 → 35px, wordmark 33.6 → 27px) */
@media (max-width: 760px) {
  .hero .logo__badge { width: 35px; height: 35px; }
  .hero .logo__main { font-size: 26.9px; }
  .hero .logo { gap: 7px; }
}
/* Phones: 5px more space under the logo/menu bar (12 → 17px; 8 → 13px once scrolled) */
@media (max-width: 760px) {
  .hero .nav { padding-bottom: 17px; }
  .hero .nav.is-stuck { padding-bottom: 13px; }
}

/* ============ Sign-up form: "Price will increase in" countdown ============ */
.countdown {
  margin: 1.1rem 0 1.4rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff4ea 0%, #fbe7d6 100%);
  border: 1px solid rgba(176, 88, 47, .22);
  text-align: center;
}
.countdown__label {
  margin: 0 0 .7rem;
  color: #b0582f; font-weight: 700; font-size: .8rem;
  letter-spacing: .2em; text-transform: uppercase;
}
.countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; }
.countdown__unit {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  padding: .55rem .2rem .5rem;
  border-radius: 12px; background: #fff; box-shadow: 0 3px 10px rgba(110, 51, 27, .08);
}
.countdown__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1; color: #2b1b14;
  font-variant-numeric: tabular-nums;
}
.countdown__name { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8a6f5f; }
/* Hero benefit icons in white */
.benefits svg { stroke: #fff; }
/* spam trap field: invisible to people, bots fill it in */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Thank-you screen: WhatsApp conversation starter */
.wa-start { margin: .4rem 0 1rem; }
.wa-start__lead { margin: 0 0 .8rem; color: #4a3a32; font-size: .98rem; }
.btn--wa { background: #25d366; color: #073b1c; box-shadow: 0 8px 22px rgba(37, 211, 102, .3); }
.btn--wa:hover { background: #1fbe5b; }
.btn--wa svg { width: 22px; height: 22px; fill: currentColor; }
.btn--wa { max-width: 100%; justify-content: center; }
@media (max-width: 560px) { .btn--wa { font-size: 1rem; padding: .85em 1.15em; gap: .5em; } }

/* WhatsApp button: white text + icon on a deeper WhatsApp green (keeps white text readable) */
.btn--wa {
  background: #1da851; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  box-shadow: 0 8px 22px rgba(29, 168, 81, .32);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .12);
}
.btn--wa:hover { background: #17924a; color: #fff; }
.btn--wa svg { width: 22px; height: 22px; fill: #fff; flex: none; }
/* Phones: full-width, easy-to-tap button that never runs off the card */
@media (max-width: 760px) {
  .wa-start { width: 100%; }
  .btn--wa {
    display: flex; width: 100%;
    min-height: 54px; padding: .8em 1em;
    font-size: 1.02rem; line-height: 1.2;
    white-space: normal; text-align: center;
  }
  .form__done .btn--dark { width: 100%; justify-content: center; }
}
.form__done .btn--wa svg { width: 22px; height: 22px; margin: 0; fill: #fff; stroke: none; color: #fff; }
