.text-media {
    position: relative;
    z-index: 1;
    padding: 40px 0 88px;
}

.text-media .container {
    max-width: 1280px;
}

.text-media__eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #b08a52;
}

.text-media__h2 {
    margin: 14px 0 0;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: var(--ih-ink, #18140E);
}

.text-media__text {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--ih-text-muted, #706A60);
}

.text-media__text p {
    margin: 0 0 16px;
}

.text-media__text p:last-child {
    margin-bottom: 0;
}

.text-media__figure {
    position: relative;
    height: 440px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 80px -44px rgba(24, 20, 8, 0.55);
}

.text-media__img {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: saturate(0.82) contrast(1.03);
    transition: transform 1.1s cubic-bezier(.16, .84, .36, 1);
}

.text-media__figure:hover .text-media__img {
    transform: scale(1.05);
}

.text-media__grad {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(24, 16, 6, 0.08) 0%, rgba(24, 16, 6, 0) 42%, rgba(24, 16, 6, 0.55) 100%);
}

/* reveal — hidden state applied inline by JS (never here): content stays
   visible if the script is deferred by LiteSpeed. */
.text-media [data-reveal] {
    transition: opacity 0.9s cubic-bezier(.16, .84, .36, 1), transform 0.9s cubic-bezier(.16, .84, .36, 1);
}

.text-media [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .text-media {
        padding: 24px 0 56px;
    }

    .text-media__h2 {
        font-size: 32px;
    }

    .text-media__figure {
        height: 320px;
    }
}

/* reduced-motion suppression removed: animations must always play (owner requirement) */
