:root {
    --home-purple: #8b5cf6;
    --home-pink: #ec4899;
    --home-gold: #f6c76e;
    --home-ink: #080913;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    background: var(--home-ink);
}

body.home-reframe {
    margin: 0;
    overflow-x: hidden;
    color: #fff;
    background: var(--home-ink);
}

body.home-reframe > footer.site-footer {
    position: relative;
    z-index: 5;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

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

.home-journey {
    position: relative;
    isolation: isolate;
}

.home-panel {
    --image-x: 50%;
    --image-y: 50%;
    --shift-x: 0px;
    --shift-y: 0px;
    position: relative;
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: var(--home-ink);
}

.home-panel__image,
.home-panel__shade,
.home-panel__texture {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-panel__image {
    z-index: 0;
    background-image: var(--panel-image);
    background-position: var(--image-x) var(--image-y);
    background-size: cover;
    transform: scale(1.055) translate3d(var(--shift-x), var(--shift-y), 0);
    transition: transform 1.35s cubic-bezier(.2,.75,.2,1), filter 1.1s ease;
    filter: saturate(.88) contrast(1.02);
    will-change: transform;
}

.home-panel.is-visible .home-panel__image {
    transform: scale(1.01) translate3d(var(--shift-x), var(--shift-y), 0);
    filter: saturate(1) contrast(1.03);
}

.home-panel__shade {
    z-index: 1;
}

.home-panel--brands {
    --panel-image: url("../images/home-brands.webp");
    --image-x: 50%;
}

.home-panel--brands .home-panel__shade {
    background:
        radial-gradient(circle at 72% 48%, transparent 0 20%, rgba(5,7,18,.12) 57%, rgba(5,7,18,.54) 100%),
        linear-gradient(90deg, rgba(4,6,16,.97) 0%, rgba(5,7,19,.88) 28%, rgba(5,7,19,.3) 58%, rgba(5,7,19,.16) 100%),
        linear-gradient(0deg, rgba(3,5,14,.56), transparent 34%);
}

.home-panel--influencers {
    --panel-image: url("../images/home-influencers.webp");
    --image-x: 50%;
}

.home-panel--influencers .home-panel__shade {
    background:
        radial-gradient(circle at 26% 50%, transparent 0 22%, rgba(7,4,18,.08) 52%, rgba(7,4,18,.45) 100%),
        linear-gradient(270deg, rgba(7,4,18,.98) 0%, rgba(10,5,24,.88) 29%, rgba(10,5,24,.28) 58%, rgba(10,5,24,.08) 100%),
        linear-gradient(0deg, rgba(6,3,15,.58), transparent 35%);
}

.home-panel--ugc {
    --panel-image: url("../images/home-ugc.webp");
    --image-x: 50%;
}

.home-panel--ugc .home-panel__shade {
    background:
        linear-gradient(90deg, rgba(252,249,246,.97) 0%, rgba(250,247,244,.87) 30%, rgba(250,247,244,.3) 59%, rgba(244,238,234,.08) 100%),
        linear-gradient(0deg, rgba(242,236,232,.65), transparent 38%);
}

.home-panel--corporate {
    background:
        radial-gradient(circle at 78% 48%, rgba(10,102,194,.26), transparent 0 28%, rgba(5,7,18,.2) 58%, rgba(5,7,18,.9) 100%),
        linear-gradient(135deg, #050712 0%, #0b1224 54%, #08121f 100%);
}

.home-panel--corporate .home-panel__image {
    background-image: url("../images/home-corporate.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 62% 50%;
    opacity: .96;
    filter: saturate(1.04) contrast(1.04);
}

.home-panel--corporate .home-panel__shade {
    background:
        radial-gradient(circle at 74% 48%, rgba(96,165,250,.18) 0 19%, rgba(8,13,28,.1) 42%, rgba(5,7,18,.54) 100%),
        linear-gradient(90deg, rgba(5,7,18,.98) 0%, rgba(7,12,27,.9) 31%, rgba(7,12,27,.26) 62%, rgba(7,12,27,.48) 100%),
        linear-gradient(0deg, rgba(5,7,18,.62), transparent 38%);
}

.home-panel--corporate .home-panel__eyebrow {
    color: #b7dcff;
}

.home-panel--corporate .home-panel__title span {
    background-image: linear-gradient(110deg, #77f2c2 8%, #8ab4ff 48%, #ff8fc8 82%);
}

.home-panel__texture {
    z-index: 2;
    opacity: .22;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

.home-panel__inner {
    position: relative;
    z-index: 3;
    width: min(1180px, calc(100% - 48px));
    margin: auto;
    padding: 132px 0 72px;
}

.home-panel__content {
    width: min(610px, 54vw);
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .8s ease .12s, transform .9s cubic-bezier(.2,.75,.2,1) .12s;
}

.home-panel.is-visible .home-panel__content {
    opacity: 1;
    transform: translateY(0);
}

.home-panel--influencers .home-panel__content {
    margin-left: auto;
}

.home-panel--ugc .home-panel__content {
    color: #191523;
}

.home-panel__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: #d9ccff;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.home-panel__eyebrow::before {
    width: 30px;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, var(--home-purple), var(--home-pink));
    box-shadow: 0 0 14px rgba(236,72,153,.55);
}

.home-panel--ugc .home-panel__eyebrow {
    color: #6d3fc7;
}

.home-panel__title {
    max-width: 760px;
    margin: 0;
    color: inherit;
    font-family: "Nunito", sans-serif;
    font-size: clamp(3.15rem, 6.1vw, 6.2rem);
    font-weight: 950;
    letter-spacing: -.064em;
    line-height: .93;
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: auto;
    text-shadow: 0 18px 44px rgba(0,0,0,.28);
}

.home-panel--ugc .home-panel__title {
    text-shadow: 0 18px 44px rgba(76,54,38,.12);
}

.home-panel__title span {
    color: transparent;
    background: linear-gradient(110deg, #bca8ff 8%, #f4a7d8 52%, #ffd89a 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.home-panel--ugc .home-panel__title span {
    background-image: linear-gradient(110deg, #6d3fc7, #c33f92 58%, #a26818);
}

.home-panel__copy {
    max-width: 585px;
    margin: 26px 0 0;
    color: rgba(241,245,249,.78);
    font-size: clamp(1rem, 1.3vw, 1.16rem);
    font-weight: 650;
    line-height: 1.72;
    text-wrap: pretty;
}

.home-panel--ugc .home-panel__copy {
    color: rgba(38,30,45,.75);
}

.home-panel__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 28px 0 0;
    padding: 0;
    color: rgba(255,255,255,.7);
    list-style: none;
    font-size: .82rem;
    font-weight: 850;
}

.home-panel__proof li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-panel__proof li::before {
    width: 5px;
    height: 5px;
    content: "";
    border-radius: 999px;
    background: var(--home-gold);
    box-shadow: 0 0 12px rgba(246,199,110,.8);
}

.home-panel--ugc .home-panel__proof {
    color: rgba(45,34,51,.66);
}

.home-panel--ugc .home-panel__proof li::before {
    background: #8b5cf6;
    box-shadow: 0 0 10px rgba(139,92,246,.42);
}

.home-panel__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 58px;
    margin-top: 34px;
    padding: 0 25px 0 29px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(139,92,246,.96), rgba(225,63,159,.94) 62%, rgba(248,113,113,.94));
    box-shadow: 0 18px 46px rgba(127,91,254,.3), inset 0 1px 0 rgba(255,255,255,.28);
    font-size: 1rem;
    font-weight: 950;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.home-panel__cta::before {
    position: absolute;
    top: -80%;
    left: -40%;
    width: 34%;
    height: 260%;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.44), transparent);
    transform: rotate(18deg);
    transition: left .55s ease;
}

.home-panel__cta:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 24px 56px rgba(127,91,254,.42), inset 0 1px 0 rgba(255,255,255,.32);
}

.home-panel__cta:hover::before {
    left: 115%;
}

.home-panel__cta i {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    font-size: .75rem;
    transition: transform .25s ease;
}

.home-panel__cta:hover i {
    transform: translateX(3px);
}

.home-panel--ugc .home-panel__cta {
    border-color: rgba(88,54,140,.16);
    box-shadow: 0 18px 46px rgba(117,73,185,.24), inset 0 1px 0 rgba(255,255,255,.34);
}

.home-panel__index {
    position: absolute;
    right: 0;
    bottom: 74px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: rgba(255,255,255,.45);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .13em;
}

.home-panel__index strong {
    color: #fff;
    font-size: 1.8rem;
    letter-spacing: -.05em;
}

.home-panel--ugc .home-panel__index,
.home-panel--ugc .home-panel__index strong {
    color: rgba(39,27,47,.48);
}

.home-scroll {
    position: fixed;
    z-index: 80;
    top: 50%;
    right: max(20px, calc((100vw - 1280px) / 2));
    display: grid;
    gap: 12px;
    transform: translateY(-50%);
}

.home-scroll__dot {
    position: relative;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.42);
    box-shadow: 0 0 0 1px rgba(0,0,0,.12);
    cursor: pointer;
    transition: height .3s ease, background .3s ease, box-shadow .3s ease;
}

