@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

/* 2 AM AFTER YOU — homepage feature, intentionally isolated from the legacy site. */
.two-am-feature {
    --two-am-ink: #171012;
    --two-am-panel: #24191c;
    --two-am-paper: #f7eee9;
    --two-am-muted: #cbb9b8;
    --two-am-red: #ef5361;
    --two-am-red-deep: #b92c3b;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(3.25rem, 7vw, 6.25rem) 1.25rem;
    color: var(--two-am-paper);
    background:
        radial-gradient(ellipse at 78% 48%, rgba(168, 40, 56, .22), transparent 42%),
        linear-gradient(118deg, #170f12 0%, #211619 54%, #170f12 100%);
    font-family: 'DM Sans', sans-serif;
}

.two-am-feature::before,
.two-am-feature::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.two-am-feature::before {
    inset: 0;
    opacity: .12;
    background-image: radial-gradient(rgba(255,255,255,.55) .55px, transparent .55px);
    background-size: 7px 7px;
    mask-image: linear-gradient(90deg, transparent, #000 65%);
}

.two-am-feature::after {
    width: 32rem;
    height: 32rem;
    right: -16rem;
    top: -22rem;
    border: 1px solid rgba(239,83,97,.22);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(239,83,97,.035), 0 0 0 84px rgba(239,83,97,.025);
}

.two-am-feature__inner {
    width: min(1140px, 100%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 350px);
    align-items: center;
    gap: clamp(2rem, 7vw, 6.5rem);
}

.two-am-feature__copy {
    max-width: 690px;
}

.two-am-feature__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    margin: 0 0 1.35rem;
    color: #ff8c94;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .19em;
    line-height: 1.4;
    text-transform: uppercase;
}

.two-am-feature__eyebrow::before {
    width: 1.75rem;
    height: 1px;
    background: currentColor;
    content: "";
}

.two-am-feature h2 {
    max-width: 710px;
    margin: 0;
    color: var(--two-am-paper);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.7rem, 6.7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -.065em;
    line-height: .98;
}

.two-am-feature h2 .two-am-feature__heart {
    display: inline-block;
    color: var(--two-am-red);
    font-size: .72em;
    transform: translateY(-.08em);
}

.two-am-feature__subtitle {
    margin: 1.2rem 0 1.65rem;
    color: #f2c6c4;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.03rem, 2vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -.02em;
}

.two-am-feature__story {
    max-width: 640px;
    margin: 0;
    color: #e2d1ce;
    font-size: clamp(.99rem, 1.45vw, 1.1rem);
    line-height: 1.8;
}

.two-am-feature__story strong {
    color: #fff0ea;
    font-weight: 700;
}

.two-am-feature__details {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.5rem;
    margin: 1.55rem 0 1.7rem;
    padding: 0;
    list-style: none;
}

.two-am-feature__details li {
    color: var(--two-am-muted);
    font-size: .89rem;
    line-height: 1.5;
}

.two-am-feature__details strong {
    color: #f5e7e1;
    font-weight: 600;
}

.two-am-feature__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .8rem;
}

.two-am-feature__button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: .8rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #fff8f3;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.two-am-feature__button:hover {
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.two-am-feature__button:focus-visible {
    outline: 3px solid #ffd5d2;
    outline-offset: 4px;
}

.two-am-feature__button--spotify {
    background: var(--two-am-red-deep);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}

.two-am-feature__button--spotify:hover {
    background: #d63b4b;
}

.two-am-feature__button--stories {
    border-color: rgba(247,238,233,.35);
    background: rgba(247,238,233,.035);
}

.two-am-feature__button--stories:hover {
    border-color: #f1a2a5;
    background: rgba(239,83,97,.12);
}

.two-am-feature__spotify-icon {
    width: 1.3rem;
    height: 1.3rem;
    flex: 0 0 auto;
    fill: currentColor;
}

.two-am-feature__disclosure {
    margin: 1.25rem 0 0;
    color: #a99493;
    font-size: .78rem;
    line-height: 1.6;
}

.two-am-feature__art {
    position: relative;
    width: min(100%, 330px);
    justify-self: center;
    margin: 0;
}

.two-am-feature__art::before {
    position: absolute;
    z-index: -1;
    inset: 9% -9% -7% 9%;
    border: 1px solid rgba(240,114,123,.32);
    content: "";
    transform: rotate(4deg);
}

.two-am-feature__cover {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 25px 65px rgba(0,0,0,.48), 0 4px 18px rgba(143,32,45,.2);
    transition: transform .35s ease;
}

.two-am-feature__art:hover .two-am-feature__cover {
    transform: translateY(-5px) rotate(-1deg);
}

.two-am-feature__caption {
    margin: .9rem 0 0;
    color: #a99493;
    font-size: .72rem;
    letter-spacing: .09em;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 760px) {
    .two-am-feature {
        padding-block: 3rem 3.5rem;
    }

    .two-am-feature__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.4rem;
    }

    .two-am-feature__copy {
        max-width: 620px;
        margin-inline: auto;
    }

    .two-am-feature__art {
        width: min(62vw, 275px);
    }
}

@media (max-width: 420px) {
    .two-am-feature__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .two-am-feature__button {
        width: 100%;
    }

    .two-am-feature__details {
        flex-direction: column;
        gap: .35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .two-am-feature__button,
    .two-am-feature__cover {
        transition: none;
    }

    .two-am-feature__button:hover,
    .two-am-feature__art:hover .two-am-feature__cover {
        transform: none;
    }
}
