@font-face {
  font-family: Platypi;
  src: url("fonts/Platypi-VariableFont_wght.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: Literata;
  src: url("fonts/Literata72pt-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #111;
  --blue: #9abceb;
  --pale-blue: #f0f5fb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 1.15rem/1.35 Literata, Georgia, serif;
}
a { color: inherit; text-underline-offset: .18em; }
a:focus-visible { outline: 2px solid #163b72; outline-offset: 4px; }
.skip-link { position: absolute; top: .5rem; left: .5rem; padding: .5em 1em; background: white; z-index: 1; }
.skip-link:not(:focus) { clip-path: inset(50%); }
.masthead {
  background: var(--blue);
  border-radius: clamp(2rem, 8vw, 8rem);
  padding: clamp(1.25rem, 2vw, 2.4rem) clamp(1.5rem, 4.9vw, 5rem) clamp(1.5rem, 3.2vw, 3.5rem);
}
.site-title, .tagline { margin: 0; }
.site-title {
  font: 800 clamp(2.4rem, 7.7vw, 7.5rem)/1.02 Platypi, Georgia, serif;
  letter-spacing: -.025em;
}
.site-title a, nav a { text-decoration: none; }
nav a:hover, nav a:focus-visible { text-decoration: underline; }
.tagline { margin-top: .35rem; font-size: clamp(1rem, 2.55vw, 2.3rem); }
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem clamp(1rem, 3.9vw, 3.1rem);
  list-style: none;
  padding: .7rem clamp(1rem, 1.6vw, 2rem);
  margin: 0;
}
nav a { display: inline-block; padding-block: .1rem; }
.divider { display: flex; align-items: center; gap: .8rem; color: #333; font-size: 1.55rem; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 2px dotted #b8b8b8; }
.divider span { filter: grayscale(1) brightness(.42); }
main { margin: 1.8rem auto 0; padding-inline: clamp(1rem, 1.6vw, 2rem); max-width: 100rem; }
h1 {
  margin: 0 auto 1.9rem;
  padding-inline: .5rem;
  width: 96%;
  background: linear-gradient(90deg, #fff, var(--pale-blue));
  font: 750 clamp(2rem, 3.75vw, 3.6rem)/1.14 Platypi, Georgia, serif;
}
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.portrait { display: block; width: 100%; height: auto; box-shadow: 0 .45rem 1.15rem #0003; }
.intro-copy {
  padding: clamp(1rem, 2.5vw, 2.4rem) .75rem;
  border: 1px solid #aaa;
  border-radius: 10px;
  box-shadow: inset 0 0 .6rem #0001;
  font-size: clamp(1rem, 1.73vw, 1.6rem);
  line-height: 1.3;
}
.intro-copy p { margin: 0; }
.intro-copy p + p { margin-top: clamp(1.25rem, 4.8vw, 4rem); }
footer { margin-top: 3rem; padding: 1.1rem 1rem; border-top: 1px dotted #aaa; text-align: center; font-size: .95rem; }
@media (max-width: 44rem) {
  .masthead { display: block; }
  .intro { grid-template-columns: 1fr; }
  .portrait { max-width: 27rem; justify-self: center; }
  h1 { width: 100%; margin-bottom: 1rem; }
}


.record-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 1.5rem; }
.record-card { max-width: 24rem; }
.record-card img, .record-cover { display: block; width: 100%; height: auto; }
.record-card a { text-decoration: none; }
.record-card a:hover h2 { text-decoration: underline; }
.record-card h2 { margin: .65rem 0 .25rem; font: 700 1.25rem Platypi, Georgia, serif; }
.record-card time { font-size: .9rem; }
.record-title { width: 100%; padding: .5rem .85em; border-radius: 25px; background: #687687; color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.45rem); }
.record-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: clamp(1rem, 3vw, 2.5rem);
}
.record-cover { align-self: start; }
.record-description {
  padding: clamp(1rem, 2vw, 1.65rem);
  border: 1px solid #bcc8d6;
  border-radius: .65rem;
  background: #f9fbfe;
  box-shadow: 0 .35rem 1rem #26364d1a;
  font-size: clamp(1rem, 1.75vw, 1.5rem);
}
.record-description p { margin: 0 0 .65rem; }
.record-description p:last-child { margin-bottom: 0; }
.record-tracks {
  display: grid;
  gap: .75rem;
  margin-top: 1.5rem;
}
.record-tracks > section {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) minmax(0, 2fr);
  align-items: center;
  gap: .45rem 1.25rem;
  padding: .65rem 1rem;
  border: 1px solid #d5dfe9;
  border-radius: .65rem;
  background: #f9fbfe;
}
.record-tracks h2 { margin: 0; font: 650 1.05rem Platypi, Georgia, serif; }
.record-tracks audio { display: block; width: 100%; }
.record-back { margin-top: 1.5rem; }
@media (max-width: 44rem) {
  .record-layout, .record-tracks > section { grid-template-columns: 1fr; }
  .record-cover { max-width: 22rem; }
}

.record-description .record-date { font-size: .9rem; color: #464e57; }
.record-card img { aspect-ratio: 1; object-fit: cover; }

.record-tracks > section {
  border-color: #aebfd8;
  background: #edf3fb;
  box-shadow: 0 .15rem .35rem #283e6320;
}
.record-tracks audio[hidden] { display: none; }
.lcd-player {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(4.5rem, 6rem);
  gap: .55rem;
  align-items: center;
  color: #233951;
}
.lcd-play {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: #f6f9fd;
  color: #233951;
  border: 1px solid #859bb8;
  border-radius: .4rem;
  font: 700 1rem system-ui, sans-serif;
  cursor: pointer;
}
.lcd-play:hover { background: var(--blue); }
.lcd-display {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(2rem, 1fr) auto;
  align-items: center;
  gap: .65rem;
  background: #dce8f8;
  border: 1px solid #9eb4d2;
  border-radius: .35rem;
  box-shadow: inset 0 1px 5px #314f7524;
  padding: .3rem .6rem;
}
.lcd-clock, .lcd-volume {
  font: .85rem/1.2 ui-monospace, Consolas, monospace;
  white-space: nowrap;
}
.lcd-volume { display: grid; gap: .05rem; }
.lcd-player input { width: 100%; margin: 0; min-height: 1.6rem; accent-color: #355c89; }
.lcd-error { grid-column: 1 / -1; margin: 0; color: #722e23; font: .9rem system-ui, sans-serif; }
@media (max-width: 30rem) {
  .lcd-player { grid-template-columns: auto minmax(0, 1fr); }
  .lcd-volume { grid-column: 2; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .5rem; }
}
@media (max-width: 22rem) {
  .lcd-display { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

