/* ==========================================================================
   Flash Frequency Productions — blog
   Bandcamp-style release layout, plain CSS, no build step required.
   ========================================================================== */

:root {
    --ink: #363636;
    --dusk: #333333;
    --fog: #888888;
    --mist: #999999;
    --ash: #d9d9d9;
    --line: #e6e6e6;
    --rose: #d78b98;
    --rosedeep: #b56572;
    --rosemute: #b299a5;
    --coal: #333333;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    background: #fff;
    color: var(--ink);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { border: 0; }

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

[hidden] { display: none !important; }

::selection { background: var(--rose); color: #fff; }

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

/* ---------------------------------------------------------------- header */

.site-banner {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: bottom;
}

.site-nav { background: var(--coal); }

.site-nav-inner {
    max-width: 1360px;
    margin: 0 auto;
    height: 33px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 40px;
}

.site-nav-tab {
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
    color: var(--rose);
    text-decoration: none;
}

.site-nav-tab:hover { color: #fff; }
.site-nav-tab.is-active { color: #fff; }

/* ------------------------------------------------------- release layout */

.release-cols {
    margin-top: 26px;
    display: flex;
}

.col-release { width: 545px; flex-shrink: 0; min-width: 0; }
.col-art { width: 380px; flex-shrink: 0; margin-left: 40px; }
.col-side { width: 150px; flex-shrink: 0; margin-left: auto; }

.release-title {
    font-size: 26px;
    font-weight: normal;
    line-height: 1.15;
    color: var(--dusk);
}

.release-byline { margin-top: 4px; font-size: 14px; color: var(--ink); }
.release-byline a { color: var(--rose); text-decoration: none; }
.release-byline a:hover { color: var(--rosedeep); }

/* ----------------------------------------------------------------- player */

.player { margin-top: 18px; display: flex; align-items: center; }

.play-toggle {
    width: 55px;
    height: 54px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--dusk);
}

.play-toggle:hover { border-color: var(--ash); }
.play-toggle .icon-play svg { margin-left: 2px; }

.player-main { margin-left: 14px; flex: 1; min-width: 0; }

.player-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.player-title {
    font-size: 14px;
    font-weight: bold;
    color: var(--dusk);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-time { font-size: 11px; color: var(--mist); flex-shrink: 0; }

.player-bar { margin-top: 7px; display: flex; align-items: center; gap: 10px; }

.seek-bar {
    position: relative;
    height: 9px;
    flex: 1;
    cursor: pointer;
    border: 1px solid var(--ash);
    background: #fff;
    touch-action: none;
}

.seek-fill {
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 0;
    background: #c9c9c9;
}

.seek-thumb {
    position: absolute;
    top: -2px;
    left: -3px;
    width: 6px;
    height: 11px;
    border: 1px solid var(--ash);
    background: #fff;
}

.skip-btn { color: var(--fog); display: inline-flex; }
.skip-btn:hover { color: var(--dusk); }

/* -------------------------------------------------------------- purchase */

.purchase { margin-top: 26px; }
.purchase-type { font-size: 13px; font-weight: bold; color: var(--dusk); }
.purchase-sub { font-size: 12px; color: var(--fog); }

.purchase-blurb {
    margin-top: 12px;
    max-width: 460px;
    font-size: 12px;
    line-height: 1.7;
    color: var(--ink);
}

.purchase-note { margin-top: 12px; font-size: 12px; color: var(--ink); }
.purchase-buyline { margin-top: 16px; }

.buy-album {
    font-size: 15px;
    font-weight: bold;
    color: var(--rose);
    vertical-align: baseline;
}
.buy-album:hover { color: var(--rosedeep); }

.buy-price {
    margin-left: 6px;
    font-size: 15px;
    font-weight: bold;
    color: var(--dusk);
    vertical-align: baseline;
}

.buy-more { margin-left: 6px; font-size: 11px; color: var(--mist); }

.purchase-gift { margin-top: 4px; }
.gift-btn { font-size: 12px; color: var(--rose); }
.gift-btn:hover { color: var(--rosedeep); text-decoration: underline; }

/* ------------------------------------------------------------- tracklist */

.tracklist { margin-top: 38px; }
.track { padding: 7px 0; }
.track-row { display: flex; align-items: baseline; }

.track-icon {
    width: 18px;
    margin-right: 6px;
    flex-shrink: 0;
    align-self: center;
    display: inline-flex;
    justify-content: flex-start;
    color: var(--dusk);
}
.track-icon:hover { color: #000; }

.track-num { margin-right: 5px; font-size: 12px; color: var(--ink); }

.track-title { font-size: 12px; color: var(--rose); text-align: left; }
.track-title:hover { color: var(--rosedeep); }
.track-title.is-active { color: var(--rosedeep); }

.track-time {
    margin-left: 10px;
    flex-shrink: 0;
    font-size: 11px;
    color: var(--mist);
}

.track-actions {
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    align-items: baseline;
    gap: 22px;
    padding-left: 16px;
}

.track-link { font-size: 11px; color: var(--rosemute); }
.track-link:hover { color: var(--rosedeep); text-decoration: underline; }
.track-link.is-open { color: var(--rosedeep); text-decoration: underline; }
.track-link--ghost { visibility: hidden; }

.track-info {
    margin: 8px 4px 0 24px;
    border: 1px solid var(--line);
    background: #fafafa;
    padding: 10px 12px;
    font-size: 11px;
    line-height: 1.7;
    color: var(--fog);
}

/* ----------------------------------------------------------- description */

.release-desc {
    margin-top: 38px;
    max-width: 480px;
    font-size: 12px;
    line-height: 1.75;
    color: var(--ink);
}

.release-desc p + p { margin-top: 18px; }
.release-desc p.released { margin-top: 26px; }

.release-desc p.copyright {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.copy-glyph { font-size: 13px; }

.more-btn { font-size: inherit; color: var(--rose); }
.more-btn:hover { color: var(--rosedeep); }

/* ------------------------------------------------------------ art column */

.art-main {
    display: block;
    width: 380px;
    max-width: 100%;
    height: auto;
}

.art-actions {
    margin-top: 16px;
    max-width: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 46px;
    font-size: 13px;
}

.art-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rosemute);
}
.art-action:hover { color: var(--rosedeep); }
.art-action.is-on { color: var(--rosedeep); }
#wishlist-btn.is-on .heart-icon { fill: var(--rosedeep); }

.share-panel {
    margin-top: 20px;
    max-width: 380px;
    border: 1px solid var(--line);
    background: #fafafa;
    padding: 16px;
    font-size: 12px;
}

.share-heading { font-size: 13px; font-weight: bold; color: var(--dusk); }
.share-label { margin-top: 14px; color: var(--fog); }
.share-row { margin-top: 4px; display: flex; gap: 8px; }
.share-row--top { align-items: flex-start; }

.share-row input {
    height: 28px;
    min-width: 0;
    flex: 1;
    border: 1px solid var(--line);
    background: #fff;
    padding: 0 8px;
    font-family: inherit;
    font-size: 11px;
    color: var(--ink);
}

.share-row textarea {
    min-width: 0;
    flex: 1;
    resize: none;
    border: 1px solid var(--line);
    background: #fff;
    padding: 4px 8px;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 10px;
    line-height: 1.6;
    color: var(--fog);
}

.share-row input:focus,
.share-row textarea:focus { outline: none; border-color: var(--rose); }

.share-copy {
    height: 28px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--ash);
    background: #fff;
    padding: 0 8px;
    font-size: 11px;
    color: var(--fog);
}
.share-copy:hover { border-color: var(--rose); color: var(--rose); }
.share-copy.is-copied { color: var(--rose); border-color: var(--rose); }

.supported-heading { margin-top: 26px; font-size: 13px; color: var(--dusk); }

.supporters {
    margin-top: 10px;
    max-width: 380px;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.supporters img { display: block; object-fit: cover; }

/* ---------------------------------------------------------------- sidebar */

.artist-photo { display: block; width: 100%; max-width: 150px; }

.artist-name {
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
    color: var(--dusk);
}

.artist-location {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.4;
    color: var(--mist);
}

.follow-btn {
    margin-top: 12px;
    width: 100%;
    border: 1px solid var(--rose);
    background: transparent;
    color: var(--rose);
    padding: 7px 12px;
    font-size: 13px;
    line-height: 1;
}
.follow-btn:hover { background: var(--rose); color: #fff; }
.follow-btn.is-following { background: var(--rose); color: #fff; }

.artist-bio { margin-top: 12px; font-size: 12px; line-height: 1.7; color: var(--ink); }
.artist-bio .more-btn { font-size: inherit; }

.artist-links {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.artist-links a {
    font-size: 12px;
    line-height: 1.5;
    color: var(--rose);
    text-decoration: none;
    overflow-wrap: anywhere;
}
.artist-links a:hover { color: var(--rosedeep); text-decoration: underline; }

.side-block { margin-top: 34px; }
.side-heading { font-size: 13px; color: var(--dusk); }

a.side-heading-link {
    font-weight: bold;
    color: var(--dusk);
    text-decoration: underline;
}
a.side-heading-link:hover { color: #000; }

.shows-list {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.show-date { font-size: 12px; line-height: 1.4; color: var(--fog); }
.show-venue { font-size: 12px; color: var(--rose); text-decoration: none; }
.show-venue:hover { color: var(--rosedeep); text-decoration: underline; }
.show-city { font-size: 11px; line-height: 1.4; color: var(--mist); }

.discography {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.discography-art {
    display: block;
    border: 1px solid var(--line);
    padding: 5px;
}
.discography-art:hover { border-color: var(--ash); }
.discography-art img { display: block; width: 100%; }

.discography-title {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--rose);
    text-decoration: none;
}
.discography-title:hover { color: var(--rosedeep); text-decoration: underline; }
.discography-date { margin-top: 1px; font-size: 11px; color: var(--mist); }

.more-releases {
    display: inline-block;
    margin-top: 14px;
    font-size: 12px;
    font-weight: bold;
    color: var(--rose);
    text-decoration: none;
}
.more-releases:hover { color: var(--rosedeep); text-decoration: underline; }

.contact-links {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.contact-links a {
    font-size: 12px;
    line-height: 1.5;
    color: var(--rose);
    text-decoration: none;
}
.contact-links a:hover { text-decoration: underline; }
.contact-links a.muted { color: var(--mist); }

/* ------------------------------------------------------------------- tags */

.tags-block { margin-top: 80px; margin-bottom: 70px; }
.tags-heading { font-size: 13px; font-weight: bold; color: var(--dusk); }

.tags-list {
    margin-top: 8px;
    max-width: 545px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 4px;
    font-size: 12.5px;
}

.tags-list a { color: var(--rose); text-decoration: none; }
.tags-list a:hover { color: var(--rosedeep); text-decoration: underline; }

/* ------------------------------------------------------------------ modal */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.45);
    display: grid;
    place-items: center;
    padding: 16px;
}

.modal-card {
    width: 100%;
    max-width: 520px;
    border: 1px solid var(--ash);
    background: #fff;
    padding: 28px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.modal-title { font-size: 15px; font-weight: bold; color: var(--dusk); }
.modal-sub { margin-top: 4px; font-size: 13px; color: var(--fog); }
.modal-sub em { color: var(--ink); }
.modal-close { color: var(--mist); }
.modal-close:hover { color: var(--dusk); }

#buy-form, #buy-done { margin-top: 24px; font-size: 13px; }
.modal-label { display: block; color: var(--ink); }

.price-row { margin-top: 4px; display: flex; align-items: baseline; gap: 8px; }
.price-r { font-size: 15px; color: var(--ink); }

#buy-price {
    height: 34px;
    width: 110px;
    border: 1px solid var(--line);
    padding: 0 8px;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
}
#buy-price:focus { outline: none; border-color: var(--rose); }
.price-more { font-size: 11px; color: var(--mist); }

.gift-fields {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gift-fields input {
    margin-top: 4px;
    height: 30px;
    width: 100%;
    border: 1px solid var(--line);
    padding: 0 8px;
    font-family: inherit;
    color: var(--ink);
}
.gift-fields input:focus { outline: none; border-color: var(--rose); }

.modal-note { margin-top: 16px; font-size: 12px; line-height: 1.7; color: var(--mist); }
.modal-error { margin-top: 12px; font-size: 12px; color: var(--rosedeep); }

.modal-actions { margin-top: 20px; display: flex; align-items: center; gap: 16px; }

.btn-dark {
    background: var(--dusk);
    color: #fff;
    padding: 8px 20px;
    font-size: 13px;
}
.btn-dark:hover { background: #000; }
.btn-dark:disabled { opacity: 0.6; cursor: default; }

.modal-hint { font-size: 11px; color: var(--mist); }

.buy-done-icon { color: var(--rose); }
.buy-done-text { margin: 12px 0 0; color: var(--ink); }
#buy-done .btn-dark { margin-top: 20px; }

/* ---------------------------------------------------------------- archive */

.archive-head {
    margin-top: 26px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
}

.archive-title {
    font-size: 22px;
    font-weight: normal;
    line-height: 1;
    color: var(--dusk);
}

.archive-count { font-size: 12px; color: var(--mist); }

.archive-tags {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 14px;
    row-gap: 4px;
    font-size: 12.5px;
}

.tag-chip { color: var(--rose); text-decoration: none; }
.tag-chip:hover { text-decoration: underline; }
.tag-chip.is-active { font-weight: bold; color: var(--dusk); }

.archive-grid {
    margin-top: 38px;
    margin-bottom: 90px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 26px;
    row-gap: 40px;
}

.archive-card { display: block; text-decoration: none; }

.archive-art {
    display: block;
    position: relative;
    border: 1px solid var(--line);
    overflow: hidden;
}

.archive-art::before { content: ""; display: block; padding-top: 100%; }

.archive-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.archive-card:hover .archive-art img { transform: scale(1.04); }

.archive-card-title {
    display: block;
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--rose);
}
.archive-card:hover .archive-card-title {
    color: var(--rosedeep);
    text-decoration: underline;
}

.archive-card-artist { display: block; margin-top: 1px; font-size: 12px; color: var(--fog); }
.archive-card-date { display: block; font-size: 11px; color: var(--mist); }

.empty-state { margin: 60px 0; font-size: 13px; color: var(--fog); }
.empty-state a { color: var(--rose); }

/* ------------------------------------------------------------- responsive */

@media (max-width: 1279.98px) {
    .release-cols { flex-direction: column; gap: 40px; }
    .col-release { width: auto; max-width: 545px; }
    .col-art { width: auto; margin-left: 0; }
    .col-side { width: 150px; margin-left: 0; }
    .archive-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1023.98px) {
    .archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .container, .site-nav-inner { padding-left: 16px; padding-right: 16px; }
    .site-banner { height: 220px; }
    .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gift-fields { grid-template-columns: 1fr; }
    .col-side { width: auto; max-width: none; }
    .modal-card { padding: 20px; }
}
