/* Greg Hall Music — shared styles (black + tan, after the old greghallband.com brand) */
:root {
  --bg: #0b0b0b;
  --bg-soft: #121212;
  --tan: #e6d2a8;
  --tan-soft: #eddcb9;
  --cream: #f2e8d5;
  --body-on-dark: #cdc5b4;
  --muted-on-dark: #948c7c;
  --ink: #16130a;
  --body-on-tan: #3a3322;
  --line-dark: #242424;
  --line-tan: #cdb789;
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--body-on-dark);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  color: var(--cream);
  letter-spacing: .01em;
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: .4rem; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

section { padding: 4rem 0; } /* one uniform beat between all sections */
section[id] { scroll-margin-top: 68px; } /* keep headings clear of the sticky header on anchor jumps */
.center { text-align: center; }
.kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--tan);
  margin-bottom: .4rem;
}

/* Tan band sections — black text on tan, like the old site */
.band { background: var(--tan); color: var(--body-on-tan); }
.band h2, .band h3 { color: var(--ink); }
.band .kicker { color: #7d6a3f; }
.band a { color: var(--ink); text-decoration: underline; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 11, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .02em;
  color: var(--cream);
}
.brand:hover { text-decoration: none; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem; }
nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--body-on-dark);
  padding: .45rem .85rem;
  transition: color .15s;
}
nav a:hover { color: var(--tan); text-decoration: none; }
nav a[aria-current="page"] { color: var(--tan); }
nav .socials { display: flex; gap: .35rem; margin-left: .6rem; }
nav .socials a { padding: .45rem .4rem; display: flex; align-items: center; }
nav .socials svg { width: 18px; height: 18px; fill: var(--body-on-dark); transition: fill .15s; }
nav .socials a:hover svg { fill: var(--tan); }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--cream); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(11, 11, 11, 0.97);
    border-bottom: 1px solid var(--line-dark);
    padding: .5rem 24px 1rem;
  }
  nav.open { display: flex; }
  nav a { padding: .7rem .4rem; font-size: 1.05rem; }
  nav .socials { margin: .4rem 0 0; }
}

/* Buttons — flat, sharp-cornered like the old brand */
.btn {
  display: inline-block;
  background: var(--tan);
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .04em;
  padding: .7rem 1.5rem;
  border: 1px solid var(--tan);
  cursor: pointer;
}
.btn:hover { background: var(--tan-soft); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--tan); }
.btn.ghost:hover { background: rgba(230, 210, 168, 0.12); }
.band .btn { background: var(--ink); color: var(--tan); border-color: var(--ink); }
.band .btn:hover { background: #2a251667; text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  background: var(--bg);
}
.hero .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11,11,11,.35) 0%, rgba(11,11,11,0) 30%, rgba(11,11,11,.82) 88%, var(--bg) 100%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 3.2rem;
}
.hero .tag {
  color: var(--tan-soft);
  font-size: clamp(.95rem, 2vw, 1.15rem);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: .3rem;
}

/* Featured EP cards */
.ep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 860px) { .ep-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }
.ep-card { background: var(--bg-soft); border: 1px solid var(--line-dark); }
.ep-card .cover { position: relative; }
.ep-card .cover img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ep-body { padding: 1.5rem 1.6rem 1.7rem; }
.ep-body .who { color: var(--muted-on-dark); font-size: .9rem; margin-bottom: .1rem; }
.ep-body time { color: var(--muted-on-dark); font-size: .82rem; display: block; margin-bottom: 1rem; }

.platforms { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.platforms a {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--tan);
  border: 1px solid var(--line-tan);
  padding: .34rem .8rem;
}
.platforms a:hover { background: var(--tan); color: var(--ink); text-decoration: none; }
@media (max-width: 420px) { .platforms { gap: .4rem; } .platforms a { font-size: .74rem; padding: .3rem .6rem; } }

/* Track preview list */
.tracks { border-top: 1px solid var(--line-dark); margin-top: 1.2rem; }
.track { display: flex; align-items: center; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid var(--line-dark); }
.track .play {
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-tan);
  background: transparent;
  color: var(--tan);
  font-size: .72rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.track .play:hover { background: var(--tan); color: var(--ink); }
.track.playing .play { background: var(--tan); color: var(--ink); }
.track .t-body { flex: 1; min-width: 0; }
.track .t-title { font-size: .92rem; color: var(--cream); font-weight: 500; line-height: 1.3; }
.track .seek { height: 3px; background: var(--line-dark); margin-top: .35rem; display: none; }
.track.playing .seek, .track.paused .seek { display: block; }
.track .seek-fill { height: 100%; width: 0; background: var(--tan); }
.track .t-note { flex: none; font-size: .72rem; color: var(--muted-on-dark); letter-spacing: .06em; }

