/* ============================================================
   Chronic Audio — style.css
   Palette pulled from the band logo:
   chrome red heart / electric blue headphones on black
   ============================================================ */

:root {
  --bg: #08080d;
  --bg-alt: #0e0e16;
  --panel: #14141f;
  --text: #eef0f6;
  --text-dim: #a7abbd;
  --red: #ff2e4c;
  --red-deep: #c1122f;
  --blue: #2aa8ff;
  --blue-light: #7fd0ff;
  --flare: #ffb84d;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* the hidden attribute always wins, even over display:flex rules */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Accent text colors with glow, echoing the logo's red/blue split */
.tx-red  { color: var(--red);  text-shadow: 0 0 18px rgba(255, 46, 76, .55); }
.tx-blue { color: var(--blue); text-shadow: 0 0 18px rgba(42, 168, 255, .55); }

/* ======================= NAV ======================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 1.4rem;
  background: rgba(8, 8, 13, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .04em;
}

.nav__logo { width: 38px; height: 38px; border-radius: 50%; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__links a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 400;
  font-size: .95rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: color .2s;
}

.nav__links a:hover { color: var(--blue-light); }

.nav__cta {
  color: #fff !important;
  background: linear-gradient(120deg, var(--red-deep), var(--red));
  padding: .45rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(255, 46, 76, .45);
}

.nav__cta:hover { filter: brightness(1.15); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}

.nav__burger span {
  width: 24px; height: 2px;
  background: var(--text);
  transition: transform .25s, opacity .25s;
}

/* ======================= HERO ======================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

/* soft stage-light glows behind everything */
.hero__glow {
  position: absolute;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .22;
  pointer-events: none;
}

.hero__glow--red  { background: var(--red-deep); top: -20vmax; left: -18vmax; }
.hero__glow--blue { background: var(--blue);     bottom: -22vmax; right: -18vmax; }

.hero__logo-wrap {
  position: relative;
  margin-bottom: 1.6rem;
}

/* soft ambient halo behind the logo (pulses gently) */
.hero__logo-wrap::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 46, 76, .30) 0%,
    rgba(42, 168, 255, .16) 50%,
    transparent 72%);
  filter: blur(28px);
  animation: pulse 4.5s ease-in-out infinite;
  pointer-events: none;
}

