/* ==========================================================================
   Musicians PNW Showcase
   Palette carried over from the original theme: black ground, magenta accents.
   ========================================================================== */

:root {
    --pink:        #F14BAD;   /* about panel */
    --pink-deep:   #CB1496;   /* category band */
    --pink-btn:    #D91CA3;   /* buttons */
    --pink-bright: #f648f9;   /* links */
    --black:       #000000;

    /* Header/footer blue, taken from the theme's own violet (#624bfe) and
       darkened. Light enough that the logo's black horse reads against it —
       on the original black header the horse disappeared. Change these two
       to restyle the header and footer. */
    --chrome:      #271D63;
    --chrome-deep: #1C1547;   /* dropdowns, footer base */
    --ink:         #101013;
    --ink-2:       #17171b;
    --ink-3:       #202026;
    --line:        #2F2F33;
    --text:        #ADADAD;
    --text-dim:    #818588;
    --white:       #FFFFFF;

    --header-h: 92px;
    --wrap: 1200px;
    --radius: 4px;
    --shadow: 0 18px 45px rgba(0, 0, 0, .45);

    --sans: "Helvetica Neue", Arial, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--black);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--pink-bright); text-decoration: none; transition: color .2s; }
a:hover { color: var(--white); }

h1, h2, h3, h4, h5 {
    font-family: var(--sans);
    color: var(--white);
    margin: 0 0 .6em;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: .01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); text-transform: uppercase; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
p  { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--tight { padding: 52px 0; }
.section--alt { background: var(--ink); }
.text-center { text-align: center; }

/* ------------------------------------------------------------------ buttons */

.btn {
    display: inline-block;
    background: var(--pink-btn);
    color: var(--white);
    border: 0;
    padding: 15px 38px;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background .2s, transform .2s;
    font-family: inherit;
}
.btn:hover { background: var(--white); color: var(--pink-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; border: 2px solid var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.btn--sm { padding: 10px 22px; font-size: .72rem; }
.btn--block { display: block; width: 100%; text-align: center; }

/* ------------------------------------------------------------------- header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--chrome);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-h);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 58px; width: auto; }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--white);
    font-size: 1.7rem;
    cursor: pointer;
    padding: 6px 10px;
    line-height: 1;
}

.nav { display: flex; align-items: center; }
.nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a {
    display: block;
    color: var(--white);
    padding: 12px 14px;
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;   /* never let a label break across two lines */
}
/* A lighter pink than --pink: the standard one only reaches 4.4:1 on the
   blue chrome, just under the 4.5:1 contrast threshold. */
.nav a:hover, .nav .is-active > a { color: #FF74C3; }

/* dropdown */
.nav .has-sub > a::after { content: " ▾"; font-size: .7em; opacity: .8; }
.nav .sub {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 208px;
    background: var(--chrome-deep);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 6px 0;
    z-index: 70;
}
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: flex; }
.nav .sub a { padding: 10px 18px; letter-spacing: .06em; font-size: .8rem; }
.nav .sub a:hover { background: var(--pink-deep); color: var(--white); }

/* --------------------------------------------------------------------- hero */

.hero {
    position: relative;
    min-height: 78vh;
    display: grid;
    place-items: center;
    text-align: center;
    background: var(--ink) center/cover no-repeat;
    padding: 90px 0;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.78));
}
.hero__inner { position: relative; z-index: 2; max-width: 860px; padding: 0 20px; }
.hero h1 { text-shadow: 0 4px 24px rgba(0,0,0,.6); margin-bottom: .35em; }
.hero p { font-size: 1.12rem; color: #e7e7ea; margin-bottom: 2em; }

/* compact hero used on interior pages */
.page-head {
    position: relative;
    padding: 64px 0;
    background: var(--ink) center/cover no-repeat;
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.page-head::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.page-head__inner { position: relative; z-index: 2; }
.page-head h1 { margin: 0; }
.page-head p { margin: .6em 0 0; color: #d8d8dc; }

.crumbs { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: .8em; }
.crumbs a { color: var(--pink); }

/* ------------------------------------------------------------- about split */

.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.split__media { background: var(--ink-2) center/cover no-repeat; min-height: 340px; }
.split__panel {
    background: var(--pink);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 68px 62px;
}
.split__panel h2 { color: var(--white); }
.split__panel p { color: #FFFAFA; font-size: 1.06rem; }
.split__panel .btn { align-self: flex-start; background: var(--pink-btn); }
.split__panel .btn:hover { background: var(--black); color: var(--white); }

/* ------------------------------------------------------- category tiles */

.cat-band { background: var(--pink-deep); padding: 66px 0; }
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 34px;
}
.cat-card { text-align: center; }
.cat-card__img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(0,0,0,.25);
    border: 3px solid rgba(255,255,255,.28);
    margin-bottom: 20px;
}
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-card__img img { transform: scale(1.07); }
.cat-card h3 {
    color: var(--white);
    font-size: 1.6rem;
    text-transform: uppercase;
    margin-bottom: .55em;
}
.cat-card .btn { background: var(--pink-btn); }
.cat-card .btn:hover { background: var(--white); color: var(--pink-deep); }

/* ------------------------------------------------------------ card grids */

.grid { display: grid; gap: 30px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-5px); border-color: var(--pink); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { font-size: 1.12rem; margin-bottom: .45em; }
.card__body h3 a { color: var(--white); }
.card__body h3 a:hover { color: var(--pink); }
.card__meta {
    font-size: .74rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: .7em;
}
.card__body p { font-size: .92rem; margin-bottom: 1em; }
.card__foot { margin-top: auto; padding-top: 6px; }

/* portrait cards for artists */
.card--artist .card__media { aspect-ratio: 3 / 4; }

/* ----------------------------------------------------------- artist detail */

.artist-detail { display: grid; grid-template-columns: 420px 1fr; gap: 52px; align-items: start; }
.artist-detail__photo { border: 4px solid var(--pink); }
.artist-detail__bio { font-size: 1.05rem; white-space: pre-line; }
.artist-detail h1 { margin-bottom: .2em; }
.artist-tag {
    display: inline-block;
    background: var(--pink-deep);
    color: var(--white);
    padding: 5px 15px;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 1.4em;
    border-radius: 2px;
}

/* -------------------------------------------------------------- gallery */

.gallery-grid { columns: 4 260px; column-gap: 18px; }
.gallery-grid figure { margin: 0 0 18px; break-inside: avoid; position: relative; overflow: hidden; border: 1px solid var(--line); }
.gallery-grid img { width: 100%; transition: transform .5s, filter .4s; }
.gallery-grid figure:hover img { transform: scale(1.05); filter: brightness(1.08); }

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.94);
    display: none;
    place-items: center;
    z-index: 200;
    padding: 30px;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox__close {
    position: absolute; top: 18px; right: 26px;
    background: none; border: 0; color: var(--white);
    font-size: 2.4rem; cursor: pointer; line-height: 1;
}

/* ----------------------------------------------------------------- tables */

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; }
.table th { color: var(--white); text-transform: uppercase; font-size: .74rem; letter-spacing: .12em; }
.table tbody tr:hover { background: var(--ink-2); }

