/* ==========================================================
   CSB PODCAST — HOME 2028
   Violet #8B43A8
   Rose   #EA5B78
   Cyan   #12B4D6
   ========================================================== */

.csh-home {
    --csh-bg: #07070A;
    --csh-bg-soft: #0D0B12;
    --csh-surface: #121017;
    --csh-surface-2: #17131D;

    --csh-violet: #8B43A8;
    --csh-pink: #EA5B78;
    --csh-cyan: #12B4D6;

    --csh-text: #F7F7FB;
    --csh-muted: #AAA5B4;

    --csh-line: rgba(255, 255, 255, .10);

    --csh-gradient:
        linear-gradient(
            110deg,
            var(--csh-violet) 0%,
            var(--csh-pink) 48%,
            var(--csh-cyan) 100%
        );

    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--csh-bg);
    color: var(--csh-text);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
    color-scheme: dark;
}

.csh-home *,
.csh-home *::before,
.csh-home *::after {
    box-sizing: border-box;
}

.csh-home :is(
    h1,
    h2,
    h3,
    p,
    article,
    section
) {
    margin: 0;
}

.csh-home a {
    color: inherit;
    text-decoration: none;
}

.csh-home img {
    display: block;
    max-width: 100%;
}

.csh-home button,
.csh-home input,
.csh-home select {
    font: inherit;
}

.csh-home ::selection {
    background: var(--csh-pink);
    color: var(--csh-bg);
}

.csh-home :focus-visible {
    outline: 3px solid var(--csh-cyan);
    outline-offset: 5px;
}

.csh-symbols {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.csh-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ==========================================================
   SCROLL PROGRESS
   ========================================================== */

.csh-scroll-progress {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    pointer-events: none;
}

.csh-scroll-progress span {
    display: block;

    width: 100%;
    height: 100%;

    background: var(--csh-gradient);

    transform: scaleX(0);
    transform-origin: left center;

    box-shadow:
        0 0 18px rgba(234, 91, 120, .45);
}

/* ==========================================================
   BACKGROUND
   ========================================================== */

.csh-ambient {
    position: absolute;
    z-index: -2;

    inset: 0;

    overflow: hidden;

    pointer-events: none;
}

.csh-ambient::after {
    content: "";

    position: absolute;
    inset: 0 0 auto;

    height: 900px;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, .022) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .022) 1px,
            transparent 1px
        );

    background-size: 72px 72px;

    -webkit-mask-image:
        linear-gradient(#000, transparent);

    mask-image:
        linear-gradient(#000, transparent);
}

.csh-orb {
    position: absolute;

    width: 700px;
    height: 700px;

    border-radius: 50%;

    filter: blur(110px);

    opacity: .18;
}

.csh-orb-a {
    top: -450px;
    right: -200px;

    background: var(--csh-violet);
}

.csh-orb-b {
    top: 300px;
    left: -520px;

    background: var(--csh-cyan);

    opacity: .11;
}

.csh-orb-c {
    top: 900px;
    right: -500px;

    background: var(--csh-pink);

    opacity: .10;
}

.csh-cursor-light {
    position: fixed;
    z-index: -1;

    width: 520px;
    height: 520px;

    border-radius: 50%;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(139, 67, 168, .10),
            rgba(18, 180, 214, .035) 42%,
            transparent 70%
        );

    transform:
        translate3d(-50%, -50%, 0);

    opacity: 0;

    transition: opacity .4s;
}

/* ==========================================================
   HERO
   ========================================================== */

.csh-hero {
    position: relative;

    min-height:
        min(920px, calc(100svh - 60px));

    display: flex;
    align-items: center;

    padding:
        clamp(70px, 10vh, 120px)
        max(32px, calc((100vw - 1320px) / 2))
        90px;
}

.csh-hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.06fr)
        minmax(420px, .94fr);

    align-items: center;

    width: 100%;

    gap: clamp(50px, 7vw, 110px);
}

.csh-hero-copy {
    position: relative;
    z-index: 2;
}

.csh-eyebrow,
.csh-section-kicker {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: var(--csh-cyan);

    font-size: .68rem;
    font-weight: 800;

    letter-spacing: .18em;
}

