@font-face {
  font-family: 'Newsreader Display';
  src: url('fonts/NewsreaderDisplay-SemiBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Newsreader Display';
  src: url('fonts/NewsreaderDisplay-Medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Newsreader Display';
  src: url('fonts/NewsreaderDisplay-Italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

.place-cover-film {
  aspect-ratio: 941 / 1672;
  background: #a64c1f;
}

.place-cover-media,
.place-cover-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.place-cover-media img { object-fit: cover; }

.place-cover-day { z-index: 0; }
.place-cover-night {
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.place-cover[data-hero-view="night"] .place-cover-night { opacity: 1; }

.place-cover-film.cover-pin-active .place-cover-media {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100vw;
  height: var(--cover-pin-height);
}

.place-cover-film.cover-pin-ended .place-cover-media {
  top: var(--cover-pin-end);
}

.cover-identity {
  position: fixed;
  z-index: 30;
  top: 2.5vh;
  left: 8.8vw;
  right: auto;
  transition: background-color .2s ease;
}

.place-cover.brand-over-content .cover-identity {
  margin: -4px 0 0 -8px;
  padding: 4px 8px 2px;
  background: rgb(232 222 208 / 95%);
}

.cover-brand {
  color: #fff;
  font-family: 'Newsreader Display', Georgia, serif;
  font-size: 3.55vw;
  letter-spacing: -.025em;
  text-shadow: none;
  transition: color .2s ease;
}

.place-cover.brand-over-content .cover-brand { color: #292b27; }

.rusted-headline,
.rusted-statement {
  position: absolute;
  z-index: 2;
  margin: 0;
  font-family: 'Newsreader Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -.025em;
}

.rusted-headline {
  top: 23.7%;
  left: 9.8%;
  color: #fff;
  font-size: 8.45vw;
  line-height: .94;
  text-transform: uppercase;
}

.rusted-headline span { display: block; white-space: nowrap; }
.rusted-headline span:first-child { font-style: italic; }

.rusted-statement {
  top: 51.3%;
  left: 54%;
  color: #171917;
  font-weight: 500;
  font-size: 7.4vw;
  line-height: .99;
}

.place-cover-film.cover-pin-active .rusted-headline,
.place-cover-film.cover-pin-active .rusted-statement {
  position: fixed;
}

.place-cover-film.cover-pin-active .rusted-headline { top: var(--headline-pin-top); }
.place-cover-film.cover-pin-active .rusted-statement { top: var(--statement-pin-top); }
.place-cover-film.cover-pin-ended .rusted-headline { top: calc(var(--cover-pin-end) + var(--headline-pin-top)); }
.place-cover-film.cover-pin-ended .rusted-statement { top: calc(var(--cover-pin-end) + var(--statement-pin-top)); }

.place-cover-switch {
  --switch-bottom: clamp(72px, 8.5vw, 128px);
  --switch-height: 48px;
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: var(--switch-bottom);
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 26px);
  min-height: var(--switch-height);
  transform: translateX(-50%);
  white-space: nowrap;
}

.place-editorial { z-index: 2; }

.place-cover-switch::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: var(--underline-left, 4px);
  width: var(--underline-width, 0px);
  height: 2px;
  background: #f5efe5;
}

.place-cover-switch.is-ready::after {
  transition: left 1s ease-in-out, width 1s ease-in-out;
}

.place-cover-switch button,
.place-cover-switch > span {
  font-family: 'Newsreader Display', Georgia, serif;
  font-size: clamp(16px, 1.55vw, 22px);
  font-weight: 600;
  line-height: 1;
}

.place-cover-switch button {
  display: flex;
  align-items: center;
  min-height: var(--switch-height);
  padding: 0 4px;
  border: 0;
  background: none;
  color: #e5ddd1;
  cursor: pointer;
  letter-spacing: .055em;
  text-transform: uppercase;
  transition: color 1s ease-in-out;
}

.place-cover-switch button[aria-pressed="true"] { color: #f5efe5; }
.place-cover-switch > span { color: #e5ddd1; }
.place-cover-switch button:focus-visible {
  outline: none;
  text-decoration: underline;
  text-underline-offset: 7px;
}

.place-cover-film.cover-pin-active ~ .place-cover-switch {
  position: fixed;
  top: calc(var(--cover-pin-height) - var(--switch-bottom) - var(--switch-height));
  bottom: auto;
}

@media (prefers-reduced-motion: reduce) {
  .place-cover-night,
  .place-cover-switch button,
  .place-cover-switch.is-ready::after { transition: none; }
}

@media (max-width: 699px) {
  .place-cover-switch { --switch-bottom: clamp(34px, calc(17.8vw - 24px), 96px); }
}

@media (min-width: 900px) {
  .place-cover-film { aspect-ratio: 1672 / 941; }
  .cover-identity { top: 4.8vh; left: 3.2vw; }
  .cover-brand { font-size: 1.68vw; }
  .rusted-headline {
    top: 22.5%;
    left: 28.3%;
    font-size: 4.05vw;
    line-height: .96;
  }
  .rusted-statement {
    top: 47.6%;
    left: 54.6%;
    font-size: 3.32vw;
    line-height: 1.02;
  }
}
