:root {
    --bg: #f6f5f2;
    --surface: #ffffff;
    --bg-alt: #eceae5;

    --fg: #171717;
    --muted: #707070;
    --border: #dedbd5;
    --divider: #f6f5f2;

    /* main identity */
    --ink: #121820;
    --ink-soft: #1d2630;

    /* energy */
    --accent: #ff5a36;
    --accent-dark: #d94325;

    /* fresh secondary */
    --cyan: #6257f3;
    --cyan-dark: #23176f;

    /* sharp highlight */
    --yellow: #ffd84d;

    /* secondary accent used for links/hover states — aliases the fresh/cyan pairing above */
    --accent-2: var(--cyan-dark);

    --radius: 12px;

    --shadow: 0 5px 18px rgba(18, 24, 32, 0.08);
    --shadow-lg: 0 20px 46px rgba(18, 24, 32, 0.16);

    --gradient: linear-gradient(160deg, var(--accent) 0%, var(--accent-dark) 100%);
}

* {
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.55;
    font-size: 15px;
    overflow-x: hidden;
}

h1,
h2 {
    font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
}

.accent-word {
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

a {
    color: var(--accent-2);
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
}

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

.site-header {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding: 0.9rem 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
}

/* Homepage-only: header floats transparent over the photo hero, then solidifies once scrolled past it. */
@media (min-width: 641px) {
    body.has-hero .site-header {
        position: fixed;
        width: 100%;
        background: transparent;
        backdrop-filter: none;
        border-bottom-color: transparent;
        transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
    }

    body.has-hero .site-header .brand,
    body.has-hero .site-header .site-nav a,
    body.has-hero .site-header .search-form input {
        color: #fff;
    }

    body.has-hero .site-header .site-nav a:hover {
        color: #fff;
        opacity: 0.75;
    }

    body.has-hero .site-header .search-form input {
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.35);
    }

    body.has-hero .site-header .search-form input::placeholder {
        color: rgba(255, 255, 255, 0.75);
    }

    body.has-hero.scrolled .site-header {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        border-bottom-color: var(--border);
    }

    body.has-hero.scrolled .site-header .brand,
    body.has-hero.scrolled .site-header .search-form input {
        color: var(--fg);
    }

    body.has-hero.scrolled .site-header .site-nav a {
        color: var(--muted);
    }

    body.has-hero.scrolled .site-header .site-nav a:hover {
        color: var(--fg);
        opacity: 1;
    }

    body.has-hero.scrolled .site-header .search-form input {
        background: var(--bg-alt);
        border-color: var(--border);
    }

    body.has-hero.scrolled .site-header .search-form input::placeholder {
        color: var(--muted);
    }

    body.has-hero .hero {
        padding-top: 8rem;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--fg);
    letter-spacing: -0.01em;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    padding: 0;
    margin: 0;
    height: auto;
    border-radius: 8px;
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;

    img {
        height: 55px;
        width: auto;
    }
}

.site-nav {
    display: flex;
    gap: 1.4rem;
    font-size: 0.85rem;
}

