.page-experiences-system { background: var(--paper-100); }

#experience-list,
#elephant-tracking,
#sundowner-drive,
#nature-walk,
#hiking-safari,
#enquire { scroll-margin-top: 7rem; }

.experiences-hero { min-height: min(49rem, 92svh); background: var(--iron-950); }
.experiences-hero > img {
  width: 100%;
  height: min(49rem, 92svh);
  min-height: 40rem;
  object-fit: cover;
  object-position: 52% 56%;
  filter: saturate(.82) contrast(1.03);
}
.experiences-hero .home-hero__shade { background: linear-gradient(90deg, rgb(20 11 7 / 20%), transparent 58%); }
.experiences-hero__sheet { right: max(var(--page-gutter), calc((100vw - var(--content-max)) / 2)); left: auto; width: min(40rem, calc(100% - 2.5rem)); }
.experiences-hero__sheet h1 { max-width: 9ch; font-size: clamp(2.85rem, 2rem + 2.6vw, 4.5rem); }

.experience-text-link {
  display: inline-flex;
  min-height: 2.6rem;
  align-items: center;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  text-transform: uppercase;
  font: 500 .7rem/1.4 var(--field);
  letter-spacing: .1em;
}
.experience-text-link--reverse { color: #f4d2bd; }

.experiences-intro { position: relative; padding-block: clamp(5rem, 7.5vw, 7rem); overflow: hidden; }
.experiences-intro__layout {
  display: grid;
  grid-template-columns: minmax(20rem, .9fr) minmax(24rem, 1.1fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.experiences-intro__layout h2 { max-width: 11ch; }
.experiences-intro__note {
  padding: clamp(2rem, 3.5vw, 3.25rem);
  background: #fbf3e5 url("assets/ui/parchment-texture.webp") center / 560px auto repeat;
  background-blend-mode: screen;
  box-shadow: none;
  filter: drop-shadow(0 8px 16px rgb(39 24 14 / 18%));
  transform: rotate(.25deg);
}
.experiences-intro__note .lead { margin: 0; }

.experience-jump {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3rem, 5vw, 4.5rem);
  background: var(--iron-950) url("assets/ui/charcoal-sheet.webp") center / cover no-repeat;
  box-shadow: var(--shadow-print);
}
.experience-jump a { display: grid; gap: .5rem; min-width: 0; padding: 1.8rem clamp(.9rem, 2vw, 1.8rem); color: var(--text-reverse); text-decoration: none; }
.experience-jump a + a { border-left: 1px solid rgb(255 248 239 / 18%); }
.experience-jump span { color: var(--firelight-400); font: 500 .64rem/1 var(--field); letter-spacing: .1em; }
.experience-jump strong { font: 500 clamp(1.1rem, .95rem + .45vw, 1.55rem)/1.15 var(--display); }
.experience-jump a:hover { background: rgb(140 40 27 / 34%); }
.experience-jump a:focus-visible { outline: 2px solid var(--firelight-400); outline-offset: -5px; }

.experience-detail { position: relative; padding-block: var(--section-space); }
.experience-detail__layout { display: grid; grid-template-columns: minmax(25rem, 1.02fr) minmax(25rem, .98fr); gap: clamp(3rem, 7vw, 7rem); align-items: stretch; }
.experience-gallery {
  display: grid;
  min-width: 0;
  min-height: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(2.8rem, 3.6vw, 4rem) clamp(1.5rem, 2vw, 2.3rem);
  align-self: stretch;
}
.page-experiences-system .experience-photo {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-column: auto;
  grid-row: auto;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
}
.page-experiences-system .experience-photo--lead { grid-column: 1 / -1; }
.page-experiences-system .experience-gallery--two .experience-photo--support { grid-column: 1 / -1; }
.experience-photo .photo-frame { min-height: 0; height: 100%; }
.experience-gallery .photo-frame > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; filter: saturate(.84) contrast(1.04); }
.experience-photo figcaption { padding-top: 2.35rem; }
.experience-photo--bottom-tape figcaption { padding-top: 3.35rem; }
.experience-copy { padding: clamp(2.35rem, 4.5vw, 4.4rem); }
.experience-copy h2 { max-width: 11ch; margin-bottom: 1.5rem; }
.experience-copy > p:not(.field-label) { color: var(--stone-600); }
.experience-copy.oxide-block > p:not(.field-label) { color: rgb(255 248 239 / 78%); }
.experience-copy .button { margin-top: 1.5rem; }

.experience-facts { margin: 2rem 0 0; padding: clamp(1.3rem, 2.5vw, 2rem); color: var(--ink-900); }
.experience-facts .field-label { margin-bottom: .7rem; }
.experience-facts dl { margin: 0; }
.experience-facts dl div { display: grid; grid-template-columns: minmax(8rem, .8fr) minmax(10rem, 1.2fr); gap: 1rem; padding: .68rem 0; border-top: 1px solid rgb(180 151 116 / 62%); }
.experience-facts dt { color: var(--stone-600); text-transform: uppercase; font: 500 .66rem/1.45 var(--field); letter-spacing: .08em; }
.experience-facts dd { margin: 0; font-size: .9rem; }

.experience-detail--elephant { background: var(--paper-200); overflow: hidden; }
.experience-gallery--elephant { transform: rotate(-.16deg); }
.experience-gallery--elephant .experience-photo--lead img { object-position: 50% 54%; }
.experience-detail--sundowner {
  background: var(--iron-950) url("assets/ui/parchment-texture.webp") center top / 560px auto repeat;
  background-blend-mode: multiply;
  color: var(--text-reverse);
}
.experience-detail__layout--sundowner { grid-template-columns: minmax(24rem, .9fr) minmax(24rem, 1.1fr); }
.experience-copy--open { padding-left: 0; }
.experience-copy--open > p:not(.field-label) { color: rgb(255 248 239 / 76%); }
.experience-gallery--sundowner { transform: rotate(.14deg); }
.experience-gallery--sundowner .experience-photo--lead img { object-position: 50% 68%; }
.experience-detail--sundowner .experience-photo figcaption { color: rgb(255 248 239 / 58%); }

.experience-detail--walk { background-color: var(--paper-100); }
.experience-gallery--walk { transform: rotate(.12deg); }
.experience-detail--walk .experience-copy { background-color: #fbf3e5; background-blend-mode: screen; }

.experience-detail--hike { background: var(--paper-200); }
.experience-detail__layout--hike { grid-template-columns: minmax(23rem, .82fr) minmax(30rem, 1.18fr); }
.experience-gallery--hike {
  min-height: 0;
  grid-template-rows: auto auto;
  align-content: center;
  transform: rotate(-.12deg);
}
.experience-gallery--hike .experience-photo--lead .photo-frame { aspect-ratio: 8 / 3; }
.experience-gallery--hike .experience-photo--lead img { object-position: 50% 73%; }
.page-experiences-system .experience-gallery--hike .experience-photo--support {
  width: min(72%, 37rem);
  justify-self: end;
}
.experience-gallery--hike .experience-photo--support .photo-frame { aspect-ratio: 4 / 3; }
.experience-gallery--hike .experience-photo--support img { object-position: 50% 74%; }

.responsible-section { padding-block: clamp(5rem, 8vw, 7.5rem); background: var(--paper-050); }
.responsible-sheet { display: grid; min-height: 0; grid-template-columns: minmax(20rem, .85fr) minmax(24rem, 1.15fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; padding: clamp(3rem, 6vw, 5.5rem); }
.responsible-sheet h2 { max-width: 10ch; }
.responsible-sheet .lead { max-width: 42rem; margin: 0; color: rgb(255 248 239 / 76%); }

@media (max-width: 1080px) {
  .experience-detail__layout,
  .experience-detail__layout--sundowner,
  .experience-detail__layout--hike,
  .responsible-sheet { grid-template-columns: 1fr; }
  .experience-gallery { width: min(100%, 54rem); min-height: 46rem; margin-inline: auto; }
  .experience-gallery--sundowner,
  .experience-gallery--hike { grid-row: 1; }
  .page-experiences-system .experience-gallery--hike .experience-photo--support { width: min(72%, 38rem); }
  .experience-copy { width: min(100%, 48rem); margin: -2.5rem 0 0 auto; }
  .experience-copy--open { margin-top: 0; padding-left: clamp(2rem, 4vw, 3rem); }
  .experience-detail--sundowner .experience-copy { grid-row: 2; }
  .experience-detail--hike .experience-copy { grid-row: 2; }
  .responsible-sheet .lead { max-width: 44rem; }
}

@media (max-width: 800px) {
  .experiences-intro__layout { grid-template-columns: 1fr; gap: 2rem; }
  .experience-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .experience-jump a:nth-child(3) { border-top: 1px solid rgb(255 248 239 / 18%); border-left: 0; }
  .experience-jump a:nth-child(4) { border-top: 1px solid rgb(255 248 239 / 18%); }
}

@media (max-width: 760px) {
  #experience-list,
  #elephant-tracking,
  #sundowner-drive,
  #nature-walk,
  #hiking-safari,
  #enquire { scroll-margin-top: 5.5rem; }
  .experiences-hero { min-height: 43.5rem; }
  .experiences-hero > img { height: 43.5rem; min-height: 0; object-position: 42% 55%; }
  .experiences-hero__sheet { right: 1rem; left: 1rem; width: auto; }
  .experiences-hero__sheet h1 { font-size: clamp(2.65rem, 11vw, 3.4rem); }
  .experiences-intro__note { transform: none; }
  .experience-jump { grid-template-columns: 1fr; }
  .experience-jump a + a,
  .experience-jump a:nth-child(3),
  .experience-jump a:nth-child(4) { border-top: 1px solid rgb(255 248 239 / 18%); border-left: 0; }
  .experience-copy { width: calc(100% - 1rem); margin-top: -2rem; padding: 2.2rem 1.55rem; }
  .experience-copy--open { width: 100%; margin-top: 0; padding: 2rem 0 0; }
  .experience-gallery { min-height: 0; grid-template-columns: 1fr; grid-template-rows: none; gap: 4.2rem; transform: none; }
  .page-experiences-system .experience-photo--lead { grid-column: auto; }
  .page-experiences-system .experience-gallery--two .experience-photo--support { grid-column: auto; }
  .experience-photo .photo-frame { height: auto; }
  .experience-gallery .photo-frame > img { position: static; height: auto; aspect-ratio: 4 / 3; }
  .experience-gallery--sundowner .experience-photo--lead img,
  .experience-gallery--hike .experience-photo--lead img { aspect-ratio: 4 / 3; }
  .experience-gallery--hike .experience-photo--lead .photo-frame { aspect-ratio: auto; }
  .page-experiences-system .experience-gallery--hike .experience-photo--support { width: 86%; }
  .experience-gallery--hike .experience-photo--support .photo-frame { aspect-ratio: auto; }
  .experience-gallery--hike .experience-photo--support .photo-frame > img { aspect-ratio: 4 / 3; }
  .experience-photo figcaption { padding-top: 2.35rem; }
  .experience-photo--bottom-tape figcaption { padding-top: 3.45rem; }
  .experience-facts { margin-inline: -.2rem; }
  .experience-facts dl div { grid-template-columns: 1fr; gap: .25rem; }
  .responsible-sheet { padding: 2.6rem 1.65rem; }
}