.hero__logo {
  position: relative;
  width: min(300px, 62vw);
  /* screen blend: the artwork's pure-black background becomes invisible,
     so the square image has no edges against the page — only the glowing art shows */
  mix-blend-mode: screen;
  /* soft belt-and-suspenders fade for the extreme corners */
  -webkit-mask-image: radial-gradient(circle farthest-corner, #000 78%, transparent 98%);
  mask-image: radial-gradient(circle farthest-corner, #000 78%, transparent 98%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

@keyframes pulse {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}

.hero__kicker {
  font-family: var(--font-display);
  color: var(--flare);
  text-shadow: 0 0 14px rgba(255, 184, 77, .5);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  margin-bottom: .4rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.hero__tagline {
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.4rem;
}

.hero__scroll {
  position: absolute;
  bottom: 1.4rem;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 1.6rem;
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* ======================= BUTTONS ======================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .15s, filter .2s, box-shadow .2s;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--red-deep), var(--red));
  box-shadow: 0 0 24px rgba(255, 46, 76, .5);
}

.btn--primary:hover { box-shadow: 0 0 36px rgba(255, 46, 76, .75); }

.btn--ghost {
  color: var(--blue-light);
  border: 1px solid rgba(42, 168, 255, .55);
  background: rgba(42, 168, 255, .07);
  box-shadow: 0 0 18px rgba(42, 168, 255, .2) inset;
}

.btn--ghost:hover { background: rgba(42, 168, 255, .16); }

.btn--lg { padding: 1rem 2.4rem; font-size: 1.1rem; }

/* ======================= SECTIONS ======================= */
.section {
  position: relative;
  padding: 5.5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section--alt {
  max-width: none;
  background: var(--bg-alt);
  border-top: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.section--alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  text-align: center;
  margin-bottom: 1.2rem;
}

.section__sub {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 2.6rem;
  font-size: 1.05rem;
}

.section__sub code {
  background: var(--panel);
  padding: .1rem .45rem;
  border-radius: 6px;
  font-size: .9em;
  color: var(--blue-light);
}

/* ======================= ABOUT ======================= */
.about { max-width: 720px; margin: 0 auto; text-align: center; }

.about__lead {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.about__stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2.8rem;
}

.stat { display: flex; flex-direction: column; align-items: center; }

.stat__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
}

.stat__label {
  color: var(--text-dim);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-top: .2rem;
}

/* ======================= SHOWS ======================= */
.shows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.show {
  display: grid;
  grid-template-columns: 110px 1fr auto auto;
  align-items: center;
  gap: 1.4rem;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  padding: 1.1rem 1.5rem;
  transition: border-color .2s, box-shadow .2s;
}

.show:hover {
  border-color: rgba(42, 168, 255, .5);
  box-shadow: 0 0 22px rgba(42, 168, 255, .15);
}

.show__date {
  text-align: center;
  font-family: var(--font-display);
  line-height: 1.15;
}

.show__date .month { color: var(--red); font-size: 1rem; text-transform: uppercase; display: block; }
.show__date .day   { font-size: 2rem; display: block; }

.show__venue { font-size: 1.2rem; font-weight: 600; }
.show__meta  { color: var(--text-dim); font-size: .95rem; }

.show__ics {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  color: var(--blue-light);
  background: rgba(42, 168, 255, .08);
  border: 1px solid rgba(42, 168, 255, .4);
  border-radius: 999px;
  padding: .35rem .8rem;
  cursor: pointer;
  justify-self: end;
  white-space: nowrap;
  transition: background .15s;
}

.show__ics:hover { background: rgba(42, 168, 255, .18); }

.show__badge {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--flare);
  border: 1px dashed rgba(255, 184, 77, .6);
  border-radius: 999px;
  padding: .25rem .7rem;
  justify-self: end;
}

.shows__empty {
  text-align: center;
  color: var(--text-dim);
  background: var(--panel);
  border: 1px dashed rgba(255, 255, 255, .15);
  border-radius: 14px;
  padding: 2.2rem;
}

.shows__note {
  text-align: center;
  color: var(--text-dim);
  margin-top: 1.8rem;
  font-size: .95rem;
}

.shows__note a {
  color: var(--blue-light);
  text-decoration: none;
  border-bottom: 1px dotted rgba(127, 208, 255, .5);
}

.shows__note a:hover { border-bottom-style: solid; }

/* ======================= GENRES ======================= */
.genres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}

.genre {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  padding: 1.6rem;
  transition: transform .2s, border-color .2s;
}

.genre:hover { transform: translateY(-4px); border-color: rgba(255, 46, 76, .5); }

.genre h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }
.genre p  { color: var(--text-dim); font-size: .95rem; }

/* ======================= SETLIST ======================= */
.setlist-wrap { margin-top: 4rem; }

.setlist__heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-align: center;
  letter-spacing: .03em;
}

.setlist__legend {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem;
  color: var(--text-dim);
  font-size: .9rem;
  margin: 1rem 0 2rem;
}

.setlist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.2rem;
  align-items: start;
}

.set {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
}

.set__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--flare);
  text-shadow: 0 0 14px rgba(255, 184, 77, .4);
  margin-bottom: .9rem;
}

.set__songs {
  list-style: none;
  counter-reset: song;
}

.set__songs li {
  counter-increment: song;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .38rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  font-size: .92rem;
}

.set__songs li:last-child { border-bottom: none; }

.set__songs li::before {
  content: counter(song);
  min-width: 1.4em;
  text-align: right;
  color: var(--text-dim);
  font-size: .78rem;
}

.song__title { flex: 1; }

