/* =========================
   Base reset + defaults
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #000;
  color: #fff;
}

:root{
  --top-pad: 1.6rem;
  --stack-gap: 0.95rem;
  --text-main: #e5e4de;
  --bg-dark: #0e0e0e;
}

/* =========================
   HERO (Homepage)
   ========================= */
.hero {
  min-height: 100svh;
  background-image: url("../img/hero.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 24%;
  background-color: var(--bg-dark);
  position: relative;
  display: grid;
  justify-items: center;
  align-items: end;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.10) 35%,
    rgba(0,0,0,0.22) 60%,
    rgba(0,0,0,0.45) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 12px 18px;
  mix-blend-mode: overlay;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, 92vw);
  text-align: center;
  display: grid;
  gap: var(--stack-gap);
  padding-top: 0;
  padding-bottom: clamp(2.2rem, 8vh, 5.5rem);
}

.hero-logo {
  width: min(900px, 92vw);
  height: auto;
  margin-inline: auto;
  display: block;
  opacity: 0.94;
  margin-top: clamp(0.4rem, 2vh, 1.1rem);
}

/* =========================
   NAV (shared)
   ========================= */
.nav {
  margin-bottom: 0.15rem;
}

.nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: clamp(1.1rem, 3.6vw, 2.0rem);
  flex-wrap: wrap;
  max-width: 100%;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: clamp(0.78rem, 2.1vw, 0.98rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
  padding: 0.25rem 0.1rem;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
  outline: none;
}

.nav a.active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}



/* =========================
   Subpage typography (content)
   ========================= */
.page {
  width: min(900px, 92vw);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--text-main);
}

.page h1,
.page h2,
.page h3 {
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-main);
}

.page h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.page p,
.page li {
  color: var(--text-main);
  line-height: 1.7;
  font-weight: 400;
}

.page a {
  color: var(--text-main);
  text-underline-offset: 0.25em;
  opacity: 0.92;
}

.page a:hover {
  opacity: 1;
}

/* =========================
   SUBHEAD (Subpages wrapper with paper background)
   ========================= */
.subhead {
  min-height: 100svh;
  background-color: var(--bg-dark);
  background-image: url("../img/paper.jpg");
  background-repeat: repeat;
  background-size: auto;
  background-position: top left;
  position: relative;
  display: grid;
  justify-items: center;
  align-items: flex-start;
  overflow: hidden;
}

.subhead::before {
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.22);
  pointer-events:none;
}

.subhead::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:0.10;
  background-image:
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 12px 18px;
  mix-blend-mode: overlay;
}

.subhead-inner {
  position: relative;
  z-index: 2;
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding-top: var(--top-pad);
  gap: 1.2rem;
  padding-bottom: 3rem;
  text-align: center;
  display: grid;
}

/* subpage home logo */
.logo-home {
  display: block;
  margin: 0 auto 0.8rem;
}

.logo-home img {
  width: 230px;
  max-width: 70vw;
  height: auto;
  display: block;
  opacity: 0.92;
}

.logo-home:hover img {
  opacity: 1;
}

/* subpage nav polish */
.subhead .nav {
  margin-bottom: 0.05rem;
}

.subhead .nav ul {
  gap: clamp(0.9rem, 3vw, 2rem);
}

.subhead .nav a {
  color: var(--text-main);
  font-size: clamp(0.72rem, 2.2vw, 0.92rem);
  letter-spacing: 0.16em;
  opacity: 0.92;
}

/* subpage socials smaller than homepage */
.subhead .socials {
  margin-top: 0.1rem;
  gap: 0.95rem;
}

.subhead .socials a {
  width: 18px;
  height: 18px;
  color: rgba(229,228,222,0.78);
}

/* subpage content spacing */
.subhead .page {
  margin-top: 1.2rem;
}

.subhead .page h1 {
  margin-top: 0.6rem;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  letter-spacing: 0.12em;
}

/* readable paragraph width on paper */
.subhead .page p {
  max-width: 46ch;
  margin-inline: auto;
  opacity: 0.92;
}

/* desktop refinement */
@media (min-width: 1000px) {
  .logo-home img { width: 280px; }
  .subhead-inner { gap: 1.6rem; }

  .hero {
    background-position: center 20%;
  }
}

/* large desktop */
@media (min-width: 1200px) and (min-height: 900px) {
  .hero {
    background-position: center 18%;
  }
}

/* =========================
   MOBILE – Homepage ONLY
   ========================= */
