/* ============================================================
   AVEC ANIMA — MAIN STYLESHEET
   ============================================================ */

:root {
  --bg:             #0A0A0A;
  --surface:        #111111;
  --border:         #1E1E1E;
  --text:           #FFFFFF;
  --text-secondary: #8A8A8A;

  --font-display: 'Anton', sans-serif;
  --font-body:    'Inter', sans-serif;

  --nav-height: 96px;

  --container:  1200px;
  --gap:        clamp(40px, 6vw, 80px);
}

@media (max-width: 640px) {
  :root {
    --nav-height: 85px;
  }
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── UTILITIES ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.section {
  padding-top: var(--gap);
  padding-bottom: var(--gap);
}

.mt-section {
  margin-top: var(--gap);
}

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 48px);
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--text);
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.btn--solid {
  background: var(--text);
  color: var(--bg);
}
.btn--solid:hover { opacity: 0.85; }

.btn--outline {
  background: transparent;
  color: var(--text);
}
.btn--outline:hover {
  background: var(--text);
  color: var(--bg);
}

.btn--muted {
  border-color: var(--border);
  color: var(--text-secondary);
}
.btn--muted:hover {
  border-color: var(--text);
  color: var(--text);
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  padding: 0 43px;
}

@media (max-width: 640px) {
  .nav .container {
    padding: 0 16px;
  }
}

.nav__logo img {
  height: 36px;
  width: auto;
}

@media (max-width: 640px) {
  .nav__logo img {
    height: 42px;
  }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__links a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.75;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

/* Tablet widths: tighten so the long "Gallery & After Movies" label fits beside the logo */
@media (min-width: 641px) and (max-width: 820px) {
  .nav__links { gap: 14px; }
  .nav__links a { font-size: 12px; }
}

.nav__links a:hover,
.nav__links a.is-active {
  opacity: 1;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(24px, 4vw, 40px);
  padding: clamp(60px, 10vh, 120px) 0;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background:
    linear-gradient(rgba(10, 10, 10, 0.74), rgba(10, 10, 10, 0.88)),
    url('../assets/hero-bg.jpg') center / cover no-repeat;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero__title {
  line-height: 0;
}

.hero__logo {
  width: min(560px, 80vw);
  filter: drop-shadow(0 10px 32px rgba(0, 0, 0, 0.6)) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.hero__tagline {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-secondary);
  max-width: 560px;
  padding: 0 20px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__actions .btn {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ── EVENT CARDS ── */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(24px, 3vw, 36px);
}

.event-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.event-card__poster {
  position: relative;
  aspect-ratio: 1240 / 1754;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface);
}

.event-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.date-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 14px;
  text-align: center;
  line-height: 1.1;
}

.date-badge__month {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.date-badge__day {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--text);
}

.event-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-card__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 24px);
  text-transform: uppercase;
  line-height: 1.05;
}

.event-card__meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.event-card__lineup {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

.event-card__lineup-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.event-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.event-card__link {
  display: contents;
}

.event-card__link:hover .event-card__poster img {
  opacity: 0.85;
}

/* ── EVENT DETAIL ── */
.event-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.event-detail > * {
  min-width: 0;
}

.event-detail__poster {
  aspect-ratio: 1240 / 1754;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.event-detail__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-detail__info .section-label {
  margin-bottom: 12px;
}

.event-detail__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  text-transform: uppercase;
  line-height: 0.95;
  overflow-wrap: break-word;
}

.event-detail__description {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* Date / Time / Location + buttons in one compact card */
.event-detail__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  margin-top: 28px;
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.detail-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-field--wide,
.event-detail__actions {
  grid-column: 1 / -1;
}

.detail-field__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.detail-field__value {
  font-size: 15px;
}

.event-detail__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.event-detail__actions .btn {
  flex: 1 1 180px;
  justify-content: center;
}

/* ── LINEUP (slim rows beside the poster) ── */
.event-detail__lineup {
  margin-top: 28px;
}

.lineup-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.lineup-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.lineup-item__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.lineup-item__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lineup-item__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lineup-item__name {
  font-family: var(--font-display);
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.lineup-item__note {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

/* ── MUSIC PAGE ── */
.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.75);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 18px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.featured-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 20px;
}

.featured-video img,
.featured-video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}

.featured-video:hover .play-badge {
  background: var(--text);
  color: var(--bg);
  transform: translate(-50%, -50%) scale(1.08);
}

.featured-video__caption {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 28px);
  text-transform: uppercase;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(20px, 3vw, 28px);
}

