/* ====== THEME TOKENS ====== */
:root {
    --bg: #ffffff;
    --fg: #111111;
    --muted: #6b7280;
    --border: #e5e7eb;
}

/* ====== GLOBAL RESETS ====== */
* {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: "Bebas Neue", sans-serif;
    line-height: 1.35;
}

/* ====== LAYOUT: TWO COLUMNS ====== */
.shell {
    display: grid;
    grid-template-columns: 3fr 5fr;
    height: 100vh;
}
/* Left rail is sticky and scrolls independently */
.rail {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: auto;
    border-right: 1px solid var(--border);
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
}
/* Right panel scrolls and holds the gallery */
.panel {
    height: 100vh;
    overflow-y: auto;
}

/* ====== BRANDING BLOCK ====== */
.brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.logo {
    width: 90%;
    margin: 0 auto;
}
.logo img {
    width: 100%;
    height: auto;
    display: block;
}
.subtitle {
    font-size: 25px;
    text-transform: uppercase;
    margin-left: 20px;
}

/* ====== NAVIGATION ====== */
nav {
    margin-top: 22px;
}
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.submenu-toggle,
.nav-link {
    all: unset;
    cursor: pointer;
    padding: 12px 14px;
    font-size: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 50%;
}
.submenu {
    list-style: none;
    padding: 6px 0 6px 20px;
    margin: 0;
}
.submenu[hidden] {
    display: none;
}
.submenu > li > a {
  all: unset;
  cursor: pointer;
  padding: 8px 10px;
  font-size: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 50%;

}
.submenu .thumb-row a {
  all: revert;
  display: inline-block;
  padding: 0;
  cursor: zoom-in;
}
.submenu a img,
.submenu-toggle img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

/* ====== EXPANSION CONTAINERS (under each nav item) ====== */
.nav-expand {
    margin: 8px 0 10px 14px;
}
.submenu-expand {
    margin: 6px 0 10px 34px;
}

/* ====== LEFT COLUMN CONTENT AREA ====== */
#left-content {
    margin-top: 16px;
}
.artist-block {
    margin-bottom: 18px;
}
.artist-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.artist-title img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.thumb-row {
    display: flex;
    margin: 10px 0 14px;
}
/* ENFORCE 160×160 FOR ARTIST THUMBS */
.thumb-row img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover;
    cursor: pointer;
}
/* Ensure artist thumbnails are NOT circular */
.thumb-row img,
.thumb-row a img {
    border-radius: 0 !important;
}
.artist-text {
    font-size: 18px;
    margin: 0 0 8px 0;
}
.artist-links a {
    font-size: 18px;
}

/* ====== RIGHT PANEL GALLERY ====== */
.gallery {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
}
.tile {
    margin: 0;
    padding: 0;
}
.tile img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

/* ====== LEFT RAIL FOOTER ====== */
.rail-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    text-decoration: none;
}
.copyright {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 14px;
}
.social-links {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}
.social-links a {
    color: var(--fg);
    font-size: 20px;
    display: inline-flex;
    align-items: center;
}
/* Footer links: kill underline */
.rail-footer a,
.rail-footer a:link,
.rail-footer a:visited,
.rail-footer a:hover,
.rail-footer a:active {
    text-decoration: none;
}



/* ====== SHOWS LIST ONLY: grid rows, 9:16 thumbs, scrollable overflow ====== */
.shows-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 45vh;
    overflow: auto;
    padding-right: 6px;
}
.show-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    align-items: center;
}
.show-thumb {
    width: 120px;
}
.show-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    display: block;
}
.show-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.show-date {
    font-size: 28px;
}
.show-venue {
    font-size: 28px;
}
.show-city {
    font-size: 22px;
    color: var(--muted);
}

