/* Reuse the homepage components; the approach design has white offerings. */
.raven-approach-page {
    --approach-title-leading: 0.95;
}

/* Wrapped titles and titles split into spans share the same line spacing. */
.raven-approach-page :is(
    .raven-approach-arrival__title,
    .raven-approach-grit__title,
    .raven-approach-abyss__title,
    .raven-approach-luna__title,
    .raven-approach-proof__title,
    .raven-approach-curiosity__title,
    .raven-approach-orbit__title,
    .raven-approach-guarantee__title,
    .raven-offerings__title,
    .raven-love__title
) {
    line-height: var(--approach-title-leading);
    row-gap: 0;
}

/* Match the homepage founder CTA geometry and shared Eclipse typography. */
.raven-approach-page .raven-eclipse-cta:not(.raven-header__email) {
    --approach-cta-padding: clamp(1rem, 2vw, 1.6rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-height: clamp(2.25rem, 3vw, 2.7rem);
    padding: 0.35rem var(--approach-cta-padding);
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.015em;
    text-align: center;
    text-transform: uppercase;
    white-space: normal;
}

.raven-approach-page .raven-eclipse-cta:not(.raven-header__email)::after {
    width: max-content;
    /* Keep the label's natural width; allow for fractional pixel rounding
       when a constrained button needs the same wrapping as its visible label. */
    max-width: calc(100% - 2 * var(--approach-cta-padding) + 1px);
    line-height: 1;
}

.raven-approach-page .raven-eclipse-cta:not(.raven-header__email) .raven-eclipse-cta__label {
    line-height: 1;
}

.raven-approach-page .raven-offerings {
    background: var(--color-white);
    color: var(--color-black);
}

.raven-approach-page .raven-offerings__title {
    color: var(--color-raven-red);
}

.raven-approach-page .raven-offering {
    color: var(--color-black);
}

.raven-approach-page .raven-offerings__mark img {
    filter: brightness(0);
}

@media (hover: none), (pointer: coarse) {
    .raven-approach-page .raven-offering:hover:not(.is-in-view) .raven-offering__label {
        color: var(--color-black);
    }
}

@media (max-width: 430px) {
    .raven-approach-page .raven-testimonial__person h3 {
        white-space: normal;
    }
}

/* Keep a readable first review if JavaScript is unavailable. */
html:not(.has-js) .raven-approach-page .raven-love__stage {
    height: auto;
    min-height: var(--love-stage-min-height);
}

html:not(.has-js) .raven-approach-page .raven-testimonial:first-child {
    position: relative;
    top: auto;
    left: auto;
    margin-inline: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

html:not(.has-js) .raven-approach-page .raven-love__controls {
    display: none;
}