.csh-live-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--csh-pink);

    box-shadow:
        0 0 0 7px rgba(234, 91, 120, .08),
        0 0 20px rgba(234, 91, 120, .35);

    animation:
        cshPulse 2.2s ease-in-out infinite;
}

.csh-hero h1 {
    max-width: 810px;

    margin-top: 22px;

    font-size:
        clamp(4.2rem, 8.6vw, 8.4rem);

    line-height: .86;

    font-weight: 900;

    letter-spacing: -.082em;

    text-wrap: balance;
}

.csh-hero h1 span,
.csh-section h2 span,
.csh-manifesto h2 span,
.csh-final h2 span {
    display: inline-block;

    background: var(--csh-gradient);

    background-size: 180% auto;

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    animation:
        cshGradient 7s ease infinite;
}

.csh-hero-text {
    max-width: 590px;

    margin-top: 32px;

    color: var(--csh-muted);

    font-size:
        clamp(1rem, 1.5vw, 1.16rem);

    line-height: 1.85;
}

.csh-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 36px;
}

.csh-btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 56px;

    padding: 15px 23px;

    overflow: hidden;

    border: 1px solid transparent;
    border-radius: 17px;

    font-size: .88rem;
    font-weight: 800;

    transition:
        transform .25s ease,
        border-color .25s,
        box-shadow .25s,
        background .25s;
}

.csh-btn-primary {
    background:
        linear-gradient(
            var(--csh-violet),
            var(--csh-violet)
        ) padding-box,
        var(--csh-gradient) border-box;

    box-shadow:
        0 16px 45px
        rgba(139, 67, 168, .25);
}

.csh-btn-primary::before {
    content: "";

    position: absolute;

    width: 70px;
    height: 180px;

    top: -65px;
    left: -90px;

    background:
        rgba(255, 255, 255, .22);

    transform:
        rotate(24deg);

    filter:
        blur(10px);

    transition:
        left .55s ease;
}

.csh-btn-secondary {
    border-color: var(--csh-line);

    background:
        rgba(255, 255, 255, .035);

    backdrop-filter:
        blur(18px);
}

.csh-stats {
    display: flex;
    align-items: center;

    gap: 22px;

    margin-top: 46px;
}

.csh-stats > div {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.csh-stats strong {
    font-size: 1.25rem;
    letter-spacing: -.035em;
}

.csh-stats span {
    color: var(--csh-muted);

    font-size: .68rem;

    text-transform: uppercase;

    letter-spacing: .08em;
}

.csh-stats > i {
    width: 1px;
    height: 32px;

    background: var(--csh-line);
}

/* ==========================================================
   HERO ART
   ========================================================== */

.csh-hero-art {
    position: relative;

    justify-self: center;

    width: min(100%, 550px);

    perspective: 1300px;
}

.csh-hero-rings {
    position: absolute;

    inset: 4%;

    border:
        1px solid rgba(139, 67, 168, .28);

    border-radius: 50%;

    transform:
        rotate(-18deg) scaleY(.78);

    animation:
        cshRotateRing 26s linear infinite;
}

.csh-hero-rings::before,
.csh-hero-rings::after {
    content: "";

    position: absolute;

    border-radius: inherit;
}

.csh-hero-rings::before {
    inset: 30px;

    border:
        1px dashed rgba(234, 91, 120, .20);
}

.csh-hero-rings::after {
    inset: 60px;

    border:
        1px solid rgba(18, 180, 214, .18);
}

.csh-main-cover {
    position: relative;

    width: 73%;

    margin:
        0 auto;

    aspect-ratio: 1;

    padding: 8px;

    overflow: hidden;

    border:
        1px solid rgba(255, 255, 255, .20);

    border-radius:
        38px;

    background:
        linear-gradient(
            135deg,
            rgba(139, 67, 168, .25),
            rgba(234, 91, 120, .10),
            rgba(18, 180, 214, .18)
        );

    box-shadow:
        0 40px 100px rgba(0, 0, 0, .48),
        0 0 80px rgba(139, 67, 168, .13);

    transform:
        perspective(1000px)
        rotateX(var(--rx, 0deg))
        rotateY(var(--ry, 0deg))
        rotate(-3deg);

    transition:
        transform .2s ease;
}

.csh-main-cover img {
    width: 100%;
    height: 100%;

    border-radius: 30px;

    object-fit: cover;
}

.csh-main-cover::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            450px circle at
            var(--mx, 30%)
            var(--my, 15%),
            rgba(255, 255, 255, .20),
            transparent 48%
        );
}

