/* Apparel imagery stays in its own grid cells, clear of copy and controls. */
#hero-logo {
  max-width: 660px;
  margin: 26px auto 0;
  background: var(--void);
}

#hero-logo .fg-logo-art,
#hero-logo > img { mix-blend-mode: screen; }

.hero h1 { font-size: clamp(38px, 7vw, 72px); }

@media (min-width: 820px) and (max-width: 1079px) {
  .navlinks { display: none; }
}

@media (max-width: 600px) {
  #hero-logo { width: calc(100% + 28px); max-width: none; margin: 22px -14px 0; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .15em; }
}

.eye-candy--first {
  height: clamp(180px, 37vw, 520px);
  background-attachment: scroll;
}

.trailer--mirrored { overflow: hidden; }
.trailer--mirrored::before {
  background: url('3_1.jpg') center / cover no-repeat;
  transform: scaleX(-1);
}
.trailer--mirrored::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,7,18,.94), rgba(10,7,18,.75) 55%, rgba(10,7,18,.35));
  pointer-events: none;
}

#festiwall-demo { position: relative; scroll-margin-top: 94px; }
.demo-notice {
  position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 58px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px;
  background: rgba(10,7,18,.9); color: var(--fur); text-align: center;
  font: 12px/1.5 'Inter', sans-serif;
}
button.demo-notice { cursor: pointer; }
.seen-card img.festivus-logo { width: 100%; max-width: 260px; max-height: 110px; filter: none; }

@media (max-width: 759px) {
  .featured-video { padding: 20px; }
}

.archive-banner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: clamp(150px, 37vw, 520px);
  background: var(--void) url('banner4.jpg') center / cover no-repeat;
}

.archive-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--void), transparent 18%, transparent 72%, var(--void));
  pointer-events: none;
}

.history-intro,
.history-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.history-heading,
.history-story .tl-list,
.technical .facts {
  min-width: 0;
}

.history-story {
  margin-top: 38px;
}

.history-story .tl-list {
  margin-top: 0;
}

.apparel-portrait {
  display: grid;
  place-items: center;
  min-width: 0;
  margin: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 92%, transparent 100%);
}

.apparel-portrait img {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.apparel-portrait--a img,
.apparel-portrait--c img,
.apparel-portrait--back img {
  -webkit-mask-image: radial-gradient(ellipse closest-side at center, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse closest-side at center, #000 72%, transparent 100%);
}

.apparel-portrait--a img {
  height: 360px;
}

.apparel-portrait--b img {
  height: clamp(350px, 105vw, 490px);
}

.technical .now-grid {
  align-items: center;
}

.apparel-portrait--c img {
  height: 570px;
}

/* Let the studio floor dissolve before it can form a bright edge. */
.apparel-portrait--c {
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, rgba(0,0,0,.7) 68%, transparent 80%);
  mask-image: linear-gradient(to bottom, #000 55%, rgba(0,0,0,.7) 68%, transparent 80%);
}

.apparel-portrait--back {
  margin-top: 8px;
}

.apparel-portrait--back img {
  height: auto;
  max-height: 270px;
}

@media (min-width: 800px) {
  .history-intro {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
    gap: 64px;
  }

  .history-story {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
    gap: 56px;
    margin-top: 56px;
  }

  .history-story .tl-list {
    grid-column: 2;
    grid-row: 1;
  }

  .apparel-portrait--b {
    grid-column: 1;
    grid-row: 1;
  }

  .apparel-portrait--a img {
    height: 420px;
  }

  .apparel-portrait--b img {
    height: 540px;
  }

  .technical .now-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 64px;
  }

  .apparel-portrait--c img {
    height: 650px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .apparel-portrait--back {
    margin-top: 30px;
  }
}

@media (max-width: 479px) {
  .history-story .tl-item {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 16px;
  }

  .apparel-portrait--c img {
    height: 520px;
  }
}
