/* Street Musician, variant A: the page is one chord sheet, in the app's five looks. */
@font-face { font-family: "Fraunces"; src: url("../../media-sm/fonts/fraunces-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../../media-sm/fonts/fraunces-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../../media-sm/fonts/fraunces-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../../media-sm/fonts/fraunces-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../../media-sm/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../../media-sm/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../../media-sm/fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* The five looks, with the app's own colours. --lit is the sung line, --quiet the pencil. */
:root, [data-look="busker"] { --ground: #F6EDDD; --text: #2B2018; --chord: #B5352D; --label: #7A5F3F; --lit: #EBDCC0; --edge: #D9C6A2; --quiet: #6B5338; --lyric: "Fraunces", Georgia, serif; }
[data-look="stage"] { --ground: #000000; --text: #FFFFFF; --chord: #FFC24B; --label: #A8A8A8; --lit: #1F1A0E; --edge: #3A3A3A; --quiet: #BDBDBD; }
[data-look="karaoke"] { --ground: #1C2733; --text: #E3EDF7; --chord: #5BD1C8; --label: #8FA8BF; --lit: #2C4257; --edge: #3A4C5E; --quiet: #A9BDD0; --lyric: "Source Sans 3", system-ui, sans-serif; }
[data-look="minimal"] { --ground: #FFFFFF; --text: #111111; --chord: #1E5AC8; --label: #6B6B6B; --lit: #EAF0FB; --edge: #DADADA; --quiet: #5A5A5A; --lyric: "Source Sans 3", system-ui, sans-serif; }
[data-look="songbook"] { --ground: #FBF4E4; --text: #33291C; --chord: #7A4A21; --label: #7F6A4A; --lit: #F0E4C8; --edge: #DFD0AE; --quiet: #6E5B3F; }
:root { --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif; --display: "Fraunces", Georgia, serif; --bar: 56px; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
ul { list-style: none; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 16px); }
body { background: var(--ground); color: var(--text); font: 400 1.06rem/1.55 var(--sans); transition: background-color .3s, color .3s; overflow-x: hidden; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--chord); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 60; background: var(--text); color: var(--ground); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 8px; }

/* ---------- the bar, as in the app: what the sheet is doing ---------- */
.bar { position: sticky; top: 0; z-index: 40; min-height: var(--bar); display: flex; align-items: center; gap: 10px 16px; padding: 6px clamp(14px, 4vw, 40px); background: var(--ground); border-bottom: 2px solid var(--edge); transition: background-color .3s; }
.bar__home { display: flex; align-items: center; gap: 10px; font: 700 1.05rem/1 var(--display); text-decoration: none; margin-right: auto; }
.bar__home img { width: 38px; height: 38px; border-radius: 9px; }
.bar__chips { display: flex; gap: 8px; }
.chip { display: inline-block; min-width: 5.6em; text-align: center; padding: 5px 12px; border-radius: 999px; font: 700 .86rem/1.2 var(--sans); border: 2px solid var(--chord); color: var(--chord); }
.chip--status[data-is="Following"], .chip--status:not([data-is]) { background: var(--chord); color: var(--ground); }
.chip--status[data-is="Paused"] { border-style: dashed; }
.chip--status[data-is="Manual"] { background: var(--text); border-color: var(--text); color: var(--ground); }
.chip--stage { border-color: var(--edge); color: var(--quiet); }
.no-js .bar__chips { display: none; }
.key { display: flex; align-items: center; gap: 6px; font: 600 .9rem/1 var(--sans); }
.key button { min-width: 44px; min-height: 40px; border-radius: 10px; border: 2px solid var(--edge); background: transparent; color: var(--text); font: 700 .95rem/1 var(--sans); cursor: pointer; }
.key button:hover { border-color: var(--chord); color: var(--chord); }
.key output { min-width: 5.4em; text-align: center; }
.bar__back { font-weight: 600; }

/* ---------- the sheet ---------- */
.sheet { width: min(100% - 40px, 1080px); margin: 0 auto; padding: clamp(28px, 6vw, 72px) 0 40px; }
.reading { display: none; }
.js .reading { display: block; position: fixed; left: 0; top: 42vh; width: clamp(8px, 2.4vw, 30px); height: 3px; background: var(--chord); z-index: 30; border-radius: 0 3px 3px 0; }

.title { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-bottom: clamp(32px, 6vw, 64px); border-bottom: 2px solid var(--edge); }
.title__kind { font: 600 1.05rem/1.2 var(--sans); color: var(--label); }
.title h1 { font: 900 clamp(3.1rem, 10.5vw, 6.6rem)/.92 var(--display); letter-spacing: -.035em; margin: 8px 0 18px; text-wrap: balance; }
.title__lede { font: 400 italic clamp(1.4rem, 3.4vw, 2.1rem)/1.2 var(--display); color: var(--chord); }
.title__what { margin-top: 18px; max-width: 46ch; font-size: 1.12rem; }
.title__meta { margin-top: 14px; color: var(--label); font-weight: 600; }
.snapshot { position: relative; background: #fff; padding: 10px 10px 12px; transform: rotate(2deg); box-shadow: 0 10px 26px rgba(0, 0, 0, .28); }
.snapshot::before { content: ""; position: absolute; left: 50%; top: -14px; width: 96px; height: 28px; margin-left: -48px; background: rgba(181, 84, 45, .55); transform: rotate(-3deg); }
.snapshot figcaption { font: 400 italic 1rem/1.3 var(--display); color: #4a3a2a; padding-top: 8px; text-align: center; }

.song { padding-top: clamp(20px, 4vw, 40px); }
.part { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); column-gap: clamp(24px, 5vw, 72px); align-items: start; padding: clamp(18px, 3vw, 30px) 0; }
.part > * { grid-column: 1; }
.label { font: 700 1rem/1.3 var(--sans); color: var(--label); margin-bottom: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.label__state { font-weight: 600; font-size: .86rem; padding: 1px 10px; border-radius: 999px; border: 1.5px solid var(--edge); }
.part--spoken .label__state { border-style: dashed; }

.line { position: relative; font: 400 clamp(1.14rem, 2.5vw, 1.5rem)/1.3 var(--lyric); padding: 5px 12px 7px; margin: 0 -12px; border-radius: 8px; border-left: 4px solid transparent; transition: background-color .25s, border-color .25s; }
.js .line { cursor: pointer; }
.js .line.is-now { background: var(--lit); border-left-color: var(--chord); }
.seg { display: inline-flex; flex-direction: column; vertical-align: bottom; max-width: 100%; }
.chord { display: block; min-height: 1.35em; font: 700 .82em/1.35 var(--sans); color: var(--chord); letter-spacing: .01em; padding-right: .6em; }
.word { white-space: pre-wrap; }
.line--bars { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.bars { display: inline-flex; gap: 0; }
.bars .chord { min-width: 2.6em; font-size: 1em; padding: 2px .7em; border-left: 2px solid var(--edge); }
.bars .chord:last-child { border-right: 2px solid var(--edge); }
.times { font: 400 italic .9em/1.2 var(--display); color: var(--label); }
.line--spoken { font-style: italic; max-width: 34em; }
[data-look="karaoke"] .line--spoken, [data-look="minimal"] .line--spoken { font-style: normal; }

.pencil { grid-column: 2; grid-row: 2 / span 4; align-self: start; max-width: 22ch; margin-top: 6px; font: 400 italic 1.12rem/1.35 var(--display); color: var(--quiet); transform: rotate(-1.6deg); padding-left: 16px; border-left: 2px dotted var(--edge); }
.part:nth-of-type(even) .pencil { transform: rotate(1.2deg); }

.aside { margin-top: 22px; padding: 18px 20px 20px; border: 2px dashed var(--edge); border-radius: 14px; max-width: 640px; }
.aside h3 { font: 700 1.2rem/1.2 var(--display); margin-bottom: 6px; }
.aside p { max-width: 54ch; }
.looks { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 14px 0 12px; }
.looks button { width: 100%; height: 100%; min-height: 76px; text-align: left; padding: 10px 12px; border-radius: 10px; border: 3px solid transparent; cursor: pointer; display: grid; gap: 3px; align-content: start; font: 400 .84rem/1.3 var(--sans); }
.looks button b { font: 700 1rem/1.2 var(--sans); }
.looks button[data-look="busker"] { background: #F6EDDD; color: #2B2018; border-color: #D9C6A2; } .looks button[data-look="busker"] b { color: #B5352D; }
.looks button[data-look="stage"] { background: #000; color: #fff; border-color: #3A3A3A; } .looks button[data-look="stage"] b { color: #FFC24B; }
.looks button[data-look="karaoke"] { background: #1C2733; color: #E3EDF7; border-color: #3A4C5E; } .looks button[data-look="karaoke"] b { color: #5BD1C8; }
.looks button[data-look="minimal"] { background: #fff; color: #111; border-color: #DADADA; } .looks button[data-look="minimal"] b { color: #1E5AC8; }
.looks button[data-look="songbook"] { background: #FBF4E4; color: #33291C; border-color: #DFD0AE; font-family: var(--display); } .looks button[data-look="songbook"] b { color: #7A4A21; font-family: var(--display); }
.looks button[aria-pressed="true"] { border-color: var(--chord); box-shadow: 0 0 0 3px var(--ground), 0 0 0 6px var(--chord); }
.no-js .looks button { cursor: default; }
.demo-note { font-size: .9rem; color: var(--quiet); }
.aside--remote { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; }
.aside--remote img { border-radius: 18px; }
.tip { margin-top: 10px; font: 400 italic 1.3rem/1.3 var(--display); color: var(--chord); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.store { display: inline-block; padding: 13px 20px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 2px dashed var(--label); color: var(--quiet); }
.store.is-live { border: 2px solid var(--chord); background: var(--chord); color: var(--ground); }

.part--end { padding-bottom: 0; }
.next { display: grid; gap: 4px; margin-top: 14px; padding: 18px 22px; border-radius: 14px; background: var(--chord); color: var(--ground); text-decoration: none; max-width: 640px; }
.next span { font: 600 .92rem/1.2 var(--sans); }
.next b { font: 700 clamp(1.3rem, 3vw, 1.7rem)/1.15 var(--display); }
.next:hover b { text-decoration: underline; text-underline-offset: 4px; }
.case { grid-column: 1 / -1; margin-top: clamp(32px, 6vw, 64px); }
.case img { width: 100%; border-radius: 18px; }

/* ---------- footer ---------- */
.foot { width: min(100% - 40px, 1080px); margin: 0 auto; padding: 36px 0 44px; font-size: .96rem; color: var(--quiet); }
.foot__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot__name { font: 700 1.1rem/1.2 var(--display); color: var(--text); margin-bottom: 4px; }
.foot__head { font-weight: 700; color: var(--text); margin-bottom: 4px; }
.foot nav li { margin-bottom: 4px; }
.foot__small { margin-top: 28px; font-size: .86rem; max-width: 90ch; }

/* ---------- legal pages ---------- */
.legal { width: min(100% - 40px, 720px); margin: 0 auto; padding: 48px 0 72px; line-height: 1.65; }
.legal h1 { font: 900 clamp(2.2rem, 6vw, 3.2rem)/1.05 var(--display); letter-spacing: -.02em; margin-bottom: 18px; }
.legal h2 { font: 700 1.35rem/1.25 var(--display); margin: 34px 0 8px; }
.legal p { margin-bottom: 12px; }
.legal a { color: var(--chord); overflow-wrap: anywhere; }
.legal dl { margin: 18px 0; display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 8px 20px; }
.legal dt { font-weight: 700; }
.legal .gap { background: #F2B96B; color: #2B2018; padding: 1px 7px; border-radius: 4px; font-size: .92em; font-weight: 600; }

@media (max-width: 900px) {
  .title { grid-template-columns: 1fr; }
  .snapshot { max-width: 440px; justify-self: center; transform: rotate(1.2deg); }
  .part { grid-template-columns: 1fr; }
  .pencil { grid-column: 1; grid-row: auto; max-width: 36ch; margin-top: 14px; transform: rotate(-.6deg); }
  .part:nth-of-type(even) .pencil { transform: rotate(.5deg); }
  .foot__grid { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
}
@media (max-width: 560px) {
  .bar__home span { display: none; }
  .chip--stage { display: none; }
  .chip { min-width: 0; }
  .key output { min-width: 4.6em; font-size: .84rem; }
  .line { padding-inline: 8px; margin-inline: -8px; }
  .line { font-size: 1.1rem; }
  .chord { padding-right: .4em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* 2026-11-13: the company's logo above its name in the footer. */
.foot__logo {
  display: inline-block;
  margin-bottom: 0.75rem;
}
.foot__logo img {
  display: block;
  width: auto;
  height: 1.875rem;
}