.csh-cover-glass {
    position: absolute;

    left: 23px;
    right: 23px;
    bottom: 23px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 16px;

    padding: 18px;

    border:
        1px solid rgba(255, 255, 255, .16);

    border-radius: 19px;

    background:
        rgba(7, 7, 10, .58);

    backdrop-filter:
        blur(18px);
}

.csh-cover-glass span {
    display: flex;
    align-items: center;

    gap: 7px;

    color: var(--csh-cyan);

    font-size: .58rem;
    font-weight: 800;

    letter-spacing: .11em;

    white-space: nowrap;
}

.csh-cover-glass strong {
    max-width: 55%;

    overflow: hidden;

    font-size: .8rem;

    text-align: right;

    text-overflow: ellipsis;

    white-space: nowrap;
}

.csh-floating-card {
    position: absolute;

    z-index: 3;

    display: flex;
    align-items: center;

    gap: 11px;

    border:
        1px solid rgba(255, 255, 255, .14);

    background:
        rgba(11, 9, 15, .82);

    backdrop-filter:
        blur(20px);

    box-shadow:
        0 18px 50px rgba(0, 0, 0, .24);
}

.csh-floating-card-a {
    left: -5px;
    bottom: 20%;

    padding:
        13px 16px;

    border-radius:
        17px;

    animation:
        cshFloatA 6s ease-in-out infinite;
}

.csh-floating-icon {
    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;

    border-radius:
        12px;

    background:
        rgba(18, 180, 214, .10);

    color:
        var(--csh-cyan);
}

.csh-floating-card-a small {
    display: block;

    color:
        var(--csh-muted);

    font-size: .54rem;

    letter-spacing: .12em;
}

.csh-floating-card-a strong {
    font-size: .75rem;
}

.csh-floating-card-b {
    top: 13%;
    right: 0;

    padding:
        10px 14px;

    border-radius:
        100px;

    animation:
        cshFloatB 7s ease-in-out infinite;
}

.csh-floating-card-b > span {
    color:
        var(--csh-pink);

    font-size: .62rem;
    font-weight: 900;

    letter-spacing: .12em;
}

.csh-mini-wave {
    display: flex;
    align-items: center;

    gap: 3px;

    height: 22px;
}

.csh-mini-wave i {
    width: 2px;

    border-radius:
        10px;

    background:
        var(--csh-gradient);

    animation:
        cshWave .8s ease-in-out infinite alternate;
}

.csh-mini-wave i:nth-child(1) { height: 8px; }
.csh-mini-wave i:nth-child(2) { height: 17px; }
.csh-mini-wave i:nth-child(3) { height: 12px; }
.csh-mini-wave i:nth-child(4) { height: 20px; }
.csh-mini-wave i:nth-child(5) { height: 10px; }
.csh-mini-wave i:nth-child(6) { height: 15px; }
.csh-mini-wave i:nth-child(7) { height: 7px; }
.csh-mini-wave i:nth-child(8) { height: 14px; }

.csh-scroll-cue {
    position: absolute;

    left: 50%;
    bottom: 22px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;

    color: var(--csh-muted);

    transform:
        translateX(-50%);
}

.csh-scroll-cue span {
    font-size: .52rem;
    font-weight: 700;

    letter-spacing: .25em;
}

.csh-scroll-cue i {
    position: relative;

    width: 1px;
    height: 42px;

    overflow: hidden;

    background:
        rgba(255, 255, 255, .12);
}

.csh-scroll-cue i::after {
    content: "";

    position: absolute;

    top: -50%;
    left: 0;

    width: 1px;
    height: 50%;

    background:
        var(--csh-cyan);

    animation:
        cshScrollLine 2s ease-in-out infinite;
}

/* ==========================================================
   MARQUEE
   ========================================================== */

.csh-marquee {
    overflow: hidden;

    border-block:
        1px solid var(--csh-line);

    background:
        rgba(255, 255, 255, .015);
}

.csh-marquee-track {
    display: flex;
    align-items: center;

    gap: 36px;

    width: max-content;

    padding:
        18px 0;

    animation:
        cshMarquee 32s linear infinite;
}