/*--- PLAYER v2 (scoped to .mixes-player) ---*/
.mixes-player {
    --bg: #ffffff;
    --ink: #000000;
    --muted: #8a8a8a;
    --row: #f6f6f6;
    --row-border: #e6e6e6;
    --active: #000;
    --activeText: #fff;
}
.mixes-player .wrap {
    max-width: none;
    width: 100%;
    margin: 24px 0;
    padding: 0 16px;
}
.mixes-player .now {
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-gap: 14px;
    align-items: center;
}
.mixes-player .art {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    object-fit: cover;
    background: #ddd;
}
.mixes-player .titles {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mixes-player .title {
    font-weight: 800;
    font-size: 25px;
    letter-spacing: 0.2px;
    line-height: 1.05;
}
.mixes-player .subtitle {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.1;
}
.mixes-player .wave {
    position: relative;
    height: 84px;
    margin: 12px 0 8px 0;
    user-select: none;
}
.mixes-player .wave .bars,
.mixes-player .wave .progress {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to right, var(--ink) 0 2px, transparent 2px 6px);
    -webkit-mask: linear-gradient(#000, #000);
    mask: linear-gradient(#000, #000);
}
.mixes-player .wave .bars {
    opacity: 0.25;
}
.mixes-player .wave .progress {
    opacity: 1;
    width: 0%;
}
.mixes-player .time-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}
.mixes-player .controls {
    display: flex;
    justify-content: center;
    gap: 56px;
    align-items: center;
    margin: 8px 0 26px 0;
}
.mixes-player .btn {
    background: none;
    border: 0;
    cursor: pointer;
    width: 64px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mixes-player .btn svg {
    width: 40px;
    height: 40px;
}
.mixes-player .btn:active {
    transform: scale(0.96);
}
/* REMOVE OUTER BORDER ON LIST */
.mixes-player .list {
    border: 0;
    border-radius: 8px;
    overflow: hidden;
}
/* KEEP ONLY DIVIDERS BETWEEN TRACKS; NO OUTER BORDERS ON ROWS */
.mixes-player .row {
    display: grid;
    grid-template-columns: 76px 1fr max-content;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 0;
    border-bottom: 1px solid var(--row-border);
    background: #fff;
    cursor: pointer;
    width: 100%;
}
.mixes-player .row:hover {
    background: var(--row);
}
.mixes-player .row.active {
    background: var(--active);
    color: var(--activeText);
}
.mixes-player .thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    background: #ddd;
}
/* TWO-LINE META */
.mixes-player .row .meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.05;
}
.mixes-player .row .meta-title {
    font-weight: 900;
}
.mixes-player .row .meta-artist {
    font-weight: 800;
    opacity: 0.9;
}
.mixes-player .dur {
    font-weight: 800;
    opacity: 0.9;
    padding-left: 10px;
    justify-self: end;
    text-align: right;
    white-space: nowrap;
    min-width: 3ch;
}
@media (max-width: 600px) {
    .mixes-player .title {
        font-size: 20px;
    }
    .mixes-player .subtitle {
        font-size: 18px;
    }
    .mixes-player .row .meta-title,
    .mixes-player .row .meta-artist {
        font-size: 15px;
    }
    .mixes-player .dur {
        font-size: 15px;
    }
    .mixes-player .controls {
        gap: 28px;
    }
    .mixes-player .btn {
        width: 52px;
        height: 52px;
    }
    .mixes-player .btn svg {
        width: 32px;
        height: 32px;
    }
}

/* --- Requested tweaks (playlist font 22px, album art 160x160) --- */
.mixes-player .row .meta-title,
.mixes-player .row .meta-artist,
.mixes-player .dur {
    font-family: "Bebas Neue", sans-serif !important;
    font-size: 15px !important;
    line-height: 1.05;
}
.mixes-player .art {
    width: 80px !important;
    height: 80px !important;
}
.mixes-player .now {
    grid-template-columns: 80px 1fr !important;
}

/* ===== VIP LIST (JotForm) wrapper styles ===== */
.vip-wrap {
    max-width: 980px;
    margin: 16px 0 0 14px;
    padding: 18px;
    border: 2px solid var(--fg);
    border-radius: 12px;
    background: var(--bg);
}
.vip-title {
    font-size: 56px;
    line-height: 0.9;
    text-transform: uppercase;
    margin: 0 0 8px;
}
.vip-sub {
    font-size: 22px;
    color: var(--muted);
    margin: 0 0 14px;
}
.vip-form-frame {
    width: 100%;
    height: 640px;
    border: 2px solid var(--border);
    border-radius: 8px;
}
.vip-note {
    font-size: 18px;
    color: var(--muted);
    margin-top: 10px;
}

.mixes-player,
.mixes-player .row,
.mixes-player .titles,
.mixes-player .list {
    text-align: left;
}

