/* ── Timeline Blueprint BG ────────────────────────────────────── */
#timeline-2178 {
    position: relative;
    overflow: hidden;
}
#timeline-2178::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/images/blueprint-outline1.webp') center/cover no-repeat;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
}
#timeline-2178 .cs-container {
    position: relative;
    z-index: 1;
}

/* ── About Mission BG Spring ──────────────────────────────────── */
#about-mission {
    position: relative;
    overflow: hidden;
}
#about-mission::after {
    content: '';
    position: absolute;
    right: -13rem;
    bottom: -3rem;
    width: 40rem;
    height: 65rem;
    background: url('/assets/images/compression-spring.png') center/cover no-repeat;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
}
#about-mission .cs-container {
    position: relative;
    z-index: 1;
}

/* ── Stats Strip ─────────────────────────────────────────────── */
#stats-strip {
    background: var(--primary);
    background-image: url('/assets/images/metal-grid-texture.webp');
    background-size: cover;
    background-position: center;
    padding: clamp(2.5rem, 5vw, 4rem) 1rem;
    position: relative;
    overflow: hidden;
}

#stats-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 22, 66, 0.82);
    pointer-events: none;
}

#stats-strip .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(2rem, 5vw, 0rem);
    position: relative;
    z-index: 1;
}

#stats-strip .cs-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    flex: 1 0 9rem;
    padding: 1.5rem 1rem;
    position: relative;
}

#stats-strip .cs-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

#stats-strip .cs-number {
    font-family: var(--headerFont);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

#stats-strip .cs-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 47.9375rem) {
    #stats-strip .cs-stat:not(:last-child)::after {
        display: none;
    }
}


/* ── Scroll Reveal ───────────────────────────────────────────── */
.sr-hidden {
    opacity: 0;
    transform: translateY(1.75rem);
}

/* ── Hero: second button outlined ───────────────────────────── */
#hero-2042 .cs-button-group .cs-button-solid:last-child {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.55);
    color: #fff;
}
#hero-2042 .cs-button-group .cs-button-solid:last-child:hover {
    border-color: var(--accent);
    color: var(--dark);
}
#hero-2042 .cs-button-group .cs-button-solid:last-child::before {
    background: var(--accent);
}

/* ── SBS floating box accent ─────────────────────────────────── */
#sbs-1308 {
    position: relative;
    overflow: hidden;
}
#sbs-1308::before {
    content: '';
    position: absolute;
    right: -6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 36rem;
    height: 36rem;
    background: url('/assets/images/rj-spring-logo.webp') center/contain no-repeat;
    opacity: 0.035;
    filter: grayscale(1);
    pointer-events: none;
    z-index: 0;
}
#sbs-1308 .cs-container {
    position: relative;
    z-index: 1;
}
#sbs-1308 .cs-box {
    border-left: 4px solid var(--accent);
}

/* ── Services cards — lift on hover ──────────────────────────── */
#services-1627 .cs-item {
    transition: transform 0.35s ease;
}
#services-1627 .cs-item:hover {
    transform: translateY(-6px);
}
#services-1627 .cs-picture {
    position: relative;
}
#services-1627 .cs-picture::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(15, 22, 66, 0.35) 100%
    );
    pointer-events: none;
    transition: opacity 0.3s;
    opacity: 0;
}
#services-1627 .cs-item:hover .cs-picture::after {
    opacity: 1;
}


/* ── Core Values — full redesign ─────────────────────────────── */
#why-choose-2317 {
    background: var(--primary);
    padding: clamp(3.75rem, 7vw, 6.25rem) 1rem;
    position: relative;
    overflow: hidden;
}

/* right-side factory photo */
#why-choose-2317 .cs-bg-image {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 38%;
    height: 100%;
    background: url('/assets/images/man-with-machine.webp') center / cover no-repeat;
    pointer-events: none;
    z-index: 0;
}
#why-choose-2317 .cs-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--darkprimary) 5%, rgba(17, 20, 36, 0.6) 35%, rgba(15,22,66,0.15) 65%, transparent 100%);
}
@media (min-width: 64rem) {
    #why-choose-2317 .cs-bg-image { display: block; }
}

