/* In Fourths: bass practice site */

@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/atkinson-hyperlegible-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 400; font-style: italic; font-display: swap; src: url('../fonts/atkinson-hyperlegible-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/atkinson-hyperlegible-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-weight: 500; font-display: swap; src: url('../fonts/oswald-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-weight: 600; font-display: swap; src: url('../fonts/oswald-latin-600-normal.woff2') format('woff2'); }

:root {
  --paper: #f5f6f3;
  --panel: #e9ebe6;
  --ink: #241915;
  --ink-2: #5d534d;
  --ink-3: #8a807a;
  --rule: #d6d7d1;
  --wood: #3a2620;
  --wood-deep: #2a1b17;
  --nickel: #c6cbcc;
  --wire: #a3a9ab;
  --bone: #f2ecdf;
  --teal: #1d7373;
  --teal-hi: #2f9c97;
  --brass: #d6aa4c;
  --sym: 'Atkinson Hyperlegible', 'Segoe UI Symbol', 'Apple Symbols', 'Noto Sans Symbols 2', system-ui, sans-serif;
  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --measure: 66ch;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--sym);
  padding-bottom: 5.5rem;
}
img, svg { display: block; }
a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.005em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); margin-top: 2.6rem; margin-bottom: 0.6rem; }
h3 { font-size: 1.3rem; font-weight: 500; }
p { margin: 0 0 1rem; max-width: var(--measure); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 0.5rem 1rem; z-index: 50; }
.skip:focus { left: 0.5rem; top: 0.5rem; }
main:focus { outline: none; }

/* ---------------- header */
.top { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.2rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.55rem; letter-spacing: 0.01em; }
.brand-mark { width: 30px; height: 24px; stroke: var(--ink); }
.nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 1.05rem; padding: 0.35rem 0; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a.is-on { color: var(--ink); border-bottom-color: var(--teal); }

