/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

header {
    background-color: #000;
    color: #fff;
    padding: 1rem 1.5rem;
}

.site-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
}

header h1,
.brand-name {
    font-size: 2rem;
    margin: 0;
}

nav {
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

nav ul li {
    margin: 0 1rem;
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    opacity: 0.88;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.instagram-link img {
    width: 30px;
    height: 30px;
    display: block;
    border-radius: 7px;
}

.instagram-link:hover,
.instagram-link:focus-visible {
    opacity: 1;
    transform: scale(1.08);
}

.dropbtn {
    color: #fff;
    cursor: default;
    display: inline-block;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #111;
    list-style: none;
    min-width: 180px;
    padding: 0.5rem 0;
    display: none;
    z-index: 10;
    border-radius: 6px;
}

.dropdown-menu li {
    margin: 0;
    padding: 0.5rem 1rem;
}

.dropdown-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
}

@media (max-width: 600px) {
    .site-header {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand brand"
            "navigation instagram";
        row-gap: 0.5rem;
    }

    .brand {
        grid-area: brand;
        justify-content: center;
    }

    .brand-name {
        font-size: 1.5rem;
        white-space: nowrap;
    }

    nav {
        grid-area: navigation;
        grid-column: 1 / -1;
        justify-self: center;
        position: static;
        transform: none;
    }

    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .instagram-link {
        grid-area: instagram;
        grid-column: 1 / -1;
        justify-self: end;
        margin-left: 0;
        margin-right: 0.5rem;
    }

    .dropdown-menu {
        position: static;
        margin-top: 0.5rem;
    }

    main h1 {
        align-self: center;
        text-align: center;
        width: 100%;
    }
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.featured h3, .releases h2, .contact h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    text-align: center;
    width: 100%;
    align-self: center;
}

.featured,
.releases {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.site-intro {
    align-self: start;
    margin: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    padding: 1.25rem 1.5rem;
    color: #444;
    line-height: 1.7;
}

.artist-inline-layout {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 1.5rem;
}

.artist-hero {
    flex: 0 0 420px;
    width: 420px;
    max-width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.artist-hero img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #f1f1f1;
}

.release-grid-compact {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 0;
    width: auto;
}

.artist-bio {
    width: 100%;
    max-width: 900px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    padding: 1.25rem 1.5rem;
    margin: 0 0 1.5rem;
}

.artist-bio h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.artist-bio p {
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
}

.gigs {
    width: 100%;
    margin-top: 0.5rem;
}

.gigs h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.gig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
    align-items: stretch;
}

.gig-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    transition: transform 0.3s;
    width: 100%;
}

.gig-card:hover {
    transform: translateY(-5px);
}

.gig-label,
.gig-date-label {
    color: #666;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gig-card a {
    display: inline-block;
    color: #222;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0.2rem 0 1.25rem;
}

.gig-card time {
    display: block;
    color: #444;
    margin-top: 0.2rem;
}

.artist-grid, .release-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0 0;
    width: 100%;
    max-width: 1100px;
    justify-items: start;
    justify-content: start;
}

.artist-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

.artist-grid .artist-card {
    grid-column: span 2;
}

.artist-grid .site-intro {
    grid-column: 3 / 9;
}

.artist-card, .release-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    width: 100%;
    max-width: 280px;
}

@media (max-width: 900px) {
    .artist-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        justify-content: start;
    }

    .artist-grid .artist-card,
    .artist-grid .site-intro {
        grid-column: auto;
    }

    .release-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        justify-items: start;
        justify-content: start;
        width: 100%;
    }

    .gig-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .artist-inline-layout {
        flex-direction: column;
    }

    .artist-hero {
        flex: 0 0 auto;
        width: 100%;
    }

    .release-grid-compact {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .artist-grid {
        grid-template-columns: 1fr;
        width: 100%;
        justify-items: center;
        justify-content: center;
    }

    .release-grid {
        grid-template-columns: 1fr;
        width: 100%;
        justify-items: center;
        justify-content: center;
    }

    .gig-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .gig-card {
        max-width: 280px;
    }
}

.artist-card:hover, .release-card:hover {
    transform: translateY(-5px);
}

.artist-card img, .release-card img {
    width: 100%;
    height: auto;
    display: block;
}

.artist-link {
    display: block;
    text-decoration: none;
}

.artist-card h4, .release-card h3 {
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
}

.artist-card p, .release-card p {
    padding: 0 1rem 1rem;
    color: #666;
}

.contact {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact label {
    font-weight: bold;
}

.contact input, .contact textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.contact textarea {
    min-height: 150px;
}

.contact button {
    padding: 0.75rem;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.contact button:hover {
    background-color: #333;
}

.album-page {
    display: grid;
    grid-template-columns: minmax(240px, 340px) 1fr;
    gap: 2rem;
    align-items: start;
    margin: 2rem 0;
}

.album-art {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.album-art img {
    display: block;
    width: 100%;
    height: auto;
}

.album-meta {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
}

.album-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.album-meta h1 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 0.75rem;
}

.album-meta p {
    margin-bottom: 0.5rem;
    color: #444;
}

.album-meta audio {
    width: 100%;
    margin: 1rem 0 0.75rem;
}

.album-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.album-links a {
    display: inline-block;
    background: #000;
    color: #fff;
    text-decoration: none;
    padding: 0.7rem 1rem;
    border-radius: 6px;
}

.album-links a:hover {
    background: #333;
}

.album-details {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.album-details h2,
.album-details h3 {
    margin-bottom: 0.75rem;
}

.album-details p,
.album-details li {
    color: #444;
    margin-bottom: 0.5rem;
}

.album-details ol {
    padding-left: 1.25rem;
}

.album-lower {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.album-lower .album-details {
    margin-bottom: 0;
}

.ep-navigation {
    position: static;
    left: auto;
    transform: none;
    display: block;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
}

.ep-navigation h2 {
    margin-bottom: 1rem;
}

.ep-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.ep-grid a {
    display: block;
    border: 3px solid transparent;
    border-radius: 6px;
    overflow: hidden;
}

.ep-grid a:hover,
.ep-grid a:focus-visible,
.ep-grid a[aria-current="page"] {
    border-color: #000;
}

.ep-grid img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 760px) {
    .album-page {
        grid-template-columns: 1fr;
    }

    .album-lower {
        grid-template-columns: 1fr;
    }
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #000;
    color: #fff;
    margin-top: 2rem;
}