/* Reel landing page: single strip of clips, centred on screen. */

.reel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
  padding: 0 40px;
}

/* Brand + title of the hovered clip, pinned under the strip */
.reel-label {
  position: fixed;
  left: 40px;
  top: calc(50% + 124px);
  pointer-events: none;
  user-select: none;
}
.reel-brand {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.reel-title {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  color: var(--fg-dim);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.reel-brand.visible,
.reel-title.visible { opacity: 1; }

.reel-strip {
  display: flex;
  align-items: center;
  gap: var(--gap);
  width: 100%;
}

.reel-item {
  flex: 1;
  min-width: 0;
  height: 9vw;
  overflow: hidden;
  position: relative;
  transition: flex 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.reel-item[aria-disabled] { cursor: default; }
.reel-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay only used on mobile, where there is no hover label */
.reel-item-overlay {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.3s ease;
}
.reel-item-brand {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
}
.reel-item-title {
  margin-top: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
  .reel {
    justify-content: flex-start;
    overflow-y: auto;
    padding: 90px 20px;
  }
  .reel-strip { flex-direction: column; }
  .reel-item { width: 100%; height: auto; flex: none; }
  .reel-item video { height: auto; object-fit: initial; }
  .reel-label { display: none; }
  .reel-item-overlay { display: flex; }
  .reel-item.active .reel-item-overlay { opacity: 1; background: rgba(0, 0, 0, 0.45); }
}