.home-scroll__dot.is-active {
    height: 34px;
    background: linear-gradient(#9f7aea, #ec4899);
    box-shadow: 0 0 20px rgba(236,72,153,.4);
}

.home-scroll__dot span {
    position: absolute;
    top: 50%;
    right: 18px;
    opacity: 0;
    color: #fff;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    transform: translate(8px,-50%);
    transition: opacity .2s ease, transform .2s ease;
    white-space: nowrap;
    text-shadow: 0 2px 12px rgba(0,0,0,.55);
}

.home-scroll__dot:hover span,
.home-scroll__dot:focus-visible span {
    opacity: 1;
    transform: translate(0,-50%);
}

.home-scroll.is-light .home-scroll__dot {
    background: rgba(47,31,57,.3);
}

.home-scroll.is-light .home-scroll__dot.is-active {
    background: linear-gradient(#7c4ed4, #c23f8f);
}

.home-scroll.is-light .home-scroll__dot span {
    color: #291d30;
    text-shadow: none;
}

.home-panel__scroll-cue {
    position: absolute;
    bottom: 26px;
    left: 50%;
    display: grid;
    justify-items: center;
    gap: 7px;
    color: rgba(255,255,255,.45);
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
    transform: translateX(-50%);
    z-index: 3;
}

.home-panel__scroll-cue::after {
    width: 1px;
    height: 26px;
    content: "";
    background: linear-gradient(rgba(255,255,255,.7), transparent);
    animation: homeScrollCue 1.8s ease-in-out infinite;
}

@keyframes homeScrollCue {
    0%, 100% { opacity: .35; transform: scaleY(.55); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@media (max-width: 900px) {
    html {
        scroll-snap-type: y proximity;
    }

    .home-panel {
        min-height: 100svh;
    }

    .home-panel__inner {
        display: flex;
        width: min(calc(100% - 32px), 680px);
        min-height: 100svh;
        align-items: flex-end;
        padding: 118px 0 62px;
    }

    .home-panel__content,
    .home-panel--influencers .home-panel__content {
        width: 100%;
        margin: 0;
        padding: 26px 24px;
        border: 1px solid rgba(255,255,255,.16);
        border-radius: 26px;
        background: rgba(7,8,18,.68);
        box-shadow: 0 24px 64px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.12);
        backdrop-filter: blur(18px) saturate(125%);
        -webkit-backdrop-filter: blur(18px) saturate(125%);
    }

    .home-panel--ugc .home-panel__content {
        border-color: rgba(70,45,83,.12);
        background: rgba(255,252,249,.78);
        box-shadow: 0 24px 64px rgba(80,55,39,.16), inset 0 1px 0 rgba(255,255,255,.68);
    }

    .home-panel__title {
        font-size: clamp(2.65rem, 10vw, 4.5rem);
    }

    .home-panel__copy {
        margin-top: 18px;
        line-height: 1.58;
    }

    .home-panel__proof {
        margin-top: 20px;
    }

    .home-panel__cta {
        min-height: 54px;
        margin-top: 25px;
    }

    .home-panel__index,
    .home-panel__scroll-cue {
        display: none;
    }

    .home-panel--brands {
        --image-x: 69%;
    }

    .home-panel--influencers {
        --image-x: 28%;
    }

    .home-panel--ugc {
        --image-x: 70%;
    }

    .home-panel--corporate .home-panel__image {
        background-size: cover;
        background-position: 72% 46%;
        opacity: .78;
    }

    .home-panel--corporate .home-panel__shade {
        background:
            linear-gradient(180deg, rgba(5,7,18,.34) 0%, rgba(5,7,18,.12) 28%, rgba(5,7,18,.82) 74%, rgba(5,7,18,.96) 100%);
    }
}

@media (max-width: 640px) {
    .home-panel__inner {
        width: min(calc(100% - 20px), 560px);
        padding-top: 102px;
        padding-bottom: 14px;
    }

    .home-panel__content,
    .home-panel--influencers .home-panel__content {
        padding: 21px 20px 20px;
        border-radius: 22px;
    }

    .home-panel__eyebrow {
        margin-bottom: 15px;
        font-size: .66rem;
    }

    .home-panel__title {
        font-size: clamp(2.25rem, 11.3vw, 3.35rem);
        line-height: .96;
    }

    .home-panel__copy {
        font-size: .94rem;
    }

    .home-panel__proof {
        gap: 7px 13px;
        font-size: .72rem;
    }

    .home-panel__cta {
        width: 100%;
        padding-right: 18px;
        padding-left: 22px;
    }

    .home-scroll {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .home-panel__image,
    .home-panel__content,
    .home-panel__cta,
    .home-scroll__dot {
        transition: none !important;
        animation: none !important;
    }

    .home-panel__image {
        transform: none !important;
    }

    .home-panel__content {
        opacity: 1;
        transform: none;
    }
}
