/*
 * VGo Recordings 2026 — minimal album page stylesheet.
 * Sans-serif throughout. Album as object: cover-and-info header,
 * tracklist primary, notes secondary, no narrative ornament.
 */

:root {
    --ed-canvas:    #FBF8F4;
    --ed-surface:   #FFFFFF;
    --ed-rule:      #E5DBD5;
    --ed-ink:       #1A1715;
    --ed-ink-soft:  #4E4845;
    --ed-ink-mute:  #8B7F7A;
    --ed-accent:    #853953;
    --ed-accent-2:  #6E2D45;

    --ed-sans:      "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

    --ed-prose-width: 36rem;
    --ed-frame-width: 56rem;

    --ed-tracking-small: 0.08em;
}

body.editorial {
    background: var(--ed-canvas);
    color: var(--ed-ink);
    font-family: var(--ed-sans);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.editorial #bg-container { display: none; }

body.editorial header { border-bottom-color: var(--ed-rule); }

body.editorial main {
    padding: 0;
    animation: none;
    opacity: 1;
    transform: none;
}

body.editorial .container-fluid { padding: 0; }

/* Force 1:1 on every image inside main (logo + nav icons live in header,
   so they're unaffected). object-fit: contain shows the full image without
   cropping; letterbox area uses canvas color to blend with the page. */
body.editorial main img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    width: 100%;
    height: auto;
    background: var(--ed-canvas);
}

body.editorial a {
    color: var(--ed-ink);
    text-decoration: none;
    transition: color 0.15s ease;
}
body.editorial a:hover {
    color: var(--ed-accent);
}

body.editorial .cookie-consent-banner a {
    color: var(--vgo-light);
    text-decoration: underline;
}
body.editorial .cookie-consent-banner a:hover {
    color: #fff;
}

body.editorial p { margin: 0 0 1em; }

body.editorial h1, body.editorial h2, body.editorial h3, body.editorial h4 {
    font-family: var(--ed-sans);
    color: var(--ed-ink);
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.005em;
}

/* ───────── Layout primitives ───────── */

