/* ==========================================================================
   Beekay — main stylesheet
   ========================================================================== */

@font-face {
  font-family: "Miedinger";
  src: url("../fonts/miedinger-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-black: #0a0a0a;
  --color-white: #ffffff;
  --color-off-white: #f5f4f2;
  --color-accent: #e07352; /* coral/terracotta title-reveal + hover accent */
  --color-grey: #8a8a8a;
  --sidebar-w: 88px;
  --sidebar-w-open: 320px;
  --font-display: "Miedinger", "Arial Narrow", Arial, sans-serif;
  --font-body: "Montserrat", -apple-system, Segoe UI, sans-serif;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-white);
  color: var(--color-black);
  -webkit-font-smoothing: antialiased;
  transition: opacity 0.45s var(--ease);
}

.js body { opacity: 0; }
.js body.is-ready,
html.ready-fallback body { opacity: 1; }

/* If JS never runs, content must still be visible (see noscript in header.php). */

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Sidebar (persistent, all pages)
   -------------------------------------------------------------------------- */

.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--color-black);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  transition: width 0.4s var(--ease);
}

.sidebar__logo img { width: 34px; height: auto; }

.sidebar__logo { display: block; }

.menu-toggle {
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }

/* Expandable nav overlay */
.nav-overlay {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w-open);
  max-width: 86vw;
  background: var(--color-black);
  z-index: 99;
  transform: translateX(calc(-1 * var(--sidebar-w-open)));
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
  padding: 28px 0 28px calc(var(--sidebar-w) + 24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.nav-open .nav-overlay { transform: translateX(0); visibility: visible; transition-delay: 0s; }
body.nav-open .menu-toggle .icon-open { display: none; }
body.nav-open .menu-toggle .icon-close { display: flex; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nav-list a {
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: color 0.25s var(--ease);
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a[aria-current="page"] {
  color: var(--color-accent);
}

.nav-list .nav-icon {
  width: 20px; height: 20px;
  flex: none;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  z-index: 98;
}

body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }

/* --------------------------------------------------------------------------
   Inner page header (breadcrumb + big title) — About/Music/Tours/Blog
   -------------------------------------------------------------------------- */

.page-shell { margin-left: var(--sidebar-w); min-height: 100vh; }

.page-header {
  text-align: center;
  padding: 72px 24px 40px;
}

.page-header__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 9vw, 96px);
  letter-spacing: 0.01em;
  margin: 0 0 12px;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.breadcrumb {
  font-size: 14px;
  color: var(--color-grey);
}

.breadcrumb a { color: var(--color-grey); }
.breadcrumb a:hover { color: var(--color-black); }
.breadcrumb .sep { margin: 0 8px; }
.breadcrumb .current { color: var(--color-black); }

/* --------------------------------------------------------------------------
   Homepage — stationary video, scroll-linked foreground track
   The video is a fixed background layer that fills the sticky viewport and
   never moves. A separate foreground track (Tours/Blog/Music/About/
   Bookings) sits above it and is the only thing JS translates, in lockstep
   with normal vertical scroll (see assets/js/main.js). At rest, the track
   is offset so only a --home-peek-w sliver of the first panel shows at the
   right edge, as if about to slide in.
   -------------------------------------------------------------------------- */

:root {
  --home-peek-w: clamp(56px, 7vw, 110px);
}

.home-scroll-outer {
  position: relative;
  margin-left: var(--sidebar-w);
  /* JS sets an inline height of 100vh + total horizontal travel. */
}

.home-scroll-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.home-video-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #111;
}

.home-scroll-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  z-index: 1;
  will-change: transform;
}

.hpanel {
  position: relative;
  flex: none;
  height: 100%;
  overflow: hidden;
  color: var(--color-white);
}

.hpanel--wide  { width: clamp(300px, 34vw, 560px); }
.hpanel--book  { width: clamp(260px, 26vw, 420px); background: var(--color-black); }

.hpanel__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hpanel__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 50% 52%, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.12) 70%),
    linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.05) 30%);
  z-index: 1;
}

