/* ═══ HOMEPAGE V2 ═══ */
.hv2 {
    background: #fff;
    color: #1a1a2e;
    font-family: Rubik, sans-serif
}

.hv2-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px
}

.hv2-label {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #7b22ff
}

.hv2-h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.015em;
    text-transform: uppercase
}

.hv2-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #7b22ff;
    text-decoration: none
}

.hv2-link:hover { text-decoration: underline }

.hv2-viewall {
    font-size: 12.5px;
    font-weight: 600;
    color: #7b22ff;
    text-decoration: none;
    white-space: nowrap
}

.hv2-viewall:hover { text-decoration: underline }

.hv2-btn {
    display: inline-block;
    padding: 13px 24px;
    background: #7b22ff;
    color: #fff !important;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: .15s
}

.hv2-btn:hover { background: #6818d6 }

/* ── HERO ── */
.hv2-hero { padding: 34px 0 30px }

.hv2-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 34px;
    align-items: start
}

.hv2-hero__title {
    margin: 0 0 6px;
    font-size: 46px;
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -.025em;
    text-transform: uppercase
}

.hv2-hero__sub {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.01em;
    text-transform: uppercase;
    color: #7b22ff
}

.hv2-hero__desc {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.75;
    color: #4a4f5e
}

.hv2-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px
}

.hv2-action {
    display: block;
    padding: 16px;
    background: #fff;
    border: 1px solid #e6e7ee;
    border-radius: 13px;
    text-decoration: none;
    transition: .15s
}

.hv2-action:hover {
    border-color: #c9b0ff;
    box-shadow: 0 6px 20px rgba(123, 34, 255, .09)
}

.hv2-action__ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #f1eaff;
    color: #7b22ff
}

.hv2-action__ico svg,
.hv2-step__ico svg,
.hv2-feat__ico svg,
.hv2-stat__ico svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round
}

.hv2-action strong {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase
}

.hv2-action p {
    margin: 0 0 10px;
    font-size: 12.5px;
    line-height: 1.55;
    color: #6b7080
}

.hv2-action__link {
    font-size: 12.5px;
    font-weight: 600;
    color: #7b22ff
}

/* ── HERO RIGHT ── */
.hv2-hero__right {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px
}

/* angled poster wall */
.hv2-wall {
    position: relative;
    height: 210px;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(135deg, #f3f4f8, #e9eaf2)
}

.hv2-wall__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    grid-template-columns: repeat(5, 108px);
    gap: 10px;
    transform: translate(-50%, -50%) rotate(-14deg) skewX(-6deg) scale(1.25)
}

.hv2-wall__tile {
    display: block;
    aspect-ratio: 3 / 4;
    background: #dcdee7;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18)
}

.hv2-wall__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

/* market intelligence */
.hv2-mi {
    padding: 20px;
    background: #fff;
    border: 1px solid #e6e7ee;
    border-radius: 14px
}

.hv2-mi__top {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 18px;
    align-items: start;
    margin-top: 10px
}

.hv2-mi__top p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: #5a5f6e
}

.hv2-mi__score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 84px;
    padding: 12px 8px;
    background: #14532d;
    border-radius: 4px;
    color: #fff;
    text-align: center
}

.hv2-mi__score strong { font-size: 30px; font-weight: 800; line-height: 1 }

.hv2-mi__score small {
    margin-top: 5px;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase
}

.hv2-mi__score span { font-size: 9px; opacity: .82 }

.hv2-mi__facts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 128px
}

.hv2-mi__facts span { display: block; font-size: 10.5px; color: #8b90a0 }
.hv2-mi__facts strong { font-size: 13.5px; font-weight: 700 }

.hv2-spark {
    display: block;
    width: 100%;
    height: 66px;
    margin: 14px 0 10px
}

.hv2-spark polyline {
    fill: none;
    stroke: #7b22ff;
    stroke-width: 1.8;
    vector-effect: non-scaling-stroke
}

.hv2-spark circle { fill: #7b22ff }

.hv2-mi__link {
    font-size: 12.5px;
    font-weight: 600;
    color: #7b22ff;
    text-decoration: none
}

.hv2-mi__link:hover { text-decoration: underline }

/* ── STATS ── */
.hv2-stats { padding: 4px 0 26px }

.hv2-stats__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 16px 22px;
    border: 1px solid #e6e7ee;
    border-radius: 14px
}

.hv2-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 18px
}

.hv2-stat:not(:last-child) { border-right: 1px solid #eceef4 }

.hv2-stat__ico {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f1eaff;
    color: #7b22ff
}

.hv2-stat strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums
}