.ed-frame {
    max-width: var(--ed-frame-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.ed-prose {
    max-width: var(--ed-prose-width);
    margin: 0 auto;
}

.ed-eyebrow,
.ed-section-label {
    font-family: var(--ed-sans);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    color: var(--ed-ink-mute);
}

/* Brand wordmark — preserves the "VGo" casing even inside uppercase contexts */
.brand {
    text-transform: none;
    letter-spacing: 0;
}

.ed-section-label {
    display: block;
    margin-bottom: 1.25rem;
}

/* ───────── Album header (cover + info side-by-side) ───────── */

.ed-album {
    max-width: var(--ed-frame-width);
    margin: 0 auto;
    padding: 3rem;
}

.ed-album-header {
    display: grid;
    grid-template-columns: 20rem 20rem;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
}
.ed-album-header .cover-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ed-album-header .cover {
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: auto;
    object-fit: contain;
    background: transparent;
    box-shadow: none;
}
.ed-player {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ─── Track display (collapsed by default, expands when playing) ─── */
.ed-player .track-display {
    position: relative;
    background: var(--ed-surface);
    border: 0 solid var(--ed-rule);
    border-radius: 4px;
    padding: 0;
    overflow: hidden;
    height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.35rem);
    transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.3s ease 0.05s,
                transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                padding 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                border-width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                margin-bottom 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    margin-bottom: -0.5rem; /* cancel the parent flex gap when collapsed */
    display: flex;
    align-items: center;
}
.ed-player.expanded .track-display {
    height: 2.4rem;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    padding: 0.55rem 0.85rem;
    border-width: 1px;
    margin-bottom: 0;
}
.ed-player .track-info {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}
.ed-player .track-info .title {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ed-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ed-player .track-info .time {
    font-size: 0.72rem;
    color: var(--ed-ink-mute);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.ed-player .progress-fill {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 0%;
    background: rgba(133, 57, 83, 0.12);
    transition: width 0.1s linear;
    z-index: 1;
}

/* ─── Controls row ─── */
.ed-player .controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}
.ed-player .ctrl {
    appearance: none;
    background: transparent;
    border: 1px solid var(--ed-rule);
    color: var(--ed-ink-soft);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
                width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.25s ease,
                transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                margin 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.ed-player .ctrl:hover {
    background: var(--ed-ink);
    color: var(--ed-canvas);
    border-color: var(--ed-ink);
}

/* prev/next: hidden when collapsed, fade + scale in on expand */
.ed-player .ctrl.prev,
.ed-player .ctrl.next {
    width: 0;
    border: 0 solid var(--ed-rule);
    opacity: 0;
    transform: scale(0.7);
    pointer-events: none;
    margin: 0 -0.25rem; /* pull together so play-pause centers */
    overflow: hidden;
}
.ed-player.expanded .ctrl.prev,
.ed-player.expanded .ctrl.next {
    width: 2.25rem;
    border-width: 1px;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    margin: 0;
    transition-delay: 0.05s;
}

/* Play/pause: pill with label by default, collapses to a circle on expand */
.ed-player .play-pause {
    background: var(--ed-accent);
    color: var(--ed-canvas);
    border-color: var(--ed-accent);
    width: auto;
    height: 2.25rem;
    border-radius: 999px;
    padding: 0 1.5rem;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    overflow: hidden;
}
.ed-player .play-pause:hover {
    background: var(--ed-accent-2);
    border-color: var(--ed-accent-2);
    color: var(--ed-canvas);
}
.ed-player .play-pause .label {
    max-width: 10rem;
    opacity: 1;
    white-space: nowrap;
    transition: max-width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.2s ease,
                margin 0.35s ease;
}
.ed-player .play-pause .icon-play { display: inline-block; }
.ed-player .play-pause .icon-pause { display: none; }
.ed-player .play-pause.playing .icon-play { display: none; }
.ed-player .play-pause.playing .icon-pause { display: inline-block; }
.ed-player.expanded .play-pause {
    width: 2.25rem;
    padding: 0;
}
.ed-player.expanded .play-pause .label {
    max-width: 0;
    opacity: 0;
    margin-left: -0.55rem; /* swallow the flex gap */
}
.ed-album-header .info {
    width: 100%;
}

.ed-album-header .cover {
    display: block;
}

.ed-album-header .info {
    padding-top: 0.25rem;
}

.ed-album-header .catnum {
    font-size: 0.7rem;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    color: var(--ed-ink-mute);
    margin-bottom: 1.25rem;
}

.ed-album-header h1 {
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.015em;
}

.ed-album-header .artist {
    font-size: 1.05rem;
    color: var(--ed-ink-soft);
    margin-bottom: 1.75rem;
}
.ed-album-header .artist a { color: var(--ed-ink-soft); }
.ed-album-header .artist a:hover { color: var(--ed-accent); }

.ed-album-header .meta {
    font-size: 0.7rem;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    color: var(--ed-ink-soft);   /* WCAG AA on canvas */
    margin-bottom: 2rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}
.ed-album-header .meta a { color: var(--ed-ink-soft); border-bottom: none; }
.ed-album-header .meta a:hover { color: var(--ed-accent); }
.ed-album-header .meta .sep { color: var(--ed-rule); }

.ed-album-header .tagline {
    font-size: 1rem;
    color: var(--ed-ink-soft);
    line-height: 1.65;
    margin: 0 0 2.5rem;
    max-width: 32rem;
}

/* Buy block — CTA-leaning */

.ed-buy {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--ed-accent);
    background: var(--ed-accent);
    border-radius: 4px;
    overflow: hidden;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
button.ed-buy {
    font: inherit;
    padding: 0;
    cursor: pointer;
    color: inherit;
}
.ed-buy-form { display: inline-block; margin: 0; }
.ed-buy:hover {
    background: var(--ed-ink);
    border-color: var(--ed-ink);
    transform: translateY(-1px);
}
.ed-buy .ed-btn {
    background: transparent;
    border: none;
    color: var(--ed-canvas);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    padding: 0.95rem 1.75rem;
    transition: none;
}
.ed-buy .ed-btn:hover {
    background: transparent;
    border: none;
    color: var(--ed-canvas);
}
.ed-buy .price {
    padding: 0.95rem 1.5rem;
    color: var(--ed-canvas);
    font-size: 0.78rem;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    border-left: 1px solid rgba(251, 248, 244, 0.25);
    background: transparent;
}

.ed-btn {
    display: inline-block;
    font-family: var(--ed-sans);
    font-size: 0.72rem;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    font-weight: 500;
    background: var(--ed-ink);
    color: var(--ed-canvas);
    padding: 0.85rem 1.85rem;
    border: 1px solid var(--ed-ink);
    transition: background 0.15s ease, color 0.15s ease;
}
.ed-btn:hover {
    background: var(--ed-accent);
    border-color: var(--ed-accent);
    color: #fff;
    border-bottom-color: var(--ed-accent);
}
.ed-btn.ghost {
    background: transparent;
    color: var(--ed-ink);
}
.ed-btn.ghost:hover { background: var(--ed-ink); color: var(--ed-canvas); }

@media (max-width: 720px) {
    .ed-album {
        padding: 1rem 1rem 2rem;
    }
    .ed-album-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    .ed-tracklist {
        padding: 0 1rem;
    }
    .ed-notes {
        padding: 0 1rem;
        margin-top: 3rem;
    }
}

/* ───────── Tracklist ───────── */

.ed-tracklist {
    max-width: var(--ed-frame-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.ed-tracklist .group {
    margin-bottom: 1.5rem;
}
.ed-tracklist .group-title {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    color: var(--ed-ink-mute);
    margin-bottom: 0.5rem;
    padding-top: 0.5rem;
}

.ed-tracklist ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ed-tracklist li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.5rem 0;
    font-size: 0.92rem;
    line-height: 1.4;
    border-top: 1px solid var(--ed-rule);
}
.ed-tracklist .group:first-child:not(:has(.group-title)) li:first-child { border-top: none; }

.ed-tracklist li[data-playable] { cursor: pointer; transition: color 0.15s ease; }
.ed-tracklist li[data-playable]:hover .title { color: var(--ed-accent); }

.ed-tracklist li .num {
    font-size: 0.7rem;
    color: var(--ed-ink-mute);
    min-width: 1.5rem;
    text-align: right;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}
.ed-tracklist li.playing .num,
.ed-tracklist li.playing .title { color: var(--ed-accent); }
.ed-tracklist li .title {
    flex: 1;
    color: var(--ed-ink);
}
.ed-tracklist li .duration {
    font-size: 0.72rem;
    color: var(--ed-ink-mute);
    font-variant-numeric: tabular-nums;
}

/* ───────── Notes (secondary, below tracklist) ───────── */

.ed-notes {
    max-width: var(--ed-frame-width);
    margin: 4.5rem auto 0;
    padding: 0 2rem;
}
.ed-notes .body {
    color: var(--ed-ink-soft);
    font-size: 0.95rem;
    line-height: 1.75;
}
.ed-notes .body p { margin-bottom: 1.1em; }

/* ───────── Catalog index ───────── */

.ed-catalog-head {
    padding: 5rem 2rem 2.5rem;
    text-align: left;
    max-width: var(--ed-frame-width);
    margin: 0 auto;
}
.ed-catalog-head .ed-eyebrow {
    margin-bottom: 1rem;
}
.ed-catalog-head h1 {
    font-size: clamp(1.75rem, 3.2vw, 2.25rem);
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: -0.015em;
}
.ed-catalog-head .description {
    max-width: var(--ed-prose-width);
    color: var(--ed-ink-soft);
    font-size: 0.95rem;
}

.ed-catalog-list {
    max-width: var(--ed-frame-width);
    margin: 0 auto;
    padding: 0 2rem;
}
a.ed-catalog-row {
    display: grid;
    grid-template-columns: 10rem 1fr;
    gap: 2.25rem;
    padding: 2rem 1.25rem;
    margin: 0 -1.25rem;
    border-top: 1px solid var(--ed-rule);
    border-bottom: none;
    align-items: start;
    background-color: transparent;
    color: var(--ed-ink);
    will-change: transform;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
a.ed-catalog-row:hover {
    color: var(--ed-ink);
    border-bottom: none;
    transform: scale(1.015);
}
.ed-catalog-row:first-child { border-top: none; }
.ed-catalog-row .cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--ed-canvas);
    display: block;
}
.ed-catalog-row .meta {
    font-size: 0.66rem;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    color: var(--ed-ink-mute);
    margin-bottom: 0.8rem;
}
.ed-catalog-row h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    letter-spacing: -0.012em;
    line-height: 1.25;
}
.ed-catalog-row h2 { color: var(--ed-ink); }
.ed-catalog-row .artist {
    color: var(--ed-ink-soft);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}
.ed-catalog-row .blurb {
    color: var(--ed-ink-soft);
    margin: 0 0 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 38rem;
}
.ed-catalog-row .tail {
    font-size: 0.68rem;
    color: var(--ed-ink-mute);
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.ed-catalog-row .tail .sep { color: var(--ed-rule); }

@media (max-width: 720px) {
    .ed-catalog-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.5rem 1rem;
        margin: 0 -1rem;
    }
    .ed-catalog-row .cover {
        max-width: 100%;
    }
    .ed-catalog-row h2 { font-size: 1.1rem; }
    .ed-catalog-row .blurb { font-size: 0.85rem; }
    /* Description on its own line: when stacked, the blurb spans the full
       column width naturally; remove the desktop max-width cap. */
    .ed-catalog-row .blurb { max-width: none; }
}

/* ───────── Catalog index (categories / genres) ───────── */

.ed-catalog-categories {
    max-width: var(--ed-frame-width);
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.ed-category {
    display: block;
    padding: 2.5rem 1.25rem;
    margin: 0 -1.25rem;
    border-top: 1px solid var(--ed-rule);
    color: var(--ed-ink);
    background-color: transparent;
    transition: background-color 0.6s ease;
}
.ed-category:first-child { border-top: none; }
.ed-category:hover {
    color: var(--ed-ink);
    background-color: rgba(133, 57, 83, 0.03);
}
.ed-category:hover .count { color: var(--ed-accent); }

.ed-category .ed-eyebrow {
    display: block;
    margin-bottom: 0.6rem;
}
.ed-category h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
    font-weight: 500;
    margin: 0 0 0.65rem;
    letter-spacing: -0.015em;
}
.ed-category .description {
    font-size: 0.95rem;
    color: var(--ed-ink-soft);
    margin: 0 0 1rem;
    max-width: 44rem;
    line-height: 1.6;
}
.ed-category .count {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    color: var(--ed-ink-mute);
    transition: color 0.15s ease;
}

@media (max-width: 720px) {
    .ed-catalog-categories { padding: 2rem 1rem; }
    .ed-category {
        padding: 1.75rem 1rem;
        margin: 0;
    }
    .ed-category h2 { margin-bottom: 0.5rem; }
    .ed-category .description { margin-bottom: 0.75rem; }
}

/* ───────── Artist pages ───────── */

.ed-artist-page {
    max-width: var(--ed-frame-width);
    margin: 0 auto;
    padding: 5rem 2rem 0;
}

.ed-artist-page .head {
    display: grid;
    grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
    margin-bottom: 3.5rem;
}
.ed-artist-page .photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    background: var(--ed-rule);
}
.ed-artist-page .ed-eyebrow { margin-bottom: 1rem; display: block; }
.ed-artist-page h1 {
    font-size: clamp(1.75rem, 3.2vw, 2.25rem);
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: -0.015em;
}
.ed-artist-page .meta {
    font-size: 0.72rem;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    color: var(--ed-ink-mute);
    margin-bottom: 2rem;
}
.ed-artist-page .bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ed-ink-soft);
}
.ed-artist-page .bio p { margin-bottom: 1em; }

