.media-text { overflow: hidden; }

/* Disable parallax inside media-text on mobile — feels janky on small screens
   where the section is already stacked and there's no room for vertical drift. */
@media (max-width: 1023px) {
    .media-text .parallax {
        transform: none !important;
        will-change: auto;
    }
}

.media-text__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
@media (min-width: 1024px) {
    .media-text__grid { flex-direction: row; gap: 4rem; }
}

.media-text--right .media-text__grid { flex-direction: column; }
@media (min-width: 1024px) {
    .media-text--right .media-text__grid { flex-direction: row-reverse; }
}

.media-text__image-wrap {
    width: 100%;
    height: 45vh;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
@media (min-width: 768px) { .media-text__image-wrap { height: 55vh; } }
@media (min-width: 1024px) { .media-text__image-wrap { width: 55%; height: 70vh; } }
.media-text__image-wrap[data-rounded] { border-radius: 1.25rem; }
@media (min-width: 768px) { .media-text__image-wrap[data-rounded] { border-radius: 1.5rem; } }
.media-text__image {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0.2);
}

.media-text__content {
    width: 100%;
}
@media (min-width: 1024px) { .media-text__content { width: 45%; } }

.media-text__headline {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: inherit;
    letter-spacing: -0.015em;
}
@media (min-width: 768px)  { .media-text__headline { font-size: 2.5rem; margin-bottom: 1.5rem; } }
@media (min-width: 1024px) { .media-text__headline { font-size: 3rem; } }
@media (min-width: 1280px) { .media-text__headline { font-size: 3.5rem; } }

.media-text__subhead {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(38,38,38,0.7);
    margin-bottom: 1.5rem;
}
.section--darker .media-text__subhead,
.section--dark .media-text__subhead { color: var(--brand-gray); }
@media (min-width: 768px)  { .media-text__subhead { font-size: 1.125rem; margin-bottom: 2rem; } }
@media (min-width: 1024px) { .media-text__subhead { font-size: 1.25rem; margin-bottom: 2.5rem; } }

.media-text__body {
    color: var(--brand-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .media-text__body { font-size: 1rem; } }
.section--light .media-text__body { color: rgba(38,38,38,0.7); }
.media-text__body p { margin-bottom: 0.75rem; }
.media-text__body p:last-child { margin-bottom: 0; }

.media-text__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex; flex-direction: column;
    gap: 1.25rem;
}
@media (min-width: 768px) {
    .media-text__bullets { gap: 1.5rem; margin-bottom: 3rem; }
}
.media-text__bullet {
    display: flex; align-items: flex-start;
    gap: 1rem;
}

.media-text__bullet-rule {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1px;
    background: rgba(38,38,38,0.3);
    margin-top: 0.75rem;
}
.section--darker .media-text__bullet-rule,
.section--dark .media-text__bullet-rule { background: rgba(245,245,240,0.3); }
@media (min-width: 768px) { .media-text__bullet-rule { width: 2rem; margin-top: 0.875rem; } }
.media-text__bullet-icon {
    flex-shrink: 0;
    width: 1.25rem; height: 1.25rem;
    color: var(--brand-light);
    margin-top: 0.25rem;
}
.media-text__bullet-text {
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
    color: var(--brand-dark);
}
.section--darker .media-text__bullet-text,
.section--dark .media-text__bullet-text { color: var(--brand-light); }
@media (min-width: 768px) { .media-text__bullet-text { font-size: 1rem; } }
@media (min-width: 1024px) { .media-text__bullet-text { font-size: 1.05rem; } }

.media-text__quote {
    margin: 0;
    padding: 2rem 0 0;
    position: relative;
}
@media (min-width: 768px) { .media-text__quote { padding-top: 3rem; } }
.media-text__quote-mark {
    position: absolute;
    top: -1rem; left: -0.5rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 5rem; line-height: 1;
    color: rgba(38,38,38,0.1);
    pointer-events: none;
    user-select: none;
}
.section--darker .media-text__quote-mark,
.section--dark .media-text__quote-mark { color: rgba(245,245,240,0.1); }
@media (min-width: 768px) {
    .media-text__quote-mark { top: -2rem; left: -1rem; font-size: 7rem; }
}
.media-text__quote-text {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 300;
    font-style: italic;
    letter-spacing: -0.015em;
    color: var(--brand-dark);
}
@media (min-width: 768px)  { .media-text__quote-text { font-size: 1.5rem; } }
@media (min-width: 1024px) { .media-text__quote-text { font-size: 1.625rem; } }
.section--darker .media-text__quote-text,
.section--dark .media-text__quote-text { color: var(--brand-light); }
.media-text__quote-author {
    margin-top: 1.5rem;
    display: inline-flex; align-items: center; gap: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-dark);
}
.section--darker .media-text__quote-author,
.section--dark .media-text__quote-author { color: var(--brand-light); }
.media-text__quote-rule {
    width: 1.5rem; height: 1px; background: rgba(38,38,38,0.3);
}
.section--darker .media-text__quote-rule,
.section--dark .media-text__quote-rule { background: rgba(245,245,240,0.3); }