/* blueprint watermark — left 62% only so it doesn't cover the factory photo */
#why-choose-2317 .cs-bg-photo {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 62%;
    height: 100%;
    background: url('/assets/images/blueprint1.webp') center / cover no-repeat;
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}
@media (max-width: 63.9375rem) {
    #why-choose-2317 .cs-bg-photo { width: 100%; }
}

/* subtle dark gradient so cards don't float on a flat bg */
#why-choose-2317::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#why-choose-2317 .cs-container {
    max-width: 90rem;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
    /* override local.css flex/align defaults */
    display: block;
}

/* title row */
#why-choose-2317 .cs-header-row {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

#why-choose-2317 .cs-topper {
    color: var(--accent);
}

#why-choose-2317 .cs-title {
    color: #fff;
    margin: 0.5rem 0 0;
    max-width: 28rem;
}

/* 3-col card grid with CSS counter */
#why-choose-2317 .cs-card-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.875rem;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: cv-card;
}

@media (min-width: 36rem) {
    #why-choose-2317 .cs-card-group {
        grid-template-columns: 1fr 1fr;
        
    }
}

#why-choose-2317 .cs-item {
    counter-increment: cv-card;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    padding: 1.5rem 1.25rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#why-choose-2317 .cs-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

/* faded background number via CSS counter */
#why-choose-2317 .cs-item::after {
    content: "0" counter(cv-card);
    position: absolute;
    bottom: -0.25rem;
    right: 0.5rem;
    font-family: var(--headerFont);
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.06;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

#why-choose-2317 .cs-icon-wrap {
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background: rgba(15, 22, 66, 0.07);
    color: var(--primary);
    border-radius: 2px;
}

#why-choose-2317 .cs-icon-wrap svg {
    width: 1.5rem;
    height: 1.5rem;
}

#why-choose-2317 .cs-flex {
    flex: 1;
    min-width: 0;
}

#why-choose-2317 .cs-h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--headerColor);
    margin: 0.125rem 0 0.375rem;
    line-height: 1.2em;
    text-transform: none;
    font-family: var(--bodyFont);
}

#why-choose-2317 .cs-item-text {
    font-size: 0.875rem;
    line-height: 1.55em;
    color: var(--bodyTextColor);
    margin: 0;
}

@media (min-width: 48rem) {
    #why-choose-2317 .cs-card-group {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
    }
}

/* show the right-side photo only on large screens */
@media (min-width: 64rem) {
    #why-choose-2317 .cs-bg-photo {
        display: block;
    }

    /* card grid spans full width — rightmost cards overlap the photo */
    #why-choose-2317 .cs-card-group {
        position: relative;
        z-index: 2;
    }

    #why-choose-2317 .cs-bg-photo {
        z-index: 1;
    }
}

/* ── Industries Served — label pill ─────────────────────────── */
#services-2220 {
    background: var(--secondary);
    background-size: cover;
    background-position: center;
    position: relative;
}
#services-2220::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
#services-2220 .cs-container {
    position: relative;
    z-index: 1;
}
#services-2220 .cs-item.cs-content {
    background: transparent;
}
#services-2220 .cs-topper {
    color: var(--accent);
}
#services-2220 .cs-title {
    color: #fff;
}
#services-2220 .cs-button-solid {
    background-color: #fff;
    color: var(--primary);
}
#services-2220 .cs-button-solid::before {
    background: var(--secondary);
}
#services-2220 .cs-button-solid:hover {
    color: #fff;
}
#services-2220 .cs-h3 {
    background: rgba(15, 22, 66, 0.45);
    display: inline-block;
    padding: 0.3rem 0.9rem;
    backdrop-filter: blur(6px);
    border-left: 3px solid var(--accent);
}

/* ── Award cards — stronger active shadow ────────────────────── */
.award-card.is-active {
    box-shadow: 0 12px 40px rgba(15, 22, 66, 0.14) !important;
}

