/* Secondhand Flannel — site styles (based on the Wicked Garden site) */
:root {
  --bg: #141210;
  --bg-raised: #1f1b18;
  --line: #352e28;
  --text: #ece6dc;
  --muted: #a89f93;
  --red: #b8322a;
  --red-hot: #d9483d;
  --gold: #e8b62f;
  --max: 1100px;
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-type: "Special Elite", "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* faint flannel plaid */
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(0deg, rgba(184, 50, 42, .07) 0 28px, transparent 28px 56px, rgba(232, 182, 47, .03) 56px 60px, transparent 60px 112px),
    repeating-linear-gradient(90deg, rgba(184, 50, 42, .07) 0 28px, transparent 28px 56px, rgba(232, 182, 47, .03) 56px 60px, transparent 60px 112px);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red-hot); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--red); color: #fff; padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 14, .88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { width: 48px; height: 48px; border-radius: 4px; }
.brand-name {
  display: block; font: 600 1.6rem/1 var(--font-display);
  color: var(--gold); letter-spacing: .04em; text-transform: uppercase;
}
.brand-tag { display: block; font: 500 .9rem/1.3 var(--font-body); color: #fff; letter-spacing: .02em; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 8px 12px;
  font: 500 .95rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
}
.nav a:hover { color: var(--red-hot); }
.nav a[aria-current="page"] { color: var(--red-hot); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--text);
  width: 44px; height: 44px; border-radius: 4px; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 820px) {
  .brand-tag { font-size: .8rem; }
  .brand-name { font-size: 1.3rem; }
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(14, 14, 14, .97); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .nav a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
}

/* ---------- Layout ---------- */
main { flex: 1; padding-block: 48px 72px; }

.section { margin-top: 64px; }
.section:first-child { margin-top: 0; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0 0 16px; }
h1, h2.title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  text-transform: uppercase; letter-spacing: .04em; color: #fff;
}
h1::after, h2.title::after {
  content: ""; display: block; width: 32px; height: 4px; margin-top: 10px; background: var(--red);
}
h3 { font-size: 1.5rem; color: #fff; }

.lead { font-size: 1.15rem; color: var(--text); max-width: 68ch; }
.muted { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; border-radius: 6px; overflow: hidden; background: #000; }
.hero img { width: 100%; aspect-ratio: 2048 / 927; object-fit: cover; }

.strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px;
}
.strip a { display: block; border-radius: 4px; overflow: hidden; }
.strip img { aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s ease, opacity .3s; opacity: .9; }
.strip a:hover img { transform: scale(1.04); opacity: 1; }
@media (max-width: 600px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: start; }
.about img { border-radius: 4px; }
@media (max-width: 600px) {
  .about { grid-template-columns: 1fr; }
  .about img { width: 120px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 3px;
  background: var(--red); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  font: 500 1rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase;
}
.btn:hover { background: var(--red-hot); color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--bg-raised); border-color: var(--red); }

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 720px) { .videos { grid-template-columns: 1fr; } }
.video figure { margin: 0; }
.video .frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .watch-out { display: block; color: #fff; text-decoration: none; }
.video .watch-out img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.video .watch-out:hover img { opacity: .8; }
.video .play {
  position: absolute; top: 50%; left: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%);
  background: rgba(33, 33, 33, .85); border-radius: 12px; transition: background .2s;
}
.video .play::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff;
}
.video .watch-out:hover .play { background: #f00; }
.video .watch-label {
  position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 4px;
  background: rgba(0, 0, 0, .7); font-size: .9rem;
}
.video figcaption { margin-top: 10px; font: 500 1.05rem/1.3 var(--font-display); letter-spacing: .02em; }

/* ---------- Events ---------- */
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.event {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 20px; align-items: center;
  padding: 16px 20px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 4px;
}
.event-date { text-align: center; font-family: var(--font-display); line-height: 1; }
.event-date .m { display: block; color: var(--red-hot); font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; }
.event-date .d { display: block; font-size: 2.2rem; color: #fff; margin-top: 4px; }
.event-info h3 { margin: 0 0 4px; font-size: 1.3rem; }
.event-info p { margin: 0; color: var(--muted); }
@media (max-width: 600px) {
  .event { grid-template-columns: 64px 1fr; }
  .event .btn { grid-column: 1 / -1; text-align: center; }
}
.empty {
  padding: 32px; text-align: center; color: var(--muted);
  border: 1px dashed var(--line); border-radius: 4px;
}

/* ---------- Gallery (square mosaic, like the old Wix "Honeycomb") ---------- */
.mosaic {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 2px;
}
.mosaic .tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #000; cursor: zoom-in; }
.mosaic .tile.big { grid-column: span 2; grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mosaic .tile::after {
  content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; transition: opacity .25s;
}
.mosaic .tile:hover::after { opacity: .25; }
.mosaic .tile:hover img { transform: scale(1.04); }
@media (max-width: 600px) { .mosaic { grid-template-columns: repeat(2, 1fr); } }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .94); }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100vh - 96px); width: auto; height: auto; border-radius: 2px; user-select: none; }
.lb-btn {
  position: fixed; display: grid; place-items: center; width: 48px; height: 48px;
  background: rgba(0, 0, 0, .55); color: #fff; border: 1px solid #555; border-radius: 50%;
  font-size: 2rem; line-height: 1; cursor: pointer;
}
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-btn.close { top: 16px; right: 16px; font-size: 1.6rem; }
.lb-btn.prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-btn.next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: fixed; bottom: 16px; left: 0; right: 0; margin: 0; text-align: center; color: var(--muted); font-size: .9rem; }
@media (max-width: 600px) { .lb-btn.prev, .lb-btn.next { top: auto; bottom: 8px; transform: none; } }