.csh-marquee-track span {
    font-size: .68rem;
    font-weight: 800;

    letter-spacing: .15em;

    color:
        var(--csh-muted);
}

.csh-marquee-track i {
    color:
        var(--csh-pink);

    font-style: normal;
}

/* ==========================================================
   SECTIONS
   ========================================================== */

.csh-section {
    width:
        min(1320px, calc(100% - 80px));

    margin:
        0 auto;

    padding:
        110px 0;
}

.csh-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 28px;

    margin-bottom:
        42px;
}

.csh-section-head > div {
    min-width: 0;
}

.csh-section h2,
.csh-manifesto h2,
.csh-final h2 {
    margin-top:
        11px;

    font-size:
        clamp(2.6rem, 5vw, 5.2rem);

    line-height:
        .98;

    font-weight:
        850;

    letter-spacing:
        -.065em;

    text-wrap:
        balance;
}

.csh-section-head p {
    max-width:
        560px;

    margin-top:
        15px;

    color:
        var(--csh-muted);

    font-size:
        .94rem;
}

.csh-text-link {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    min-height:
        44px;

    color:
        var(--csh-cyan);

    font-size:
        .8rem;
    font-weight:
        750;

    white-space:
        nowrap;
}

.csh-text-link .csh-icon {
    transition:
        transform .25s;
}

/* ==========================================================
   PODCAST CARDS
   ========================================================== */

.csh-show-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        22px;

    perspective:
        1400px;
}

.csh-show-card {
    min-width: 0;
}

.csh-show-link {
    position: relative;

    display: flex;
    flex-direction: column;

    height: 100%;

    overflow: hidden;

    border:
        1px solid var(--csh-line);

    border-radius:
        28px;

    background:
        var(--csh-surface);

    transform:
        translateY(0)
        rotateX(var(--rx, 0deg))
        rotateY(var(--ry, 0deg));

    transition:
        transform .28s,
        border-color .28s,
        box-shadow .28s;
}

.csh-show-media {
    position: relative;

    aspect-ratio:
        1.08;

    margin:
        8px 8px 0;

    overflow:
        hidden;

    border-radius:
        21px;

    background:
        var(--csh-surface-2);
}

.csh-show-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .75s
        cubic-bezier(.2, .7, .2, 1);
}

.csh-card-gradient {
    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .03),
            transparent 40%,
            rgba(7, 7, 10, .72)
        );
}

.csh-show-index {
    position: absolute;

    top: 18px;
    left: 18px;

    color:
        rgba(255, 255, 255, .72);

    font-size:
        .62rem;
    font-weight:
        800;

    letter-spacing:
        .13em;
}

.csh-show-category {
    position: absolute;

    left: 18px;
    bottom: 18px;

    max-width:
        calc(100% - 90px);

    padding:
        7px 11px;

    overflow:
        hidden;

    border:
        1px solid rgba(255, 255, 255, .16);

    border-radius:
        100px;

    background:
        rgba(7, 7, 10, .65);

    backdrop-filter:
        blur(12px);

    color:
        var(--csh-text);

    font-size:
        .61rem;
    font-weight:
        700;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;
}

.csh-show-open {
    position: absolute;

    right: 16px;
    bottom: 16px;

    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

    border-radius:
        50%;

    background:
        var(--csh-cyan);

    color:
        var(--csh-bg);

    transform:
        rotate(-35deg);

    transition:
        transform .3s,
        box-shadow .3s;
}

.csh-show-body {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding:
        24px;
}

.csh-show-body h3 {
    font-size:
        1.28rem;

    font-weight:
        780;

    line-height:
        1.35;

    letter-spacing:
        -.035em;

    overflow-wrap:
        anywhere;
}

.csh-show-body p {
    display:
        -webkit-box;

    -webkit-box-orient:
        vertical;

    -webkit-line-clamp:
        3;

    margin-top:
        10px;

    overflow:
        hidden;

    color:
        var(--csh-muted);

    font-size:
        .84rem;

    line-height:
        1.7;
}

.csh-show-bottom {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-top:
        auto;

    padding-top:
        24px;

    color:
        var(--csh-muted);

    font-size:
        .7rem;
}

