
/* =========================================
   SENSTECH — FEATURED ENGAGEMENTS
   Editorial Split Layout
========================================= */

.senstech-engagements {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    color: #17251f;

    background:
        radial-gradient(
            ellipse at 92% 5%,
            rgba(20, 184, 166, 0.07),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fbf9 100%
        );
}

.senstech-engagements__container {
    position: relative;
    z-index: 1;
}

/* =========================================
   SECTION INTRODUCTION
========================================= */

.senstech-engagements__intro {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);
    align-items: end;
    gap: clamp(1.5rem, 4vw, 4rem);

    margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.senstech-engagements__intro-main {
    max-width: 620px;
}

.senstech-engagements__eyebrow {
    display: inline-block;
    margin-bottom: 1rem;

    color: #0f6a4a;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1.5;
}

.senstech-engagements__heading {
    margin: 0;

    color: #17251f;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(2.1rem, 4.2vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.15;
}

.senstech-engagements__heading span {
    color: #0f6a4a;
}

.senstech-engagements__intro-description {
    max-width: 490px;
    margin: 0 0 0 auto;

    color: #63736b;
    font-size: 1rem;
    line-height: 1.9;
}

/* =========================================
   EDITORIAL SPLIT GRID
========================================= */

.senstech-engagements__layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(0, 0.8fr);
    align-items: stretch;
    gap: 1.25rem;
}

/* =========================================
   BASE ENGAGEMENT
========================================= */

.senstech-engagement {
    box-sizing: border-box;
    min-width: 0;

    border: 1px solid #e4ece7;
    border-radius: 1.35rem;

    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.senstech-engagement:hover {
    border-color: rgba(15, 106, 74, 0.25);
    box-shadow: 0 18px 42px rgba(23, 55, 39, 0.075);
    transform: translateY(-3px);
}

/* =========================================
   ICON + NUMBER
========================================= */

.senstech-engagement__topline {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    margin-bottom: 1.25rem;
}

.senstech-engagement__index {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;

    color: #0f6a4a;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.5;
}

/* =========================================
   ICONS
========================================= */

.senstech-engagement__icon {
    display: flex;
    width: 3.15rem;
    height: 3.15rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;

    margin: 0;
    border-radius: 0.9rem;
    font-size: 1.25rem;
}

.senstech-engagement__icon--featured {
    color: #0f6a4a;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(15, 106, 74, 0.1);
}

.senstech-engagement__icon--teal {
    color: #087f78;
    background: #e5f7f5;
}

.senstech-engagement__icon--lime {
    color: #537d13;
    background: #f0f7df;
}

/* =========================================
   TITLES
========================================= */

.senstech-engagement__title {
    margin: 0 0 0.55rem;

    color: #1a2b22;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.12rem, 1.55vw, 1.32rem);
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.4;
}

.senstech-engagement__title--featured {
    font-size: clamp(1.5rem, 2.2vw, 1.95rem);
    letter-spacing: -0.035em;
    line-height: 1.3;
}

/* =========================================
   CATEGORY LABEL
   Positioned below the title
========================================= */

.senstech-engagement__category {
    display: block;
    margin: 0 0 0.9rem;

    color: #0f6a4a;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1.6;
}

/* =========================================
   DESCRIPTIONS
========================================= */

.senstech-engagement__description {
    margin: 0 0 1.5rem;

    color: #63736b;
    font-size: 0.91rem;
    line-height: 1.8;
}

/* =========================================
   PRIMARY ENGAGEMENT
========================================= */

.senstech-engagement--featured {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(190px, 0.8fr);
    align-items: stretch;
    gap: clamp(1.25rem, 2.5vw, 2rem);

    min-height: 400px;
    padding: clamp(1.5rem, 3vw, 2.5rem);

    background:
        radial-gradient(
            ellipse at 0% 0%,
            rgba(20, 184, 166, 0.12),
            transparent 48%
        ),
        linear-gradient(
            135deg,
            #edf7f0 0%,
            #f8fbf9 100%
        );

    border-color: #dcebe1;
    box-shadow: 0 12px 36px rgba(23, 55, 39, 0.04);
}

.senstech-engagement__featured-content {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    align-items: flex-start;
}

/*
 * FIX:
 * The primary number is positioned relative to the
 * entire featured card, not the left content column.
 */

.senstech-engagement--featured
.senstech-engagement__featured-content
.senstech-engagement__index {
    position: absolute;
    top: clamp(1.5rem, 3vw, 2.5rem);
    right: clamp(1.5rem, 3vw, 2.5rem);
    z-index: 2;
}

/* =========================================
   PRIMARY CTA
========================================= */

.senstech-engagement__cta {
    display: inline-flex;
    min-height: 3.1rem;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;

    margin-top: auto;
    padding: 0.8rem 1.1rem;

    border-radius: 0.7rem;
    font-size: 0.85rem;
    font-weight: 750;
    line-height: 1.5;
    text-decoration: none;

    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.senstech-engagement__cta--featured {
    color: #ffffff;
    background: #0f6a4a;
    border: 1px solid #0f6a4a;
}

.senstech-engagement__cta--featured:hover {
    color: #ffffff;
    background: #0b543b;
    border-color: #0b543b;
    transform: translateY(-2px);
}

.senstech-engagement__cta i,
.senstech-engagement__text-link i {
    flex-shrink: 0;
    transition: transform 180ms ease;
}

.senstech-engagement__cta:hover i,
.senstech-engagement__text-link:hover i {
    transform: translateX(3px);
}

/* =========================================
   WORKSHOP FOCUS PANEL
========================================= */

.senstech-engagement__focus {
    box-sizing: border-box;
    min-width: 0;
    align-self: center;
    padding: 1.25rem;

    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(15, 106, 74, 0.1);
    border-radius: 1rem;
}

.senstech-engagement__focus-label {
    display: block;
    margin-bottom: 1.15rem;

    color: #0f6a4a;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.5;
}

.senstech-engagement__focus-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    margin: 0;
    padding: 0;
    list-style: none;
}

.senstech-engagement__focus-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;

    color: #344b3e;
    font-size: 0.83rem;
    font-weight: 600;
    line-height: 1.6;
}