/* Vertical "Scroll" label — lives on the first foreground panel (Tours),
   positioned near its own left edge, since that's the only part visible
   while the panel is still peeking in from the right at rest. */
.hpanel__scroll-cue {
  position: absolute;
  top: 50%;
  left: calc(var(--home-peek-w) * 0.38);
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0.85;
  white-space: nowrap;
}

.hpanel__logo {
  position: absolute;
  z-index: 1;
  left: 40px;
  bottom: 40px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--color-white);
}

/* Centered title + subtitle overlay group (Tours/Blog/Music/About panels) */
.hpanel__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 24px;
  pointer-events: none;
}

.hpanel__title {
  margin: 0;
  line-height: 1;
}

.hpanel__title-link {
  position: relative;
  display: inline-block;
  pointer-events: auto;
  color: var(--color-white);
}

.hpanel__title-clip {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 0 3px;
}

.hpanel__title-base,
.hpanel__title-orange {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hpanel__title-base { color: var(--color-white); }

.hpanel__title-orange {
  position: absolute;
  inset: 0;
  color: var(--color-accent);
  clip-path: inset(0 100% 0 0);
}

.hpanel__title-wipe {
  position: absolute;
  inset: 0;
  background: var(--color-white);
  transform: translateX(-100%);
  pointer-events: none;
}

.hpanel__title-link:hover .hpanel__title-orange,
.hpanel__title-link:focus-visible .hpanel__title-orange {
  animation: title-reveal-orange 0.6s var(--ease) forwards;
}

.hpanel__title-link:hover .hpanel__title-wipe,
.hpanel__title-link:focus-visible .hpanel__title-wipe {
  animation: title-wipe-sweep 0.6s var(--ease) forwards;
}

@keyframes title-wipe-sweep {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

@keyframes title-reveal-orange {
  0%   { clip-path: inset(0 100% 0 0); }
  50%  { clip-path: inset(0 50% 0 0); }
  100% { clip-path: inset(0 0% 0 0); }
}

.hpanel__subtitle {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
}

.hpanel--link { cursor: pointer; }

/* Bookings / contact panel */
.hpanel--book .hpanel__body {
  position: relative;
  z-index: 2;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.book-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.book-content { position: relative; z-index: 2; }

.book-content h3 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.15em;
  margin: 0 0 14px;
}

.book-content p { margin: 4px 0; font-size: 15px; }
.book-content a:hover { color: var(--color-accent); }

.buy-tickets {
  align-self: flex-end;
  border: 1px solid var(--color-white);
  padding: 14px 26px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.buy-tickets[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.buy-tickets:not([aria-disabled="true"]):hover {
  background: var(--color-white);
  color: var(--color-black);
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.about-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  overflow: hidden;
}

.about-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.about-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.15));
}

.about-hero__body {
  position: relative;
  z-index: 2;
  padding: 60px clamp(24px, 6vw, 96px);
  max-width: 900px;
}

.about-hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-grey);
}

.about-hero__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 84px);
  text-transform: uppercase;
  margin: 8px 0 24px;
  line-height: 1.02;
}

.about-hero__body p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 0 18px;
  color: rgba(255,255,255,0.92);
}

.about-contact {
  padding: 40px clamp(24px, 6vw, 96px);
}

.about-contact a { display: block; font-size: 16px; margin-bottom: 6px; }
.about-contact a:hover { color: var(--color-accent); }

.about-social h2 {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.about-social ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 28px; flex-wrap: wrap;
}

.about-social a { font-weight: 600; }
.about-social a:hover { color: var(--color-accent); }

.about-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 48px;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-off-white);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
  filter: brightness(1.07);
}

.gallery-item:focus-visible { outline-offset: -4px; }

@media (prefers-reduced-motion: reduce) {
  .gallery-item:hover img,
  .gallery-item:focus-visible img { transform: none; }
}

@media (max-width: 1099px) {
  .about-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   Music grid + detail
   -------------------------------------------------------------------------- */

.music-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
  padding: 0 clamp(24px, 6vw, 64px) 96px;
  max-width: 1400px;
  margin: 0 auto;
}

.release-card { display: block; }