.title-xl { font-size: clamp(2.2rem, 5vw, 3.4rem); }

/* Discography banner */
.disc-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 3rem 0 1.2rem; }
.disc-head h3 { margin: 0; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; color: var(--tan); }
.platform-tabs { display: flex; }
.platform-tabs button {
  font: inherit;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .34rem .85rem;
  background: transparent;
  color: var(--body-on-dark);
  border: 1px solid var(--line-dark);
  border-left-width: 0;
  cursor: pointer;
}
.platform-tabs button:first-child { border-left-width: 1px; }
.platform-tabs button:hover { color: var(--tan); }
.platform-tabs button[aria-pressed="true"] { background: var(--tan); color: var(--ink); border-color: var(--tan); }
.disc-item.disabled { opacity: .3; pointer-events: none; }

.disc-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}
@media (max-width: 900px) { .disc-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  /* swipeable row on phones — a peeking cover invites the scroll */
  .disc-row {
    display: flex;
    gap: .9rem;
    overflow-x: auto;
    padding-bottom: .6rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .disc-row::-webkit-scrollbar { display: none; }
  .disc-row .disc-item { flex: 0 0 42%; scroll-snap-align: start; }
}
.disc-item { text-decoration: none; }
.disc-item:hover { text-decoration: none; }
.disc-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line-dark); transition: transform .2s; }
.disc-item:hover img { transform: translateY(-3px); }
.disc-title { font-size: .84rem; font-weight: 500; color: var(--cream); margin-top: .55rem; line-height: 1.35; }
.disc-item:hover .disc-title { color: var(--tan); }
.disc-meta { font-size: .72rem; color: var(--muted-on-dark); margin-top: .1rem; }

/* Videos */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
  margin-top: 2.2rem;
}
@media (max-width: 640px) { .video-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line-dark);
  cursor: pointer;
  overflow: hidden;
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .15s, transform .3s; }
.video:hover img { opacity: 1; transform: scale(1.03); }
.video .v-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52px;
  height: 52px;
  background: rgba(11,11,11,.72);
  border: 1px solid var(--tan);
  color: var(--tan);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.v-title { text-align: center; font-size: .88rem; color: var(--body-on-dark); margin-top: .55rem; line-height: 1.4; }
.band .v-title { color: var(--body-on-tan); }
.band .video { border-color: var(--line-tan); }

/* Shows (custom Bandsintown-fed list) */
.shows-list { max-width: 760px; margin: 2rem auto 0; }
.show-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line-tan);
  flex-wrap: wrap;
}
.show-row .s-date { flex: none; width: 92px; font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.3; text-transform: uppercase; letter-spacing: .04em; }
.show-row .s-body { flex: 1; min-width: 220px; }
.show-row .s-venue { font-weight: 600; color: var(--ink); font-size: 1rem; line-height: 1.35; }
.show-row .s-loc { font-size: .88rem; }
.show-row .s-artist { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: #7d6a3f; font-weight: 600; }
.show-row .s-actions { display: flex; gap: .5rem; }
.show-row .s-actions a {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--ink);
  color: var(--tan);
  padding: .35rem .8rem;
}
.show-row .s-actions a:hover { opacity: .82; }
.shows-empty { text-align: center; padding: 1.6rem 0; font-size: .98rem; }
.shows-list .show-row.show-extra { display: none; }
.shows-list.expanded .show-row.show-extra { display: flex; }
.shows-more { text-align: center; padding-top: 1.8rem; }

