.hero {
    position: relative;

    min-height: 785px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 72% 45%,
            rgba(95, 215, 255, 0.12),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 48%,
            rgba(116, 71, 255, 0.13),
            transparent 34%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(52, 120, 255, 0.08),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fdfcff 32%,
            #f5f8ff 70%,
            #ffffff 100%
        );
}


.hero-grid-lines {
    position: absolute;

    inset: 0;

    opacity: 0.18;

    background-image:
        linear-gradient(
            rgba(116, 71, 255, 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(52, 120, 255, 0.05) 1px,
            transparent 1px
        );

    background-size:
        55px 55px;
}


.hero-blob {
    position: absolute;

    border-radius: 50%;

    filter: blur(80px);

    pointer-events: none;
}


.hero-blob-one {
    width: 430px;
    height: 430px;

    left: -250px;
    top: 80px;

    background:
        rgba(116, 71, 255, 0.12);
}


.hero-blob-two {
    width: 500px;
    height: 500px;

    right: -210px;
    top: 90px;

    background:
        rgba(52, 120, 255, 0.14);
}


.hero-blob-three {
    width: 300px;
    height: 300px;

    right: 30%;
    bottom: -120px;

    background:
        rgba(95, 215, 255, 0.1);
}


.hero-container {
    position: relative;

    z-index: 5;

    width: min(92%, var(--page-width));

    min-height: 785px;

    margin: 0 auto;

    padding-top: 95px;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;
}


.hero-content {
    position: relative;

    z-index: 4;

    padding: 65px 0;
}


.hero-kicker {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--purple);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.hero-title {
    display: flex;
    flex-direction: column;

    color: var(--black);

    font-family: var(--font-display);

    font-size:
        clamp(85px, 8.8vw, 145px);

    line-height: 0.79;

    letter-spacing: -1px;
}


.hero-title-script {
    position: relative;
    width: fit-content;
    color: transparent;
    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--blue)
        );
    background-clip: text;
    -webkit-background-clip: text;
    font-family: var(--font-body);
    font-size: 0.57em;
    font-weight: 900;
    font-style: italic;
    line-height: 1.12;
    letter-spacing: -5px;
    transform: rotate(-2deg);
    top: -14px;
    left: -18px;
}


.hero-title-script::after {
    content: "";

    position: absolute;

    left: 2%;
    bottom: 1px;

    width: 96%;
    height: 7px;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--blue)
        );

    border-radius: 100px;

    transform: rotate(-1deg);
}


.hero-description {
    max-width: 470px;

    margin-top: 31px;

    color: var(--gray-700);

    font-size: 15px;

    line-height: 1.8;
}


.hero-buttons {
    margin-top: 31px;

    display: flex;

    gap: 13px;
}


.hero-mini-stats {
    margin-top: 45px;

    display: flex;

    gap: 26px;
}


.mini-stat {
    display: flex;
    flex-direction: column;

    padding-left: 14px;

    border-left:
        2px solid rgba(116, 71, 255, 0.25);
}


.mini-stat strong {
    color: var(--black);

    font-size: 11px;
    font-weight: 900;

    text-transform: uppercase;
}


.mini-stat span {
    margin-top: 4px;

    color: var(--gray-500);

    font-size: 10px;
}


.hero-visual {
    position: relative;

    min-height: 660px;
}


.hero-circle {
    position: absolute;

    width: 610px;
    height: 610px;

    left: 50%;
    top: 51%;

    border-radius: 50%;

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

    background:
        radial-gradient(
            circle at 28% 20%,
            #ffffff 0%,
            rgba(226, 234, 255, 0.98) 25%,
            rgba(202, 211, 255, 0.8) 48%,
            rgba(160, 196, 255, 0.55) 70%,
            rgba(117, 73, 255, 0.2) 100%
        );

    box-shadow:
        inset 0 0 80px rgba(255, 255, 255, 0.55),
        0 25px 80px rgba(83, 91, 210, 0.12);
}


.hero-ring {
    position: absolute;

    left: 50%;
    top: 50%;

    border-radius: 50%;

    transform:
        translate(-50%, -50%)
        rotate(-16deg);

    pointer-events: none;
}


.hero-ring-one {
    width: 690px;
    height: 220px;

    border:
        2px solid rgba(116, 71, 255, 0.24);
}


.hero-ring-two {
    width: 620px;
    height: 180px;

    border:
        2px solid rgba(52, 120, 255, 0.24);

    transform:
        translate(-50%, -50%)
        rotate(13deg);
}


.hero-photo-placeholder {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 505px;
    height: 600px;

    transform:
        translate(-45%, -47%);

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

    z-index: 3;
}


.photo-placeholder-content {
    width: 270px;
    height: 430px;

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

    gap: 7px;

    color:
        rgba(9, 11, 18, 0.38);

    border:
        2px dashed rgba(116, 71, 255, 0.22);

    border-radius:
        130px 130px 75px 75px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.25),
            rgba(255, 255, 255, 0.06)
        );
}


.photo-placeholder-content span {
    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.5px;
}


.photo-placeholder-content small {
    font-size: 9px;

    color:
        rgba(9, 11, 18, 0.34);
}


.floating-card {
    position: absolute;

    z-index: 8;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 12px 16px;

    background:
        rgba(255, 255, 255, 0.74);

    border:
        1px solid rgba(255, 255, 255, 0.95);

    border-radius: 16px;

    box-shadow:
        0 17px 45px rgba(50, 54, 111, 0.13);

    backdrop-filter: blur(15px);
}


.floating-card-top {
    right: 2%;
    top: 140px;
}


.floating-card-bottom {
    left: 4%;
    bottom: 130px;
}


.floating-icon {
    width: 36px;
    height: 36px;

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

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--blue)
        );

    border-radius: 11px;
}


.floating-card div {
    display: flex;
    flex-direction: column;
}


.floating-card strong {
    font-size: 11px;
    font-weight: 900;
}


.floating-card small {
    margin-top: 3px;

    color: var(--gray-500);

    font-size: 9px;
}


.hero-tagline {
    position: absolute;

    right: 2%;
    bottom: 67px;

    z-index: 7;

    display: flex;
    flex-direction: column;

    color: var(--purple);

    text-align: right;

    font-size: 12px;
    font-style: italic;
    font-weight: 800;

    transform: rotate(-4deg);
}


.hero-tagline strong {
    color: var(--blue);

    font-size: 22px;
    font-weight: 900;
}


.scroll-label {
    position: absolute;

    right: 26px;
    top: 50%;

    z-index: 5;

    color:
        rgba(9, 11, 18, 0.45);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 2px;

    transform:
        rotate(90deg)
        translateY(-50%);
}