.site-nav a {
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-nav a:hover {
    color: var(--fg);
    text-decoration: none;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-left: 0.6rem;
    border-left: 1px solid var(--border);
}

.lang-switch a {
    font-size: 0.72rem;
}

.lang-switch a.active {
    color: var(--accent);
}

.footer-lang a {
    font-weight: 700;
    font-size: 0.85rem;
}

.footer-lang a.active {
    color: #fff;
    text-decoration: underline;
}

.search-form {
    margin-left: auto;
    display: flex;
}

.search-form input {
    border: 1px solid var(--border);
    background: var(--bg-alt);
    border-radius: 999px 0 0 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    width: 200px;
    font-family: inherit;
}

.search-form input:focus {
    outline: none;
    border-color: var(--accent-2);
}

.search-form button {
    border: none;
    background: var(--gradient);
    color: #fff;
    border-radius: 0 999px 999px 0;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

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

.hero {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-top: -2.5rem;
    padding: 4.5rem 1.25rem 4rem;
    background: var(--ink);
    background-image:
        linear-gradient(160deg, rgba(23, 11, 82, 0.55) 0%, rgba(23, 11, 82, 0.82) 100%),
        url('/assets/background.jpeg');
    background-size: cover;
    background-position: center 35%;
    color: #fff;
}

.hero-inner {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 0 3rem;
    min-height: 260px;
}

.hero-deco {
    position: absolute;
    top: -1.5rem;
    right: -1rem;
    width: 320px;
    height: 320px;
    pointer-events: none;
}

.hero h1 {
    position: relative;
    font-size: 2.9rem;
    font-weight: 700;
    max-width: 560px;
    margin: 0 0 0.9rem;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.hero .lede {
    position: relative;
    color: rgba(255, 255, 255, 0.68);
    max-width: 420px;
    margin: 0 0 0;
    font-size: 1.05rem;
}

.hero-card {
    position: relative;
    background: var(--surface);
    color: var(--fg);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
}

/* ---------- typography ---------- */

h1 {
    font-size: 1.8rem;
    margin: 0 0 0.3rem;
    font-weight: 800;
    letter-spacing: -0.015em;
}

h2 {
    font-size: 1.2rem;
    margin: 2.25rem 0 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.eyebrow {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0 0 1.25rem;
}

.muted {
    color: var(--muted);
}

.lede {
    color: var(--muted);
    margin: 0.25rem 0 1.5rem;
}

.venue-dropdown {
    display: block;
    margin: -0.5rem 0 1.25rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
}

/* ---------- lists / cards ---------- */

.event-list,
.artist-list,
.city-list,
.country-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.event-row {
    display: flex;
    gap: 1rem;
    padding: 0.9rem 1rem;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.event-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.event-row .date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--gradient);
    color: #fff;
    text-decoration: none;
}

.event-row a.date:hover {
    opacity: 0.85;
}

.event-row .date-day {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.1;
}

.event-row .date-month {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.event-row .date-tba {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.event-row .details {
    flex: 1;
    min-width: 0;
}

.event-row .name {
    font-weight: 600;
}

.event-row .venue {
    color: var(--muted);
    font-size: 0.88rem;
}

/* Right-hand action column: the two things a visitor came to do. Real buttons,
   because a bold event title doesn't read as clickable on its own. */
.event-cta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex-shrink: 0;
    align-items: stretch;
    margin-left: auto;
}

.event-cta .btn {
    text-align: center;
    white-space: nowrap;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(146, 64, 14, 0.24);
}

.btn-sm.btn-outline,
.btn-sm.btn-danger {
    box-shadow: none;
}

.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 0.3rem;
}

.event-actions a {
    font-size: 0.76rem;
    color: var(--muted);
    text-decoration: none;
}

.event-actions a:hover {
    color: var(--accent-2);
    text-decoration: underline;
}

.artist-list,
.city-list,
.country-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.85rem;
}

.artist-list li,
.city-list li,
.country-list li {
    padding: 1.1rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.artist-list li:hover,
.city-list li:hover,
.country-list li:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Venues have no image and no source for one — the scrapers give a name and a
   city, nothing else. An initial in an accent circle implies a picture that is
   never coming and competes with the artist tiles, which do have photos. */
.city-list.venue-list li::before,
.venue-list li::before {
    content: none;
}

.city-list li::before,
.country-list li::before {
    content: attr(data-initial);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'Bricolage Grotesque', sans-serif;
}

/* Artists get a real avatar element instead of the ::before initial the place
   lists use — an artist can have a photo, a city can't. Same size and shape, so
   a list with a mix of photos and initials still reads as one thing. */
.artist-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    flex-shrink: 0;
    border-radius: 999px;
    overflow: hidden;
    background: var(--gradient);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.artist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.artist-list a,
.city-list a,
.country-list a {
    color: var(--fg);
    font-weight: 600;
    display: block;
}

.artist-list .muted,
.city-list .muted,
.country-list .muted {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.1rem;
}

/* ---------- follow box ---------- */

.follow-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin: 1.25rem 0 2rem;
}

.follow-box h2 {
    margin-top: 0;
}

.follow-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.follow-form input[type=email],
.follow-form input[type=text] {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    flex: 1 1 180px;
    min-width: 140px;
}

.follow-form-stack>*+* {
    margin-top: 0.9rem;
}

.follow-form-stack>.field-label:first-child {
    margin-top: 0;
}

.follow-form input:focus {
    outline: none;
    border-color: var(--accent-2);
    background: var(--surface);
}

.follow-form-stack {
    flex-direction: column;
    align-items: stretch;
}

.follow-form-stack input[type=text],
.follow-form-stack input[type=email],
.follow-form-stack input[type=password],
.follow-form-stack select {
    flex: none;
    width: 100%;
}

.follow-form select {
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
}

.follow-form-hero {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
}

.follow-form-hero>.tag-picker {
    flex: none;
    width: 100%;
}

/* Column-flex + flex-basis:180px from the base input rule would otherwise become a HEIGHT
   (main axis in column direction), ballooning any input placed directly in a hero form. */
.follow-form-hero>input[type=text],
.follow-form-hero>input[type=email] {
    flex: none;
    width: 100%;
}

.follow-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.field-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.field-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--muted);
}

