/* --- Placeholder-notice banner (same pattern as decisiondesk-ai.css) --- */
/* --- Featured strip (large image-bg cards) --- */
.res-featured-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .res-featured-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

.res-feature-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 4 / 3.1;
    border-radius: 22px;
    background: var(--accent-2);
}

.res-feature-card__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.res-feature-card__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(6, 19, 31, 0.28) 0%,
        rgba(6, 19, 31, 0.18) 32%,
        rgba(6, 19, 31, 0.66) 76%,
        rgba(6, 19, 31, 0.88) 100%
    );
}

.res-feature-card__body {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.res-feature-card__type {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.res-feature-card__title {
    margin: 10px 0 0;
    max-width: 22ch;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.28;
    color: #fff;
}

.res-feature-card__pill {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    margin-top: 18px;
    padding: 9px 16px;
    border-radius: 999px;
    background: #fff;
    color: var(--accent-2);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

/* --- Tab-style filter bar --- */
.res-tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 28px;
    border-bottom: 1px solid #e5ebf1;
}

.res-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 14px;
    border-bottom: 2px solid transparent;
    color: rgba(15, 45, 73, 0.5);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 220ms ease, border-color 220ms ease;
}

.res-tab svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.res-tab:hover {
    color: var(--accent-2);
}

.res-tab--active {
    border-color: var(--accent-2);
    color: var(--accent-2);
}

@media (max-width: 640px) {
    .res-tab-bar {
        gap: 4px 18px;
    }

    .res-tab {
        font-size: 13px;
    }
}

/* --- Article grid (image-bg cards) --- */
.res-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .res-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .res-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

.res-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 4 / 3.4;
    border-radius: 20px;
    background: var(--accent-2);
    transition: transform 260ms ease;
}

.res-card:hover {
    transform: translateY(-3px);
}

.res-card__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.res-card__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(6, 19, 31, 0.22) 0%,
        rgba(6, 19, 31, 0.14) 30%,
        rgba(6, 19, 31, 0.62) 74%,
        rgba(6, 19, 31, 0.86) 100%
    );
}

.res-card__body {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.res-card__category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.res-card__title {
    margin: 8px 0 0;
    max-width: 24ch;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.32;
    color: #fff;
}

.res-card__pill {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    margin-top: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--accent-2);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.res-empty {
    margin: 48px 0 0;
    text-align: center;
    font-size: 14px;
    color: rgba(15, 45, 73, 0.5);
}

/* --- Capability deck: light form left, parallax image right --- */
.res-deck {
    background: var(--accent-4);
}

.res-deck-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
    .res-deck-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        min-height: 620px;
    }
}

.res-deck-copy-col {
    display: flex;
    align-items: center;
    padding: 72px 24px;
}

@media (min-width: 640px) {
    .res-deck-copy-col {
        padding: 88px 48px;
    }
}

@media (min-width: 1024px) {
    .res-deck-copy-col {
        padding: 64px 64px 64px 4vw;
    }
}

.res-deck-copy {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .res-deck-copy {
        margin: 0;
    }
}

.res-deck-form {
    margin-top: 34px;
}

.res-deck-form-row {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 22px;
}

@media (min-width: 480px) {
    .res-deck-form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

.res-deck-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.res-deck-field span {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-2);
}

.res-deck-field input {
    min-height: 34px;
    padding: 0 0 6px;
    border: none;
    border-bottom: 1px solid rgba(15, 45, 73, 0.22);
    border-radius: 0;
    background: transparent;
    color: var(--accent-2);
    font-size: 14px;
    transition: border-color 220ms ease;
}

.res-deck-field input::placeholder {
    color: rgba(15, 45, 73, 0.32);
}

.res-deck-field input:focus {
    outline: none;
    border-color: var(--accent-1);
}

.res-deck-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.res-deck-submit {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    padding: 0 26px;
    border-radius: 0.75rem;
    background: var(--accent-2);
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    transition: transform 300ms ease, background-color 300ms ease;
}

.res-deck-submit:hover {
    transform: translateY(-2px);
    background: #0a2036;
}

.res-deck-submit-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(15, 45, 73, 0.18);
    border-radius: 0.75rem;
    color: var(--accent-2);
}

.res-deck-submit-icon svg {
    width: 16px;
    height: 16px;
}

.res-deck-form__privacy {
    margin: 20px 0 0;
    max-width: 40ch;
    font-size: 12px;
    line-height: 1.55;
    color: rgba(15, 45, 73, 0.5);
}

.res-deck-media {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

@media (min-width: 1024px) {
    .res-deck-media {
        min-height: 0;
    }
}

.res-deck-media__image {
    position: absolute;
    inset: -12% 0;
    width: 100%;
    height: 124%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

/* --- Closing CTA: same pattern as About's "point of the company" --- */
.res-point {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 130px 0;
    text-align: center;
    background: linear-gradient(160deg, var(--accent-3) 0%, var(--accent-2) 55%, #0a1e33 100%);
}

.res-point__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.res-point__photo {
    position: absolute;
    overflow: hidden;
    border-radius: 18px;
    background-color: #0f2d49;
    background-image: var(--img);
    background-position: center;
    background-size: cover;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}

.res-point__photo-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0, 42, 78, 0.5) 0%, rgba(0, 20, 38, 0.25) 100%);
    mix-blend-mode: multiply;
}

.res-point__photo--tl {
    top: 56px;
    left: 40px;
    width: 210px;
    height: 270px;
}

.res-point__photo--tr {
    top: 68px;
    right: 52px;
    width: 190px;
    height: 150px;
}

.res-point__photo--bl {
    bottom: 60px;
    left: 64px;
    width: 220px;
    height: 140px;
}

.res-point__photo--br {
    bottom: 48px;
    right: 40px;
    width: 200px;
    height: 250px;
}

.res-point__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.res-point__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-1);
}

.res-point__eyebrow-icon {
    width: 13px;
    height: 13px;
    border-radius: 4px;
    background: var(--accent-1);
}

.res-point__title {
    margin: 22px auto 0;
    max-width: 45ch;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 2.6vw, 2.5rem);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -0.02em;
    color: #fff;
    text-wrap: balance;
}

.res-point__lede {
    margin: 22px auto 0;
    max-width: 54ch;
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.68);
}

.res-point__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.res-point__cta {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    gap: 8px;
    padding: 0 26px;
    border-radius: 0.75rem;
    font-size: 14.5px;
    font-weight: 600;
    transition:
        transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
        background-color 300ms ease,
        border-color 300ms ease;
}

.res-point__cta svg {
    width: 16px;
    height: 16px;
    transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.res-point__cta--solid {
    background: linear-gradient(180deg, #d9cfae 0%, var(--accent-1) 100%);
    color: var(--accent-2);
    box-shadow: 0 10px 24px -12px rgba(15, 45, 73, 0.5);
}

.res-point__cta--solid:hover {
    transform: translateY(-2px);
}

.res-point__cta--solid:hover svg {
    transform: translateX(3px);
}

.res-point__cta--outline {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.res-point__cta--outline:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1279px) {
    .res-point__photo--tl {
        width: 170px;
        height: 220px;
        left: 20px;
    }

    .res-point__photo--tr {
        width: 150px;
        height: 120px;
        right: 24px;
    }

    .res-point__photo--bl {
        width: 170px;
        height: 110px;
        left: 24px;
    }

    .res-point__photo--br {
        width: 160px;
        height: 200px;
        right: 20px;
    }
}

@media (max-width: 1023px) {
    .res-point {
        padding: 96px 0;
    }

    .res-point__media {
        display: none;
    }
}
