* { box-sizing: border-box; }

:root{
  --scrollbar-size: 8px;
  --top-safe: 210px;
  --bottom-safe: 150px;
  --hero-cap: 0.99;

  /* PW2 (video list) tuning */
  --pw2-item-h: 92px;         /* card height */
  --pw2-thumb-w: 120px;       /* thumb column width (wider = text shifts right) */
  --pw2-thumb-zoom: 1.2;     /* raises to hide baked-in letterbox bars */
  --pw2-thumb-shift-y: -8px;   /* +down, -up (reliable "justification" control) */

  /* layout */
  --maxw: 1100px;
  --gutter: 22px;

  /* strip styling */
  --strip-bg: rgba(0,0,0,0.72);
  --strip-radius: 18px;

  /* pink glow */
  --glow-pink: rgba(255, 0, 180, 0.85);
  --glow-pink-soft: rgba(255, 0, 180, 0.28);
}

html, body { height: 100%; }

body{
  margin: 0;
  font-family: Arial, sans-serif;
  color: #fff;

  /* home = no scroll by default */
  overflow: hidden;

  /* Zebra background */
  background: url("assets/Zebra%20Background.png");
  background-size: cover;
  background-position: center;
}

body.scrollable{
  overflow-y: auto;
  overflow-x: hidden;
}

/* =========================================================
   HOME FIX (ONLY when NOT scrollable)
   - brings back the gradient overlay on home
   - caps + centers the hero image so it can't blow up
   ========================================================= */

/* home gradients (top + bottom) */
body:not(.scrollable)::before{
  content:"";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--top-safe);
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0.92), rgba(0,0,0,0.30), rgba(0,0,0,0));
}
body:not(.scrollable)::after{
  content:"";
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--bottom-safe);
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.92), rgba(0,0,0,0.30), rgba(0,0,0,0));
}

/* common "hero wrapper" candidates: center content on home */
body:not(.scrollable) main,
body:not(.scrollable) .home,
body:not(.scrollable) .home-inner,
body:not(.scrollable) .hero,
body:not(.scrollable) .hero-wrap,
body:not(.scrollable) .hero-inner,
body:not(.scrollable) #hero{
  position: relative;
  z-index: 3; /* above gradients */
}

/* CAP + CENTER the hero image on home */
body:not(.scrollable) img.hero,
body:not(.scrollable) img.hero-img,
body:not(.scrollable) img.hero-image,
body:not(.scrollable) .hero img,
body:not(.scrollable) #hero img,
body:not(.scrollable) img[src*="hero."],
body:not(.scrollable) img[src*="Hero."]{
  display: block;
  margin-left: auto;
  margin-right: auto;

  width: min(100%, var(--maxw));
  height: auto;

  /* critical */
  max-height: calc((100vh - var(--top-safe) - var(--bottom-safe)) * var(--hero-cap));
  object-fit: contain;
}

/* hero container padding */
body:not(.scrollable) #hero,
body:not(.scrollable) .hero,
body:not(.scrollable) .hero-wrap{
  padding-top: calc(var(--top-safe) + 10px);
  padding-bottom: calc(var(--bottom-safe) + 10px);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ===== HEADER ===== */
.topnav{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}

/* scrollable pages: let header be in-flow so page can start immediately */
body.scrollable .topnav{
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  z-index: 10;
}

.topnav-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 18px 26px;
  text-align: center;
}

.nav-links{
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 12px;
}

.navlink{
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  opacity: 0.95;
  transition: opacity 0.15s ease, filter 0.15s ease;
  text-shadow: 0 2px 10px rgba(0,0,0,0.65);
}

.navlink:hover{
  opacity: 1;
  filter: drop-shadow(0 0 10px var(--glow-pink));
}

.nav-logo{
  height: 150px;
  width: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.55));
}

/* ===== SUBPAGE BACKDROP ===== */
.subpage-backdrop{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.subpage-backdrop::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--top-safe);
  background: linear-gradient(to bottom, rgba(0,0,0,0.92), rgba(0,0,0,0.30), rgba(0,0,0,0));
}
.subpage-backdrop::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--bottom-safe);
  background: linear-gradient(to top, rgba(0,0,0,0.92), rgba(0,0,0,0.30), rgba(0,0,0,0));
}