.release-card__cover {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  margin-bottom: 14px;
  background: var(--color-off-white);
  transition: transform 0.4s var(--ease);
}

.release-card:hover .release-card__cover { transform: scale(1.02); }

.release-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  margin: 0 0 2px;
}

.release-card:hover .release-card__title { color: var(--color-accent); }

.release-card__artist { font-size: 13px; color: var(--color-grey); margin: 0; }

.release-detail {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 64px;
  padding: 0 clamp(24px, 6vw, 64px) 96px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.release-detail__cover { width: 100%; }

.release-detail__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  text-transform: uppercase;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}

.release-detail dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin: 0 0 28px;
  font-size: 15px;
}

.release-detail dt { color: var(--color-grey); }
.release-detail dd { margin: 0; font-weight: 600; }

.share-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.share-row .share-label {
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  width: 100%; margin-bottom: 4px; color: var(--color-grey);
}

.share-link {
  border: 1px solid var(--color-black);
  padding: 9px 16px;
  font-size: 13px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.share-link:hover,
.share-link:focus-visible {
  background: var(--color-black);
  color: var(--color-white);
}

/* Brand-colored hover per platform (Apple Music keeps the default black). */
.share-link[data-brand="youtube"]:hover,
.share-link[data-brand="youtube"]:focus-visible {
  background: #ff0000;
  border-color: #ff0000;
  color: var(--color-white);
}

.share-link[data-brand="spotify"]:hover,
.share-link[data-brand="spotify"]:focus-visible {
  background: #1db954;
  border-color: #1db954;
  color: var(--color-white);
}

.no-links-note { font-size: 14px; color: var(--color-grey); font-style: italic; }

/* --------------------------------------------------------------------------
   Tours
   -------------------------------------------------------------------------- */

.tours-list {
  padding: 0 clamp(24px, 6vw, 64px) 96px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 320px));
  gap: 32px;
}

.tour-card {
  background: var(--color-off-white);
  padding-bottom: 20px;
}

.tour-card__img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.tour-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  text-align: center;
  margin: 16px 12px 0;
}

.tour-card:hover .tour-card__title { color: var(--color-accent); }

.tour-detail {
  padding: 0 clamp(24px, 6vw, 64px) 96px;
  max-width: 760px;
  margin: 0 auto;
}

.tour-detail__card { background: var(--color-off-white); }
.tour-detail__img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.tour-detail__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  text-transform: uppercase;
  margin: 20px 16px;
}

.tour-detail__meta {
  text-align: center;
  color: var(--color-grey);
  font-size: 14px;
  padding-bottom: 20px;
}

.tour-detail__unavailable {
  display: inline-block;
  margin: 0 auto 24px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--color-grey);
  color: var(--color-grey);
  padding: 8px 16px;
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */

.blog-list {
  padding: 0 clamp(24px, 6vw, 64px) 96px;
  max-width: 900px;
  margin: 0 auto;
}

.blog-empty {
  color: var(--color-grey);
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Back-to-top
   -------------------------------------------------------------------------- */

.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  border-radius: 2px;
  background: var(--color-accent);
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 50;
}

.back-to-top.is-visible { opacity: 1; pointer-events: auto; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .music-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .release-detail { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .page-header { padding: 56px 20px 28px; }
  .page-header__title { font-size: clamp(30px, 9.5vw, 56px); overflow-wrap: anywhere; }

  .about-hero { min-height: 60vh; }
  .about-hero__name { font-size: clamp(28px, 9vw, 44px); overflow-wrap: anywhere; }
}

@media (max-width: 480px) {
  .music-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; padding-left: 12px; padding-right: 12px; }
  .release-card__title { font-size: 12px; overflow-wrap: break-word; }
  body.music-page .release-card { padding: 5px 5px 10px; }
}

@media (max-width: 360px) {
  .music-grid { grid-template-columns: minmax(0, 1fr); }
}


/* ==========================================================================
   Logo intro + event pop-up
   ========================================================================== */

/* Scroll lock lives on <html> only. Putting overflow:hidden on <body> too would
   turn it into a scroll container and unstick the sticky mobile header. */
html.intro-pending,
html.modal-open,
html.lightbox-open,
html.nav-open { overflow: hidden; }