@media (max-width: 1100px) {

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


    .hero-circle {
        width: 500px;
        height: 500px;
    }


    .hero-ring-one {
        width: 560px;
    }


    .hero-ring-two {
        width: 520px;
    }


    .floating-card-top {
        right: -5%;
    }

}


@media (max-width: 850px) {

    .hero {
        min-height: auto;
    }


    .hero-container {
        grid-template-columns: 1fr;

        padding-top: 100px;
    }


    .hero-content {
        padding:
            45px 0 20px;
    }


    .hero-visual {
        min-height: 540px;
    }


    .hero-circle {
        width: 480px;
        height: 480px;
    }


    .hero-ring-one {
        width: 525px;
    }


    .hero-ring-two {
        width: 500px;
    }


    .hero-photo-placeholder {
        width: 400px;
        height: 500px;
    }


    .floating-card-top {
        top: 100px;
        right: 2%;
    }


    .floating-card-bottom {
        left: 1%;
        bottom: 100px;
    }


    .scroll-label {
        display: none;
    }

}


@media (max-width: 560px) {

    .hero-title {
        font-size: 76px;
    }


    .hero-title-script {
        letter-spacing: -2px;
    }


    .hero-description {
        font-size: 13px;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }


    .button {
        width: 100%;
    }


    .hero-mini-stats {
        flex-direction: column;

        gap: 15px;
    }


    .hero-visual {
        min-height: 440px;
    }


    .hero-circle {
        width: 360px;
        height: 360px;
    }


    .hero-ring-one {
        width: 395px;
        height: 150px;
    }


    .hero-ring-two {
        width: 380px;
        height: 130px;
    }


    .hero-photo-placeholder {
        width: 300px;
        height: 380px;
    }


    .photo-placeholder-content {
        width: 185px;
        height: 300px;
    }


    .floating-card {
        transform: scale(0.86);
    }


    .floating-card-top {
        right: -25px;
        top: 65px;
    }


    .floating-card-bottom {
        left: -20px;
        bottom: 85px;
    }


    .hero-tagline {
        right: 0;
        bottom: 30px;
    }

}

/* =========================================================
   FEATURE STRIP
========================================================= */

.feature-strip {
    position: relative;
    z-index: 20;

    background:
        rgba(255, 255, 255, 0.94);

    border-top:
        1px solid rgba(116, 71, 255, 0.08);

    border-bottom:
        1px solid rgba(52, 120, 255, 0.08);

    box-shadow:
        0 18px 45px
        rgba(36, 43, 85, 0.05);
}


.feature-container {
    width: min(
        92%,
        var(--page-width)
    );

    margin: 0 auto;

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

    padding: 37px 0;
}


.feature-item {
    position: relative;

    min-height: 100px;

    display: flex;
    align-items: flex-start;

    gap: 18px;

    padding:
        13px 30px;

    border-right:
        1px solid var(--gray-200);
}


.feature-item:first-child {
    padding-left: 0;
}


.feature-item:last-child {
    border-right: none;
}


.feature-icon {
    flex-shrink: 0;

    width: 47px;
    height: 47px;

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

    color: var(--purple);

    background:
        linear-gradient(
            135deg,
            rgba(116, 71, 255, 0.1),
            rgba(52, 120, 255, 0.1)
        );

    border:
        1px solid rgba(116, 71, 255, 0.12);

    border-radius: 15px;

    font-size: 23px;
}


.feature-copy {
    padding-top: 3px;
}


.feature-item h3 {
    margin-bottom: 8px;

    color: var(--black);

    font-size: 12px;
    font-weight: 900;

    line-height: 1.25;

    text-transform: uppercase;
}


.feature-item p {
    max-width: 200px;

    color: var(--gray-500);

    font-size: 11px;

    line-height: 1.55;
}



/* =========================================================
   CLASSES / FIND YOUR STYLE
========================================================= */

.classes-section {
    position: relative;

    overflow: hidden;

    padding:
        115px 0 125px;

    background:
        radial-gradient(
            circle at 95% 15%,
            rgba(52, 120, 255, 0.12),
            transparent 25%
        ),
        radial-gradient(
            circle at 5% 85%,
            rgba(116, 71, 255, 0.10),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #fffdfa 0%,
            #ffffff 45%,
            #f7f9ff 100%
        );
}


.classes-section::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(116, 71, 255, 0.14),
            rgba(52, 120, 255, 0.14),
            transparent
        );
}


.classes-background-word {
    position: absolute;

    left: -45px;
    top: 3px;

    color:
        rgba(116, 71, 255, 0.035);

    font-family:
        var(--font-display);

    font-size: 320px;

    line-height: 1;

    letter-spacing: -6px;

    pointer-events: none;
}


.classes-orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(80px);

    pointer-events: none;
}


.classes-orb-left {
    width: 330px;
    height: 330px;

    left: -190px;
    bottom: -130px;

    background:
        rgba(116, 71, 255, 0.12);
}


.classes-orb-right {
    width: 400px;
    height: 400px;

    right: -220px;
    top: 50px;

    background:
        rgba(52, 120, 255, 0.1);
}


.classes-layout {
    position: relative;

    z-index: 4;

    display: grid;
    grid-template-columns:
        285px 1fr;

    align-items: center;

    gap: 55px;
}


.classes-intro {
    position: relative;
}


.section-heading {
    display: flex;
    flex-direction: column;

    margin-top: 2px;
}


.section-heading-main {
    color: var(--black);

    font-family:
        var(--font-display);

    font-size: 69px;

    line-height: 0.88;

    letter-spacing: -1px;
}


.section-heading-accent {
    position: relative;

    width: fit-content;

    margin-top: 4px;

    color: transparent;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--blue)
        );

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

    font-family:
        var(--font-body);

    font-size: 49px;
    font-weight: 900;

    font-style: italic;

    line-height: 1;

    letter-spacing: -3px;

    transform:
        rotate(-3deg);
}


.section-heading-accent::after {
    content: "";

    position: absolute;

    left: 2px;
    right: -8px;
    bottom: -7px;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--blue)
        );

    border-radius: 100px;

    transform:
        rotate(-1deg);
}


.classes-description {
    margin:
        29px 0 30px;

    color:
        var(--gray-500);

    font-size: 13px;

    line-height: 1.75;
}


.class-grid {
    display: grid;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 17px;
}


.class-card {
    position: relative;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.82);

    border:
        1px solid rgba(116, 71, 255, 0.08);

    border-radius: 27px;

    box-shadow:
        0 23px 55px
        rgba(36, 44, 92, 0.09);

    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease;
}


