/* Full-bleed boards - contacts-style edge-to-edge photo sections.
   Tour and product card grids keep their own spacing. */

.where {
  padding: 0 !important;
  background: #fff !important;
  overflow-x: clip;
}

.where__divider {
  background: #fff !important;
  padding: clamp(40px, 7svh, 80px) clamp(20px, 5vw, 72px);
  text-align: center;
}

.where__headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.2vw, 52px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin: 0 auto;
  max-width: 32ch;
  color: var(--ink) !important;
  display: block;
}

.where__story {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  min-height: min(92svh, 920px);
  width: 100%;
  overflow: hidden;
  background: #0c0905;
  color: #fff;
}

.where__story-half {
  position: relative;
  min-height: inherit;
  overflow: hidden;
}

.where__story-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.where__story-half--copy .where__story-media {
  filter: saturate(0.75) brightness(0.45) contrast(1.05);
}

.where__story-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      160deg,
      rgba(8, 6, 3, 0.35) 0%,
      rgba(8, 6, 3, 0.55) 45%,
      rgba(8, 6, 3, 0.72) 100%
    );
  pointer-events: none;
}

.where__story-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(18px, 3svh, 28px);
  padding: clamp(40px, 7svh, 88px) clamp(24px, 4vw, 64px);
}

.where__story .where__label {
  color: rgba(255, 255, 255, 0.72) !important;
}

.where__story .where__about {
  color: rgba(255, 255, 255, 0.92) !important;
  max-width: 34rem;
}

.where__story .where__quote {
  border-top-color: rgba(255, 255, 255, 0.28);
  max-width: 35rem;
}

.where__story .where__quote-text {
  color: #fff !important;
}

.gift,
.gift.team {
  padding: 0 !important;
  border: 0 !important;
  background: var(--dark);
}

.gift__board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.gift__intro {
  position: relative;
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  min-height: min(48svh, 420px);
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  color: #fff;
}

.gift__intro-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.7);
}

.gift__intro-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 8, 5, 0.88) 0%, rgba(10, 8, 5, 0.25) 55%, rgba(10, 8, 5, 0.35) 100%);
}

.gift__intro-copy {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.gift__intro .gift__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 14px;
}

.gift__intro .gift__lead {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 42ch;
}

.gift__intro--plain {
  min-height: 0;
  align-items: flex-end;
  padding: clamp(48px, 7svh, 80px) clamp(24px, 5vw, 64px) 28px;
  background: #fff;
  color: var(--ink);
}

.gift.team .gift__intro--plain {
  background: var(--cream);
}

.gift__intro--end {
  justify-content: flex-end;
  text-align: right;
}

.gift__intro--end .gift__intro-copy {
  margin-left: auto;
}

.gift__intro--end .gift__lead {
  margin-left: auto;
}

.gift__intro--plain .gift__title {
  color: var(--ink);
}

.gift__intro--plain .gift__lead {
  color: var(--muted);
}

.gift__intro--plain .gift__intro-copy {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: ". eyebrow" "lead title";
  gap: 12px clamp(24px, 5vw, 72px);
}
.gift__eyebrow { grid-area: eyebrow; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.gift__intro--plain .gift__title { grid-area: title; margin: 0; }
.gift__intro--plain .gift__lead { grid-area: lead; align-self: center; justify-self: end; text-align: right; max-width: none; }
.gift.team .gift__intro--plain .gift__intro-copy { grid-template-areas: "eyebrow ." "title lead"; }
.gift.team .gift__eyebrow, .gift.team .gift__intro--plain .gift__title { text-align: left; }
.gift.team .gift__intro--plain .gift__lead { justify-self: end; text-align: right; }
@media (max-width: 640px) {
  .gift__intro--plain .gift__intro-copy { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "lead"; }
  .gift.team .gift__intro--plain .gift__intro-copy { grid-template-areas: "eyebrow" "title" "lead"; }
  .gift.team .gift__eyebrow, .gift.team .gift__intro--plain .gift__title { text-align: left; }
  .gift__intro--plain .gift__lead { justify-self: start; text-align: left; }
}

.gift-split {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(78svh, 720px);
  margin: 0;
}

.gift-split__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 520px;
  padding: clamp(28px, 4vw, 48px);
  color: #fff;
  overflow: hidden;
  background: var(--dark);
}

.gift-split__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(0.82) brightness(0.72);
  transition: transform 0.7s ease;
}

