.rc-container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.rc-section {
    padding-block: var(--section-gap);
    position: relative;
}

.rc-section--chalk {
    background: var(--color-chalk);
}

.rc-section--asphalt {
    background: var(--color-asphalt);
    color: var(--color-chalk);
}

.rc-section--slash-top::before {
    content: "";
    position: absolute;
    top: -3rem;
    left: 0;
    right: 0;
    height: 3rem;
    background: inherit;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.rc-section-header {
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    max-width: 42rem;
}

.rc-section-header--center {
    margin-inline: auto;
    text-align: center;
}

.rc-grid-3 {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .rc-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.rc-hero-layout {
    display: grid;
    min-height: clamp(28rem, 80vh, 42rem);
    background: var(--color-asphalt);
}

@media (min-width: 900px) {
    .rc-hero-layout {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.rc-hero-layout__media {
    position: relative;
    min-height: 16rem;
    overflow: hidden;
}

.rc-hero-layout__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem);
    background: var(--color-chalk);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%);
}

@media (max-width: 899px) {
    .rc-hero-layout__panel {
        clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
    }
}

.rc-gallery-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

@media (min-width: 768px) {
    .rc-gallery-scroll {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        overflow: visible;
    }
}

.rc-gallery-scroll > * {
    flex: 0 0 min(85vw, 280px);
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .rc-gallery-scroll > * {
        flex: unset;
    }
}

.rc-sticky-cta {
    display: none;
}

@media (max-width: 767px) {
    .rc-sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 90;
        padding: 0.75rem var(--container-padding);
        background: var(--color-asphalt);
        border-top: 2px solid var(--color-volt);
        box-shadow: 0 -4px 20px rgba(13, 15, 18, 0.2);
    }

    body.has-sticky-cta {
        padding-bottom: 4.5rem;
    }
}

.rc-footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .rc-footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}