.class-card:hover {
    transform:
        translateY(-10px);

    box-shadow:
        0 30px 70px
        rgba(36, 44, 92, 0.16);
}


.class-image {
    position: relative;

    height: 370px;

    overflow: hidden;

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


.class-image::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(255, 255, 255, 0.8),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(9, 11, 18, 0.17)
        );
}


.class-image::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 265px;

    bottom: -35px;

    background:
        rgba(9, 11, 18, 0.48);

    border-radius:
        100px 100px 35px 35px;

    transform:
        rotate(4deg);

    transition:
        transform 0.35s ease;
}


.class-card:hover
.class-image::after {
    transform:
        rotate(1deg)
        scale(1.04);
}


.class-image-one {
    background:
        linear-gradient(
            150deg,
            #cbd7ff,
            #9f8fff
        );
}


.class-image-two {
    background:
        linear-gradient(
            150deg,
            #f2f3ff,
            #b7d3ff
        );
}


.class-image-three {
    background:
        linear-gradient(
            150deg,
            #c6eeff,
            #a9a8ff
        );
}


.class-image-four {
    background:
        linear-gradient(
            150deg,
            #83adff,
            #cab2ff
        );
}


.class-image-label {
    position: relative;

    z-index: 4;

    padding:
        8px 11px;

    color:
        rgba(255, 255, 255, 0.8);

    background:
        rgba(9, 11, 18, 0.2);

    border:
        1px solid rgba(255, 255, 255, 0.25);

    border-radius: 999px;

    backdrop-filter:
        blur(8px);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1px;
}


.class-card-footer {
    min-height: 82px;

    padding:
        15px 18px 16px;

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

    gap: 10px;
}


.class-small {
    display: block;

    margin-bottom: 1px;

    color: var(--purple);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.class-card-footer h3 {
    color: var(--black);

    font-family:
        var(--font-display);

    font-size: 27px;

    font-weight: 400;

    line-height: 1;

    text-transform: uppercase;
}


.class-arrow {
    flex-shrink: 0;

    width: 39px;
    height: 39px;

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

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--blue)
        );

    border-radius: 50%;

    box-shadow:
        0 9px 22px
        rgba(78, 72, 214, 0.22);

    transition:
        transform 0.2s ease;
}


.class-card:hover
.class-arrow {
    transform:
        translateX(4px);
}



/* =========================================================
   FEATURE + CLASSES TABLET
========================================================= */

@media (max-width: 1100px) {

    .feature-container {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .feature-item:nth-child(2) {
        border-right: none;
    }


    .feature-item:nth-child(1),
    .feature-item:nth-child(2) {
        border-bottom:
            1px solid var(--gray-200);
    }


    .classes-layout {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .classes-intro {
        max-width: 590px;
    }


    .class-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .class-image {
        height: 420px;
    }

}



/* =========================================================
   FEATURE + CLASSES MOBILE
========================================================= */

@media (max-width: 650px) {

    .feature-container {
        grid-template-columns: 1fr;

        padding:
            16px 0;
    }


    .feature-item,
    .feature-item:first-child {
        min-height: auto;

        padding:
            23px 0;

        border-right: none;

        border-bottom:
            1px solid var(--gray-200);
    }


    .feature-item:last-child {
        border-bottom: none;
    }


    .feature-icon {
        width: 44px;
        height: 44px;

        font-size: 21px;
    }


    .feature-item p {
        max-width: none;
    }


    .classes-section {
        padding:
            85px 0 90px;
    }


    .classes-background-word {
        left: -25px;

        font-size: 190px;
    }


    .section-heading-main {
        font-size: 59px;
    }


    .section-heading-accent {
        font-size: 43px;
    }


    .class-grid {
        grid-template-columns: 1fr;
    }


    .class-image {
        height: 430px;
    }

}

/* =========================================================
   COMMUNITY SECTION
========================================================= */

.community-section {
    position: relative;

    overflow: hidden;

    color: var(--white);

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(95, 215, 255, 0.28),
            transparent 28%
        ),
        radial-gradient(
            circle at 15% 85%,
            rgba(149, 105, 255, 0.35),
            transparent 34%
        ),
        linear-gradient(
            120deg,
            #3d239f 0%,
            #6040da 35%,
            #3f68e7 68%,
            #2f83f3 100%
        );
}


.community-texture {
    position: absolute;

    inset: 0;

    opacity: 0.16;

    background-image:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.12) 1px,
            transparent 1px
        );

    background-size:
        34px 34px;

    pointer-events: none;
}


.community-section::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 58%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            rgba(20, 15, 70, 0.30),
            transparent
        );

    pointer-events: none;
}


.community-orb {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.community-orb-one {
    width: 530px;
    height: 530px;

    left: -250px;
    bottom: -280px;

    border:
        70px solid rgba(255, 255, 255, 0.05);
}


.community-orb-two {
    width: 390px;
    height: 390px;

    right: -150px;
    top: -170px;

    border:
        55px solid rgba(255, 255, 255, 0.05);
}


.community-orb-three {
    width: 280px;
    height: 280px;

    left: 42%;
    top: 20%;

    background:
        rgba(95, 215, 255, 0.08);

    filter:
        blur(70px);
}


.community-container {
    position: relative;

    z-index: 5;

    width: min(
        92%,
        var(--page-width)
    );

    min-height: 560px;

    margin: 0 auto;

    display: grid;
    grid-template-columns:
        0.9fr 1.1fr;

    align-items: stretch;

    gap: 55px;
}


.community-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        85px 0;
}


.community-label {
    display: inline-block;

    width: fit-content;

    margin-bottom: 16px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.community-heading {
    display: flex;
    flex-direction: column;

    max-width: 600px;

    line-height: 0.86;
}


.community-heading-line {
    color: var(--white);

    font-family:
        var(--font-display);

    font-size: 71px;

    letter-spacing: -1px;
}


.community-heading-accent {
    position: relative;

    width: fit-content;

    margin:
        5px 0 3px;

    color: #c7e9ff;

    font-family:
        var(--font-body);

    font-size: 49px;
    font-weight: 900;

    font-style: italic;

    letter-spacing: -3px;

    transform:
        rotate(-2deg);
}


.community-heading-accent::after {
    content: "";

    position: absolute;

    left: 0;
    right: -10px;
    bottom: -7px;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            #c8a9ff,
            #8ddcff
        );

    border-radius: 999px;

    transform:
        rotate(-1deg);
}


.community-description {
    max-width: 520px;

    margin:
        32px 0;

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 13px;

    line-height: 1.78;
}


