html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* =========================================================
   ROOT VARIABLES / COLOR PALETTE
========================================================= */
:root {
  --bg-main: #0b0b0b;
  --bg-alt: #141414;

  --text-main: #f2efe8;
  --text-muted: #a8a29e;

  --accent-primary: #c4622d;
  --accent-secondary: #6b3e26;
  --accent-highlight: #f4b333;

  --border: #1f1f1f;
}

/* =========================================================
   GLOBAL RESET / BASE STYLES
========================================================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;

  font-family: "Mr Eaves XL Mod OT", sans-serif;
  font-weight: 900;
  line-height: 1.05;

  color: var(--text-main);

  background:
    radial-gradient(circle at top, #14100c, #050505),
    radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);

  background-size: auto, 3px 3px;
}

.page {
  width: min(100% - 32px, 1100px);
  margin: 0 auto;
}

/* =========================================================
   HEADER / NAVIGATION
========================================================= */
.header {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10;
  border-bottom: 1px solid var(--border);
}

.header .page {
  position: relative;

  width: 100%;
  max-width: none;
  margin: 0;
  padding: 8px 24px;

  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-link {
  width: clamp(90px, 10vw, 140px);
  aspect-ratio: 706 / 690;
  display: block;
  flex: 0 0 auto;
}

.site-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.text-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  height: clamp(24px, 4vw, 48px);
  width: auto;
}


nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
}


nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 1px;
}

nav a:hover {
  color: var(--accent-primary);
}

/* =========================================================
   HERO SECTION (MAIN BAND IMAGE)
========================================================= */
.hero {
  position: relative;
}

.hero img {
  width: 100%;
  height: 100vh;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --- HERO OVERLAY TEXT --- */
.hero-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: flex-end;
  justify-content: flex-start;

  padding: 40px;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.78),
    rgba(0,0,0,0.18)
  );
}

.hero-overlay h1,
.hero-overlay p {
  margin: 0;
  color: var(--text-main);

  font-size: clamp(28px, 5vw, 72px);
  letter-spacing: 3px;

  text-shadow: 4px 4px 14px rgba(0, 0, 0, 0.85);
}

/* =========================================================
   CONTENT SECTIONS (ABOUT / MEDIA / CONTACT)
========================================================= */
.section {
  padding: 64px 0;
}

.section h2 {
  margin: 0 0 20px;

  color: var(--accent-highlight);

  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 2px;
}

.section p {
  color: var(--text-muted);
  font-size: 22px;
  line-height: 1.35;
  max-width: 760px;
}

/* =========================================================
   MEDIA (AUDIO TRACKS)
========================================================= */
.media-list {
  display: grid;
  gap: 28px;
  max-width: 700px;
}

.track {
  padding: 16px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  border-radius: 10px;
}

audio {
  width: 100%;
  filter: invert(1) contrast(1.2);
}

/* =========================================================
   CONTACT SECTION (TEXT + IMAGE)
========================================================= */
.contact-section {
  display: grid;
  gap: 32px;
  align-items: center;
}

.contact-photo {
  width: 100%;
  max-width: 360px;
  height: auto;

  border-radius: 14px;
  border: 1px solid var(--border);
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  padding: 40px 0;
  text-align: center;
  font-size: 14px;

  color: var(--text-muted);
  border-top: 1px solid var(--border);
}




@media (max-width: 600px) {

  .header .page {
    align-items: center;
  }

  /* hide long text logo */
  .text-logo {
    display: none;
  }

  .site-logo {
    width: 90px;
  }

   nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  nav a {
    font-size: 15px;
  }

  /* prevent hero cropping on mobile */
  .hero img {
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: center;
  }

  .hero-overlay {
    position: relative;
    padding: 18px 16px;
    background: #050505;
  }

  .section {
    padding: 44px 0;
  }

  .section p {
    font-size: 19px;
  }
}


/* =========================================================
   GIGS STYLES
========================================================= */

.gig-header,
.gig {
  display: grid;
  grid-template-columns: 80px 130px 110px 1.4fr 2fr 80px 90px;
  gap: 18px;
  align-items: center;
}