/* Inner pages */
.page-head { padding: 4rem 0 2.5rem; text-align: center; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

/* Static track list (no previews) */
.tracklist { list-style: none; counter-reset: trk; border-top: 1px solid var(--line-dark); margin-top: 1.2rem; }
.tracklist li { counter-increment: trk; display: flex; align-items: baseline; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid var(--line-dark); font-size: .92rem; color: var(--cream); }
.tracklist li::before { content: counter(trk); flex: none; width: 34px; text-align: center; color: var(--muted-on-dark); font-size: .8rem; }
.tracklist li .t-dur { margin-left: auto; color: var(--muted-on-dark); font-size: .78rem; }

/* About page */
.band .pull-quote { border-left-color: var(--ink); color: var(--ink); }
.band .pull-quote cite { color: #7d6a3f; }
section.compact { padding: 2.6rem 0; }
.nutshell-grid { display: grid; grid-template-columns: 340px 1fr; gap: 3rem; align-items: stretch; }
.nutshell-photo { overflow: hidden; }
.nutshell-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .nutshell-grid { grid-template-columns: 1fr; }
  .nutshell-photo { max-width: 440px; margin: 0 auto; }
  .nutshell-photo img { height: auto; }
}
/* Contact photo beside the form */
.form-split.with-photo { align-items: stretch; }
.contact-photo { overflow: hidden; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 780px) { .contact-photo { max-height: 340px; } }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2.2rem;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }
.about-photo { border: 1px solid var(--line-dark); }
.about-copy p { margin-bottom: 1.1rem; }
.about-copy p:last-child { margin-bottom: 0; }
.pull-quote {
  border-left: 2px solid var(--tan);
  padding: .2rem 0 .2rem 1.1rem;
  margin: 1.4rem 0;
  color: var(--cream);
  font-size: 1.05rem;
  line-height: 1.6;
}
.pull-quote cite { display: block; font-style: normal; font-size: .8rem; color: var(--muted-on-dark); letter-spacing: .08em; text-transform: uppercase; margin-top: .4rem; }

/* Split sections (newsletter / contact) — asymmetric, editorial */
.form-split {
  display: grid;
  grid-template-columns: minmax(260px, 5fr) 6fr;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 780px) { .form-split { grid-template-columns: 1fr; gap: 2rem; } }
.form-split h2 { margin-bottom: .6rem; }
.form-split .blurb { max-width: 40ch; }

/* Underline form fields */
.field { display: block; }
.field span {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .15rem;
}
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid;
  border-radius: 0;
  padding: .35rem 0 .5rem;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-width: 2px; }

/* Newsletter (on black) */
#newsletter .inner { border: 1px solid var(--line-tan); padding: 3rem clamp(1.4rem, 4vw, 3.5rem); }
#newsletter .field span { color: var(--muted-on-dark); margin-bottom: .4rem; }
#newsletter .field input {
  color: var(--cream);
  background: rgba(230, 210, 168, 0.08);
  border: 1px solid rgba(230, 210, 168, 0.28);
  border-bottom: 1px solid var(--line-tan);
  padding: .55rem .75rem .6rem;
  caret-color: var(--tan);
}
#newsletter .field input:focus { border-color: var(--tan); }
.newsletter-form { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 1.6rem; align-items: end; }
@media (max-width: 640px) { .newsletter-form { grid-template-columns: 1fr; gap: 1.2rem; } }
.fine { font-size: .75rem; color: var(--muted-on-dark); margin-top: 1rem; }

/* Ornamental divider between sections */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.divider::before, .divider::after {
  content: "";
  height: 1px;
  width: min(180px, 26vw);
  background: var(--line-tan);
  opacity: .45;
}
.divider span {
  width: 8px;
  height: 8px;
  background: var(--tan);
  transform: rotate(45deg);
}
.band .divider::before, .band .divider::after { background: var(--ink); opacity: .35; }
.band .divider span { background: var(--ink); }

/* Contact (tan panel on black, like the mailing-list block) */
.contact-panel { padding: 3rem clamp(1.4rem, 4vw, 3.5rem); }
.contact-form { display: grid; gap: 1.5rem; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 560px) { .contact-form .row2 { grid-template-columns: 1fr; } }
#contact .field span { color: #7d6a3f; }
#contact .field input, #contact .field textarea { color: var(--ink); border-bottom-color: #b39a67; caret-color: var(--ink); }
#contact .field input:focus, #contact .field textarea:focus { border-bottom-color: var(--ink); }
#contact .contact-socials { display: flex; gap: 1rem; margin-top: 1.4rem; }
#contact .contact-socials svg { width: 20px; height: 20px; fill: var(--ink); opacity: .8; }
#contact .contact-socials a:hover svg { opacity: 1; }
.form-actions { display: flex; justify-content: flex-end; }
.form-msg { font-weight: 600; color: var(--ink); padding: 1rem 0; }
.form-msg.err { color: #7a2f1f; font-weight: 500; padding: 0; }
#newsletter .form-msg { color: var(--tan); }
#newsletter .form-msg.err { color: #d98a70; }

/* Footer — light */
footer { background: var(--tan); padding: 3rem 0 2.6rem; text-align: center; }
footer .socials { display: flex; justify-content: center; gap: 1.1rem; margin-bottom: 1.4rem; }
footer .socials svg { width: 20px; height: 20px; fill: var(--ink); opacity: .78; }
footer .socials a:hover svg { opacity: 1; }
footer .credit { font-size: .78rem; color: #7d6a3f; }
footer .credit a { color: #7d6a3f; text-decoration: underline; }