.gift-split__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12, 9, 5, 0.88) 0%, rgba(12, 9, 5, 0.28) 55%, rgba(12, 9, 5, 0.4) 100%);
  pointer-events: none;
}

.gift-split__visual:hover .gift-split__bg {
  transform: scale(1.08);
}

.gift-split__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 28rem;
}

.gift-split__label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.gift-split__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}

.gift-split__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(18px, 3svh, 28px);
  padding: clamp(40px, 6svh, 72px) clamp(24px, 5vw, 64px);
  background: #fff;
  color: var(--ink);
}

.gift.team .gift-split__panel {
  background: var(--cream);
}

.gift-split--flip .gift-split__visual {
  order: 2;
}

.gift-split--flip .gift-split__panel {
  order: 1;
}

.gift-split__eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.gift-split__text {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  color: var(--ink);
}

.gift__board .gift-card {
  min-height: clamp(420px, 48vw, 560px);
  margin: 0;
  border-radius: 0;
}

.gift__board .gift-card--wide {
  grid-column: 1 / -1;
  min-height: clamp(480px, 52vw, 620px);
}

.gift-overlay {
  grid-column: 1 / -1;
  position: relative;
  min-height: min(82svh, 780px);
  margin: 0;
  overflow: hidden;
  color: #fff;
  background: #0c0905;
}

.gift-overlay__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  filter: saturate(0.82) brightness(0.55) contrast(1.05);
}

.gift-overlay__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(12, 9, 5, 0.88) 0%,
      rgba(12, 9, 5, 0.55) 42%,
      rgba(12, 9, 5, 0.72) 100%
    );
  pointer-events: none;
}

.gift-overlay__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  min-height: inherit;
  padding: 0 0 0 clamp(20px, 5vw, 72px);
}

.gift-overlay__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  max-width: 34rem;
  padding: clamp(36px, 6svh, 72px) 0;
}

.gift-overlay__eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.gift-overlay__text {
  margin: 0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.gift-overlay__card {
  position: relative;
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  height: auto;
  min-height: 0;
  margin: 160px 48px 0 0;
  overflow: hidden;
  background: var(--dark);
}

.gift-overlay__card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.04);
  filter: saturate(0.82) brightness(0.55);
}

.gift-overlay__card-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(12, 9, 5, 0.9) 0%, rgba(12, 9, 5, 0.45) 45%, rgba(12, 9, 5, 0.55) 100%);
  pointer-events: none;
}

.gift-overlay__card-body {
  position: absolute;
  z-index: 2;
  top: calc(50% - 80px);
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  padding: clamp(24px, 3vw, 36px);
  transform: translateY(-50%);
}

.gift-overlay__label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.gift-overlay__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  max-width: 60%;
}

.gift-overlay--flip .gift-overlay__shade {
  background:
    linear-gradient(
      270deg,
      rgba(12, 9, 5, 0.88) 0%,
      rgba(12, 9, 5, 0.55) 42%,
      rgba(12, 9, 5, 0.72) 100%
    );
}

.gift-overlay--flip .gift-overlay__grid {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.05fr);
  padding: 0 clamp(20px, 5vw, 72px) 0 0;
}

.gift-overlay--flip .gift-overlay__copy {
  order: 2;
  padding: clamp(36px, 6svh, 72px) 0 clamp(36px, 6svh, 72px) clamp(24px, 4vw, 48px);
}

.gift-overlay--flip .gift-overlay__card {
  order: 1;
  margin: 160px 0 0 48px;
}

/* Share the content row so both columns start at the same height. */
@media (min-width: 901px) {
  .home .gift-overlay__grid {
    grid-template-rows: minmax(196px, 1fr) auto minmax(36px, 1fr);
    row-gap: 0;
  }

  .home .gift-overlay__copy {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
    padding-top: 0;
    padding-bottom: 0;
  }

  .home .gift-overlay__card {
    display: grid;
    grid-column: 2;
    grid-row: 1 / -1;
    grid-template-rows: subgrid;
    row-gap: 0;
  }

  .home .gift-overlay__card-body {
    position: relative;
    grid-row: 2;
    top: auto;
    transform: none;
    padding-top: 0;
    padding-bottom: 0;
  }

  .home .gift-overlay--flip .gift-overlay__copy { grid-column: 2; }
  .home .gift-overlay--flip .gift-overlay__card { grid-column: 1; }
}