/* Keeps the page from shifting sideways when the scrollbar is hidden/restored. */
html.intro-pending,
html.modal-open,
html.lightbox-open { scrollbar-gutter: stable; }

/* The site renders (and its assets load) behind the intro, so show it at once. */
html.intro-pending body { opacity: 1; }
html.intro-pending { background: #0a0a0a; }

.intro {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--color-black);
  align-items: center;
  justify-content: center;
  /* Pure-CSS safety net: even if main.js never runs, the intro fades away at
     ~3s and stops blocking the page. */
  animation: intro-out 0.5s ease 2.6s forwards;
}

html.intro-pending .intro { display: flex; }

@keyframes intro-out {
  from { opacity: 1; visibility: visible; }
  to   { opacity: 0; visibility: hidden; pointer-events: none; }
}

.intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.intro__logo {
  width: clamp(110px, 24vw, 156px);
  height: auto;
  opacity: 0;
  transform: scale(0.82);
  animation: intro-logo 1.1s var(--ease) 0.2s forwards;
}

.intro__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 3.2vw, 26px);
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-transform: uppercase;
  color: var(--color-white);
  opacity: 0;
  animation: intro-fade 0.9s ease 0.9s forwards;
}

.intro__line {
  display: block;
  width: clamp(120px, 26vw, 200px);
  height: 2px;
  background: rgba(255,255,255,0.14);
  position: relative;
  overflow: hidden;
}

.intro__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  transform: translateX(-100%);
  animation: intro-line 2s var(--ease) 0.5s forwards;
}

@keyframes intro-logo { to { opacity: 1; transform: scale(1); } }
@keyframes intro-fade { to { opacity: 1; } }
@keyframes intro-line { to { transform: translateX(0); } }

/* Event modal ------------------------------------------------------------ */

.event-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.event-modal[hidden] { display: none; }

.event-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 4, 0.82);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.event-modal__card {
  position: relative;
  width: min(100%, 420px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #14110e;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.event-modal.is-open .event-modal__backdrop { opacity: 1; }
.event-modal.is-open .event-modal__card { opacity: 1; transform: none; }

.event-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  background: rgba(10,10,10,0.7);
  color: var(--color-white);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.event-modal__close:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.event-modal__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #1d1814;
}

.event-modal__body {
  padding: 22px 24px 26px;
  text-align: center;
}

.event-modal__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.event-modal__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 6vw, 30px);
  line-height: 1.1;
  text-transform: uppercase;
}

.event-modal__cta {
  display: inline-block;
  min-width: 200px;
  padding: 15px 30px;
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.event-modal__cta:hover,
.event-modal__cta:focus-visible {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-black);
}

/* Short landscape screens: image beside text so nothing needs scrolling. */
@media (orientation: landscape) and (max-height: 560px) {
  .event-modal__card {
    width: min(100%, 720px);
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    align-items: center;
  }
  .event-modal__img { height: 100%; max-height: calc(100dvh - 34px); }
  .event-modal__body { padding: 16px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .intro__logo, .intro__word { opacity: 1; transform: none; }
  .intro__line::after { transform: none; }
}

/* ==========================================================================
   Shared text link
   ========================================================================== */

.text-link { text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--color-accent); }

/* ==========================================================================
   Shared dark photo background: Music, Videos, Blog and Tours listing pages
   (scoped to body.music-page / .videos-page / .blog-page / .tours-page)
   ========================================================================== */

body.music-page,
body.videos-page,
body.blog-page,
body.tours-page { background: #0e0a07; color: var(--color-white); }

body.music-page::before,
body.videos-page::before,
body.blog-page::before,
body.tours-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(10,6,3,0.72), rgba(10,6,3,0.82)),
    url("../img/aboutback.jpg") center top / cover no-repeat;
}

