/* ===========================================================================
   Homepage (views/index.html)

   Loaded after index.css, which still owns the hero's background slideshow,
   radar sweep and wordmark. Everything below the hero lives here, plus the
   overrides that cut the hero down from full-bleed to a banner — the page now
   leads with real listings rather than a screen of marketing.

   One naming system: .home-section wraps a titled block, .home-row is a
   horizontal card scroller, .hcard is an event card, .hlist is the
   date-grouped listing. The old home-media and home-event-card rules that
   lived in an inline <style> block in the template were folded into these.
   =========================================================================== */

:root {
    --home-max: 1280px;
    --home-gut: 1.5rem;
    --home-red: #ff0000;
    --home-red-dim: #cc0000;
    --home-red-soft: #ff4444;
    --home-line: rgba(255, 255, 255, 0.10);
    --home-line-soft: rgba(255, 255, 255, 0.06);
    --home-surface: #101010;
    --home-muted: #8a8a8a;
}

/* ---------------------------------------------------------------------------
   Hero — compact variant
   --------------------------------------------------------------------------- */

/* index.css and layout.css both set .hero height; this wins on specificity and
   load order. `main` carries a 60px top margin for the fixed header, so the
   pull-up has to match that exactly — it used to be -80px, which tucked 20px of
   hero behind the header. */
.hero--compact {
    height: auto;
    min-height: 0;
    padding: clamp(4.5rem, 12vh, 7rem) 1rem clamp(2.5rem, 6vh, 3.5rem);
    margin-top: -60px;
    padding-top: calc(60px + clamp(3rem, 9vh, 5rem));
}

.hero--compact .hero-content {
    max-width: 860px;
    width: 100%;
    /* index.css floats .hero-content up and down forever. Harmless over a
       wordmark, not over a <select> the visitor is trying to hit. */
    animation: none;
}

.hero--compact .hero-title {
    font-size: clamp(1.9rem, 7.5vw, 4.5rem);
}

.hero--compact .hero-radar {
    width: min(360px, 78vw);
    height: min(360px, 78vw);
}

.hero--compact .hero-subtitle {
    font-size: clamp(0.95rem, 2.6vw, 1.35rem);
    margin-bottom: 1.75rem;
    letter-spacing: 1.5px;
}

.hero--compact .hero-stats {
    margin-top: 1.5rem;
    font-size: 0.85rem;
}

/* The overlay gets a hard bottom fade so the hero hands off into the listings
   below instead of stopping on a seam. */
.hero--compact .hero-overlay {
    background: linear-gradient(
        rgba(0, 0, 0, 0.62),
        rgba(0, 0, 0, 0.78) 55%,
        #000 100%
    );
}

/* City finder ------------------------------------------------------------- */

.hero-finder {
    display: flex;
    gap: 0.5rem;
    max-width: 520px;
    margin: 0 auto;
    opacity: 0;
    animation: heroEnter 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
}

.hero-finder-field {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.hero-finder-field > i {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--home-red);
    font-size: 0.85rem;
    pointer-events: none;
}

.hero-finder select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.85rem 2.2rem 0.85rem 2.4rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-finder select:hover,
.hero-finder select:focus {
    border-color: var(--home-red);
    background: rgba(0, 0, 0, 0.8);
    outline: none;
}

/* Native option lists inherit the page's transparent background on some
   platforms and render white-on-white; pin them explicitly. */
.hero-finder select option {
    background: #111;
    color: #fff;
}

.hero-finder-caret {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 0.7rem;
    pointer-events: none;
}

.hero-finder button {
    flex: 0 0 auto;
    background: var(--home-red);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0 1.5rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-finder button:hover {
    background: var(--home-red-dim);
    transform: translateY(-1px);
}

/* Quick-pick city chips --------------------------------------------------- */

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    opacity: 0;
    animation: heroEnter 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
}

