:root {
  color-scheme: dark;
  --night: #101522;
  --cover: #191f2e;
  --ink: #f9f5ed;
  --muted: #c2c4ce;
  --gold: #eed09b;
  --rule: #42485a;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  font: 100%/1.55 var(--sans);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--ink); }
[hidden] { display: none !important; }
.wrap { width: min(68rem, calc(100% - 2rem)); margin-inline: auto; }
a { color: var(--gold); text-underline-offset: .24em; }
button, a, audio { touch-action: manipulation; }
:where(a, button, audio):focus-visible { outline: 3px solid #fff3cd; outline-offset: 3px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { display: block; padding: .5rem 1rem; background: var(--night); }
.mast { border-top: 3px solid var(--gold); border-bottom: 1px solid var(--rule); }
.mast .wrap { min-height: 3.6rem; display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.brand, .back { display: inline-flex; align-items: center; min-height: 44px; }
.brand { flex-shrink: 0; text-decoration: none; }
.brand img { display: block; width: clamp(8.4rem, 36vw, 10.5rem); height: auto; }
.back { font-size: .875rem; color: var(--ink); }
.intro { padding-block: clamp(1.55rem, 5vw, 3.8rem) 1.1rem; }
.kicker { margin: 0 0 .4rem; color: var(--gold); font-size: .875rem; font-weight: 650; letter-spacing: .05em; }
h1, h2 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(2.05rem, 5.6vw, 4.15rem); line-height: 1.05; }
.lead { max-width: 50ch; margin: .6rem 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); }
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.filters button { background: transparent; color: var(--ink); min-height: 44px; padding: .4rem .7rem; font: 550 .9rem/1.1 var(--sans); border: 1px solid var(--rule); border-radius: 2rem; cursor: pointer; }
.filters button:hover, .filters button:focus-visible { border-color: var(--gold); }
.filters button[aria-pressed=true] { background: #303247; color: #ffe8bb; border-color: var(--gold); }
.grid { display: grid; gap: .85rem; }
.sample { min-width: 0; display: flex; flex-direction: column; padding: clamp(.9rem, 2.6vw, 1.5rem); border: 1px solid #384052; border-radius: 1rem; background: linear-gradient(140deg, #242839, var(--cover) 65%); scroll-margin-block-start: .85rem; }
.sample:target { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.sample-head { display: grid; grid-template-columns: clamp(3.75rem, 13vw, 5.25rem) minmax(0, 1fr); align-items: center; gap: .8rem; }
.cover { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: .55rem; }
.sample-kind { display: block; color: var(--gold); font-size: .9rem; font-weight: 600; }
.sample h2 { margin: .16rem 0 0; font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.12; overflow-wrap: anywhere; }
.sample p { margin: .77rem 0 .85rem; color: var(--muted); }
.player { margin-top: auto; }
.player-label { display: flex; justify-content: space-between; gap: .5rem; margin: 0 0 .3rem; font-size: .875rem; color: var(--muted); }
.duration { font-variant-numeric: tabular-nums; }
.sample audio { display: block; width: 100%; min-width: 0; height: 44px; }
.sample-actions { margin-top: .75rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .05rem .65rem; align-items: center; }
.offer { width: 100%; margin-bottom: .45rem; color: var(--muted); font-size: .9rem; }
.offer strong { color: var(--ink); white-space: nowrap; }
.configure { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 46px; padding: .55rem .8rem; background: var(--gold); border-radius: .5rem; text-decoration: none; color: #272131; font-weight: 700; }
.configure:hover { background: #ffe7bd; }
.request, .direct, .foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .9rem; }
.request:hover, .direct:hover, .foot a:hover { color: var(--ink); }
.foot { padding-block: 1rem 2.4rem; }
@media (min-width: 47rem) {
  .wrap { width: min(68rem, calc(100% - 4.5rem)); }
  .mast .wrap { min-height: 4.5rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
  .filters { margin-bottom: 1.4rem; }
}

