/* ==================================================
   DeadEye Stare: live shows page (video.html)
   Builds on home.css (tokens, header, buttons, footer)
   ================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- banner ---------- */
.v-hero { position: relative; background: var(--charcoal); }

.v-hero__img {
  width: 100%;
  height: clamp(220px, 31vw, 520px);  /* same as the Schedule banner */
  object-fit: cover;
  object-position: 50% 8%;    /* singer at the top, drummer at the bottom */
  background: var(--charcoal-2);
}

.v-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 18, 17, 0.95) 0%, rgba(20, 18, 17, 0.35) 45%, rgba(20, 18, 17, 0) 70%),
    linear-gradient(to right, rgba(20, 18, 17, 0.75) 0%, rgba(20, 18, 17, 0) 50%);
  pointer-events: none;
}

.v-hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(20px, 4vw, 48px);
}

.v-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 9vw, 6rem);
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

.v-hero__sub {
  margin: 8px 0 0;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

@media (max-width: 640px) {
  .v-hero::after { content: none; }
  .v-hero__img { height: auto; aspect-ratio: 16 / 10; object-position: 55% 40%; }
  .v-hero__content { position: static; padding-top: 20px; padding-bottom: 0; }
  .v-hero__title, .v-hero__sub { text-shadow: none; }
}

/* ---------- main player ---------- */
.player-section { padding: clamp(28px, 5vw, 56px) 0 0; }
.player-section .wrap,
.videos .wrap { max-width: 1200px; }

.player {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--charcoal-2);
  border: 1px solid var(--charcoal-3);
}
@media (min-width: 1024px) {
  .player { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); }
}

.player__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player__facade {
  position: absolute;
  inset: 0;
  display: block;
  color: var(--paper);
}
.player__facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.player__facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 17, 0.25);
  transition: background-color 0.2s ease;
}
.player__facade:hover::after { background: rgba(20, 18, 17, 0.05); }

.player__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 10vw, 92px);
  height: clamp(64px, 10vw, 92px);
  border-radius: 50%;
  background: var(--amber);
  color: var(--charcoal);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}
.player__play .fa { margin-left: 0.15em; }   /* optically center the triangle */
.player__facade:hover .player__play,
.player__facade:focus-visible .player__play { transform: translate(-50%, -50%) scale(1.08); }

.player__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 3vw, 32px);
  border-top: 4px solid var(--amber);
}
@media (min-width: 1024px) {
  .player__info { border-top: 0; border-left: 4px solid var(--amber); }
}

.player__label {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.player__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  line-height: 1;
  text-transform: uppercase;
}
.player__artist { margin: 8px 0 0; color: var(--amber); font-size: 1.1rem; font-weight: 700; }
.player__meta { margin: 6px 0 0; color: var(--paper-muted); }
.player__meta:empty { display: none; }
.player__yt {
  align-self: flex-start;
  margin-top: 18px;
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 500;
}
.player__yt .fa { color: var(--red); }

/* ---------- video grid ---------- */
.videos { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }

.videos__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}
.videos__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}
.videos__count {
  margin: 0;
  color: var(--amber);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vgrid {
  display: grid;
  gap: 20px 16px;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 560px)  { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.vcard__link {
  display: block;
  height: 100%;
  color: var(--paper);
  text-decoration: none;
}

.vcard__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--charcoal-3);
}
.vcard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* trims YouTube's letterbox bars */
  transition: transform 0.4s ease, opacity 0.2s ease;
}

.vcard__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(20, 18, 17, 0.75);
  border: 2px solid var(--paper);
  color: var(--paper);
  font-size: 1.15rem;
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.vcard__play .fa { margin-left: 0.15em; }

.vcard__now {
  position: absolute;
  left: 0;
  bottom: 0;
  display: none;
  padding: 4px 10px;
  background: var(--red);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vcard__body {
  display: flex;
  gap: 12px;
  padding: 12px 2px 0;
}
.vcard__num {
  flex: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--charcoal-3);
  transition: color 0.2s ease;
}
.vcard__text { display: flex; flex-direction: column; min-width: 0; }
.vcard__title { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.vcard__artist { margin-top: 2px; color: var(--amber); font-size: 0.9375rem; font-weight: 500; }
.vcard__meta { margin-top: 2px; color: var(--paper-muted); font-size: 0.8125rem; }

/* hover / focus */
@media (hover: hover) {
  .vcard__link:hover .vcard__thumb img { transform: scale(1.04); }
}
.vcard__link:hover .vcard__play,
.vcard__link:focus-visible .vcard__play { background: var(--amber); border-color: var(--amber); color: var(--charcoal); }
.vcard__link:hover .vcard__num { color: var(--amber); }
.vcard__link:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }

/* the video currently in the main player */
.vcard__link[aria-current="true"] .vcard__thumb { border-color: var(--red); box-shadow: 0 0 0 2px var(--red); }
.vcard__link[aria-current="true"] .vcard__thumb img { opacity: 0.55; }
.vcard__link[aria-current="true"] .vcard__play { display: none; }
.vcard__link[aria-current="true"] .vcard__now { display: block; }
.vcard__link[aria-current="true"] .vcard__num { color: var(--red); }

/* ---------- more ---------- */
.videos__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 48px;
  padding: 24px;
  border: 1px solid var(--charcoal-3);
  border-left: 4px solid var(--amber);
}
.videos__more p { flex: 1 1 260px; margin: 0; font-size: 1.05rem; }
@media (max-width: 480px) { .videos__more .btn { flex: 1 1 100%; } }

/* ---------- current page in nav ---------- */
.site-nav a[aria-current="page"] { color: var(--amber); border-bottom-color: var(--amber); }