/* ── Footer cert logos — subtle hover ───────────────────────── */
#cs-footer-1782 .cs-cert-logo {
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.85;
}
#cs-footer-1782 .cs-cert-logo:hover {
    transform: scale(1.06);
    opacity: 1;
}

/* ── Nav scroll shrink — smoother transition ─────────────────── */
#cs-navigation {
    transition: height 0.35s ease, box-shadow 0.35s ease !important;
}

/* ── Section topper — decorative underline ───────────────────── */
.cs-topper {
    position: relative;
    color: var(--secondaryaccent);
}

/* Dark-bg sections keep accent (yellow) topper */
#why-choose-2317 .cs-topper,
#services-2220 .cs-topper,
#stats-strip .cs-topper,
body.page-home #collection-1553 .cs-content .cs-topper,
#cs-footer-1782 .cs-topper {
    color: var(--accent);
}

/* Homepage products grid — primary bg, scoped to homepage only */
body.page-home #collection-1553 {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}
body.page-home #collection-1553::before,
body.page-home #collection-1553::after {
    content: '';
    position: absolute;
    width: 48rem;
    height: 55rem;
    background: url('/assets/images/gears.webp') center/contain no-repeat;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}
body.page-home #collection-1553::before {
    left: -17rem;
    top: 14%;
    transform: translateY(-50%);
    filter: grayscale(1) invert(1);
}
body.page-home #collection-1553::after {
    right: -17rem;
    bottom: 14%;
    transform: translateY(50%) scaleX(-1) scaleY(-1);
    filter: grayscale(1) invert(1);
}
body.page-home #collection-1553 .cs-content,
body.page-home #collection-1553 .cs-container {
    position: relative;
    z-index: 1;
}
body.page-home #collection-1553 .cs-h3 {
    color: #fff;
}
body.page-home #collection-1553 .cs-content {
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;
    padding: 0 1rem clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
body.page-home #collection-1553 .cs-content .cs-topper {
    color: var(--accent);
}
body.page-home #collection-1553 .cs-content .cs-title {
    color: #fff;
}
body.page-home #collection-1553 .cs-content .cs-text {
    color: rgba(255, 255, 255, 0.75);
    max-width: 36rem;
}

/* Mobile nav contact block — mobile only */
@media only screen and (max-width: 74.96875rem) {
    .cs-nav-contact {
        margin-top: auto;
        padding: 1.5rem 1.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-direction: column;
        gap: 0.875rem;
    }
    .cs-nav-contact-label {
        font-size: 0.6875rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: var(--accent);
    }
    .cs-nav-contact-item {
        display: flex;
        align-items: flex-start;
        gap: 0.625rem;
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-size: 0.8125rem;
        line-height: 1.4;
        transition: color 0.2s;
    }
    .cs-nav-contact-item svg {
        flex-shrink: 0;
        margin-top: 0.1rem;
        color: var(--accent);
    }
    .cs-nav-contact-item:hover {
        color: #fff;
    }
    .cs-nav-social {
        display: flex;
        gap: 0.625rem;
        padding-top: 0.25rem;
    }
    .cs-nav-social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        transition: background 0.25s, transform 0.2s;
    }
    .cs-nav-social-link:hover {
        transform: translateY(-2px);
    }
    .cs-nav-social-link.cs-facebook:hover { background: #1877F2; }
    .cs-nav-social-link.cs-instagram:hover { background: #E1306C; }
    .cs-nav-social-link img {
        filter: brightness(0) invert(1);
        opacity: 0.75;
        transition: opacity 0.2s;
    }
    .cs-nav-social-link:hover img { opacity: 1; }
}
@media only screen and (min-width: 74.9688rem) {
    .cs-nav-contact {
        display: none;
    }
}


/* ── Contact banner links ────────────────────────────────────── */
.cs-banner-link {
    color: var(--accent);
    text-decoration: none;
}
.cs-banner-link:hover {
    text-decoration: underline;
}

/* ── Industries Served — disable link behaviour ─────────────── */
#services-2220 .cs-link {
    pointer-events: none;
    cursor: default;
}