/* ------------------------------------------------------------------ forms */

.form-row { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; margin-bottom: 7px; color: var(--white); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
input[type=text], input[type=email], input[type=tel], input[type=number],
input[type=password], input[type=url], input[type=date], input[type=time],
input[type=datetime-local], select, textarea {
    width: 100%;
    background: var(--ink-2);
    border: 1px solid var(--line);
    color: var(--white);
    padding: 13px 15px;
    font-size: .95rem;
    font-family: inherit;
    border-radius: var(--radius);
    transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--pink); }
textarea { min-height: 150px; resize: vertical; }
input[type=file] { color: var(--text); font-size: .9rem; }
.field-hint { font-size: .78rem; color: var(--text-dim); margin-top: 6px; }
.check { display: flex; align-items: center; gap: 10px; }
.check input { width: auto; }
.check label { margin: 0; text-transform: none; letter-spacing: 0; font-size: .92rem; }

/* ------------------------------------------------------------------ alerts */

.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; border: 1px solid; font-size: .93rem; }
.alert--success { background: rgba(68,185,49,.12); border-color: #44B931; color: #8ee87f; }
.alert--error   { background: rgba(222,38,7,.12);  border-color: #de2607; color: #ff9b86; }

/* ------------------------------------------------------------------- shop */

.price { color: var(--pink); font-weight: 800; font-size: 1.15rem; }
.price del { color: var(--text-dim); font-weight: 400; font-size: .9rem; margin-right: 8px; }

.qty-input { width: 84px; }

.cart-summary {
    background: var(--ink-2);
    border: 1px solid var(--line);
    padding: 26px;
    border-radius: var(--radius);
}
.cart-summary__row { display: flex; justify-content: space-between; padding: 9px 0; }
.cart-summary__row--total {
    border-top: 1px solid var(--line);
    margin-top: 10px;
    padding-top: 16px;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 800;
}

.amount-picker { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.amount-picker button {
    flex: 1 1 90px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    color: var(--white);
    padding: 15px 10px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    border-radius: var(--radius);
    font-family: inherit;
    transition: all .2s;
}
.amount-picker button:hover { border-color: var(--pink); }
.amount-picker button.is-selected { background: var(--pink-btn); border-color: var(--pink-btn); }

/* ---------------------------------------------------------------- schedule */

.day-block { margin-bottom: 42px; }
.day-block h3 {
    color: var(--pink);
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .14em;
}
.slot { display: flex; gap: 20px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.slot__time { flex: 0 0 152px; color: var(--pink); font-weight: 800; font-size: .92rem; }
.slot__body h4 { margin: 0 0 .25em; color: var(--white); font-size: 1.02rem; }
.slot__body p { margin: 0; font-size: .88rem; }

/* --------------------------------------------------------------- podcasts */

.podcast { display: flex; gap: 22px; align-items: center; background: var(--ink-2); border: 1px solid var(--line); padding: 20px; margin-bottom: 18px; border-radius: var(--radius); }
.podcast img { width: 110px; height: 110px; object-fit: cover; flex-shrink: 0; }
.podcast__body { flex: 1; min-width: 0; }
.podcast__body h3 { font-size: 1.08rem; margin-bottom: .3em; }
.podcast audio { width: 100%; margin-top: 12px; }

/* --------------------------------------------------------------- pagination */

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 46px; flex-wrap: wrap; }
.pagination a, .pagination span {
    padding: 10px 16px;
    border: 1px solid var(--line);
    color: var(--white);
    font-size: .88rem;
    border-radius: var(--radius);
}
.pagination a:hover { border-color: var(--pink); color: var(--pink); }
.pagination .is-current { background: var(--pink-btn); border-color: var(--pink-btn); }

/* ------------------------------------------------------------------ footer */

.site-footer { background: var(--chrome); border-top: 1px solid rgba(255, 255, 255, .14); padding: 62px 0 26px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 42px; }
.site-footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.2em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--text); font-size: .92rem; }
.site-footer a:hover { color: var(--pink); }
.site-footer img.footer-logo { height: 62px; margin-bottom: 18px; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .16);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .84rem;
    color: var(--text-dim);
}
.socials { display: flex; gap: 12px; }
.socials a {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    color: var(--white);
    font-size: .8rem;
    font-weight: 700;
}
.socials a:hover { background: var(--pink-btn); border-color: var(--pink-btn); }

