:root {
  --coral-dark: #c0392b;      /* research - red */
  --gray-mid: #6c757d;        /* innovation - gray */
  --orange-dark: #e67e22;     /* extension - orange */
  --heading-navy: #1B2A4A;
  --header-gray: #F1F0ED;
  --border-gray: #E4E2DC;
  --text-secondary: #6B6862;
  --rdes-section-pad: clamp(1.5rem, 5vw, 4rem);
}

.fnf-rdes-section {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 3rem var(--rdes-section-pad) 4rem;
}

.fnf-rdes-section::before {
    display: none;
}
.fnf-rdes-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.fnf-rdes-section > * {
    position: relative;
    z-index: 1;
}

/* ============================================================
   Bands - full-bleed, flush to both edges
   ============================================================ */

.fnf-rdes-section .rdes-band {
    display: flex;
    align-items: stretch;
    margin-bottom: 50px;
    min-height: 100px;
    margin-left: calc(-1 * var(--rdes-section-pad));
    margin-right: calc(-1 * var(--rdes-section-pad));
}

.fnf-rdes-section .rdes-band:last-child {
    margin-bottom: 0;
}

.fnf-rdes-section .rdes-band--innovation {
    min-height: 100px;
}

/* Vertical side label */
.fnf-rdes-section .rdes-band-label {
    flex: 0 0 58px;
    background: #fdfdfc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fnf-rdes-section .rdes-band-label span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: 800;
    font-size: clamp(15px, 1.6vw, 22px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.fnf-rdes-section .rdes-band--innovation .rdes-band-label span {
    transform: none;
}

.fnf-rdes-section .rdes-band--research .rdes-band-label span { color: var(--coral-dark); }
.fnf-rdes-section .rdes-band--innovation .rdes-band-label span { color: var(--gray-mid); }
.fnf-rdes-section .rdes-band--extension .rdes-band-label span { color: var(--orange-dark); }

/* Colored strip holding the stat items */
.fnf-rdes-section .rdes-band-items {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    overflow: visible;
    padding: 30px clamp(10px, 2vw, 36px) 22px;
    gap: 0;
}

.fnf-rdes-section {
    --rdes-band-width: 80%; /* single source of truth: all three bands stay this width */
}

.fnf-rdes-section .rdes-band--research .rdes-band-items,
.fnf-rdes-section .rdes-band--innovation .rdes-band-items,
.fnf-rdes-section .rdes-band--extension .rdes-band-items {
    flex: 0 1 auto;
    width: var(--rdes-band-width);
    max-width: var(--rdes-band-width);
}

.fnf-rdes-section .rdes-band--innovation .rdes-band-items {
    margin-left: auto;
}

.fnf-rdes-section .rdes-band--research .rdes-band-items { background: var(--coral-dark); }
.fnf-rdes-section .rdes-band--innovation .rdes-band-items { background: var(--gray-mid); }
.fnf-rdes-section .rdes-band--extension .rdes-band-items { background: var(--orange-dark); }

/* Individual stat item - shrinks instead of wrapping so the tunnel never breaks */
.fnf-rdes-section .rdes-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 clamp(4px, 1vw, 12px);
    position: relative;
}

.fnf-rdes-section .rdes-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 4%;
    width: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.fnf-rdes-section .rdes-item-icon {
    position: relative;
    width: clamp(60px, 4.4vw, 84px);
    height: clamp(60px, 4.4vw, 84px);
    border-radius: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* icon pokes out above the tunnel edge */
    transform: translateY(-70%);
    /* IMPORTANT: transform doesn't free up the space it moved out of,
       so we pull the next sibling (the value) up by the same amount
       to close that dead gap. Keep this in sync with translateY above. */
    margin-bottom: clamp(-59px, -3.1vw, -42px);
}

.fnf-rdes-section .rdes-item-icon::before {
    content: '';
    position: absolute;
    inset: 5px;
    background: #fff;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 0;
}

.fnf-rdes-section .rdes-item-icon i {
    position: relative;
    z-index: 1;
    font-size: clamp(38px, 2.2vw, 48px);
    line-height: 1;
}

.fnf-rdes-section .rdes-band--research .rdes-item-icon { background: var(--coral-dark); }
.fnf-rdes-section .rdes-band--research .rdes-item-icon i { color: var(--coral-dark); }

.fnf-rdes-section .rdes-band--innovation .rdes-item-icon { background: var(--gray-mid); }
.fnf-rdes-section .rdes-band--innovation .rdes-item-icon i { color: var(--gray-mid); }

.fnf-rdes-section .rdes-band--extension .rdes-item-icon { background: var(--orange-dark); }
.fnf-rdes-section .rdes-band--extension .rdes-item-icon i { color: var(--orange-dark); }

.fnf-rdes-section .rdes-item-value {
    display: block;
    margin-top: 0;
    font-size: clamp(29px, 2vw, 50px);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    white-space: nowrap;
}

.fnf-rdes-section .rdes-item-label {
    display: block;
    margin-top: clamp(2px, 0.6vw, 6px);
    font-size: clamp(11.5px, 0.85vw, 15px);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.25;
}

/* ============================================================
   Responsive - items shrink in place, tunnel never wraps/breaks
   ============================================================ */

@media (max-width: 700px) {
    .fnf-rdes-section .rdes-band { min-height: 150px; }
    .fnf-rdes-section .rdes-band-label { flex-basis: 36px; }
    .fnf-rdes-section .rdes-band-label span { font-size: 13px; }
    .fnf-rdes-section .rdes-item-icon {
        width: 34px;
        height: 34px;
        transform: translateY(-70%);
        margin-bottom: -24px;
    }
    .fnf-rdes-section .rdes-item-icon i { font-size: 15px; }
}

@media (max-width: 460px) {
    .fnf-rdes-section .rdes-band-label { flex-basis: 26px; }
    .fnf-rdes-section .rdes-band-items { padding-left: 6px; padding-right: 6px; }
    .fnf-rdes-section .rdes-item-icon {
        width: 28px;
        height: 28px;
        transform: translateY(-70%);
        margin-bottom: -20px;
    }
    .fnf-rdes-section .rdes-item-icon i { font-size: 13px; }
}