.hv2-stat span { font-size: 11.5px; line-height: 1.35; color: #6b7080 }

/* ── SECTIONS ── */
.hv2-sec { padding: 0 0 26px }
.hv2-sec--last { padding-bottom: 40px }

.hv2-split {
    display: grid;
    grid-template-columns: 1fr 1.28fr;
    gap: 20px;
    align-items: start
}

.hv2-split2 {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
    align-items: stretch
}

.hv2-panel {
    padding: 18px;
    border: 1px solid #e6e7ee;
    border-radius: 14px
}

.hv2-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px
}

.hv2-panel__desc {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #6b7080
}

/* ── CARDS ── */
.hv2-tonight {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px
}

.hv2-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px
}

.hv2-tcard { display: block; text-decoration: none }

.hv2-tcard__img {
    display: block;
    aspect-ratio: 3 / 4;
    margin-bottom: 8px;
    background: #f3f4f8;
    border-radius: 8px;
    overflow: hidden
}

.hv2-tcard__img img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.hv2-tcard strong {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a2e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.hv2-tcard small {
    display: block;
    font-size: 10.5px;
    color: #8b90a0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.hv2-tcard__when { color: #a4a8b6 }

/* ── FEATURE BLOCK ── */
.hv2-feature {
    display: grid;
    grid-template-columns: 150px 1fr 62px 1fr;
    gap: 16px;
    align-items: center
}

.hv2-feature__facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
}

.hv2-feature__facts div {
    display: flex;
    flex-direction: column;
    gap: 1px
}

.hv2-feature__facts b {
    font-size: 15px;
    font-weight: 800;
    color: #7b22ff
}

.hv2-feature__facts span { font-size: 10.5px; color: #6b7080 }

.hv2-feature__art {
    display: block;
    aspect-ratio: 3 / 4;
    background: #f3f4f8;
    border-radius: 8px;
    overflow: hidden
}

.hv2-feature__art img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.hv2-feature__side {
    display: flex;
    flex-direction: column;
    gap: 7px
}

.hv2-feature__side span {
    display: block;
    aspect-ratio: 3 / 4;
    background: #f3f4f8;
    border-radius: 5px;
    overflow: hidden
}

.hv2-feature__side img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hv2-feature__meta {
    display: flex;
    flex-direction: column;
    gap: 3px
}

.hv2-feature__meta strong { font-size: 16px; font-weight: 700 }
.hv2-feature__title { font-size: 13.5px; color: #4a4f5e }
.hv2-feature__meta span { font-size: 12px; color: #8b90a0 }

.hv2-tag {
    align-self: flex-start;
    margin-top: 6px;
    padding: 3px 9px;
    background: #f3f4f8;
    border-radius: 5px;
    font-size: 10.5px !important;
    color: #4a4f5e !important
}

/* ── HOW IT WORKS ── */
.hv2-steps {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px
}

.hv2-step { flex: 1; text-align: center }

.hv2-step__ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #f1eaff;
    color: #7b22ff
}

.hv2-step strong {
    display: block;
    margin-bottom: 4px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase
}

.hv2-step p { margin: 0; font-size: 11.5px; line-height: 1.5; color: #6b7080 }

.hv2-step__arrow {
    flex: 0 0 auto;
    padding-top: 14px;
    font-size: 18px;
    color: #cbcdd8
}

/* ── TRACK ── */
.hv2-track {
    position: relative;
    padding: 22px;
    background: linear-gradient(135deg, #f6f2ff 0%, #efe9ff 100%);
    border: 1px solid #e6dcff;
    border-radius: 14px;
    overflow: hidden
}

.hv2-track h2 span { color: #7b22ff }

.hv2-track p {
    margin: 0 0 16px;
    max-width: 320px;
    font-size: 13px;
    line-height: 1.6;
    color: #4a4f5e
}

.hv2-track__art {
    position: absolute;
    right: -20px;
    bottom: -26px;
    display: flex;
    gap: 8px
}

.hv2-track__art img {
    width: 84px;
    height: 126px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18)
}

.hv2-track__art img:nth-child(1) { transform: rotate(-6deg) }
.hv2-track__art img:nth-child(3) { transform: rotate(6deg) }

/* ── FEATURE STRIP ── */
.hv2-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    padding: 16px 20px;
    border: 1px solid #e6e7ee;
    border-radius: 14px
}

.hv2-feat {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 16px
}

.hv2-feat:not(:last-child) { border-right: 1px solid #eceef4 }

.hv2-feat__ico {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f1eaff;
    color: #7b22ff
}

.hv2-feat strong { display: block; margin-bottom: 3px; font-size: 12.5px; font-weight: 700 }
.hv2-feat p { margin: 0; font-size: 11px; line-height: 1.45; color: #6b7080 }

/* ══════════ RESPONSIVE ══════════ */

@media (max-width:1280px) {
    .hv2-hero__grid { grid-template-columns: 1fr; gap: 26px }
    .hv2-hero__title { font-size: 38px }
    .hv2-hero__right { grid-template-columns: 1fr 1fr; align-items: start }
    .hv2-wall { height: 100% ; min-height: 220px }
    .hv2-grid { grid-template-columns: repeat(4, 1fr) }
    .hv2-split { grid-template-columns: 1fr }
    .hv2-tonight { grid-template-columns: repeat(5, 1fr) }
}

@media (max-width:1023px) {
    .hv2-actions { grid-template-columns: 1fr }
    .hv2-hero__right { grid-template-columns: 1fr }
    .hv2-stats__grid { grid-template-columns: repeat(3, 1fr); gap: 16px 0 }
    .hv2-stat:nth-child(3n) { border-right: 0 }
    .hv2-split2 { grid-template-columns: 1fr }
    .hv2-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px }
    .hv2-step__arrow { display: none }
    .hv2-strip { grid-template-columns: repeat(3, 1fr); gap: 16px 0 }
    .hv2-feat:nth-child(3n) { border-right: 0 }
    .hv2-feature { grid-template-columns: 1fr 1fr; gap: 14px }
    .hv2-feature__side { flex-direction: row }
    .hv2-feature__side span { flex: 1 }
    .hv2-grid { grid-template-columns: repeat(3, 1fr) }
    .hv2-tonight { grid-template-columns: repeat(3, 1fr) }
    .hv2-tonight .hv2-tcard:nth-child(n+4) { display: none }
}

@media (max-width:767px) {
    .hv2-wrap { padding: 0 18px }
    .hv2-hero { padding: 22px 0 20px }
    .hv2-hero__title { font-size: 29px }
    .hv2-hero__sub { font-size: 18px }
    .hv2-h2 { font-size: 21px }

    .hv2-wall { min-height: 150px }
    .hv2-wall__inner { grid-template-columns: repeat(4, 84px) }

    .hv2-mi__top { grid-template-columns: 1fr; gap: 12px }
    .hv2-mi__score { flex-direction: row; gap: 8px; width: auto; padding: 8px 12px }
    .hv2-mi__score strong { font-size: 22px }
    .hv2-mi__facts { flex-direction: row; flex-wrap: wrap; gap: 14px }

    .hv2-stats__grid { grid-template-columns: repeat(2, 1fr) }
    .hv2-stat { border-right: 0 !important; padding: 4px 8px }
    .hv2-stat strong { font-size: 17px }

    .hv2-grid, .hv2-tonight { grid-template-columns: repeat(2, 1fr); gap: 12px }
    .hv2-tonight .hv2-tcard:nth-child(n+5) { display: none }

    .hv2-feature { grid-template-columns: 1fr }
    .hv2-feature__side { display: none }

    .hv2-steps { grid-template-columns: 1fr; gap: 14px }
    .hv2-step { display: flex; align-items: flex-start; gap: 12px; text-align: left }
    .hv2-step__ico { margin: 0; flex: 0 0 40px; width: 40px; height: 40px }

    .hv2-track { padding: 18px }
    .hv2-track p { max-width: none }
    .hv2-track__art { position: static; margin-top: 16px; justify-content: flex-start }
    .hv2-track__art img { width: 70px; height: 105px }

    .hv2-strip { grid-template-columns: 1fr; gap: 14px; padding: 16px }
    .hv2-feat { border-right: 0 !important; padding: 0 }
}

@media (max-width:400px) {
    .hv2-grid, .hv2-tonight { grid-template-columns: 1fr }
}

/* ── fixes ── */

/* every card keeps a true 3:4 box regardless of artwork ratio */
.hv2-grid .hv2-tcard,
.hv2-tonight .hv2-tcard { display: flex; flex-direction: column }

.hv2-grid .hv2-tcard__img,
.hv2-tonight .hv2-tcard__img {
    aspect-ratio: 3 / 4 !important;
    height: auto !important;
    flex: 0 0 auto
}

.hv2-grid .hv2-tcard strong { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical }

/* poster wall — show the whole angled grid */
.hv2-wall { height: 250px }

.hv2-wall__inner {
    grid-template-columns: repeat(5, 96px);
    transform: translate(-50%, -50%) rotate(-16deg) skewX(-8deg) scale(1.05)
}

/* featured counts */
.hv2-feature__facts b { font-size: 17px }

/* force equal card boxes — landscape art letterboxes inside */
.hv2 .hv2-grid { align-items: start }

.hv2 .hv2-grid .hv2-tcard__img,
.hv2 .hv2-tonight .hv2-tcard__img {
    position: relative;
    width: 100%;
    padding-top: 133.33%;
    aspect-ratio: auto !important;
    height: 0 !important
}

.hv2 .hv2-grid .hv2-tcard__img img,
.hv2 .hv2-tonight .hv2-tcard__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain
}

/* tonight's row — even cards, no overlap */
.hv2 .hv2-tonight {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    align-items: start
}

.hv2 .hv2-tonight .hv2-tcard { min-width: 0 }

.hv2 .hv2-tonight .hv2-tcard strong,
.hv2 .hv2-tonight .hv2-tcard small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

/* poster wall — fit the whole angled grid */
.hv2 .hv2-wall { height: 232px }

.hv2 .hv2-wall__inner {
    grid-template-columns: repeat(5, 88px);
    gap: 8px;
    transform: translate(-50%, -50%) rotate(-15deg) skewX(-7deg) scale(0.94)
}

/* ── final polish ── */

/* stats bar — tighter, closer to mockup */
.hv2 .hv2-stats { padding-top: 0; padding-bottom: 22px }
.hv2 .hv2-stat strong { font-size: 22px }
.hv2 .hv2-stat span { font-size: 12px }

/* tonight panel shouldn't stretch to the feature panel's height */
.hv2 .hv2-split { align-items: start }

/* feature block — pull the layout closer to the mockup proportions */
.hv2 .hv2-feature {
    grid-template-columns: 120px 1.15fr 58px 1fr;
    gap: 14px;
    align-items: center
}

.hv2 .hv2-feature__art { max-height: 260px }
.hv2 .hv2-feature__art img { object-fit: contain }

/* tonight cards a touch larger */
.hv2 .hv2-tonight .hv2-tcard strong { font-size: 12px }
.hv2 .hv2-tonight .hv2-tcard small { font-size: 11px }

/* how-it-works arrows sit level with the icons */
.hv2 .hv2-step__arrow { padding-top: 18px }

.hv2 .hv2-split > .hv2-panel { align-self: start }

/* ── mobile: poster wall above the action cards ── */
@media (max-width:1023px) {
    .hv2 .hv2-hero__grid { display: flex; flex-direction: column }
    .hv2 .hv2-hero__left { display: contents }

    .hv2 .hv2-hero__title { order: 1 }
    .hv2 .hv2-hero__sub   { order: 2 }
    .hv2 .hv2-hero__right { order: 3; display: flex; flex-direction: column; gap: 14px }
    .hv2 .hv2-hero__desc  { order: 4 }
    .hv2 .hv2-actions     { order: 5 }
}

@media (max-width:767px) {
    .hv2 .hv2-wall { min-height: 170px; margin-top: 4px }
}

/* ── mobile hero order — override the display:contents approach ── */
@media (max-width:1023px) {
    .hv2 .hv2-hero__grid {
        display: flex !important;
        flex-direction: column;
        gap: 18px
    }

    .hv2 .hv2-hero__left {
        display: flex !important;
        flex-direction: column;
        order: 2
    }

    .hv2 .hv2-hero__left .hv2-hero__title { order: 0 }
    .hv2 .hv2-hero__left .hv2-hero__sub   { order: 0 }
    .hv2 .hv2-hero__left .hv2-hero__desc  { order: 0 }
    .hv2 .hv2-hero__left .hv2-actions     { order: 0 }

    .hv2 .hv2-hero__right {
        order: 1 !important;
        display: flex !important;
        flex-direction: column;
        gap: 14px
    }

    .hv2 .hv2-wall { display: block !important; min-height: 180px }
}

/* latest additions — 2 across on mobile */
@media (max-width:767px) {
    .hv2 .hv2-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px }
    .hv2 .hv2-grid .hv2-tcard__img { padding-top: 133.33% !important }
    .hv2 .hv2-wall { min-height: 160px }
}

/* ── mobile hero: wall first, then headline, then MI ── */
@media (max-width:1023px) {
    .hv2 .hv2-hero__right {
        display: contents !important
    }

    .hv2 .hv2-hero__grid > .hv2-wall,
    .hv2 .hv2-wall {
        order: 1 !important;
        display: block !important;
        min-height: 180px;
        width: 100%
    }

    .hv2 .hv2-hero__left { order: 2 !important }
    .hv2 .hv2-mi { order: 3 !important; width: 100% }
}

@media (max-width:767px) {
    .hv2 .hv2-wall { min-height: 155px }
}

.hv2-spark {
    width: 100%;
    height: auto;
    display: block;
}