@media (max-width: 640px) {
    .ed-artist-page .head { grid-template-columns: 1fr; gap: 2rem; }
    .ed-artist-page .photo { max-width: 12rem; }
}

.ed-discography {
    max-width: var(--ed-frame-width);
    margin: 3rem auto 0;
    padding: 0 2rem;
}
.ed-discography h2 {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    color: var(--ed-ink-mute);
    margin-bottom: 1.5rem;
}
.ed-discography .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
    gap: 1.5rem;
}
.ed-discography .item a { color: var(--ed-ink); border-bottom: none; }
.ed-discography .item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--ed-rule);
    margin-bottom: 0.5rem;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.55s ease;
}
.ed-discography .item a:hover img {
    transform: scale(1.025);
    box-shadow: 0 0.85rem 2rem -0.25rem rgba(26, 23, 21, 0.18);
}
.ed-discography .item .title { font-size: 0.85rem; line-height: 1.3; }
.ed-discography .item .catnum {
    font-size: 0.65rem;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    color: var(--ed-ink-mute);
    margin-top: 0.2rem;
}

/* ───────── Artists index ───────── */

.ed-artists-grid {
    max-width: var(--ed-frame-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    gap: 2.5rem 1.5rem;
}
.ed-artists-grid .item { text-align: center; }
.ed-artists-grid .item img {
    width: 7rem;
    height: 7rem;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    display: block;
    background: var(--ed-rule);
}
.ed-artists-grid .item h3 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}
.ed-artists-grid .item h3 a { color: var(--ed-ink); border-bottom: none; }
.ed-artists-grid .item .count {
    font-size: 0.65rem;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    color: var(--ed-ink-mute);
}