/* ---------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font: 700 1.02rem/1 var(--sym);
  padding: 0.85rem 1.25rem; border-radius: 999px;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-main { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-main:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-quiet { border-color: var(--rule); font-weight: 400; }
.btn-quiet:hover { border-color: var(--ink); }
.btn.is-done { background: var(--panel); border-color: var(--panel); color: var(--ink-2); }
.btn.is-done::before { content: ''; width: 0.9rem; height: 0.5rem; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg) translateY(-2px); }
.btn-drone { border-color: var(--wood); }
.btn-drone .pulse { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--ink-3); }
.drone-on .btn-drone .pulse { background: var(--brass); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1rem; margin-top: 1.4rem; }
.progress { color: var(--ink-2); }

/* ---------------- diagrams */
.neck { width: 100%; height: auto; overflow: visible; user-select: none; -webkit-user-select: none; }
.neck .wood { fill: var(--wood); }
.neck .headstock { fill: var(--wood-deep); }
.neck .win { fill: rgba(47, 156, 151, 0.22); }
.neck .stretch { fill: rgba(242, 236, 223, 0.1); }
.neck .fret { stroke: var(--wire); stroke-width: 1.6; }
.neck .nut { stroke: var(--bone); stroke-width: 5; }
.neck .string { stroke: var(--nickel); opacity: 0.85; }
.neck .sname { fill: var(--ink-3); font: 700 12px var(--sym); text-anchor: middle; }
.neck .fnum { fill: var(--ink-3); font: 400 12px var(--sym); text-anchor: middle; }
.neck .fnum-mark { fill: var(--ink-2); }
.neck .fnum-root { fill: var(--ink); font-weight: 700; }
.neck .box { fill: none; stroke: var(--brass); stroke-width: 2; opacity: 0.95; }
.neck .box-dash { stroke-dasharray: 7 5; }
.neck .box-dot { stroke-dasharray: 1.5 5; stroke-linecap: round; stroke-width: 2.6; }
.neck .boxlabel { fill: var(--brass); font: 700 11px var(--sym); }
.neck .lab { font: 700 13.5px var(--sym); text-anchor: middle; pointer-events: none; }
.neck .lab-s { font-size: 11px; }
.neck .beat { fill: var(--brass); font: 700 10.5px var(--sym); }
.neck .d-root .c { fill: var(--bone); }
.neck .d-root .lab { fill: var(--wood-deep); }
.neck .d-lit .c { fill: var(--teal-hi); }
.neck .d-lit .lab { fill: #fff; }
.neck .d-sel .c { fill: var(--wood); stroke: var(--bone); stroke-width: 1.8; }
.neck .d-sel .lab { fill: var(--bone); }
.neck .d-colour .c { fill: var(--wood); stroke: var(--brass); stroke-width: 2.2; }
.neck .d-colour .ring { fill: none; stroke: var(--brass); stroke-width: 1.4; }
.neck .d-colour .lab { fill: var(--brass); }
.neck .d-faint .c { fill: none; stroke: rgba(242, 236, 223, 0.3); stroke-width: 1.2; }
.neck .d-faint .lab { fill: rgba(242, 236, 223, 0.45); font-weight: 400; }
.neck .d-out .c { fill: var(--wood); stroke: var(--bone); stroke-width: 1.5; stroke-dasharray: 3 2.6; }
.neck .d-out .lab { fill: var(--bone); }

svg.mini { width: 40px; height: 30px; flex: none; overflow: visible; }
svg.mini .wood { fill: var(--wood); }
svg.mini .string { stroke: var(--nickel); }
svg.mini .stretch { fill: rgba(242, 236, 223, 0.16); }
svg.mini .lab { font: 700 11px var(--sym); text-anchor: middle; }
svg.mini .lab-s { font-size: 9px; }
svg.mini .d-root .c { fill: var(--bone); } svg.mini .d-root .lab { fill: var(--wood-deep); }
svg.mini .d-lit .c { fill: var(--teal-hi); } svg.mini .d-lit .lab { fill: #fff; }
svg.mini .d-sel .c { fill: var(--wood); stroke: var(--bone); stroke-width: 1.6; } svg.mini .d-sel .lab { fill: var(--bone); }
svg.mini .d-colour .c { fill: var(--wood); stroke: var(--brass); stroke-width: 2; } svg.mini .d-colour .ring { fill: none; stroke: var(--brass); stroke-width: 1.2; } svg.mini .d-colour .lab { fill: var(--brass); }
svg.mini .d-faint .c { fill: none; stroke: rgba(242, 236, 223, 0.35); } svg.mini .d-faint .lab { fill: rgba(242, 236, 223, 0.5); font-weight: 400; }
svg.mini .d-out .c { fill: var(--wood); stroke: var(--bone); stroke-dasharray: 3 2.4; } svg.mini .d-out .lab { fill: var(--bone); }

.fig { margin: 0; min-width: 0; }
.neckwrap { overflow-x: auto; overscroll-behavior-x: contain; padding: 4px 2px 2px; }
.neckwrap svg { min-width: calc(var(--w) * 0.78px); }
@media (max-width: 640px) { .neckwrap svg { min-width: calc(var(--w) * 0.96px); } }
.fig figcaption { color: var(--ink-2); font-size: 0.98rem; margin-top: 0.3rem; padding-left: 26px; }
.row { display: grid; gap: 1.6rem 2.2rem; margin: 1.4rem 0; }
.row-1 { grid-template-columns: minmax(0, 640px); }
.row-1.big { grid-template-columns: minmax(0, 620px); }
.row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.row-wide { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 820px) {
  .row-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .row-2, .row-3 { grid-template-columns: minmax(0, 1fr); }
}

/* legend */
.legend { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0.7rem 1.6rem; }
.legend li { display: flex; align-items: center; gap: 0.8rem; font-size: 1rem; color: var(--ink-2); }

/* ---------------- home */
.hero { padding-top: clamp(2.4rem, 6vw, 4.6rem); }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; max-width: 16ch; text-wrap: balance; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.32rem); color: var(--ink-2); margin-top: 1.2rem; }
.hero-neck { background: var(--wood-deep); margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1rem, 3vw, 2.4rem) max(var(--gut), calc((100vw - 1320px) / 2)); overflow-x: auto; }
.hero-neck svg { max-width: 1320px; margin: 0 auto; min-width: 720px; }
.hero-neck .sname, .hero-neck .fnum { fill: #a3958c; }
.hero-neck .fnum-mark { fill: #d0c4b9; }
.hero-anim .box-dash { opacity: 0; transition: opacity 0.6s ease-out; }
.hero-anim .box-dash.show { opacity: 0.7; }
.hero-neck .box-dash { opacity: 0.7; }
/* ---------------- inner pages */
.page { padding-top: clamp(2rem, 5vw, 3.6rem); padding-bottom: 3rem; }
.page.narrow { max-width: 900px; }
.page-head { padding-bottom: 1.6rem; border-bottom: 3px solid var(--ink); margin-bottom: 1rem; }
.note { color: var(--ink-2); }

.readme { margin-top: 1.4rem; border-top: 1px solid var(--rule); padding-top: 1rem; }
details.readme summary, details.more-figs summary { cursor: pointer; font-family: var(--display); font-size: 1.25rem; font-weight: 500; color: var(--ink); }
details.readme[open] summary, details.more-figs[open] summary { margin-bottom: 0.6rem; }
.weekdays { padding-left: 1.2rem; max-width: var(--measure); color: var(--ink-2); }
.weekdays li { margin-bottom: 0.5rem; }
.weekdays strong { color: var(--ink); }

/* day page */
.strip { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.daybox { width: 2.45rem; height: 2.45rem; display: grid; place-items: center; border: 1.5px solid var(--rule); border-radius: 6px; color: var(--ink-2); text-decoration: none; font-size: 0.9rem; background: #fff; }
.daybox:hover { border-color: var(--ink); color: var(--ink); }
.daybox.is-done { background: var(--teal); border-color: var(--teal); color: #fff; }
.daybox.is-here { border: 2.5px solid var(--ink); color: var(--ink); font-weight: 700; }
.daybox.is-done.is-here { box-shadow: 0 0 0 2.5px var(--paper), 0 0 0 4.5px var(--ink); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.3rem 0.8rem; color: var(--ink-3); font-size: 1rem; margin-bottom: 1.4rem; }
.crumbs a::after { content: '/'; margin-left: 0.8rem; color: var(--rule); }
.day-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 1.6rem; align-items: end; }
.day-num { font-family: var(--display); font-weight: 600; font-size: clamp(4rem, 10vw, 7rem); line-height: 0.8; color: var(--teal); letter-spacing: -0.02em; }
.day-meta { color: var(--ink-2); margin: 0 0 0.4rem; font-size: 1rem; }
.sub { color: var(--ink-2); font-size: 1.2rem; margin: 0.5rem 0 0; }
.day-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; margin: 1.4rem 0 0.4rem; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1rem; }
input[type=range] { accent-color: var(--teal); }
.intro { font-size: 1.2rem; margin-top: 1.4rem; }
.after { max-width: var(--measure); }
.after table { border-collapse: collapse; width: 100%; margin: 0.5rem 0; }
.after td, .after th { border-bottom: 1px solid var(--rule); padding: 0.4rem 0.5rem; text-align: left; }
.figs { margin: 0.6rem 0 1rem; }

.drill { margin-top: 2rem; padding-top: 1.4rem; border-top: 3px solid var(--ink); display: grid; gap: 1.6rem; }
.drill h2 { font-family: var(--display); font-weight: 500; font-size: 1.25rem; color: var(--teal); margin-bottom: 0.5rem; }
.drill ol { margin: 0; padding: 0; list-style: none; counter-reset: d; display: grid; gap: 0.8rem; max-width: var(--measure); }
.drill ol li { counter-increment: d; display: grid; grid-template-columns: 2.2rem 1fr; font-size: 1.15rem; }
.drill ol li::before { content: counter(d); font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; color: var(--ink); }
.drill-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 3rem; }
.drill-pair p { font-size: 1.12rem; margin: 0; }
@media (max-width: 700px) { .drill-pair { grid-template-columns: 1fr; } }
.day-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.pager { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* home: one way in */
.start { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-top: 2rem; padding-bottom: 1rem; }
.start p { color: var(--ink-2); margin: 0; max-width: 52ch; }
.btn-big { font-size: 1.15rem; padding: 1.05rem 1.7rem; }
.also { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.4rem; padding-top: 2.4rem; padding-bottom: 3rem; }
.also-l { grid-column: 1 / -1; color: var(--ink-3); margin-bottom: 0.6rem; }
.also-item { display: grid; gap: 0.3rem; padding: 1.1rem 0; border-top: 2px solid var(--ink); color: var(--ink); text-decoration: none; }
.also-item strong { font-family: var(--display); font-weight: 600; font-size: 1.7rem; line-height: 1.1; }
.also-item span { color: var(--ink-2); }
.also-item:hover strong { color: var(--teal); }
@media (max-width: 700px) { .also { grid-template-columns: 1fr; } }

/* woodshed overview: this week, then the rest folded */
.thisweek { margin-top: 1.6rem; }
.thisweek h2 { margin-top: 0; }
.wdays { list-style: none; padding: 0; margin: 0.8rem 0 1.4rem; }
.wday { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr) auto; align-items: center; gap: 0.8rem; padding: 0.7rem 0.2rem; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-size: 1.1rem; }
.wday:hover .wday-t { color: var(--teal); }
.wday-n { font-family: var(--display); font-weight: 500; font-size: 1.25rem; color: var(--ink-3); }
.wday.is-next .wday-n { color: var(--teal); font-weight: 600; }
.wday.is-next .wday-t { font-weight: 700; }
.wday.is-done .wday-t { color: var(--ink-2); }
.tick { width: 1.2rem; height: 0.65rem; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg) translateY(-3px); }
.allweeks h2 { margin-top: 3rem; }
details.part { border-top: 1px solid var(--rule); }
details.part summary { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.95rem 0.2rem; cursor: pointer; list-style: none; }
details.part summary::-webkit-details-marker { display: none; }
details.part summary::after { content: '+'; font-size: 1.4rem; color: var(--ink-3); margin-left: 0.4rem; }
details.part[open] summary::after { content: '−'; }
.part-name { font-family: var(--display); font-weight: 500; font-size: 1.35rem; margin-right: auto; }
.part-weeks { color: var(--ink-3); font-size: 1rem; }
details.part > p { color: var(--ink-2); font-size: 1.02rem; }
.weeks { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.weeks a { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr) auto; gap: 0.8rem; padding: 0.5rem 0.2rem; color: var(--ink); text-decoration: none; border-bottom: 1px dotted var(--rule); }
.weeks a:hover .wt { color: var(--teal); }
.weeks .wn, .weeks .wk { color: var(--ink-3); font-size: 1rem; }

/* tools: cells and one root */
.tool-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; padding-bottom: 1.2rem; }
.picks { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.8rem 1rem; }
.pick { display: grid; gap: 0.25rem; font-size: 0.95rem; color: var(--ink-3); }
.pick select { font: 700 1.05rem var(--sym); color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 10px; padding: 0.6rem 2.2rem 0.6rem 0.8rem; min-height: 2.9rem; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) 52%, calc(100% - 0.75rem) 52%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; cursor: pointer; }
.picks .btn-drone { min-height: 2.9rem; }
.tabs { display: flex; gap: 0.2rem 1.6rem; flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
.tabs a { color: var(--ink-2); text-decoration: none; padding: 0.6rem 0; border-bottom: 3px solid transparent; margin-bottom: -1px; font-size: 1.08rem; }
.tabs a:hover { color: var(--ink); }
.tabs a.is-on { color: var(--ink); font-weight: 700; border-bottom-color: var(--teal); }
.tool-body { padding-top: 0.4rem; }
.v-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4rem 1.4rem; margin-top: 1.8rem; }
.v-big { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.v-head .sub { flex-basis: 100%; margin-top: 0.2rem; }
.v-title { margin-top: 1.4rem; font-size: 1.5rem; }
.toggle { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink-2); cursor: pointer; font-size: 1rem; }
.toggle input { width: 1.15rem; height: 1.15rem; accent-color: var(--teal); }
.fig-h { margin-top: 2rem; font-size: 1.3rem; }
.fig-p { color: var(--ink-2); margin: 0.4rem 0 0; }
details.more-figs { margin: 1.6rem 0 0.4rem; border-top: 1px solid var(--rule); padding-top: 1rem; }
.moves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.6rem; margin: 1.4rem 0; }
.move h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.move p { color: var(--ink-2); font-size: 1.02rem; min-height: 4.8em; }
@media (max-width: 760px) { .moves { grid-template-columns: 1fr; } .move p { min-height: 0; } }