.safe {
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
  gap: 0 !important;
}

.safe__divider {
  background: #fff;
  padding: clamp(40px, 7svh, 80px) clamp(20px, 5vw, 72px);
  text-align: center;
}

.safe__headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.2vw, 52px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin: 0 auto;
  max-width: 32ch;
  color: var(--ink);
}

.safe__board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(78svh, 720px);
}

.safe__visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--dark);
}

.safe__visual-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) brightness(0.88);
}

.safe__visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(12, 9, 5, 0.08) 0%, rgba(12, 9, 5, 0.22) 100%);
}

.safe__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 4svh, 40px);
  padding: clamp(40px, 6svh, 72px) clamp(24px, 5vw, 64px);
  background: #fff;
}

.safe__lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  max-width: 36rem;
}

.safe__panel .safe__grid {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(26, 18, 8, 0.12);
  padding-top: 0;
}

.safe__panel .safe__item {
  padding: 22px 0;
  border-bottom: 1px solid rgba(26, 18, 8, 0.12);
}

.safe__panel .safe__name {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--ink);
}

.safe__panel .safe__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.media {
  padding: 0 !important;
  border: 0 !important;
  background: #fff;
}

.media__head {
  max-width: none;
  margin: 0;
  padding: clamp(48px, 7svh, 80px) clamp(24px, 5vw, 64px);
  background: #fff;
}

.media__head .media__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
}

.media__head .media__lead {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  max-width: 42rem;
}

.media__video {
  position: relative;
  width: 100%;
  height: min(78svh, 820px);
  margin: 0;
}

.media__mosaic {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr !important;
  grid-template-rows: minmax(220px, 32svh) minmax(220px, 32svh) minmax(40svh, 520px) !important;
  gap: 4px !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
}

.media__shot {
  position: relative;
  min-height: 0;
  margin: 0;
  aspect-ratio: auto;
}

.media__shot--tall {
  grid-column: 1;
  grid-row: 1 / 3;
}

.media__shot--wide {
  grid-column: 1 / -1;
}

.media__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(10, 8, 5, 0.75), transparent);
}

.media__caption--wide {
  max-width: 640px;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to right, rgba(10, 8, 5, 0.78) 0%, rgba(10, 8, 5, 0.28) 55%, transparent 100%);
  padding: clamp(32px, 5vw, 64px);
}

.media__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 900px) {
  .media__mosaic {
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
  }

  .media__shot--tall,
  .media__shot--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .media__shot--tall {
    min-height: 70svh;
  }

  .media__shot--wide {
    min-height: 56svh;
  }

  .media__caption--wide {
    inset: auto 0 0 0;
    max-width: none;
    background: linear-gradient(to top, rgba(10, 8, 5, 0.75), transparent);
  }
}

@media (max-width: 900px) {
  .where__board,
  .safe__board,
  .gift__board {
    grid-template-columns: 1fr;
  }

  .gift-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .gift-split__visual {
    min-height: 420px;
  }

  .gift-overlay {
    min-height: auto;
  }

  .gift-overlay__grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .gift-overlay__copy {
    order: 2;
    padding: 36px 20px 48px;
  }

  .gift-overlay__card {
    order: 1;
    min-height: 460px;
    height: auto;
    margin: 0;
  }

  .gift-overlay--flip .gift-overlay__grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .gift-overlay--flip .gift-overlay__copy {
    order: 2;
    padding: 36px 20px 48px;
  }

  .gift-overlay--flip .gift-overlay__card {
    order: 1;
    margin: 0;
  }

  .gift-split--flip .gift-split__visual,
  .gift-split--flip .gift-split__panel {
    order: unset;
  }

  .gift-overlay__card-body {
    position: relative;
    top: auto;
    transform: none;
    height: 100%;
    justify-content: center;
    padding: clamp(24px, 3vw, 36px);
  }

  .gift__intro {
    grid-column: auto;
    min-height: 320px;
  }

  .where__story {
    grid-template-columns: 1fr !important;
  }

  .where__visual,
  .safe__visual {
    min-height: 400px;
  }

  .media__video {
    height: 62svh;
  }
}