/* ── Awards — smaller text on mobile ────────────────────────── */
@media (max-width: 47.9375rem) {
    .award-card__title {
        font-size: 1rem;
    }
    .award-card__org,
    .award-card__desc {
        font-size: 0.8125rem;
    }
    .award-card__body {
        padding: 1rem;
        gap: 0.375rem;
    }
}

/* ── Contact Form — select styling ──────────────────────────── */
.cs-form .cs-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}
.cs-form .cs-select option[value=""] {
    color: #aaa;
}

/* ── Logos 572 ───────────────────────────────────────────────── */
#logos-572 {
    padding: clamp(3.75rem, 8vw, 8.125rem) 1rem;
    background: #fff;
}
#logos-572 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2rem, 4vw, 3rem);
}
#logos-572 .cs-topper {
    text-align: center;
    color: var(--secondaryaccent)
}
#logos-572 .cs-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 6vw, 5.5rem);
}
#logos-572 .cs-logo {
    width: auto;
    max-width: 9rem;
    height: auto;
    display: block;
}

@media (max-width: 47.9375rem) {
    #logos-572 .cs-logo {
        max-width: 5rem;
    }
    #logos-572 .cs-row {
        gap: 1.25rem;
    }
}

/* hide download widget when mobile nav is open */
#dl-widget {
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
body.cs-open #dl-widget {
    opacity: 0;
    transform: translateY(0.75rem) scale(0.9);
    visibility: hidden;
    pointer-events: none;
}

/* ── Download Widget ─────────────────────────────────────────── */
#dl-widget {
    position: fixed;
    bottom: 1.75rem;
    left: 1.75rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: max-content;
    pointer-events: none;
}
#dl-widget > * {
    pointer-events: auto;
}

#dl-trigger {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 3rem;
    padding: 0.75rem 1.25rem 0.75rem 1rem;
    font-family: var(--bodyFont);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(15,22,66,0.28);
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    white-space: nowrap;
}
#dl-trigger:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(15,22,66,0.32);
}
#dl-trigger svg {
    flex-shrink: 0;
}

/* Card */
#dl-card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 8px 40px rgba(15,22,66,0.18);
    width: 17rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.75rem) scale(0.97);
    transition: opacity 0.25s ease, transform 0.25s ease;
    border-top: 3px solid var(--accent);
}
#dl-card.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.dl-card__header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.dl-card__icon-wrap {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(15,22,66,0.07);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.dl-card__label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--headerColor);
    line-height: 1.3;
    margin: 0;
}
.dl-card__sub {
    font-size: 0.75rem;
    color: #888;
    margin: 0.125rem 0 0;
}
.dl-card__close {
    margin-left: auto;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    padding: 0.125rem;
    line-height: 1;
    transition: color 0.2s;
}
.dl-card__close:hover { color: var(--headerColor); }

.dl-card__desc {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--bodyTextColor);
    margin: 0;
}

.dl-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.7rem 1rem;
    border-radius: 0.375rem;
    transition: background 0.2s;
}
.dl-card__btn:hover {
    background: var(--secondary);
    color: #fff;
}

/* ── Awards Timeline Grid ────────────────────────────────────── */
.awards-timeline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 48rem) {
    .awards-timeline-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2rem;
    }
}

@media (min-width: 64rem) {
    .awards-timeline-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.atl-company {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15,22,66,0.06);
}

.atl-company__header {
    background: var(--primary);
    padding: 1.125rem 1.25rem;
    border-bottom: 3px solid var(--accent);
}