.hero-chip {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #ddd;
    font-size: 0.78rem;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.hero-chip:hover {
    border-color: var(--home-red);
    background: rgba(255, 0, 0, 0.12);
    color: #fff;
}

.hero-chip--all {
    border-color: rgba(255, 0, 0, 0.5);
    color: #fff;
}

@media (max-width: 768px) {
    .hero--compact {
        height: auto;
        min-height: 0;
        padding-bottom: 2.25rem;
        padding-top: calc(60px + 2.5rem);
    }
}

@media (max-width: 560px) {
    .hero-finder {
        flex-direction: column;
    }

    .hero-finder button {
        padding: 0.8rem 1.5rem;
    }
}

/* ---------------------------------------------------------------------------
   Signed-in welcome bar (replaces the hero for authenticated users)
   --------------------------------------------------------------------------- */

.home-welcome {
    max-width: var(--home-max);
    margin: 0 auto;
    padding: 2rem var(--home-gut) 0.5rem;
}

.home-welcome-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--home-line);
}

.home-welcome-hi {
    margin: 0;
    font-size: clamp(1.4rem, 4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.home-welcome-hi span {
    color: var(--home-red);
}

.home-welcome-sub {
    margin: 0.35rem 0 0;
    color: var(--home-muted);
    font-size: 0.88rem;
}

.home-welcome-sub a {
    color: #ddd;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.home-welcome-sub a:hover {
    color: #fff;
}

.home-welcome-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.home-welcome-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.home-welcome-btn:hover {
    border-color: var(--home-red);
    background: rgba(255, 0, 0, 0.12);
}

.home-welcome-btn--primary {
    background: var(--home-red);
    border-color: var(--home-red);
}

.home-welcome-btn--primary:hover {
    background: var(--home-red-dim);
    border-color: var(--home-red-dim);
}

/* Inline nudge for a signed-in user with no city on their profile. */
.home-setcity {
    max-width: var(--home-max);
    margin: 1.5rem auto 0;
    padding: 1.1rem var(--home-gut);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-setcity-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.9rem;
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 0, 0, 0.35);
    border-left: 3px solid var(--home-red);
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.08), transparent 60%);
}

.home-setcity p {
    margin: 0;
    font-size: 0.9rem;
    color: #ddd;
}

.home-setcity strong {
    color: #fff;
}

/* ---------------------------------------------------------------------------
   Section shell
   --------------------------------------------------------------------------- */

.home-section {
    max-width: var(--home-max);
    margin: 0 auto;
    padding: 2.75rem var(--home-gut) 0;
}

.home-section--last {
    padding-bottom: 3.5rem;
}

/* Portals. Deliberately quieter than a content row: it is a shortcut for the
   few people who have one, not a thing to look at, so it gets a small heading
   and no arrows. Two cards at most, side by side and full width on a phone. */
.home-portals {
    max-width: var(--home-max);
    margin: 0 auto;
    padding: 2.25rem var(--home-gut) 0;
}

.home-portals-h {
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--home-muted);
}

.home-portals-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem;
}

.home-portal {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}

.home-portal:hover {
    border-color: var(--home-red);
    background: rgba(255, 0, 0, 0.05);
}

.home-portal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: rgba(255, 0, 0, 0.10);
    color: var(--home-red);
    font-size: 0.95rem;
}

.home-portal-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.home-portal-text strong {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
}

.home-portal-text small {
    color: var(--home-muted);
    font-size: 0.76rem;
    line-height: 1.35;
}

/* Pushed to the right rather than positioned, so it stays put whatever the
   blurb wraps to. */
.home-portal-go {
    margin-left: auto;
    flex: 0 0 auto;
    color: var(--home-muted);
    font-size: 0.75rem;
    transition: color 0.15s, transform 0.15s;
}

.home-portal:hover .home-portal-go {
    color: var(--home-red);
    transform: translateX(3px);
}

.home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--home-line);
}

.home-section-h {
    margin: 0;
    font-size: clamp(1.25rem, 3.2vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.home-section-h small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--home-muted);
}

.home-section-tools {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-shrink: 0;
}

