/* Colors and fonts for the whole site. Change a color once here and it
   changes everywhere. */
:root {
  --background: #121a1b;
  --panel: #1a2526;
  --text: #f1ece8;
  --muted: #a9b8b6;
  --accent: #f08a80;
  --line: #2a3839;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

/* Header: the water photo with the name on top. The dark wash keeps the
   name readable. */
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(11rem, 30vw, 18rem);
  padding: 2rem 1.25rem 4.5rem;
  background-color: var(--panel);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 100vmax rgba(14, 22, 24, 0.38);
  text-align: center;
}

.site-title {
  color: #fff;
  font-size: clamp(2rem, 8vw, 4.25rem);
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.page {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  text-align: center;
}

.page-centered {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3rem;
}

/* The round photo that overlaps the bottom of the header. */
.portrait {
  display: block;
  width: clamp(8rem, 28vw, 11rem);
  height: auto;
  aspect-ratio: 1;
  margin: -4rem auto 1.75rem;
  border: 4px solid var(--background);
  border-radius: 50%;
  object-fit: cover;
  background: var(--panel);
}

.page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 5vw, 2.25rem);
  font-weight: normal;
  letter-spacing: 0.04em;
}

.note {
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  color: var(--muted);
  font-style: italic;
}

.player {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--panel);
}

.player iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.listen-link {
  margin: 0.9rem 0 0;
  font-size: 0.95rem;
}

.site-footer {
  padding: 1.5rem 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer strong {
  color: var(--text);
  font-weight: normal;
}
