:root {
  --text: #111;
  --muted: #6b6b6b;
  --link: #3b82f6;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
}

main,
footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

main {
  padding-top: 2.5rem;
}

footer {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
  color: var(--muted);
  font-size: 0.9em;
}

h1 {
  font-size: 2em;
  line-height: 1.15;
  margin: 0 0 0.25rem;
}

h2 {
  font-size: 1.25em;
  margin: 2.25rem 0 0.75rem;
}

p {
  margin: 0 0 1em;
}

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

/* Header: name + links on the left, small portrait on the right */
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.tagline {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.portrait {
  flex: none;
  width: 14rem;
  height: 14rem;
  object-fit: cover;
  border-radius: 4px;
}

.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.links a {
  display: inline-flex;
  padding: 0.15rem;
  color: #9a9a9a;
  text-decoration: none;
}

.links a:hover {
  color: var(--text);
}

.links svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

/* Two-column rows: a short label (outlet, venue, or date) and the entry */
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rows li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  column-gap: 1rem;
  padding: 0.3rem 0;
}

.label {
  color: var(--muted);
}

.date {
  color: var(--muted);
  font-size: 0.9em;
  white-space: nowrap;
}

.date::before {
  content: "\00b7\00a0";
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  main {
    padding-top: 1.75rem;
  }

  .intro {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1rem;
  }

  .portrait {
    width: 10rem;
    height: 10rem;
  }

  .rows li {
    grid-template-columns: 1fr;
    padding: 0.45rem 0;
  }
}