/* one root: ladder list with one step open */
.rungs { list-style: none; padding: 0; margin: 1.2rem 0 0; border-top: 1px solid var(--rule); }
.rung-link { display: grid; grid-template-columns: 2rem minmax(7rem, auto) auto minmax(0, 1fr); align-items: baseline; gap: 0.4rem 1rem; padding: 0.6rem 0.4rem; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.rung-link:hover { background: var(--panel); }
.rung-link.is-on { background: var(--wood); color: var(--bone); border-radius: 6px; }
.rung-link.is-on .rung-n, .rung-link.is-on .rung-spell { color: var(--bone); }
.rung-n { font-family: var(--display); font-weight: 600; color: var(--teal); font-size: 1.2rem; }
.rung-name { font-weight: 700; font-size: 1.1rem; }
.rung-change { color: var(--wood); background: rgba(214, 170, 76, 0.25); padding: 0.05rem 0.5rem; border-radius: 4px; font-weight: 700; font-size: 0.95rem; justify-self: start; }
.rung-link.is-on .rung-change { background: var(--brass); color: var(--wood-deep); }
.rung-spell { color: var(--ink-2); text-align: right; letter-spacing: 0.02em; }
.rung-open { margin-top: 1.6rem; }
.rung-open h3 { font-size: 1.6rem; font-weight: 600; display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.ladder-pager { margin-top: 2rem; justify-content: space-between; display: flex; }
@media (max-width: 640px) {
  .rung-link { grid-template-columns: 2rem minmax(0, 1fr) auto; }
  .rung-spell { grid-column: 2 / -1; text-align: left; font-size: 0.95rem; }
}

/* written pages */
.prose > p, .prose > ol, .prose > table { max-width: var(--measure); }
.prose h2 { margin-top: 2.4rem; }
.prose .row { margin: 1.6rem 0; }
.article-list { max-width: var(--measure); padding-left: 1.3rem; }
.article-list li { margin-bottom: 0.6rem; }
.cta { margin-top: 2.2rem; }
.rung-spell-open { font-family: var(--sym); font-weight: 400; font-size: 1.05rem; color: var(--ink-2); letter-spacing: 0.02em; }

/* songs */
.songs { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: 1.05rem; }
.songs th, .songs td { text-align: left; vertical-align: top; padding: 0.75rem 0.8rem 0.75rem 0; border-bottom: 1px solid var(--rule); }
.songs thead th { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
.songs tbody th { font-weight: 700; min-width: 9rem; }
.songs td:nth-child(2) { white-space: nowrap; color: var(--ink-2); }
.songs tr.short th::before { content: ''; display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--brass); margin-right: 0.5rem; vertical-align: 0.1rem; }
.steps { max-width: var(--measure); padding-left: 1.4rem; }
.steps li { margin-bottom: 0.5rem; }
@media (max-width: 640px) { .songs td:nth-child(2) { white-space: normal; } }

/* ---------------- footer and drone bar */
.foot { border-top: 1px solid var(--rule); padding: 1.6rem 0; color: var(--ink-2); font-size: 1rem; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.8rem 2rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.foot-nav a { color: var(--ink); }
.foot p { margin: 0; }

.drone { position: fixed; left: 50%; bottom: 0.9rem; transform: translateX(-50%); z-index: 30; width: min(640px, calc(100% - 1.4rem)); background: var(--wood-deep); color: var(--bone); border-radius: 999px; box-shadow: 0 10px 30px rgba(36, 25, 21, 0.28); }
.drone-inner { display: flex; align-items: center; gap: 0.6rem 1rem; padding: 0.5rem 0.6rem 0.5rem 1.2rem; }
.drone-l, .drone-vol { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.98rem; color: #d8ccbd; }
.drone select { font: 700 1rem var(--sym); background: var(--wood); color: var(--bone); border: 1.5px solid #6c5047; border-radius: 8px; padding: 0.35rem 0.5rem; }
.drone-toggle { font: 700 1rem var(--sym); border: 0; border-radius: 999px; background: var(--bone); color: var(--wood-deep); padding: 0.6rem 1.3rem; cursor: pointer; }
.drone.is-on .drone-toggle { background: var(--brass); }
.drone-vol { margin-left: auto; }
.drone-vol input { width: 6.5rem; accent-color: var(--brass); }
.drone-wave { display: inline-flex; align-items: center; gap: 3px; height: 1.2rem; }
.drone-wave i { width: 3px; height: 0.35rem; background: #8f7b70; border-radius: 2px; }
.drone.is-on .drone-wave i { background: var(--brass); animation: wave 1.4s ease-in-out infinite; }
.drone.is-on .drone-wave i:nth-child(2) { animation-delay: 0.2s; }
.drone.is-on .drone-wave i:nth-child(3) { animation-delay: 0.4s; }
.drone.is-on .drone-wave i:nth-child(4) { animation-delay: 0.6s; }
@keyframes wave { 0%, 100% { height: 0.35rem; } 50% { height: 1.15rem; } }
@media (max-width: 520px) {
  .drone-vol { display: none; }
  .drone-inner { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------------- print: one practice page on paper, diagrams in ink */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; padding: 0; font-size: 11.5pt; }
  .top, .foot, .drone, .day-tools, .day-foot, .crumbs, details.readme, .picks, .tabs, .toggle, .skip { display: none !important; }
  .page { padding: 0; }
  .day-num { font-size: 36pt; }
  h1 { font-size: 22pt; }
  .row { break-inside: avoid; margin: 8pt 0; }
  .neckwrap { overflow: visible; }
  .neckwrap svg { min-width: 0; }
  .neck .wood, .neck .headstock { fill: #fff; stroke: #cfcfcf; }
  .neck .fret { stroke: #9a9a9a; stroke-width: 1; }
  .neck .nut { stroke: #111; }
  .neck .string { stroke: #777; }
  .neck .stretch { fill: #e8e8e8; }
  .neck .box { stroke: #1d7373; }
  .neck .d-root .c { fill: #151515; } .neck .d-root .lab { fill: #fff; }
  .neck .d-lit .c { fill: #5c5c5c; } .neck .d-lit .lab { fill: #fff; }
  .neck .d-sel .c, .neck .d-out .c { fill: #fff; stroke: #1a1a1a; } .neck .d-sel .lab, .neck .d-out .lab { fill: #1a1a1a; }
  .neck .d-colour .c { fill: #fff; stroke: #1d7373; } .neck .d-colour .ring { stroke: #1d7373; } .neck .d-colour .lab { fill: #1d7373; }
  .neck .d-faint .c { fill: #fff; stroke: #cdcdcd; } .neck .d-faint .lab { fill: #b0b0b0; }
  .neck .beat { fill: #1d7373; }
  .drill { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}
