:root {
  color-scheme: light;
  --paper: #f8f8f4;
  --ink: #181c1a;
  --muted: #505853;
  --line: #cdd0c8;
  --yellow: #ffdc3a;
  --serif: Georgia, "Times New Roman", serif;
  font: 100%/1.55 "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
[hidden], .status:empty { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
figure, h1, h2, p, ul, ol { margin: 0; }
:focus-visible { outline: 3px solid #1172a0; outline-offset: 4px; }
::selection { color: var(--ink); background: var(--yellow); }
.wrap { width: min(100% - clamp(40px, 9vw, 160px), 1248px); margin-inline: auto; }
.filters { position: absolute; width: 0; height: 0; }
.skip, .trap { position: absolute; left: -10000px; }
.skip:focus { z-index: 3; left: 10px; top: 10px; padding: 10px; background: white; }
.header, .footer, .header nav, .brand, .actions, .panel-heading { display: flex; align-items: center; }
.header, .footer, .panel-heading { justify-content: space-between; gap: 16px; }
.header { min-height: 88px; border-bottom: 1px solid var(--line); }
.brand { gap: 12px; }
.wordmark { font-size: 1.38rem; font-weight: 800; letter-spacing: -.065em; line-height: 1; white-space: nowrap; }
.brand-head {
  box-sizing: content-box; position: relative; display: block; overflow: hidden;
  width: 47px; height: 40px; background: #181c1a; border-radius: 6px;
}
.brand-head img {
  position: absolute; width: 163%; max-width: none; height: auto;
  top: -30%; left: -59%; filter: url(#yellow);
  clip-path: polygon(41.6% 24%, 94% 24%, 94% 61.2%, 45% 61.2%, 44% 55%, 44% 49%, 41.6% 49%);
}
.header nav { gap: clamp(16px, 3vw, 42px); font-weight: 620; font-size: .98rem; }
.header nav a { padding-block: 9px; }
.header nav a:hover, .header nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.header nav .nav-book { border: 1px solid var(--ink); border-radius: 100px; padding: 8px 20px; }
.nav-book:hover { background: white; }
.hero { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; padding-block: clamp(44px, 5vw, 74px); }
.hero-copy { padding-block: 10px; min-width: 0; }
.location { display: flex; gap: 12px; align-items: center; font-size: .875rem; font-weight: 650; color: var(--muted); }
.levels { display: inline-flex; align-items: center; gap: 2px; height: 17px; }
.levels i { display: block; width: 3px; height: 50%; background: var(--ink); border-radius: 2px; }
.levels i:nth-child(2) { height: 80%; }
.levels i:nth-child(3) { height: 100%; }
.levels i:nth-child(4) { height: 65%; }
h1, h2 { letter-spacing: -.065em; line-height: 1.03; }
h1 { font-weight: 730; font-size: clamp(3.5rem, 6.75vw, 6.65rem); }
h1 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.065em; }
.hero h1 { margin-block: 26px 21px; line-height: .99; }
.period { color: #997400; }
.lead { color: var(--muted); font-size: clamp(1.09rem, 1.48vw, 1.32rem); line-height: 1.55; max-width: 37ch; }
.actions { gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 47px; padding: 10px 22px; border: 1px solid transparent; border-radius: 100px; font-weight: 700; font-size: .96rem; line-height: 1.3; transition: background-color .18s ease, transform .18s ease; }
.primary { color: var(--ink); background: var(--yellow); }
.primary:hover { background: #f5ce22; }
.outline { background: transparent; border-color: #a3aaa2; }
.outline:hover { background: #eaece4; }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .6; cursor: wait; }
.text-link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero-portrait { position: relative; margin-right: 8px; margin-bottom: 8px; }
.hero-portrait::before { content: ""; position: absolute; inset: 9px -8px -8px 9px; background: var(--yellow); }
.hero-portrait img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 1.32; object-fit: cover; object-position: 60% center; }
.playlist-feature { background: var(--ink); color: var(--paper); }
.feature-layout { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(28px, 5vw, 80px); padding-block: clamp(40px, 5vw, 72px); align-items: center; }
.feature-layout h2 { font-size: clamp(2.5rem, 4vw, 4.4rem); }
.feature-layout p { color: #d4d7ce; max-width: 38ch; margin-block: 14px 20px; }
.sample-songs { list-style: none; padding: 0; border-top: 1px solid #50554e; }
.sample-songs a { display: flex; gap: 16px; justify-content: space-between; align-items: baseline; padding-block: 16px; border-bottom: 1px solid #50554e; }
.sample-songs strong { font-size: 1.18rem; letter-spacing: -.035em; }
.sample-songs span { color: #c8cec4; font-size: .93rem; text-align: right; }
.sample-songs a:hover strong { color: var(--yellow); }
.footer { min-height: 98px; border-top: 1px solid var(--line); }
.footer > span { color: var(--muted); font-size: .9rem; }
.inner { padding-block: clamp(40px, 6vw, 88px); }
.inner h1 { margin-bottom: 26px; }
.about-layout, .contact-layout, .playlist-layout { display: grid; align-items: start; gap: clamp(28px, 5vw, 80px); }
.about-layout { grid-template-columns: 1.06fr 1fr; }
.about-layout p:not(.lead) { color: var(--muted); margin-block: 16px; max-width: 52ch; }
.about-art img { display: block; width: 100%; height: auto; }
.support-heading { font-size: 2rem; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-layout {
  grid-template-columns: .8fr 1.2fr;
  grid-template-areas: "intro form" "photo form";
  row-gap: 24px;
  align-content: start;
}
.contact-layout > div { grid-area: intro; }
.contact-layout > form { grid-area: form; }
.contact-photo { grid-area: photo; width: min(100%, 315px); }
.contact-photo img { width: 100%; height: auto; display: block; }
.hero, .inner, .playlist-feature { isolation: isolate; position: relative; }
.hero::before, .inner::before, .playlist-feature::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  mask: url("/waveform.svg") center / 100% 100% no-repeat;
  background: currentColor;
}
.hero::before {
  inset: auto 0 0 -3%;
  height: clamp(65px, 8.4vw, 135px);
  color: #b29236;
  opacity: .25;
}
.inner::before {
  top: 14px;
  right: 0;
  width: min(75%, 860px);
  height: 115px;
  color: #7d7759;
  opacity: .18;
}
.playlist-feature::before {
  inset: auto 0 0;
  height: 70px;
  color: var(--yellow);
  opacity: .15;
}
.panel { min-width: 0; padding: clamp(20px, 2.8vw, 38px); border: 1px solid var(--line); background: #fff; border-radius: 10px; }
.panel h2 { font-size: clamp(1.65rem, 2.5vw, 2.35rem); }
.fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
label { display: block; margin-bottom: 17px; font-size: .93rem; font-weight: 650; }
input:not([type=checkbox]), textarea { display: block; padding: 11px 12px; width: 100%; min-width: 0; margin-top: 5px; border: 1px solid #9ca59b; border-radius: 5px; background: #fff; color: var(--ink); }
textarea { resize: vertical; }
.attach { display: flex; align-items: center; gap: 9px; }
.attach input { width: 18px; height: 18px; accent-color: var(--ink); }
.status { margin-top: 14px; }
.playlist-layout { grid-template-columns: 1.06fr 1fr; gap: 20px; }
.playlist { position: sticky; top: 18px; background: #edf0e8; }
.playlist .actions { gap: 8px; }
.count, #empty, .status { color: var(--muted); }
#empty { padding-block: 18px 2px; }
.count { font-size: .94rem; }
.search-label { margin: 20px 0 0; }
.genres { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.genre, .track-btn { border: 1px solid #abb2a9; border-radius: 100px; background: transparent; padding: 7px 12px; font-size: .875rem; font-weight: 600; }
.genre[aria-pressed=true] { color: #fff; background: var(--ink); border-color: var(--ink); }
.track-btn:hover, .genre:hover:not([aria-pressed=true]) { background: #e8ece4; }
.track-btn:disabled, .track-btn[aria-disabled=true] { opacity: .55; cursor: default; }
#results { max-height: min(65vh, 42rem); overflow-y: auto; }
.songs { list-style: none; padding: 0; margin-top: 18px; }
.song { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-block: 12px; }
.song strong, .song small { display: block; overflow-wrap: anywhere; }
.song small { color: var(--muted); font-size: .9rem; }
.song-controls { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; flex-shrink: 0; max-width: 52%; }
details { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 15px; }
summary { font-weight: 700; }
details form { margin-top: 14px; }
@media (max-width: 750px) {
  .hero, .feature-layout, .about-layout, .contact-layout, .playlist-layout { grid-template-columns: minmax(0,1fr); }
  .hero { gap: 30px; padding-block: 32px 40px; }
  .hero h1 { font-size: clamp(3.7rem, 11vw, 5.6rem); margin-top: 19px; }
  .hero-portrait img { aspect-ratio: 1.5; object-position: center; }
  .inner h1 { font-size: clamp(3.15rem, 10vw, 4.8rem); }
  .playlist { position: static; }
  .contact-layout { grid-template-areas: "intro" "form" "photo"; }
  .contact-photo { justify-self: center; }
  .inner::before { width: 90%; height: 75px; }
  .hero::before { inset: 20px 0 auto; height: 60px; opacity: .16; }
  .header { min-height: 72px; }
  .header nav { gap: 14px; font-size: .9rem; }
  .header nav .nav-book { padding: 6px 13px; }
  .brand { gap: 7px; }
  .wordmark { font-size: 1.08rem; }
  .brand-head { width: 36px; height: 31px; }
  .footer { min-height: 78px; }
}
@media (max-width: 430px) {
  .wrap { width: calc(100% - 32px); }
  .fields { grid-template-columns: 1fr; }
  .header nav { gap: 10px; }
}
@media (max-width: 355px) {
  .header nav .nav-book { border: none; padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:active { transform: none; }
}

.rate-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 6vw, 80px); align-items: center; }
.rate-card { background: var(--ink); color: var(--paper); padding: clamp(28px, 4vw, 60px); font-size: 1.2rem; }
.rate-amount { color: var(--yellow); font-size: clamp(4rem, 9vw, 8rem); font-weight: 720; line-height: 1.1; letter-spacing: -.07em; }
.rate-extra { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #686d65; display: flex; justify-content: space-between; gap: 1rem; }
.rate-details h2 { font-size: 1.6rem; }
.rate-details p { color: var(--muted); margin: .5rem 0 1.5rem; max-width: 42ch; }
@media (max-width: 700px) { .rate-layout { grid-template-columns: 1fr; } }
@media (max-width: 440px) {
  .header { flex-wrap: wrap; gap: 6px; padding-block: 12px; }
  .header nav { width: 100%; justify-content: space-between; }
}