/* ───────── Home grid ───────── */

.ed-home-grid {
    max-width: 84rem;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
    gap: 2.5rem 1.75rem;
}

a.ed-tile {
    color: var(--ed-ink);
    border-bottom: none;
    display: block;
    will-change: transform;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
a.ed-tile:hover {
    color: var(--ed-ink);
    border-bottom: none;
    transform: scale(1.03);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.ed-tile img,
.ed-tile-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--ed-canvas);
    display: block;
}

.ed-tile-meta { padding-top: 0.7rem; }
.ed-tile .title {
    font-size: 0.92rem;
    line-height: 1.3;
    color: var(--ed-ink);
    margin-bottom: 0.2rem;
}
.ed-tile:hover .title { color: var(--ed-accent); }
.ed-tile .artist {
    font-size: 0.8rem;
    color: var(--ed-ink-soft);   /* bumped from --ed-ink-mute for WCAG AA contrast on canvas */
    line-height: 1.3;
}

@media (max-width: 640px) {
    .ed-home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
        padding: 1.5rem 1.25rem;
    }
    .ed-tile .title { font-size: 0.85rem; }
}

.ed-home-colophon {
    max-width: 36rem;
    margin: 1.5rem auto 4rem;
    padding: 2rem 2rem 0;
    border-top: 1px solid var(--ed-rule);
    text-align: center;
    color: var(--ed-ink-mute);
    font-size: 0.82rem;
    line-height: 1.6;
}
.ed-home-colophon p { margin: 0; }
.ed-home-colophon a { color: var(--ed-ink-soft); }
.ed-home-colophon a:hover { color: var(--ed-accent); }