@media (max-width: 700px) {
  .hero {
    align-items: end;
    background-position: center 16%;
  }

  .hero .hero-inner {
    padding-top: 0;
    padding-bottom: 12vh;
    gap: 0.9rem;
  }

  .hero .hero-logo {
    width: min(82vw, 420px);
  }
}

/* =========================
   MOBILE NAV
   ========================= */
@media (max-width: 700px) {
  .nav ul {
    gap: 1.05rem;
    row-gap: 0.7rem;
    padding-inline: 0.6rem;
  }

  .nav a {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  .socials {
    gap: 1rem;
  }

  .socials a {
    width: 21px;
    height: 21px;
  }

  .subhead .socials {
    gap: 0.8rem;
  }

  .subhead .socials a {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 420px) {
  .nav ul {
    gap: 0.9rem;
    row-gap: 0.6rem;
    padding-inline: 0.5rem;
  }

  .nav a {
    font-size: 0.74rem;
    letter-spacing: 0.10em;
  }
}

/* =========================
   LIVE PAGE (Cosmic Crooner style)
   ========================= */
.page.page-live {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.page.page-live h1 { text-align: left; }

.tabs {
  display:flex;
  justify-content:flex-start;
  gap: 1.4rem;
  margin-top: 0.6rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(229,228,222,0.35);
}

.tab {
  color: var(--text-main);
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:0.12em;
  font-weight:500;
  opacity:0.7;
}

.tab.is-active {
  opacity:1;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.gigs { display: block; margin-top: 1rem; }
.gigs[hidden] { display: none !important; }

.gig {
  display:grid;
  grid-template-columns: 1.2fr 1fr 170px;
  gap: 1rem;
  align-items:center;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(229,228,222,0.28);
}

.gig-left { text-align:left; }

.gig-date {
  font-weight:600;
  letter-spacing:0.12em;
  text-transform:uppercase;
  font-size:0.95rem;
}

.gig-venue {
  margin-top:0.35rem;
  opacity: 0.9;
  letter-spacing:0.08em;
  text-transform:uppercase;
  font-weight:500;
  font-size:0.82rem;
}

.gig-city {
  text-align:left;
  opacity: 0.9;
  letter-spacing:0.08em;
  text-transform:uppercase;
  font-weight:500;
  font-size:0.82rem;
}

.gig-cta { display:flex; justify-content:flex-end; }

.gig-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:120px;
  height:34px;
  padding:0 14px;
  border-radius:6px;
  border: 1px solid rgba(229,228,222,0.55);
  color: var(--text-main);
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:0.12em;
  font-weight:600;
  font-size:0.72rem;
  opacity:0.95;
}

.gig-btn:hover { opacity:1; }

.gig-btn.is-muted {
  opacity:0.55;
  pointer-events:none;
}

@media (max-width: 700px){
  .page.page-live h1 { text-align:center; }
  .tabs { justify-content:center; }

  .gig {
    grid-template-columns: 1fr;
    text-align:center;
    gap:0.45rem;
    padding:1.3rem 0;
  }

  .gig-left, .gig-city { text-align:center; }
  .gig-cta { justify-content:center; margin-top:0.35rem; }
}

/* =========================
   ABOUT PAGE
   ========================= */
.page-about h1 { text-align: center; }

.page-about .about-copy {
  width: min(62ch, 92vw);
  margin-inline: auto;
  text-align: left;
}

.page-about .about-copy p {
  margin: 0;
  font-size: clamp(0.85rem, 2.1vw, 0.98rem);
  letter-spacing: 0.04em;
  line-height: 1.65;
  opacity: 0.92;
}

.page-about .about-copy p + p {
  margin-top: 1.05rem;
}

.page-about .about-closing {
  margin-top: 1.6rem;
}

@media (max-width: 700px) {
  .page-about .about-copy { width: min(60ch, 90vw); }
  .page-about .about-copy p {
    font-size: 0.98rem;
    letter-spacing: 0.02em;
  }
}

/* =========================
   LYRICS PAGE
   ========================= */
.page.page-lyrics {
  width: min(900px, 92vw);
  margin: 0 auto;
}

.page-lyrics .song {
  margin-top: 2.2rem;
}

.page-lyrics .song-title,
.page-lyrics h2 {
  text-align: center;
  margin-top: 2.2rem;
  margin-bottom: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-main);
}

.page-lyrics pre,
.page-lyrics .lyrics {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(0.85rem, 2.1vw, 0.98rem);
  letter-spacing: 0.04em;
  line-height: 1.75;
  text-align: center;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  color: rgba(229,228,222,0.92);
}

@media (max-width: 700px) {
  .page-lyrics pre,
  .page-lyrics .lyrics {
    font-size: 0.74rem;
    letter-spacing: 0.11em;
    padding: 0 0.9rem;
  }

  .page-lyrics .song-title,
  .page-lyrics h2 {
    margin-bottom: 1.1rem;
  }
}

/* =========================
   MEDIA PAGE
   ========================= */
.page.page-media{
  width: min(780px, 92vw);
  margin: 0 auto;
  text-align: center;
}

.page.page-media h1{
  margin-top: 0.6rem;
}

.media-sub{
  margin-top: 0.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.9;
}

.media-list{
  margin-top: 1.6rem;
  display: grid;
  gap: 1.35rem;
}

.media-item{
  padding-top: 0.9rem;
}

.media-item:first-child{
  padding-top: 0;
}

.media-row{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  margin-bottom: 0.65rem;
}

.media-title,
.media-tag{
  font-family: "Montserrat", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  opacity: 0.92;
}

.media-title{
  font-size: 0.95rem;
}

.media-tag{
  opacity: 0.65;
  font-size: 0.72rem;
}

.media-audio{
  width: min(520px, 100%);
  display: block;
  margin: 0 auto;
}

@supports (filter: invert(1)) {
  @media (min-width: 701px) {
    .media-audio{
      filter: invert(1) hue-rotate(180deg) saturate(1.1) brightness(0.95);
      opacity: 0.95;
    }
  }
}

.subhead::before,
.subhead::after {
  pointer-events: none;
}

.subhead-inner {
  position: relative;
  z-index: 2;
}

.page-media audio {
  position: relative;
  z-index: 3;
}

@media (min-width: 701px) {
  .page-media .media-item {
    border-top: none;
    padding-top: 0;
  }
}

@media (max-width: 700px){
  .page.page-media{
    width: min(560px, 92vw);
  }
}

/* =========================
   LEGAL PAGES
   ========================= */
.page-legal {
  max-width: 52ch;
  margin-inline: auto;
  text-align: left;
}

.page-legal h1,
.page-legal h2 {
  text-align: center;
}

.page-legal h2 {
  margin-top: 1.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

.page-legal p {
  font-size: 0.78rem;
  line-height: 1.65;
  opacity: 0.9;
}

/* =========================
   FOOTER
   ========================= */
.site-footer,
.subhead .site-footer {
  margin-top: 4.5rem;
  padding: 1.6rem 0 2.2rem;
  text-align: center;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(229,228,222,0.65);
}

.site-footer p,
.subhead .site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

@media (max-width: 700px) {
  .site-footer,
  .subhead .site-footer {
    margin-top: 3.6rem;
    font-size: 0.6rem;
    padding-bottom: 1.8rem;
  }
}
	
	/* =========================
   SOCIAL ICONS
   ========================= */

.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  margin-top: 0.15rem;
}

/* icon link */
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;

  color: #fff;          /* same as nav */
  opacity: 0.9;         /* same as nav */

  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* hover */
.socials a:hover,
.socials a:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
  outline: none;
}

/* svg size */
.socials svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* use icon color */
.socials svg path {
  fill: currentColor;
}

/* =========================
   ICON OPTICAL ALIGNMENT
   ========================= */

/* spotify arcs slightly high */
.socials a[aria-label="Spotify"] svg {
  transform: translateY(-0.5px);
}

/* apple music visually tall */
.socials a[aria-label="Apple Music"] svg {
  transform: translateY(-0.6px) scale(0.96);
}

/* youtube rectangle heavy */
.socials a[aria-label="YouTube"] svg {
  transform: scale(0.95);
}

/* tiktok thin note */
.socials a[aria-label="TikTok"] svg {
  transform: translateY(-0.5px) scale(0.98);
}

/* instagram slightly heavy square */
.socials a[aria-label="Instagram"] svg {
  transform: scale(0.97);
}

/* =========================
   SUBPAGES
   ========================= */

.subhead .socials {
  gap: 0.9rem;
}

.subhead .socials a {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 700px) {

  .socials {
    gap: 1rem;
  }

  .socials a {
    width: 20px;
    height: 20px;
  }

  .subhead .socials a {
    width: 16px;
    height: 16px;
  }

}
	
	