:root {
  color-scheme: dark;
  --paper: #f8efd2;
  --ink: #172735;
  --surface: #1d3343;
  --line: #637373;
  --gold: #dcc88a;
  --muted: #d0cbb8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--paper); background: var(--ink); font: 1rem/1.65 var(--sans); overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: var(--gold); text-decoration-thickness: .12em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; overflow-wrap: anywhere; }
button, input, select { font: inherit; }
.wrap { width: min(calc(100% - 3rem), 74rem); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: .8rem; left: .8rem; padding: .7rem 1rem; background: var(--gold); color: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }
.skip:hover { color: var(--ink); }
.top { border-bottom: 1px solid var(--line); }
.masthead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem 2rem; padding-block: 1.35rem; }
.wordmark { font: 700 clamp(1.35rem, 3vw, 1.85rem)/1.2 var(--serif); text-decoration: none; overflow-wrap: anywhere; max-width: 100%; }
.wordmark span { color: var(--gold); }
.masthead nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.masthead nav a { display: inline-block; padding-block: .45rem; font-size: .85rem; }
.hero { padding-block: 2.8rem 0; }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 2rem 5rem; margin-bottom: 2.2rem; }
.eyebrow, .guide-number { color: var(--gold); font-size: .7rem; font-weight: 600; letter-spacing: .18em; line-height: 1.6; }
.hero h1 { max-width: 15ch; font-size: clamp(2.8rem, 5.2vw, 4.7rem); letter-spacing: -.045em; margin-top: .8rem; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-intro p { max-width: 42ch; font-family: var(--serif); font-size: clamp(1.12rem, 2.1vw, 1.4rem); line-height: 1.4; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.3rem; max-width: 100%; border: 1px solid var(--gold); padding: .65rem 1rem; background: var(--gold); color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; }
.button:hover { background: #f1dea1; color: var(--ink); }
.hero-intro .button { margin-top: 1.25rem; background: transparent; color: var(--paper); }
.hero-intro .button:hover { background: var(--gold); color: var(--ink); }
.room-panel { height: 26rem; position: relative; isolation: isolate; overflow: hidden; border: 1px solid #8e9c8c; background: #25465b url("assets/material-jazzman.webp") center / 420px auto repeat; background-blend-mode: luminosity; box-shadow: inset 0 0 0 7px #17273599; }
.room-panel::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, #10212d18 25%, #10212d70 60%, #10212df5 100%); }
.room-topline { position: absolute; inset: 1.2rem 1.5rem auto; display: flex; justify-content: space-between; gap: 1rem; font-size: .65rem; letter-spacing: .13em; }
.room-topline span, .room-caption > span { background: #172735; padding: .32rem .55rem; }
.room-caption { position: absolute; left: 2rem; right: 2rem; bottom: 1.8rem; }
.room-caption > span { display: inline-block; font-size: .75rem; letter-spacing: .06em; }
.room-caption p { font-family: var(--serif); font-size: clamp(3.5rem, 9vw, 7rem); line-height: 1.1; letter-spacing: -.045em; margin-block: .25rem; text-shadow: 0 2px 12px #10212d; }
.catalog { padding-block: 3.4rem 4rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: 1.4rem; }
.section-heading h2 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); letter-spacing: -.025em; }
#result-count { color: var(--muted); font-size: .85rem; }
#filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(9rem, 1fr) auto; align-items: end; gap: .75rem 1rem; margin-bottom: 1.7rem; }
#filters label { display: block; font-size: .75rem; color: var(--gold); font-weight: 600; margin-bottom: .4rem; letter-spacing: .05em; }
#filters input, #filters select, #filters button { min-height: 2.9rem; border: 1px solid #99a59b; border-radius: 0; color: var(--paper); background: var(--surface); padding: .55rem .75rem; }
#filters input, #filters select { width: 100%; min-width: 0; }
#filters input::placeholder { color: #c1c5bd; opacity: 1; }
#filters button { cursor: pointer; font-weight: 600; }
#filters button:hover { background: #294658; }
#empty-results { border: 1px solid var(--line); padding: 1rem; }
.cards { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.7rem; }
.card { display: flex; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 1.7rem; }
.card article { display: flex; flex-direction: column; width: 100%; padding: 1.4rem 0 1.6rem; }
.guide-number { margin-bottom: 1.4rem; font-size: .65rem; }
.category { font-size: .73rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.category span { padding-inline: .14rem; }
.card .category { margin-bottom: .65rem; }
.card h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.025em; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.artist { margin-block: .45rem 1rem; font-size: .85rem; color: var(--gold); }
.summary { margin-bottom: 1.3rem; color: var(--muted); font-size: .95rem; }
.read { align-self: start; margin-top: auto; padding-block: .3rem; font-size: .83rem; color: var(--paper); }
.footer { border-top: 1px solid var(--line); color: var(--muted); padding-block: 1.5rem 2rem; font-size: .8rem; }
.footer p + p { margin-top: .4rem; }
.footer a, .about a { overflow-wrap: anywhere; }
.guide-banner { background: var(--surface); border-bottom: 1px solid var(--line); }
.guide-title, .guide-body { max-width: 45rem; }
.guide-title { padding-block: 1.8rem 2.5rem; }
.back { display: inline-block; margin-bottom: 2rem; font-size: .85rem; }
.guide-title .category { margin-bottom: .8rem; }
.guide-title h1 { font-size: clamp(3rem, 9vw, 5.8rem); letter-spacing: -.045em; }
.performer { margin-block: .8rem 1.4rem; font-family: var(--serif); font-size: clamp(1.2rem, 3vw, 1.55rem); }
.listening-note { max-width: 58ch; margin-top: 1rem; font-size: .85rem; color: var(--muted); }
.guide-body { padding-block: 2.4rem 3.5rem; }
.guide-body section + section { margin-top: 2rem; }
.guide-body h2 { margin-bottom: .65rem; font-size: clamp(1.65rem, 4vw, 2.15rem); }
.guide-body section p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.reference { margin-block: 2rem; font-size: .85rem; color: var(--muted); }
.next { padding: 1.3rem 1.5rem; background: var(--surface); border-inline-start: 2px solid var(--gold); }
.next h2 { font: 600 .75rem/1.4 var(--sans); color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }
.next a { display: inline-block; font: 400 1.8rem/1.3 var(--serif); overflow-wrap: anywhere; max-width: 100%; }
.next p { margin-top: .4rem; font-size: .85rem; color: var(--muted); }
.about { max-width: 45rem; padding-block: 2.8rem 3.5rem; }
.about h1 { font-size: clamp(2.8rem, 7vw, 4.5rem); letter-spacing: -.035em; }
.about .intro { margin-block: 1.3rem 2.2rem; font-family: var(--serif); font-size: 1.35rem; }
.about section { margin-block: 2.2rem; }
.about h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: .75rem; }
.about p { color: var(--muted); }
.about p + p { margin-top: 1rem; }
@media (max-width: 53rem) {
  .hero-inner { grid-template-columns: 1.3fr 1fr; gap: 2rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 39rem) {
  .wrap { width: calc(100% - 2.2rem); }
  .masthead { padding-block: 1rem; gap: .7rem; }
  .masthead nav { gap: .4rem 1.15rem; }
  .masthead nav a { font-size: .8rem; }
  .hero { padding-top: 2rem; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .hero h1 { max-width: 14ch; }
  .hero-intro p { max-width: none; font-size: 1.12rem; }
  .room-panel { height: 22rem; }
  .room-topline { inset: 1rem 1rem auto; font-size: .55rem; }
  .room-caption { left: 1rem; right: 1rem; bottom: 1.2rem; }
  .room-caption p { font-size: clamp(2rem, 13vw, 4rem); }
  .room-caption > span { font-size: .65rem; }
  .catalog { padding-top: 2.2rem; }
  #filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #filters > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 29rem) { .cards { grid-template-columns: minmax(0, 1fr); } }
@media (forced-colors: active) {
  .room-panel { display: none; }
  .button, .card, .next { border: 1px solid ButtonText; }
  :focus-visible { outline-color: Highlight; }
}