.video-card {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.video-card__thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}

.video-card__thumb img,
.video-card__thumb iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}

.video-card__thumb .play-badge {
  width: 44px;
  height: 44px;
  font-size: 14px;
}

.video-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--surface);
}

.video-placeholder__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
}

.video-card:hover .play-badge {
  background: var(--text);
  color: var(--bg);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-card.is-playing .video-card__thumb {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.video-card:hover .video-card__thumb img {
  transform: scale(1.04);
}

.video-card__thumb img {
  transition: transform 0.4s ease;
}

.video-card__title {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  text-transform: uppercase;
  line-height: 1.2;
}

.section-title--md {
  font-size: clamp(32px, 5vw, 56px);
}

.section-header .section-label {
  margin-bottom: 10px;
}

.featured-video__meta {
  margin-top: 4px;
}

.featured-video__meta .section-label {
  margin-bottom: 8px;
}

.more-videos__label {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--border);
}

.music-listen {
  border-top: 1px solid var(--border);
}

/* SoundCloud: text + player in one panel */
.music-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.music-panel__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.music-panel__lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--text);
}

@media (max-width: 900px) {
  .music-panel {
    grid-template-columns: 1fr;
  }
}

.music-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.3fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.music-row > * {
  min-width: 0;
}

.music-row__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.music-row__text p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.soundcloud-embed {
  border-radius: 4px;
  overflow: hidden;
}

.soundcloud-embed iframe {
  width: 100%;
  border: 0;
  display: block;
}

.soundcloud-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.soundcloud-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.soundcloud-card__play {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.soundcloud-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  line-height: 1.2;
}

.soundcloud-card__subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.soundcloud-card__waveform {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 64px;
}

.soundcloud-card__waveform span {
  flex: 1;
  background: var(--border);
  border-radius: 1px;
}

/* SoundCloud playlist carousel — shown when there's more than one playlist */
.sc-carousel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sc-carousel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sc-carousel__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sc-carousel__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sc-carousel__count {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
}

.sc-carousel__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s;
}

.sc-carousel__btn:hover,
.sc-carousel__btn:focus-visible {
  border-color: var(--text);
}

.sc-carousel__viewport {
  overflow: hidden;
  border-radius: 4px;
}

.sc-carousel__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sc-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
}

.sc-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.sc-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--border);
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}

.sc-carousel__dot.is-active {
  width: 24px;
  background: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .sc-carousel__track,
  .sc-carousel__dot { transition: none; }
}

/* ── MERCH PREVIEW ── */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 220px));
  justify-content: center;
  gap: clamp(20px, 3vw, 28px);
  margin-top: clamp(28px, 4vw, 40px);
  text-align: left;
}

.merch-grid .events-empty {
  grid-column: 1 / -1;
  text-align: center;
}

.merch-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.merch-card__image {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}

.merch-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.merch-card:hover .merch-card__image img {
  transform: scale(1.04);
}

.merch-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.merch-card__price {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── EVENTS PAGE ── */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(300px, 46vh, 460px);
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--border);
}

/* Shared page banner (Events, Gallery, Music): a dimmed strip of images behind the title */
.page-hero__strip {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 24px 0;
  opacity: 0.38;
  filter: saturate(0.85);
}

.page-hero__strip img {
  height: 100%;
  width: auto;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.page-hero__strip--posters img { aspect-ratio: 1240 / 1754; }
.page-hero__strip--wide img { aspect-ratio: 16 / 9; }

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 8%, rgba(10, 10, 10, 0.55) 55%, rgba(10, 10, 10, 0.25)),
    linear-gradient(to right, rgba(10, 10, 10, 0.85), transparent 60%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 48px;
  padding-bottom: clamp(32px, 5vw, 56px);
}

.page-hero__title {
  font-size: clamp(64px, 11vw, 140px);
}

