
/* ====== Shared corner offsets ====== */
:root{
  --corner-top: clamp(18px, 2.2vw, 34px);
  --corner-right: clamp(14px, 2.2vw, 34px);
}

:root{
  --sidebar-w: 84px;
  --text: rgba(255,255,255,.60);
  --text-strong: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.40);
  --line: rgba(255,255,255,.12);
  --bg: #050505;
  --rail: rgba(5,5,5,.92);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow-x: hidden;
}

a{ color: inherit; }

.stage{
  position: relative;
  min-height: 100vh;
  background: #000;
}

/* Fullscreen background */
.hero{
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1100px 520px at 30% 55%, rgba(255,255,255,.06), rgba(0,0,0,.0) 55%),
    radial-gradient(900px 420px at 70% 70%, rgba(60,160,255,.08), rgba(0,0,0,0) 55%),
    linear-gradient(to bottom, rgba(0,0,0,.18), rgba(0,0,0,.80)),
    url("./assets/bg.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Overlays */
.vignette{
  will-change: transform;

  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 50% 50%, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%),
    radial-gradient(900px 420px at 45% 55%, rgba(0,0,0,0) 35%, rgba(0,0,0,.35) 100%);
  z-index: 2;
}
.grain{
  will-change: transform;

  position: fixed;
  inset: 0;
  pointer-events:none;
  opacity: .10;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  animation: grainMove 6s steps(10) infinite;
  z-index: 3;
}
@keyframes grainMove{
  0%{ transform:translate(0,0); }
  10%{ transform:translate(-2%, -3%); }
  20%{ transform:translate(-4%, 2%); }
  30%{ transform:translate(3%, -4%); }
  40%{ transform:translate(2%, 3%); }
  50%{ transform:translate(-3%, 4%); }
  60%{ transform:translate(4%, 1%); }
  70%{ transform:translate(-4%, -2%); }
  80%{ transform:translate(2%, -3%); }
  90%{ transform:translate(-1%, 2%); }
  100%{ transform:translate(0,0); }
}

/* dust canvas */
#dust{
  position: fixed;
  inset: 0;
  pointer-events:none;
  opacity:.65;
  z-index: 1;
}

/* Sidebar rail */
.side-nav{
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: var(--sidebar-w);
  background: var(--rail);
  border-right: 1px solid var(--line);
  display:flex;
  flex-direction:column;
  align-items:center;
  padding: 24px 0;
  z-index: 10;
}

.nav-links{
  display:flex;
  flex-direction:column;
  gap: 16px;
  align-items:center;
  margin-top: 120px;
}

.nav-links a{
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-decoration:none;
  font-size: 14px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  transition: color .15s ease, opacity .15s ease;
  opacity: .95;
  user-select:none;
}
.nav-links a:hover{ color: var(--text-strong); opacity: 1; }
.nav-links a.active{ color: var(--text-strong); opacity: 1; }

/* Main content */
.main{
  position: relative;
  z-index: 5;
  margin-left: var(--sidebar-w);
  min-height: 100vh;
}

/* Scroll sections */
.section{
  min-height: 100vh;
  padding: 84px clamp(20px, 6vw, 78px);
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;

  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}

.content{
  max-width: 860px;
  text-shadow: 0 10px 60px rgba(0,0,0,.55);
}

.kicker{
  font-size: 12px;
  letter-spacing: .30em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px 0;
}

.h1{
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.02;
  margin: 0 0 12px 0;
  color: rgba(255,255,255,.92);
}

.h2{
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.12;
  margin: 0 0 10px 0;
  color: rgba(255,255,255,.88);
}

.p{
  margin: 0 0 14px 0;
  line-height: 1.6;
  color: rgba(255,255,255,.62);
}

.row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  text-decoration:none;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.82);
}
.btn:hover{
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.96);
}

/* Spotify embed */
.embed{
  margin-top: 18px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}
.embed iframe{ width:100%; border:0; display:block; }

/* Home hero layout */
.home-wrap{
  min-height: 100vh;
  padding: 84px clamp(20px, 6vw, 78px);
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
}

