.lab_wrap {
    position: relative;
}

.lab_wrap::before {
    content: "";
    position: fixed;
    z-index: -1;
    width: 420px;
    height: 420px;
    right: -150px;
    top: 170px;
    border: 1px solid rgba(184, 78, 56, .12);
    border-radius: 50%;
}

.lab_main {
    padding: 108px 0 125px;
}

.lab_intro {
    position: relative;
    max-width: 930px;
    margin-bottom: 90px;
    padding-right: 120px;
}

.lab_intro::after {
    content: "01—∞";
    position: absolute;
    right: 0;
    top: 8px;
    color: rgba(31, 41, 38, .32);
    font-family: var(--font-serif);
    font-size: 14px;
    letter-spacing: .12em;
}

.lab_intro h1 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(55px, 7.2vw, 92px);
    line-height: 1.14;
    letter-spacing: -.075em;
}

.lab_intro > p:last-child {
    max-width: 680px;
    margin: 34px 0 0;
    color: var(--ink-soft);
    font-size: 18px;
    line-height: 1.9;
    word-break: keep-all;
}

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

.lab_card {
    position: relative;
    min-height: 390px;
    padding: 34px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(250, 248, 243, .82);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.lab_card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -82px;
    top: -82px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    transition: transform .25s ease;
}

.lab_card::after {
    content: "";
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 76px;
    height: 1px;
    background: var(--line);
}

.lab_card:hover {
    z-index: 1;
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.lab_card:hover::before {
    transform: scale(1.18);
}

.lab_card:first-child {
    color: var(--white);
    border-color: transparent;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .07), transparent 48%),
        var(--green);
}

.lab_card:first-child::before {
    border-color: rgba(255, 255, 255, .18);
}

.lab_card:first-child::after {
    background: rgba(255, 255, 255, .15);
}

.lab_number {
    color: var(--accent);
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .06em;
}

.lab_card:first-child .lab_number,
.lab_card:first-child .eyebrow,
.lab_card:first-child > strong {
    color: #efbcae;
}

.lab_card > div {
    margin-top: 62px;
}

.lab_card .eyebrow {
    margin-bottom: 14px;
}

.lab_card h2 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(29px, 3vw, 39px);
    line-height: 1.3;
    letter-spacing: -.05em;
}

.lab_card p {
    max-width: 480px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}

.lab_card:first-child p {
    color: rgba(255, 255, 255, .65);
}

.lab_card > strong {
    margin-top: auto;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 820px) {
    .lab_main {
        padding: 88px 0 100px;
    }

    .lab_intro {
        margin-bottom: 65px;
        padding-right: 0;
    }

    .lab_intro::after {
        display: none;
    }

    .lab_grid {
        grid-template-columns: 1fr;
    }

    .lab_card {
        min-height: 340px;
    }
}

@media (max-width: 520px) {
    .lab_main {
        padding: 72px 0 85px;
    }

    .lab_intro {
        margin-bottom: 48px;
    }

    .lab_intro h1 {
        font-size: clamp(47px, 14vw, 62px);
    }

    .lab_intro > p:last-child {
        font-size: 16px;
    }

    .lab_card {
        min-height: 320px;
        padding: 27px;
    }

    .lab_card::after {
        left: 27px;
        right: 27px;
        bottom: 68px;
    }

    .lab_card > div {
        margin-top: 48px;
    }
}