.community-actions {
    display: flex;
    align-items: center;

    gap: 24px;
}


.button-white-outline {
    width: fit-content;

    color: var(--white);

    border:
        2px solid rgba(255, 255, 255, 0.8);

    background:
        rgba(255, 255, 255, 0.04);

    backdrop-filter:
        blur(8px);
}


.button-white-outline:hover {
    background: var(--white);
    color: var(--purple);
}


.community-mini-message {
    display: flex;
    flex-direction: column;

    padding-left: 15px;

    border-left:
        2px solid rgba(255, 255, 255, 0.25);
}


.community-mini-message strong {
    color: var(--white);

    font-size: 10px;
    font-weight: 900;

    text-transform: uppercase;
}


.community-mini-message span {
    margin-top: 3px;

    color:
        rgba(255, 255, 255, 0.58);

    font-size: 9px;
}


.community-visual {
    position: relative;

    min-height: 560px;

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


.community-photo-card {
    position: relative;

    width: 100%;
    height: 475px;

    overflow: hidden;

    border-radius:
        40px 40px 18px 40px;

    border:
        1px solid rgba(255, 255, 255, 0.14);

    box-shadow:
        0 30px 80px rgba(16, 20, 70, 0.22);

    transform:
        rotate(1.5deg);
}


.community-photo-placeholder {
    position: absolute;

    inset: 0;

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

    gap: 6px;

    background:
        radial-gradient(
            circle at 55% 35%,
            rgba(255, 255, 255, 0.14),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #7658d5,
            #4c77da,
            #68a8ec
        );

    color:
        rgba(255, 255, 255, 0.72);
}


.community-photo-placeholder span {
    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.5px;
}


.community-photo-placeholder small {
    color:
        rgba(255, 255, 255, 0.48);

    font-size: 9px;
}


.community-photo-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(26, 20, 80, 0.28),
            transparent 50%
        );
}


.community-photo-caption {
    position: absolute;

    left: 25px;
    bottom: 25px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding:
        13px 17px;

    color: var(--black);

    background:
        rgba(255, 255, 255, 0.88);

    border:
        1px solid rgba(255, 255, 255, 0.94);

    border-radius: 16px;

    box-shadow:
        0 14px 35px rgba(20, 24, 66, 0.18);

    backdrop-filter:
        blur(15px);
}


.community-caption-icon {
    width: 36px;
    height: 36px;

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

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--blue)
        );

    border-radius: 11px;
}


.community-photo-caption div {
    display: flex;
    flex-direction: column;
}


.community-photo-caption strong {
    font-size: 10px;
    font-weight: 900;

    text-transform: uppercase;
}


.community-photo-caption div span {
    margin-top: 2px;

    color: var(--gray-500);

    font-size: 9px;
}


.community-outline-card {
    position: absolute;

    z-index: 7;

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

    padding:
        10px 16px;

    color:
        rgba(255, 255, 255, 0.82);

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid rgba(255, 255, 255, 0.24);

    border-radius: 999px;

    backdrop-filter:
        blur(10px);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.5px;
}


.community-outline-top {
    right: -20px;
    top: 85px;

    transform:
        rotate(6deg);
}


.community-outline-bottom {
    left: -25px;
    bottom: 65px;

    transform:
        rotate(-5deg);
}


/* COMMUNITY TABLET */

@media (max-width: 1000px) {

    .community-container {
        grid-template-columns: 1fr;

        gap: 0;

        padding-bottom: 70px;
    }


    .community-content {
        padding:
            80px 0 45px;
    }


    .community-visual {
        min-height: 470px;
    }


    .community-photo-card {
        height: 450px;
    }

}


/* COMMUNITY MOBILE */

@media (max-width: 650px) {

    .community-content {
        padding:
            70px 0 35px;
    }


    .community-heading-line {
        font-size: 56px;
    }


    .community-heading-accent {
        font-size: 39px;
    }


    .community-actions {
        align-items: flex-start;
        flex-direction: column;
    }


    .community-mini-message {
        margin-left: 4px;
    }


    .community-visual {
        min-height: 390px;
    }


    .community-photo-card {
        height: 360px;

        border-radius:
            28px 28px 15px 28px;
    }


    .community-outline-top {
        right: -15px;
        top: 45px;
    }


    .community-outline-bottom {
        left: -15px;
        bottom: 35px;
    }


    .community-photo-caption {
        left: 16px;
        bottom: 16px;
    }

}

/* =========================================================
   ABOUT / WHY FAMILIES CHOOSE US
========================================================= */

.about-section {
    position: relative;

    overflow: hidden;

    padding:
        110px 0 115px;

    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(116, 71, 255, 0.07),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(52, 120, 255, 0.08),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fbfcff 100%
        );
}


.about-background-orb {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.about-background-orb-left {
    width: 370px;
    height: 370px;

    left: -220px;
    top: 80px;

    border:
        60px solid rgba(116, 71, 255, 0.035);
}


.about-background-orb-right {
    width: 430px;
    height: 430px;

    right: -240px;
    bottom: -180px;

    background:
        radial-gradient(
            circle,
            rgba(52, 120, 255, 0.10),
            transparent 65%
        );
}


.about-header {
    position: relative;

    z-index: 3;

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

    gap: 60px;

    margin-bottom: 55px;
}


.about-heading-wrap {
    flex-shrink: 0;
}


.about-heading {
    display: flex;
    flex-direction: column;

    margin-top: 4px;

    line-height: 0.87;
}


.about-heading-main {
    color: var(--black);

    font-family:
        var(--font-display);

    font-size: 72px;

    letter-spacing: -1px;
}


.about-heading-accent {
    position: relative;

    width: fit-content;

    color: transparent;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--blue)
        );

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

    font-family:
        var(--font-body);

    font-size: 51px;
    font-weight: 900;

    font-style: italic;

    letter-spacing: -3px;

    transform:
        rotate(-2deg);
}


.about-heading-accent::after {
    content: "";

    position: absolute;

    left: 0;
    right: -8px;
    bottom: -7px;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--blue)
        );

    border-radius: 999px;

    transform:
        rotate(-1deg);
}


.about-intro {
    max-width: 470px;

    color: var(--gray-500);

    font-size: 13px;

    line-height: 1.75;
}


.about-grid {
    position: relative;

    z-index: 3;

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

    gap: 20px;
}


.about-card {
    position: relative;

    min-height: 295px;

    padding:
        32px;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.86);

    border:
        1px solid rgba(116, 71, 255, 0.08);

    border-radius: 24px;

    box-shadow:
        0 20px 48px
        rgba(35, 43, 85, 0.07);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.about-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -80px;
    top: -90px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(116, 71, 255, 0.08),
            transparent 70%
        );
}


