.ocf-lab-index__intro {
    max-width: 42rem;
    margin: 1rem 0 0;
    color: var(--ocf-body);
    font-size: var(--text-lg);
}

.ocf-lab-index__item {
    min-height: 13rem;
}

.ocf-lab-index__primary-grid {
    margin-bottom: 2.5rem;
}

.ocf-lab-index__item--primary {
    min-height: 10rem;
    background: var(--ocf-bg-dark);
    color: var(--ocf-body-alt);
}

.ocf-lab-index__item--primary .ocf-section-review__label {
    color: var(--ocf-heading-alt);
}

.ocf-lab-index__item--primary .ocf-section-review__description,
.ocf-lab-index__item--primary .ocf-section-review__meta {
    color: var(--ocf-body-alt);
}

.ocf-lab-index__subhead {
    margin: 0 0 1rem;
    color: var(--ocf-heading);
    font-size: var(--text-xl);
}

.ocf-lab-bar {
    padding: 7.5rem 0 1.5rem;
    background: var(--ocf-bg);
    border-bottom: 1px solid var(--ocf-border-light);
}

.ocf-lab-bar__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2rem;
}

.ocf-lab-bar .eyebrow a {
    color: inherit;
    text-decoration: none;
}

.ocf-lab-bar h1,
.ocf-lab-bar p {
    margin: 0;
}

.ocf-lab-bar h1 {
    margin-top: 0.5rem;
}

.ocf-lab-bar h1 + p {
    max-width: 44rem;
    margin-top: 0.75rem;
    color: var(--ocf-body);
}

.ocf-lab-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.ocf-lab-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0 0.85rem;
    border: 1px solid var(--ocf-border);
    border-radius: 999px;
    color: var(--ocf-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    text-decoration: none;
    background: var(--ocf-bg);
}

.ocf-lab-recipe-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.ocf-lab-recipe-list span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.65rem;
    border: 1px solid var(--ocf-border-light);
    border-radius: 999px;
    color: var(--ocf-body);
    font-size: var(--text-xs);
    background: var(--ocf-bg-alt);
}

.ocf-lab-candidate {
    border-bottom: 1px solid var(--ocf-border-light);
}

.ocf-candidate-section-head {
    display: grid;
    gap: 0.75rem;
    max-width: 44rem;
    margin-bottom: 2rem;
}

.ocf-candidate-section-head > * {
    margin: 0;
}

.ocf-candidate-section-head p:not(.eyebrow) {
    color: var(--ocf-body);
    font-size: var(--text-lg);
}

.ocf-candidate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.ocf-candidate-hero {
    background: var(--ocf-bg-alt);
}

.ocf-candidate-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 0.75fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.ocf-candidate-hero__content {
    display: grid;
    gap: 1rem;
}

.ocf-candidate-hero__content > * {
    margin: 0;
}

.ocf-candidate-hero__content p:not(.eyebrow) {
    max-width: 42rem;
    color: var(--ocf-body);
    font-size: var(--text-lg);
}

.ocf-candidate-hero__media {
    position: relative;
    min-height: clamp(26rem, 46vw, 38rem);
    border-radius: var(--card-radius);
    overflow: hidden;
    background: var(--ocf-bg-dark);
}

.ocf-candidate-hero__media img,
.ocf-candidate-cta__image img,
.ocf-candidate-about__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ocf-candidate-hero__proof {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    gap: 0.25rem;
    width: min(16rem, calc(100% - 2rem));
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--ocf-heading-alt);
    background: rgba(0, 0, 0, 0.64);
}

.ocf-candidate-hero__proof strong {
    font-size: var(--text-3xl);
    line-height: 1;
}

.ocf-candidate-hero__proof span {
    color: var(--ocf-body-alt);
}

.ocf-candidate-hero__service-rail {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.ocf-candidate-hero__service-rail a {
    display: flex;
    align-items: center;
    min-height: 4.5rem;
    padding: 1rem;
    border: 1px solid var(--ocf-border);
    color: var(--ocf-heading);
    font-weight: 700;
    text-decoration: none;
    background: var(--ocf-bg);
}

.ocf-candidate-service-table {
    display: grid;
    border-top: 1px solid var(--ocf-border);
}

.ocf-candidate-service-row {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    min-height: 6.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--ocf-border-light);
    color: inherit;
    text-decoration: none;
}

.ocf-candidate-service-row__num {
    color: var(--ocf-label);
    font-weight: 800;
}

.ocf-candidate-service-row strong,
.ocf-candidate-service-row small {
    display: block;
}

.ocf-candidate-service-row small {
    max-width: 46rem;
    margin-top: 0.35rem;
    color: var(--ocf-body);
    font-size: var(--text-sm);
}