.page-hero__title--long {
  font-size: clamp(48px, 8vw, 104px);
}

.page-hero__stats {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.page-hero__intro {
  margin-top: 14px;
  max-width: 620px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.page-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Gallery: jump links to each event's section */
.page-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.page-hero__chips a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 10, 10, 0.5);
  transition: background 0.2s ease, color 0.2s ease;
}

.page-hero__chips a:hover {
  background: var(--text);
  color: var(--bg);
}

.events-upcoming {
  padding-bottom: 0;
}

/* "Next night — TBA" panel when nothing is announced */
.next-night {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.next-night__poster {
  flex-shrink: 0;
  width: clamp(120px, 16vw, 200px);
  aspect-ratio: 1240 / 1754;
  border: 1px dashed #3a3a3a;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--bg);
}

.next-night__poster img {
  width: 70%;
  opacity: 0.35;
}

.next-night__poster span {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.next-night__body .section-label {
  margin-bottom: 10px;
}

.next-night__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 0.95;
  text-transform: uppercase;
}

.next-night__text {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  max-width: 460px;
}

.next-night__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .next-night {
    flex-direction: column;
    align-items: flex-start;
  }
  .next-night__poster {
    width: 120px;
  }
  .page-hero__strip img:nth-child(n+4) {
    display: none;
  }
  .page-hero__strip--wide img:nth-child(n+2) {
    display: none;
  }
}

.events-empty {
  color: var(--text-secondary);
  font-size: 14px;
  padding: 40px 0;
}

/* ── GALLERY & AFTER MOVIES ── */
.gallery-intro {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  max-width: 640px;
  margin-top: 20px;
}

.gallery-section + .gallery-section {
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--border);
}

.gallery-section {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.gallery-section__header {
  margin-bottom: clamp(24px, 3vw, 32px);
}

.gallery-section__title {
  font-size: clamp(28px, 4vw, 44px);
}

.gallery-section__meta {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 10px;
}

/* Film + photo preview side by side. The film's aspect ratio sets the row height;
   the photo grid has no intrinsic height (images are absolutely positioned) so it
   stretches to match, with 4 rows + the "View all" button. */
.gallery-layout {
  display: grid;
  gap: 12px;
  align-items: stretch;
}

.gallery-section--landscape .gallery-layout { grid-template-columns: 1.75fr 1fr; }
.gallery-section--portrait .gallery-layout { grid-template-columns: 1fr 2.2fr; }
.gallery-section--film .gallery-layout { justify-items: center; }
.gallery-section--film .aftermovie:not(.aftermovie--portrait) { width: 100%; }

.aftermovie {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
}

.aftermovie--portrait {
  aspect-ratio: 9 / 16;
}

.gallery-section--film .aftermovie--portrait {
  width: min(100%, calc(70vh * 9 / 16), 360px);
}

.aftermovie video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aftermovie.is-active {
  cursor: default;
}

.aftermovie.is-active video {
  object-fit: contain;
  background: #000;
}

.aftermovie__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(10, 10, 10, 0.55);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.aftermovie:hover .aftermovie__play {
  transform: scale(1.08);
  background: rgba(10, 10, 10, 0.75);
}

.aftermovie.is-active .aftermovie__play {
  display: none;
}

.gallery-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.gallery-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.gallery-section--portrait .gallery-grid {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-section--photos .gallery-grid {
  grid-template-columns: repeat(6, 1fr);
}

/* No film to match — give the rows their own height */
.gallery-section--photos .gallery-grid {
  grid-template-rows: none;
  grid-auto-rows: clamp(90px, 11vw, 140px);
}

/* Preview counts: 3×4 = 12 beside a widescreen film, 5×4 = 20 beside a vertical one, 6×4 = 24 with no film */
.gallery-section--landscape .gallery-grid__item:nth-child(n+13),
.gallery-section--portrait .gallery-grid__item:nth-child(n+21),
.gallery-section--photos .gallery-grid__item:nth-child(n+25) {
  display: none;
}

.gallery-grid__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  background: var(--surface);
}

.gallery-grid__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.2s ease;
}

.gallery-grid__item:hover img {
  transform: scale(1.04);
  opacity: 0.9;
}