/* ====== MERCH (simple grid) ====== */
.merch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 480px;
}
.merch-item {
    border: 1px solid var(--border);
    padding: 8px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.merch-item img {
    width: 100%;
    height: auto;
    display: block;
}
.merch-item .title {
    font-size: 28px;
}

/* ====== CONTACT (scoped) ====== */
.contact {
    max-width: 720px;
    padding: 18px;
    border-radius: 12px;
    background: var(--bg);
}
.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 18px;
}
.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    font-family: "Bebas Neue", sans-serif;
}
.btn-send {
    width: 100%;
    justify-self: start;
    padding: 10px 18px;
    border: 2px solid var(--fg);
    border-radius: 10px;
    background: var(--fg);
    color: #fff;
    cursor: pointer;
    font-family: "Bebas Neue", sans-serif;
    font-size: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.contact a {
    color: #000;
    text-decoration: none;
}
.contact a:hover,
.contact a:focus {
    color: #333;
}

/* Size and align the inline SVG images used as <img> */
.social-links .icon-svg {
    display: block;
    width: 1.55em; /* scales with the link's font-size */
    height: auto;
}
/* GLightbox: scale images to viewport without cropping */
.glightbox-container .gslide-image img,
.glightbox-container .gslide-image picture img {
  width: auto !important;
  height: auto !important;
  max-width: calc(100vw - 64px) !important;
  max-height: calc(100vh - 64px) !important;
  object-fit: contain !important;
}
/* Prevent unintended rounding inside overlay */
.glightbox-container img { border-radius: 0 !important; }

/* ===== MOBILE LAYOUT (stack + sticky footer) ===== */
@media (max-width: 768px) {
  /* Stack columns */
  .shell {
    grid-template-columns: 1fr;
    height: auto;
  }
  .panel {
    height: auto;
    overflow: visible;
  }

  /* Left rail behaves like normal flow */
  .rail {
    position: static;
    top: auto;
    height: auto;
    overflow: visible;
    border-right: 0;
    padding: 16px 16px 76px; /* bottom padding so content clears sticky footer */
  }

  /* Logo full-width and centered */
  .logo {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 8px;
  }
  .subtitle {
    margin-left: 0;
    text-align: center;
  }

  /* Top-level nav size only (submenus unchanged) */
  .submenu-toggle,
  .nav-link {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1;
    padding: 10px 12px;
  }

  /* Footer fixed to bottom with white background */
  .rail-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-top: 1px solid var(--border);
    padding: 10px 14px;
    z-index: 1000;
  }
  .rail-footer .copyright {
    font-size: 12px;
  }

  /* Keep page content above the fixed footer */
  body {
    padding-bottom: 64px;
  }
}
/* ===== MOBILE TWEAKS: hide copyright, bigger footer icons, tighter nav ===== */
@media (max-width: 768px) {
  /* Top-level nav: smaller line-height, tighter padding */
  .submenu-toggle,
  .nav-link {
    line-height: 0.9;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  /* Footer: white bar, remove copyright, logos fill width and are larger */
  .rail-footer {
    background: #fff;
    padding: 12px 14px;
  }
  .rail-footer .copyright {
    display: none; /* removed on mobile */
  }
  .rail-footer .social-links {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }
  .rail-footer .social-links a {
    flex: 1 1 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px 4px;
    text-decoration: none;
  }
  /* Font Awesome icons */
  .rail-footer .social-links i {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1;
  }
  /* SVG/IMG icons (e.g., RA, DICE) */
  .rail-footer .social-links .icon-svg {
    height: clamp(24px, 7vw, 34px);
    width: auto; /* override inline width attributes */
    display: block;
  }

  /* Clear the taller fixed footer */
  body { padding-bottom: 84px; }
  .rail { padding-bottom: 96px; }
}
/* ===== MOBILE FIX: RA/DICE size + tighter stack gap ===== */
@media (max-width: 768px) {
  /* Make RA and DICE smaller than the other icons */
  .rail-footer .social-links img[alt="Resident Advisor"],
  .rail-footer .social-links img[alt="DICE"] {
    height: clamp(18px, 4.8vw, 24px);
    width: auto;
  }

  /* Reduce whitespace between left nav block and right-column images */
  .shell { row-gap: 6px; }            /* if grid gap is used */
  .panel { margin-top: 6px; }         /* fallback if gap isn't used */
  .panel:first-of-type { margin-top: 0; }
  .panel .gallery,
  .panel .grid,
  .panel .images { margin-top: 0; }   /* common wrappers, no top margin */
}
/* ===== MOBILE: smaller top nav + tighter gap below menu ===== */
@media (max-width: 768px) {
  /* Top-level nav a bit smaller */
  .submenu-toggle,
  .nav-link {
    font-size: clamp(30px, 5.6vw, 26px);
    line-height: 0.75;
  }

  /* Remove the big space between VIP LIST and the images */
  .rail { padding-bottom: 8px !important; }   /* override earlier large padding */
  .shell { row-gap: 4px; }                    /* tighten stack spacing */
  .rail + .panel { margin-top: 4px !important; } /* first section after nav */
}