.about-card:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(116, 71, 255, 0.18);

    box-shadow:
        0 28px 65px
        rgba(35, 43, 85, 0.12);
}


.about-card-featured {
    color: var(--white);

    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(95, 215, 255, 0.30),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            var(--purple) 0%,
            #5d55e4 48%,
            var(--blue) 100%
        );

    border-color:
        rgba(255, 255, 255, 0.12);

    box-shadow:
        0 25px 60px
        rgba(76, 69, 197, 0.22);
}


.about-card-featured::before {
    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.10),
            transparent 70%
        );
}


.about-number {
    display: block;

    margin-bottom: 29px;

    color:
        rgba(116, 71, 255, 0.48);

    font-family:
        var(--font-display);

    font-size: 29px;
}


.about-card-featured
.about-number {
    color:
        rgba(255, 255, 255, 0.46);
}


.about-icon {
    width: 44px;
    height: 44px;

    margin-bottom: 19px;

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

    color: var(--purple);

    background:
        linear-gradient(
            135deg,
            rgba(116, 71, 255, 0.10),
            rgba(52, 120, 255, 0.10)
        );

    border:
        1px solid rgba(116, 71, 255, 0.10);

    border-radius: 14px;

    font-size: 22px;
}


.about-card-featured
.about-icon {
    color: var(--white);

    background:
        rgba(255, 255, 255, 0.13);

    border-color:
        rgba(255, 255, 255, 0.18);
}


.about-card h3 {
    margin-bottom: 13px;

    color: var(--black);

    font-size: 18px;
    font-weight: 900;

    line-height: 1.25;
}


.about-card-featured h3 {
    color: var(--white);
}


.about-card p {
    max-width: 390px;

    color: var(--gray-500);

    font-size: 13px;

    line-height: 1.72;
}


.about-card-featured p {
    color:
        rgba(255, 255, 255, 0.78);
}



/* ABOUT TABLET */

@media (max-width: 900px) {

    .about-header {
        align-items: flex-start;
        flex-direction: column;

        gap: 22px;
    }


    .about-grid {
        grid-template-columns: 1fr;
    }


    .about-card {
        min-height: auto;
    }

}



/* ABOUT MOBILE */

@media (max-width: 650px) {

    .about-section {
        padding:
            85px 0 90px;
    }


    .about-heading-main {
        font-size: 58px;
    }


    .about-heading-accent {
        font-size: 42px;
    }


    .about-card {
        padding:
            28px;
    }

}

/* =========================================================
   REGISTRATION CTA
========================================================= */

.register-section {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(116, 71, 255, 0.15),
            transparent 25%
        ),
        radial-gradient(
            circle at 88% 35%,
            rgba(52, 120, 255, 0.18),
            transparent 25%
        ),
        linear-gradient(
            110deg,
            #f4efff 0%,
            #eef5ff 52%,
            #e4f1ff 100%
        );
}


.register-section::before {
    content: "";

    position: absolute;

    inset: 0;

    opacity: 0.15;

    background-image:
        linear-gradient(
            135deg,
            rgba(116, 71, 255, 0.12) 1px,
            transparent 1px
        );

    background-size:
        42px 42px;

    pointer-events: none;
}


.register-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(45px);

    pointer-events: none;
}


.register-glow-left {
    width: 300px;
    height: 300px;

    left: -120px;
    bottom: -180px;

    background:
        rgba(116, 71, 255, 0.22);
}


.register-glow-right {
    width: 330px;
    height: 330px;

    right: -120px;
    top: -180px;

    background:
        rgba(52, 120, 255, 0.18);
}


.register-container {
    position: relative;

    z-index: 4;

    width: min(
        92%,
        var(--page-width)
    );

    min-height: 235px;

    margin: 0 auto;

    display: grid;
    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 28px;

    padding:
        45px 0;
}


.register-icon {
    width: 72px;
    height: 72px;

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

    flex-shrink: 0;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--blue)
        );

    border-radius: 50%;

    font-size: 30px;

    box-shadow:
        0 18px 40px
        rgba(79, 73, 207, 0.24);
}


.register-copy {
    max-width: 650px;
}


.register-eyebrow {
    display: block;

    margin-bottom: 6px;

    color: var(--purple);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


.register-copy h2 {
    color: var(--black);

    font-family:
        var(--font-display);

    font-size: 49px;

    font-weight: 400;

    line-height: 0.95;
}


.register-copy p {
    margin-top: 9px;

    color: var(--gray-500);

    font-size: 12px;

    line-height: 1.6;
}


.register-actions {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;
}


.register-button {
    min-width: 185px;

    color: var(--white);

    background:
        linear-gradient(
            115deg,
            var(--purple),
            var(--blue)
        );

    box-shadow:
        0 17px 38px
        rgba(71, 76, 202, 0.22);
}


.register-button:hover {
    box-shadow:
        0 22px 48px
        rgba(71, 76, 202, 0.32);
}


.register-secondary-link {
    position: relative;

    color: var(--gray-700);

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.7px;
}


.register-secondary-link::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -3px;

    height: 1px;

    background:
        var(--purple);

    transform:
        scaleX(0);

    transform-origin:
        left;

    transition:
        transform 0.2s ease;
}


.register-secondary-link:hover::after {
    transform:
        scaleX(1);
}


/* REGISTRATION TABLET */

@media (max-width: 850px) {

    .register-container {
        grid-template-columns:
            auto 1fr;
    }


    .register-actions {
        grid-column:
            1 / -1;

        align-items: flex-start;

        padding-left: 100px;
    }

}


/* REGISTRATION MOBILE */

@media (max-width: 650px) {

    .register-container {
        grid-template-columns: 1fr;

        gap: 20px;

        padding:
            55px 0;
    }


    .register-icon {
        width: 60px;
        height: 60px;

        font-size: 25px;
    }


    .register-copy h2 {
        font-size: 42px;
    }


    .register-actions {
        padding-left: 0;

        width: 100%;

        align-items: flex-start;
    }


    .register-button {
        width: 100%;
    }

}

/* =========================================================
   CLASS CARD DANCER IMAGES
========================================================= */

.class-image::before {
    z-index: 1;
}

.class-image::after {
    display: none;
}

