@font-face {
  font-family: Golos;
  src: url('/fonts/golos-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Golos;
  src: url('/fonts/golos-semibold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: Prata;
  src: url('/fonts/prata.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f7f7f2;
  --surface: #fff;
  --ink: #20372f;
  --muted: #64706a;
  --green: #173d35;
  --green-soft: #e7ede6;
  --line: #d9dfd6;
  --accent: #f0c99b;
  --sans: Golos, sans-serif;
  --serif: Prata, Georgia, serif;
  --tap: 48px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
body {
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button,
summary,
select {
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  background: none;
  border: 0;
}
button,
a {
  overflow-wrap: anywhere;
}
img,
svg,
audio {
  max-width: 100%;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #9b642b;
  outline-offset: 4px;
}
h1,
h2,
h3 {
  font-weight: 400;
  text-wrap: balance;
}
h1 {
  font: clamp(30px, 3.3vw, 46px)/1.25 var(--serif);
  letter-spacing: -.045em;
}
h2 {
  font: 26px/1.4 var(--serif);
  letter-spacing: -.035em;
}
h3 {
  font-weight: 600;
  font-size: 15px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 10;
  padding: 12px 20px;
  background: var(--green);
  color: white;
}
.skip-link:focus {
  top: 12px;
}
.topbar {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(32px, calc((100vw - 1232px)/2));
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  font: 28px var(--serif);
  text-decoration: none;
  letter-spacing: -.06em;
}
.wordmark-mark {
  width: 21px;
  height: 26px;
  border-left: 3px solid;
  border-right: 3px solid;
  transform: skewY(-19deg);
  position: relative;
}
.wordmark-mark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: -5px;
  height: 27px;
  border-left: 3px solid;
}
.brand-caption {
  display: none;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.network-status {
  font-size: 11px;
  color: var(--muted);
}
.network-status::before {
  content: '';
  width: 5px;
  height: 5px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
}
.network-status.is-offline {
  color: #9c4b2e;
}
.app-nav {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.app-nav a {
  min-height: 48px;
  padding: 0 18px;
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
}
.app-nav svg {
  width: 18px;
  height: 18px;
}
.app-nav a[aria-current=page] {
  color: var(--green);
  background: var(--green-soft);
  font-weight: 600;
}
main {
  max-width: 1296px;
  padding: 46px 32px 80px;
  margin: 0 auto;
  min-height: calc(100dvh - 92px);
}
main:focus {
  outline: none;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}
.section-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.page-heading .section-label {
  margin-bottom: 10px;
}
.listening-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.selection-status {
  color: var(--muted);
  font-size: 13px;
}
.session-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 13px;
}
select {
  min-height: 48px;
  padding: 0 34px 0 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 16px;
  max-width: 100%;
}
.primary-link,
.primary-button,
.secondary-button,
.icon-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  min-width: 48px;
  padding: 10px 20px;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}
.primary-link,
.primary-button {
  color: #fff;
  background: var(--green);
}
.primary-link:hover,
.primary-button:hover {
  background: #285448;
}
.secondary-button {
  background: var(--green-soft);
  color: var(--green);
}
.secondary-button:hover {
  background: #dce5d9;
}
.icon-button {
  border: 1px solid var(--line);
  background: transparent;
  font-weight: 400;
}
.icon-button[aria-pressed=true] {
  color: var(--green);
  background: var(--green-soft);
  border-color: #a1b5a6;
}
.text-button {
  padding: 10px 4px;
  color: var(--green);
  font-weight: 400;
}
.text-button:hover {
  text-decoration: underline;
}
.today-work {
  display: grid;
  grid-template-columns: minmax(260px, .83fr) minmax(0, 1.4fr);
  gap: 0;
  padding: 22px;
  background: var(--green);
  color: #f7f5e9;
  border-radius: 7px;
}
.hero-art {
  min-width: 0;
  display: flex;
}
.folio {
  --sleeve: #ead4aa;
  --sleeve-ink: #3d3929;
  background: var(--sleeve);
  color: var(--sleeve-ink);
  width: 100%;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 390px;
  border-radius: 2px;
  overflow: hidden;
}
.folio-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 600;
}
.folio img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  object-position: center 30%;
  mix-blend-mode: multiply;
  opacity: .85;
  flex: 1 1 auto;
  min-height: 0;
}
.folio-portrait img {
  object-position: center 24%;
  filter: grayscale(1);
}
.folio-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}
.folio-bottom strong {
  font: 32px/1.17 var(--serif);
  letter-spacing: -.055em;
  max-width: 75%;
}
.folio-bottom > span {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .1em;
  flex: 0 0 auto;
}
.tone-sand {
  --sleeve: #e5cea3;
  --sleeve-ink: #3d3726;
}
.tone-sand img {
  object-fit: contain;
}
.tone-clay {
  --sleeve: #dcaf99;
  --sleeve-ink: #4a3027;
}
.tone-moss {
  --sleeve: #c1cead;
  --sleeve-ink: #283e2d;
}
.tone-blue {
  --sleeve: #bbcdd2;
  --sleeve-ink: #233c43;
}
.tone-rust {
  --sleeve: #d2a182;
  --sleeve-ink: #4a2c22;
}
.tone-rose {
  --sleeve: #dec4bd;
  --sleeve-ink: #4b333a;
}
.tone-plum {
  --sleeve: #d0bfcc;
  --sleeve-ink: #463446;
}
.tone-olive {
  --sleeve: #d1d0b4;
  --sleeve-ink: #3c402a;
}
.tone-sea {
  --sleeve: #bdd1c6;
  --sleeve-ink: #264139;
}
.tone-slate {
  --sleeve: #c2c8d6;
  --sleeve-ink: #30384a;
}
.tone-ink {
  --sleeve: #bfc4c1;
  --sleeve-ink: #2f3c37;
}
.tone-ochre {
  --sleeve: #dcd09f;
  --sleeve-ink: #453d23;
}
.hero-copy {
  align-self: center;
  padding: 16px 32px 16px 48px;
  min-width: 0;
}
.hero-kicker {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  color: #c3d2c7;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 25px;
}
.hero-kicker span:last-child {
  white-space: nowrap;
}
.hero-copy .composer {
  color: #d3dfd4;
  font-size: 15px;
  margin-bottom: 10px;
}
.hero-copy h1 {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.23;
  overflow-wrap: anywhere;
  text-wrap: pretty;
  letter-spacing: -.045em;
}
.hero-year {
  font-size: 13px;
  color: #bdcec3;
  margin-top: 14px;
}
.hero-copy .why {
  margin: 22px 0 25px;
  color: #f0f0e4;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.65;
}
.hero-copy .primary-link {
  background: var(--accent);
  color: #273b30;
  min-height: 52px;
  padding-inline: 24px;
}
.hero-copy .primary-link:hover {
  background: #f8d9b3;
}
.source-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.hero-copy .source-hint {
  color: #bdcec3;
}
.hero-copy .text-button {
  color: var(--accent);
}
.hero-release {
  min-height: 44px;
  color: var(--green);
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 10px 0;
  font-size: 13px;
}
.session-warning {
  color: #e5cfab;
  font-size: 12px;
  margin-top: 14px;
}
.listening-desk {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  padding: 36px 0 38px;
  border-bottom: 1px solid var(--line);
}
.listening-guide h2 {
  max-width: 27ch;
  font-size: 24px;
  margin-top: 12px;
}
.listening-cues {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
.concept-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
  padding: 0;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink);
}
.concept-list li::before {
  content: '—';
  color: var(--muted);
  margin-right: 6px;
}
.art-credit {
  margin-top: 14px;
  max-width: 65ch;
  color: var(--muted);
  font-size: 11px;
}
.art-credit summary {
  width: fit-content;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.art-credit summary::before {
  content: '+';
}
.art-credit[open] summary::before {
  content: '−';
}
.art-credit a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.catalogue-credits {
  margin-top: 36px;
}
.attribution-entry {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.listener-actions h3 {
  margin-bottom: 14px;
}
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.note-disclosure {
  margin-top: 12px;
}
.note-disclosure > summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.note-disclosure > summary::after {
  content: '+';
  font-size: 20px;
}
.note-disclosure[open] > summary::after {
  content: '−';
}
summary {
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
.note-field {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  font-size: 12px;
}
.note-field em {
  color: var(--muted);
  font-style: normal;
  margin-left: 5px;
}
textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  width: 100%;
  padding: 14px;
  resize: vertical;
  min-height: 110px;
  font-size: 16px;
  line-height: 1.5;
}
.draft-status {
  color: var(--muted);
  min-height: 20px;
  font-size: 11px;
  margin-top: 8px;
}
.home-lower {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  padding-top: 38px;
}
.section-heading {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.section-heading h2 {
  font-size: 22px;
}
.section-intro {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.work-list {
  display: grid;
}
.work-row {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 18px 2px;
  min-height: 80px;
  border-bottom: 1px solid var(--line);
}
.work-row:hover,
.journal-entry:hover {
  background: #edf0e9;
}
.work-row-main {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.work-row-composer {
  color: var(--muted);
  font-size: 12px;
}
.work-row strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.work-row-side {
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
  padding-top: 3px;
}
.work-state-copy {
  font-size: 10px;
  color: var(--muted);
}
.work-row.is-next .work-state-copy {
  color: var(--green);
}
.work-row.is-complete .work-state-copy::before {
  content: '✓ ';
}
.explore-section {
  padding: 25px 28px;
  background: #e9ede3;
  border-radius: 5px;
}
.explore-section h2 {
  margin: 12px 0 22px;
  font-size: 26px;
}
.browse-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
}
.browse-shortcuts button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  text-align: left;
  padding: 12px 0;
  font-size: 13px;
  border-top: 1px solid #c5cfc0;
}
.explore-section > .text-button {
  margin-top: 16px;
  font-size: 12px;
}
.completion-receipt {
  background: #e6ede1;
  padding: 20px 24px;
  border-left: 3px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.receipt-copy strong {
  font-size: 14px;
}
.receipt-copy p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.receipt-actions {
  display: flex;
  gap: 16px;
  flex: 0 0 auto;
}
.search-field {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 62px;
  background: #fff;
  border: 1px solid #c8d2c8;
  border-radius: 5px;
  padding: 0 20px;
}
.search-field input {
  width: 100%;
  min-width: 0;
  height: 60px;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 17px;
}
.search-field:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.browse-toolbar {
  display: flex;
  align-items: start;
  gap: 20px;
  margin: 16px 0 32px;
}
.world-picker {
  flex: 0 0 235px;
}
.world-picker select {
  width: 100%;
}
.browse-filters {
  flex: 1;
  min-width: 0;
}
.browse-filters > summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  width: fit-content;
  padding: 0 14px;
}
.browse-filters > summary::after {
  content: '+';
  font-size: 20px;
}
.browse-filters[open] > summary::after {
  content: '−';
}
.filter-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 16px 0;
}
.filter-fields label {
  display: grid;
  gap: 8px;
  font-size: 12px;
}
.filter-fields select {
  width: 100%;
}
.filter-fields > button {
  justify-self: start;
}
.catalogue-heading {
  margin: 30px 0 24px;
  align-items: end;
}
.catalogue-heading > span {
  color: var(--muted);
  font-size: 12px;
  flex-shrink: 0;
}
.era-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
}
.era-card {
  padding: 0;
  text-align: left;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.era-card .folio {
  transition: transform .18s ease;
}
.era-card:hover .folio {
  transform: translateY(-4px);
}
.folio-small {
  min-height: 285px;
  height: 285px;
  padding: 18px;
  gap: 16px;
}
.folio-small .folio-top {
  font-size: 7px;
}
.folio-small img {
  height: 145px;
}
.folio-small .folio-bottom strong {
  font-size: 25px;
  max-width: 100%;
}
.folio-small .folio-bottom > span {
  display: none;
}
.era-card-copy {
  display: grid;
  gap: 7px;
  margin-top: 15px;
}
.era-card-copy strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.era-card-copy > span {
  font-size: 11px;
  color: var(--muted);
}
.world-heading {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
}
.world-heading h2 {
  margin: 9px 0;
  font-size: 32px;
}
.world-heading p {
  color: var(--muted);
  font-size: 13px;
}
.chapter {
  border-top: 1px solid var(--line);
}
.chapter-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  min-height: 80px;
}
.chapter-number {
  font: 26px var(--serif);
  color: var(--muted);
  min-width: 40px;
}
.chapter-title {
  display: grid;
  flex: 1;
  gap: 5px;
}
.chapter-title strong {
  font-size: 19px;
  font-weight: 600;
}
.chapter-title > span {
  color: var(--muted);
  font-size: 12px;
}
.chapter-toggle {
  font-size: 26px;
}
.chapter[open] .chapter-toggle {
  transform: rotate(45deg);
}
.chapter.is-current .chapter-number {
  color: var(--green);
}
.chapter .work-list {
  padding: 0 0 24px 64px;
}
.result-count {
  color: var(--muted);
  white-space: nowrap;
  font-size: 12px;
}
.collection-count {
  display: flex;
  gap: 14px;
  align-items: center;
  font: 38px var(--serif);
}
.collection-count span {
  font: 11px/1.7 var(--sans);
  color: var(--muted);
}
.journal-resume {
  display: flex;
  gap: 22px;
  align-items: center;
  background: var(--green);
  color: #f5f5e9;
  padding: 22px 26px;
  text-decoration: none;
  border-radius: 5px;
}
.resume-icon {
  font-size: 30px;
  color: var(--accent);
}
.journal-resume .section-label {
  color: #bdcec3;
  font-size: 9px;
  margin-bottom: 7px;
}
.journal-resume strong {
  display: block;
  font-size: 15px;
  font-weight: 400;
}
.resume-time {
  margin-left: auto;
  white-space: nowrap;
  color: #bdcec3;
  font-size: 12px;
}
.journal-toolbar {
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
}
.segmented-control {
  display: flex;
  gap: 28px;
}
.segmented-control button {
  min-height: 52px;
  padding: 8px 0 12px;
  color: var(--muted);
  position: relative;
  font-size: 14px;
}
.segmented-control button span {
  margin-left: 7px;
  font-size: 11px;
}
.segmented-control button[aria-pressed=true] {
  color: var(--green);
  font-weight: 600;
}
.segmented-control button[aria-pressed=true]::after {
  content: '';
  height: 3px;
  background: var(--green);
  bottom: -1px;
  position: absolute;
  left: 0;
  right: 0;
}
.journal-entry {
  display: flex;
  width: 100%;
  gap: 22px;
  align-items: center;
  padding: 24px 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.library-mark {
  display: grid;
  place-content: center;
  width: 66px;
  min-height: 80px;
  flex: 0 0 66px;
  background: var(--sleeve);
  color: var(--sleeve-ink);
  font: 26px var(--serif);
}
.journal-entry-body {
  display: grid;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.journal-entry .composer {
  font-size: 12px;
  color: var(--muted);
}
.journal-entry strong {
  font-size: 17px;
  font-weight: 600;
}
.journal-entry q {
  font-size: 14px;
  color: var(--muted);
  margin-top: 7px;
  max-width: 70ch;
}
.journal-date {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.library-footer {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  border-top: 1px solid var(--line);
  margin-top: 44px;
  padding-top: 24px;
}
.campaign-progress {
  width: 340px;
  max-width: 100%;
}
.progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}
.progress-copy strong {
  font-weight: 400;
  white-space: nowrap;
}
.progress-track {
  height: 3px;
  background: var(--line);
}
.progress-track span {
  display: block;
  height: 100%;
  background: var(--green);
}
.library-footer > p {
  color: var(--muted);
  font-size: 11px;
  max-width: 30ch;
}
.empty-state,
.completion-state,
.error-state {
  padding: 64px 0;
  max-width: 640px;
}
.empty-state h2,
.completion-state h1,
.error-state h1 {
  margin-bottom: 16px;
}
.empty-state p,
.completion-state p,
.error-state p {
  color: var(--muted);
  margin: 14px 0 24px;
  max-width: 48ch;
}
.empty-state .section-label {
  font: 26px/1.4 var(--serif);
  text-transform: none;
  color: var(--ink);
  letter-spacing: -.03em;
}
.loading-state {
  padding-block: 90px;
  color: var(--muted);
}
.loading-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--green);
  margin-bottom: 20px;
}
dialog {
  width: min(760px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #10281ed1;
}
.dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 10px 30px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.dialog-bar > span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
}
.work-detail {
  padding: 30px 40px 40px;
}
.work-detail .route-position {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 22px;
}
.work-detail .composer {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}
.work-detail h2 {
  font-size: clamp(28px, 4vw, 39px);
  overflow-wrap: anywhere;
}
.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}
.work-detail .why {
  margin: 24px 0;
  font-size: 16px;
}
.work-detail .listening-cues {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-bottom: 26px;
}
.detail-route {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-top: 24px;
}
.detail-route .section-label {
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
}
.recording-heading {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
  font-size: 14px;
}
.recording-heading strong {
  display: block;
  margin-block: 6px;
  font-weight: 600;
  text-wrap: balance;
}
.recording-heading .section-label {
  color: inherit;
}
.recording-duration {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
audio {
  display: block;
  width: 100%;
  height: 48px;
  margin-block: 15px 5px;
}
.source-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 12px;
}
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: #23382f;
  color: #fff;
  padding: 14px 22px;
  font-size: 13px;
  border-radius: 5px;
  max-width: min(600px, calc(100vw - 32px));
  z-index: 5;
}