.home-section-more {
    color: var(--home-red);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.home-section-more:hover {
    opacity: 0.7;
}

.home-section-more i {
    margin-left: 0.35rem;
    font-size: 0.72rem;
}

/* Carousel arrows --------------------------------------------------------- */

.home-arrows {
    display: flex;
    gap: 0.4rem;
}

.home-arrow {
    width: 34px;
    height: 34px;
    padding: 0;
    line-height: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.72rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.home-arrow:hover:not(:disabled) {
    background: var(--home-red);
    border-color: var(--home-red);
    transform: scale(1.1);
}

.home-arrow:disabled {
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
}

/* Arrows are a convenience on top of native scrolling; on touch, swiping is
   the real affordance and they only eat header space. */
@media (max-width: 768px) {
    .home-arrows {
        display: none;
    }
}

/* Horizontal card scroller ------------------------------------------------ */

.home-row {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.home-row::-webkit-scrollbar {
    display: none;
}

/* Let the last card in a row breathe against the gutter on phones. */
.home-row::after {
    content: '';
    flex: 0 0 0.25rem;
}

.home-empty {
    color: #777;
    font-size: 0.9rem;
    padding: 0.5rem 0 1rem;
}

.home-empty a {
    color: var(--home-red);
    text-decoration: none;
}

.home-empty a:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   Event card (.hcard) — poster-led, RA style
   --------------------------------------------------------------------------- */

.hcard {
    flex: 0 0 260px;
    /* Without this a flex item's automatic minimum size can push it past its
       basis, so one long word in a title made that card wider than the rest of
       the row. */
    min-width: 0;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.hcard-media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    /* The row stretches every card to the tallest one; without this the poster
       is a shrinkable flex item and gives up height to whichever card has a
       two-line title, so the artwork comes out ragged across the row. */
    flex: none;
    border-radius: 6px;
    overflow: hidden;
    background: var(--home-surface);
    margin-bottom: 0.8rem;
}

.hcard-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hcard:hover .hcard-media img {
    transform: scale(1.06);
}

/* Sits over the artwork so a missing poster still reads as a card rather than
   a hole — the scraped feeds leave plenty of events image-less. */
.hcard-media-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #333;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.02) 0 10px,
            transparent 10px 20px
        ),
        var(--home-surface);
}

.hcard-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent 45%);
    pointer-events: none;
}

