:root {
  --bg: #161310;
  --bg-2: #1f1a16;
  --bg-3: #2a241e;
  --ink: #efe6d6;
  --muted: #b7aa96;
  --faint: #8a7d6b;
  --line: #3a332b;
  --accent: #d15a28;
  --accent-2: #e8a15a;
  --good: #7aa56a;
  --warn: #c9a227;
  --max: 1080px;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(22,19,16,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px;
}
.brand { font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--ink); }
.brand span { color: var(--accent); }
nav.links { display: flex; flex-wrap: wrap; gap: .65rem 1rem; }
nav.links a { color: var(--muted); font-size: .92rem; }
nav.links a:hover, nav.links a.active { color: var(--ink); }
.menu-btn {
  display: none; background: var(--bg-3); color: var(--ink);
  border: 1px solid var(--line); padding: .4rem .7rem; border-radius: 6px;
}
.hero { padding: 3.2rem 0 2.2rem; border-bottom: 1px solid var(--line); }
.kicker { color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; }
h1, h2, h3 { font-family: var(--display); font-weight: 550; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: .35rem 0 .6rem; }
h2 { font-size: 1.7rem; margin: 2.2rem 0 .7rem; }
h3 { font-size: 1.15rem; margin: 1.4rem 0 .4rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }
.grid { display: grid; gap: 1rem; }
.cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 1.4rem 0 0; }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.1rem 1.15rem; display: block; color: inherit;
}
.card:hover { border-color: var(--accent); }
.card h3 { margin-top: 0; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
main { padding: 2rem 0 4rem; }
p, ul, ol { max-width: 46rem; }
ul, ol { color: var(--muted); }
.note, .warn, .tip {
  border-left: 3px solid var(--accent); background: var(--bg-2);
  padding: .85rem 1rem; margin: 1.2rem 0; max-width: 46rem; color: var(--muted);
}
.warn { border-color: var(--warn); }
.tip { border-color: var(--good); }
table { border-collapse: collapse; width: 100%; max-width: 52rem; font-size: .92rem; }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: .45rem .4rem; vertical-align: top; }
.diagrams { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0 1.5rem; }
.chord {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  padding: .75rem .8rem .6rem; width: 148px;
}
.chord figcaption { text-align: center; font-size: .85rem; margin-top: .35rem; color: var(--muted); }
.chord svg { width: 128px; height: 164px; display: block; }
pre {
  font-family: var(--mono); font-size: .82rem; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1rem;
  overflow-x: auto; color: #e6d7b8; max-width: 46rem;
}
.btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: .55rem 1rem; border-radius: 8px; font-weight: 600;
}
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
footer.site { border-top: 1px solid var(--line); padding: 1.6rem 0 2.4rem; color: var(--faint); font-size: .88rem; }
.two-col { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 800px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  nav.links {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem; flex-direction: column;
  }
  nav.links.open { display: flex; }
}
.ad-slot {
  margin: 1.6rem 0;
  padding: .7rem;
  background: var(--bg-2);
  border: 1px dashed var(--line);
  border-radius: 10px;
  max-width: 46rem;
  min-height: 90px;
  text-align: center;
}
.ad-slot .ad-label {
  display: block;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: .4rem;
}
.ad-slot .ad-fallback {
  color: var(--muted);
  font-size: .88rem;
  margin: 0;
}
.ad-slot.ad-wide { max-width: 100%; }
.gear-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
footer.site .fine { margin: .35rem 0 0; font-size: .8rem; }

@media print {
  header.site, footer.site, .menu-btn, .btns, .no-print, .ad-slot { display: none !important; }
  body { background: #fff; color: #111; font-size: 12pt; }
  a { color: #111; }
  .card, .chord, .note, .tip, .warn, pre { break-inside: avoid; background: #fff; border-color: #ccc; color: #111; }
  .chord svg line, .chord svg circle { stroke: #111; }
  .print-break { page-break-before: always; }
  h1, h2 { color: #111; }
}

.hero-split {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}
.hero-copy { min-width: 0; }
.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}
.guitar-hero {
  width: min(100%, 340px);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.45));
}
@media (min-width: 860px) {
  .hero-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 2.5rem;
    padding-top: 3.6rem;
    padding-bottom: 2.6rem;
  }
  .guitar-hero { width: min(100%, 380px); }
}
