/* ==========================================================
   THE AWKWARD GUITAR PLAYER — shared stylesheet
   Palette: charcoal-plum background, rust + mustard accents.
   Display/body: Space Grotesk (a nod to "grotesque" == awkward).
   Mono: JetBrains Mono, for dates/labels/tags.
   Signature motif: a guitar pick mark + a wobbly underline,
   standing in for a missed strum played with confidence anyway.
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #17141C;
  --panel: #211C29;
  --panel-raised: #2A2333;
  --border: #362D40;
  --rust: #C1652E;
  --gold: #D9A441;
  --text: #F2EAE0;
  --muted: #AFA1AC;
  --focus: #D9A441;
  --radius: 14px;
  --max: 1100px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; margin: 0 0 0.5em; font-weight: 600; }
p { margin: 0 0 1em; color: var(--muted); }
a { color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--gold); color: var(--bg); }

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

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--bg); padding: 10px 16px;
  border-radius: 0 0 8px 0; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 2px;
}

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23,20,28,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.15rem;
  text-decoration: none; color: var(--text);
}
.brand .pick { width: 20px; height: 24px; color: var(--gold); }

nav.primary-nav { display: none; gap: 4px; }
nav.primary-nav a {
  padding: 8px 14px; border-radius: 8px; text-decoration: none;
  font-size: 0.92rem; color: var(--muted); transition: color .15s, background .15s;
}
nav.primary-nav a:hover, nav.primary-nav a[aria-current="page"] {
  color: var(--gold); background: rgba(217,164,65,0.08);
}

.nav-cta { display: none; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--rust); color: #17141C; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }

.menu-toggle {
  display: inline-flex; background: none; border: none; color: var(--text);
  padding: 8px; cursor: pointer;
}

.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  border-top: 1px solid var(--border); padding: 12px 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 10px 6px; text-decoration: none; color: var(--text); font-size: 0.95rem;
  border-radius: 8px;
}
.mobile-nav a[aria-current="page"] { color: var(--gold); }

@media (min-width: 860px) {
  nav.primary-nav { display: flex; }
  .nav-cta { display: flex; gap: 10px; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at 15% 20%, rgba(193,101,46,0.10), transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(217,164,65,0.10), transparent 50%);
}
.eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--rust);
  margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; max-width: 720px; }
.wobble {
  color: var(--gold);
  text-decoration: underline wavy var(--rust);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.hero .lede { max-width: 560px; font-size: 1.05rem; margin-top: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Sections / cards ---------- */
section { padding: 56px 0; }
.section-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--rust);
  margin-bottom: 10px;
}
.section-head { margin-bottom: 32px; }
.section-head p { max-width: 640px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px;
}
.card:hover { border-color: var(--rust); }
.card h3 { font-size: 1.15rem; }
.tag {
  display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold);
  background: rgba(217,164,65,0.09); border-radius: 999px; padding: 3px 10px;
  margin-bottom: 10px;
}

/* Divider: guitar-pick row */
.pick-divider {
  display: flex; align-items: center; gap: 10px; margin: 8px 0 30px; color: var(--border);
}
.pick-divider .line { flex: 1; height: 1px; background: var(--border); }
.pick-divider svg { width: 14px; height: 18px; color: var(--rust); }

/* Featured / bio panel */
.panel-raised {
  background: var(--panel-raised); border: 1px solid var(--border); border-radius: 18px;
}

/* Ticket-stub show cards */
.show-card {
  display: flex; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--panel);
}
.show-date {
  width: 92px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; border-right: 1px dashed var(--border);
  background: rgba(217,164,65,0.04); font-family: 'JetBrains Mono', monospace;
  padding: 12px 6px; text-align: center;
}
.show-date .day { font-size: 0.7rem; color: var(--muted); }
.show-date .date { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; color: var(--text); }
.show-body { padding: 16px 18px; flex: 1; min-width: 0; }
.show-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.82rem; color: var(--muted); }
.show-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* Journal cards */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .excerpt { flex: 1; }
.post-date { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--muted); }

/* Forms */
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%; background: transparent; border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 13px; color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.95rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.note-box {
  border: 1px dashed var(--border); border-radius: 12px; padding: 16px 18px;
  font-size: 0.85rem; color: var(--muted); background: rgba(255,255,255,0.02);
}
.note-box strong { color: var(--gold); }

/* Placeholder media block */
.media-placeholder {
  aspect-ratio: 16/9; border-radius: var(--radius); border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--panel-raised), var(--panel));
  display: flex; align-items: center; justify-content: center; color: var(--muted);
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px;
}
.footer-row {
  display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 700px) {
  .footer-row { flex-direction: row; align-items: center; }
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--gold); }
.small { font-size: 0.8rem; color: var(--muted); }