/* ───────── Search ───────── */

.ed-search {
    max-width: var(--ed-frame-width);
    margin: 0 auto;
    padding: 5rem 2rem 0;
}
.ed-search-head { margin-bottom: 3rem; }
.ed-search-head .ed-eyebrow { display: block; margin-bottom: 1rem; }
.ed-search-form {
    display: flex;
    gap: 0.75rem;
    border-bottom: 1px solid var(--ed-ink);
    padding-bottom: 0.4rem;
    max-width: 32rem;
}
.ed-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--ed-sans);
    font-size: 1.1rem;
    color: var(--ed-ink);
    padding: 0.4rem 0;
}
.ed-search-input::placeholder { color: var(--ed-ink-mute); }
.ed-search-form .ed-btn { padding: 0.55rem 1.5rem; font-size: 0.7rem; }

.ed-search-summary {
    margin-top: 1.25rem;
    font-size: 0.78rem;
    color: var(--ed-ink-mute);
    letter-spacing: 0.01em;
}

.ed-search-hint {
    color: var(--ed-ink-soft);
    font-size: 0.95rem;
    max-width: var(--ed-prose-width);
}
.ed-search-hint em { font-style: normal; color: var(--ed-ink); }

.ed-search-section { margin-bottom: 3.5rem; }
.ed-search-section .ed-section-label { margin-bottom: 1.5rem; }

@media (max-width: 720px) {
    .ed-search {
        padding: 3rem 1rem 0;
    }
    .ed-search-head { margin-bottom: 2rem; }
    .ed-search-form {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        max-width: 100%;
        border-bottom: none;
        padding-bottom: 0;
    }
    .ed-search-input {
        width: 100%;
        font-size: 1rem;
        padding: 0.65rem 0;
        border-bottom: 1px solid var(--ed-ink);
    }
    .ed-search-form .ed-btn {
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 0.78rem;
    }
}

.ed-page-end { height: 6rem; }