.gallery-all {
  width: 100%;
  justify-content: center;
  border-radius: 4px;
}

/* Tablet + phone: stack film above a square-tile preview */
@media (max-width: 900px) {
  .gallery-section .gallery-layout {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .gallery-section .aftermovie--portrait {
    width: min(100%, calc(75vh * 9 / 16), 420px);
    justify-self: center;
  }
  .gallery-section .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: none;
    grid-auto-rows: auto;
  }
  .gallery-section .gallery-grid__item {
    aspect-ratio: 1;
  }
  .gallery-section .gallery-grid__item:nth-child(n) { display: block; }
  .gallery-section .gallery-grid__item:nth-child(n+9) { display: none; }
}

@media (max-width: 640px) {
  .gallery-section .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
  .gallery-section .gallery-grid__item:nth-child(n) { display: block; }
  .gallery-section .gallery-grid__item:nth-child(n+10) { display: none; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.96);
  padding: 56px 16px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox__btn {
  position: absolute;
  background: none;
  border: none;
  color: var(--text);
  font-size: 44px;
  line-height: 1;
  padding: 12px 16px;
  cursor: pointer;
  opacity: 0.75;
}

.lightbox__btn:hover {
  opacity: 1;
}

.lightbox__btn--close { top: 8px; right: 8px; }
.lightbox__btn--prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 8px; top: 50%; transform: translateY(-50%); }

.lightbox__bar {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 16px;
}

.lightbox__count {
  color: var(--text-secondary);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.lightbox__download {
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── FOOTER ── */
.footer {
  position: relative;
  border-top: 1px solid var(--border);
  padding: clamp(40px, 6vw, 64px) 0 28px;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background:
    linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.93)),
    url('../assets/footer-bg.jpg') center / cover no-repeat;
  z-index: 0;
}

.footer > * {
  position: relative;
  z-index: 1;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--border);
}

.footer__columns {
  display: flex;
  gap: clamp(40px, 6vw, 80px);
  flex-wrap: wrap;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--text);
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer__col a:hover {
  opacity: 1;
}

.footer__brand {
  height: 26px;
  width: auto;
  opacity: 0.9;
}

.footer__bottom {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ── ADMIN ── */
.btn--small {
  padding: 8px 18px;
  font-size: 11px;
}

.btn--danger {
  border-color: #5a2323;
  color: #d9827e;
}
.btn--danger:hover {
  background: #d9827e;
  border-color: #d9827e;
  color: var(--bg);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--text);
}

.field textarea {
  resize: vertical;
  min-height: 80px;
}

.field select {
  cursor: pointer;
}

.fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-header {
  padding-bottom: 0;
}

.admin-header .admin-note {
  margin-top: 16px;
  max-width: 640px;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  margin-top: 32px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.admin-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 16px;
  margin-bottom: -1px;
  cursor: pointer;
  white-space: nowrap;
}

.admin-tab:hover { color: var(--text); }
.admin-tab.is-active {
  color: var(--text);
  border-bottom-color: var(--text);
}

.admin-main {
  padding-top: 32px;
  padding-bottom: 120px;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.admin-toolbar .admin-note { max-width: 720px; }

.admin-box,
.admin-form.admin-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: clamp(20px, 3vw, 28px);
  margin-bottom: 24px;
  max-width: none;
}

.admin-box > .admin-note {
  margin-bottom: 16px;
}

.admin-box__title,
.admin-list-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.admin-list-title {
  margin: 32px 0 12px;
}

.admin-subtitle {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 28px 0 12px;
}

.admin-item__grid .admin-subtitle:first-child,
.admin-item__grid > div > .admin-subtitle:first-child {
  margin-top: 0;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-item {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.admin-item[open] {
  border-color: #333;
}

.admin-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 10px 10px;
  cursor: pointer;
  list-style: none;
}

.admin-row::-webkit-details-marker { display: none; }

.admin-row::after {
  content: '\203A';
  font-size: 22px;
  color: var(--text-secondary);
  transition: transform 0.2s ease;
  margin-left: 4px;
}

.admin-item[open] > .admin-row::after { transform: rotate(90deg); }

.admin-row__thumb {
  width: 40px;
  height: 52px;
  object-fit: cover;
  border-radius: 2px;
  background: var(--bg);
  flex-shrink: 0;
}

.admin-row__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.admin-row__title {
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-row__meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.admin-row__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid #3a3a3a;
  color: var(--text);
  white-space: nowrap;
}

.admin-badge.is-off {
  color: #555;
  border-color: var(--border);
  text-decoration: line-through;
}

.admin-item__body {
  padding: 8px 20px 24px;
  border-top: 1px solid var(--border);
}

.admin-item__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 32px;
  margin-top: 20px;
}

