/* ==========================================================================
   BRONZE AGE COLLAPSE — style.css
   Palette from the band's stage photography and brand kit.
   Design rules (per band feedback): flat colour, no gradient lettering,
   uniform-height display type, one quiet button style. Clean and modern.
   ========================================================================== */

:root {
  /* colour tokens */
  --ink:        #0d0812;   /* near-black plum — page base */
  --ink-2:      #160d1e;   /* raised panels */
  --ink-3:      #241631;   /* borders / hover panels */
  --navy:       #0a1026;   /* ticker backing — very dark blue */
  --burgundy:   #7e1f2c;   /* brand maroon */
  --bronze:     #c9873d;   /* brand bronze (used sparingly, flat) */
  --cream:      #f2ecdf;   /* primary text */
  --cream-dim:  #c6bdb1;   /* secondary text */
  --magenta:    #c25bd4;   /* stage-light accent (small details only) */

  /* type */
  --display: "Cinzel", "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* layout */
  --max: 1120px;
  --pad: clamp(1rem, 4vw, 2rem);
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cream); text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--bronze); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--cream); color: var(--ink); padding: .6rem 1rem;
  font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

/* --------------------------------------------------------------------------
   Ticker — "new music coming soon"
   -------------------------------------------------------------------------- */
.ticker {
  background: var(--navy);
  border-bottom: 1px solid #1c2547;
  overflow: hidden;
  white-space: nowrap;
  font-size: .92rem;
  color: var(--cream-dim);
}
.ticker__inner {
  display: inline-block;
  padding: .45rem 0;
  animation: ticker 30s linear infinite;
}
.ticker__inner:hover { animation-play-state: paused; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker { white-space: normal; text-align: center; padding: .3rem var(--pad); }
  .ticker__inner { animation: none; padding: .3rem 0; }
  .ticker__chunk[aria-hidden="true"] { display: none; } /* one copy only */
}
.ticker b { color: #fff; font-weight: 800; }
.ticker .dot { color: #3a4776; margin: 0 .9rem; }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 8, 18, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-3);
}
.nav {
  display: flex; align-items: center; gap: 1rem;
  padding: .6rem var(--pad);
  max-width: var(--max); margin: 0 auto;
}
.nav__brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--cream);
  font-family: var(--display); font-weight: 700;
  font-size: 1rem; letter-spacing: .08em; text-transform: uppercase;
}
.nav__brand img { width: 42px; height: 42px; }
.nav__links { display: flex; gap: .25rem; margin-left: auto; }
.nav__links a {
  color: var(--cream-dim); text-decoration: none;
  padding: .5rem .8rem; border-radius: 8px; font-weight: 600; font-size: .95rem;
}
.nav__links a:hover { color: #fff; background: var(--ink-3); }
.nav__links a[aria-current="page"] { color: var(--cream); background: var(--ink-2); }

@media (max-width: 560px) {
  .nav { flex-wrap: wrap; justify-content: center; }
  .nav__links { margin-left: 0; width: 100%; justify-content: center; }
  .nav__brand span { display: none; }
}

/* --------------------------------------------------------------------------
   Display type — uniform height, flat colour (band feedback)
   -------------------------------------------------------------------------- */
h1, h2, .display {
  font-family: var(--display);
  text-transform: uppercase;   /* Cinzel's small-caps lowercase made word
                                  initials look bigger; uppercase keeps every
                                  letter the same height */
  color: var(--cream);
  letter-spacing: .05em;
  font-weight: 700;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(82vh, 720px);
  display: grid; place-items: center;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) var(--pad);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: url("../assets/gig3.jpg");
  background-size: cover; background-position: center 30%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,8,18,.5) 0%, rgba(13,8,18,.72) 60%, var(--ink) 100%);
}
.hero__kicker {
  font-size: .9rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--cream-dim); margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 7.5vw, 4.5rem);
  line-height: 1.08;
}
.hero__tag {
  max-width: 46ch; margin: 1.2rem auto 2rem;
  color: var(--cream); font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  text-wrap: balance;
}
.hero__cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* Buttons — one quiet outline style everywhere */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: .98rem; text-decoration: none;
  background: rgba(13, 8, 18, .45); color: var(--cream);
  border: 1px solid rgba(242, 236, 223, .45);
  transition: border-color .15s ease, background .15s ease;
}
.btn:hover { border-color: var(--cream); color: #fff; background: rgba(242, 236, 223, .06); }
.btn:active { transform: translateY(1px); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(3rem, 7vw, 5rem) 0; position: relative; }
.section--tint { background: var(--ink-2); border-block: 1px solid var(--ink-3); }
.section__head { margin-bottom: 2rem; }
.eyebrow {
  font-size: .8rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--bronze); font-weight: 700; margin: 0 0 .5rem;
}
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.section__blurb { color: var(--cream-dim); max-width: 62ch; margin-top: .7rem; }

/* --------------------------------------------------------------------------
   Cards / grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 1.2rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--ink-2); border: 1px solid var(--ink-3);
  border-radius: var(--radius); padding: 1.4rem;
}
.card h3 {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .05em;
  color: var(--cream); margin: 0 0 .4rem; font-size: 1.05rem;
}
.card p { color: var(--cream-dim); margin: .3rem 0 0; }

/* Member cards */
.member { text-align: center; padding: 1.1rem; }
.member__role { color: var(--cream-dim); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.member__name { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; margin: .35rem 0 0; }
.member__name a { color: var(--cream); }

/* Listen links */
.listen-grid a.card {
  display: flex; align-items: center; gap: .9rem; text-decoration: none;
  transition: border-color .15s ease;
}
.listen-grid a.card:hover { border-color: var(--cream-dim); }
.listen-grid .icon {
  width: 44px; height: 44px; flex: none; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--ink-3); color: var(--cream);
}
.listen-grid .icon svg, .listen-grid .icon img { width: 22px; height: 22px; }
.listen-grid .label { font-weight: 700; color: var(--cream); }
.listen-grid .sub { font-size: .85rem; color: var(--cream-dim); }