/* ───────── Contact ───────── */
.ed-contact {
    max-width: 40rem;
    margin: 0 auto;
    padding: 3rem 2rem;
}
.ed-contact-head { margin-bottom: 2rem; }
.ed-contact-head h1 {
    font-size: 2rem;
    font-weight: 500;
    margin: 0.5rem 0 1rem;
    letter-spacing: -0.012em;
}
.ed-contact-lede {
    color: var(--ed-ink-soft);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.6rem;
}
.ed-contact-email a {
    color: var(--ed-accent);
    font-size: 0.95rem;
    border-bottom: 1px dotted var(--ed-rule);
}
.ed-contact-error {
    background: rgba(133, 57, 83, 0.08);
    color: var(--ed-accent);
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border-left: 2px solid var(--ed-accent);
}
.ed-contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.ed-field { display: flex; flex-direction: column; gap: 0.4rem; }
.ed-field-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    color: var(--ed-ink-mute);
}
.ed-field input[type="text"],
.ed-field input[type="email"],
.ed-field textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--ed-rule);
    padding: 0.5rem 0;
    font: inherit;
    color: var(--ed-ink);
    transition: border-color 0.2s ease;
}
.ed-field input:focus,
.ed-field textarea:focus {
    outline: none;
    border-bottom-color: var(--ed-accent);
}
.ed-field textarea { resize: vertical; line-height: 1.5; }
.ed-field-check {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--ed-ink-soft);
}
.ed-contact-submit {
    background: var(--ed-ink);
    color: var(--ed-canvas);
    border: 1px solid var(--ed-ink);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    padding: 0.95rem 1.75rem;
    cursor: pointer;
    align-self: flex-start;
    border-radius: 0.25rem;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.ed-contact-submit:hover { background: var(--ed-accent); border-color: var(--ed-accent); }
.ed-contact-submit:disabled { opacity: 0.35; cursor: not-allowed; }

/* ───────── Legal (privacy / terms / cookies) ───────── */
.ed-legal {
    max-width: var(--ed-prose-width);
    margin: 0 auto;
    padding: 3rem 2rem;
}
.ed-legal-head { margin-bottom: 2rem; }
.ed-legal-head h1 {
    font-size: 2rem;
    font-weight: 500;
    margin: 0.5rem 0 0.75rem;
    letter-spacing: -0.012em;
}
.ed-legal-updated {
    font-size: 0.75rem;
    color: var(--ed-ink-mute);
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
}
.ed-legal-body {
    color: var(--ed-ink);
    font-size: 0.98rem;
    line-height: 1.7;
}
.ed-legal-body h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 2rem 0 0.6rem;
    letter-spacing: -0.005em;
}
.ed-legal-body p { margin: 0 0 1rem; }
.ed-legal-body ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.ed-legal-body li { margin-bottom: 0.4rem; }
.ed-legal-body a { color: var(--ed-accent); border-bottom: 1px dotted var(--ed-rule); }
.ed-legal-body a:hover { border-bottom-color: var(--ed-accent); }

/* ───────── Nav cart badge ───────── */
.nav-cart a { position: relative; }
.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ed-accent);
    color: var(--ed-canvas);
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    margin-left: 0.2rem;
    vertical-align: middle;
    letter-spacing: 0;
}