.atl-company__name {
    font-family: var(--headerFont);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.atl-company__since {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

/* award image */
.atl-images {
    border-bottom: 1px solid var(--rule);
    background: #f8f9fa;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.atl-images::-webkit-scrollbar { display: none; }

.atl-images img {
    flex-shrink: 0;
    width: 100%;
    min-width: 100%;
    scroll-snap-align: start;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

@media (min-width: 64rem) {
    .atl-images img {
        height: 18rem;
        object-fit: cover;
        padding: 0;
    }

}

.atl-images img:hover { transform: scale(1.02); }

.atl-dots {
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 0;
    background: #f8f9fa;
    border-bottom: 1px solid var(--rule);
}

.atl-dot-btn {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.atl-dot-btn.is-active {
    background: var(--primary);
    transform: scale(1.3);
}

.atl-list {
    padding: 1rem 0.9rem 1.25rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.atl-list::before {
    content: '';
    position: absolute;
    left: calc(0.5rem + 2.5rem + 0.5rem + 5px);
    top: 1rem;
    bottom: 1.25rem;
    width: 2px;
    background: var(--rule);
}

.atl-item {
    display: grid;
    grid-template-columns: 2.5rem 1rem 1fr;
    gap: 0 0.5rem;
    align-items: start;
    padding: 0.6rem 0;
    position: relative;
}

.atl-year {
    font-family: var(--headerFont);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-align: right;
    padding-top: 0.125rem;
    line-height: 1.3;
    white-space: nowrap;
}

.atl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary);
    margin-top: 0.31rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.atl-dot--highlight {
    background: var(--accent);
    border-color: var(--accent);
}

.atl-award {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--bodyTextColor);
    margin: 0;
}

.atl-org {
    display: block;
    font-size: 0.75rem;
    color: var(--steel);
    margin-top: 0.125rem;
}

/* ── Product Category Sidebar → Scrollable Tab Strip on Mobile ── */
@media (max-width: 47.9375rem) {
    #collection-1624 .cs-sidebar {
        width: 100%;
        background: none;
        border: none;
        padding: 0;
        margin-bottom: 1.5rem;
    }

    .cs-sidebar-heading { display: none; }

    .cs-category-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 0.5rem;
        padding: 0.625rem 1rem;
        scrollbar-width: none;
        grid-template-columns: unset !important;
        background: transparent;
    }
    .cs-category-list::-webkit-scrollbar { display: none; }

    .cs-category-item {
        flex: 0 0 auto;
        border: none !important;
        border-bottom: none !important;
        border-right: none !important;
    }

    .cs-category-link {
        display: inline-flex;
        white-space: nowrap;
        padding: 0.4375rem 1rem;
        border: 1.5px solid #d1d5db !important;
        border-left: 1.5px solid #d1d5db !important;
        font-size: 0.8125rem;
        font-weight: 600;
        background: #fff;
        color: var(--steel);
        transition: background 0.2s, color 0.2s, border-color 0.2s;
    }
    .cs-category-link:hover {
        background: var(--smoke);
        border-color: var(--primary) !important;
        color: var(--primary);
    }
    .cs-category-link.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary) !important;
        font-weight: 700;
    }
    .cs-category-link.active .cs-cat-arrow,
    .cs-cat-arrow { display: none; }

    .cs-sidebar-cta { display: none; }
}

/* ── Sales & Product Contribution ───────────────────────────── */
#sales-contribution {
    padding: clamp(3rem, 6vw, 5rem) 1rem;
}

#sales-contribution .cs-container {
    max-width: 80rem;
    width: 100%;
    margin: 0 auto;
    display: block;
}

#sales-contribution .cs-content {
    text-align: center;
    margin-bottom: 2.5rem;
    display: block;
}

#sales-contribution .cs-title {
    text-align: center;
    max-width: 80rem;
    margin-bottom: 0rem
}

.sc-intro {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    color: #555;
    max-width: 42rem;
    margin: 0.75rem auto 0;
    line-height: 1.7;
}

.sc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    max-width: 80rem;
    margin: 0 auto;
}

.sc-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.75rem 2rem;
    box-shadow: 0 4px 24px rgba(15,22,66,0.08);
    border-top: 4px solid var(--primary);
}

.sc-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sc-icon-box {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--primary);
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-card-title h3 {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--primary);
    margin: 0 0 0.2rem;
    text-transform: uppercase;
}