/* ---------- Band ---------- */
.members { display: grid; gap: 20px; margin-top: 32px; }
.member {
  padding: 24px 28px; background: var(--bg-raised); border: 1px solid var(--line);
  border-left: 4px solid var(--red); border-radius: 4px;
}
.member h3 { margin-bottom: 4px; }
.member .role {
  display: block; margin-bottom: 12px; color: var(--gold);
  font: 500 .9rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase;
}
.member p { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font: 500 .85rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; color: var(--muted); }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--text);
  background: #0c0c0c; border: 1px solid var(--line); border-radius: 3px;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--red); }
.form textarea { min-height: 160px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; margin: 0; }
.form-status.ok { color: #6fd38a; }
.form-status.err { color: var(--red-hot); }

.panel { padding: 24px 28px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 4px; }
.panel h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .06em; }
.panel p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; text-align: center; color: var(--muted); font-size: .9rem; }
.social { list-style: none; display: flex; justify-content: center; gap: 12px; margin: 0 0 16px; padding: 0; }
.social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: #111; transition: background .2s, color .2s;
}
.social a:hover { background: var(--red); color: #fff; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer p { margin: 0; }

/* ---------- Secondhand Flannel extras ---------- */
.brand-tag { font-family: var(--font-type); font-weight: 400; }
.tagline { font-family: var(--font-type); color: var(--gold); font-size: 1.15rem; margin: 0 0 16px; }

.hero-overlay {
  position: absolute; inset: auto 0 0 0; padding: 48px 28px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent);
}
.hero-overlay h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.6rem); color: var(--gold); text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.hero-overlay h1::after { display: none; }
.hero-overlay p { margin: 6px 0 0; font-family: var(--font-type); font-size: clamp(1rem, 2.4vw, 1.3rem); }
.hero img { aspect-ratio: 16 / 7; object-position: center 40%; }
@media (max-width: 600px) { .hero img { aspect-ratio: 4 / 3; } }

.artists { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; }
.artists li {
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg-raised);
  font: 500 .9rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
}
.venues li { padding: 10px 16px; font-size: 1.05rem; border-left: 3px solid var(--gold); }
