body {
  margin: 0;
  background: #d9d9d9;
  font-family: Futura, "Century Gothic", Arial, sans-serif;
  min-height: 100vh;
  text-align: left;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

ul {
  list-style-type: none;
}

/* ─── Typography ─── */
h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 400;
}

h1.initials {
  margin: 0;
  font-size: 2rem;
  font-weight: 400;
}

h3 {
  max-width: 700px;
  margin: 2rem auto 1rem auto;
  padding: 0 20px;
}

p {
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
  padding: 0 20px;
  line-height: 1.6;
  font-size: 1rem;
  text-align: left;
}

/* ─── Links ─── */
a {
  text-decoration: none;
  color: #000;
  font-size: 1.2rem;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.5;
}

/* ─── Logo ─── */
.logo-link {
  text-decoration: none;
  color: inherit;
}

.logo-link:visited {
  color: inherit;
}

.logo-link:hover {
  opacity: 0.7;
}

/* ─── Header ─── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  position: relative;
}

/* ─── Nav ─── */
nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #000;
  font-size: 1.2rem;
  transition: opacity 0.3s ease;
}

nav a:hover {
  opacity: 0.5;
}

/* ─── Burger ─── */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 100;
}

.burger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #000;
  transition: all 0.3s ease;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Album ─── */
.album {
  max-width: 700px;
  margin: 2rem auto;
  padding: 0 20px;
}

.album img {
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 1rem auto;
}

.album-links {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 20px;
  font-size: 0.4rem;
}

.fab {
  font-size: 28px;
  color: #000000;
  transition: color 0.2s ease;
}

.fab:hover {
  color: #000;
}
/* ─── Mobile ─── */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    align-items: center;
    padding: 15px 20px;
  }
  #ascii {
    font-size: 0.5rem;
  }
  .burger {
    display: flex;
  }

  nav {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    transform: none;
    width: 100%;
    background: #d9d9d9;
    padding: 1rem 0;
    z-index: 99;
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}

#ascii,
#media {
  padding-top: 20px;
  display: block;
  margin: 0 auto;
  width: fit-content;
}

article a {
  display: block; /* makes it respect text-align */
  text-align: center; /* centres it */
  font-size: 1rem; /* smaller than the global 1.2rem */
  margin-top: 0.5rem; /* small gap above the link */
}
img {
  display: block;
  margin: 1.7rem auto;
  max-width: 100%;
}