.class-dancer {
    position: absolute;
    z-index: 2;

    left: 50%;
    bottom: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center bottom;

    pointer-events: none;
    user-select: none;

    transform-origin: center bottom;

    filter:
        drop-shadow(0 18px 22px rgba(35, 39, 83, 0.16));

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.class-dancer-hiphop {
    width: 115%;
    height: 96%;
    transform: translateX(-50%) scale(1.02);
}

.class-dancer-ballet {
    width: 132%;
    height: 95%;
    transform: translateX(-50%) scale(1.03);
}

.class-dancer-tap {
    width: 109%;
    height: 96%;
    transform: translateX(-50%) scale(1.02);
}

.class-dancer-jazz {
    width: 126%;
    height: 94%;
    transform: translateX(-50%) scale(1.02);
}

.class-dancer-technique {
    width: 153%;
    height: 97%;
    transform: translateX(-50%) scale(1.02);
}

.class-card:hover .class-dancer {
    filter:
        drop-shadow(0 22px 28px rgba(35, 39, 83, 0.22));
}

.class-card:hover .class-dancer-hiphop {
    transform: translateX(-50%) scale(1.06);
}

.class-card:hover .class-dancer-ballet {
    transform: translateX(-50%) scale(1.07);
}

.class-card:hover .class-dancer-tap {
    transform: translateX(-50%) scale(1.06);
}

.class-card:hover .class-dancer-jazz {
    transform: translateX(-50%) scale(1.06);
}

.class-card:hover .class-dancer-technique {
    transform: translateX(-50%) scale(1.06);
}

.class-image-label {
    position: absolute;
    z-index: 4;

    left: 50%;
    top: 47%;

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

    white-space: nowrap;
}

@media (max-width: 1100px) {
    .class-dancer-hiphop {
        width: 100%;
    }

    .class-dancer-ballet {
        width: 112%;
    }

    .class-dancer-tap {
        width: 94%;
    }

    .class-dancer-jazz {
        width: 108%;
    }

    .class-dancer-technique {
        width: 98%;
    }
}

@media (max-width: 650px) {
    .class-dancer-hiphop {
        width: 92%;
    }

    .class-dancer-ballet {
        width: 104%;
    }

    .class-dancer-tap {
        width: 88%;
    }

    .class-dancer-jazz {
        width: 102%;
    }

    .class-dancer-technique {
        width: 92%;
    }

    .class-image-label {
        top: 50%;
    }
}

/* =========================================================
   CLASSES / FIND YOUR STYLE — RESPONSIVE CARD NORMALIZATION
   Keeps every program card proportional and every dancer aligned.
========================================================= */

.classes-layout {
    grid-template-columns: minmax(235px, 285px) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 55px);
}

.class-grid {
    min-width: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(10px, 1.25vw, 17px);
}

.class-card {
    min-width: 0;
}

/* The image area's height now comes from the card width instead of a fixed pixel height. */
.class-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 6.55;
}

/* All dancer assets share the exact same frame and bottom baseline. */
.class-dancer {
    --dancer-scale: 1;
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center bottom;
    transform: translateX(-50%) scale(var(--dancer-scale));
    transform-origin: center bottom;
}

.class-dancer-hiphop {
    --dancer-scale: 1.09;
    width: 100%;
    height: 100%;
}

.class-dancer-ballet {
    --dancer-scale: 1.11;
    width: 100%;
    height: 100%;
}

.class-dancer-tap {
    --dancer-scale: 1.08;
    width: 100%;
    height: 100%;
}

.class-dancer-jazz {
    --dancer-scale: 1.11;
    width: 100%;
    height: 100%;
}

.class-dancer-technique {
    --dancer-scale: 1.10;
    width: 100%;
    height: 100%;
}

.class-card:hover .class-dancer-hiphop,
.class-card:hover .class-dancer-ballet,
.class-card:hover .class-dancer-tap,
.class-card:hover .class-dancer-jazz,
.class-card:hover .class-dancer-technique {
    transform: translateX(-50%) scale(calc(var(--dancer-scale) + .035));
}

.class-image-label {
    top: 49%;
    max-width: calc(100% - 18px);
    padding: 7px 9px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(6px, .58vw, 8px);
    letter-spacing: clamp(.45px, .07vw, 1px);
}

.class-card-footer {
    min-height: clamp(72px, 6vw, 82px);
    padding: 14px clamp(12px, 1.25vw, 18px);
}

.class-card-footer h3 {
    font-size: clamp(22px, 1.9vw, 27px);
}

.class-arrow {
    width: clamp(34px, 3vw, 39px);
    height: clamp(34px, 3vw, 39px);
}

@media (max-width: 1325px) {
    .classes-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .classes-intro {
        max-width: 650px;
    }

    .class-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .class-image {
        aspect-ratio: 4 / 6.25;
    }
}

@media (max-width: 1020px) {
    .class-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .class-image {
        aspect-ratio: 4 / 5.9;
    }
}

@media (max-width: 760px) {
    .class-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .class-image {
        aspect-ratio: 4 / 6.05;
    }

    .class-image-label {
        top: 49%;
        font-size: 7px;
    }
}

@media (max-width: 520px) {
    .class-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .class-card {
        width: min(100%, 390px);
        margin-inline: auto;
    }

    .class-image {
        aspect-ratio: 4 / 5.25;
    }

    .class-card-footer h3 {
        font-size: 27px;
    }

    .class-arrow {
        width: 39px;
        height: 39px;
    }
}



/* =========================================================
   COMMUNITY PERFORMANCE PHOTO SLIDESHOW
========================================================= */

.community-photo-slides {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.community-photo-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transform: scale(1.025);
    transition:
        opacity .9s ease,
        transform 5.5s ease;
}

.community-photo-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.community-photo-overlay {
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(26, 20, 80, 0.22),
            rgba(17, 20, 58, 0.04) 48%,
            rgba(20, 17, 68, 0.10)
        );
}

.community-photo-caption {
    z-index: 4;
}

.community-photo-dots {
    position: absolute;
    z-index: 5;
    right: 22px;
    bottom: 22px;
    display: flex;
    gap: 7px;
    padding: 7px 9px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 999px;
    background: rgba(16,20,60,.20);
    backdrop-filter: blur(10px);
}

.community-photo-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.42);
    transition: width .25s ease, background .25s ease;
}

.community-photo-dots span.is-active {
    width: 19px;
    border-radius: 999px;
    background: #fff;
}

/* Old confidence / connection pill bubbles are no longer used. */
.community-outline-card {
    display: none;
}