/* ===== SUBPAGES ===== */
.page{
  position: relative;
  z-index: 10;
  min-height: 100vh;
  padding-top: calc(var(--top-safe) + 12px);
  padding-bottom: 100px;
}
body.scrollable .page{ padding-top: 18px; }

.page-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 16px;
}

.strip{
  position: relative;
  background: var(--strip-bg);
  border-radius: var(--strip-radius);
  padding: 20px 20px;

  box-shadow:
    0 25px 70px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.06);

  overflow: hidden;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.strip::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.50), rgba(0,0,0,0.32));
  pointer-events: none;
  z-index: 0;
}
.strip > *{ position: relative; z-index: 1; }

.strip-title{
  margin: 0 0 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 15px;
  opacity: 0.98;
  text-shadow: 0 3px 14px rgba(0,0,0,0.85);
}

.lead{
  margin: 0;
  opacity: 0.95;
  line-height: 1.62;
  text-shadow: 0 2px 12px rgba(0,0,0,0.75);
}

/* ===== Bio ===== */
.bio{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  align-items: start;
}
.bio-photo{
  width: 100%;
  border-radius: 16px;
  display: block;
  object-fit: cover;
  box-shadow: 0 18px 55px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06);
}
.bio-lede{
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: 0.02em;
  opacity: 0.98;
  text-shadow: 0 2px 12px rgba(0,0,0,0.75);
}

/* ===== PHOTOS SCROLLER (with chevrons) ===== */
.hscroll{
  position: relative;
}
.hscroll::after{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to left, rgba(0,0,0,0.75), rgba(0,0,0,0));
  border-radius: 14px;
  z-index: 3;
  opacity: 1;
  transition: opacity 180ms ease;
}
.hscroll::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0));
  border-radius: 14px;
  z-index: 3;
  opacity: 1;
  transition: opacity 180ms ease;
}
.hscroll.at-left::before{ opacity: 0; }
.hscroll.at-right::after{ opacity: 0; }

.hscroll-chev{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;

  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: #fff;

  display: grid;
  place-items: center;

  cursor: pointer;
  opacity: 0.85;
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease, background 180ms ease;

  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 18px 55px rgba(0,0,0,0.35);
}
.hscroll-chev:hover{
  background: rgba(0,0,0,0.48);
  filter: drop-shadow(0 0 12px var(--glow-pink));
  transform: translateY(-50%) scale(1.03);
}
.hscroll-chev span{
  font-size: 28px;
  line-height: 1;
  transform: translateY(-1px);
}
.hscroll-chev.left{ left: 12px; }
.hscroll-chev.right{ right: 12px; }

.hscroll.at-left .hscroll-chev.left{ opacity: 0; pointer-events: none; }
.hscroll.at-right .hscroll-chev.right{ opacity: 0; pointer-events: none; }

.media-grid{
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 70px 10px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.media-grid img{
  flex: 0 0 calc((100% - (12px * 5)) / 6);
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  cursor: zoom-in;
  scroll-snap-align: start;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06);
}

@media (max-width: 900px){
  .media-grid img{ flex: 0 0 70vw; height: 200px; }
}

/* =========================================================
   LIGHTBOX (overlay + swipe + arrows)
   ========================================================= */

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0,0,0,0.82);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.lightbox.is-open{ display: flex; }

.lightbox-img{
  display: block;
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  object-fit: contain;
  box-shadow:
    0 25px 70px rgba(0,0,0,0.70),
    0 0 0 1px rgba(255,255,255,0.08);

  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  will-change: transform, opacity;
}

.lightbox-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0.95;
  font-size: 22px;
  line-height: 1;
  transition: transform 160ms ease, filter 160ms ease, background 160ms ease, opacity 160ms ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 18px 55px rgba(0,0,0,0.35);
}

.lightbox-close:hover{
  background: rgba(0,0,0,0.48);
  filter: drop-shadow(0 0 12px var(--glow-pink));
  transform: scale(1.03);
  opacity: 1;
}

.lightbox-chev{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 210;

  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: #fff;

  display: grid;
  place-items: center;

  cursor: pointer;
  opacity: 0.85;
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease, background 180ms ease;

  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 18px 55px rgba(0,0,0,0.35);
}

