/* PB Content: showcase layout styles. */

.sc-qr {
  display: none;
}

.refs-sec.sc-dark {
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}

.refs-sec .section-head {
  margin-left: calc((min(100vw - 32px, 1640px) - 100%) / -2);
}

.sc-panel {
  margin-inline: calc((min(100vw - 32px, 1640px) - 100%) / -2);
  background: #050505;
  color: var(--paper);
  border-radius: clamp(14px, 1.6vw, 24px);
  padding: var(--pp);
  --pp: clamp(16px, 3vw, 44px);
  overflow: hidden;
}

.sc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 36px;
  margin: 0 0 clamp(24px, 3vw, 40px);
  border-bottom: 1px solid #222;
}

.sc-tab {
  position: relative;
  background: none;
  border: 0;
  color: #777;
  cursor: pointer;
  padding: 0 0 16px;
  font: 600 clamp(15px, 1.3vw, 18px)/1.2 var(--font-head);
  letter-spacing: .02em;
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  transition: color .25s;
}

.sc-tab small {
  font-size: 12px;
  letter-spacing: .1em;
  color: #555;
  transition: color .25s;
}

.sc-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}

.sc-tab:hover,
.sc-tab[aria-selected="true"] {
  color: #fff;
}

.sc-tab[aria-selected="true"] small {
  color: #aaa;
}

.sc-tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.sc-tab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.sc[hidden] {
  display: none;
}

.sc-stage {
  display: grid;
  grid-template-columns: minmax(0, 16fr) minmax(0, 5.0625fr);
  gap: clamp(10px, 1.2vw, 16px);
}

.sc-tile {
  position: relative;
  overflow: hidden;
  background: #111;
  border-radius: 4px;
  cursor: pointer;
  isolation: isolate;
}

.sc-tile.t-hero {
  aspect-ratio: 16 / 9;
}

.sc-tile > img,
.sc-tile > video,
.sc-tile > .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .6s;
}

.sc-tile > video {
  opacity: 0;
}

.sc-tile.live > video {
  opacity: 1;
}

.sc-tile:not(.t-hero):hover > img,
.sc-tile:not(.t-hero):hover > video {
  transform: scale(1.04);
}

.sc-tile.t-hero {
  cursor: default;
}

.sc-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 45%, rgba(0,0,0,.82) 100%);
  pointer-events: none;
  z-index: 1;
}

.sc-info {
  position: absolute;
  z-index: 2;
  left: clamp(16px, 2.2vw, 32px);
  bottom: clamp(16px, 2.2vw, 30px);
  right: 220px;
  display: grid;
  gap: 6px;
  pointer-events: none;
}

.sc-info .tags {
  font: 600 12px/1 var(--font-head);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

.sc-info h3 {
  font-size: clamp(20px, 2vw, 28px);
  color: #fff;
  line-height: 1.1;
}

.sc-info p {
  color: rgba(255,255,255,.78);
  font-size: clamp(14px, 1.1vw, 16px);
  max-width: 52ch;
}

.sc-side {
  display: none;
}

.sc-tile:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.sc .ph {
  background: repeating-linear-gradient(135deg, #1c1c1c 0 14px, #181818 14px 28px);
  color: #777;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px;
}

@media screen and (max-width: 760px) {
  .sc-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .sc-tile.t-hero {
    grid-column: 1 / -1;
  }

  .sc-tile.t-reel {
    aspect-ratio: 9 / 16;
  }

  .sc-tile.t-hero .sc-info {
    display: none;
  }

  .sc-side {
    display: grid;
    gap: 8px;
    align-content: end;
    padding: 0 0 6px 4px;
  }

  .sc-side .tags {
    font: 600 11px/1 var(--font-head);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #999;
  }

  .sc-side h3 {
    font-size: 22px;
    color: #fff;
  }

  .sc-side p {
    color: #aaa;
    font-size: 15px;
  }
}