/* ---------- suggest-an-artist page: form + side helper panel ---------- */

.suggest-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1.5rem;
    align-items: start;
}

.suggest-box {
    padding: 2rem;
}

.suggest-help {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.suggest-help h3 {
    margin: 0 0 0.9rem;
    font-size: 0.95rem;
    font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
}

.suggest-help ul {
    margin: 0 0 1.1rem;
    padding-left: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.5;
}

.suggest-help p {
    margin: 0;
    font-size: 0.86rem;
}

.suggest-matches {
    margin-top: 0.6rem;
}

.suggest-matches:empty {
    margin: 0;
}

.suggest-matches .match-hint {
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    color: var(--muted);
}

.suggest-matches .match-hint.match-clear {
    color: var(--cyan-dark);
    font-weight: 600;
}

.suggest-matches .match-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 0.45rem;
    transition: border-color 0.15s ease;
}

.suggest-matches .match-row:hover {
    border-color: var(--accent-2);
    text-decoration: none;
}

.suggest-matches .match-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.suggest-matches .match-name {
    font-weight: 600;
    font-size: 0.88rem;
}

.suggest-matches .match-meta {
    display: block;
    font-size: 0.76rem;
    color: var(--muted);
}

@media (max-width: 720px) {
    .suggest-layout {
        grid-template-columns: 1fr;
    }
}

.btn {
    display: inline-block;
    padding: 0.65rem 1.4rem;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(146, 64, 14, 0.32);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: var(--accent-2);
    border: 1.5px solid var(--accent-2);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(124, 58, 237, 0.08);
}

.btn-danger {
    background: transparent;
    color: var(--accent-dark);
    border: 1.5px solid var(--accent-dark);
    box-shadow: none;
}

.btn-danger:hover {
    background: rgba(217, 67, 37, 0.08);
    filter: none;
}

.city-suggestions {
    position: relative;
}

.tag-picker {
    flex: 1 1 240px;
    position: relative;
}

.tag-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    color: var(--accent-2);
    border-radius: 999px;
    padding: 0.2rem 0.35rem 0.2rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.tag-chip button {
    border: none;
    background: none;
    color: var(--accent-2);
    opacity: 0.65;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0.1rem 0.3rem;
}

.tag-chip button:hover {
    opacity: 1;
    color: var(--ink-soft);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.85rem;
    margin: 1.5rem 0 2rem;
}

.near-you {
    margin: 1.75rem 0;
}

.near-you-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.near-you-head h2 {
    margin: 0;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-tab:hover {
    border-color: var(--accent-2);
    color: var(--fg);
}

.filter-tab.active {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
}

.near-you #near-you-results {
    margin-top: 1rem;
}

.vibe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.85rem;
}

.vibe-pill {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.1rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.vibe-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-2);
    text-decoration: none;
}

.vibe-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    color: var(--fg);
    font-size: 1rem;
}

.vibe-count {
    font-size: 0.78rem;
    color: var(--muted);
}

.watch-next-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 0.85rem;
}

.watch-next-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.watch-next-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.watch-next-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    font-weight: 700;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.watch-next-name {
    display: block;
    font-weight: 600;
    color: var(--fg);
}

.watch-next-date {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
}

.stat-box {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.4rem 1rem;
    text-align: center;
    border-image: var(--gradient) 1;
}

.stat-box .stat-value {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--accent-2);
}