.lightbox-chev:hover{
  background: rgba(0,0,0,0.48);
  filter: drop-shadow(0 0 12px var(--glow-pink));
  transform: translateY(-50%) scale(1.03);
}

.lightbox-chev span{
  font-size: 28px;
  line-height: 1;
  transform: translateY(-1px);
}

.lightbox-chev.left{ left: 18px; }
.lightbox-chev.right{ right: 18px; }

@media (max-width: 700px){
  .lightbox-close{
    width: 64px;
    height: 64px;
    font-size: 28px;
    top: 12px;
    right: 12px;
  }
}

/* ===== Bottom Stack ===== */
.bottom-stack{
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

body.scrollable .bottom-stack{
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease;
}
body.scrollable.show-bottom .bottom-stack{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.social-dock{
  display: flex;
  gap: 18px;
  pointer-events: auto;
}
.social-dock svg{
  width: 34px;
  height: 34px;
  fill: #fff;
  opacity: 0.9;
  transition: transform 0.15s ease, opacity 0.15s ease, filter 0.15s ease;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.55));
}
.social-dock a:hover svg{
  transform: scale(1.12);
  opacity: 1;
  filter: drop-shadow(0 0 12px var(--glow-pink));
}
.site-tag{
  font-size: 12px;
  letter-spacing: 0.12em;
  opacity: 0.9;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,0.75);
}

/* ===== Mobile ===== */
@media (max-width: 900px){
  .bio{ grid-template-columns: 1fr; }
}
@media (max-width: 700px){
  :root{
    --top-safe: 190px;
    --bottom-safe: 140px;
    --hero-cap: 0.98;
    --gutter: 16px;
  }
  .nav-logo{ height: 110px; }
  .nav-links{ gap: 16px; }
  .navlink{ font-size: 12px; }
  .social-dock svg{ width: 28px; height: 28px; }
  .site-tag{ font-size: 11px; }
}

/* =========================================================
   VIDEO LAYOUT (player left, list right)
   ========================================================= */

.pw2-video{
  display: grid;
  min-width: 0;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 14px;
  align-items: start;
  margin-top: 12px;
}

/* Player */
.pw2-player{
  min-width: 0;
  width: 100%;
  max-width: 980px;
}
.pw2-frame{
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0,0,0,0.45);
  box-shadow: 0 18px 55px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.05);
  aspect-ratio: 16 / 9;
  min-height: 320px;
}
@media (max-width: 700px){
  .pw2-frame{ min-height: 220px; }
}
@supports not (aspect-ratio: 16 / 9){
  .pw2-frame::before{ content:""; display:block; padding-top:56.25%; }
}
.pw2-frame iframe{
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
  background: #000;
}

/* Playlist */
.pw2-list{
  min-width: 0;
  height: 100%;
}

.pw2-list-inner{
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: calc(var(--scrollbar-size) + 2px);
  display: grid;
  gap: 10px;
  scrollbar-gutter: stable;
}
.pw2-video .pw2-list-inner{ max-height: 360px; }

/* ===== Dark scrollbars (playlist + horizontal scrollers) ===== */
.pw2-list-inner,
.media-grid,
.playlist-list{
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: rgba(255,255,255,0.22) rgba(0,0,0,0.38);
}

.pw2-list-inner::-webkit-scrollbar,
.media-grid::-webkit-scrollbar,
.playlist-list::-webkit-scrollbar{
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

.pw2-list-inner::-webkit-scrollbar-track,
.media-grid::-webkit-scrollbar-track,
.playlist-list::-webkit-scrollbar-track{
  background: rgba(0,0,0,0.38);
  border-radius: 999px;
}

.pw2-list-inner::-webkit-scrollbar-thumb,
.media-grid::-webkit-scrollbar-thumb,
.playlist-list::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,0.20);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.pw2-list-inner::-webkit-scrollbar-thumb:hover,
.media-grid::-webkit-scrollbar-thumb:hover,
.playlist-list::-webkit-scrollbar-thumb:hover{
  background: rgba(255,255,255,0.28);
}

