:root {
  color-scheme: light;
  --text: #111;
  --muted: #555;
  --line: #e2e2e2;
  --soft: #f7f7f7;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfbfb;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img,
audio {
  display: block;
  max-width: 100%;
}

audio {
  width: min(360px, 100%);
  min-width: 260px;
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  padding: 46px 0 8px;
  background: #fff;
}

.venue {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 3.6vw, 2.65rem);
  line-height: 1.12;
  font-weight: 400;
}

h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 1.75rem;
  line-height: 1.2;
}

h2::before {
  content: "";
  width: 5px;
  height: 1.1em;
  background: var(--text);
}

h3 {
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.section {
  padding: 0 0 32px;
  background: #fff;
}

.section .container {
  position: relative;
  padding-top: 30px;
}

.section .container::before {
  content: "";
  display: block;
  width: min(360px, 42vw);
  height: 2px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--text) 0 58px, var(--line) 58px 100%);
}

.section p {
  max-width: 920px;
}

.page-intro,
.section-note {
  color: var(--muted);
}

.figure-block {
  margin-bottom: 0;
  background: #fff;
}

.figure-block img {
  width: 100%;
  background: #fff;
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.figure-block figcaption {
  text-align: center;
}

.sample {
  padding-top: 24px;
  margin-top: 24px;
}

.sample + .sample {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th:nth-child(n+3),
td:nth-child(n+3) {
  text-align: center;
}

th:nth-child(2) {
  text-align: center;
}

th {
  background: #f1f1f1;
  font-weight: 700;
}

tbody tr {
  transition: background-color 150ms ease;
}

tbody tr:hover {
  background: #fafafa;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td:first-child,
th:first-child {
  width: 150px;
}

td:nth-child(2),
th:nth-child(2) {
  width: 330px;
}

.spectrogram-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.spectrogram-grid figure {
  margin-bottom: 0;
  background: #fff;
}

.spectrogram-grid img {
  width: 100%;
}

.spectrogram-grid figcaption {
  margin-top: 8px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.site-footer {
  padding: 0 0 30px;
  color: var(--muted);
  font-size: 0.92rem;
  background: #fff;
}

.site-footer .container {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.site-footer ul {
  max-width: 920px;
  margin: 0;
  padding-left: 1.2rem;
}

.site-footer li {
  padding-left: 0.2rem;
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .site-header {
    padding-top: 42px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--max-width), calc(100% - 28px));
  }

  .section {
    padding-bottom: 28px;
  }

  .section .container {
    padding-top: 26px;
  }

  .section .container::before {
    width: min(260px, 58vw);
    margin-bottom: 20px;
  }

  .sample {
    padding: 18px 14px;
  }

  .spectrogram-grid {
    grid-template-columns: 1fr;
  }
}