.sc-card-title span {
    font-size: 0.8rem;
    color: #777;
}

.sc-divider {
    border: none;
    border-top: 1px solid #e5e9f0;
    margin: 0 0 1.5rem;
}

.sc-chart-area {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sc-chart-wrap {
    width: 170px;
    min-width: 170px;
    height: 170px;
    position: relative;
}

.sc-legend {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

.sc-legend li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: #333;
    line-height: 1.3;
}

.sc-swatch {
    width: 12px;
    height: 12px;
    min-width: 12px;
    border-radius: 2px;
    display: inline-block;
}

.sc-lbl {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.sc-legend strong {
    font-weight: 700;
    color: var(--primary);
    min-width: 2.5rem;
    text-align: right;
}

@media (max-width: 900px) {
    .sc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .sc-chart-area {
        flex-direction: column;
        align-items: center;
    }
    .sc-chart-wrap {
        width: 200px;
        min-width: 200px;
        height: 200px;
    }
    .sc-legend {
        width: 100%;
    }
    .sc-card {
        padding: 1.25rem;
    }
}

/* Founder cards — tall enough for full portrait, flip preserved */
#meet-team-860 .cs-item {
    height: 40rem;
}
#meet-team-860 .cs-picture img {
    object-position: top center;
}

#cs-navigation .cs-li-link { font-family: var(--bodyFont); }

#services-1304 .cs-icon { transition: filter 0.2s ease; }
/* Only turn the icon white on desktop, where the card background becomes --secondary on hover.
   On mobile/tablet there's no background change, so keep the icon --secondary. */
@media only screen and (min-width: 64rem) {
    #services-1304 .cs-item:hover .cs-icon { filter: brightness(0) invert(1); }
}

#quote-1307 .cs-quote { font-family: var(--headerFont); }

#product-detail .cs-tab-btn.active,
#product-detail .cs-step-title,
#product-detail .cs-order-note strong,
#related-products .cs-related-title { font-family: var(--headerFont); }

/* Desktop nav logo */
@media only screen and (min-width: 75rem) {
    #cs-navigation .cs-logo img {
        max-height: 10rem;
    }
    #cs-navigation .cs-logo-wrapper {
        height: 10rem;
    }
}

/* Mobile nav logo */
@media only screen and (max-width: 47.9375rem) {
    #cs-navigation .cs-logo,
    #cs-navigation .cs-logo-wrapper {
        height: 4.5rem;
    }
    #cs-navigation .cs-logo img {
        height: 5rem;
        width: auto;
    }
}

/* Tablet nav logo */
@media only screen and (min-width: 48rem) and (max-width: 74.96875rem) {
    #cs-navigation .cs-logo,
    #cs-navigation .cs-logo-wrapper {
        height: 5rem;
    }
    #cs-navigation .cs-logo img {
        height: 6rem;
        width: auto;
    }
}

/* ============================================ */
/*   Mobile / Tablet Drawer Redesign (2026)     */
/* ============================================ */

/* Injected extras stay hidden on desktop */
#cs-navigation .cs-nav-quote,
#cs-navigation .cs-nav-contact { display: none; }
#cs-navigation .cs-li-link .cs-nav-icon { display: none; }

/* Hide the top-bar location item at 1400px and below — it crowds the row
   and breaks the top bar's responsiveness before the mobile layout kicks in */
@media only screen and (max-width: 87.5rem) {
    #cs-navigation .cs-location .cs-remove { display: none; }
}