.gig-header {
  margin-bottom: 8px;
  padding: 0 20px;
  color: var(--accent-highlight);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gig {
  padding: 16px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.gig-calendar {
  text-align: left;
}

.calendar-button {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--accent-highlight);
  border-radius: 999px;
  color: var(--accent-highlight);
  font-size: 14px;
  text-decoration: none;
}

.calendar-button:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

.gig-venue {
  color: var(--text-main);
  font-size: 20px;
}

.gig-date,
.gig-time,
.gig-address,
.gig-cover {
  color: var(--text-muted);
  font-size: 16px;
}

.gig-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  text-align: center;
}

.gig-links a {
  color: var(--accent-highlight);
  text-decoration: none;
}

.gig-links a:hover {
  color: var(--accent-primary);
}

.coming-soon {
  grid-column: 1 / -1;
  padding: 24px 20px;
  text-align: center;
  font-size: 22px;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: 10px;
}



@media (max-width: 800px) {
  .gig-header {
    display: none;
  }

  .gig {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .gig-links {
    justify-content: flex-start;
    text-align: left;
  }
}


/* =========================================================
   MAILING LIST
========================================================= */

.mailing-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mailing-form {
  max-width: 620px;
  margin-top: 24px;
}

.mailing-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-main);
  font-size: 18px;
  letter-spacing: 1px;
}

.mailing-row {
  display: flex;
  gap: 12px;
}

.mailing-row input {
  flex: 1;
  padding: 14px 16px;

  font: inherit;
  font-size: 18px;

  color: var(--text-main);
  background: var(--bg-alt);

  border: 1px solid var(--border);
  border-radius: 8px;
}

.mailing-row input::placeholder {
  color: var(--text-muted);
}

.mailing-row button {
  padding: 14px 22px;

  font: inherit;
  font-size: 18px;

  color: #050505;
  background: var(--accent-highlight);

  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.mailing-row button:hover {
  background: var(--accent-primary);
  color: var(--text-main);
}

@media (max-width: 600px) {
  .mailing-row {
    flex-direction: column;
  }

  .mailing-row button {
    width: 100%;
  }
}






#gigs,
#about,
#media,
#contact,
#mailing-list {
  scroll-margin-top: 140px;
}



/* =========================================================
   BRAIN
========================================================= */



.brain-logo {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;

  margin: 0 0 30px;

  transition: 0.4s ease;

  filter:
    drop-shadow(0 0 6px rgba(255,0,255,.7))
    drop-shadow(0 0 14px rgba(0,255,255,.5));

  animation:
    brainFloat 7s ease-in-out infinite
    /* brainHue 12s linear infinite;*/
}

.logo-controls {
  display: flex;
  gap: 10px;
  justify-content: left;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.logo-controls button {
  background: black;
  color: white;
  border: 1px solid #444;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.logo-controls button:hover {
  border-color: white;
}

@keyframes brainFloat {
  0% {
    transform: translateY(0px) rotate(-1deg);
  }

  25% {
    transform: translateY(-10px) rotate(1deg);
  }

  50% {
    transform: translateY(-18px) rotate(-1deg);
  }

  75% {
    transform: translateY(-10px) rotate(1deg);
  }

  100% {
    transform: translateY(0px) rotate(-1deg);
  }
}

@keyframes brainHue {
  0% {
    filter:
      hue-rotate(0deg)
      drop-shadow(0 0 6px rgba(255,0,255,.7))
      drop-shadow(0 0 14px rgba(0,255,255,.5));
  }

  100% {
    filter:
      hue-rotate(360deg)
      drop-shadow(0 0 6px rgba(255,0,255,.7))
      drop-shadow(0 0 14px rgba(0,255,255,.5));
  }
}






/* =========================================================
   DESKTOP ENHANCEMENTS
========================================================= */
@media (min-width: 768px) {

  .media-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-section {
    grid-template-columns: 1fr 360px;
  }

  .contact-photo {
    justify-self: end;
  }
}