:root{
  --bg-dark:#030303;
  --bg-mid:#0a0a0a;
  --fg:#f2f2f2;
  --muted:rgba(242,242,242,.72);
  --red:#8b0000;

  --border:rgba(255,255,255,.10);
  --border2:rgba(139,0,0,.30);

  --card:rgba(12,12,14,.62);
  --card2:rgba(12,12,14,.82);

  --radius:18px;
  --shadow: 0 22px 70px rgba(0,0,0,.70);
  --shadow2: 0 12px 30px rgba(0,0,0,.55);

  --max:1100px;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --focus: 0 0 0 3px rgba(139,0,0,.55);
}

/* ---------- RESET ---------- */
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; height:100%; }
img{ max-width:100%; display:block; }
a{ color:inherit; }
:focus-visible{ outline:none; box-shadow: var(--focus); border-radius: 12px; }

/* ---------- BASE BG (DEPTH + VIGNETTE + GRAIN) ---------- */
body{
  font-family: var(--font);
  color: var(--fg);
  overflow-x:hidden;

  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(139,0,0,.34), transparent 58%),
    radial-gradient(900px 700px at 88% 8%, rgba(139,0,0,.22), transparent 62%),
    radial-gradient(900px 900px at 50% 115%, rgba(255,255,255,.04), transparent 60%),
    linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-dark) 60%, #000 100%);
}

/* vignette */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  background:
    radial-gradient(closest-side at 50% 35%, transparent 55%, rgba(0,0,0,.72) 100%);
}

/* subtle grain (no asset needed) */
body::after{
  content:"";
  position:fixed;
  inset:-20%;
  pointer-events:none;
  z-index:0;
  opacity:.06;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.6) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
  transform: rotate(2deg);
}

/* ---------- SMOKE (TEXTURE BASED) ---------- */
.smoke{
  position: fixed;
  inset: -40%;
  z-index: 0;
  pointer-events: none;

  background-image:
    url("../assets/smoke.png"),
    url("../assets/smoke.png");

  background-repeat: repeat;
  background-size: 1200px 1200px, 1600px 1600px;
  background-position: 0% 0%, 50% 50%;

  opacity: 0.34;
  filter: blur(18px) contrast(125%) brightness(70%) saturate(90%);

  animation: smokeDrift 55s linear infinite;
}

@keyframes smokeDrift{
  from{
    transform: translate(0,0) scale(1.06);
    background-position: 0% 0%, 50% 50%;
  }
  to{
    transform: translate(-12%, -6%) scale(1.06);
    background-position: 100% 100%, 0% 0%;
  }
}

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

/* ---------- LAYOUT ---------- */
.container{
  width:min(var(--max), calc(100% - 32px));
  margin:0 auto;
  padding:24px 0 56px;
  position:relative;
  z-index:1;
}

/* global rhythm */
.section{ padding: clamp(42px, 6vw, 90px) 0; }
.muted{ color:var(--muted); }

/* ---------- TOP BAR ---------- */
.topbar{
  position:sticky;
  top:0;
  z-index:10;

  background: rgba(0,0,0,.62);
  backdrop-filter: blur(12px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.topbar::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(139,0,0,.45), transparent);
  opacity:.55;
  pointer-events:none;
}

.topbar__inner{
  width:min(var(--max), calc(100% - 32px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
}

.brand__logo{
  height:44px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.75));
  transition: transform .15s ease, filter .15s ease;
}
.brand:hover .brand__logo{
  transform: translateY(-1px);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.82));
}

.nav{
  display:flex;
  gap:10px;
  align-items:center;
}

.nav__link{
  text-decoration:none;
  padding:10px 12px;
  border-radius:12px;

  color:rgba(242,242,242,.70);
  font-weight:700;
  letter-spacing:.02em;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;

  border:1px solid transparent;
}

.nav__link:hover{
  color:var(--fg);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.08);
}

