:root {
    --color-paper: #e9e9e6;
    --color-dark: #121212;
    --color-accent: #A6FF00;
    --color-concrete: #777777;

    --page-gap: clamp(12px, 3vw, 40px);
    --content-width: 1440px;

}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: "IBM Plex Mono", monospace;
}
.page-background {
    min-height: 100vh;
    padding: var(--page-gap);

    background-image:
    linear-gradient(
      rgb(0 0 0 / 25%),
      rgb(0 0 0 / 25%)
    ), url(../media/background4.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.site-container {
    width: 100%;
    max-width: var(--content-width);
    min-height: calc(100vh - var(--page-gap) * 2);
    margin-inline: auto;
    /* padding: clamp(20px, 4vw, 56px); */

    background: var(--color-paper);
}
.header {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 16px clamp(8px, 2.5vw, 24px) 36px clamp(8px, 2.5vw, 24px);
    gap: 4px;

    background-color: var(--color-dark);
}
.header-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.header-word {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--color-paper);
  text-decoration: none;
}
.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    padding: 0px 16px;
}
.header-nav {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(4px, 1vw, 8px);
}
.header-button {
    display: inline-flex;
    align-items: center;
    padding: clamp(6px, 0.7vw, 10px)
           clamp(8px, 1vw, 14px);


    font-family: "IBM Plex Mono", monospace;
    font-size: clamp(11px, 1vw, 14px);
    line-height: 1.4;
    color: var(--color-paper);
    text-decoration: none;

    white-space: nowrap;

    transition:
        background-color 200ms ease,
        color 200ms ease,
        border-color 200ms ease;
}
.header-button:hover {
    background-color: #222222;
}
.last-updated {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    font-family: "IBM Plex Mono", monospace;
    font-size: clamp(11px, 1vw, 14px);
    white-space: nowrap;
}
.updated-label {
  color: #99958C;
  letter-spacing: 0.08em;
}
.last-updated time {
  color: var(--color-paper);
}

@media (max-width: 480px) {
  .header {
    padding-bottom: 16px;
    gap: 20px;
  }

  .header-bottom {
    padding: 0;
  }

  .header-bottom {
    align-items: flex-start;
    gap: 16px;
  }

  .header-nav {
    gap: 0px;
  }

  .header-button {
    padding: 7px 8px;
    font-size: 11px;
  }

  .last-updated {
    font-size: 10px;
  }
}




/* =========================
   ALBUMS SECTION
========================= */

.albums-section {
    padding: clamp(16px, 2vw, 28px);
}

.albums-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;

    margin-bottom: 14px;
    padding-bottom: 10px;

    border-bottom: 1px solid var(--color-concrete);

    font-family: "IBM Plex Mono", monospace;
    font-size: clamp(10px, 0.85vw, 13px);
    text-transform: uppercase;
}

/* =========================
   GRID
========================= */

.album-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(220px, auto);
    gap: clamp(8px, 1vw, 14px);
}

/* =========================
   ALBUM CARDS
========================= */

.album-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-width: 0;
    min-height: 220px;
    padding: clamp(12px, 1.2vw, 18px);

    position: relative;
    overflow: hidden;

    background: var(--color-paper);
    border: 1px solid #aaa9a3;
    color: var(--color-dark);
}

.album-featured {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 454px;
}

.album-top,
.album-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;

    font-family: "IBM Plex Mono", monospace;
    font-size: clamp(9px, 0.75vw, 11px);
    text-transform: uppercase;
}

.album-bottom {
    align-items: flex-end;
    margin-top: 16px;
}

.album-label,
.album-number,
.album-bottom span {
    min-width: 0;
}

.album-number {
    flex-shrink: 0;
    color: var(--color-concrete);
}

.album-card h2 {
    position: relative;
    z-index: 1;

    margin: 10px 0;
    max-width: 100%;

    font-family: "Archivo Black", sans-serif;
    font-size: clamp(19px, 2vw, 30px);
    line-height: 0.92;
    letter-spacing: -0.055em;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.album-featured h2 {
    font-size: clamp(34px, 4.4vw, 68px);
}

/* =========================
   ARTWORK PLACEHOLDERS
========================= */

.album-art {
    display: flex;
    justify-content: center;
    align-items: center;

    align-self: flex-end;
    flex-shrink: 0;

    width: clamp(80px, 38%, 150px);
    aspect-ratio: 1 / 1;

    margin-top: auto;

    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    text-align: center;
    letter-spacing: 0.06em;
}
.album-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.album-art span {
    padding: 8px;
}

.album-featured .album-art {
    width: min(65%, 340px);
    margin-top: 24px;
}

.album-featured .album-art span {
    font-size: clamp(11px, 1vw, 14px);
}

.album-top--empty {
    min-height: 1em;
    visibility: hidden;
}

/* Temporary colors */


.art-orange {
    background: #d17c42;
    color: #121212;
}

.art-blue {
    background: #667b8b;
    color: #f1eee7;
}

.art-green {
    background: #82916a;
    color: #121212;
}

.art-purple {
    background: #9b8baa;
    color: #121212;
}

.art-red {
    background: #a8483d;
    color: #f1eee7;
}

.art-yellow {
    background: #d4bc62;
    color: #121212;
}

.art-pink {
    background: #c28e9c;
    color: #121212;
}

.art-dark {
    background: #343434;
    color: #f1eee7;
}

/* =========================
   TABLET
========================= */

@media (max-width: 800px) {
    .album-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(200px, auto);
    }

    .album-featured {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 360px;
    }

    .album-featured h2 {
        font-size: clamp(38px, 7vw, 58px);
    }

    .album-card h2 {
        font-size: clamp(20px, 3vw, 28px);
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {
    .albums-section {
        padding: 12px;
    }

    .albums-heading {
        align-items: flex-start;
        font-size: 9px;
    }

    .album-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        grid-auto-rows: minmax(170px, auto);
    }

    .album-card {
        min-height: 170px;
        padding: 10px;
    }

    .album-featured {
        min-height: 300px;
    }

    .album-featured h2 {
        font-size: clamp(32px, 9vw, 44px);
    }

    .album-card h2 {
        font-size: clamp(17px, 4.5vw, 22px);
    }

    .album-top,
    .album-bottom {
        font-size: 9px;
    }

    .album-art {
        width: 42%;
        min-width: 65px;
    }

    .album-featured .album-art {
        width: 65%;
    }
}