.home-card{
  width: min(560px, 92vw);
  text-align: right;
  margin-right: clamp(8px, 2vw, 28px);
  text-shadow: 0 10px 60px rgba(0,0,0,.55);
}

.home-title{
  font-size: clamp(44px, 6vw, 78px);
  letter-spacing: .08em;
  margin: 0 0 10px 0;
  color: rgba(255,255,255,.86);
  font-weight: 500;
}

.home-sub{
  font-size: clamp(18px, 2.2vw, 28px);
  margin: 0 0 22px 0;
  color: rgba(255,255,255,.55);
  font-weight: 400;
}

.home-mark{
  display:flex;
  justify-content:flex-end;
  margin-top: 8px;
}
.home-mark img{
  width: clamp(140px, 16vw, 220px);
  height: auto;
  opacity: .70;
  /* filter removed for smoother scrolling */
}

/* Footer */
.footer{
  margin-top: 24px;
  color: rgba(255,255,255,.38);
  font-size: 12px;
  letter-spacing: .12em;
}

@media (max-width: 820px){
  :root{ --sidebar-w: 70px; }
  .nav-links{ margin-top: 95px; gap: 14px; }
  .nav-links a{ font-size: 12px; }
  .home-card{ margin-right: 0; }
}



/* ====== Section layouts matching your PNG comps ====== */
.section{
  align-items: stretch;
}

.section-shell{
  width: 100%;
  max-width: 1200px;
}

.section-top{
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 26px;
}

.section-title{
  margin-left: auto;
  text-align: right;
  font-size: clamp(34px, 6vw, 86px);
  line-height: 1;
  letter-spacing: .06em;
  color: rgba(255,255,255,.70);
  font-weight: 500;
}

/* Contact typography */
.contact-block{
  max-width: 980px;
}
.contact-label{
  font-size: clamp(28px, 4.6vw, 74px);
  color: rgba(255,255,255,.70);
  margin: 0 0 10px 0;
  font-weight: 500;
}
.contact-line{
  font-size: clamp(28px, 5.4vw, 78px);
  color: rgba(255,255,255,.70);
  margin: 0 0 34px 0;
  font-weight: 500;
  word-break: break-word;
}

