@font-face { font-family: "Lato"; src: url("/fonts/Lato-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/fonts/Lato-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/fonts/Lato-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Playfair"; src: url("/fonts/PlayfairDisplay.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }

:root {
  --paper: #f3f2ee;
  --paper-deep: #e7e5df;
  --ink: #000000;
  --muted: #5a5854;
  --rule: #cfcbc1;
  --red: #c8102e;
  --red-ink: #a20d25;
  --measure: 62ch;
  --gutter: clamp(16px, 4vw, 48px);
  --sans: "Lato", "Segoe UI", Arial, sans-serif;
  --serif: "Playfair", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { background: var(--paper); color: var(--ink); }

body {
  margin: 0;
  font: 400 17px/1.55 var(--sans);
  padding-inline: var(--gutter);
  padding-block: 0 4rem;
  max-width: 76rem;
  margin-inline: auto;
}

a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { color: var(--red-ink); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: 1.75rem; line-height: 1.15; margin-bottom: 1.25rem; }
h3 { font-size: 1.3rem; line-height: 1.2; }
h3 a { text-decoration: none; }
h3 a:hover { text-decoration: underline; }

p { margin: 0 0 1em; max-width: var(--measure); }

.masthead {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem;
  padding-block: 1.4rem 1.2rem;
  border-bottom: 2px solid var(--ink);
}
.wordmark { font-weight: 900; font-size: 1.25rem; letter-spacing: -0.02em; text-decoration: none; }
.masthead nav { display: flex; gap: 1.5rem; }
.masthead nav a { text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; }

.hero { padding-block: clamp(3rem, 8vw, 6rem) 2rem; }
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  line-height: 1.02;
  max-width: 14ch;
  margin-bottom: 1.25rem;
}
.lead { font-size: 1.25rem; line-height: 1.45; max-width: 44ch; }

section { padding-block: 2.5rem; border-top: 1px solid var(--rule); }
.hero { border-top: 0; }

.discs {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}
.discs.small { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.disc-card .disc-link { display: inline-block; margin-bottom: 0.9rem; }
.disc { display: block; width: 100%; max-width: 240px; height: auto; }
.discs.small .disc { max-width: 120px; }
.disc-card h3 { margin-bottom: 0.3rem; }
.disc-card .who { color: var(--muted); margin-bottom: 0.4rem; }
.disc-card .last { font-size: 0.95rem; margin: 0; }
.discs.small .who { font-size: 0.9rem; margin: 0; }

.count { color: var(--muted); margin-top: -0.75rem; }

.catalogue { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.catalogue th { text-align: left; font-weight: 700; padding: 0 0.75rem 0.6rem 0; border-bottom: 2px solid var(--ink); }
.catalogue td { padding: 0.8rem 0.75rem 0.8rem 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.catalogue .number { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.catalogue .date { white-space: nowrap; color: var(--muted); }
.catalogue .song { display: flex; align-items: center; gap: 0.9rem; }
.catalogue .song img { width: 56px; height: 56px; flex: none; }
.catalogue .song strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
.catalogue .theme { color: var(--muted); font-size: 0.9rem; display: block; max-width: 48ch; }
.catalogue .length { font-variant-numeric: tabular-nums; color: var(--muted); }
.catalogue .play { white-space: nowrap; }
.catalogue .play a { display: inline-block; padding-block: 0.6rem; }
.catalogue .short { color: var(--muted); }
.catalogue .short::before { content: "/ "; }

.channel-head {
  display: grid; grid-template-columns: minmax(180px, 320px) 1fr; gap: 2.5rem 3rem; align-items: center;
  padding-block: 3rem;
}
.channel-head .disc.big { max-width: 320px; }
.breadcrumb { margin-bottom: 0.75rem; }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a::before { content: "\2190\00a0"; }
.breadcrumb a:hover { color: var(--red-ink); text-decoration: underline; }
.channel-head h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.05; margin-bottom: 0.5rem; }
.channel-intro .who { font-size: 1.1rem; margin-bottom: 0.75rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.button {
  display: inline-block; background: var(--red); color: #fff; text-decoration: none;
  font-weight: 700; padding: 0.7rem 1.2rem; border-radius: 4px;
}
.button:hover { background: var(--red-ink); color: #fff; }
.handle { color: var(--muted); }

.about p { font-size: 1.05rem; }

.song-head {
  display: grid; grid-template-columns: minmax(140px, 240px) 1fr; gap: 2rem 3rem; align-items: center;
  padding-block: 3rem;
}
.song-head .cover { display: block; width: 100%; max-width: 240px; height: auto; border: 1px solid var(--rule); }
.song-head h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.05; margin-bottom: 0.5rem; }

.lyrics .verse { font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; margin-bottom: 1.5rem; max-width: 40ch; }
.lyrics .label { display: block; font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }

.tracklist { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.tracklist li { padding-block: 0.55rem; border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; }
.tracklist .date { color: var(--muted); font-size: 0.95rem; white-space: nowrap; }

.player { position: relative; width: 100%; max-width: 860px; aspect-ratio: 16 / 9; background: var(--paper-deep); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.caption { margin-top: 1rem; color: var(--muted); }
.caption strong { color: var(--ink); font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }

.colophon { border-top: 2px solid var(--ink); padding-top: 1.5rem; margin-top: 1rem; font-size: 0.95rem; color: var(--muted); }
.colophon a { color: var(--ink); }
.colophon .channels-line { max-width: none; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .discs, .discs.small { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.25rem; }
  .masthead nav { gap: 1rem; font-size: 0.95rem; }
  .channel-head, .song-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .channel-head .disc.big { max-width: 200px; }
  .song-head .cover { max-width: 160px; }
  .catalogue, .catalogue tbody, .catalogue tr, .catalogue td { display: block; }
  .catalogue thead { display: none; }
  .catalogue tr { padding-block: 0.9rem; border-bottom: 1px solid var(--rule); }
  .catalogue td { border: 0; padding: 0.15rem 0; }
  .catalogue .number { display: inline; padding-right: 0.5rem; }
  .catalogue .date { display: inline; }
  .catalogue .song { padding-block: 0.5rem; }
  .catalogue .channel::before { content: "Kanał: "; color: var(--muted); }
  .catalogue .length::before { content: "Czas: "; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