.hcard-date {
    position: absolute;
    left: 0.6rem;
    bottom: 0.6rem;
    z-index: 1;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    padding: 0.3rem 0.55rem;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.hcard-date em {
    font-style: normal;
    color: var(--home-red);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

.hcard-flag {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    z-index: 1;
    padding: 0.22rem 0.5rem;
    border-radius: 3px;
    background: var(--home-red);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hcard-title {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.hcard:hover .hcard-title {
    color: var(--home-red);
}

.hcard-meta {
    margin: 0;
    font-size: 0.82rem;
    color: var(--home-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 600px) {
    .hcard {
        flex-basis: 78vw;
        max-width: 300px;
    }
}

/* ---------------------------------------------------------------------------
   Date-grouped listing (.hlist)
   --------------------------------------------------------------------------- */

.hlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hlist-day {
    display: flex;
    gap: 1.5rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--home-line-soft);
}

.hlist-day:last-child {
    border-bottom: none;
}

.hlist-rail {
    flex: 0 0 66px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.35rem;
    line-height: 1.1;
    position: sticky;
    top: 80px;
    align-self: flex-start;
}

.hlist-rail-dow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--home-red);
}

.hlist-rail-num {
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}

.hlist-rail-mon {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--home-muted);
}

.hlist-rows {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.hlist-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 0.75rem;
    margin: 0 -0.75rem;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: background 0.18s ease;
}

.hlist-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.hlist-thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--home-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

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

.hlist-body {
    flex: 1 1 auto;
    min-width: 0;
}

.hlist-title {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.hlist-row:hover .hlist-title {
    color: var(--home-red);
}

.hlist-meta {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.82rem;
    color: var(--home-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hlist-time {
    flex: 0 0 auto;
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
    color: #bbb;
}

.hlist-go {
    flex: 0 0 auto;
    color: #444;
    font-size: 0.8rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.hlist-row:hover .hlist-go {
    color: var(--home-red);
    transform: translateX(3px);
}

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

    .hlist-rail {
        flex-basis: 44px;
        position: static;
    }

    .hlist-rail-num {
        font-size: 1.4rem;
    }

    .hlist-thumb {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .hlist-time,
    .hlist-go {
        display: none;
    }
}

/* ---------------------------------------------------------------------------
   City grid
   --------------------------------------------------------------------------- */

.hcities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.75rem;
}

.hcity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
    border: 1px solid var(--home-line);
    border-radius: 6px;
    background: var(--home-surface);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hcity:hover {
    border-color: var(--home-red);
    background: #161010;
    transform: translateY(-2px);
}

.hcity-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hcity-count {
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--home-muted);
    font-variant-numeric: tabular-nums;
}

.hcity:hover .hcity-count {
    color: var(--home-red);
}

/* ---------------------------------------------------------------------------
   Artist + article cards (Music / Magazine rows)
   --------------------------------------------------------------------------- */

.hartist {
    flex: 0 0 170px;
    min-width: 0;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
}

.hartist-img {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--home-surface);
    margin-bottom: 0.75rem;
    border: 1px solid var(--home-line);
    transition: border-color 0.2s ease, transform 0.25s ease;
}

.hartist:hover .hartist-img {
    border-color: var(--home-red);
    transform: translateY(-4px);
}

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

.hartist-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 2.2rem;
}

.hartist-name {
    margin: 0 0 0.15rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hartist-meta {
    margin: 0;
    font-size: 0.76rem;
    color: var(--home-muted);
    text-align: center;
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* New on Moshradar: the verified tick, the day the band joined, and the card
   at the end of the row asking the next band to claim theirs. */
.hnewband-tick {
    margin-left: 0.3rem;
    font-size: 0.8em;
    color: var(--home-red);
}

.hnewband-joined {
    margin: 0.2rem 0 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    color: #666;
}

.hnewband-claim .hartist-img {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.22);
}

.hnewband-claim .hartist-fallback {
    color: var(--home-red);
}

.harticle {
    flex: 0 0 300px;
    min-width: 0;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
}

.harticle-img {
    width: 100%;
    aspect-ratio: 5 / 3;
    border-radius: 6px;
    overflow: hidden;
    background: var(--home-surface);
    margin-bottom: 0.8rem;
}

.harticle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.harticle:hover .harticle-img img {
    transform: scale(1.06);
}

.harticle-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 2.2rem;
}

.harticle-cat {
    margin: 0 0 0.3rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--home-red);
}

.harticle-title {
    margin: 0 0 0.35rem;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.harticle:hover .harticle-title {
    color: var(--home-red);
}

.harticle-meta {
    margin: 0;
    font-size: 0.78rem;
    color: var(--home-muted);
}

@media (max-width: 600px) {
    .hartist,
    .hartist-img {
        flex-basis: 132px;
        width: 132px;
    }

    .hartist-img {
        height: 132px;
    }

    .harticle {
        flex-basis: 78vw;
        max-width: 300px;
    }
}

/* ---------------------------------------------------------------------------
   Join band — the one marketing strip, replacing four full-height sections
   --------------------------------------------------------------------------- */

.home-join {
    max-width: var(--home-max);
    margin: 3.5rem auto 0;
    padding: 0 var(--home-gut);
}

.home-join-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    padding: 1.75rem;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    background:
        linear-gradient(120deg, rgba(255, 0, 0, 0.08), transparent 55%),
        var(--home-surface);
}

.home-join-col h2 {
    margin: 0 0 0.3rem;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
}

.home-join-col p {
    margin: 0 0 0.9rem;
    font-size: 0.86rem;
    color: var(--home-muted);
    line-height: 1.5;
}

.home-join-divider {
    width: 1px;
    align-self: stretch;
    background: var(--home-line);
}

