.cw-inner-page {
    padding: clamp(2.75rem, 6vw, 5rem) max(5vw, calc((100% - 75rem) / 2));
    background: #f4f6f9;
    color: #0c1e36;
}

.cw-inner-page h1 {
    margin: 0 0 1rem;
    color: inherit;
    font: 800 clamp(2.25rem, 5vw, 4rem)/1.05 Inter, system-ui, sans-serif;
    letter-spacing: -.045em;
}

.cw-inner-page p {
    max-width: 62ch;
    line-height: 1.65;
}

.cw-about {
    display: grid;
    gap: clamp(2.5rem, 7vw, 6rem);
}

.cw-about__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4rem);
}

.cw-about__image {
    display: grid;
    place-items: center;
    margin: 0;
    overflow: hidden;
    border-radius: .75rem;
    background: #e6edf5;
}

.cw-about__image img {
    display: block;
    width: 100%;
    height: auto;
}

.cw-about__row--text {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 701px) {
    .cw-about__row--reverse .cw-about__image {
        order: 1;
    }
}

.cw-about__copy a {
    display: inline-block;
    margin-top: .5rem;
    font-weight: 700;
}

.cw-projects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.cw-projects__card {
    position: relative;
    max-width: 36rem;
    overflow: hidden;
    border: 1px solid #dce3ed;
    border-radius: .65rem;
    background: #fff;
}

.cw-projects__card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.cw-projects__copy {
    padding: 1rem 1.2rem;
    border-inline-start: 4px solid #444;
}

.cw-projects__copy h2 {
    margin: 0;
    color: inherit;
    font-size: 1.25rem;
}

.cw-projects__copy p {
    margin-bottom: 0;
}

@media (max-width: 700px) {
    .cw-about__row {
        grid-template-columns: minmax(0, 1fr);
    }
}


@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .cw-projects__card {
        transition: transform .18s ease, box-shadow .18s ease;
    }

    .cw-projects__card:hover {
        z-index: 1;
        transform: scale(1.05);
        box-shadow: 0 .5rem 1.2rem #33333326;
    }
}
.cw-about__copy p {
    text-align: justify;
}

@media (min-width: 701px) {
    .cw-about__row--reverse:first-child .cw-about__image {
        position: relative;
        align-self: stretch;
        background: transparent;
    }

    .cw-about__row--reverse:first-child .cw-about__image img {
        position: absolute;
        inset: 0;
        height: 100%;
        object-fit: contain;
    }
}