/* Homepage section headings and compact descriptions. */
.gift__intro--plain .gift__lead { max-width: 38ch; }
.safe__divider, .media__head, .home .how__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px clamp(24px, 5vw, 72px);
  text-align: left;
  max-width: none;
}
.safe__divider, .media__head { padding-bottom: 28px; }
.safe__divider .safe__headline, .media__head .media__title, .home .how__head .how__title { margin: 0; }
.safe__caption, .media__head .media__lead, .home .how__head .how__lead {
  max-width: 38ch;
  justify-self: end;
  text-align: right;
  margin: 0;
}
.safe__caption { font-size: clamp(15px, 1.5vw, 18px); line-height: 1.5; color: var(--muted); }
@media (max-width: 640px) {
  .safe__divider, .media__head, .home .how__head { grid-template-columns: 1fr; gap: 14px; }
  .safe__caption, .media__head .media__lead, .home .how__head .how__lead { justify-self: start; text-align: left; }
}

/* Shared section layout: heading left, compact description right. */
.where__divider, .tour-media__head, .how__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px clamp(24px, 5vw, 72px);
  max-width: none;
  text-align: left;
}
.where__divider, .safe__divider, .gift__intro--plain { padding-top: 32px; padding-bottom: 32px; }
.safe__eyebrow, .how__eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.safe__titles { text-align: left; }
.where__titles .where__headline { margin: 12px 0 0; max-width: none; font-size: clamp(28px, 4vw, 44px); }
.where__caption, .tour-media__head .tour-media__lead, .how__head .how__lead,
.explore-hub__head--split .explore-hub__lead { max-width: 38ch; justify-self: end; text-align: right; }
.where__caption { font-size: 18px; line-height: 1.55; color: var(--muted); }
.trips__head .trips__lead { max-width: 38ch; text-align: right; }
.tour-media__head .tour-media__lead { margin: 0; }
.how__head .how__title { margin: 0; }
.coop__intro { max-width: none; display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "eyebrow ." "title lead"; gap: 12px 48px; align-items: center; }
.coop__intro .coop__eyebrow { grid-area: eyebrow; }
.coop__intro .coop__headline { grid-area: title; margin: 0; }
.coop__intro .coop__lead { grid-area: lead; max-width: 38ch; justify-self: end; text-align: right; }
.tour-day__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.tour-day__inner .tour-day__title { margin: 0; }
.tour-day__inner .tour-day__text { width: calc((100% - 42px) * .75 + 28px); max-width: none; justify-self: start; margin: 0; }
.tour-day__inner .tour-day__shots { grid-column: 1 / -1; }
@media (max-width: 800px) {
  .where__divider, .tour-media__head, .how__head, .tour-day__inner { grid-template-columns: 1fr; gap: 18px; }
  .coop__intro { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "lead"; }
  .where__caption, .tour-media__head .tour-media__lead, .how__head .how__lead,
  .coop__intro .coop__lead, .tour-day__inner .tour-day__text,
  .explore-hub__head--split .explore-hub__lead { justify-self: start; text-align: left; }
  .trips__head .trips__lead { text-align: left; }
  .tour-day__inner .tour-day__text { width: 100%; }
}

.tour-program__head::after { content: ""; display: block; grid-column: 1 / -1; width: 100%; height: 1px; background: rgba(26, 18, 8, .3); }

/* Match tour beige surfaces to the introductory story section. */
.tour-page { --cream: var(--paper); }
.tour-page .tour-tabs__panel {
  width: calc((100% - 42px) * .75 + 28px);
  max-width: none;
}
.tour-page .tour-tabs__gallery { gap: 14px; }

.tour-page .tour-faq { padding-top: 0; }
.tour-faq > .tour-heading {
  margin: 0 calc(-1 * var(--tp-pad, clamp(20px, 5vw, 72px))) 0;
  padding: 32px var(--tp-pad, clamp(20px, 5vw, 72px));
  background: #fff;
  grid-template-areas: "lead title";
}
.tour-faq > .tour-heading > div { grid-area: title; text-align: right; }
.tour-faq > .tour-heading > .tour-heading__lead {
  grid-area: lead;
  justify-self: start;
  text-align: left;
}
@media (max-width: 900px) {
  .tour-page .tour-tabs__panel { width: 100%; }
}
@media (max-width: 800px) {
  .tour-faq > .tour-heading { grid-template-areas: "title" "lead"; }
  .tour-faq > .tour-heading > div { text-align: left; }
}
.tour-faq__a { width: calc((100% - 42px) * .75 + 28px); max-width: none; }
@media (max-width: 800px) {
  .tour-faq__a { width: 100%; }
}
@media (max-width: 900px) {
  .tour-day__inner .tour-day__text, .tour-faq__a { width: 100%; }
}

