/* ============================================================
   Crowfeet — black & red rock theme
   Sidebar + content layout. Display type = gothic/blackletter.
   ============================================================ */

:root {
  --bg: #09090b;
  --bg-alt: #0e0e11;
  --panel: #141417;
  --panel-2: #1a1a1f;
  --line: #232329;
  --ink: #f4f4f5;
  --muted: #8b8b93;
  --red: #e11d2e;
  --red-bright: #ff4050;
  --red-dim: #7f1820;
  --radius: 12px;
  --sidebar-w: 280px;
  --font-display: "Cinzel", serif;
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: #fff; }

a { color: inherit; text-decoration: none; }

.wrap { width: min(880px, 92%); margin: 0 auto; }

/* ------------------------------------------------------------
   App: sidebar + content
   ------------------------------------------------------------ */
.app {
  display: flex;
  align-items: stretch;
  min-height: 100vh;
}

/* --- Sidebar --- */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  flex: 0 0 var(--sidebar-w);
  width: var(--sidebar-w);
  background: var(--bg-alt);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px 26px 24px;
}

.brand { align-self: center; }

.brand-logo {
  display: block;
  width: 100%;
  max-width: 168px;
  height: auto;
  border-radius: 8px;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-nav a {
  display: block;
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  transition: background 0.15s ease, border-color 0.15s ease,
    color 0.15s ease, box-shadow 0.15s ease;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 4px 22px rgba(225, 29, 46, 0.35);
}

.side-socials {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-socials .social-link {
  justify-content: center;
  width: 100%;
  background: var(--panel);
  color: var(--ink);
  font-size: 0.95rem;
  padding: 12px 18px;
}

.side-admin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.side-admin:hover { color: var(--red-bright); border-color: var(--red-dim); }

/* --- Content --- */
.content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.content main { flex: 1; }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 1px;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-bright); }

.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--red); color: var(--red-bright); }

.btn-sm { padding: 8px 16px; font-size: 0.8rem; }

.btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
.section { padding: 76px 0; }

.section-alt { background: var(--bg-alt); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  background: var(--red);
  margin-top: 10px;
}

.section-sub {
  color: var(--muted);
  margin: 8px 0 40px;
}

.subsection-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ------------------------------------------------------------
   Tour dates
   ------------------------------------------------------------ */
.tour-list { display: flex; flex-direction: column; gap: 12px; }

.tour-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 22px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.tour-row:hover { border-color: var(--red-dim); transform: translateY(-1px); }

.tour-date {
  font-family: var(--font-display);
  text-align: center;
  line-height: 1;
}

.tour-date .day { font-size: 2rem; display: block; }

.tour-date .month {
  font-size: 0.95rem;
  color: var(--red-bright);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}

.tour-main .tour-city { font-size: 1.1rem; font-weight: 600; }

.tour-main .tour-venue { color: var(--muted); font-size: 0.92rem; }

.tour-main .tour-note { color: var(--red-bright); font-size: 0.85rem; margin-top: 2px; }

.tour-row.is-past { opacity: 0.5; }

.empty-state { color: var(--muted); font-style: italic; }

/* ------------------------------------------------------------
   About
   ------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 52px;
  align-items: start;
}

.about-bio { color: var(--muted); margin-top: 24px; max-width: 60ch; }

.member-list { list-style: none; }

.member-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.member-list .name { font-weight: 600; }

.member-list .role {
  color: var(--red-bright);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */
.contact-block { margin-top: 28px; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.social-link:hover { color: var(--red-bright); border-color: var(--red-dim); }

.social-link svg { width: 18px; height: 18px; fill: currentColor; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .app { flex-direction: column; }

  .sidebar {
    position: static;
    height: auto;
    width: 100%;
    flex: none;
    border-right: none;
    border-bottom: 1px solid var(--line);
    gap: 16px;
    padding: 24px 16px 18px;
  }

  .side-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .side-nav a { width: auto; min-width: 112px; font-size: 1.6rem; }

  .side-socials {
    margin-top: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .side-socials .social-link { width: auto; min-width: 140px; }

  .side-admin { width: auto; min-width: 140px; margin: 0 auto; }

  .brand-logo { max-width: 120px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .tour-row { grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 16px; }
  .section { padding: 56px 0; }
  .wrap { width: 94%; }
}