/* ============================================================
   UNITED WIRE — band site styles
   ============================================================ */

:root {
  --bg: #141210;
  --bg-soft: #1b1815;
  --bg-dark: #0e0c0b;
  --ink: #f2ece2;
  --ink-dim: #b7ad9f;
  --amber: #e8a33d;
  --amber-bright: #ffc061;
  --line: rgba(242, 236, 226, 0.12);
  --serif: "Source Serif 4", Georgia, serif;
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--amber); color: #1a1208; }

img { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-bright); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(20, 18, 16, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 2px;
  color: var(--ink);
}
.brand-wire { color: var(--amber); }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--ink-dim);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--amber-bright); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform 0.2s;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(232, 163, 61, 0.16), transparent 65%),
    linear-gradient(180deg, #1d1915 0%, var(--bg) 70%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 90px, rgba(232, 163, 61, 0.05) 90px 91px),
    repeating-linear-gradient(0deg, transparent 0 90px, rgba(232, 163, 61, 0.05) 90px 91px);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black, transparent);
}

.hero-grain {
  position: absolute; inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 2; padding: 0 24px; }

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(4rem, 14vw, 9rem);
  line-height: 0.95;
  letter-spacing: 4px;
  color: var(--ink);
}
.hero-title span { color: var(--amber); }

.hero-tagline {
  margin: 22px auto 34px;
  max-width: 460px;
  color: var(--ink-dim);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  color: var(--ink-dim);
  font-size: 1.4rem;
  animation: bob 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 30px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--amber); color: #1a1208; }
.btn-primary:hover { background: var(--amber-bright); color: #1a1208; transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-bright); }

/* ---------- sections ---------- */

.section { padding: 110px 24px; }
.section-dark { background: var(--bg-dark); }

.container { max-width: 1100px; margin: 0 auto; }

.section-kicker {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-lead {
  max-width: 620px;
  color: var(--ink-dim);
  margin-bottom: 48px;
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-text p { color: var(--ink-dim); margin-bottom: 20px; font-size: 1.02rem; }
.about-text strong { color: var(--ink); }

.about-facts {
  border: 1px solid var(--line);
  border-top: 3px solid var(--amber);
  padding: 28px;
  background: var(--bg-soft);
}

.about-facts h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.about-facts ul { list-style: none; }
.about-facts li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.95rem;
}
.about-facts li span { color: var(--ink-dim); font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; }

.about-facts blockquote {
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-dim);
  font-size: 1.05rem;
  border-left: 3px solid var(--amber);
  padding-left: 16px;
}
.about-facts cite { display: block; margin-top: 8px; font-size: 0.85rem; color: var(--amber); font-style: normal; }

/* ---------- members ---------- */

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
}

.member {
  text-align: center;
  padding: 34px 20px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  transition: transform 0.25s, border-color 0.25s;
}
.member:hover { transform: translateY(-6px); border-color: rgba(232, 163, 61, 0.5); }

.member-avatar {
  width: 84px; height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--c);
  color: #17120a;
  font-family: var(--display);
  font-size: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(232, 163, 61, 0.12);
}

.member h3 { font-size: 1.15rem; margin-bottom: 4px; }
.member-role { color: var(--amber); font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.member-bio { color: var(--ink-dim); font-size: 0.9rem; }

/* ---------- songs ---------- */

.song-list { border-top: 1px solid var(--line); }

.song {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.song:hover { background: var(--bg-soft); }

.song-num {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--amber);
  width: 48px;
  flex-shrink: 0;
}

.song-info { flex: 1; }
.song-info h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin-bottom: 4px; }
.song-info p { color: var(--ink-dim); font-size: 0.92rem; }

.play-btn {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  color: var(--ink-dim);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}
.play-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.song:hover .play-btn:disabled { color: var(--amber); border-color: rgba(232, 163, 61, 0.5); }

.song-note {
  margin-top: 22px;
  font-style: italic;
  color: var(--ink-dim);
  font-family: var(--serif);
  font-size: 0.95rem;
}

/* ---------- influences ---------- */