.home-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    background: var(--home-red);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-join-btn:hover {
    background: var(--home-red-dim);
    transform: translateY(-1px);
}

.home-join-btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.home-join-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #fff;
}

.home-join-alt {
    margin: 0.6rem 0 0;
    font-size: 0.76rem;
    color: #777;
}

.home-join-alt a {
    color: #ccc;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.home-join-alt a:hover {
    color: #fff;
}

@media (max-width: 760px) {
    .home-join-inner {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .home-join-divider {
        width: 100%;
        height: 1px;
        align-self: auto;
    }
}

/* ---------------------------------------------------------------------------
   Merch CTA
   --------------------------------------------------------------------------- */

.home-merch-cta {
    position: relative;
    height: 60vh;
    min-height: 380px;
    margin-top: 3.5rem;
    overflow: hidden;
}

.home-merch-scroll {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.home-merch-scroll img {
    width: 100%;
    height: auto;
    min-height: 120%;
    object-fit: cover;
    display: block;
    animation: homeMerchScroll 22s ease-in-out infinite;
}

@keyframes homeMerchScroll {
    0%   { transform: translateY(0); }
    40%  { transform: translateY(-18%); }
    50%  { transform: translateY(-18%); }
    90%  { transform: translateY(0); }
    100% { transform: translateY(0); }
}

.home-merch-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.55));
}

.home-merch-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.home-merch-eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--home-red);
}

.home-merch-title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.home-merch-sub {
    margin: 0 0 2rem;
    max-width: 480px;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.6;
    color: #ccc;
}

.home-merch-btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border-radius: 4px;
    background: var(--home-red);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-merch-btn:hover {
    background: var(--home-red-dim);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .home-merch-cta {
        height: 50vh;
    }
}

/* ---------------------------------------------------------------------------
   Motion
   --------------------------------------------------------------------------- */

/* Sections start hidden ONLY when scripting is confirmed — `home-js` is set on
   <html> by an inline script at the top of the page. Without it the sections
   never get an opacity of 0, so a no-JS visitor reads a complete page rather
   than a blank one. */
.home-js .home-reveal {
    opacity: 0;
    transform: translateY(18px);
}

.home-js .home-reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
    .home-js .home-reveal,
    .home-js .home-reveal.is-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-finder,
    .hero-chips {
        animation: none;
        opacity: 1;
    }

    .home-merch-scroll img,
    .hcard-media img,
    .harticle-img img {
        animation: none;
        transition: none;
    }
}

/* --- Magazine: festival strip -------------------------------------------
 *
 * A grid, not a .home-row scroller. The row shape suits an open-ended list of
 * gigs; the festival strip is a fixed five and a scroller with nothing to
 * scroll reads as broken. Same card geometry as the rest of the homepage --
 * surface, hairline, 6px radius, -2px lift -- so it belongs to the page
 * rather than looking like a widget dropped into it.
 */

.hmag-fests {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hfest {
    display: block;
    background: var(--home-surface);
    border: 1px solid var(--home-line);
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.15s, transform 0.15s;
}

.hfest:hover {
    border-color: var(--home-red-dim);
    transform: translateY(-2px);
}

.hfest-img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 3;
    background: #0a0a0a;
    overflow: hidden;
}

/* Cropped here, unlike the hero on the festival page itself. A card at this
 * size cannot show a poster's text legibly whatever it does, so a consistent
 * grid beats a ragged one; the whole artwork is one click away. */
.hfest-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hfest-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--home-muted);
    font-size: 1.6rem;
}

.hfest-name {
    display: block;
    padding: 0.75rem 0.85rem 0;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
}

