/* ===================== RYOSHI — base ===================== */
:root{
  --bg: #08070a;
  --bg-alt: #0d0c10;
  --fg: #f2efe9;
  --muted: #9a948f;
  --accent: #c8202f;
  --accent-2: #7d1520;
  --line: rgba(242,239,233,0.12);
  --ease: cubic-bezier(.16,.84,.44,1);
  --font-display: 'Anton', 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html.theme-red{
  --accent: #ff2b3b;
  --bg: #120404;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family: inherit; background:none; border:none; color:inherit; cursor:none; }

::selection{ background: var(--accent); color:#fff; }

/* Hide custom cursor on touch devices */
@media (hover:none){
  body{ cursor:auto; }
  .cursor-dot, .cursor-ring{ display:none; }
}

/* ===================== Custom Cursor ===================== */
.cursor-dot, .cursor-ring{
  position: fixed;
  top:0; left:0;
  pointer-events:none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  will-change: transform, width, height;
}
.cursor-dot{
  width:6px; height:6px;
  background: var(--fg);
  transition: opacity .2s;
}
.cursor-ring{
  width:34px; height:34px;
  border: 1px solid var(--fg);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s, background .25s, opacity .25s;
}
.cursor-ring.link{
  width:64px; height:64px;
  background: var(--fg);
  mix-blend-mode: difference;
}
.cursor-ring.img{
  width:90px; height:56px;
  border-radius: 40%;
  background: rgba(242,239,233,.08);
  border-color: var(--fg);
}

/* ===================== Intro ===================== */
.intro{
  position: fixed; inset:0;
  background: #000;
  z-index: 10000;
  display:flex; align-items:center; justify-content:center;
  transition: opacity .6s ease, visibility .6s ease;
}
.intro.hide{ opacity:0; visibility:hidden; }
.intro-logo{
  width: 90px; height:90px;
  border-radius:50%;
  object-fit:cover;
  filter: grayscale(1) contrast(1.2);
  opacity:0;
  animation: introFade 1.6s var(--ease) forwards;
}
@keyframes introFade{
  0%{ opacity:0; transform: scale(.8); filter: grayscale(1) contrast(1.2) brightness(.4); }
  15%{ opacity:1; transform: translateX(-4px) scale(1.02); }
  20%{ transform: translateX(4px) scale(.98); }
  25%{ transform: translateX(-2px) scale(1); }
  40%{ opacity:1; transform: scale(1); filter: grayscale(1) contrast(1.2) brightness(1); }
  100%{ opacity:1; transform: scale(1); }
}

/* ===================== Particles ===================== */
#particles{
  position: fixed; inset:0;
  width:100%; height:100%;
  z-index: 1;
  pointer-events:none;
  opacity: .5;
}

/* ===================== Nav ===================== */
.nav{
  position: fixed; top:0; left:0; right:0;
  z-index: 500;
  display:flex; align-items:center; justify-content:space-between;
  padding: 22px 40px;
  transition: background .4s ease, padding .4s ease, backdrop-filter .4s ease;
}
.nav.scrolled{
  background: rgba(8,7,10,0.75);
  backdrop-filter: blur(10px);
  padding: 14px 40px;
  border-bottom: 1px solid var(--line);
}
.nav-logo-wrap{
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-display);
  letter-spacing: 2px;
  font-size: 18px;
}
.nav-logo{
  width: 34px; height:auto; object-fit:contain;
  transition: transform .3s var(--ease);
}
.nav-links{
  display:flex; gap: 32px;
}
.nav-links a{
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  transition: color .3s;
}
.nav-links a::after{
  content:'';
  position:absolute; left:0; bottom:-4px;
  width:0; height:1px;
  background: var(--fg);
  transition: width .3s var(--ease);
}
.nav-links a:hover{ color: var(--fg); }
.nav-links a:hover::after{ width:100%; }

.nav-toggle{ display:none; flex-direction:column; gap:5px; }
.nav-toggle span{ width:22px; height:2px; background: var(--fg); }

@media (max-width: 860px){
  .nav-links{
    position: fixed; top:0; right:0; height:100vh; width: min(78vw,320px);
    background: rgba(8,7,10,0.97);
    flex-direction: column; align-items: flex-start;
    padding: 100px 32px; gap: 26px;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-toggle{ display:flex; z-index:501; }
}

/* ===================== Hero ===================== */
.hero{
  position: relative;
  height: 100svh;
  display:flex;
  align-items:center; justify-content:center;
  overflow:hidden;
  z-index: 2;
}
.hero-bg-wrap{
  position:absolute; inset:0;
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.15);
  will-change: transform;
}
.hero-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(8,7,10,.55) 0%, rgba(8,7,10,.35) 35%, rgba(8,7,10,.85) 100%);
}
@media (max-width: 760px){
  /* Homepage hero only: show the full group shot (all 4 members) on
     mobile portrait instead of cropping the sides with object-fit:cover */
  #hero .hero-bg{
    object-fit: contain;
    object-position: center center;
    transform: scale(1);
  }
  /* Spread the hero logos so nothing overlaps the group shot on mobile:
     main emblem pinned to the top, wordmark + tag + buttons clustered
     at the bottom. .hero-emblem becomes display:contents so its two
     images can be positioned independently as direct flex children. */
  #hero .hero-content{
    height: 100%;
    justify-content: flex-start;
    padding: 66px 20px 40px;
  }
  #hero .hero-emblem{
    display: contents;
  }
  #hero .hero-logo{
    order: 1;
    width: min(98px, 22vw);
    margin: 0 auto auto;
    transition: opacity .2s linear;
  }
  #navLogo{ transition: opacity .2s linear; }
  #hero .hero-title-logo{
    order: 2;
    width: min(260px, 68vw);
    margin: 0 auto;
  }
  #hero .hero-tag{ order: 3; margin: 12px 0 14px; }
  #hero .hero-buttons{ order: 4; }
}
.hero-grain{
  position:absolute; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity:.12;
  mix-blend-mode: overlay;
}
.hero-content{
  position: relative;
  z-index: 3;
  text-align:center;
  display:flex; flex-direction:column; align-items:center;
  padding: 0 20px;
}
.hero-emblem{
  display:flex;
  flex-direction: column;
  align-items:center;
  opacity: .95;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.hero-logo{
  width: min(200px, 34vw); height:auto;
  object-fit:contain;
  margin-bottom: -4px;
  position: relative;
  z-index:2;
}
.hero-title-logo{
  width: min(420px, 62vw);
  height:auto;
  object-fit:contain;
  margin: 6px auto 0;
  position: relative;
  z-index:1;
  filter: drop-shadow(0 6px 30px rgba(0,0,0,.5));
}
.hero-sub{
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 6px 0 4px;
  font-weight: 600;
}
.hero-tag{
  color: var(--muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 12px;
  margin: 6px 0 12px;
}
.hero-buttons{
  display:flex; gap: 18px; flex-wrap: wrap; justify-content:center;
}
.hero-icon-btn{
  width: 46px; height:46px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  transition: transform .3s var(--ease);
}
.hero-icon-btn img{
  width:100%; height:100%; object-fit:contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
  transition: filter .3s ease;
}
.hero-icon-btn:hover{
  transform: translateY(-4px) scale(1.08);
}

.scroll-hint{
  position:absolute; bottom: 28px; left:50%; transform: translateX(-50%);
  z-index:3;
  display:flex; flex-direction:column; align-items:center; gap:10px;
  color: var(--muted);
  font-size: 10px; letter-spacing: 3px;
}
.scroll-line{
  width:1px; height: 40px;
  background: linear-gradient(180deg, var(--fg), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse{
  0%,100%{ opacity:.3; }
  50%{ opacity:1; }
}

/* ===================== Big type interstitial ===================== */
.big-type-wrap{
  position: relative;
  padding: 70px 20px;
  text-align:center;
  overflow:hidden;
  z-index:2;
}
.big-type{
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 140px);
  line-height: .92;
  margin:0;
  letter-spacing: 2px;
}
.big-type-wrap::before{
  content: attr(data-outline);
  position:absolute;
  top:50%; left:50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 26vw, 380px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(242,239,233,.06);
  white-space: nowrap;
  z-index:-1;
  pointer-events:none;
}

/* ===================== Sections ===================== */
.section{
  position: relative;
  padding: 70px 20px;
  z-index: 2;
}
.section-inner{
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index:2;
}
.eyebrow{
  display:inline-block;
  color: var(--accent);
  letter-spacing: 4px;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
.section-title{
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 88px);
  line-height: .95;
  margin: 0 0 36px;
  letter-spacing: 1px;
}

/* About */
.about{ text-align:center; }
.about-text{
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.55;
  color: #dedad3;
  font-weight: 300;
}
.text-btn{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  border-bottom: 1px solid var(--fg);
  padding-bottom: 4px;
}
.text-btn span{ transition: transform .3s var(--ease); }
.text-btn:hover span{ transform: translateX(6px); }
.bg-outline-text{
  position:absolute; top:50%; left:50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-display);
  font-size: clamp(90px, 22vw, 320px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(242,239,233,.05);
  z-index:-1;
  white-space:nowrap;
  pointer-events:none;
}

/* Band */
.band-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: 1300px;
  margin: 0 auto;
}
@media (max-width: 900px){ .band-grid{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 520px){ .band-grid{ grid-template-columns: 1fr;} }

.band-card{
  position: relative;
  aspect-ratio: 3/4;
  overflow:hidden;
  background:#111;
}
.band-card img{
  width:100%; height:100%; object-fit:cover;
  object-position: center 15%;
  filter: grayscale(.7) brightness(.75);
  transition: transform .7s var(--ease), filter .5s ease;
}
.band-card:hover img, .band-card:focus img{
  transform: scale(1.08);
  filter: grayscale(0) brightness(.9);
}
.band-card-info{
  position:absolute; left:0; right:0; bottom:0;
  padding: 22px;
  background: linear-gradient(0deg, rgba(0,0,0,.85), transparent);
}
.band-card-info h3{
  font-family: var(--font-display);
  font-size: 26px;
  margin: 0 0 2px;
  letter-spacing: 1px;
}
.band-card-info p{
  margin:0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.band-card-plus{
  position:absolute; top:18px; right:18px;
  width: 34px; height:34px;
  border: 1px solid rgba(242,239,233,.4);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size: 18px;
  transition: transform .35s var(--ease), background .35s;
}
.band-card:hover .band-card-plus{
  transform: rotate(90deg);
  background: var(--accent);
  border-color: var(--accent);
}

/* Modal */
.modal-backdrop{
  position: fixed; inset:0;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden;
  transition: opacity .4s ease, visibility .4s ease;
  padding: 24px;
}
.modal-backdrop.open{ opacity:1; visibility:visible; }
.modal{
  background: var(--bg-alt);
  max-width: 860px; width:100%;
  max-height: 86vh;
  overflow:auto;
  display:grid;
  grid-template-columns: 300px 1fr;
  position: relative;
  border: 1px solid var(--line);
  transform: translateY(30px);
  transition: transform .4s var(--ease);
}
.modal-backdrop.open .modal{ transform: translateY(0); }
@media (max-width: 700px){ .modal{ grid-template-columns: 1fr; } }
.modal-media{ height:100%; min-height:240px; overflow:hidden; }
.modal-media img{ width:100%; height:100%; object-fit:cover; }
.modal-body{ padding: 34px; }
.modal-body h3{ font-family: var(--font-display); font-size:32px; margin:0 0 2px; letter-spacing:1px; }
.modal-role{ color: var(--accent); text-transform:uppercase; letter-spacing:2px; font-size:12px; margin:0 0 22px; }
.modal-block{ margin-bottom: 18px; }
.modal-block h4{ font-size:11px; letter-spacing:2px; text-transform:uppercase; color:var(--muted); margin:0 0 6px; }
.modal-block p{ margin:0; line-height:1.6; font-size:14px; color:#dedad3; font-weight:300; }
.modal-socials{ display:flex; gap:16px; margin-top: 20px; }
.modal-socials a{ font-size:12px; letter-spacing:1.5px; text-transform:uppercase; border-bottom:1px solid var(--fg); padding-bottom:3px; }
.modal-close{
  position: absolute; top:16px; right:16px;
  width:36px; height:36px;
  border:1px solid var(--line); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  z-index:2;
  background: rgba(0,0,0,.4);
}

/* Album countdown popup */
.album-popup-backdrop{
  position: fixed; inset:0;
  background: rgba(8,7,10,.85);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden;
  transition: opacity .5s ease, visibility .5s ease;
  padding: 24px;
}
.album-popup-backdrop.open{ opacity:1; visibility:visible; }
.album-popup-card{
  background: var(--bg-alt);
  max-width: 420px; width:100%;
  max-height: 90vh;
  overflow:auto;
  position: relative;
  border: 1px solid var(--line);
  transform: scale(.92) translateY(20px);
  transition: transform .5s var(--ease);
}
.album-popup-backdrop.open .album-popup-card{ transform: scale(1) translateY(0); }
.album-popup-close{
  position: absolute; top:14px; right:14px;
  width:36px; height:36px;
  border:1px solid var(--line); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  z-index:2;
  background: rgba(8,7,10,.5);
  color: var(--fg);
}
.album-popup-art{ width:100%; aspect-ratio: 1 / 1; overflow:hidden; }
.album-popup-art img{ width:100%; height:100%; object-fit:cover; display:block; }
.album-popup-body{ padding: 30px 26px 36px; text-align:center; }
.album-popup-logo{ width: min(150px, 46%); margin: 0 auto 20px; }
.album-popup-title{
  font-family: var(--font-display);
  font-size: clamp(26px, 6vw, 38px);
  margin: 0 0 6px;
  letter-spacing: 1px;
}
.album-popup-sub{
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 22px;
}
.album-popup-countdown{ display:flex; justify-content:center; gap:16px; }
.cd-unit{ display:flex; flex-direction:column; align-items:center; }
.cd-value{
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1;
  color: var(--fg);
}
.cd-label{
  font-size: 10px; letter-spacing:2px; text-transform:uppercase;
  color: var(--muted); margin-top:6px;
}

/* Music / Discography */
.ep-block{
  display:grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items:center;
  margin-bottom: 56px;
}
@media (max-width: 760px){ .ep-block{ grid-template-columns: 1fr; } }
.ep-art{
  border-radius: 12px;
  overflow:hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.ep-art img{ width:100%; display:block; }
.ep-embed iframe{ display:block; width:100%; }
@media (max-width: 760px){
  .ep-art{ max-width: 240px; margin: 0 auto; }
}
@media (max-width: 480px){
  .ep-art{ max-width: 190px; }
}

/* Upcoming album — highlighted */
.ep-block--upcoming .ep-art{
  box-shadow: 0 20px 70px rgba(200,32,47,.35), 0 20px 60px rgba(0,0,0,.5);
}
.ep-countdown-block{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap: 18px;
}
.ep-countdown-intro{ margin-bottom: 4px; }
.ep-countdown-line{
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.5;
  color: #dedad3;
  font-weight: 300;
  margin: 0;
}
.ep-countdown-label{
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 600;
  margin: 10px 0 0;
}
.ep-countdown{ justify-content:flex-start; gap:34px; }
.ep-countdown .cd-value{ font-size: clamp(36px, 7vw, 58px); }
.ep-countdown .cd-label{ font-size: 12px; letter-spacing:1.5px; margin-top:8px; }
@media (max-width: 760px){
  .ep-countdown-block{ align-items:center; text-align:center; }
  .ep-countdown{ justify-content:center; gap:24px; }
}

/* Previous release — reduced prominence */
.ep-divider{
  height: 1px;
  background: var(--line);
  margin: 46px 0 32px;
}
.eyebrow--sub{ opacity:.7; font-size:11px; letter-spacing:3px; }
.ep-compact-title{
  font-family: var(--font-display);
  font-size: clamp(18px, 2.6vw, 24px);
  letter-spacing: 1px;
  color: var(--muted);
  margin: 0 0 22px;
}
.ep-block--compact{
  grid-template-columns: 190px 1fr;
  gap: 22px;
  max-width: 620px;
  margin: 0 auto 46px;
  opacity: .85;
}
@media (max-width: 760px){ .ep-block--compact{ grid-template-columns: 1fr; } }

.video-heading{
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 1px;
  margin: 0 0 24px;
  color: var(--muted);
}
.video-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px){
  .video-grid{
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}
.video-frame{
  position: relative;
  width:100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow:hidden;
  background: #000;
}
.video-frame iframe{
  position:absolute; inset:0;
  width:100%; height:100%; border:0;
}
.video-title{
  margin: 12px 0 0;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

/* News */
.news .section-inner{ margin-bottom: 44px; }
.news-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.news-card{
  display:block;
  border-radius: 12px;
  overflow:hidden;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s ease;
}
.news-card:hover{
  transform: translateY(-6px);
  border-color: rgba(242,239,233,.3);
}
.news-thumb{
  width:100%;
  aspect-ratio: 16/9;
  overflow:hidden;
  background:#000;
  cursor: none;
}
.news-thumb img{
  width:100%; height:100%; object-fit:cover;
  filter: grayscale(.2) brightness(.9);
  transition: transform .6s var(--ease), filter .4s ease;
}
.news-card:hover .news-thumb img{
  transform: scale(1.06);
  filter: grayscale(0) brightness(1);
}
.news-info{ padding: 20px 22px 26px; }
.news-date{
  display:block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 600;
}
.news-headline{
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: .5px;
  line-height: 1.15;
  margin: 0 0 10px;
}
.news-excerpt{
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin:0;
  font-weight: 300;
}

/* Gallery / horizontal slider */
.gallery .section-inner{ margin-bottom: 22px; }
/* Homepage gallery — continuous crossfade slideshow, clickable to full gallery page */
.gallery-crossfade{
  display: block;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.gallery-crossfade img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: grayscale(.2) brightness(.82);
  transition: opacity 1.6s ease;
}
.gallery-crossfade img.is-active{ opacity: 1; }
.gallery-crossfade::after{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,7,10,0) 55%, rgba(8,7,10,.8) 100%);
  pointer-events: none;
}
.gallery-crossfade-cta{
  position: absolute; left:50%; bottom: 22px; transform: translateX(-50%);
  z-index: 2;
  display: inline-flex; align-items:center; gap:8px;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid #fff;
  padding-bottom: 4px;
}
.gallery-crossfade-cta span{ transition: transform .3s var(--ease); }
.gallery-crossfade:hover .gallery-crossfade-cta span{ transform: translateX(6px); }

/* Full gallery page grid */
.gallery-page-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.gallery-page-grid .slider-item{
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  cursor: none;
}

.slider{
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}
.slider-track{
  display:flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.slider-track::-webkit-scrollbar{ height: 4px; }
.slider-track::-webkit-scrollbar-thumb{ background: var(--line); border-radius: 2px; }
.slider-item{
  flex: 0 0 auto;
  width: min(78vw, 480px);
  aspect-ratio: 4/3;
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  cursor: none;
}
.slider-item img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .6s var(--ease), filter .4s ease;
  filter: grayscale(.25) brightness(.88);
}
.slider-item:hover img{
  transform: scale(1.05);
  filter: grayscale(0) brightness(1);
}
.slider-arrow{
  position: absolute; top:50%; transform: translateY(-50%);
  width: 50px; height:50px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(8,7,10,.7);
  backdrop-filter: blur(6px);
  display:flex; align-items:center; justify-content:center;
  font-size: 18px;
  z-index: 5;
  transition: background .3s, border-color .3s;
}
.slider-arrow:hover{ background: var(--fg); color: var(--bg); }
.slider-prev{ left: -4px; }
.slider-next{ right: -4px; }
@media (max-width: 700px){
  .slider-arrow{ display:none; }
}

.lightbox{
  position: fixed; inset:0;
  background: rgba(0,0,0,.94);
  z-index: 3000;
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden;
  transition: opacity .35s ease, visibility .35s ease;
  padding: 40px;
}
.lightbox.open{ opacity:1; visibility:visible; }
.lightbox img{ max-width: 90vw; max-height:86vh; object-fit:contain; }
.lightbox-close{
  position: absolute; top:26px; right:30px;
  width:40px; height:40px; border:1px solid var(--line); border-radius:50%;
}

/* Shows */
.shows-list{ max-width: 800px; margin: 0 auto; }
.shows-item{
  display:flex; align-items:center; gap: 28px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
}
.shows-date{ font-size: 24px; letter-spacing:2px; color: var(--accent); width: 120px; flex-shrink:0; }
.shows-venue{ font-size: clamp(20px,3vw,32px); flex:1; letter-spacing:1px; font-family: var(--font-display); }
.shows-link{
  font-family: var(--font-body);
  font-size: 12px; letter-spacing:1.5px; text-transform:uppercase;
  color: var(--muted);
  transition: color .3s;
}
.shows-link:hover{ color: var(--fg); }
@media (max-width: 640px){
  .shows-item{ flex-wrap:wrap; gap:8px 20px; }
  .shows-venue{ order:3; width:100%; }
}

/* Partners */
.partners{ background: #000; text-align:center; }
.partners-row{
  display:flex; flex-wrap:wrap; gap: 50px; justify-content:center;
  align-items:center;
}
.partner-logo{
  font-family: var(--font-display);
  letter-spacing: 2px;
  font-size: 18px;
  color: rgba(242,239,233,.35);
  filter: grayscale(1);
  transition: color .3s;
}
.partner-logo:hover{ color: var(--fg); }

.partner-mark{
  display:inline-block;
  width: 70px;
  height: 92px;
  background-color: rgba(242,239,233,.35);
  -webkit-mask-image: url('assets/madcat-mark.png');
  mask-image: url('assets/madcat-mark.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: background-color .3s;
}
.partner-mark:hover{ background-color: var(--fg); }

/* Contact */
.contact{ text-align:center; }
.contact-grid{
  display:grid; grid-template-columns: repeat(3,1fr); gap: 30px;
  max-width: 800px; margin: 0 auto 30px;
}
@media (max-width: 700px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-grid--single{
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 400px;
}
.contact-grid--single .contact-block a{ font-size: 19px; }
.contact-block h4{ font-size:11px; letter-spacing:2px; text-transform:uppercase; color:var(--muted); margin:0 0 10px; }
.contact-block a{ font-size: 17px; border-bottom:1px solid transparent; transition: border-color .3s; }
.contact-block a:hover{ border-color: var(--fg); }
.contact-socials{ display:flex; gap: 22px; justify-content:center; flex-wrap:wrap; }
.contact-socials a{ font-size:13px; letter-spacing:1.5px; text-transform:uppercase; color: var(--muted); transition: color .3s; }
.contact-socials a:hover{ color: var(--fg); }

/* Promo (QR discount landing page) */
.promo-section{ text-align:center; }
.promo-inner{ max-width: 560px; }
.promo-lead{
  max-width: 460px;
  margin: 0 auto 40px;
  font-size: 17px;
  line-height: 1.6;
  color: #dedad3;
  font-weight: 300;
}
.promo-form{
  display:flex;
  flex-direction:column;
  gap: 20px;
  text-align:left;
  max-width: 400px;
  margin: 0 auto;
}
.promo-field{ display:flex; flex-direction:column; gap:8px; }
.promo-field label{
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
}
.promo-field input{
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--fg);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 2px;
  outline: none;
  transition: border-color .3s;
  cursor: text;
}
.promo-field input:focus{ border-color: var(--fg); }
.promo-field input::placeholder{ color: var(--muted); opacity:.6; }
.promo-submit{
  margin-top: 10px;
  padding: 16px 28px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: background .3s, transform .3s var(--ease);
  cursor: pointer;
}
.promo-submit:hover{ background: var(--accent-2); transform: translateY(-2px); }
.promo-submit:disabled{ opacity:.6; transform:none; cursor:default; }
.promo-note{
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  text-align:center;
  margin: 4px 0 0;
}
.promo-thankyou{
  display:none;
  max-width: 400px;
  margin: 0 auto;
}
.promo-thankyou.is-visible{ display:block; }
.promo-thankyou-title{
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 52px);
  margin: 6px 0 18px;
}
.promo-thankyou p{ color:#dedad3; line-height:1.6; font-size:15px; }
.promo-visit-btn{
  display:inline-block;
  margin-top: 26px;
  padding: 16px 32px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: background .3s, transform .3s var(--ease);
}
.promo-visit-btn:hover{ background: var(--accent-2); transform: translateY(-2px); }

/* Footer */
.footer{
  position: relative; z-index:2;
  text-align:center;
  padding: 46px 20px 28px;
  border-top: 1px solid var(--line);
}
.footer-logo{
  width: 64px; height:auto; object-fit:contain;
  margin: 0 auto 22px;
}
.footer-socials{ display:flex; gap: 20px; justify-content:center; flex-wrap:wrap; margin-bottom: 26px; }
.footer-socials a{ font-size:12px; letter-spacing:2px; text-transform:uppercase; color:var(--muted); }
.footer-socials a:hover{ color: var(--fg); }
.footer-copy{ color: var(--muted); font-size:11px; letter-spacing:1px; }

/* ===================== Scroll reveal base states ===================== */
.reveal-line, .reveal-lines, .reveal-scale{
  opacity: 0;
}
.reveal-line{
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal-line.in{ opacity:1; transform: translateY(0); }

.reveal-scale{
  transform: scale(.92) translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal-scale.in{ opacity:1; transform: scale(1) translateY(0); }

.reveal-lines.in{ opacity:1; }
.reveal-lines{ transition: opacity .6s ease; }

/* stagger band cards */
.band-grid .band-card:nth-child(2){ transition-delay: .08s; }
.band-grid .band-card:nth-child(3){ transition-delay: .16s; }
.band-grid .band-card:nth-child(4){ transition-delay: .24s; }

/* ===================== Secret wallpaper page ===================== */
.secret-page{
  position: fixed; inset:0;
  background: #000;
  z-index: 5000;
  display:none;
  flex-direction:column; align-items:center; justify-content:center;
  gap: 30px;
  text-align:center;
  padding: 40px;
}
.secret-page.open{ display:flex; }
.secret-page h2{
  font-family: var(--font-display);
  font-size: clamp(40px,8vw,90px);
  color: var(--accent);
  letter-spacing: 3px;
  margin:0;
}
.secret-page p{ color: var(--muted); margin:0; }
.secret-grid{ display:flex; gap:20px; flex-wrap:wrap; justify-content:center; max-width: 900px; }
.secret-item{
  position:relative; width: 220px; aspect-ratio:3/4; overflow:hidden; border-radius:8px;
}
.secret-item img{ width:100%; height:100%; object-fit:cover; filter: grayscale(.4); transition: filter .3s; }
.secret-item:hover img{ filter: grayscale(0); }
.secret-item span{
  position:absolute; bottom:10px; left:10px; right:10px;
  background: rgba(0,0,0,.7); padding:8px; text-align:center;
  font-size:11px; letter-spacing:1.5px; text-transform:uppercase;
}
.secret-close{
  position:absolute; top:26px; right:30px;
  border:1px solid var(--line); padding: 10px 18px; border-radius:999px;
  font-size:12px; letter-spacing:1.5px; text-transform:uppercase;
}

/* Easter egg toast */
.easter-toast{
  position: fixed; bottom: 30px; left:50%; transform: translateX(-50%) translateY(20px);
  background: var(--accent); color:#fff;
  padding: 12px 22px; border-radius:999px;
  font-size:12px; letter-spacing:1.5px; text-transform:uppercase;
  z-index: 6000;
  opacity:0; pointer-events:none;
  transition: opacity .35s ease, transform .35s ease;
}
.easter-toast.show{ opacity:1; transform: translateX(-50%) translateY(0); }

/* ===================== About page ===================== */
.about-hero .hero-bg{ object-position: center 30%; }
.about-hero{ justify-content: flex-start; }
.about-hero-content{
  align-items: flex-start;
  text-align: left;
  padding-left: 60px;
}
@media (max-width: 760px){
  .about-hero{ justify-content: center; }
  .about-hero-content{
    align-items:center;
    text-align:center;
    padding-left: 20px;
  }
}
.about-hero-label{
  margin-bottom: 18px;
}
.hero-title-logo--big{
  width: min(520px, 78vw);
  height:auto;
  object-fit:contain;
  margin: 0;
  position: relative;
  z-index:1;
  filter: drop-shadow(0 6px 30px rgba(0,0,0,.5));
}

.about-copy{ text-align:center; }
.about-copy-text{
  max-width: 720px;
  margin: 0 auto;
  display:flex;
  flex-direction: column;
  gap: 20px;
}
.about-copy-text p{
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
  color: #dedad3;
  font-weight: 300;
  margin: 0;
}

/* Through the years — pinned horizontal scroll */
.through-years{ padding-bottom: 0; }

.th-pin-wrap{
  position: relative;
  /* height is set by JS to viewport + horizontal travel distance */
}
.th-sticky{
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display:flex;
  flex-direction: column;
}

.years-tabs-wrap{
  flex-shrink:0;
  max-width: 1300px;
  width:100%;
  margin: 0 auto;
  padding: 18px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  overflow-x: auto;
}
.years-tabs{
  display:flex;
  gap: 10px;
  justify-content:center;
  min-width: max-content;
  margin: 0 auto;
}
.year-tab{
  position: relative;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--muted);
  overflow: hidden;
  transition: color .5s ease, border-color .5s ease;
  white-space: nowrap;
}
.year-tab::before{
  content:'';
  position:absolute; inset:0;
  background: var(--fg);
  border-radius: 999px;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .45s ease, transform .45s ease;
  z-index:-1;
}
.year-tab.active{
  color: var(--bg);
  border-color: var(--fg);
}
.year-tab.active::before{
  opacity: 1;
  transform: scale(1);
}
.year-tab:hover{
  color: var(--bg);
  border-color: var(--fg);
}
.year-tab:hover::before{
  opacity: 1;
  transform: scale(1);
}

.timeline-viewport{
  position: relative;
  overflow: hidden;
  flex: 1;
  width:100%;
  max-width: 1300px;
  margin: 0 auto;
  display:flex;
  align-items:center;
}
.timeline-track{
  display:flex;
  align-items:center;
  gap: 60px;
  will-change: transform;
}
.timeline-slide{
  flex: 0 0 auto;
  width: min(78vw, 480px);
  display:flex;
  flex-direction: column;
  align-items:center;
  text-align:center;
  opacity: .25;
  transition: opacity .3s ease;
}
.timeline-slide.is-active{ opacity: 1; }
.timeline-img{
  width:100%;
  max-width: 560px;
  height: min(44vh, 340px);
  border-radius: 10px;
  overflow:hidden;
  background:#111;
  cursor: none;
  margin: 0 auto;
}
.timeline-img img{
  width:100%; height:100%; object-fit:cover;
  object-position: center 30%;
  filter: grayscale(.35) brightness(.82);
  transition: transform .6s var(--ease), filter .4s ease;
}
.timeline-slide:hover .timeline-img img{
  transform: scale(1.05);
  filter: grayscale(0) brightness(1);
}
.timeline-caption{ padding: 18px 2px 0; max-width: 560px; margin: 0 auto; }
.timeline-year{
  display:block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 600;
}
.timeline-caption h3{
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 1px;
  margin: 0 0 8px;
}
.timeline-caption p{
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 auto;
  font-weight: 300;
  max-width: 46ch;
}
@media (max-width: 700px){
  .timeline-img{ height: 32vh; }
  .th-sticky{ gap: 16px; }
  .timeline-caption p{ font-size: 13px; }
}

.journey-wrap{ padding-top: 30px; }
.journey-wrap .eyebrow{
  display:block;
  margin-bottom: 20px;
}
.journey-text{
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.6;
  color: #dedad3;
  font-weight: 300;
}

/* ===================== News article ===================== */
.news-article{ text-align:center; }
.news-article-inner{ max-width: 720px; }
.news-article-subhead{
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: .5px;
  color: var(--accent);
  margin: 4px 0 22px;
}
.news-article-lead{
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.6;
  color: #dedad3;
  font-weight: 300;
  margin: 0 0 50px;
}
.news-body{
  text-align: left;
  display:flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 46px;
}
.news-body p{
  font-size: 16px;
  line-height: 1.75;
  color: #dedad3;
  font-weight: 300;
  margin: 0;
}
.news-emphasis{
  text-align:center;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 30px) !important;
  letter-spacing: 1px;
  line-height: 1.4 !important;
  color: var(--accent) !important;
  font-weight: 400;
}
.news-emphasis--final{
  font-size: clamp(26px, 4vw, 42px) !important;
  color: var(--fg) !important;
}
