:root {
    --bg: #ffffff;
    --panel: #ffffff;
    --panel-soft: #fafafa;
    --text: #666666;
    --heading: #6a6a6a;
    --link: #5f7faa;
    --active: #ff6600;
    --line: #d9d9d9;
    --line-soft: #ececec;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(1140px, calc(100% - 30px));
    margin: 0 auto;
}

.site-header {
    background: #ffffff;
    padding: 0;
    border-bottom: 0;
    position: static;
}

.site-header::before {
    content: "";
    display: block;
    height: 148px;
    max-width: 1140px;
    margin: 0 auto;
    background: url('images/header-banner.png') no-repeat center top;
    background-size: contain;
}

.site-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.main-nav {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    background: #ffffff;
}

.main-nav a {
    display: inline-block;
    padding: 10px 22px;
    color: var(--link);
    font-size: 13px;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--active);
    background: #f2f2f2;
}

.site-main {
    min-height: calc(100vh - 240px);
    padding: 30px 0 60px;
}

.page-head {
    text-align: center;
    margin-bottom: 26px;
}

.page-head h2 {
    margin: 0 0 10px;
    font-size: 2rem;
    font-weight: normal;
    color: var(--heading);
}

.page-head p {
    margin: 0;
    color: #8a8a8a;
}


.page-head.page-head-left {
    text-align: left;
    margin-bottom: 18px;
}

.bio-layout {
    display: flex;
    align-items: flex-start;
    gap: 42px;
}

.bio-image {
    flex: 0 0 390px;
}

.bio-image img {
    display: block;
    width: 100%;
    height: auto;
}

.bio-text {
    flex: 1 1 auto;
    min-width: 0;
}

.bio-text p {
    margin: 0 0 14px;
}

.hero,
.content-box {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 0;
    padding: 24px;
    box-shadow: none;
}

.hero {
    background: var(--panel-soft);
    margin-bottom: 24px;
}

.hero h2,
.content-box h3 {
    margin-top: 0;
    color: var(--heading);
    font-weight: normal;
}

.hero p,
.content-box p,
.content-box li {
    color: var(--text);
}

.button-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.button {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #cfd8e3;
    border-radius: 3px;
    background: #edf2f8;
    color: #4f6f97;
    font-weight: bold;
}

.button:hover {
    background: #e5ecf5;
    color: #3f5f87;
}

.button.secondary {
    background: #f6f6f6;
    color: #666666;
    border-color: #d7d7d7;
}

.button.secondary:hover {
    background: #efefef;
    color: #555555;
}

.content-box + .content-box {
    margin-top: 20px;
}

.notice {
    margin-top: 16px;
    padding: 14px 16px;
    background: #fff7ee;
    border: 1px solid #f0d1ab;
    border-radius: 3px;
    color: #8d6632;
}

.site-footer {
    background: #ffffff;
    border-top: 1px dotted #9f9f9f;
    padding: 26px 0 48px;
    text-align: center;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--link);
}

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

.footer-copy,
.footer-credit {
    margin: 4px 0;
    color: #6d86ab;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.back-link {
    display: inline-block;
    margin-bottom: 25px;
    padding: 10px 14px;
    background: #f7f7f7;
    border: 1px solid var(--line);
    border-radius: 3px;
    color: var(--link);
}

