#mute-btn {
  all: unset;
  cursor: pointer;
  color: var(--color-white-75);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

#mute-btn img {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  opacity: 0.85;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
}

#mute-btn:hover img {
  opacity: 1;
  transform: scale(1.1);
}

.video-playlist {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;

  /* fallback */
  height: 100vh;

  /* Use the large viewport height on modern Safari to extend behind UI bars */
  height: 100lvh;

  z-index: -1;
  overflow: hidden;
}

.video-playlist video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  z-index: 1;
  transition: opacity 0.2s ease-in-out;
}

.home-footer {
  display: flex;
  align-items: center;
  max-width: 1080px;
  margin: 12px auto;
  width: 100%;
}

#playlist-link::before { content: '\201C'; }
#playlist-link::after  { content: '\201D'; }

.home-footer-socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
  padding: 0;
}

/* positional rules come after component rules so they always win */
.home-footer-left {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  padding-left: 3.25rem;
}

.home-footer-center {
  flex: 2;
  display: flex;
  justify-content: center;
}

.home-footer-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: 2.5rem;
}

.home-footer-socials li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.home-footer-socials li a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-footer-socials li img {
  width: auto;
  height: 1.5rem;
  max-width: 1.5rem;
  object-fit: contain;
  display: block;
  opacity: 0.85;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
}

.home-footer-socials li a:hover img {
  opacity: 1;
  transform: scale(1.1);
}

.home-footer-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: 3.25rem;
}

.video-info {
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
  opacity: 1;
  visibility: visible;
  text-align: center;
  display: flex;
  justify-content: flex-end;
}

.video-info.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media screen and (max-width: 40rem) {
  .home-footer-left  { padding-left: 0; }
  .home-footer-right { padding-right: 0; }
}

@media screen and (orientation: portrait) and (max-width: 768px) {
  .home-footer {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    margin-bottom: 24px;
  }
}