.csh-show-line {
    flex: 1;

    height: 1px;

    background:
        var(--csh-line);
}

/* ==========================================================
   MANIFESTO
   ========================================================== */

.csh-manifesto {
    position: relative;

    width:
        min(1320px, calc(100% - 80px));

    margin:
        30px auto 0;

    padding:
        clamp(50px, 7vw, 90px);

    overflow:
        hidden;

    border:
        1px solid var(--csh-line);

    border-radius:
        38px;

    background:
        linear-gradient(
            135deg,
            rgba(139, 67, 168, .13),
            rgba(234, 91, 120, .045) 45%,
            rgba(18, 180, 214, .08)
        );
}

.csh-manifesto::before {
    content: "";

    position: absolute;

    width:
        420px;

    aspect-ratio:
        1;

    top:
        -260px;

    right:
        -100px;

    border:
        1px solid rgba(18, 180, 214, .22);

    border-radius:
        50%;
}

.csh-manifesto-copy {
    position:
        relative;

    z-index:
        1;

    max-width:
        780px;
}

.csh-manifesto-copy p {
    max-width:
        560px;

    margin-top:
        20px;

    color:
        var(--csh-muted);
}

.csh-manifesto-grid {
    position:
        relative;

    z-index:
        1;

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        12px;

    margin-top:
        55px;
}

.csh-feature-card {
    min-height:
        190px;

    padding:
        25px;

    border:
        1px solid rgba(255, 255, 255, .08);

    border-radius:
        22px;

    background:
        rgba(7, 7, 10, .26);

    backdrop-filter:
        blur(15px);
}

.csh-feature-card strong {
    display:
        block;

    color:
        var(--csh-cyan);

    font-size:
        .65rem;

    letter-spacing:
        .15em;
}

.csh-feature-card span {
    display:
        block;

    margin-top:
        35px;

    font-size:
        1.08rem;

    font-weight:
        760;
}

.csh-feature-card p {
    margin-top:
        8px;

    color:
        var(--csh-muted);

    font-size:
        .78rem;

    line-height:
        1.65;
}

/* ==========================================================
   EPISODES
   ========================================================== */

.csh-episodes {
    scroll-margin-top:
        80px;
}

.csh-episode-list {
    display:
        grid;

    gap:
        12px;
}

.csh-episode-link {
    position:
        relative;

    display:
        grid;

    grid-template-columns:
        70px minmax(0, 1fr) 54px;

    align-items:
        center;

    gap:
        24px;

    padding:
        22px 24px;

    overflow:
        hidden;

    border:
        1px solid var(--csh-line);

    border-radius:
        22px;

    background:
        rgba(18, 16, 23, .82);

    transition:
        transform .25s,
        border-color .25s,
        box-shadow .25s;

    isolation:
        isolate;
}

.csh-episode-link::before {
    content: "";

    position:
        absolute;

    z-index:
        -1;

    width:
        340px;

    height:
        240px;

    left:
        var(--mx, 0);

    top:
        var(--my, 50%);

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            rgba(139, 67, 168, .15),
            transparent 70%
        );

    transform:
        translate(-50%, -50%);

    opacity:
        0;

    transition:
        opacity .3s;
}

.csh-episode-number {
    color:
        rgba(255, 255, 255, .30);

    font-size:
        1.6rem;

    font-weight:
        850;

    letter-spacing:
        -.04em;
}

.csh-episode-content {
    min-width:
        0;
}

.csh-episode-meta {
    display:
        flex;
    align-items:
        center;

    gap:
        9px;

    color:
        var(--csh-cyan);

    font-size:
        .62rem;

    font-weight:
        700;

    letter-spacing:
        .07em;

    text-transform:
        uppercase;
}

.csh-episode-meta i {
    width:
        4px;

    height:
        4px;

    border-radius:
        50%;

    background:
        var(--csh-pink);
}

.csh-episode-meta time {
    color:
        var(--csh-muted);
}

.csh-episode-content h3 {
    margin-top:
        6px;

    font-size:
        clamp(1rem, 1.8vw, 1.35rem);

    line-height:
        1.4;

    font-weight:
        760;

    letter-spacing:
        -.025em;

    overflow-wrap:
        anywhere;
}