.back-link:hover {
    color: var(--active);
    border-color: #bcc8d7;
    background: #f2f2f2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.gallery-card,
.image-item,
.empty-state {
    display: block;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gallery-card:hover,
.image-item:hover {
    transform: translateY(-2px);
    border-color: #bcc8d7;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.gallery-card img,
.image-item img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: #efefef;
}

.gallery-card-body {
    padding: 14px 16px 18px;
}

.gallery-card-title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: var(--heading);
    word-break: break-word;
}

.gallery-card-meta,
.image-caption,
.empty-state {
    color: #838383;
}

.gallery-card-meta {
    margin: 0;
    font-size: 0.95rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.image-item {
    cursor: pointer;
}

.image-caption {
    padding: 10px 12px;
    font-size: 0.92rem;
    text-align: center;
    word-break: break-word;
}

.empty-state {
    padding: 30px;
    text-align: center;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-inner {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    text-align: center;
}

.lightbox img {
    max-width: 95vw;
    max-height: 82vh;
    border-radius: 6px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
    margin-top: 12px;
    color: #dddddd;
    word-break: break-word;
}

.lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: #ffffff;
    color: #333333;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 900px) {
    .bio-layout {
        gap: 28px;
    }

    .bio-image {
        flex-basis: 320px;
    }
}

@media (max-width: 800px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .bio-layout {
        flex-direction: column;
    }

    .bio-image {
        flex: none;
        width: min(100%, 390px);
    }
}

@media (max-width: 700px) {
    .container {
        width: min(1140px, calc(100% - 20px));
    }

    .site-header::before {
        height: 92px;
        background-size: cover;
    }

    .main-nav a {
        padding: 10px 14px;
        font-size: 12px;
    }

    .page-head h2,
    .hero h2 {
        font-size: 1.6rem;
    }

    .gallery-card img,
    .image-item img {
        height: 210px;
    }
}


.notice-warning {
    white-space: pre-line;
    margin-bottom: 18px;
    background: #fff3e8;
    border-color: #e5c6a4;
}

.notice-soft {
    background: #f8fafc;
    border-color: #dbe5f0;
}

.compact-box {
    padding: 16px 18px;
}

.small-notice {
    margin-top: 12px;
    font-size: 0.95rem;
}

.discography-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.toolbar-buttons {
    margin-top: 0;
}

.featured-release {
    display: flex;
    gap: 28px;
    align-items: stretch;
    margin: 24px 0;
    padding: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #fbfbfb 0%, #f4f6f9 100%);
}

.featured-release-image {
    flex: 0 0 280px;
}

.featured-release-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid var(--line);
    background: #ffffff;
}

.featured-release-content {
    flex: 1 1 auto;
    min-width: 0;
}

.featured-release-content h3 {
    margin: 6px 0 12px;
    font-size: 2rem;
    line-height: 1.15;
    color: var(--heading);
    font-weight: normal;
}

.release-kicker {
    color: var(--active);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: bold;
}

.featured-release-meta,
.release-meta-line {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0 0 12px;
    color: #7a7a7a;
    font-size: 0.95rem;
}

.featured-release-artists,
.release-artists {
    margin: 0 0 14px;
    color: #5d6d82;
}

.discography-filterbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.discography-filter {
    appearance: none;
    border: 1px solid #d7e1eb;
    background: #f4f7fb;
    color: #5b7393;
    padding: 9px 14px;
    cursor: pointer;
    font-size: 0.95rem;
}

.discography-filter:hover,
.discography-filter.active {
    background: #e8eef6;
    color: #3f5f87;
    border-color: #c8d5e4;
}

.release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 20px;
}

.release-card {
    background: #ffffff;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
}

.release-card-cover img,
.release-cover-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f3f3f3;
}

.release-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9a9a9a;
    border-bottom: 1px solid var(--line);
}

.release-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.release-card-body h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: normal;
    color: var(--heading);
}

.release-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.release-badge {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid #d8dde6;
    background: #f7f9fc;
    color: #5b7393;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.release-year {
    color: #8a8a8a;
    font-size: 0.92rem;
}

.release-buttons {
    margin-top: auto;
}

.soundcloud-list {
    display: grid;
    gap: 12px;
}

.soundcloud-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.soundcloud-item-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.section-head-spacer {
    margin-top: 36px;
}

@media (max-width: 900px) {
    .featured-release {
        flex-direction: column;
    }

    .featured-release-image {
        flex: none;
        width: min(100%, 320px);
    }
}