/* Social buttons */
.socials{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.social-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  text-decoration:none;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.social-btn:hover{
  border-color: rgba(255,255,255,.28);
  color: rgba(255,255,255,.96);
}

/* Tour list */
.tour-frame{
  border: 1px solid rgba(255,255,255,.26);
  width: min(1120px, calc(100vw - var(--sidebar-w) - 40px));
  background: rgba(0,0,0,.12);
}
.tour-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 18px 18px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.tour-row:first-child{ border-top:none; }
.tour-date{
  font-size: clamp(30px, 5vw, 72px);
  color: rgba(255,255,255,.62);
  font-weight: 500;
}
.ticket-btn{
  min-width: 170px;
  padding: 12px 18px;
  border-radius: 0;
  border: 1px solid rgba(0,0,0,.0);
  background: rgba(255,255,255,.92);
  color: rgba(0,0,0,.88);
  text-decoration:none;
  font-size: 18px;
}
.ticket-btn:hover{ background: rgba(255,255,255,.98); }

/* Live (Twitch) layout */
.live-grid{
  display:grid;
  grid-template-columns: 1fr 340px;
  gap: 34px;
  align-items: start;
  width: min(1180px, calc(100vw - var(--sidebar-w) - 40px));
  margin-top: 10px;
}
.embed-placeholder{
  font-size: clamp(22px, 3.8vw, 64px);
  color: rgba(255,255,255,.70);
  text-align:center;
  padding: 24px;
}
@media (max-width: 980px){
  .live-grid{ grid-template-columns: 1fr; }
  }

/* Merch center */
.merch-center{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: calc(100vh - 180px);
}
.merch-text{
  font-size: clamp(36px, 7vw, 110px);
  color: rgba(255,255,255,.72);
  font-weight: 500;
  text-align: center;
}


/* ====== Per-page / per-section backgrounds ====== */
/* Home keeps the image hero. The scrolling page switches to solid backgrounds. */

body.site .grain{ opacity: .18; } /* keep subtle texture */
body.site .vignette{ opacity: .65; }

/* Default sections on the scrolling page = black */
body.site .section{
  background: #000;
}

/* Merch section = white */
body.site .section-merch{
  background: #fff;
  color: rgba(0,0,0,.75);
}
body.site .section-merch .section-title{
  color: rgba(0,0,0,.82);
}
body.site .section-merch .merch-text{
  color: rgba(0,0,0,.86);
}
body.site .section-merch .btn,
body.site .section-merch .social-btn{
  border-color: rgba(0,0,0,.18);
  background: rgba(255,255,255,.65);
  color: rgba(0,0,0,.85);
}
body.site .section-merch .btn:hover,
body.site .section-merch .social-btn:hover{
  border-color: rgba(0,0,0,.28);
  background: rgba(255,255,255,.9);
}


/* ====== Scroll + alignment fixes ====== */
html, body { overflow-y: auto; }
body { overflow-y: auto; } /* ensure scroll is never blocked */

.section-shell{
  margin: 0 auto;           /* center all section content within the page padding */
}

/* Ensure embeds/tour frames align consistently */
.embed, .tour-frame, .live-grid, .contact-block{
  margin-left: 0;
}

/* Optional: keep section title truly flush-right within shell */
.section-top{
  width: 100%;
}


/* ====== One-page scroll: image hero stays, sections paint their own backdrops ====== */
body.site .section{
  position: relative;
}
body.site .section::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.92);
  z-index: -1;
}
body.site #home::before{
  background: rgba(0,0,0,0); /* let the hero image show through */
}
body.site .section-merch::before{
  background: rgba(255,255,255,.96);
}
body.site .section-merch{
  color: rgba(0,0,0,.78);
}
body.site .section-merch .section-title,
body.site .section-merch .merch-text{
  color: rgba(0,0,0,.86);
}
body.site .section-merch .ticket-btn{
  background: rgba(0,0,0,.92);
  color: rgba(255,255,255,.92);
}


#home .section-shell{ max-width: 1400px; }
#home .home-wrap{ justify-content: flex-end; }


.section-top{
  padding-right: clamp(6px, 1.2vw, 24px);
}

.section-title{
  margin-right: 0;
  padding-right: clamp(0px, 0.8vw, 12px);
}





/* ====== Section-scoped corner titles (top-right inside each section) ====== */
.section{ position: relative; }

/* Give content room so the title doesn't overlap */
.section-shell{ padding-top: clamp(56px, 6vw, 120px); }

/* Keep layout simple; title will be absolutely positioned */
.section-top{ margin: 0; min-height: 0; }

.section-title{
  position: absolute;
  top: var(--corner-top);
  right: var(--corner-right);
  text-align: right;
  font-size: clamp(34px, 6vw, 86px);
  line-height: 1;
  letter-spacing: .06em;
  color: rgba(255,255,255,.70);
  font-weight: 500;
  pointer-events: none;
}

/* Home does not need a title */
#home .section-title{ display:none; }

/* Merch is white -> title should be dark */
.section-merch .section-title{ color: rgba(0,0,0,.82); }


/* ====== Home: move hero content to the same top-right region as section titles ====== */
#home .home-wrap{
  justify-content: flex-end;
  align-items: flex-start;
}

#home .home-card{
  margin-top: 0 !important;
  margin-right: clamp(14px, 2.2vw, 34px);
  margin-left: 0;
  padding-top: clamp(18px, 2.2vw, 34px);
  text-align: right;
  max-width: 640px;
}

#home .home-mark{
  margin-left: auto;
  margin-right: 0;
}

#home .row{
  justify-content: flex-end;
}


/* ====== Home: lock the hero cluster to the same corner offsets as section titles ====== */
#home{ position: relative; }

#home .section-shell{
  padding-top: 0 !important;
  max-width: none;
}

#home .home-wrap{
  position: relative;
  justify-content: flex-end;
  align-items: stretch;
  min-height: 100vh;
}

