:root {
  --bg: #f2ead6;
  --fg: #171310;
  --muted: #5c5346;
  --accent: #d81e14;
  --accent-dark: #a3140c;
  --accent2: #f0b429;
  --card: #fffdf5;
  --line: #171310;
  --header: #000;
  --radius: 4px;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --heading: "Oswald", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
}

a { color: var(--accent-dark); }
img { max-width: 100%; }

.site-header {
  background: var(--header);
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 7px 7px;
  color: #fff;
  padding: 0.9rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 5px solid var(--accent);
}
.brand {
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}
.brand__logo { height: 4.2rem; width: auto; display: block; }
.site-header nav a {
  color: #ddd;
  text-decoration: none;
  margin-left: 1rem;
  font-family: var(--heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}
.site-header nav a:hover { color: var(--accent2); }

.container { max-width: 64rem; margin: 0 auto; padding: 1rem; }

.hero h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 2.6rem;
  line-height: 1.05;
  text-shadow: 3px 3px 0 var(--accent2);
}
.hero p { margin: 0.5rem 0 1.25rem; color: var(--muted); font-family: var(--heading); }

.day__heading {
  font-family: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 1.5rem 0 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 3px solid var(--fg);
}
.section-title {
  font-family: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
  margin: 1.75rem 0 0.6rem;
  font-size: 1.2rem;
}

.card-grid { display: grid; gap: 0.85rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.gig-card {
  background: var(--card);
  border: 2px solid var(--fg);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--fg);
  overflow: hidden;
}
.gig-card.is-featured { border-color: var(--accent); box-shadow: 4px 4px 0 var(--accent); }
.gig-card__link { display: flex; color: inherit; text-decoration: none; height: 100%; }
.gig-card__flyer { width: 6rem; object-fit: cover; flex: none; }
.gig-card__flyer--video { position: relative; display: block; overflow: hidden; }
.gig-card__flyer--video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gig-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.2rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
  background: rgba(0, 0, 0, 0.15);
}
.gig-card__body { padding: 0.75rem 0.9rem; }
.gig-card__title { margin: 0.15rem 0; font-size: 1.05rem; font-family: var(--heading); font-weight: 600; }
.gig-card__meta { margin: 0; color: var(--muted); font-size: 0.9rem; }