@media (max-width: 650px) {
    .community-photo-dots {
        right: 14px;
        bottom: 14px;
    }

    .community-photo-caption {
        max-width: calc(100% - 96px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .community-photo-slide {
        transition: opacity .35s ease;
        transform: none;
    }

    .community-photo-slide.is-active {
        transform: none;
    }
}\n\n/* =========================================================\n   HOME PROGRAM STRIP + EXPANDED STYLE CARDS\n========================================================= */\n\n
.feature-strip-programs .feature-item h3 {
    max-width: 220px;}\n\n
.class-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));}
.class-image-five {
    background: radial-gradient(circle at 50% 15%, rgba(255,255,255,.82), transparent 27%), linear-gradient(150deg, #ded4ff, #9ebfff);}
.class-image-six {
    background: radial-gradient(circle at 50% 15%, rgba(255,255,255,.82), transparent 27%), linear-gradient(150deg, #c8edff, #a697ff);}
.class-image-seven {
    background: radial-gradient(circle at 50% 15%, rgba(255,255,255,.82), transparent 27%), linear-gradient(150deg, #f1e7ff, #9fcfff);}
.class-image-coming-soon::after {
    display: none;}

.class-photo-placeholder {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 62%;
    aspect-ratio: 3 / 4.6;
    transform: translate(-50%, -47%);
    display: grid;
    place-items: center;
    border: 1px dashed rgba(67,63,130,.22);
    border-radius: 999px 999px 46px 46px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(4px);}

.class-photo-placeholder span {
        max-width: 90px;
        color: rgba(40,43,87,.48);
        font-size: 8px;
        font-weight: 900;
        line-height: 1.45;
        letter-spacing: 1px;
        text-align: center;}
        
@media (max-width: 1325px) {
    .class-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
    .class-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .class-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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



/* =========================================================
   HOME STYLE CARDS — SECOND ROW + TEMPORARY BACKGROUNDS
========================================================= */

.class-image-five {
    background:
        radial-gradient(circle at 50% 15%, rgba(255,255,255,.80), transparent 27%),
        linear-gradient(150deg, #d8ccff 0%, #aaa2ff 48%, #7fb6ee 100%);
}

.class-image-six {
    background:
        radial-gradient(circle at 50% 15%, rgba(255,255,255,.80), transparent 27%),
        linear-gradient(150deg, #c9edff 0%, #91c6ef 46%, #9a8ce9 100%);
}

.class-image-seven {
    background:
        radial-gradient(circle at 50% 15%, rgba(255,255,255,.82), transparent 27%),
        linear-gradient(150deg, #ece6ff 0%, #c7b7ff 48%, #8abceb 100%);
}

/* Keep the three cards visually intentional until their dancer photos arrive. */
.class-image-five::before,
.class-image-six::before,
.class-image-seven::before {
    background:
        radial-gradient(circle at 50% 15%, rgba(255,255,255,.62), transparent 28%),
        linear-gradient(180deg, transparent 58%, rgba(9,11,18,.10));
}

.class-image-five::after,
.class-image-six::after,
.class-image-seven::after {
    display: none;
}

/* Eight cards: 4 on the first row and 4 on the second on wide screens. */
.class-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}



/* =========================================================
   HOME STYLE CARDS — FINAL 8 DANCER ASSETS
   Individual framing keeps each transparent cutout balanced
   inside the shared card dimensions.
========================================================= */

.class-dancer-contemporary,
.class-dancer-acrobatics,
.class-dancer-pointe {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 0;
    max-width: none;
    object-fit: contain;
    object-position: center bottom;
    transform-origin: center bottom;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 18px 22px rgba(35,39,83,.16));
    transition: transform .35s ease, filter .35s ease;
}

/* Contemporary is a wider low pose, so give it extra horizontal breathing room. */
.class-dancer-contemporary {
    --dancer-scale: 1.02;
    width: 118%;
    height: 95%;
    transform: translateX(-50%) scale(var(--dancer-scale));
}

/* Acrobatics is strongly diagonal/horizontal and needs a slightly wider frame. */
.class-dancer-acrobatics {
    --dancer-scale: 1.01;
    width: 157%;
    height: 95%;
    transform: translateX(-50%) scale(var(--dancer-scale));
}

/* Pointe is tall and narrow, so keep more of the full body visible. */
.class-dancer-pointe {
    --dancer-scale: 1.03;
    width: 101%;
    height: 97%;
    transform: translateX(-50%) scale(var(--dancer-scale));
}

/* Fine-tune the existing five assets to the newly supplied cutouts. */
.class-dancer-hiphop {
    --dancer-scale: 1.04;
    width: 105%;
    height: 97%;
}

.class-dancer-ballet {
    --dancer-scale: 1.00;
    width: 98%;
    height: 96%;
}

.class-dancer-tap {
    --dancer-scale: 1.03;
    width: 109%;
    height: 96%;
}

.class-dancer-jazz {
    --dancer-scale: 1.04;
    width: 110%;
    height: 96%;
}

.class-dancer-technique {
    --dancer-scale: 1.00;
    width: 101%;
    height: 97%;
}

.class-card:hover .class-dancer-contemporary,
.class-card:hover .class-dancer-acrobatics,
.class-card:hover .class-dancer-pointe {
    filter: drop-shadow(0 22px 28px rgba(35,39,83,.22));
    transform: translateX(-50%) scale(calc(var(--dancer-scale) + .035));
}

/* The old temporary second-row placeholder treatment is no longer needed. */
.class-image-coming-soon {
    background: inherit;
}

@media (max-width: 1020px) {
    .class-dancer-contemporary { width: 108%; }
    .class-dancer-acrobatics { width: 115%; }
    .class-dancer-pointe { width: 94%; }
}

@media (max-width: 760px) {
    .class-dancer-contemporary { width: 104%; }
    .class-dancer-acrobatics { width: 110%; }
    .class-dancer-pointe { width: 92%; }
}

@media (max-width: 520px) {
    .class-dancer-contemporary { width: 98%; }
    .class-dancer-acrobatics { width: 105%; }
    .class-dancer-pointe { width: 88%; }
}



/* =========================================================
   HOME STYLE CARDS — TARGETED SIZE TWEAKS
   Only the four newly placed cards get custom framing.
========================================================= */

.class-dancer-technique,
.class-dancer-contemporary,
.class-dancer-acrobatics,
.class-dancer-pointe {
    position: absolute;
    z-index: 2;
    max-width: none;
    object-fit: contain;
    object-position: center bottom;
    transform-origin: center bottom;
}

/* Technique: enlarge a bit so the dancer doesn't feel too tiny in the frame. */
.class-dancer-technique {
    --dancer-scale: 1.02;
    left: 55%;
    bottom: 0;
    width: 153%;
    height: 97%;
    transform: translateX(-50%) scale(var(--dancer-scale));
}

/* Contemporary: wider, lower pose needs more horizontal room and a slight right shift. */
.class-dancer-contemporary {
    --dancer-scale: 1.03;
    left: 43%;
    bottom: 0;
    width: 124%;
    height: 104%;
    transform: translateX(-50%) scale(var(--dancer-scale));
}

/* Acrobatics: pull back slightly so the pose breathes and doesn't crowd the card. */
.class-dancer-acrobatics {
    --dancer-scale: 1.00;
    left: 50%;
    bottom: 0;
    width: 157%;
    height: 95%;
    transform: translateX(-50%) scale(var(--dancer-scale));
}

/* Pointe: scale up a touch so it matches the visual weight of the other cards. */
.class-dancer-pointe {
    --dancer-scale: 1.04;
    left: 51%;
    bottom: 0;
    width: 108%;
    height: 97%;
    transform: translateX(-50%) scale(var(--dancer-scale));
}

.class-card:hover .class-dancer-technique,
.class-card:hover .class-dancer-contemporary,
.class-card:hover .class-dancer-acrobatics,
.class-card:hover .class-dancer-pointe {
    transform: translateX(-50%) scale(calc(var(--dancer-scale) + .035));
}

@media (max-width: 1020px) {
    .class-dancer-technique { width: 138%; }
    .class-dancer-contemporary { width: 114%; }
    .class-dancer-acrobatics { width: 148%; }
    .class-dancer-pointe { width: 100%; }
}

@media (max-width: 760px) {
    .class-dancer-technique { width: 138%; }
    .class-dancer-contemporary { width: 108%; left: 51%; }
    .class-dancer-acrobatics { width: 148%; }
    .class-dancer-pointe { width: 95%; }
}

@media (max-width: 520px) {
    .class-dancer-technique { width: 96%; }
    .class-dancer-contemporary { width: 102%; left: 50%; }
    .class-dancer-acrobatics { width: 100%; }
    .class-dancer-pointe { width: 92%; }
}



/* =========================================================
   HOME STYLE CARDS — INFO QUESTION MARKS
========================================================= */

.class-card {
    cursor: default;
}

.class-info-button {
    position: relative;
    z-index: 8;
    flex-shrink: 0;
    width: clamp(34px, 3vw, 39px);
    height: clamp(34px, 3vw, 39px);
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--purple), var(--blue));
    box-shadow: 0 9px 22px rgba(78,72,214,.22);
    font: inherit;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.class-info-button span {
    display: block;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.class-info-button:hover,
.class-info-button:focus-visible,
.class-info-button.is-open {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 13px 28px rgba(78,72,214,.31);
}

.class-info-button:focus-visible {
    outline: 3px solid rgba(116,71,255,.22);
    outline-offset: 3px;
}

.class-info-popup {
    position: absolute;
    z-index: 20;
    right: 14px;
    bottom: 72px;
    width: min(255px, calc(100% - 28px));
    padding: 15px 16px;
    border: 1px solid rgba(116,71,255,.16);
    border-radius: 16px;
    color: var(--black);
    background:
        radial-gradient(circle at 92% 8%, rgba(52,120,255,.10), transparent 34%),
        rgba(255,255,255,.98);
    box-shadow: 0 18px 44px rgba(30,34,78,.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(.98);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.class-info-popup::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 100%;
    width: 12px;
    height: 12px;
    background: #fff;
    border-right: 1px solid rgba(116,71,255,.12);
    border-bottom: 1px solid rgba(116,71,255,.12);
    transform: translateY(-6px) rotate(45deg);
}

.class-info-popup strong {
    display: block;
    margin-bottom: 6px;
    color: var(--purple);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.class-info-popup p {
    margin: 0;
    color: var(--gray-700);
    font-size: 11px;
    line-height: 1.55;
}

/* Hover/focus for desktop, explicit .is-open state for tap/click. */
@media (hover:hover) and (pointer:fine) {
    .class-info-button:hover + .class-info-popup,
    .class-info-button:focus-visible + .class-info-popup,
    .class-info-popup:hover {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }
}

.class-info-popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* The old arrow-specific hover nudge is no longer used on these cards. */
.class-card:hover .class-arrow {
    transform: none;
}

@media (max-width: 520px) {
    .class-info-button {
        width: 39px;
        height: 39px;
    }

    .class-info-popup {
        right: 14px;
        bottom: 76px;
        width: calc(100% - 28px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .class-info-button,
    .class-info-popup {
        transition: none;
    }
}



/* =========================================================
   HOME FEATURE STRIP — SIX LINKED PROGRAM OPTIONS
========================================================= */
.feature-strip-programs .feature-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 24px 0;
}

.feature-strip-programs .feature-item {
    color: inherit;
    text-decoration: none;
    min-height: 132px;
    padding: 24px 28px;
    border-right: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.feature-strip-programs .feature-item:nth-child(3n) {
    border-right: 0;
}

.feature-strip-programs .feature-item:nth-child(n+4) {
    border-bottom: 0;
}

.feature-strip-programs .feature-item:first-child {
    padding-left: 28px;
}

.feature-strip-programs .feature-item:last-child {
    border-right: 0;
}

.feature-strip-programs .feature-item:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: -2px;
}

@media (hover:hover) and (pointer:fine) {
    .feature-strip-programs .feature-item:hover {
        position: relative;
        z-index: 2;
        background: linear-gradient(135deg, rgba(116,71,255,.055), rgba(52,120,255,.045));
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(35,43,85,.07);
    }
}

@media (max-width: 1100px) {
    .feature-strip-programs .feature-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-strip-programs .feature-item,
    .feature-strip-programs .feature-item:nth-child(3n) {
        border-right: 1px solid var(--gray-200);
        border-bottom: 1px solid var(--gray-200);
    }

    .feature-strip-programs .feature-item:nth-child(2n) {
        border-right: 0;
    }

    .feature-strip-programs .feature-item:nth-child(n+5) {
        border-bottom: 0;
    }
}

@media (max-width: 650px) {
    .feature-strip-programs .feature-container {
        grid-template-columns: 1fr;
        padding: 10px 0;
    }

    .feature-strip-programs .feature-item,
    .feature-strip-programs .feature-item:first-child,
    .feature-strip-programs .feature-item:nth-child(2n),
    .feature-strip-programs .feature-item:nth-child(3n),
    .feature-strip-programs .feature-item:nth-child(n+4),
    .feature-strip-programs .feature-item:nth-child(n+5) {
        min-height: auto;
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .feature-strip-programs .feature-item:last-child {
        border-bottom: 0;
    }
}