.hfest-meta {
    display: block;
    padding: 0.35rem 0.85rem 0;
    color: var(--home-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.hfest-count {
    display: block;
    padding: 0.5rem 0.85rem 0.85rem;
    color: var(--home-red-soft);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
}

.hmag-all {
    margin: 0 0 1.75rem;
    font-size: 0.85rem;
}

.hmag-all a {
    color: var(--home-muted);
    text-decoration: none;
}

.hmag-all a:hover { color: var(--home-red-soft); }

/* The articles keep the scroller: unlike the festival strip that list really
 * is open-ended. */
.hmag-articles { margin-top: 0; }

/* --- Magazine: quizzes ---------------------------------------------------
 *
 * The festival strip's cards, with the quiz's share card as the image. auto-
 * fill rather than the strip's auto-fit, so three quizzes keep a card's width
 * instead of stretching to thirds of the page with thumbnails to match.
 */

.hmag-label {
    margin: 0.5rem 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--home-muted);
}

.hmag-quizzes { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* The share card is mostly title: shown whole, at its own ratio. */
.hquiz-img { aspect-ratio: 40 / 21; }

.hquiz-best { color: #fff; padding-top: 0; }

/* .hfest-count sets display, which would beat the hidden attribute. */
.hquiz [data-quiz-best-for][hidden] { display: none; }

#home-magazine [hidden] { display: none !important; }

/* --- Magazine: blocks -----------------------------------------------------
 *
 * Festival guides, games and articles each get a numbered header with a rule
 * running to its link. Without them the three strips ran together under the
 * one "Magazine" heading and the articles had no heading at all.
 */

#home-magazine { counter-reset: hmag; }

.hmag-block { counter-increment: hmag; margin-top: 2.75rem; }

.home-section-head + .hmag-block { margin-top: 0; }

.hmag-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1.25rem;
}

.hmag-h {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    margin: 0;
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
    color: #fff;
}

.hmag-h::before {
    content: counter(hmag, decimal-leading-zero);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
    color: var(--home-red);
}

.hmag-rule {
    flex: 1 1 auto;
    min-width: 1rem;
    height: 1px;
    background: linear-gradient(90deg, var(--home-line), rgba(255, 255, 255, 0));
}

.hmag-h-link {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
    color: var(--home-muted);
    transition: color 0.2s ease;
}

.hmag-h-link:hover { color: var(--home-red-soft); }

/* The link drops under the heading when the two do not fit side by side,
   and may break: nowrap on one line pushed the page 13px past a 360px
   phone ("All games & quizzes"), and further for the signed-in "From the
   N bands and N venues you follow". */
@media (max-width: 600px) {
    .hmag-head { justify-content: space-between; flex-wrap: wrap; gap: 0.35rem 1rem; }
    .hmag-rule { display: none; }
    .hmag-h-link { white-space: normal; min-width: 0; }
}

/* --- Magazine: Higher or Lower, playable ----------------------------------
 *
 * The board is games.css's, loaded alongside when this block renders. That
 * sheet reads the --dp-* tokens from detail.css, which the homepage does not
 * load, so they are pointed at this page's own palette here -- and the two
 * button classes it uses are restated for the same reason.
 */

.hplay {
    --dp-red: var(--home-red);
    --dp-red-dim: var(--home-red-dim);
    --dp-red-soft: var(--home-red-soft);
    --dp-line: var(--home-line);
    --dp-line-soft: var(--home-line-soft);
    --dp-surface: var(--home-surface);
    --dp-surface-2: #161616;
    --dp-muted: var(--home-muted);
    --dp-text: #d8d8d8;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.5rem;
    padding: 1.35rem;
    border: 1px solid var(--home-line);
    border-radius: 14px;
    background:
        radial-gradient(90% 120% at 0% 0%, rgba(190, 255, 0, 0.08), rgba(190, 255, 0, 0) 55%),
        linear-gradient(135deg, #131313, #0b0b0b);
}

.hplay .dp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.hplay .dp-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.hplay .dp-btn--primary { background: var(--home-red); border-color: var(--home-red); }

.hplay .dp-btn--primary:hover { background: var(--home-red-dim); border-color: var(--home-red-dim); }

.hplay-game { min-width: 0; }

.hplay-intro { margin: 0 0 0.9rem; }

.hplay-kicker {
    margin: 0 0 0.25rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #beff00;
}

.hplay-title {
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
}

.hplay-sub { margin: 0.35rem 0 0; font-size: 0.92rem; color: var(--home-muted); }

.hplay .hol-card { min-height: clamp(280px, 30vw, 390px); }

.hplay .hol-name { font-size: clamp(1.4rem, 3vw, 2.1rem); }

.hplay-result { max-width: none; margin: 0; }

.hplay-more { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }

.hplay-more-h {
    margin: 0 0 0.15rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--home-muted);
}

.hplay-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.hplay-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.8rem 0.5rem 0.5rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--home-line);
    border-left: 3px solid var(--accent, var(--home-red));
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hplay-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent, var(--home-red));
    transform: translateX(3px);
}

