
.hero-carousel {
  position: relative;
  isolation: isolate;
  background: #000;
  color: #fff;
  overflow: hidden;
}
.hero-carousel__track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.hero-carousel__track::-webkit-scrollbar { display: none; }
.hero-carousel .hero-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  min-height: 660px;
  height: 100svh;
  margin: 0;
  max-width: none;
  max-height: none;
  scroll-snap-align: start;
}
.hero-carousel .hero-index { margin-bottom: 94px; }
.hero-carousel__controls {
  position: absolute;
  z-index: 4;
  left: var(--gutter, 24px);
  bottom: max(22px, env(safe-area-inset-bottom));
  display: flex;
  max-width: calc(100% - 2 * var(--gutter, 24px));
  gap: 5px;
  padding: 4px;
  border: 1px solid #ffffff6b;
  background: #131d18e8;
}
.hero-carousel__controls button {
  display: grid;
  align-items: center;
  min-height: 44px;
  padding: 5px 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font: 600 .81rem/1.2 var(--csw-font, sans-serif);
  cursor: pointer;
  white-space: nowrap;
}
.hero-carousel__controls button[aria-pressed="true"] {
  color: #18221c;
  background: #f6f6ee;
}
.hero-carousel__controls button[data-cover-to="1"][aria-pressed="true"] {
  background: #e9ef55;
}
.hero-carousel[data-active="1"] .hero-carousel__controls { background: #111e; }
.hero-carousel__controls button:not([aria-pressed="true"]):hover { background: #ffffff25; }
.hero-carousel__controls .hero-carousel__playback {
  width: 44px;
  flex: 0 0 44px;
  padding: 0;
  place-items: center;
  border-right: 1px solid #ffffff4d;
}
.hero-carousel__playback span {
  width: 11px;
  height: 12px;
  border-inline: 3px solid currentColor;
}
.hero-carousel__playback[data-playing="false"] span {
  width: 0;
  height: 0;
  border: 0;
  border-block: 6px solid transparent;
  border-left: 9px solid currentColor;
}
.hero-carousel__controls button:focus-visible, .campton-hero__links a:focus-visible {
  outline: 2px solid #e9ef55;
  outline-offset: 2px;
}
.campton-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: #000;
}
.campton-hero__image, .campton-hero__shade { position: absolute; inset: 0; }
.campton-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 19%;
  mask-image: linear-gradient(180deg, transparent, #000 18px, #000 calc(100% - 44px), transparent);
  z-index: -2;
}
.campton-hero__shade {
  z-index: -1;
  background: linear-gradient(0deg, #000 1%, #000b 21%, #0000 58%),
    linear-gradient(180deg, #0009, #0000 26%);
}
.campton-hero__content {
  width: 100%;
  padding: 0 var(--gutter, 24px) 118px;
}
.campton-hero__location {
  margin: 0 0 13px;
  font-size: .875rem;
  color: #eef0e9;
}
.campton-hero__content h2 {
  margin: 0;
  color: #e9ef55;
  font-size: clamp(2.95rem, 6.8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.055em;
}
.campton-hero__content h2 span {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.13rem, 2.15vw, 2rem);
  font-weight: 600;
  letter-spacing: -.03em;
}
.campton-hero__description {
  margin: 14px 0 21px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
}
.campton-hero__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 21px;
}
.campton-hero__links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #fff;
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.campton-hero__links a:first-child {
  background: #e9ef55;
  color: #02261e;
  padding: 5px 15px;
  font-weight: 700;
  text-decoration: none;
}
.campton-hero__links a:first-child:hover { background: #f6f6ee; }
@media (max-width: 760px) {
  .hero-carousel .hero-carousel__slide { min-height: 620px; }
  .hero-carousel .hero-index { margin-bottom: 92px; }
  .hero-carousel__controls { left: 22px; bottom: max(19px, env(safe-area-inset-bottom)); }
  .hero-carousel__controls button { padding-inline: 13px; }
  .campton-hero { align-items: start; }
  .campton-hero__image {
    position: relative;
    height: auto;
    flex: 0 0 100%;
    align-self: start;
    margin-top: 88px;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    object-position: center;
  }
  .campton-hero__shade {
    background: none;
  }
  .campton-hero__content {
    position: absolute;
    inset: auto 0 max(91px, calc(env(safe-area-inset-bottom) + 75px));
    padding: 22px 22px 0;
    background: linear-gradient(0deg, #000 86%, transparent 100%);
  }
  .campton-hero__content h2 { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .campton-hero__description { margin: 12px 0 10px; }
  .campton-hero__location { margin-bottom: 8px; }
}
@media (max-width: 760px) and (max-height: 720px) {
  .hero-carousel .hero-carousel__slide { min-height: 705px; }
}

/* Keep the photograph's album mark clear of the website header. */
body:has(.hero-carousel[data-active="1"]) .site-header:not(.is-past-hero):not(.menu-open) {
  min-height: 88px;
  padding-block: 13px;
  background: #000;
  color: #fff;
}
body:has(.hero-carousel[data-active="1"]) .site-header:not(.is-past-hero):not(.menu-open) .brand {
  width: 220px;
}
.site-header:not(.is-past-hero):not(.menu-open) .locale-menu > summary { color: #fff; }
.site-header .menu-toggle span { white-space: nowrap; }
@media (min-width: 761px) {
  .campton-hero__image {
    inset: 88px 0 0;
    height: calc(100% - 88px);
    object-position: center top;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .campton-hero__image { inset-block-start: 121px; height: calc(100% - 121px); }
}
@media (max-width: 760px) {
  body:has(.hero-carousel[data-active="1"]) .site-header:not(.is-past-hero):not(.menu-open) .brand {
    width: clamp(160px, 51vw, 210px);
  }
  .hero-carousel .hero-carousel__slide {
    height: clamp(700px, 90svh, 780px);
    min-height: calc(75vw + 320px);
  }
}

.hero-carousel__controls[hidden] { display: none; }
@media (max-width: 374px) {
  .hero-carousel__controls button:not(.hero-carousel__playback) { padding-inline: 8px; }
}