.stat-box .stat-label {
    color: var(--muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.features-parallax {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-top: 2.5rem;
    padding: 5rem 1.25rem;
    background: var(--ink);
    background-image:
        linear-gradient(180deg, rgba(23, 11, 82, 0.72) 0%, rgba(23, 11, 82, 0.85) 100%),
        url('/assets/background2.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
}

.features-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.features-inner h2 {
    font-size: 2rem;
    margin: 0 0 0.75rem;
}

.features-lede {
    color: rgba(255, 255, 255, 0.72);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.features-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.features-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.features-step h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.features-step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
    line-height: 1.5;
}

.tag-picker input[type=text] {
    width: 100%;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    border-radius: 8px;
    font-size: 0.92rem;
    font-family: inherit;
}

.tag-picker input[type=text]:focus {
    outline: none;
    border-color: var(--accent-2);
    background: var(--surface);
}

.city-suggestions .suggestions,
.tag-picker .suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    max-height: 260px;
    overflow-y: auto;
    z-index: 10;
    display: none;
    margin-top: 0.4rem;
    padding: 0.35rem;
}

.city-suggestions .suggestions.open,
.tag-picker .suggestions.open {
    display: block;
}

.city-suggestions .suggestions div,
.tag-picker .suggestions div {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
}

.city-suggestions .suggestions div:hover,
.tag-picker .suggestions div:hover {
    background: var(--bg-alt);
}

.suggestions .sugg-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.suggestions .sugg-text {
    min-width: 0;
    flex: 1;
}

.suggestions .sugg-name {
    font-weight: 600;
    color: var(--fg);
    display: block;
}

.suggestions .sugg-meta {
    font-size: 0.78rem;
    color: var(--muted);
    display: block;
}

.suggestions .sugg-empty {
    padding: 0.6rem 0.7rem;
    color: var(--muted);
    font-size: 0.85rem;
    cursor: default;
}

.suggestions .sugg-missing-link {
    display: block;
    padding: 0 0.7rem 0.7rem;
    color: var(--accent-2);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.suggestions .sugg-missing-link:hover {
    text-decoration: underline;
}

.suggestions .sugg-empty:hover {
    background: none;
}

/* ---------- flash / cards ---------- */

.flash {
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    border-left: 4px solid transparent;
}

.flash-success {
    background: #eaf7ec;
    color: #1e6b2f;
    border-left-color: #1e6b2f;
}

.flash-error {
    background: #fdecea;
    color: #a4262c;
    border-left-color: #a4262c;
}

.card {
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    border-radius: 18px;
    padding: 2.25rem 1.75rem;
    max-width: 440px;
    margin: 3rem auto;
    text-align: center;
}

.card h1 {
    font-size: 1.4rem;
}

.pill {
    display: inline-block;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    color: var(--accent-2);
    border-radius: 999px;
    padding: 0.15rem 0.65rem;
    font-size: 0.76rem;
    font-weight: 600;
}

.pill-new {
    margin-left: 0.5rem;
    background: rgba(255, 216, 77, 0.25);
    border-color: rgba(255, 216, 77, 0.6);
    color: var(--fg);
    text-transform: none;
    letter-spacing: normal;
    vertical-align: middle;
}

.bio {
    white-space: pre-line;
}

.tracks {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.tracks li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.tracks audio {
    width: 100%;
    height: 32px;
    margin-top: 0.2rem;
}

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

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.6);
    border-top: none;
    padding: 3rem 1.5rem 1.5rem;
    font-size: 0.85rem;
}

.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr 1fr;
    gap: 2rem;
    padding-bottom: 2.25rem;
}

.footer-brand .brand {
    color: #fff;
}

.footer-tagline {
    margin: 0.6rem 0 0;
    max-width: 220px;
    line-height: 1.5;
}

.footer-col h3 {
    margin: 0 0 0.9rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.4);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-col a:hover {
    color: #fff;
}

.footer-subscribe p {
    margin: 0 0 0.15rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-subscribe form {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.footer-subscribe input[type=email] {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
}

.footer-subscribe input[type=email]::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.footer-subscribe input[type=email]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.footer-subscribe .btn {
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
    flex-shrink: 0;
}

#google_translate_element {
    font-size: 0.8rem;
}

.footer-bottom {
    max-width: 1080px;
    margin: 0 auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
}

.footer-legal {
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover {
    color: #fff;
}

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

@media (max-width: 640px) {
    .site-header {
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
        padding: 0.75rem 1rem;
    }

    /* Buttons drop to their own full-width row under the details rather than
       squeezing the event name into a two-word column. */
    .event-row {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .event-row .details {
        flex: 1 1 60%;
    }

    .event-cta {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        margin-left: 0;
    }

    .event-cta .btn {
        flex: 1 1 auto;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .features-parallax {
        /* iOS Safari doesn't support fixed backgrounds reliably (and it's a real jank/battery cost on mobile) — plain scroll there. */
        background-attachment: scroll;
        padding: 3rem 1.25rem;
    }

    .features-steps {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        margin-top: 2rem;
    }

    .search-form {
        margin-left: 0;
        order: 3;
        width: 100%;
    }

    .search-form input {
        flex: 1;
        width: auto;
    }

    .hero {
        padding: 2.5rem 1.25rem 2.5rem;
    }

    .hero-deco {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
        max-width: 100%;
    }

    .hero .lede {
        font-size: 0.92rem;
        max-width: 100%;
    }

    .hero-inner {
        padding-bottom: 2rem;
        min-height: 0;
    }

    .hero-card {
        padding: 1.25rem;
    }

    .artist-list,
    .city-list,
    .country-list {
        grid-template-columns: 1fr;
    }
}

.vibe-pill,
.stat-box {
    background-attachment: scroll;
    background-size: cover;
    background-position: right;
}

/* ---------- A-Z filter bar ---------- */

.alpha-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin: 1.25rem 0 0;
}

.alpha-bar a,
.alpha-bar span {
    min-width: 1.9rem;
    padding: 0.25rem 0.4rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.alpha-bar a {
    color: var(--accent-2);
    background: var(--surface);
    border: 1px solid var(--border);
}

.alpha-bar a:hover {
    border-color: var(--accent-2);
    text-decoration: none;
}

.alpha-bar a.active {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
}

/* Letters with nobody behind them stay visible but dead — the gap itself is
   information, and a link to an empty page is worse than no link. */
.alpha-bar .empty {
    color: var(--border);
    border: 1px solid transparent;
}

/* ---------- artist tile grid (full directory) ---------- */

/* auto-fill + a 64px floor lands on 12 across at the 980px container and
   reflows down to 4 on a phone, without a media query per breakpoint. */
.artist-grid {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 1rem 0.6rem;
}

.artist-tile a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--fg);
}

.artist-tile-photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--muted);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* The image is clipped to the circle by its own radius rather than
   overflow:hidden on the parent, so the count badge can sit on the rim. */
.artist-tile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 999px;
}

/* Announced dates get the accent, so the grid answers "who can I see soon"
   before you read a single number. */
.artist-tile.has-events .artist-tile-photo {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent);
    background: var(--gradient);
    color: #fff;
}