.senstech-engagement__focus-list li i {
    flex-shrink: 0;
    margin-top: 0.2rem;

    color: #0f6a4a;
    font-size: 0.78rem;
}

.senstech-engagement__focus-note {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;

    margin-top: 1.5rem;
    padding-top: 1.1rem;

    border-top: 1px solid #e4ece7;
}

.senstech-engagement__focus-note i {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: #0f6a4a;
}

.senstech-engagement__focus-note p {
    margin: 0;

    color: #63736b;
    font-size: 0.78rem;
    line-height: 1.7;
}

/* =========================================
   SECONDARY ENGAGEMENTS
========================================= */

.senstech-engagements__secondary {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    min-width: 0;
}

.senstech-engagement--secondary {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;

    padding: clamp(1.25rem, 2vw, 1.75rem);

    background: #ffffff;
    box-shadow: 0 10px 30px rgba(23, 55, 39, 0.035);
}

.senstech-engagement--secondary
.senstech-engagement__topline {
    margin-bottom: 1rem;
}

.senstech-engagement--secondary
.senstech-engagement__description {
    margin-bottom: 1.25rem;
    font-size: 0.86rem;
}

/* =========================================
   SECONDARY CTA
========================================= */

.senstech-engagement__text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;

    margin-top: auto;

    color: #0f6a4a;
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.6;
    text-decoration: none;
}

.senstech-engagement__text-link:hover {
    color: #0b543b;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {
    .senstech-engagements__intro {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 0.85fr);
        gap: 2rem;
    }

    .senstech-engagements__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .senstech-engagement--featured {
        grid-template-columns:
            minmax(0, 1.2fr)
            minmax(220px, 0.8fr);

        min-height: 390px;
    }

    .senstech-engagements__secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        align-items: stretch;
    }

    .senstech-engagement--secondary {
        min-height: 290px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 575.98px) {
    .senstech-engagements {
        padding: 4rem 0;
    }

    .senstech-engagements__intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .senstech-engagements__heading {
        font-size: clamp(2rem, 8vw, 2.45rem);
    }

    .senstech-engagements__intro-description {
        max-width: none;
        margin: 0;
        font-size: 0.96rem;
        line-height: 1.8;
    }

    .senstech-engagements__layout {
        gap: 1rem;
    }

    .senstech-engagement--featured {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;

        min-height: 0;
        padding: 1.4rem;
    }

    .senstech-engagement--featured
    .senstech-engagement__featured-content
    .senstech-engagement__index {
        top: 1.4rem;
        right: 1.4rem;
    }

    .senstech-engagement__title--featured {
        font-size: 1.6rem;
    }

    .senstech-engagement__description {
        font-size: 0.9rem;
    }

    .senstech-engagement__focus {
        width: 100%;
        padding: 1.15rem;
    }

    .senstech-engagement__focus-list {
        gap: 0.85rem;
    }

    .senstech-engagement__cta {
        width: 100%;
        padding: 0.8rem 0.75rem;
        font-size: 0.82rem;
    }

    .senstech-engagements__secondary {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        gap: 1rem;
    }

    .senstech-engagement--secondary {
        min-height: 0;
        padding: 1.4rem;
    }

    .senstech-engagement__title {
        font-size: 1.2rem;
    }

    .senstech-engagement--secondary
    .senstech-engagement__description {
        font-size: 0.9rem;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    .senstech-engagement,
    .senstech-engagement__cta,
    .senstech-engagement__cta i,
    .senstech-engagement__text-link i {
        transition: none;
    }

    .senstech-engagement:hover,
    .senstech-engagement__cta:hover {
        transform: none;
    }
}