.admin-item__grid--film {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.admin-poster {
  width: 100%;
  border-radius: 2px;
  display: block;
}

.admin-item__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.admin-item__footer-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-link {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-link:hover { color: var(--text); }

.admin-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.admin-actions--sticky {
  position: sticky;
  bottom: 0;
  background: var(--bg);
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.admin-file-btn {
  cursor: pointer;
}

.admin-form .admin-note + .btn {
  margin-top: 12px;
}

.admin-inline-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.admin-inline-form input[type="text"],
.admin-lineup-item input[type="text"] {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 9px 12px;
}

.admin-inline-form input[type="text"] { width: 220px; }

/* Lineup editor */
.admin-lineup {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-lineup-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
}

.admin-lineup-item__photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-secondary);
}

.admin-lineup-item__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-lineup-item__order {
  display: flex;
  gap: 2px;
}

.admin-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.admin-icon-btn:hover:not(:disabled) { border-color: var(--text-secondary); }
.admin-icon-btn:disabled { opacity: 0.3; cursor: default; }
.admin-icon-btn--danger { color: #d9827e; }
.admin-icon-btn--danger:hover { border-color: #d9827e !important; }

/* Gallery editor */
.admin-film video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  display: block;
}

.admin-film--portrait video {
  aspect-ratio: 9 / 16;
  width: auto;
  height: 360px;
}

.admin-photo-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 6px;
}

.admin-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: 2px;
  overflow: hidden;
  cursor: grab;
  opacity: 0.45;
  outline: 2px solid transparent;
  outline-offset: -2px;
}

.admin-photo.is-preview { opacity: 1; }
.admin-photo.is-selected { outline-color: #d9827e; opacity: 1; }
.admin-photo.is-dragging { opacity: 0.2; }

.admin-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.admin-photo__select {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #d9827e;
}

.admin-photo__num {
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-size: 11px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* Music */
.admin-video-row {
  display: grid;
  grid-template-columns: 70px 1fr 1.5fr auto auto;
  gap: 12px;
  align-items: end;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.admin-video-row:last-child { border-bottom: none; }

.admin-video-row__featured {
  visibility: hidden;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 12px;
}

.admin-video-row:first-child .admin-video-row__featured { visibility: visible; }

/* Add Event lineup rows */
.admin-lineup-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.admin-lineup-row:last-child { border-bottom: none; }

/* Settings */
.admin-seo + .admin-seo {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 8px;
}

.admin-seo__page {
  font-weight: 700;
  margin-bottom: 10px;
}

.admin-count {
  float: right;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.admin-count.is-over { color: #d9827e; }

.admin-note {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.admin-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 300;
  max-width: min(560px, calc(100vw - 32px));
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.admin-toast.is-error {
  background: #d9827e;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .event-detail {
    grid-template-columns: 1fr;
  }
  .event-detail__poster {
    max-width: 420px;
    position: static;
  }
  .music-row {
    grid-template-columns: 1fr;
  }
  .fields-row {
    grid-template-columns: 1fr;
  }
  .admin-video-row,
  .admin-lineup-row,
  .admin-item__grid,
  .admin-item__grid--film {
    grid-template-columns: 1fr;
  }
  .admin-video-row__featured { display: none; }
  .admin-row__badges { display: none; }
}

@media (max-width: 640px) {
  .nav__toggle {
    display: flex;
    z-index: 101;
  }
  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--nav-height));
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: rgba(10, 10, 10, 0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav__links a {
    font-size: 22px;
    opacity: 0.55;
  }
  .nav__links a:hover,
  .nav__links a.is-active {
    opacity: 1;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