/* height: auto is load-bearing: the <img> carries height="315" for layout
 * stability, and a height attribute beats aspect-ratio unless CSS resets it. */
.hplay-thumb {
    flex: none;
    width: 96px;
    height: auto;
    aspect-ratio: 40 / 21;
    object-fit: cover;
    border-radius: 6px;
    background: #0a0a0a;
}

.hplay-item-text { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }

.hplay-item-title { font-size: 0.88rem; font-weight: 700; line-height: 1.25; color: #fff; }

.hplay-item-meta {
    margin-top: 0.15rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent, var(--home-red-soft));
}

.hplay-item i { font-size: 0.8rem; color: var(--home-muted); }

/* Today's puzzle leads the list, marked out in the daily game's amber. */
.hplay-item--daily {
    background: linear-gradient(120deg, rgba(241, 196, 15, 0.12), rgba(241, 196, 15, 0) 70%);
    border-color: rgba(241, 196, 15, 0.35);
}

.hplay-more-foot { margin: 0.35rem 0 0; font-size: 0.78rem; }

.hplay-more-foot a {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: var(--home-muted);
    transition: color 0.2s ease;
}

.hplay-more-foot a:hover { color: var(--home-red-soft); }

@media (max-width: 960px) {
    .hplay { grid-template-columns: 1fr; }
    .hplay-list { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}

@media (max-width: 600px) {
    .hplay { padding: 0.9rem; }
}

/* --- Magazine: Band Close-Up, lazy-loaded ---------------------------------
 *
 * The teaser card the page ships with, and the frame the fetched board lands
 * in (partials/_home_closeup.html). The board reuses the .hplay clothes above
 * -- single column, since the quiz cards already sit underneath rather than
 * in an aside -- and the two classes the shared board partial brings from
 * the game page's own sheets (quiz-result's sizing, fest-kicker) are
 * restated here because the homepage loads neither of those.
 */

.hgame { margin: 0 0 1.5rem; }

.hgame-teaser {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--home-line);
    border-radius: 14px;
    background:
        linear-gradient(120deg, rgba(255, 0, 0, 0.10), rgba(255, 0, 0, 0) 60%),
        linear-gradient(135deg, #131313, #0b0b0b);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.15s ease;
}

.hgame-teaser:hover {
    border-color: var(--home-red);
    transform: translateY(-2px);
}

.hgame-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 0, 0, 0.12);
    color: var(--home-red);
    font-size: 1.25rem;
}

.hgame-text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 0.2rem; min-width: 0; }

.hgame-title { font-size: 1rem; font-weight: 800; color: #fff; }

.hgame-meta { font-size: 0.8rem; color: var(--home-muted); }

.hgame-play {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--home-red-soft);
}

.hplay--solo { grid-template-columns: 1fr; }

.hplay .quiz-result { max-width: none; margin: 0; }

.hplay .fest-kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--home-red);
}

@media (max-width: 600px) {
    .hgame-teaser { flex-wrap: wrap; }
}

/* --- Music: the fan's own strip and the releases row ----------------------
 *
 * The section borrows the Magazine's numbered block headers (.hmag-*), so it
 * needs its own counter or the Magazine's blocks would carry on from these.
 */

#home-music { counter-reset: hmag; }

.hmusic-feed {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.55rem 1.5rem;
}