@media only screen and (max-width: 74.96875rem) {
    /* White slide-in panel */
    #cs-navigation .cs-ul-wrapper {
        background-color: #fff;
        border-left: none;
        box-shadow: -8px 0 32px rgba(15, 22, 66, 0.18);
        width: min(20rem, 88vw);
        overflow-y: auto;
        overflow-x: hidden;
    }
    #cs-navigation .cs-ul {
        height: auto;
        overflow: visible;
        padding: 4.5rem 0 0.5rem;
        gap: 0;
    }

    /* Nav rows: icon + label, full-width divider */
    #cs-navigation .cs-li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(15, 22, 66, 0.08);
    }

    #cs-navigation .cs-li-link {
        display: flex;
        align-items: center;
        gap: 0.9rem;
        width: 100%;
        padding: 1rem 1.5rem;
        color: var(--headerColor);
        font-weight: 700;
        font-size: 0.9375rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        border-left: none;
        background: none;
    }
    #cs-navigation .cs-li-link .cs-nav-icon {
        display: block;
        flex-shrink: 0;
        color: #1c3aa8;
    }
    #cs-navigation .cs-li-link .cs-li-text { line-height: 1.2; }

    #cs-navigation .cs-li-link:hover,
    #cs-navigation .cs-li-link.cs-active {
        color: #1c3aa8;
        border-left-color: transparent;
        background: none;
    }

    /* Close button — top right, brand blue */
    #cs-navigation .cs-sidebar-close {
        top: 1.1rem;
        left: auto;
        right: 1.25rem;
        border: none;
        background: transparent;
        color: #1c3aa8;
        width: 2rem;
        height: 2rem;
    }
    #cs-navigation .cs-sidebar-close:hover {
        color: var(--secondary);
        border-color: transparent;
    }

    /* Request a Quote button */
    #cs-navigation .cs-nav-quote {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        margin: auto 1.5rem 0;
        padding: 0.9rem 1rem;
        background: var(--primary);
        color: #fff;
        font-weight: 700;
        font-size: 0.8125rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        text-decoration: none;
        border-radius: 6px;
        transition: background 0.2s ease, transform 0.2s ease;
    }
    #cs-navigation .cs-nav-quote svg { flex-shrink: 0; }
    #cs-navigation .cs-nav-quote:hover {
        background: #1a256b;
        transform: translateY(-1px);
    }

    /* Contact info box */
    #cs-navigation .cs-nav-contact {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin: 1rem 1.5rem 1.5rem;
        padding: 1rem 1.1rem;
        background: #f4f5f8;
        border-top: none;
        border-radius: 8px;
    }
    #cs-navigation .cs-nav-contact-item {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        color: var(--bodyTextColor);
        font-size: 0.8125rem;
        line-height: 1.35;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    #cs-navigation .cs-nav-contact-item svg {
        flex-shrink: 0;
        margin-top: 0;
        color: #1c3aa8;
    }
    #cs-navigation a.cs-nav-contact-item:hover { color: var(--primary); }

    /* Social links — visible on the white drawer */
    #cs-navigation .cs-nav-social {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        margin-top: 0.35rem;
        padding-top: 0.85rem;
        border-top: 1px solid rgba(15, 22, 66, 0.08);
    }
    #cs-navigation .cs-nav-social-label {
        font-size: 0.8125rem;
        color: var(--headerColor);
        white-space: nowrap;
    }
    #cs-navigation .cs-nav-social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        background: #e4e7f1;
        transition: background 0.25s ease, transform 0.2s ease;
    }
    #cs-navigation .cs-nav-social-link img {
        filter: none;
        opacity: 0.9;
        width: 18px;
        height: 18px;
    }
    #cs-navigation .cs-nav-social-link:hover { transform: translateY(-2px); }
    #cs-navigation .cs-nav-social-link.cs-facebook:hover { background: #1877F2; }
    #cs-navigation .cs-nav-social-link.cs-instagram:hover { background: #E1306C; }
    #cs-navigation .cs-nav-social-link:hover img { filter: brightness(0) invert(1); opacity: 1; }

    /* Hamburger toggle — navy rounded button, white lines */
    #cs-navigation .cs-toggle {
        background-color: var(--primary);
        border-radius: 8px;
    }
    #cs-navigation .cs-line { background-color: #fff; }
}

/* Offset the quote form when reached via #cs-form-1239 anchor, so it clears the sticky nav */
#cs-form-1239 {
    scroll-margin-top: 13rem;
}