.nav__link.is-active{
  color:#fff;
  background: linear-gradient(180deg, rgba(139,0,0,.35), rgba(0,0,0,.16));
  border:1px solid rgba(139,0,0,.40);
  box-shadow: 0 10px 30px rgba(139,0,0,.12);
}

/* burger button visuals (your JS can toggle menu later) */
.navToggle{
  width:44px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  display:none;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:10px;
}
.navToggle span{
  display:block;
  width:18px;
  height:2px;
  background: rgba(242,242,242,.88);
  border-radius: 3px;
}

/* ---------- HERO ---------- */
.hero{
  display:flex;
  gap:24px;
  align-items:center;
  margin-top:18px;
  padding: 18px 0 6px;
}

.hero__logoWrap{
  position:relative;
}

.hero__logo{
  height:140px;
  filter: drop-shadow(0 18px 45px rgba(0,0,0,.85));
  transform: translateY(0);
}

.hero__tagline h1{
  margin:0;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero__tagline{
  position:relative;
}

.hero__tagline::after{
  content:"";
  display:block;
  width: min(340px, 70%);
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, rgba(139,0,0,.65), transparent);
  opacity:.7;
}

/* ---------- GRID / CARDS ---------- */
.grid{
  display:grid;
  grid-template-columns: 1.7fr 1fr;
  gap:18px;
  margin-top:24px;
}

.card{
  background: linear-gradient(180deg, var(--card), var(--card2));
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  position:relative;
}

.card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius: inherit;
  background:
    radial-gradient(600px 180px at 25% 0%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(600px 180px at 80% 0%, rgba(139,0,0,.12), transparent 62%);
  opacity:.85;
}

.card__header{
  padding:18px 18px 0;
  position:relative;
  z-index:1;
}

.card__header h2{
  margin:0;
  letter-spacing:.07em;
  text-transform: uppercase;
  font-size: 18px;
}

.card__header p{
  margin:8px 0 0;
}

.card__body{
  padding:16px 18px 18px;
  position:relative;
  z-index:1;
}

/* ---------- NEWS ---------- */
.newsList{
  padding: 8px 4px 14px;
}

.newsItem{
  display:grid;
  grid-template-columns:160px 1fr;
  gap:14px;
  padding:14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.18);
  margin: 10px 14px 0;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.newsItem:hover{
  transform: translateY(-2px);
  border-color: rgba(139,0,0,.28);
  background: rgba(0,0,0,.26);
}

.newsItem img{
  width:100%;
  height:110px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow2);
}

.newsItem h3{
  margin:0;
  font-size: 18px;
  letter-spacing: .01em;
}

.newsItem p{
  margin:8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

/* skeleton nicer */
.skeleton{
  margin: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.08), rgba(255,255,255,.04));
  background-size: 220% 100%;
  animation: shimmer 1.4s ease infinite;
  color: rgba(242,242,242,.60);
}
@keyframes shimmer{
  0%{ background-position: 0% 0%; }
  100%{ background-position: 220% 0%; }
}

/* ---------- RIGHT PANEL: VIDEO + SOCIAL ---------- */
.yt{
  padding:12px 18px 0;
  position:relative;
  z-index:1;
}

.yt iframe{
  width:100%;
  aspect-ratio:16/9;
  display:block;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background:#000;
  box-shadow: var(--shadow2);
}

.social{
  padding:14px 18px 18px;
  display:grid;
  gap:10px;
  position:relative;
  z-index:1;
}

.social__btn{
  display:flex;
  align-items:center;
  gap:10px;

  padding:12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);

  background: linear-gradient(180deg, rgba(139,0,0,.22), rgba(0,0,0,.08));
  color:#f2f2f2;
  text-decoration:none;

  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.social__btn:hover{
  transform: translateY(-2px);
  border-color: rgba(139,0,0,.45);
  background: linear-gradient(180deg, rgba(139,0,0,.28), rgba(0,0,0,.10));
}

/* ---------- ICONS (ROBUST) ---------- */
.icon{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  flex:0 0 22px;
}

.icon svg{
  width:22px;
  height:22px;
  display:block;
}

