body {
  margin: 0;
  padding: 0;
  background: #f6f3ee;
  color: #1a1a1a;
  font-family: "EB Garamond", serif;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 6rem 1.5rem 6rem;
}

nav {
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  margin-bottom: 4rem;
}

nav a {
  margin-right: 2rem;
  text-decoration: none;
  color: #6b6b6b;
}

nav a.active {
  color: #7a1e1e;
  text-decoration: underline;
}

.date {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #8a8a8a;
  margin-bottom: 1rem;
}

.rule {
  width: 50%;
  height: 1px;
  background: #bcb7b0;
  margin: 1.5rem 0;
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
}

/* Base paragraphs (prose + general copy) */
p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
  overflow-wrap: anywhere; /* prevents awkward horizontal overflow on phones */
  word-break: normal;
}

footer {
  margin-top: 6rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: #9a9a9a;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.archive-entry {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-top: 1.5rem;
}

/* Lyrics: slightly more present on desktop without touching prose */
.lyric p {
  font-size: 1.12rem;
  line-height: 1.75;
  margin-bottom: 0.6rem;
}

.section-gap {
  height: 1.4rem;
}

/* Mobile tuning */
@media (max-width: 640px) {
  main {
    padding: 2.25rem 1.1rem 4rem;
  }

  nav {
    margin-bottom: 2.5rem;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
  }

  nav a {
    margin-right: 1.2rem;
  }

  h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  /* Slight bump for readability on phones */
  p {
    font-size: 1.06rem;
    line-height: 1.68;
  }

  /* Prevent lyric entries from feeling “randomly huge” on phones */
  .lyric p {
    font-size: 1.06rem;      /* keep aligned with body size */
    line-height: 1.72;
    margin-bottom: 0.75rem;  /* readability without ballooning */
  }

  .section-gap {
    height: 1.05rem;         /* reduces excess vertical “bigness” */
  }

  .rule {
    width: 70%;
  }

  footer {
    margin-top: 4rem;
  }
}