.csh-episode-content p {
    display:
        -webkit-box;

    -webkit-box-orient:
        vertical;

    -webkit-line-clamp:
        1;

    margin-top:
        6px;

    overflow:
        hidden;

    color:
        var(--csh-muted);

    font-size:
        .78rem;
}

.csh-episode-play {
    display:
        grid;
    place-items:
        center;

    width:
        50px;
    height:
        50px;

    border:
        1px solid rgba(234, 91, 120, .25);

    border-radius:
        50%;

    background:
        rgba(234, 91, 120, .06);

    color:
        var(--csh-pink);

    transition:
        transform .3s,
        background .3s,
        color .3s,
        border-color .3s;
}

/* ==========================================================
   FINAL CTA
   ========================================================== */

.csh-final {
    position:
        relative;

    width:
        min(1320px, calc(100% - 80px));

    margin:
        0 auto;

    padding:
        130px 30px 150px;

    overflow:
        hidden;

    text-align:
        center;
}

.csh-final-glow {
    position:
        absolute;

    z-index:
        -1;

    left:
        50%;

    bottom:
        -380px;

    width:
        900px;

    height:
        650px;

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            rgba(139, 67, 168, .20),
            rgba(234, 91, 120, .07) 38%,
            transparent 70%
        );

    transform:
        translateX(-50%);
}

.csh-final .csh-section-kicker {
    justify-content:
        center;
}

.csh-final h2 {
    max-width:
        900px;

    margin:
        20px auto 34px;

    font-size:
        clamp(3rem, 7vw, 6.5rem);
}

.csh-final .csh-btn {
    margin-inline:
        auto;
}

/* ==========================================================
   EMPTY
   ========================================================== */

.csh-empty {
    padding:
        70px 25px;

    border:
        1px dashed rgba(139, 67, 168, .30);

    border-radius:
        26px;

    background:
        rgba(139, 67, 168, .04);

    text-align:
        center;
}

.csh-empty span {
    color:
        var(--csh-cyan);

    font-size:
        .65rem;

    font-weight:
        800;

    letter-spacing:
        .2em;
}

.csh-empty h3 {
    margin-top:
        12px;

    font-size:
        1.3rem;
}

/* ==========================================================
   REVEAL
   ========================================================== */

.csh-home.js-ready [data-reveal] {
    opacity:
        0;

    transform:
        translateY(34px);

    transition:
        opacity .8s
        cubic-bezier(.2, .7, .2, 1),
        transform .8s
        cubic-bezier(.2, .7, .2, 1);
}

.csh-home.js-ready [data-reveal].is-visible {
    opacity:
        1;

    transform:
        translateY(0);
}

/* ==========================================================
   HOVER
   ========================================================== */

@media (hover: hover) and (pointer: fine) {

    .csh-btn:hover {
        transform:
            translateY(-3px);

        box-shadow:
            0 18px 50px
            rgba(139, 67, 168, .28);
    }

    .csh-btn-primary:hover::before {
        left:
            calc(100% + 60px);
    }

    .csh-text-link:hover .csh-icon {
        transform:
            translateX(5px);
    }

    .csh-show-link:hover {
        transform:
            translateY(-7px)
            rotateX(var(--rx, 0deg))
            rotateY(var(--ry, 0deg));

        border-color:
            rgba(139, 67, 168, .50);

        box-shadow:
            0 26px 65px
            rgba(0, 0, 0, .30);
    }

    .csh-show-link:hover
    .csh-show-media img {
        transform:
            scale(1.06);
    }

    .csh-show-link:hover
    .csh-show-open {
        transform:
            rotate(0);

        box-shadow:
            0 0 0 8px
            rgba(18, 180, 214, .10);
    }

    .csh-episode-link:hover {
        transform:
            translateY(-3px);

        border-color:
            rgba(18, 180, 214, .34);

        box-shadow:
            0 20px 55px
            rgba(0, 0, 0, .22);
    }

    .csh-episode-link:hover::before {
        opacity:
            1;
    }

    .csh-episode-link:hover
    .csh-episode-play {
        transform:
            scale(1.05);

        border-color:
            var(--csh-pink);

        background:
            var(--csh-pink);

        color:
            var(--csh-bg);
    }
}

/* ==========================================================
   ANIMATIONS
   ========================================================== */

