/**
 * Creators we will work with — premium roster (theme: olive / lime / cream #edf4cc)
 */
/* Unified title typography across sections */
.cs-showcase-video-title,
.cs-global--premium .cs-global-copy .cs-global-title,
.cs-creators-title,
.cs-client-collab-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.75rem, 4.2vw, 2.65rem);
    line-height: 1.12;
}

/* Unified description typography across sections */
.cs-hero-loc,
.cs-hero-lead,
.cs-hero-lang-sub,
.cs-stmt-desc,
.cs-showcase-controls-label,
.cs-global-popup-detail,
.cs-global--premium .cs-global-copy .cs-global-lead,
.cs-creators-lead,
.cs-client-collab-lead {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.25vw, 1.1rem);
    line-height: 1.6;
}

.cs-creators {
    scroll-margin-top: 96px;
    position: relative;
    padding: clamp(56px, 8vw, 40px) max(20px, env(safe-area-inset-right)) 72px max(20px, env(safe-area-inset-left));
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    background:
        radial-gradient(ellipse 90% 60% at 10% 0%, rgba(237, 244, 204, 0.55), transparent 52%),
        radial-gradient(ellipse 70% 50% at 100% 30%, rgba(var(--cs-rgb-lime), 0.18), transparent 50%),
        linear-gradient(180deg, #f8faf4 0%, var(--cs-bg) 45%, #eef1e8 100%);
    border-top: 1px solid var(--cs-line);
}

.cs-creators::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

.cs-creators-inner {
    position: relative;
    z-index: 1;
    max-width: min(1320px, 100%);
    margin: 0 auto;
}

.cs-creators-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 32px;
    margin-bottom: clamp(28px, 5vw, 44px);
}

.cs-creators-head-main {
    max-width: min(720px, 100%);
}

.cs-creators-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cs-olive);
}

.cs-creators-title {
    margin: 0 0 14px;
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.75rem, 4.2vw, 2.65rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--cs-text);
    letter-spacing: -0.02em;
}

.cs-creators-title-accent {
    display: block;
    height: 4px;
    width: min(120px, 28vw);
    margin-top: 14px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--cs-olive-dark), var(--cs-lime));
    box-shadow: 0 2px 12px rgba(var(--cs-rgb-olive), 0.35);
}

.cs-creators-lead {
    margin: 0;
    font-size: clamp(1rem, 1.35vw, 1.125rem);
    line-height: 1.65;
    color: var(--cs-muted);
    max-width: 52ch;
}

.cs-creators-roster {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cs-olive-dark);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(var(--cs-rgb-olive), 0.22);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(10px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.cs-creators-roster:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--cs-rgb-lime), 0.55);
    box-shadow: 0 10px 32px rgba(var(--cs-rgb-olive), 0.15);
    color: var(--cs-text);
}

.cs-creators-roster span {
    font-size: 1.1em;
    font-weight: 700;
    opacity: 0.85;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-creators-roster:hover span {
    transform: rotate(90deg);
}

/* Horizontal scroll on small screens; grid on large */
.cs-creators-scroll {
    margin: 0 -8px;
    padding: 8px 8px 12px;
}

@media (min-width: 900px) {
    .cs-creators-scroll {
        margin: 0;
        padding: 0;
    }
}

/* One row × 6 cards on desktop (≥900px); horizontal scroll below */
.cs-creators-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 10px;
}

@media (max-width: 899px) {
    .cs-creators-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(var(--cs-rgb-olive), 0.35) transparent;
        padding-bottom: 8px;
    }

    .cs-creators-grid::-webkit-scrollbar {
        height: 6px;
    }

    .cs-creators-grid::-webkit-scrollbar-thumb {
        background: rgba(var(--cs-rgb-olive), 0.35);
        border-radius: 99px;
    }

    .cs-creators-card {
        flex: 0 0 min(56vw, 200px);
        scroll-snap-align: start;
    }
}

.cs-creators-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(var(--cs-rgb-olive), 0.14);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 12px 28px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.35s ease;
}

.cs-creators-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--cs-rgb-lime), 0.45);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 20px 40px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(var(--cs-rgb-lime), 0.12);
}

.cs-creators-card-media {
    position: relative;
    height: 124px;
    min-height: 124px;
    overflow: hidden;
    background: linear-gradient(145deg, #edf4cc 0%, #dce8c4 50%, #c5d4a8 100%);
}

.cs-creators-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 45%, rgba(26, 35, 20, 0.35) 100%);
    opacity: 0.85;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cs-creators-card:hover .cs-creators-card-media::after {
    opacity: 0.5;
}

