.web-showcase {
    padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
    color: #f4f7ff;
    background:
        radial-gradient(ellipse at 12% 0%, #15274c 0%, transparent 55%),
        radial-gradient(ellipse at 100% 100%, #13203b 0%, transparent 50%),
        #080e1b;
    border-block: 1px solid #233454;
    scroll-margin-top: 66px;
}

.web-showcase-inner {
    max-width: 1200px;
    margin-inline: auto;
}

.web-showcase-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 44px;
    margin-bottom: 36px;
}

.web-showcase-kicker, .web-model-type {
    display: block;
    margin: 0 0 10px;
    color: #a7bdff;
    font-size: .875rem;
    font-weight: 600;
}

.web-showcase-header h2 {
    max-width: 19ch;
    margin: 0;
    font-size: clamp(2.1rem, 4.4vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1.09;
    text-wrap: balance;
}

.web-showcase-intro {
    max-width: 54ch;
    margin: 16px 0 0;
    color: #c0cce1;
    line-height: 1.65;
}

.web-showcase-contact {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid #506ba8;
    border-radius: 10px;
    color: #f4f7ff;
    background: #16274a;
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease;
}

.web-showcase-contact:hover {
    background: #243d71;
}

.web-models {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.web-model {
    display: flex;
    flex-direction: column;
    padding: 12px;
    border: 1px solid #2a3955;
    border-radius: 18px;
    color: inherit;
    background: linear-gradient(165deg, #192640, #10192a 75%);
    text-decoration: none;
    box-shadow: 0 14px 35px #02050e55;
    transition: border-color .2s ease, transform .2s ease;
}

.web-model:hover {
    transform: translateY(-4px);
    border-color: #6c91ff;
}

.web-model:focus-visible, .web-showcase-contact:focus-visible {
    outline: 3px solid #a9c2ff;
    outline-offset: 4px;
}

.web-model-preview {
    overflow: hidden;
    border: 1px solid #3a4b6e;
    border-radius: 10px;
    background: #0b1221;
}

.web-model-preview::before {
    display: block;
    height: 20px;
    background:
        radial-gradient(circle at 12px 10px, #7c91b8 2px, transparent 3px),
        radial-gradient(circle at 22px 10px, #7c91b8 2px, transparent 3px),
        radial-gradient(circle at 32px 10px, #7c91b8 2px, transparent 3px),
        #192745;
    content: "";
}

.web-model-preview img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1120 / 640;
    object-fit: cover;
}

.web-model-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px 10px;
}

.web-model-type {
    margin-bottom: 6px;
}

.web-model-copy h3 {
    margin: 0;
    font-size: clamp(1.1rem, 1.65vw, 1.4rem);
    line-height: 1.3;
    letter-spacing: -.025em;
}

.web-model-copy p {
    flex: 1;
    margin: 8px 0 18px;
    color: #c0cce1;
    font-size: 1rem;
    line-height: 1.55;
}

.web-model-link {
    color: #b7cbff;
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.web-portfolio-title {
    margin: 0;
    padding: 44px 20px 0;
    color: #f4f7ff;
    text-align: center;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    letter-spacing: -.035em;
}

@media (max-width: 800px) {
    .web-showcase-header {
        align-items: flex-start;
        flex-direction: column;
    }

}

@media (max-width: 550px) {
    .web-models {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .web-model, .web-showcase-contact {
        transition: none;
    }

    .web-model:hover {
        transform: none;
    }
}