.badge {
  display: inline-block;
  font-family: var(--heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 3px;
  border: 1.5px solid var(--fg);
  background: #eee;
  color: #444;
  margin: 0.4rem 0.25rem 0 0;
}
.badge--featured { background: var(--accent); border-color: var(--accent); color: #fff; }
.badge--video { background: var(--fg); border-color: var(--fg); color: #fff; }
.badge--pro { background: var(--fg); border-color: var(--accent2); color: var(--accent2); vertical-align: middle; }

.gig-detail h1 {
  margin: 0.3rem 0 0.2rem;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 2.1rem;
  line-height: 1.1;
}
.gig-detail__meta { color: var(--muted); font-size: 1.05rem; margin: 0.2rem 0 1rem; font-family: var(--heading); }
.gig-detail__desc { margin: 1rem 0; }

.yt-facade {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  margin: 1rem 0;
}
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; display: block; }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 3.2rem;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
.yt-facade:hover .yt-play, .yt-facade:focus .yt-play { color: var(--accent); }

.social-embed { max-width: 500px; margin: 1rem 0; }
.social-embed iframe { width: 100%; max-width: 100%; border: 0; border-radius: var(--radius); display: block; }
.social-embed__link { margin-top: 0.4rem; font-size: 0.9rem; }

.flyer { border-radius: var(--radius); border: 1px solid var(--line); }
.flyer--thumb { max-height: 12rem; width: auto; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  border: 2px solid var(--fg);
  box-shadow: 3px 3px 0 var(--fg);
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--fg); }
.btn--ghost { background: var(--card); color: var(--fg); }
.btn--ghost:hover { background: var(--bg); }
.btn--danger { background: var(--fg); }
.btn--danger:hover { background: #000; }

.venue-box {
  background: var(--card);
  border: 2px solid var(--fg);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--fg);
  padding: 1rem;
  margin: 1.25rem 0;
}
.venue-box__title { margin-top: 0; font-family: var(--heading); text-transform: uppercase; letter-spacing: 0.02em; }

.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.muted { color: var(--muted); }
.empty { color: var(--muted); }

.flash { padding: 0.7rem 1rem; border-radius: 8px; margin: 0.5rem 0; }
.flash--ok { background: #e7f5e9; color: #1b5e20; }
.flash--error { background: #fdecea; color: #8a1c14; }

.form { max-width: 40rem; }
.form--danger { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.field { margin: 0.9rem 0; }
.field label { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.field small { color: var(--muted); }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .field-row { grid-template-columns: 1fr 1fr 1fr; } }
.check { font-weight: 500 !important; }
.check input { margin-right: 0.4rem; }
.check-list { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; max-height: 12rem; overflow-y: auto; padding: 0.5rem; border: 1px solid var(--line); border-radius: 8px; }
.check-list .check { margin: 0; }

.combobox { position: relative; }
.combobox__list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  max-height: 14rem;
  overflow-y: auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.combobox__option { padding: 0.5rem 0.6rem; border-radius: 6px; cursor: pointer; }
.combobox__option:hover { background: rgba(232, 93, 4, 0.12); }
.combobox__empty { padding: 0.5rem 0.6rem; color: var(--muted); }
.combobox--multi .combobox__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #f1ece3;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.4rem 0.25rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.chip__remove {
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  color: var(--muted);
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
}
.chip__remove:hover { background: rgba(0, 0, 0, 0.08); color: var(--fg); }
input[type="text"], input[type="url"], input[type="date"], input[type="time"], select, textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border: 1px solid #c9c1b6;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 8rem; resize: vertical; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--card); }
th, td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); font-size: 0.93rem; vertical-align: top; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.9rem; margin: 1rem 0; }
.stat { background: var(--card); border: 2px solid var(--fg); border-radius: var(--radius); box-shadow: 3px 3px 0 var(--fg); padding: 0.8rem; color: var(--muted); }
.stat strong { display: block; font-family: var(--display); font-size: 1.8rem; color: var(--fg); }

.admin-bar { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.admin-bar__title { margin: 0 0.5rem 0 0; }

.site-footer { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 2rem 1rem; }
.site-footer__sponsors { margin: 0.4rem 0 0; }

/* Stories */
.story-card { background: var(--card); border: 2px solid var(--fg); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--fg); overflow: hidden; }
.story-card__link { display: block; color: inherit; text-decoration: none; }
.story-card__img { width: 100%; height: 9rem; object-fit: cover; display: block; }
.story-card__body { padding: 0.75rem 0.9rem; }
.story-card__body h3 { margin: 0.3rem 0; font-size: 1.05rem; font-family: var(--heading); font-weight: 600; }

.story-detail h1 {
  margin: 0.3rem 0 0.6rem;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 2.1rem;
  line-height: 1.1;
}
.story-detail__body { margin: 1.25rem 0; }
.story-detail__body p { margin: 0 0 1rem; }
.story-detail__body img { border-radius: var(--radius); }

/* Comments */
.comments { margin-top: 2rem; padding-top: 1.25rem; border-top: 3px solid var(--fg); }
.comment { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 0.8rem 1rem; margin-bottom: 0.75rem; }
.comment--reply { margin-left: 1.5rem; margin-top: 0.6rem; background: var(--bg); }
.comment--pending { border-color: var(--accent); }
.comment__meta { margin: 0 0 0.3rem; color: var(--muted); font-size: 0.85rem; }
.comment__body p { margin: 0 0 0.5rem; }
.reply-toggle { margin-top: 0.5rem; }
.reply-toggle summary { cursor: pointer; color: var(--accent-dark); font-weight: 600; font-size: 0.9rem; }
.comment-form { margin-top: 0.75rem; max-width: none; }
.inline-form { display: inline-block; margin-right: 0.5rem; }

/* Honeypot: off-screen, never shown to real visitors */
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.textarea--large { min-height: 14rem; }