/* ───────── Cart page ───────── */
.ed-cart {
    max-width: var(--ed-frame-width);
    margin: 0 auto;
    padding: 3rem 2rem;
}
.ed-cart-head { margin-bottom: 2rem; }
.ed-cart-head h1 {
    font-size: 2rem;
    font-weight: 500;
    margin: 0.5rem 0 0;
    letter-spacing: -0.012em;
}
.ed-cart-empty { color: var(--ed-ink-soft); font-size: 1rem; }
.ed-cart-empty a { color: var(--ed-accent); border-bottom: 1px dotted var(--ed-rule); }
.ed-cart-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.ed-cart-row {
    display: grid;
    grid-template-columns: 5rem 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.25rem 0;
    border-top: 1px solid var(--ed-rule);
}
.ed-cart-row:first-child { border-top: none; }
.ed-cart-cover img,
.ed-cart-cover .placeholder {
    width: 5rem;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--ed-canvas);
    display: block;
}
.ed-cart-meta .catnum {
    font-size: 0.66rem;
    color: var(--ed-ink-mute);
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}
.ed-cart-meta h2 {
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0 0 0.2rem;
    letter-spacing: -0.005em;
}
.ed-cart-meta h2 a { color: var(--ed-ink); border-bottom: none; }
.ed-cart-meta h2 a:hover { color: var(--ed-accent); }
.ed-cart-meta .artist {
    color: var(--ed-ink-soft);
    font-size: 0.85rem;
}
.ed-cart-price {
    font-size: 0.95rem;
    color: var(--ed-ink);
    font-variant-numeric: tabular-nums;
}
.ed-cart-remove button {
    background: none;
    border: none;
    color: var(--ed-ink-mute);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s ease;
}
.ed-cart-remove button:hover { color: var(--ed-accent); }
.ed-cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ed-rule);
    flex-wrap: wrap;
    gap: 1rem;
}
.ed-cart-total .label {
    font-size: 0.7rem;
    color: var(--ed-ink-mute);
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    margin-right: 0.75rem;
}
.ed-cart-total .amount {
    font-size: 1.5rem;
    color: var(--ed-ink);
    font-variant-numeric: tabular-nums;
}
.ed-cart-actions { display: flex; gap: 1rem; align-items: center; }
.ed-cart-actions form.inline { display: inline; margin: 0; }
.ed-cart-clear {
    background: none;
    border: 1px solid var(--ed-rule);
    color: var(--ed-ink-soft);
    font: inherit;
    font-size: 0.78rem;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    padding: 0.85rem 1.4rem;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.ed-cart-clear:hover { border-color: var(--ed-ink); color: var(--ed-ink); }
/* "Check your spam folder" notice on success page */
body.editorial .ed-spam-notice {
    margin-top: 1.25rem;
    padding: 0.9rem 1.1rem;
    background: #FFF6E5;
    border: 1px solid #F0DDB0;
    border-radius: 4px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #6A4A18;
}
body.editorial .ed-spam-notice strong { color: #4C3410; }
body.editorial .ed-spam-notice em { font-style: italic; color: #4C3410; }
body.editorial .ed-spam-notice a {
    color: #6A4A18;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

/* Account / orders list */
body.editorial .ed-account-order {
    margin-top: 2.5rem;
    padding: 1.75rem;
    border: 1px solid var(--ed-rule);
    border-radius: 0.35rem;
    background: var(--ed-surface);
}
body.editorial .ed-account-order-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ed-rule);
    margin-bottom: 1rem;
}
body.editorial .ed-account-order-meta { display: flex; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
body.editorial .ed-account-order-date { color: var(--ed-ink-mute); font-size: 0.85rem; }
body.editorial .ed-account-order-total { font-size: 1.15rem; color: var(--ed-ink); font-variant-numeric: tabular-nums; }
body.editorial .ed-account-order-items { list-style: none; padding: 0; margin: 0; }
body.editorial .ed-account-order-items li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px dashed var(--ed-rule);
}
body.editorial .ed-account-order-items li:last-child { border-bottom: 0; }
body.editorial .ed-account-item-cover {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    display: block;
    border-radius: 3px;
    overflow: hidden;
    background: var(--ed-rule);
}
body.editorial .ed-account-item-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body.editorial .ed-account-item-meta { display: flex; flex-direction: column; gap: 0.15rem; flex: 1 1 auto; min-width: 0; }
body.editorial .ed-account-item-catnum {
    font-size: 0.72rem;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    color: var(--ed-ink-mute);
}
body.editorial a.ed-account-download {
    background: #612D53;
    color: #fff;
    border: 1px solid #612D53;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    padding: 0.55rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}
body.editorial a.ed-account-download:hover { background: #853953; border-color: #853953; color: #fff; }

body.editorial .ed-cart-agree {
    margin: 1rem 0 0;
    text-align: right;
    font-size: 0.78rem;
    color: var(--ed-ink-mute);
    letter-spacing: 0.01em;
}
body.editorial .ed-cart-agree a {
    color: var(--ed-ink-soft);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
body.editorial .ed-cart-agree a:hover { color: var(--ed-accent); }

body.editorial .ed-cart-note {
    margin-top: 4rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--ed-rule);
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--ed-ink-soft);
    max-width: 44rem;
}
body.editorial .ed-cart-note strong { color: var(--ed-ink); font-weight: 600; }
body.editorial .ed-cart-note a {
    color: var(--ed-accent);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
body.editorial .ed-cart-note a:hover { color: var(--ed-accent-2); }
a.ed-cart-checkout,
button.ed-cart-checkout {
    background: #612D53;             /* VGo dark purple (--vgo-dark) */
    color: #fff !important;
    border: 1px solid #612D53;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: var(--ed-tracking-small);
    text-transform: uppercase;
    padding: 0.95rem 1.75rem;
    border-bottom: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}
a.ed-cart-checkout:hover,
button.ed-cart-checkout:hover {
    background: #853953;             /* VGo primary (--vgo-primary) — lighter on hover */
    border-color: #853953;
    color: #fff !important;
    border-bottom: none;
}