.icon svg *{
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* ---------- GALLERY ---------- */
.galleryGrid{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap:10px;
}

.galleryGrid img{
  width:100%;
  height:160px;
  object-fit: contain;              /* key change */
  object-position: center;
  padding: 10px;                    /* breathing room */
  background: rgba(0,0,0,.28);       /* frame behind transparent/odd ratios */
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow2);
  transition: transform .15s ease, border-color .15s ease, filter .15s ease;
  filter: saturate(.95) contrast(1.02);
}


.galleryGrid img:hover{
  transform:scale(1.03);
  border-color: rgba(139,0,0,.25);
  filter: saturate(1.02) contrast(1.05);
}

/* ---------- GIGS ---------- */
.gigsGrid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:18px;
}

/* card wrapper (if you already have .gigCard, this enhances it) */
.gigCard{
  background: linear-gradient(180deg, var(--card), var(--card2));
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  box-shadow: var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

/* poster frame */
.gigCard img{
  width:100%;
  height:420px;                 /* bigger + vertical */
  object-fit: contain;          /* KEY: no cropping */
  object-position: center;
  padding: 14px;
  background: rgba(0,0,0,.35);  /* poster frame */
  border-bottom:1px solid rgba(255,255,255,.08);
  display:block;
}

/* body under poster */
.gigCard__body{
  padding:16px;
}

/* hover = subtle lift, not zoom */
.gigCard:hover{
  transform: translateY(-2px);
}

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

  .gigCard img{
    height:360px;
  }
}

@media (max-width: 520px){
  .gigCard img{
    height:300px;
  }
}

/* ---------- FOOTER ---------- */
.footer{
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.55);
  position:relative;
  z-index:1;
}

.footer__inner{
  width:min(var(--max), calc(100% - 32px));
  margin:0 auto;
  padding:16px 0;
  display:flex;
  justify-content:space-between;
  color: rgba(242,242,242,.62);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px){
  .grid{ grid-template-columns:1fr; }
  .galleryGrid{ grid-template-columns:repeat(2,1fr); }
  .gigsGrid{ grid-template-columns:1fr; }

  .hero{ flex-direction:column; align-items:flex-start; }

  /* show burger, hide nav by default (visual-only; JS can toggle .is-open) */
  .navToggle{ display:flex; }
  .nav{
    position:fixed;
    left:16px; right:16px; top:70px;
    background: rgba(0,0,0,.82);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--shadow);
    display:none;
    flex-direction:column;
    gap:6px;
    z-index:20;
  }
  .nav.is-open{ display:flex; }
  .nav__link{ width:100%; }
}

@media (max-width: 520px){
  .newsItem{ grid-template-columns: 1fr; }
  .newsItem img{ height: 180px; }
}

/* ---------- ABOUT / PAGE HEAD ---------- */
.pageHead{
  position:relative;
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  margin-top: 18px;
  background: rgba(0,0,0,.25);
}

/* banner frame (always same height, image crops to fit) */
.pageHead__img{
  width:100%;
  height: clamp(180px, 28vw, 320px);
  object-fit: cover;
  object-position: center;
  display:block;
  filter: contrast(1.04) saturate(.95);
}

/* title overlay */
.pageHead__title{
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  padding: 14px 16px;

  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.pageHead__title h1{
  margin:0;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(26px, 3vw, 38px);
}

.pageHead__title p{
  margin:8px 0 0;
}

/* ---------- ABOUT SECTIONS ---------- */
.pageSection{
  margin-top: 18px;
  padding: 18px 0; /* keep card padding inside split blocks */
}

/* split layout */
.split{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: start;
  padding: 0 18px 18px;
  position:relative;
  z-index:1;
}

.split--reverse{
  grid-template-columns: .85fr 1.15fr;
}

.split__text{
  padding-top: 6px;
}

.split__text h2{
  margin:0 0 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 18px;
}

.split__text p{
  margin: 10px 0 0;
  line-height: 1.7;
  color: var(--muted);
}

/* image frame: fixed height, image always contained & cropped */
.split__img{
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  box-shadow: var(--shadow2);
}

.split__img--tall{
  height: clamp(320px, 42vw, 520px);
}

.split__img img{
  width:100%;
  height:100%;
  object-fit: cover;        /* key: scales/crops regardless of original size */
  object-position: center;
  display:block;
  filter: saturate(.98) contrast(1.03);
}

/* divider inside card */
.divider{
  margin: 0 18px 18px;
  border:0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(139,0,0,.45), transparent);
  opacity:.65;
}

