/* Colors pulled from the social-profile art. Change these to restyle the whole site. */
:root {
  --bg: #1c1411;        /* near-black brown */
  --bg-glow: #6e2b1c;   /* rusty red haze */
  --surface: #2a1c17;
  --line: #4a2a20;
  --text: #f4e9e2;
  --muted: #b89a8e;
  --accent: #f2321c;    /* the logo red */
  --max-width: 46rem;
  --font: "Archivo Narrow", "Arial Narrow", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font: 1.125rem/1.55 var(--font);
  background-color: var(--bg);
  /* Blotchy red haze like the profile art */
  background-image:
    radial-gradient(55rem 35rem at 5% -5%, color-mix(in srgb, var(--bg-glow) 85%, transparent), transparent 70%),
    radial-gradient(40rem 30rem at 100% 25%, color-mix(in srgb, var(--bg-glow) 60%, transparent), transparent 70%),
    radial-gradient(45rem 35rem at 0% 75%, color-mix(in srgb, var(--bg-glow) 55%, transparent), transparent 70%),
    radial-gradient(35rem 25rem at 90% 100%, color-mix(in srgb, var(--bg-glow) 45%, transparent), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Grain. Raise or lower the opacity values to make it heavier or lighter. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("/images/grain.svg");
  background-size: 300px;
}
/* Heavy grain on the background only (sits behind the content) */
body::before {
  z-index: -1;
  opacity: 0.22;
}
/* Light grain over everything, photo included */
body::after {
  z-index: 100;
  opacity: 0.1;
}

a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }

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

h2 {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Header */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2.5rem 1rem 2rem;
}
.logo img { width: min(22rem, 70vw); }

.site-header nav {
  display: flex;
  gap: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.site-header nav span { color: var(--accent); }
.site-header nav a { text-decoration: none; }

/* Hero photo */
.hero {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 1rem;
}
.hero img { width: 100%; }

/* Sections */
main section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem 1rem 0;
  text-align: center;
}

/* Buttons */
.buttons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.button {
  display: inline-block;
  padding: 0.3rem 1rem;
  border: 2px solid var(--accent);
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.button:hover { background: var(--accent); color: var(--bg); }
.button.small { padding: 0.45rem 1rem; font-size: 0.85rem; }

.embed:not(:empty) { margin-bottom: 1.5rem; }
.embed iframe { width: 100%; border: 0; border-radius: 12px; }

/* Shows */
.shows { list-style: none; padding: 0; margin: 0; text-align: left; }
.shows li {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.shows li:last-child { border-bottom: 1px solid var(--line); }
.shows time {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.where { display: flex; flex-direction: column; line-height: 1.3; }
.city { font-weight: 700; font-size: 1.2rem; }
.venue { color: var(--muted); }
.empty { color: var(--muted); }

/* Contact */
#contact p { margin: 0; color: var(--muted); }
#contact a { font-size: 1.35rem; font-weight: 600; }

/* Footer */
.site-footer {
  margin-top: 5rem;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.socials a { text-decoration: none; }

/* Phones */
@media (max-width: 560px) {
  .shows li {
    grid-template-columns: 4.5rem 1fr;
  }
  .shows li .button { grid-column: 2; justify-self: start; }
}
