@font-face {
  font-family: 'Ikseska Wordmark';
  src: url('../fonts/ikseska-wordmark-v1.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.exhibition {
  --cover-bg: #6d705f;
  --cover-ink: #fff9ed;
  --cover-title: #f3ecdc;
  --cover-circle: #fb400b;
}

/* Surface, circle, live wordmark and portrait form four independent layers. */
.editorial-hero {
  color: var(--cover-ink);
  background: var(--cover-bg);
  padding-bottom: 0;
}
.cover-inner,
.scenes-ready .cover-inner {
  display: block;
  position: relative;
  isolation: isolate;
  height: calc(100svh - var(--header) - var(--controls));
  min-height: 0;
  padding: 0;
  overflow: hidden;
  container-type: size;
}
.scenes-ready .cover-inner { height: 100%; }
.cover-circle {
  position: absolute;
  z-index: 0;
  width: min(62cqw, 92cqh);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cover-circle);
  left: 65%;
  top: 48%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cover-masthead {
  position: absolute;
  top: -10px;
  left: 3.4%;
  width: 93.2%;
  z-index: 1;
  color: var(--cover-title);
  font-family: 'Ikseska Wordmark', Arial, sans-serif;
  font-size: 24.270833cqw;
  font-weight: 400;
  font-variant-ligatures: normal;
  font-feature-settings: 'liga' 1;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}
.cover-portrait {
  position: absolute;
  z-index: 2;
  top: 8cqh;
  left: 65%;
  height: min(108cqh, 87.65cqw);
  width: auto;
  aspect-ratio: 1536 / 2040;
  transform: translateX(-50%);
  pointer-events: none;
}
.cover-cutout {
  width: 100%;
  height: auto;
  max-width: none;
  display: block;
}
.editorial-hero .cover-copy {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(30px, 5.5vh, 72px);
  z-index: 3;
  max-width: 330px;
  padding: 0;
}
.cover-tagline {
  font-size: clamp(28px, 3vw, 45px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.editorial-hero .cover-copy .button-primary {
  margin-top: 26px;
  border-color: var(--cover-ink);
  color: var(--cover-ink);
  background: transparent;
  min-width: 205px;
}
.editorial-hero .button-primary:hover {
  background: var(--cover-ink);
  color: var(--cover-bg);
  transform: none;
}
.editorial-hero :focus-visible { outline-color: var(--cover-ink); }
.cover-disciplines {
  position: absolute;
  z-index: 3;
  bottom: 30px;
  right: var(--gutter);
  font-size: 10px;
  letter-spacing: .04em;
}

/* Extend the first scene's paper into the existing navigation and footer controls. */
.exhibition:has(.editorial-hero:not([hidden])) {
  background: var(--cover-bg);
}
.exhibition:has(.editorial-hero:not([hidden])) .site-header {
  background: var(--cover-bg);
  color: var(--cover-ink);
}
.exhibition:has(.editorial-hero:not([hidden])) .brand-link img {
  filter: brightness(0) invert(1);
}
.exhibition:has(.editorial-hero:not([hidden])) .language-link,
.exhibition:has(.editorial-hero:not([hidden])) .language-link.is-current,
.exhibition:has(.editorial-hero:not([hidden])) .scene-count,
.exhibition:has(.editorial-hero:not([hidden])) .scene-count > span:first-child,
.exhibition:has(.editorial-hero:not([hidden])) .scroll-label {
  color: var(--cover-ink);
}
.exhibition:has(.editorial-hero:not([hidden])) .scene-controls {
  border-color: #999c88;
  color: var(--cover-ink);
}
.exhibition:has(.editorial-hero:not([hidden])) .count-divider {
  background: #b7baa6;
}
.exhibition:has(.editorial-hero:not([hidden])) .scene-dots a span,
.exhibition:has(.editorial-hero:not([hidden])) .icon-button {
  border-color: #c4c7b4;
}
.exhibition:has(.editorial-hero:not([hidden])) .scene-dots a[aria-current] span {
  background: var(--cover-ink);
  border-color: var(--cover-ink);
}
.exhibition:has(.editorial-hero:not([hidden])) .site-header :focus-visible,
.exhibition:has(.editorial-hero:not([hidden])) .scene-controls :focus-visible {
  outline-color: var(--cover-ink);
}

@media (max-width: 1050px) and (min-width: 768px) {
  .editorial-hero .cover-copy { max-width: 250px; }
  .cover-disciplines { display: none; }
}
@media (max-width: 767px) {
  .cover-inner,
  .scenes-ready .cover-inner {
    min-height: 510px;
    height: calc(100svh - var(--header) - var(--controls));
  }
  .scenes-ready .cover-inner { height: 100%; }
  .cover-masthead { top: 20px; left: 4%; width: 92%; font-size: 23.958333cqw; }
  .cover-circle {
    width: min(90cqw, 58cqh);
    top: 33cqh;
    left: 55%;
  }
  .cover-portrait {
    top: 28px;
    left: 55%;
    height: min(146cqw, calc(100cqh - 160px));
    width: auto;
  }
  .cover-cutout {
    -webkit-mask-image: linear-gradient(to bottom, #111 83%, transparent 100%);
    mask-image: linear-gradient(to bottom, #111 83%, transparent 100%);
  }
  .editorial-hero .cover-copy {
    left: var(--gutter);
    right: var(--gutter);
    bottom: 24px;
    max-width: none;
  }
  .cover-tagline { font-size: 29px; line-height: 1.04; }
  .editorial-hero .cover-copy .button-primary {
    margin-top: 17px;
    min-width: 205px;
    min-height: 48px;
  }
  .cover-disciplines { display: none; }
}
@media (min-width: 768px) and (max-height: 700px) {
  .cover-tagline { font-size: 31px; }
  .editorial-hero .cover-copy { bottom: 24px; }
  .cover-disciplines { display: none; }
}
@media (forced-colors: active) {
  .cover-circle { display: none; }
  .cover-masthead { color: CanvasText; }
  .cover-cutout { forced-color-adjust: none; }
}
