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

#our-camps,
#enquire { scroll-margin-top: 7rem; }

.camps-hero {
  position: relative;
  min-height: min(53rem, 100svh);
  margin-top: -6.4rem;
  overflow: clip;
  background: var(--iron-950);
  border-bottom: .28rem solid var(--iron-950);
}

.camps-hero__poster,
.camps-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.camps-hero__poster {
  z-index: 0;
  filter: saturate(.78) sepia(.12) contrast(1.04) brightness(.82);
}

.camps-hero__video {
  z-index: 1;
  filter: saturate(.82) sepia(.08) contrast(1.04) brightness(.84);
}

.camps-hero__shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(24 13 7 / 48%), transparent 66%),
    linear-gradient(0deg, rgb(24 13 7 / 32%), transparent 52%);
  pointer-events: none;
}

.camps-hero__sheet {
  z-index: 3;
  width: min(27rem, calc(100% - 2.5rem));
  padding: clamp(1.45rem, 2.2vw, 1.9rem);
  transition: width 380ms var(--ease-field), padding 380ms var(--ease-field);
}

.camps-hero__sheet h1 {
  max-width: 11ch;
  font-size: clamp(2.45rem, 1.85rem + 1.9vw, 3.45rem);
}

.camps-hero__sheet p { margin: 1rem 0 .8rem; font-size: .94rem; }

.camps-hero__toggle {
  display: none;
  min-height: 2.45rem;
  margin-top: 1rem;
  padding: .55rem 0 .35rem;
  border: 0;
  border-bottom: 1px solid rgb(255 248 239 / 68%);
  background: transparent;
  color: var(--text-reverse);
  text-transform: uppercase;
  font: 500 .65rem/1.3 var(--field);
  letter-spacing: .1em;
  cursor: pointer;
}

.has-js .camps-hero__toggle { display: block; }

.has-js .camps-hero__sheet.is-minimised {
  width: 8.6rem;
  padding: .6rem 1rem .75rem;
}

.has-js .camps-hero__sheet.is-minimised .camps-hero__sheet-content { display: none; }
.has-js .camps-hero__sheet.is-minimised .camps-hero__toggle { margin-top: 0; }

.camps-intro {
  padding-block: clamp(5rem, 9vw, 8.5rem);
}

.camps-intro__layout {
  display: grid;
  grid-template-columns: minmax(7rem, .35fr) minmax(20rem, .9fr) minmax(24rem, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.camps-intro__layout .field-label { margin: 0; }
.camps-intro__layout h2 { white-space: nowrap; }
.camps-intro__layout > p:last-child { max-width: 40rem; color: var(--stone-600); font-size: var(--font-lead); }

.camps-collection {
  padding-block: var(--section-space);
  background: var(--paper-050) url("assets/ui/parchment-texture.webp") center top / 560px auto repeat;
}

.camps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: start;
}

.camps-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
}

.camps-card:nth-child(2) { margin-top: 3.5rem; }

.camps-card__photo { padding-top: 1.4rem; }
.camps-card__photo .photo-frame { aspect-ratio: 4 / 3; }
.camps-card__photo .photo-frame > img { object-position: center; }
.camps-card:nth-child(2) .photo-frame > img { object-position: 50% 61%; }
.camps-card:nth-child(3) .photo-frame > img { object-position: 50% 53%; }

.camps-card__caption {
  min-height: 4.6rem;
  margin: 0;
  padding: 1.35rem .7rem .9rem;
  color: var(--stone-600);
  font: .68rem/1.55 var(--field);
  letter-spacing: .055em;
  text-transform: uppercase;
}

.camps-card__body {
  display: flex;
  min-height: 27rem;
  flex-direction: column;
  padding: clamp(1.7rem, 3vw, 2.5rem);
  background-color: var(--paper-200);
  background-image: url("assets/ui/parchment-texture.webp");
  background-position: center;
  background-size: 560px auto;
  background-blend-mode: screen;
  box-shadow: var(--shadow-note);
}

.camps-card__logo {
  position: relative;
  display: grid;
  height: 8rem;
  margin: -1rem -1rem 1.8rem;
  padding: .8rem 1.15rem;
  place-items: center;
  overflow: hidden;
  background: #f5ead9;
  border-bottom: 1px solid rgb(180 151 116 / 55%);
}

.camps-card__logo img {
  position: absolute;
  inset: .85rem 1.1rem;
  width: calc(100% - 2.2rem);
  height: calc(100% - 1.7rem);
  max-width: none;
  max-height: none;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.camps-card__logo--madisa img { inset-inline: 2.1rem; width: calc(100% - 4.2rem); }
.camps-card__logo--wuestenquell img { inset-inline: 1.35rem; width: calc(100% - 2.7rem); }
.camps-card__logo--livingstones img { inset-inline: 1.35rem; width: calc(100% - 2.7rem); }

.camps-card__body h3 { min-height: 4.9rem; margin-bottom: 1rem; }
.camps-card__body > p:not(.field-label) { margin: 0 0 1.5rem; color: var(--stone-600); }
.camps-card__body .arrow-link { align-self: flex-start; margin-top: auto; }

@media (max-width: 1160px) {
  .camps-intro__layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .camps-intro__layout .field-label { grid-column: 1 / -1; }
  .camps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .camps-card:last-child { grid-column: 1 / -1; width: min(100%, 38rem); justify-self: center; }
}

@media (max-width: 860px) {
  .camps-hero {
    min-height: calc(56.25vw + 9.75rem);
    margin-top: -5.75rem;
  }
  .camps-hero__video,
  .camps-hero__poster {
    object-fit: contain;
    object-position: center bottom;
  }
  .has-js .camps-hero__sheet.is-minimised {
    top: 6rem;
    right: auto;
    bottom: auto;
  }
  .camps-intro__layout { display: block; text-align: center; }
  .camps-intro__layout h2 { margin-bottom: 1.25rem; white-space: normal; }
  .camps-intro__layout > p:last-child { margin-inline: auto; }
}

@media (max-width: 700px) {
  .camps-hero {
    min-height: calc(56.25vw + 9rem);
    margin-top: -5rem;
  }
  .camps-hero__video,
  .camps-hero__poster { object-position: center bottom; }
  .camps-hero__sheet { bottom: 1.35rem; padding: 1.8rem 1.55rem; }
  .has-js .camps-hero__sheet.is-minimised {
    top: 5.2rem;
    right: auto;
    bottom: auto;
    padding: .6rem 1rem .75rem;
  }
  .camps-hero__sheet h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .camps-grid { grid-template-columns: 1fr; gap: 4.5rem; }
  .camps-card:nth-child(2) { margin-top: 0; }
  .camps-card:last-child { grid-column: auto; width: 100%; }
  .camps-card__caption { min-height: auto; padding-bottom: 1rem; }
  .camps-card__body { min-height: 0; }
  .camps-card__body h3 { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .camps-hero__video { visibility: hidden; }
}

@media (forced-colors: active) {
  .camps-hero__sheet,
  .camps-card__body { border: 1px solid CanvasText; }
}