/* Lead-singer chips */
.vox {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid;
  border-radius: 999px;
  padding: .12rem .55rem;
  white-space: nowrap;
}

.vox--gabrielle { color: var(--red);   border-color: rgba(255, 46, 76, .45); }
.vox--matt      { color: var(--blue);  border-color: rgba(42, 168, 255, .45); }
.vox--aaron     { color: var(--flare); border-color: rgba(255, 184, 77, .45); }
.vox--bruce     { color: #b06bff;      border-color: rgba(176, 107, 255, .45); }

/* ======================= MEMBERS ======================= */
.members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}

.member { text-align: center; }

.member__photo,
.member .img-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 2px solid rgba(255, 255, 255, .12);
  box-shadow: 0 0 22px rgba(42, 168, 255, .18);
}

.member__name { font-size: 1.05rem; font-weight: 600; }

.member__role {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* ======================= GALLERY ======================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery__img,
.gallery .img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .2s, box-shadow .2s;
}

.gallery__img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 26px rgba(255, 46, 76, .3);
}

/* Placeholder shown when an image file hasn't been added yet */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 46, 76, .12), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(42, 168, 255, .12), transparent 60%),
    var(--panel);
  color: var(--text-dim);
  font-size: .8rem;
  text-align: center;
  padding: 1rem;
  border: 1px dashed rgba(255, 255, 255, .18);
}

.img-placeholder .icon { font-size: 1.6rem; opacity: .7; }
.img-placeholder code { color: var(--blue-light); font-size: .78rem; }

/* ======================= BOOKING ======================= */
.section--booking {
  max-width: none;
  text-align: center;
  overflow: hidden;
  background: var(--bg-alt);
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.section--booking .hero__glow { opacity: .14; }

.booking__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 1.5rem;
  position: relative;
}

.booking__form {
  position: relative;
  max-width: 760px;
  margin: 2.2rem auto 0;
  text-align: left;
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem;
  margin-bottom: 1.6rem;
}

.form__grid label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.form__full { grid-column: 1 / -1; }

.form__grid input,
.form__grid select,
.form__grid textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  padding: .7rem .9rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.form__grid input:focus,
.form__grid select:focus,
.form__grid textarea:focus {
  border-color: rgba(42, 168, 255, .65);
  box-shadow: 0 0 14px rgba(42, 168, 255, .25);
}

.form__grid textarea { resize: vertical; }

.form__grid input[type="date"] { color-scheme: dark; }

/* honeypot — visually gone, still in the DOM for bots */
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; opacity: 0; }

.booking__form .btn { display: inline-flex; }
.booking__form { text-align: center; }
.booking__form .form__grid { text-align: left; }

.form__status {
  min-height: 1.4em;
  margin-top: 1rem;
  font-size: .98rem;
}

.form__status--ok    { color: #6fe3a0; }
.form__status--error { color: var(--red); }

/* ======================= FOOTER ======================= */
.footer {
  text-align: center;
  padding: 3rem 1.5rem 2.4rem;
  color: var(--text-dim);
  font-size: .92rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer__logo {
  width: 54px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  opacity: .85;
}

.footer__tag { margin-top: .3rem; font-size: .85rem; }

.footer__portal {
  color: var(--text-dim);
  text-decoration: none;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px dotted rgba(255, 255, 255, .25);
}

.footer__portal:hover { color: var(--blue-light); }

/* ======================= MOBILE ======================= */
@media (max-width: 760px) {
  .nav__burger { display: flex; }

  .nav__links {
    position: fixed;
    top: 55px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(8, 8, 13, .97);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .nav__links.open { max-height: 420px; }

  .nav__links a { padding: 1rem 1.5rem; width: 100%; text-align: center; }

  .nav__cta { border-radius: 0; box-shadow: none; }

  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .show {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
  }

  .show__badge { grid-column: 1 / -1; justify-self: start; }
  .show__ics   { grid-column: 1 / -1; justify-self: start; }

  .about__stats { gap: 1.8rem; }
}