.cs-creators-card-img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-creators-card:hover .cs-creators-card-img {
    transform: scale(1.08);
}

.cs-creators-card-glow {
    position: absolute;
    z-index: 0;
    inset: auto -30% -40%;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(var(--cs-rgb-lime), 0.35), transparent 65%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cs-creators-card:hover .cs-creators-card-glow {
    opacity: 1;
}

.cs-creators-card-body {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.cs-creators-card-name {
    margin: 0;
    font-family: 'Syne', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--cs-text);
    letter-spacing: -0.02em;
}

.cs-creators-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cs-creators-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px 4px 6px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.cs-creators-badge--subs {
    color: #fff;
    background: linear-gradient(135deg, #3d4a2c 0%, var(--cs-olive-dark) 55%, #2a331f 100%);
    box-shadow: 0 2px 10px rgba(var(--cs-rgb-olive), 0.35);
}

.cs-creators-badge--subs svg {
    flex-shrink: 0;
    width: 13px;
    height: 13px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.cs-creators-badge--lang {
    color: var(--cs-olive-dark);
    background: linear-gradient(180deg, #edf4cc 0%, #e2ebb8 100%);
    border: 1px solid rgba(var(--cs-rgb-olive), 0.2);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.cs-creators-badge-num {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 599px) {
    .cs-creators-head {
        align-items: flex-start;
    }
}

/* Tighter dub text overlay when thumbnails are narrow (6-up row) */
@media (min-width: 900px) {
    .cs-creators .cs-voice-hover {
        padding: 0.35rem 5%;
    }

    .cs-creators .cs-voice-hover__dub {
        gap: 2px;
    }

    .cs-creators .cs-voice-hover__dub-label {
        font-size: 6px;
        letter-spacing: 0.18em;
    }

    .cs-creators .cs-voice-hover__name {
        font-size: 9px;
        line-height: 1.15;
    }
}

/* Client collaboration — centered carousel style */
.cs-client-collab {
    position: relative;
    padding: clamp(50px, 7vw, 40px) max(20px, env(safe-area-inset-right)) clamp(56px, 8vw, 40px) max(20px, env(safe-area-inset-left));
    background:
        radial-gradient(ellipse 90% 60% at 10% 0%, rgba(237, 244, 204, 0.55), transparent 52%),
        radial-gradient(ellipse 70% 50% at 100% 30%, rgba(var(--cs-rgb-lime), 0.18), transparent 50%),
        linear-gradient(180deg, #f8faf4 0%, var(--cs-bg) 45%, #eef1e8 100%);
    border-top: 1px solid var(--cs-line);
}

.cs-client-collab-inner {
    max-width: 1220px;
    margin: 0 auto;
}

.cs-client-collab-stage {
    position: relative;
    padding: 0;
    overflow: visible;
}

.cs-client-collab-premium-glow {
    position: absolute;
    left: 50%;
    top: 22%;
    width: min(780px, 88%);
    height: 220px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, rgba(var(--cs-rgb-lime), 0.25) 0%, rgba(var(--cs-rgb-olive), 0.16) 34%, transparent 70%);
    filter: blur(28px);
    opacity: 0.8;
    animation: csClientGlowPulse 8s ease-in-out infinite;
}

.cs-client-collab-premium-grain {
    position: absolute;
    inset: -20px 0 auto;
    height: 320px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

.cs-client-collab-head {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cs-client-collab-kicker {
    display: inline-block;
    margin: 0 0 14px;
    color: var(--cs-olive);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cs-client-collab-title {
    margin: 0 0 10px;
    color: var(--cs-text);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.cs-client-collab-lead {
    margin: 0 auto;
    max-width: 56ch;
    color: var(--cs-muted);
    font-size: 0.98rem;
    line-height: 1.55;
}

.cs-client-collab-cta {
    margin: 20px auto 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    padding: 10px 16px;
    border-radius: 999px;
    border: none;
    background: #ff8775;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.cs-client-collab-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.cs-client-carousel {
    margin-top: clamp(24px, 3vw, 34px);
    position: relative;
    z-index: 2;
}

.cs-client-carousel-stage {
    position: relative;
    height: clamp(220px, 34vw, 350px);
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
    perspective: 1000px;
    border-radius: 18px;
}

.cs-client-carousel-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 8%, rgba(var(--cs-rgb-lime), 0.16), transparent 58%),
        linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 38%, rgba(0,0,0,0.02) 100%);
    animation: csClientStageBreathe 9s ease-in-out infinite;
}

.cs-client-carousel-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(130px, 17vw, 210px);
    aspect-ratio: 0.72;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(21, 28, 20, 0.14);
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 21, 16, 0.13);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    isolation: isolate;
    z-index: 2;
    transition:
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}

.cs-client-carousel-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    background:
        radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(var(--cs-rgb-lime), 0.26), transparent 48%),
        linear-gradient(120deg, rgba(255,255,255,0.18), transparent 45%);
    transition: opacity 0.25s ease;
}

.cs-client-carousel-card:hover::after {
    opacity: 1;
}

.cs-client-carousel-image {
    width: 100%;
    height: calc(100% - 34px);
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.cs-client-carousel-name {
    margin: 0;
    text-align: center;
    color: var(--cs-text);
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.82rem, 1.2vw, 0.95rem);
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.cs-client-carousel-card:hover .cs-client-carousel-image {
    transform: scale(1.06);
    filter: saturate(1.08);
}

.cs-client-carousel-card:hover .cs-client-carousel-name {
    color: var(--cs-olive-dark);
}

.cs-client-carousel-card.is-active:hover {
    box-shadow: 0 20px 44px rgba(var(--cs-rgb-olive), 0.28), 0 0 0 1px rgba(var(--cs-rgb-lime), 0.22);
}

.cs-client-carousel-card[data-pos="0"] {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 5;
    filter: blur(0);
    box-shadow: 0 16px 36px rgba(var(--cs-rgb-olive), 0.22), 0 0 0 1px rgba(var(--cs-rgb-lime), 0.14);
}

.cs-client-carousel-card.is-active::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 20px;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle, rgba(var(--cs-rgb-lime), 0.24), transparent 65%);
    filter: blur(14px);
    animation: csClientCardAura 3.4s ease-in-out infinite;
}

.cs-client-carousel-card[data-pos="-1"] {
    transform: translate(calc(-50% - clamp(135px, 18vw, 220px)), -50%) rotate(-8deg) scale(0.9);
    opacity: 0.95;
    z-index: 4;
}

.cs-client-carousel-card[data-pos="1"] {
    transform: translate(calc(-50% + clamp(135px, 18vw, 220px)), -50%) rotate(8deg) scale(0.9);
    opacity: 0.95;
    z-index: 4;
}

.cs-client-carousel-card[data-pos="-2"] {
    transform: translate(calc(-50% - clamp(250px, 31vw, 375px)), -50%) rotate(-10deg) scale(0.82);
    opacity: 0.8;
    z-index: 3;
    filter: blur(0.2px);
}

.cs-client-carousel-card[data-pos="2"] {
    transform: translate(calc(-50% + clamp(250px, 31vw, 375px)), -50%) rotate(10deg) scale(0.82);
    opacity: 0.8;
    z-index: 3;
    filter: blur(0.2px);
}

.cs-client-carousel-nav {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.cs-client-carousel-btn {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(var(--cs-rgb-olive), 0.2);
    background: #ffffff;
    color: var(--cs-olive);
    cursor: pointer;
}

.cs-client-carousel-btn--next {
    background: linear-gradient(145deg, var(--cs-olive-dark) 0%, var(--cs-olive) 55%, var(--cs-lime) 100%);
    color: #fff;
    border-color: transparent;
}

@keyframes csClientGlowPulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.72; }
    50% { transform: translateX(-50%) scale(1.06); opacity: 0.95; }
}

@keyframes csClientStageBreathe {
    0%, 100% { opacity: 0.72; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

@keyframes csClientCardAura {
    0%, 100% { opacity: 0.4; transform: scale(0.95); }
    50% { opacity: 0.9; transform: scale(1.04); }
}

@media (max-width: 900px) {
    .cs-client-collab-title br {
        display: none;
    }

    .cs-client-carousel-stage {
        height: 250px;
    }

    .cs-client-carousel-card[data-pos="-2"],
    .cs-client-carousel-card[data-pos="2"] {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs-client-carousel-card {
        transition: none;
    }

    .cs-client-collab-premium-glow {
        animation: none;
    }
}