/* responsive: stack, keep nice image height */
@media (max-width: 900px){
  .pageHead__title{ left: 14px; right: 14px; }
  .split, .split--reverse{
    grid-template-columns: 1fr;
  }
  .split__img--tall{
    height: 240px;
  }
}


/* ---------- GALLERY LIGHTBOX (ONLY USED ON GALLERY PAGE) ---------- */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}
.lightbox.is-open{ display:block; }

.lightbox__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
}

.lightbox__dialog{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);

  width: min(1100px, 75vw);
  max-height: 75vh;

  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lightbox__close{
  position:absolute;
  top:10px;
  right:10px;
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(242,242,242,.92);
  cursor:pointer;
}

.lightbox__figure{
  margin:0;
  display:grid;
  grid-template-rows: 1fr auto;
  max-height: 75vh;
}

.lightbox__img{
  width:100%;
  height: 100%;
  max-height: calc(75vh - 52px);
  object-fit: contain; /* not fullscreen crop */
  background: rgba(0,0,0,.35);
  display:block;
}

.lightbox__cap{
  padding: 10px 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(242,242,242,.70);
  font-size: 14px;
}

@media (max-width: 600px){
  .lightbox__dialog{
    width: calc(100% - 28px);
    max-height: 78vh;
  }
}


/* ---------- PAGE TITLE (DOWNLOADS / CONTACT / GALLERY / GIGS) ---------- */
.pageTitle{
  margin-top: 18px;
  padding: 10px 0 6px;
}
.pageTitle h1{
  margin:0;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.05;
}
.pageTitle p{
  margin: 10px 0 0;
  color: var(--muted);
}

/* optional tiny text */
.small{ font-size: 12.5px; }

/* ---------- CARD WIDTH MODIFIERS (used on index/contact) ---------- */
.card--wide{ min-width: 0; }
.card--side{ min-width: 0; }

/* ---------- PAGE SECTION INSIDE CARD ---------- */
.pageSection{
  padding: 18px;
}
.pageSection > *:first-child{ margin-top: 0; }
.pageSection > *:last-child{ margin-bottom: 0; }

/* ---------- DOWNLOADS ---------- */
.downloadList{
  display:grid;
  gap:12px;
}

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

  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);

  background: rgba(0,0,0,.18);
  text-decoration:none;

  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.downloadItem:hover{
  transform: translateY(-2px);
  border-color: rgba(139,0,0,.30);
  background: rgba(0,0,0,.24);
}

.downloadItem h2{
  margin:0;
  font-size: 18px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.downloadItem p{
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.pill{
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(139,0,0,.35);
  background: linear-gradient(180deg, rgba(139,0,0,.22), rgba(0,0,0,.10));
  color: rgba(242,242,242,.85);
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 12px;
}

/* ---------- CONTACT ---------- */
.contactBox{
  padding: 14px 18px 18px;
  display:grid;
  gap:10px;
}

.contactRow{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:12px;
  align-items:center;

  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.16);
}

.contactLabel{
  color: rgba(242,242,242,.62);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
}

.contactValue{
  color: rgba(242,242,242,.90);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contactValue:hover{
  text-decoration: underline;
  text-decoration-color: rgba(242,242,242,.35);
}

/* stack socials tighter on contact page */
.social--stack{
  padding: 14px 18px 18px;
}
.social--stack .social__btn{
  width:100%;
}

/* responsive: contact rows stack */
@media (max-width: 520px){
  .contactRow{
    grid-template-columns: 1fr;
    gap:6px;
  }
}