.ocf-candidate-service-row__action {
    color: var(--ocf-heading);
    font-weight: 700;
}

.ocf-candidate-about {
    background: var(--ocf-bg-alt);
}

.ocf-candidate-about__grid {
    display: grid;
    grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.ocf-candidate-about__media {
    aspect-ratio: 4 / 5;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: var(--ocf-bg-dark);
}

.ocf-candidate-about__content {
    display: grid;
    gap: 1rem;
}

.ocf-candidate-about__content > * {
    margin: 0;
}

.ocf-candidate-about__content > p:not(.eyebrow) {
    color: var(--ocf-body);
    font-size: var(--text-lg);
}

.ocf-candidate-timeline {
    display: grid;
    gap: 0;
    margin-top: 1rem;
    border-top: 1px solid var(--ocf-border);
}

.ocf-candidate-timeline__item {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--ocf-border-light);
}

.ocf-candidate-timeline__item span {
    color: var(--ocf-label);
    font-weight: 800;
}

.ocf-candidate-timeline__item strong,
.ocf-candidate-timeline__item small {
    display: block;
}

.ocf-candidate-timeline__item small {
    margin-top: 0.25rem;
    color: var(--ocf-body);
    font-size: var(--text-sm);
}

.ocf-candidate-areas__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(20rem, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.ocf-candidate-areas__grid .ocf-candidate-section-head {
    margin: 0;
}

.ocf-candidate-areas__map {
    min-height: 30rem;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: var(--ocf-bg-alt);
}

.ocf-candidate-areas__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.ocf-candidate-area-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.ocf-candidate-area-list a {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid var(--ocf-border);
    color: var(--ocf-heading);
    text-decoration: none;
    background: var(--ocf-bg);
}

.ocf-candidate-area-list span {
    color: var(--ocf-label);
    font-size: var(--text-xs);
    font-weight: 800;
}

.ocf-candidate-testimonials {
    background: var(--ocf-bg-alt);
}

.ocf-candidate-testimonials__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.62fr);
    gap: 1rem;
}

.ocf-candidate-review-feature,
.ocf-candidate-review-rail article {
    border: 1px solid var(--ocf-border);
    background: var(--ocf-bg);
}

.ocf-candidate-review-feature {
    display: grid;
    align-content: space-between;
    gap: 1.25rem;
    min-height: 24rem;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.ocf-candidate-review-feature span {
    color: var(--ocf-label);
    font-size: var(--text-2xl);
    font-weight: 800;
}

.ocf-candidate-review-feature blockquote {
    margin: 0;
    color: var(--ocf-heading);
    font-size: var(--text-2xl);
    line-height: 1.25;
}

.ocf-candidate-review-rail {
    display: grid;
    gap: 1rem;
}

.ocf-candidate-review-rail article {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.ocf-candidate-review-rail p {
    margin: 0;
    color: var(--ocf-body);
}

.ocf-candidate-cta {
    position: relative;
    isolation: isolate;
    min-height: 36rem;
    display: grid;
    align-items: center;
    color: var(--ocf-body-alt);
    overflow: hidden;
}

.ocf-candidate-cta__image {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.ocf-candidate-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--gradient-media-dark);
}

.ocf-candidate-cta__panel {
    display: grid;
    gap: 1rem;
    max-width: 44rem;
}

.ocf-candidate-cta__panel > * {
    margin: 0;
}

.ocf-candidate-cta__panel .eyebrow,
.ocf-candidate-cta__panel h2 {
    color: var(--ocf-heading-alt);
}

.ocf-candidate-cta__panel p:not(.eyebrow) {
    color: var(--ocf-body-alt);
    font-size: var(--text-lg);
}

@media (max-width: 900px) {
    .ocf-lab-bar {
        padding-top: 6.5rem;
    }

    .ocf-lab-bar__top {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .ocf-lab-nav {
        justify-content: flex-start;
    }

    .ocf-candidate-hero__grid,
    .ocf-candidate-about__grid,
    .ocf-candidate-areas__grid,
    .ocf-candidate-testimonials__grid {
        grid-template-columns: 1fr;
    }

    .ocf-candidate-hero__service-rail,
    .ocf-candidate-area-list {
        grid-template-columns: 1fr 1fr;
    }

    .ocf-candidate-service-row {
        grid-template-columns: 3rem minmax(0, 1fr);
    }

    .ocf-candidate-service-row__action {
        grid-column: 2;
    }
}

@media (max-width: 640px) {
    .ocf-candidate-hero__service-rail,
    .ocf-candidate-area-list {
        grid-template-columns: 1fr;
    }

    .ocf-candidate-hero__media,
    .ocf-candidate-areas__map {
        min-height: 22rem;
    }
}
