/* PRANA rebranding hero. All selectors are scoped to the new first slide. */
.prana-rebrand-section {
    --prana-utility-height: 44px;
    --prana-menu-height: 80px;
    --prana-admin-height: 0px;
    position: relative;
    z-index: 0;
    isolation: isolate;
    padding-top: 0;
}


body.admin-bar .prana-rebrand-section {
    --prana-admin-height: 32px;
}

.prana-rebrand-hero {
    --hero-blue: #89c6ff;
    position: relative;
    width: 100%;
    height: calc(100vh - var(--prana-utility-height) - var(--prana-menu-height) - var(--prana-admin-height));
    height: calc(100svh - var(--prana-utility-height) - var(--prana-menu-height) - var(--prana-admin-height));
    min-height: 560px;
    max-height: none;
    overflow: hidden;
    color: #000;
    background: linear-gradient(to bottom, #fff 0 31.94%, var(--hero-blue) 31.94% 100%);
}

.prana-rebrand-wordmark,
.prana-rebrand-series,
.prana-rebrand-feature h2,
.prana-rebrand-feature p {
    -webkit-user-select: text;
    user-select: text;
}

.prana-rebrand-wordmark {
    position: absolute;
    z-index: 1;
    top: 31px;
    left: 2.78%;
    font-family: 'Fixel Text', Arial, sans-serif;
    font-size: clamp(150px, 17.35vw, 250px);
    font-weight: 800;
    line-height: .72;
    letter-spacing: -.085em;
    text-transform: lowercase;
    white-space: nowrap;
}

.prana-rebrand-series {
    position: absolute;
    z-index: 3;
    top: 48px;
    right: 5.9%;
    font-family: 'Fixel Text', Arial, sans-serif;
    font-size: clamp(48px, 5.56vw, 80px);
    font-weight: 400;
    line-height: .8;
    letter-spacing: -.05em;
}

.prana-rebrand-features {
    position: absolute;
    z-index: 4;
    left: 2.81%;
    bottom: 122px;
    display: flex;
    width: 380px;
    max-width: 34%;
    flex-direction: column;
    gap: 24px;
}

.prana-rebrand-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.prana-rebrand-feature > img {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
}

.prana-rebrand-feature h2,
.prana-rebrand-feature p {
    margin: 0;
    color: #000;
    font-family: 'Fixel Text', Arial, sans-serif;
    font-weight: 400;
}

.prana-rebrand-feature h2 {
    font-size: 32px;
    line-height: .95;
    letter-spacing: -.02em;
}

.prana-rebrand-feature p {
    margin-top: 8px;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -.01em;
}

.prana-rebrand-product {
    position: absolute;
    z-index: 2;
    right: 1%;
    bottom: 0;
    width: min(54vw, 980px);
    height: auto;
    max-width: none;
    pointer-events: none;
    user-select: none;
}

@media (max-width: 1199px) {
    .prana-rebrand-hero { min-height: 560px; }
    .prana-rebrand-features { bottom: 105px; max-width: 41%; }
    .prana-rebrand-feature h2 { font-size: 28px; }
    .prana-rebrand-feature p { font-size: 16px; }
    .prana-rebrand-product { right: -5%; width: 66vw; }
}

@media (max-width: 767px) {
    /* Keep the opened mobile navigation above every element of the hero. */
    header,
    .header-inner,
    .burger-menu.mobile {
        z-index: 1000 !important;
    }

    .prana-rebrand-section {
        --prana-utility-height: 44px;
        --prana-menu-height: 70px;
        padding-top: 0;
    }

    body.admin-bar .prana-rebrand-section {
        --prana-admin-height: 46px;
    }

    .prana-rebrand-hero {
        height: calc(100vh - var(--prana-utility-height) - var(--prana-menu-height) - var(--prana-admin-height));
        height: calc(100svh - var(--prana-utility-height) - var(--prana-menu-height) - var(--prana-admin-height));
        min-height: 650px;
        max-height: none;
        background: linear-gradient(to bottom, #fff 0 24%, var(--hero-blue) 24% 100%);
    }

    .prana-rebrand-wordmark {
        top: 24px;
        left: 20px;
        font-size: clamp(82px, 28vw, 132px);
        line-height: .72;
    }

    .prana-rebrand-series {
        top: 128px;
        right: 20px;
        font-size: clamp(32px, 10vw, 50px);
        line-height: 1;
    }

    .prana-rebrand-product {
        top: 200px;
        right: -18%;
        bottom: auto;
        width: 92vw;
    }

    .prana-rebrand-features {
        top: 500px;
        left: 20px;
        right: 20px;
        bottom: auto;
        width: auto;
        max-width: none;
        gap: 16px;
    }

    .prana-rebrand-feature { max-width: 340px; gap: 12px; }
    .prana-rebrand-feature > img { width: 48px; height: 48px; flex-basis: 48px; }
    .prana-rebrand-feature h2 { font-size: 23px; }
    .prana-rebrand-feature p { margin-top: 5px; font-size: 14px; line-height: 1.15; }

}

@media (max-width: 420px) {
    .prana-rebrand-hero { min-height: 640px; }
    .prana-rebrand-wordmark { font-size: 28vw; }
    .prana-rebrand-series { top: 112px; }
    .prana-rebrand-product { top: 180px; right: -20%; width: 96vw; }
    .prana-rebrand-features { top: 470px; }
    .prana-rebrand-feature h2 { font-size: 20px; }
    .prana-rebrand-feature p { font-size: 13px; }
}

@media (max-width: 620px) {
    .prana-rebrand-section { --prana-utility-height: 40px; }
}

/* Compact-height screens: keep every hero element inside the first viewport. */
@media (min-width: 768px) and (max-height: 760px) {
    .prana-rebrand-hero { min-height: 500px; }
    .prana-rebrand-wordmark { top: 24px; }
    .prana-rebrand-series { top: 38px; }
    .prana-rebrand-features { bottom: 54px; gap: 16px; }
    .prana-rebrand-feature > img { width: 52px; height: 52px; flex-basis: 52px; }
    .prana-rebrand-feature h2 { font-size: 26px; }
    .prana-rebrand-feature p { font-size: 15px; }
    .prana-rebrand-product { width: min(51vw, 760px); }
}

@media (max-width: 767px) and (max-height: 820px) {
    .prana-rebrand-hero { min-height: 600px; }
    .prana-rebrand-wordmark { top: 16px; }
    .prana-rebrand-series { top: 112px; }
    .prana-rebrand-product { top: 178px; width: 82vw; }
    .prana-rebrand-features { top: 405px; gap: 12px; }
}

/* Keep hero feature copy aligned with the homepage type system. */
.prana-rebrand-feature p {
    font-family: 'Fixel Text', Arial, sans-serif !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .prana-rebrand-feature p {
        font-size: 15px;
        line-height: 1.4;
    }
}

/* Mobile composition: reserve a clear reading zone below the product image. */
@media (max-width: 767px) {
    .prana-rebrand-hero {
        min-height: 760px;
    }

    .prana-rebrand-product {
        top: 190px;
        right: -20%;
        width: 88vw;
    }

    .prana-rebrand-features {
        top: 515px;
        z-index: 4;
        padding-right: 8px;
    }

    .prana-rebrand-feature {
        max-width: min(360px, 92vw);
    }
}

@media (max-width: 420px) {
    .prana-rebrand-hero {
        min-height: 735px;
    }

    .prana-rebrand-product {
        top: 178px;
        width: 90vw;
    }

    .prana-rebrand-features {
        top: 480px;
    }
}