/* -------------------------------------------------------------- utilities */

.muted { color: var(--text-dim); }
.empty {
    text-align: center;
    padding: 70px 20px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--text-dim);
}
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 24px; }
.section-title { text-align: center; margin-bottom: 52px; }
.section-title p { max-width: 660px; margin: 0 auto; }

.prose img { margin: 1.4em 0; }
.prose h2, .prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .5em; }
.two-col-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.two-col-list ul { list-style: none; padding: 0; }
.two-col-list li { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.12); }

/* ------------------------------------------------------------- responsive */

@media (max-width: 980px) {
    .split { grid-template-columns: 1fr; }
    .split__media { min-height: 300px; }
    .split__panel { padding: 46px 30px; }
    .artist-detail { grid-template-columns: 1fr; gap: 30px; }
    .artist-detail__photo { max-width: 420px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* The full nav needs ~1010px next to the logo. Below that it wrapped onto a
   second line and the page showed through behind it, so the header looked a
   different colour from the footer. Switch to the hamburger before that. */
@media (max-width: 1024px) {
    .nav-toggle { display: block; }
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--chrome);
        border-bottom: 1px solid rgba(255, 255, 255, .14);
        display: none;
        max-height: 76vh;
        overflow-y: auto;
    }
    .nav.is-open { display: block; }
    .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .nav a { padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
    .nav .sub { position: static; display: flex; border: 0; box-shadow: none; background: var(--chrome-deep); padding: 0; }
    .nav .sub a { padding-left: 38px; }
    .nav .has-sub > a::after { content: ""; }
    .section { padding: 56px 0; }
    .form-grid { grid-template-columns: 1fr; }
    .gallery-grid { columns: 2 160px; }
}

@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
    .brand img { height: 44px; }
    .slot { flex-direction: column; align-items: flex-start; gap: 6px; }
    .slot__time { flex: none; }
    .podcast { flex-direction: column; align-items: flex-start; }
    .two-col-list { grid-template-columns: 1fr; }
}