/* Items */
.pw2-item{
  width: 100%;
  height: var(--pw2-item-h);
  text-align: left;
  cursor: pointer;

  display: grid;
  grid-template-columns: var(--pw2-thumb-w) 1fr;
  gap: 12px;

  align-items: stretch;

  border-radius: 14px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.28);
  color: #fff;
  font: inherit;

  /* key: clips zoomed thumbs so they never bleed out */
  overflow: hidden;

  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.pw2-item:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,0.34);
  border-color: rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0 0 1px rgba(255, 0, 180, 0.12);
}
.pw2-item.is-active{
  background: rgba(0,0,0,0.40);
  border-color: rgba(255, 0, 180, 0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06),
              0 0 0 1px rgba(255, 0, 180, 0.16),
              0 0 18px rgba(255, 0, 180, 0.12);
}

.pw2-thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;

  /* zoom removes bars, translate controls "justification" */
  transform: scale(var(--pw2-thumb-zoom)) translateY(var(--pw2-thumb-shift-y));
  transform-origin: center;
}

.pw2-title{
  font-size: 13px;
  opacity: 0.98;
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;

  /* extra breathing room due to wider thumb column */
  padding: 0 8px 0 14px;

  align-self: center;
}

/* --- Vertical scroll wrapper + end fades --- */
.pw2-vscroll{ position: relative; }

.pw2-vscroll::before{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 54px;
  pointer-events: none;
  z-index: 3;
  border-radius: 14px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.70), rgba(0,0,0,0));
  opacity: 1;
  transition: opacity 180ms ease;
}
.pw2-vscroll::after{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54px;
  pointer-events: none;
  z-index: 3;
  border-radius: 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.70), rgba(0,0,0,0));
  opacity: 1;
  transition: opacity 180ms ease;
}
.pw2-vscroll.at-top::before{ opacity: 0; }
.pw2-vscroll.at-bottom::after{ opacity: 0; }

/* chevrons */
.pw2-vchev{
  position: absolute;
  left: 50%;
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease, background 180ms ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 18px 55px rgba(0,0,0,0.35);
  transform: translateX(-50%);
}
.pw2-vchev:hover{
  background: rgba(0,0,0,0.48);
  filter: drop-shadow(0 0 12px var(--glow-pink));
}
.pw2-vchev span{
  font-size: 28px;
  line-height: 1;
  transform: translateY(-1px);
}
.pw2-vchev.up{ top: 10px; }
.pw2-vchev.down{ bottom: 10px; }
.pw2-vchev.up:hover{ transform: translateX(-50%) scale(1.03); }
.pw2-vchev.down:hover{ transform: translateX(-50%) scale(1.03); }

.pw2-vscroll.at-top .pw2-vchev.up{ opacity: 0; pointer-events: none; }
.pw2-vscroll.at-bottom .pw2-vchev.down{ opacity: 0; pointer-events: none; }

/* Mobile: stack playlist under player */
@media (max-width: 900px){
  .pw2-video{ grid-template-columns: 1fr; }
  .pw2-video .pw2-list-inner{ max-height: none; }

  /* slightly smaller but still "fill height" */
  :root{
    --pw2-thumb-w: 112px;
    --pw2-item-h: 92px;
  }
}
/* =========================================================
   PW2 FINAL OVERRIDES (KEEP THIS, DELETE THE DUPES BELOW)
   ========================================================= */

/* thumb spacing (adds breathing room on the left) */
.pw2-thumb{
  margin-left: 6px;
}

/* title block: vertically centered, wraps artist onto extra lines */
.pw2-title{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: top;   /* centers in the open space */
  gap: 4px;

  padding: 0 10px 0 16px;    /* shift text right */
  overflow: hidden;          /* keeps card tidy */
}

/* line 1 = song */
.pw2-song{
  font-weight: 700;
  line-height: 1.15;
}

/* line 2+ = artist (wraps if long) */
.pw2-artist{
  line-height: 1.15;
  opacity: 0.9;
  white-space: normal;
  overflow-wrap: anywhere;
}
.tour-map-embed {
  width: 100%;
  margin-bottom: 0rem;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

/* Desktop height */
.tour-map-embed iframe {
  width: 100%;
  height: 70vh;
  min-height: 420px;
  border: none;
}

/* Mobile tuning */
@media (max-width: 768px) {
  .tour-map-embed iframe {
    height: 70vh;
    min-height: 200px;
  }
}