/* Merch */
.merch-card { display: flex; flex-direction: column; }
.merch-card .merch__img {
  border-radius: 10px; background: var(--ink);
  aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; margin-bottom: 1rem;
  border: 1px solid var(--ink-3);
}
.merch-card .merch__img img { max-height: 84%; max-width: 84%; object-fit: contain; }
.badge {
  display: inline-block; padding: .18rem .7rem; border-radius: 999px;
  font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: .5rem; width: fit-content;
  border: 1px solid var(--ink-3); color: var(--cream-dim);
}
.badge--available { border-color: var(--bronze); color: var(--bronze); }
.badge--wip { border-color: #6b5a92; color: #b3a4d9; }
.badge--soldout { border-color: var(--burgundy); color: #e29aa4; }

/* Photo + poster galleries */
.gallery { columns: 3 260px; column-gap: 1rem; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; border-radius: 10px; overflow: hidden; border: 1px solid var(--ink-3); }
.gallery img { width: 100%; }
.gallery figcaption {
  padding: .6rem .8rem; font-size: .85rem; color: var(--cream-dim);
  background: var(--ink-2);
}

/* Album feature */
.album-feature { display: grid; gap: 2rem; grid-template-columns: minmax(240px, 380px) 1fr; align-items: center; }
@media (max-width: 760px) { .album-feature { grid-template-columns: 1fr; } }
.album-feature img { border-radius: var(--radius); border: 1px solid var(--ink-3); }
.tracklist { columns: 2 180px; column-gap: 2rem; padding-left: 1.2rem; margin: 1rem 0 0; color: var(--cream-dim); }
.tracklist li { break-inside: avoid; padding: .15rem 0; }
.tracklist li::marker { color: var(--bronze); }

/* Embeds */
.embed-frame { border: 0; border-radius: var(--radius); width: 100%; }
.insta-card { text-align: center; }
.insta-card .btn { margin-top: 1rem; }
.insta-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); justify-items: center; }

/* --------------------------------------------------------------------------
   Venue map (Archive page)
   -------------------------------------------------------------------------- */
.venue-map {
  height: 440px; border-radius: var(--radius);
  border: 1px solid var(--ink-3); overflow: hidden;
  background: var(--ink-2);
}
.venue-map .leaflet-container { height: 100%; width: 100%; background: #191a1f; }
.venue-list {
  list-style: none; margin: 1rem 0 0; padding: 0;
  display: grid; gap: .4rem .8rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  color: var(--cream-dim); font-size: .95rem;
}
.venue-list li::before { content: "◆ "; color: var(--burgundy); }
.venue-list button {
  background: none; border: 0; padding: 0; font: inherit; color: var(--cream);
  cursor: pointer; text-decoration: underline; text-decoration-color: var(--bronze);
  text-underline-offset: 3px;
}
.venue-list button:hover { color: #fff; }
.venue-list .area { color: var(--cream-dim); }

/* Leaflet popup theming */
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  background: var(--ink-2); color: var(--cream);
  border: 1px solid var(--ink-3);
}
.leaflet-popup-content { font-family: var(--body); }
.leaflet-popup-content b { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; }

/* --------------------------------------------------------------------------
   Band timeline (Archive page) — central spine, alternating cards
   -------------------------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--ink-3); transform: translateX(-50%);
}
.timeline li {
  position: relative; width: 50%; padding: 0 2.2rem 2.2rem;
}
.timeline li:nth-child(odd) { left: 0; text-align: right; }
.timeline li:nth-child(even) { left: 50%; }
.timeline li::before {
  content: ""; position: absolute; top: .5rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--burgundy); border: 2px solid var(--cream);
}
.timeline li:nth-child(odd)::before { right: -7px; }
.timeline li:nth-child(even)::before { left: -7px; }
.timeline .t-card {
  display: inline-block; text-align: left;
  background: var(--ink-2); border: 1px solid var(--ink-3);
  border-radius: var(--radius); padding: 1rem 1.2rem; max-width: 100%;
}
.timeline .t-date {
  color: var(--bronze); font-weight: 700; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase;
}
.timeline .t-title { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: 1rem; margin: .25rem 0; color: var(--cream); }
.timeline .t-detail { color: var(--cream-dim); font-size: .95rem; }

@media (max-width: 720px) {
  .timeline::before { left: 8px; transform: none; }
  .timeline li, .timeline li:nth-child(odd), .timeline li:nth-child(even) {
    width: 100%; left: 0; text-align: left; padding: 0 0 1.6rem 2rem;
  }
  .timeline li:nth-child(odd)::before, .timeline li:nth-child(even)::before { left: 2px; right: auto; }
}

/* --------------------------------------------------------------------------
   Footer / contact
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0b0710;
  border-top: 1px solid var(--ink-3);
  padding: 3rem 0 2rem;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer h3 {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .08em;
  color: var(--cream); font-size: .95rem; margin: 0 0 .6rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-footer a { color: var(--cream-dim); }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--ink-3);
  display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
  color: var(--cream-dim); font-size: .9rem;
}
.footer-bottom img { width: 52px; opacity: .85; }

/* Page hero (subpages) */
.page-hero { padding: clamp(2.5rem, 6vw, 4rem) 0 0; }
.page-hero h1 { font-size: clamp(1.9rem, 5.5vw, 2.8rem); }
.page-hero p { color: var(--cream-dim); max-width: 62ch; }