.influences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.influence {
  border: 1px solid var(--line);
  padding: 26px;
  background: var(--bg-soft);
  transition: border-color 0.25s, transform 0.25s;
}
.influence:hover { border-color: rgba(232, 163, 61, 0.5); transform: translateY(-4px); }

.influence-year {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
}

.influence h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin: 6px 0 4px; }
.influence p { color: var(--ink-dim); font-size: 0.88rem; }

/* ---------- music / discography ---------- */

.albums-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.album {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.album-cover { display: block; overflow: hidden; }
.album-cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.album:hover .album-cover img { transform: scale(1.03); }

.album-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.album-year {
  color: var(--amber);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.album-body h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.album-body h3 a { color: var(--ink); }
.album-body h3 a:hover { color: var(--amber-bright); }

.album-desc { color: var(--ink-dim); font-size: 0.92rem; }

.tracklist {
  list-style: none;
  margin: 8px 0 20px;
  border-top: 1px solid var(--line);
}
.tracklist li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-dim);
}
.tracklist li span { color: var(--ink); font-variant-numeric: tabular-nums; }

.album-body .btn { align-self: flex-start; margin-top: auto; }

/* ---------- lyrics ---------- */

.lyrics {
  margin: 4px 0 20px;
  border-top: 1px solid var(--line);
}

.lyrics-head {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  padding: 12px 0 4px;
}

.lyrics details { border-bottom: 1px solid var(--line); }

.lyrics summary {
  cursor: pointer;
  list-style: none;
  padding: 11px 0;
  font-size: 0.92rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.2s;
}
.lyrics summary::-webkit-details-marker { display: none; }
.lyrics summary::after {
  content: "+";
  color: var(--amber);
  font-size: 1.1rem;
  transition: transform 0.2s;
}
.lyrics details[open] summary::after { transform: rotate(45deg); }
.lyrics summary:hover { color: var(--amber-bright); }

.lyrics details p {
  padding: 0 0 16px;
  color: var(--ink-dim);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.7;
}
.lyrics details p + p { padding-top: 8px; }

/* ---------- gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.gallery-item {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-wide { grid-column: 1 / -1; }
.gallery-wide img { max-height: 640px; }

.gallery-item figcaption {
  padding: 14px 18px;
  color: var(--ink-dim);
  font-size: 0.85rem;
  font-style: italic;
  font-family: var(--serif);
}

.gallery-grid .gallery-item:not(.gallery-wide) img {
  aspect-ratio: 16 / 9;
}

/* ---------- guitar / play ---------- */

.guitar-stage { margin-top: 8px; }

#guitar {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  cursor: crosshair;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.guitar-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  color: var(--ink-dim);
  font-size: 0.85rem;
}
.guitar-meta strong { color: var(--amber-bright); }

.chord-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chord-btn {
  padding: 8px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 1px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s;
}
.chord-btn:hover { border-color: var(--amber); color: var(--amber-bright); }
.chord-btn.is-active { background: var(--amber); color: #1a1208; border-color: var(--amber); }

.guitar-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.guitar-hint {
  margin-top: 14px;
  min-height: 1.4em;
  color: var(--ink-dim);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
}

/* ---------- shows ---------- */

.shows-empty {
  text-align: center;
  border: 1px dashed var(--line);
  padding: 64px 24px;
  color: var(--ink-dim);
}
.shows-empty p { margin-bottom: 24px; }

/* ---------- contact ---------- */

.contact-form {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row { display: flex; gap: 16px; }
.form-row input { flex: 1; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 0.95rem;
  border-radius: 2px;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--amber);
}

.contact-form textarea { resize: vertical; }

.contact-form .btn { align-self: flex-start; }

.form-status { color: var(--amber-bright); font-size: 0.9rem; }

.socials {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}
.socials a {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.socials a:hover { color: #1a1208; background: var(--amber); border-color: var(--amber); }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 40px 24px;
  text-align: center;
  color: var(--ink-dim);
  font-size: 0.85rem;
}
.footer p + p { margin-top: 6px; color: rgba(183, 173, 159, 0.6); }

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(20, 18, 16, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.25s;
    padding: 12px 0;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 24px; }

  .nav-toggle { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row { flex-direction: column; }
  .albums-grid { grid-template-columns: 1fr; }
}