@keyframes cshGradient {
    0%,
    100% {
        background-position:
            0% 50%;
    }

    50% {
        background-position:
            100% 50%;
    }
}

@keyframes cshPulse {
    0%,
    100% {
        transform:
            scale(1);

        opacity:
            1;
    }

    50% {
        transform:
            scale(.75);

        opacity:
            .65;
    }
}

@keyframes cshRotateRing {
    to {
        transform:
            rotate(342deg)
            scaleY(.78);
    }
}

@keyframes cshFloatA {
    0%,
    100% {
        transform:
            translate3d(0, 0, 0);
    }

    50% {
        transform:
            translate3d(0, -12px, 0);
    }
}

@keyframes cshFloatB {
    0%,
    100% {
        transform:
            translate3d(0, 0, 0);
    }

    50% {
        transform:
            translate3d(8px, 10px, 0);
    }
}

@keyframes cshWave {
    from {
        transform:
            scaleY(.55);
    }

    to {
        transform:
            scaleY(1);
    }
}

@keyframes cshScrollLine {
    0% {
        transform:
            translateY(-100%);
    }

    100% {
        transform:
            translateY(300%);
    }
}

@keyframes cshMarquee {
    to {
        transform:
            translateX(-50%);
    }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (min-width: 1500px) {

    .csh-show-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1050px) {

    .csh-hero {
        padding-inline:
            32px;
    }

    .csh-hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            420px;

        gap:
            45px;
    }

    .csh-show-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {

    .csh-hero {
        min-height:
            auto;

        padding:
            80px 28px 95px;
    }

    .csh-hero-grid {
        grid-template-columns:
            1fr;
    }

    .csh-hero-copy {
        order:
            1;
    }

    .csh-hero-art {
        order:
            2;

        width:
            min(82%, 450px);
    }

    .csh-scroll-cue {
        display:
            none;
    }

    .csh-section,
    .csh-manifesto,
    .csh-final {
        width:
            calc(100% - 48px);
    }

    .csh-manifesto-grid {
        grid-template-columns:
            1fr;
    }

    .csh-feature-card {
        min-height:
            150px;
    }

    .csh-section-head {
        align-items:
            flex-start;

        flex-direction:
            column;
    }
}

@media (max-width: 600px) {

    .csh-hero {
        padding:
            55px 16px 70px;
    }

    .csh-hero h1 {
        font-size:
            clamp(3.4rem, 17vw, 5.6rem);

        line-height:
            .91;
    }

    .csh-hero-text {
        margin-top:
            25px;
    }

    .csh-hero-actions {
        display:
            grid;

        grid-template-columns:
            1fr;

        width:
            100%;
    }

    .csh-btn {
        width:
            100%;
    }

    .csh-stats {
        gap:
            15px;

        justify-content:
            space-between;
    }

    .csh-stats > i {
        height:
            27px;
    }

    .csh-stats strong {
        font-size:
            1rem;
    }

    .csh-stats span {
        font-size:
            .58rem;
    }

    .csh-hero-art {
        width:
            min(90%, 390px);
    }

    .csh-main-cover {
        width:
            83%;

        border-radius:
            30px;
    }

    .csh-main-cover img {
        border-radius:
            22px;
    }

    .csh-floating-card-a {
        left:
            -10px;

        bottom:
            15%;
    }

    .csh-floating-card-b {
        top:
            8%;

        right:
            -6px;
    }

    .csh-cover-glass {
        left:
            16px;
        right:
            16px;
        bottom:
            16px;

        padding:
            13px;
    }

    .csh-cover-glass strong {
        display:
            none;
    }

    .csh-section,
    .csh-manifesto,
    .csh-final {
        width:
            calc(100% - 32px);
    }

    .csh-section {
        padding:
            80px 0;
    }

    .csh-section h2,
    .csh-manifesto h2 {
        font-size:
            clamp(2.7rem, 13vw, 4.2rem);
    }

    .csh-show-grid {
        grid-template-columns:
            1fr;
    }

    .csh-show-media {
        aspect-ratio:
            1.2;
    }

    .csh-manifesto {
        padding:
            38px 24px;
    }

    .csh-episode-link {
        grid-template-columns:
            42px minmax(0, 1fr) 44px;

        gap:
            12px;

        padding:
            17px 15px;
    }

    .csh-episode-number {
        font-size:
            1.1rem;
    }

    .csh-episode-content p {
        display:
            none;
    }

    .csh-episode-play {
        width:
            40px;

        height:
            40px;
    }

    .csh-final {
        padding:
            90px 12px 110px;
    }

    .csh-final h2 {
        font-size:
            clamp(3rem, 14vw, 5rem);
    }
}

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

@media (prefers-reduced-motion: reduce) {

    .csh-home *,
    .csh-home *::before,
    .csh-home *::after {
        animation:
            none !important;

        scroll-behavior:
            auto !important;

        transition-duration:
            .01ms !important;
    }

    .csh-home.js-ready [data-reveal] {
        opacity:
            1;

        transform:
            none;
    }

    .csh-main-cover,
    .csh-show-link,
    .csh-episode-link {
        transform:
            none !important;
    }
}

/* =========================================================
   MENU MOBILE CSB
   ========================================================= */

.site-menu-toggle {
    display: none;
    position: relative;
    z-index: 1002;

    width: 48px;
    height: 48px;
    padding: 0;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 15px;

    background: rgba(255,255,255,.04);
    color: #F7F7FB;

    cursor: pointer;
}

.site-menu-toggle span {
    position: absolute;
    left: 13px;

    width: 20px;
    height: 2px;

    border-radius: 10px;
    background: currentColor;

    transition:
        transform .3s cubic-bezier(.2,.7,.2,1),
        top .3s cubic-bezier(.2,.7,.2,1),
        opacity .2s;
}

.site-menu-toggle span:nth-child(1) {
    top: 15px;
}

.site-menu-toggle span:nth-child(2) {
    top: 22px;
}

.site-menu-toggle span:nth-child(3) {
    top: 29px;
}

.site-menu-toggle.is-open span:nth-child(1) {
    top: 22px;
    transform: rotate(45deg);
}

.site-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.site-menu-toggle.is-open span:nth-child(3) {
    top: 22px;
    transform: rotate(-45deg);
}

.site-menu-overlay {
    display: none;
}

@media (max-width: 820px) {

    .site-menu-toggle {
        display: block !important;
        flex: 0 0 auto;
    }

    .site-nav {
        position: fixed;

        z-index: 1001;

        top: 0;
        right: 0;

        width: min(86vw, 360px);
        height: 100dvh;

        display: flex !important;
        flex-direction: column;
        align-items: stretch;

        gap: 7px;

        padding:
            105px 22px
            max(28px, env(safe-area-inset-bottom));

        overflow-y: auto;

        border-left: 1px solid rgba(255,255,255,.10);

        background:
            linear-gradient(
                160deg,
                rgba(139,67,168,.14),
                transparent 32%
            ),
            rgba(7,7,10,.97);

        backdrop-filter: blur(28px);

        box-shadow:
            -30px 0 80px rgba(0,0,0,.42);

        transform: translateX(105%);

        visibility: hidden;

        transition:
            transform .38s cubic-bezier(.2,.7,.2,1),
            visibility .38s;
    }

    .site-nav.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    .site-nav > a,
    .site-nav > form,
    .site-nav > form button {
        width: 100%;
    }

    .site-nav > a,
    .site-nav > form button {
        display: flex;
        align-items: center;

        min-height: 55px;

        padding: 13px 16px;

        border: 1px solid rgba(255,255,255,.08);
        border-radius: 15px;

        background: rgba(255,255,255,.025);
        color: #F7F7FB;

        font: inherit;
        font-weight: 700;
        text-align: left;

        text-decoration: none;
    }

    .site-nav > form {
        margin: 0;
    }

    .site-nav > form button {
        cursor: pointer;
    }

    .site-menu-overlay {
        position: fixed;

        z-index: 1000;

        inset: 0;

        display: block;

        background: rgba(0,0,0,.58);
        backdrop-filter: blur(5px);

        opacity: 0;
        visibility: hidden;

        transition:
            opacity .3s,
            visibility .3s;
    }

    .site-menu-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

    body.site-menu-open {
        overflow: hidden;
    }
}

@media (min-width: 821px) {
    .site-nav {
        visibility: visible !important;
        transform: none !important;
    }
}