:root {
  color-scheme: light;
  --paper: #e0e3dc;
  --ink: #242820;
  --muted: #535a50;
  --rule: #aeb5a7;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.6;
}
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 8px 16px; background: #fff; }
.skip-link:focus { top: 16px; z-index: 2; }
.site-header { padding: 46px 20px 24px; text-align: center; }
.site-name { margin: 0; font-size: clamp(28px, 5vw, 36px); font-weight: 400; letter-spacing: .13em; line-height: 1.3; }
.site-name a { text-decoration: none; }
.site-subtitle { margin: 8px 0 0; font-size: 12px; letter-spacing: .23em; color: var(--muted); }
.site-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 25px; padding: 0 16px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; letter-spacing: .06em; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current='page'] { text-decoration: underline; }
.home { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.home .site-header { padding-top: 32px; }
.home-main { width: min(100% - 40px, 780px); margin: 0 auto; }
.portrait { --portrait-height: 57svh; width: min(58%, calc(var(--portrait-height) * 1373 / 1146 * .58)); max-width: 100%; margin: 0 auto; overflow: hidden; }
.portrait img { display: block; width: 100%; height: auto; margin: 0 auto; transform: rotate(.8deg) scale(1.025); }
.site-footer { padding: 26px 20px 32px; text-align: center; }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin-top: 12px; }
.social-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; letter-spacing: .07em; color: var(--muted); }
.page-main { width: min(100% - 40px, 720px); margin: 44px auto 64px; }
.page-heading { margin: 0 0 8px; font-size: 30px; font-weight: 400; letter-spacing: .06em; line-height: 1.3; }
.intro { margin: 0 0 32px; color: var(--muted); font-size: 16px; }
.simple-page { text-align: center; min-height: 30vh; padding-top: 28px; }
.simple-page p { margin: 20px auto; max-width: 510px; }
.contact-list { list-style: none; padding: 0; margin: 32px 0; }
.contact-list li { margin: 16px 0; }
.contact-list a { display: inline-block; padding: 6px; overflow-wrap: anywhere; }
.search-tools { margin: 28px 0 20px; }
.search-tools label { display: block; font-size: 14px; margin-bottom: 6px; }
.search-field { display: flex; gap: 12px; }
.search-field input { min-width: 0; width: 100%; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 0; background: #f0f2ec; font-size: 16px; }
.text-button { border: 0; padding: 6px; background: transparent; font-size: 14px; text-decoration: underline; text-underline-offset: .2em; }
.song-count { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.song { border-top: 1px solid var(--rule); scroll-margin-top: 24px; }
.song:last-child { border-bottom: 1px solid var(--rule); }
.song summary { padding: 18px 0; cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 16px; }
.song summary::-webkit-details-marker { display: none; }
.song summary::after { content: '+'; font: 24px/1 Georgia, serif; margin-left: auto; padding: 0 4px; }
.song[open] summary::after { content: '−'; }
.song summary:hover .song-title { text-decoration: underline; text-underline-offset: .2em; }
.song-number { flex-shrink: 0; width: 22px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.song-title { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 400; }
.song-body { padding: 0 0 30px 38px; }
.lyrics { font: 18px/1.8 Georgia, 'Times New Roman', serif; white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 24px; }
.song-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 13px; }
.song-actions a { padding: 6px 0; }
.empty-state { padding: 20px 0; }
.page-footer { width: min(100% - 40px, 720px); margin: 0 auto; border-top: 1px solid var(--rule); }
.construction-page { min-height: 100svh; display: grid; place-items: center; padding: 24px; }
.construction-content { position: relative; text-align: center; max-width: 100%; }
.construction-content img { display: block; max-width: 100%; height: auto; }
.back-button { display: inline-block; padding: 10px 20px; border: 1px solid var(--rule); text-decoration: none; }
.construction-content .back-button { position: absolute; top: calc(100% + 28px); left: 50%; transform: translateX(-50%); white-space: nowrap; }
.back-button:hover { background: #f0f2ec; }
@media (max-width: 480px) {
  .site-header { padding-top: 30px; }
  .site-nav { gap: 0 18px; }
  .site-nav a { font-size: 15px; }
  .page-main { margin-top: 32px; }
  .song-body { padding-left: 0; }
  .song summary { gap: 10px; }
  .lyrics { font-size: 17px; }
  .portrait { --portrait-height: 53svh; }
}
@media print {
  body { background: white; color: black; }
  .site-header, .site-nav, .site-footer, .search-tools, .song-actions, .intro, .skip-link { display: none; }
  .page-main { width: 100%; margin: 0; }
  .song { border: 0; }
  .song:not([open]) { display: none; }
  .song summary::after { display: none; }
}