.artist-tile.has-events .artist-tile-name {
    font-weight: 700;
}

.artist-tile-count {
    position: absolute;
    right: -1px;
    bottom: -1px;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.2rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--bg);
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.15rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.artist-tile a:hover .artist-tile-photo {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.artist-tile a:hover .artist-tile-name {
    text-decoration: underline;
}

.artist-tile-name {
    font-size: 0.7rem;
    line-height: 1.25;
    text-align: center;
    /* Two lines then ellipsis — names vary wildly and a ragged grid is worse
       than a truncated one. The full name is on the link's title attribute. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.artist-legend-dot {
    display: inline-block;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: var(--gradient);
    vertical-align: -1px;
    margin-right: 0.3rem;
}

@media (max-width: 640px) {
    .artist-grid {
        grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
        gap: 0.9rem 0.5rem;
    }
}

/* ---------- artist media ---------- */

.artist-head {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 0.5rem;
}

.artist-head h1 {
    margin: 0;
}

.artist-photo {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.tracks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tracks li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.track-art {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.track-meta {
    display: flex;
    flex-direction: column;
    min-width: 12ch;
    flex: 1 1 14ch;
}

.track-meta .muted {
    font-size: 0.8rem;
}

.tracks audio {
    height: 34px;
    flex: 1 1 220px;
    max-width: 100%;
}

.itunes-badge {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    white-space: nowrap;
}

.itunes-attribution {
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

/* Photo replaces the letter avatar wherever we have one. */
.watch-next-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

@media (max-width: 640px) {
    .artist-head {
        gap: 0.9rem;
    }

    .artist-photo {
        width: 84px;
        height: 84px;
    }
}

/* ---------- places card grid (homepage) ---------- */

.places-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.places-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Same photo-heading language as .heading, scaled down to sit three across. */
.places-head {
    margin: 0;
    padding: 1.5rem 1.25rem 1rem;
    min-height: 96px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    color: #fff;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1.1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.places-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    flex: 1;
}

.places-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.4rem 1.25rem;
    font-size: 0.9rem;
}

.places-list li+li {
    border-top: 1px solid var(--divider);
}

.places-list a {
    text-decoration: none;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.places-list a:hover {
    text-decoration: underline;
}

.places-list .muted {
    flex-shrink: 0;
    font-size: 0.8rem;
}

.places-card .muted:only-child,
.places-card>p.muted {
    padding: 1rem 1.25rem;
    margin: 0;
    font-size: 0.88rem;
}

.places-more {
    display: block;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.places-more:hover {
    background: var(--bg-alt);
}

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

    .places-head {
        min-height: 80px;
        font-size: 1.4rem;
    }
}

.heading {
    padding: 35px;
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 150px;
    font-size: 2.5em;
    font-weight: bolder;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    /* shadow each letter separately */
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    border-radius: 35px 15px;


}

/* --- About page ------------------------------------------------------------
   Its own block rather than reusing the admin stat tiles: this one is read by
   visitors deciding whether the site is worth an email address, so the numbers
   lead and the prose stays narrow enough to actually read. */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 1rem;
    margin: 2rem 0 2.5rem;
}

.about-stats .stat-box {
    background: var(--bg-alt);
    border-radius: 10px;
    padding: 1.1rem 1rem;
    text-align: center;
}

.about-stats .stat-value {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--accent);
}

.about-stats .stat-label {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.about-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    max-width: 62ch;
}

.about-steps li {
    counter-increment: step;
    position: relative;
    padding: 0 0 1.1rem 2.6rem;
}

.about-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 2.5rem 0 1rem;
}

/* Inline nav icon — sized to the text it sits beside and inheriting its colour,
   so it tracks the link's hover and active states without extra rules. */
.site-nav .nav-icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    margin-right: 0.15em;
}

.row {

    display: flex;

    flex-wrap: wrap;

    width: 100%;

}

.col {

    flex: 1 0 0%;

    min-width: 0;

}

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

.p5 {
    padding: 25px;
}
/* --- "Just announced", grouped by country --------------------------------
   Cards rather than one long list: a flat recency list is dominated by whichever
   source imported last, and the point of the section is that a visitor sees
   something near them. Same grid shape as .places-grid so the homepage keeps one
   rhythm. */
.announced-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem 1.25rem; margin-bottom: 2rem;
    /* Cards size to their own content. Without this the whole row stretches to
       the tallest card, and one scraped title like "Koncert … | 17.09. |
       Pozorište Dobrica Milutinović – Sremska Mitrovica" made every card 375px. */
    align-items: start; }
.announced-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0.9rem 1rem 0.6rem; }
.announced-country { margin: 0 0 0.5rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.announced-country a { color: inherit; text-decoration: none; }
.announced-country a:hover { color: var(--accent); }
.announced-list { list-style: none; margin: 0; padding: 0; }
.announced-list li { display: flex; gap: 0.6rem; padding: 0.35rem 0; border-top: 1px solid var(--border); font-size: 0.88rem; }
.announced-list li:first-child { border-top: 0; }
.announced-when { flex: 0 0 3.2rem; color: var(--accent); font-weight: 700; font-size: 0.8rem; padding-top: 0.1rem; }
.announced-what { flex: 1 1 auto; min-width: 0; }
.announced-what a { text-decoration: none; }
.announced-what a:hover { text-decoration: underline; }
/* Scraped titles routinely carry the date and venue inline. Two lines is enough
   to recognise the act; the full title is on the event itself. */
.announced-what a, .announced-what > span:first-child {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; overflow-wrap: anywhere;
}
/* Inline, not block: on its own line the city added a third line to every item
   and pushed each card past 300px for four short entries. */
.announced-what .muted { font-size: 0.78rem; }
.announced-what .muted::before { content: '· '; }