@media (max-width: 1100px) {
  .topbar {
    padding-inline: 24px;
  }
  main {
    padding-inline: 24px;
  }
  .hero-copy {
    padding-inline: 32px 12px;
  }
  .hero-copy h1 {
    font-size: 36px;
  }
  .folio {
    padding: 20px;
  }
  .folio-bottom strong {
    font-size: 28px;
  }
  .folio-bottom > span {
    display: none;
  }
  .listening-desk,
  .home-lower {
    gap: 36px;
  }
  .era-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .catalogue-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .filter-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 76px;
    padding-inline: 20px;
  }
  .wordmark {
    font-size: 26px;
  }
  .app-nav {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    justify-content: space-around;
    gap: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    z-index: 3;
  }
  .app-nav a {
    flex: 1;
    min-height: 56px;
    padding: 6px;
    flex-direction: column;
    gap: 4px;
    font-size: 10px;
    border-radius: 0;
  }
  .app-nav a[aria-current=page] {
    background: none;
  }
  .app-nav a[aria-current=page] svg {
    stroke-width: 2.3;
  }
  .app-nav svg {
    width: 21px;
    height: 21px;
  }
  main {
    padding: 28px 20px calc(112px + env(safe-area-inset-bottom));
    min-height: calc(100dvh - 76px);
  }
  .page-heading {
    margin-bottom: 22px;
    gap: 16px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading .section-label {
    font-size: 9px;
    max-width: 27ch;
    margin-bottom: 9px;
  }
  .listening-toolbar {
    gap: 12px;
    margin-bottom: 18px;
  }
  .listening-toolbar .text-button {
    font-size: 13px;
    white-space: nowrap;
  }
  .session-picker {
    gap: 8px;
    font-size: 12px;
  }
  .session-picker select {
    padding-left: 10px;
    padding-right: 24px;
  }
  .today-work {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px 16px;
    padding: 18px;
    border-radius: 5px;
  }
  .hero-art {
    grid-column: 1;
    grid-row: 2 / 5;
    align-self: start;
    aspect-ratio: 3 / 4;
  }
  .hero-art .folio {
    min-height: 0;
    padding: 10px;
    gap: 8px;
  }
  .hero-art .folio-top {
    justify-content: flex-end;
    font-size: 8px;
  }
  .hero-art .folio-top > span:first-child {
    display: none;
  }
  .hero-art .folio img {
    height: 0;
    flex: 1;
    object-fit: cover;
  }
  .hero-art .tone-sand img {
    object-fit: contain;
  }
  .hero-art .folio-bottom {
    display: none;
  }
  .hero-copy {
    display: contents;
  }
  .hero-copy > * {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .hero-kicker {
    grid-row: 1;
    margin-bottom: 4px;
    font-size: 11px;
    letter-spacing: .04em;
    gap: 10px;
  }
  .hero-copy .composer {
    grid-column: 2;
    grid-row: 2;
    font-size: 13px;
    margin: 0;
  }
  .hero-copy h1 {
    grid-column: 2;
    grid-row: 3;
    font-size: clamp(24px, 1.15rem + 1.6vw, 30px);
    line-height: 1.25;
    text-wrap: balance;
  }
  .hero-year {
    grid-column: 2;
    grid-row: 4;
    line-height: 1.5;
    margin: 0;
  }
  .hero-copy .why {
    margin: 8px 0;
    font-size: 15px;
  }
  .hero-copy .primary-link {
    width: 100%;
  }
  .listening-desk {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 28px 0;
  }
  .listening-guide h2 {
    font-size: 23px;
    max-width: 100%;
  }
  .listening-guide {
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  .home-lower {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 26px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-heading .text-button {
    font-size: 12px;
    flex: 0 0 auto;
  }
  .explore-section {
    padding: 24px;
  }
  .work-row {
    gap: 16px;
    padding-block: 17px;
  }
  .completion-receipt {
    display: block;
    padding: 18px;
  }
  .receipt-actions {
    margin-top: 9px;
    flex-wrap: wrap;
  }
  .route-view .page-heading {
    align-items: start;
    flex-direction: column;
  }
  .route-view .page-heading h1 {
    font-size: 34px;
  }
  .route-view .page-heading .section-label {
    max-width: none;
  }
  .route-view .page-heading > button {
    padding: 8px 14px;
  }
  .search-field {
    padding-inline: 14px;
    min-height: 54px;
    gap: 10px;
  }
  .search-field input {
    font-size: 16px;
    height: 52px;
  }
  .browse-toolbar {
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
  }
  .world-picker {
    flex-basis: calc(100% - 125px);
  }
  .browse-filters {
    flex-basis: 110px;
  }
  .browse-filters[open] {
    flex-basis: 100%;
  }
  .filter-fields {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .filter-fields label:last-of-type {
    grid-column: 1 / -1;
  }
  .era-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }
  .folio-small {
    height: 240px;
    min-height: 240px;
    padding: 13px;
    gap: 12px;
  }
  .folio-small .folio-top {
    font-size: 6px;
    letter-spacing: .04em;
  }
  .folio-small .folio-top > span:first-child {
    display: none;
  }
  .folio-small img {
    height: 130px;
  }
  .folio-small .folio-bottom strong {
    font-size: 23px;
  }
  .era-card-copy {
    margin-top: 12px;
    gap: 6px;
  }
  .era-card-copy strong {
    font-size: 12px;
  }
  .era-card-copy > span {
    font-size: 10px;
  }
  .catalogue-heading h2 {
    font-size: 24px;
  }
  .world-heading {
    display: block;
  }
  .world-heading h2 {
    font-size: 29px;
  }
  .chapter-heading {
    gap: 15px;
  }
  .chapter-number {
    min-width: 28px;
    font-size: 22px;
  }
  .chapter-title strong {
    font-size: 17px;
  }
  .chapter-title > span {
    font-size: 11px;
  }
  .chapter .work-list {
    padding-left: 0;
  }
  .collection-count {
    font-size: 30px;
    gap: 8px;
  }
  .collection-count span {
    font-size: 9px;
  }
  .journal-resume {
    padding: 20px;
    gap: 14px;
  }
  .journal-resume strong {
    font-size: 13px;
  }
  .resume-time {
    display: none;
  }
  .segmented-control {
    gap: 20px;
  }
  .segmented-control button {
    font-size: 12px;
  }
  .segmented-control button span {
    margin-left: 3px;
  }
  .journal-entry {
    gap: 14px;
    flex-wrap: wrap;
    padding-block: 20px;
  }
  .library-mark {
    width: 44px;
    flex-basis: 44px;
    min-height: 60px;
    font-size: 22px;
  }
  .journal-entry strong {
    font-size: 15px;
  }
  .journal-entry .composer {
    font-size: 11px;
  }
  .journal-date {
    width: 100%;
    padding-left: 58px;
  }
  .library-footer {
    flex-direction: column;
    gap: 20px;
  }
  .library-footer > p {
    max-width: none;
  }
  dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    margin: auto 0 0;
    border-radius: 10px 10px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .dialog-bar {
    padding: 8px 20px;
  }
  .work-detail {
    padding: 25px 24px 35px;
  }
  .work-detail h2 {
    font-size: 28px;
  }
  .toast {
    bottom: calc(82px + env(safe-area-inset-bottom));
    width: max-content;
  }
  .empty-state,
  .completion-state,
  .error-state {
    padding-block: 44px;
  }
}
@media (max-width: 360px) {
  main {
    padding-inline: 16px;
  }
  .topbar {
    padding-inline: 16px;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .session-picker {
    gap: 6px;
  }
  .session-picker > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .today-work {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }
  .folio-small {
    height: 205px;
    min-height: 205px;
  }
  .folio-small img {
    height: 95px;
  }
  .folio-small .folio-bottom strong {
    font-size: 20px;
  }
  .action-row {
    gap: 8px;
  }
  .action-row button {
    padding-inline: 13px;
  }
  .segmented-control {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