body.music-page .breadcrumb,
body.music-page .breadcrumb a,
body.videos-page .breadcrumb,
body.videos-page .breadcrumb a,
body.blog-page .breadcrumb,
body.blog-page .breadcrumb a,
body.tours-page .breadcrumb,
body.tours-page .breadcrumb a { color: rgba(255,255,255,0.7); }
body.music-page .breadcrumb a:hover,
body.music-page .breadcrumb .current,
body.videos-page .breadcrumb a:hover,
body.videos-page .breadcrumb .current,
body.blog-page .breadcrumb a:hover,
body.blog-page .breadcrumb .current,
body.tours-page .breadcrumb a:hover,
body.tours-page .breadcrumb .current { color: var(--color-white); }

body.music-page .release-card {
  padding: 12px 12px 16px;
  background: rgba(10,8,6,0.62);
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

body.music-page .release-card:hover { border-color: var(--color-accent); background: rgba(10,8,6,0.8); }
body.music-page .release-card__title { color: var(--color-white); }
body.music-page .release-card:hover .release-card__title { color: var(--color-accent); }
body.music-page .release-card__artist { color: rgba(255,255,255,0.72); }

/* Blog + Tours cards: same dark translucent panel as the Music cards. */
body.blog-page .blog-card,
body.tours-page .tour-card {
  background: rgba(10,8,6,0.62);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-white);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
body.tours-page .tour-card { padding: 12px 12px 20px; }
body.blog-page .blog-card:hover,
body.tours-page .tour-card:hover { border-color: var(--color-accent); background: rgba(10,8,6,0.8); }
body.blog-page .blog-card__excerpt { color: rgba(255,255,255,0.78); }
body.blog-page .blog-card__more,
body.tours-page .tour-card__title { color: var(--color-white); }
body.blog-page .blog-card__more:hover { color: var(--color-accent); }
body.blog-page .blog-empty,
body.tours-page .blog-empty { color: rgba(255,255,255,0.75); }

@media (max-width: 480px) {
  body.tours-page .tour-card { padding: 8px 8px 16px; }
}

/* ==========================================================================
   Blog
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 440px));
  justify-content: center;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 64px) 96px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--color-off-white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,0.14); }

.blog-card__media { display: block; overflow: hidden; background: #1a1a1a; }

.blog-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-card__media img { transform: scale(1.04); }

.blog-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 26px; }

.blog-card__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.blog-card__title a:hover { color: var(--color-accent); }

.blog-card__excerpt { margin: 0 0 20px; font-size: 15px; line-height: 1.65; color: #444; }

.blog-card__more {
  margin-top: auto;
  align-self: flex-start;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 3px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.blog-card__more:hover { color: var(--color-accent); }

/* Article detail */

.page-header--article { padding-bottom: 8px; }

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px clamp(24px, 6vw, 40px) 96px;
}

.article__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 5vw, 46px);
  line-height: 1.1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.article__byline { margin: 0 0 28px; font-size: 14px; color: var(--color-grey); }
.article__byline strong { color: var(--color-black); }
.article__byline .sep { margin: 0 8px; }

.article__image {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  margin-bottom: 36px;
  background: var(--color-off-white);
}

.article__body p { font-size: 17px; line-height: 1.8; margin: 0 0 22px; }

.article__question {
  margin: 40px 0 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  padding-left: 14px;
  border-left: 3px solid var(--color-accent);
}

.article__source { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid #ddd; font-size: 14px; color: #555; }
.article__back { margin: 40px 0 0; }
.article__back .share-link { display: inline-block; }

/* ==========================================================================
   Videos
   ========================================================================== */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px) 40px;
}

@media (max-width: 1099px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .video-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-frame iframe,
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-facade { display: block; }

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease);
}

.video-facade:hover img { transform: scale(1.04); opacity: 0.85; }