.hmusic-item {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--home-line-soft);
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--home-muted);
    min-width: 0;
}

.hmusic-item i { flex: 0 0 auto; font-size: 0.8rem; color: var(--home-red); }

.hmusic-item strong { color: #fff; }

.hmusic-item a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.hmusic-item a:hover { color: var(--home-red-soft); }

.hrelease {
    flex: 0 0 185px;
    min-width: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-decoration: none;
    color: inherit;
}

.hrelease-img {
    position: relative;
    width: 185px;
    height: 185px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--home-surface);
    border: 1px solid var(--home-line);
    margin-bottom: 0.6rem;
    transition: border-color 0.2s ease, transform 0.25s ease;
}

.hrelease:hover .hrelease-img {
    border-color: var(--home-red);
    transform: translateY(-4px);
}

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

/* The upvote count, worn on the sleeve. Only rendered above zero. */
.hrelease-hype {
    position: absolute;
    left: 0.5rem;
    bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.74rem;
    font-weight: 800;
    color: #fff;
}

.hrelease-hype i { color: var(--home-red); font-size: 0.7rem; }

.hrelease-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hrelease-artist {
    font-size: 0.82rem;
    color: #d8d8d8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hrelease-meta {
    font-size: 0.74rem;
    color: var(--home-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 600px) {
    .hrelease { flex-basis: 150px; }
    .hrelease-img { width: 150px; height: 150px; }
}

/* ── The pitch to bands and promoters (signed-out visitors) ── */
.home-pitch {
    max-width: var(--home-max);
    margin: 0 auto;
    padding: 2.25rem var(--home-gut) 0;
}

.home-pitch-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.6rem 1.75rem;
    border: 1px solid var(--home-line);
    border-radius: 10px;
    background:
        radial-gradient(60% 120% at 0% 0%, rgba(255, 0, 0, 0.14), transparent 60%),
        radial-gradient(50% 120% at 100% 100%, rgba(255, 255, 255, 0.05), transparent 60%),
        var(--home-surface);
}

.home-pitch-col {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
}

.home-pitch-icon {
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 0, 0, 0.12);
    color: var(--home-red-soft);
    font-size: 1.15rem;
}

.home-pitch-text { min-width: 0; }

.home-pitch-kicker {
    margin: 0 0 0.15rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--home-red-soft);
}

.home-pitch-text h2 {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
}

.home-pitch-text p:not(.home-pitch-kicker) {
    margin: 0 0 0.9rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--home-muted);
    max-width: 38ch;
}

.home-pitch-divider {
    width: 1px;
    background: var(--home-line);
}

@media (max-width: 760px) {
    .home-pitch-inner {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.25rem;
    }
    .home-pitch-divider {
        width: auto;
        height: 1px;
    }
}

/* ── "Listed by" on a hosted card ── */
.hcard-by {
    margin: 0.3rem 0 0;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--home-red-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hcard-by i {
    font-size: 0.7rem;
    margin-right: 0.2rem;
}


/* ── Merch row (index.html #home-merch): the New releases card with a
   mockup in the sleeve, and a one-line pitch under the row. ── */
.hmerch-nopic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2.6rem;
    color: var(--home-muted);
}

.hmerch-note {
    margin: 0.9rem 0 0;
    font-size: 0.85rem;
    color: var(--home-muted);
}

.hmerch-note a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.hmerch-note a:hover { color: var(--home-red-soft); }

/* The homepage's season row (views._home_season): the section's "more"
   link and arrows take the season's colour, as detail.css's .szn-<season>
   does; nothing else on the page changes. */
.home-section.szn-halloween {
    --home-red: #f0801e;
    --home-red-dim: #b85c10;
    --home-red-soft: #ffb070;
}
.home-section.szn-christmas {
    --home-red: #3eaa68;
    --home-red-dim: #2a7a4a;
    --home-red-soft: #8fd9a8;
}
.home-section.szn-new-years-eve {
    --home-red: #e2b84a;
    --home-red-dim: #a8862f;
    --home-red-soft: #f3d98a;
}