#home .home-card{
  position: absolute;
  top: var(--corner-top);
  right: var(--corner-right);
  margin: 0 !important;
  padding: 0 !important;
  text-align: right;
  max-width: min(680px, calc(100vw - var(--sidebar-w) - 28px));
}

#home .home-title{
  font-size: clamp(40px, 6.4vw, 92px);
  letter-spacing: .10em;
}

#home .home-sub{
  margin-top: 10px;
}

#home .home-mark{
  margin-top: 22px;
  margin-left: auto;
}

#home .row{
  margin-top: 18px;
  justify-content: flex-end;
}


/* ====== Home section background image ====== */
#home{
  background-image: url("./assets/home-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Keep the home overlay off so image shows clean */
body.site #home::before{ background: rgba(0,0,0,0); }


/* ====== Home buttons: subtle backplate for contrast ====== */
#home .btn{
  background: rgba(0,0,0,.60);
  border: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.88);
}
#home .btn:hover{
  background: rgba(0,0,0,.58);
  border-color: rgba(255,255,255,.42);
  color: rgba(255,255,255,.96);
}
#home .btn:focus-visible{
  outline: 2px solid rgba(255,255,255,.55);
  outline-offset: 3px;
}


/* ====== Contact (clean redesign) ====== */
.contact-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(16px, 3vw, 36px);
  align-items: start;
  margin-top: clamp(18px, 3vw, 42px);
}

.contact-card{
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: clamp(18px, 2.6vw, 30px);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}

.contact-heading{
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
  margin-bottom: 14px;
}

.contact-email{
  display: inline-block;
  font-size: clamp(26px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: .02em;
  color: rgba(255,255,255,.86);
  text-decoration: none;
}

.contact-email:hover{
  color: rgba(255,255,255,.98);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.contact-divider{
  height: 1px;
  background: rgba(255,255,255,.10);
  margin: 22px 0;
}

.contact-note{
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
}

.social-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.social-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  background: rgba(0,0,0,.60);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.80);
  text-decoration: none;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}

.social-btn:hover{
  border-color: rgba(255,255,255,.32);
  color: rgba(255,255,255,.96);
  background: rgba(0,0,0,.60);
}

.footer-clean{
  text-align:center;
  margin-top: clamp(18px, 3vw, 46px);
  color: rgba(255,255,255,.45);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-email{ font-size: clamp(22px, 7vw, 44px); }
  .social-grid{ grid-template-columns: 1fr; }
}

/* Safety: remove any leftover home CTA/buttons */
#home .home-cta, #home .home-buttons, #home .btn{ display:none !important; }


/* ====== Tour: data-driven list (Bandsintown) ====== */
.tour-list{
  margin-top: clamp(18px, 3vw, 42px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 0;
  overflow: hidden;
}

.tour-row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: clamp(18px, 2.8vw, 28px);
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.10);
}

.tour-row:last-child{ border-bottom: 0; }

.tour-date{
  font-size: clamp(34px, 5.4vw, 76px);
  letter-spacing: .02em;
  color: rgba(255,255,255,.66);
  line-height: 1;
}

.tour-meta{
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.46);
}

.tour-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 54px;
  border-radius: 0;
  background: rgba(255,255,255,.92);
  color: rgba(0,0,0,.92);
  text-decoration: none;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 14px;
}

.tour-cta:hover{
  background: rgba(255,255,255,1);
  transform: translateY(-1px);
}

.tour-empty{
  padding: 26px;
  color: rgba(255,255,255,.55);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
}




/* ====== Live: clean Twitch layout ====== */
.live-wrap{
  margin-top: clamp(18px, 3vw, 42px);
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  gap: clamp(14px, 2vw, 26px);
  align-items: start;
}

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

.live-label{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.46);
  padding-left: 2px;
}

.embed-shell{
  background: rgba(0,0,0,.40);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

.embed-fixed{
  height: clamp(420px, 62vh, 740px);
}

.embed-fixed iframe{
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 980px){
  .live-wrap{ grid-template-columns: 1fr; }
  .embed-fixed{ height: 520px; }
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}