.video-facade__play {
  position: absolute;
  top: 50%; left: 50%;
  width: 68px; height: 68px;
  margin: -34px 0 0 -34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(10,10,10,0.72);
  border: 2px solid var(--color-white);
  color: var(--color-white);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.video-facade:hover .video-facade__play,
.video-facade:focus-visible .video-facade__play {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.video-card__meta { margin-top: 14px; }

.video-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

body.videos-page .video-card__title { color: var(--color-white); }

.video-more { text-align: center; margin: 8px 24px 96px; }

.video-more__btn {
  display: inline-block;
  padding: 16px 38px;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.video-more__btn:hover,
.video-more__btn:focus-visible {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* Homepage only: keep back-to-top clear of the Buy Tickets button. */
body.home .back-to-top { bottom: 92px; }


/* ==========================================================================
   About gallery lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 4, 0.97);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.lightbox.is-open .lightbox__backdrop { opacity: 1; }

.lightbox__figure {
  position: relative;
  margin: 0;
  width: 100%;
  height: 100%;
  padding: 64px 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* empty space falls through to the backdrop (closes) */
}

.lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.lightbox.is-open .lightbox__img.is-loaded { opacity: 1; }

.lightbox__count {
  position: absolute;
  left: 0; right: 0;
  bottom: 22px;
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.lightbox__btn {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  background: rgba(14,12,10,0.7);
  color: var(--color-white);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.lightbox__btn:hover { background: var(--color-accent); border-color: var(--color-accent); }

.lightbox__close { top: 14px; right: 14px; }
.lightbox__nav { top: 50%; margin-top: -24px; }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

@media (max-width: 720px) {
  .lightbox__figure { padding: 68px 12px 88px; }
  .lightbox__nav { top: auto; bottom: 18px; margin-top: 0; width: 52px; height: 52px; }
  .lightbox__prev { left: 20px; }
  .lightbox__next { right: 20px; }
  .lightbox__count { bottom: 32px; }
}

/* ==========================================================================
   MOBILE LAYOUT (<= 720px): ordinary vertical page, no sidebar.
   Compact header on top (logo left, menu right), dropdown navigation, and the
   homepage becomes a normal stack: video first, then the panels. Desktop
   keeps the sidebar and the horizontal scroll track (see main.js, which also
   clears every inline transform/height it sets whenever this layout is on).
   ========================================================================== */

@media (max-width: 720px) {
  :root { --sidebar-w: 0px; --header-h: 56px; }

  .sidebar {
    position: sticky;
    top: 0;
    left: auto;
    bottom: auto;
    width: 100%;
    height: var(--header-h);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px 0 18px;
    transition: none;
  }

  .sidebar__logo { display: flex; align-items: center; min-height: 44px; }
  .sidebar__logo img { width: 30px; }
  .menu-toggle { min-width: 44px; min-height: 44px; padding: 10px; }

  /* Dropdown under the header instead of a side drawer. */
  .nav-overlay {
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    max-width: none;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 6px 20px 20px;
    justify-content: flex-start;
    border-top: 1px solid rgba(255,255,255,0.12);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }

  body.nav-open .nav-overlay { opacity: 1; transform: none; }

  .nav-list { gap: 0; }
  .nav-list li + li { border-top: 1px solid rgba(255,255,255,0.08); }
  .nav-list a { padding: 15px 2px; font-size: 20px; min-height: 52px; }

  .nav-scrim { top: var(--header-h); }

  /* Homepage: normal flow. The !important guards beat any inline value JS
     may have written on desktop, so a resize can never leave stale state. */
  .home-scroll-outer { height: auto !important; margin-left: 0; }
  .home-scroll-viewport { position: static; height: auto; overflow: visible; }

  .home-video-layer {
    position: relative;
    inset: auto;
    width: 100%;
    height: calc(100vh - var(--header-h));
    height: min(calc(100svh - var(--header-h)), 140vw);
    min-height: 240px;
  }

  .home-scroll-track {
    position: static;
    display: block;
    width: auto;
    height: auto;
    transform: none !important;
    will-change: auto;
  }

  .hpanel { height: auto; }
  .hpanel--wide { width: 100%; height: clamp(320px, 110vw, 520px); }
  .hpanel--book { width: 100%; min-height: 360px; }
  .hpanel--book .hpanel__body { min-height: 360px; gap: 40px; padding: 40px 24px 36px; }
  .hpanel__scroll-cue { display: none; }
  .hpanel__logo { left: 20px; bottom: 22px; }
  .hpanel__title-base,
  .hpanel__title-orange { font-size: clamp(34px, 10vw, 48px); }

  .buy-tickets { align-self: flex-start; }
  body.home .back-to-top { bottom: 24px; }
}