/* Tour section titles with supporting copy. */
.tour-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px clamp(24px, 5vw, 72px); }
.tour-heading .tour-eyebrow { color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.tour-heading .tour-section-title { margin: 0; padding: 0; }
.tour-heading__lead { justify-self: end; max-width: 38ch; font-size: 17px; line-height: 1.55; color: var(--muted); text-align: right; margin: 0; }
.tour-heading--inset { margin-bottom: 32px; }
@media (max-width: 800px) {
  .tour-heading { grid-template-columns: 1fr; gap: 16px; }
  .tour-heading__lead { justify-self: start; text-align: left; }
}

/* Alternating homepage headings and the gallery separator. */
.gift:not(.team) .gift__intro--plain .gift__eyebrow,
.gift:not(.team) .gift__intro--plain .gift__title { text-align: right; }
.gift:not(.team) .gift__intro--plain .gift__lead { justify-self: start; text-align: left; }
.safe__divider { grid-template-areas: "caption titles"; }
.safe__titles { grid-area: titles; text-align: right; }
.safe__titles .safe__headline {
  width: 100%;
  max-width: none;
  text-align: inherit;
}
.safe__caption { grid-area: caption; justify-self: start; text-align: left; }
.media__head { background: var(--cream); }
.home .safe + .media > .media__head {
  border-top: 1px solid var(--line);
}
@media (max-width: 640px) {
  .gift:not(.team) .gift__intro--plain .gift__eyebrow,
  .gift:not(.team) .gift__intro--plain .gift__title,
  .gift.team .gift__intro--plain .gift__lead { text-align: left; }
  .gift.team .gift__intro--plain .gift__lead { justify-self: start; }
  .safe__divider { grid-template-areas: "titles" "caption"; }
  .safe__titles { text-align: left; }
}

/* Explicit cooperation heading positions keep captions in the opposite column. */
.gift.coop-format--heading-left .gift__intro--plain .gift__intro-copy { grid-template-areas: "eyebrow ." "title lead"; }
.gift.coop-format--heading-right .gift__intro--plain .gift__intro-copy { grid-template-areas: ". eyebrow" "lead title"; }
.gift.coop-format--heading-left .gift__intro--plain .gift__eyebrow,
.gift.coop-format--heading-left .gift__intro--plain .gift__title { text-align: left; }
.gift.coop-format--heading-left .gift__intro--plain .gift__lead { justify-self: end; text-align: right; margin: 0; }
.gift.coop-format--heading-right .gift__intro--plain .gift__eyebrow,
.gift.coop-format--heading-right .gift__intro--plain .gift__title { text-align: right; }
.gift.coop-format--heading-right .gift__intro--plain .gift__lead { justify-self: start; text-align: left; margin: 0; }
@media (max-width: 640px) {
  .gift.coop-format .gift__intro--plain .gift__intro-copy { grid-template-areas: "eyebrow" "title" "lead"; }
  .gift.coop-format .gift__intro--plain .gift__eyebrow,
  .gift.coop-format .gift__intro--plain .gift__title,
  .gift.coop-format .gift__intro--plain .gift__lead { text-align: left; justify-self: start; }
}

/* Dividers belong to known white/beige transitions, not every section. */
.where:has(+ .trips),
.trips:has(+ .gift),
.gift:not(.team):has(+ .gift.team),
.gift.team:has(+ .gift:not(.team)),
.coop:has(+ .gift:not(.team)),
.tour-why:has(+ .tour-story),
.tour-story:has(+ .tour-stats),
.tour-program > .tour-program__head:has(+ .tour-day--light),
.tour-program > .tour-day:has(+ .tour-day),
.tour-faq > .tour-heading,
.tour-faq:has(+ .tour-reviews),
.media__head {
  border-bottom: 1px solid var(--line);
}
/* Gift introductions and the copy beneath them share the same background. */
.tour-page .tour-tabs {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gift__intro--plain { border-bottom: 0; }
/* Avoid stacking the old top border on the preceding section divider. */
.gift { border-top: 0; }
/* The program heading divider is drawn by its border only. */
.tour-program__head::after { display: none; }
