/* ==========================================================================
   Bdevs Hero Brand Kit 3D (port of the Seraluna "Nail Studio" hero)
   Tall section, sticky stage. hero-kit3d.js maps the scroll to the story:
   intro → 01 Shape → 02 Colour → 03 Finish → 04 Launch → reveal.
   ========================================================================== */
.bd-hk {
    --bd-hk-violet: #a66cff;
    --bd-hk-lime: #d4ff3f;
    --bd-hk-bg: #050507;
    --bd-hk-text: #f4f4f1;
    --bd-hk-muted: #a3a3b0;
    --bd-hk-line: rgba(255, 255, 255, 0.1);
    --bd-hk-glass: rgba(20, 18, 30, 0.58);
    --bd-hk-ring: #d4ff3f;
    --bd-hk-glow-a: rgba(232, 236, 255, 0.09);
    --bd-hk-glow-b: rgba(212, 255, 63, 0.1);
    --bd-hk-ff-display: "Big Shoulders Display", "Oswald", "Arial Narrow", sans-serif;
    --bd-hk-ff-serif: "Instrument Serif", "Times New Roman", serif;
    --bd-hk-ff-body: "Instrument Sans", "Inter", system-ui, sans-serif;
    --bd-hk-edge: max(24px, calc((100vw - 1320px) / 2 + 12px));
    --bd-hk-head: var(--bd-header-h, 92px);
    --bd-hk-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    height: 620vh;
    color: var(--bd-hk-text);
    font-family: var(--bd-hk-ff-body);
}

@media (max-width: 991.98px) {
    .bd-hk {
        height: 540vh;
    }
}

.bd-hk *,
.bd-hk *::before,
.bd-hk *::after {
    box-sizing: border-box;
}

.bd-hk ul,
.bd-hk ol,
.bd-hk dl,
.bd-hk dd {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bd-hk h1,
.bd-hk h2,
.bd-hk h3,
.bd-hk p {
    margin: 0;
}

.bd-hk-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@keyframes bd-hk-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -16px, 0); }
}

@keyframes bd-hk-wheel {
    0% { transform: translate(-50%, 0); opacity: 1; }
    80% { transform: translate(-50%, 12px); opacity: 0; }
    100% { opacity: 0; }
}

@keyframes bd-hk-tile {
    0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
    50% { transform: translateY(-10px) rotate(var(--r, 0deg)); }
}

/* ------------------------------------------------------------------ stage */
/* the glow behind the set follows it (--bd-hk-gpos) and takes the opposite hue of the kit colour
   (--bd-hk-glow-kit, set by the script), so the tiles never sit on a glow of their own colour */
@property --bd-hk-glow-kit {
    syntax: '<color>';
    inherits: true;
    initial-value: rgba(232, 236, 255, 0.09);
}

.bd-hk-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(34% 46% at var(--bd-hk-gpos, 69% 50%), var(--bd-hk-glow-kit, var(--bd-hk-glow-a)) 0%, rgba(0, 0, 0, 0) 72%),
        radial-gradient(42% 52% at 100% 0%, rgba(166, 108, 255, 0.06) 0%, rgba(166, 108, 255, 0) 70%),
        radial-gradient(46% 56% at 0% 100%, var(--bd-hk-glow-b) 0%, rgba(212, 255, 63, 0) 70%),
        var(--bd-hk-bg);
    transition: --bd-hk-glow-kit 1.2s ease;
}

@media (max-width: 991.98px) {
    .bd-hk-stage {
        background:
            radial-gradient(70% 40% at var(--bd-hk-gpos, 50% 48%), var(--bd-hk-glow-kit, var(--bd-hk-glow-a)) 0%, rgba(0, 0, 0, 0) 72%),
            radial-gradient(60% 40% at 100% 0%, rgba(166, 108, 255, 0.06) 0%, rgba(166, 108, 255, 0) 70%),
            radial-gradient(60% 40% at 0% 100%, var(--bd-hk-glow-b) 0%, rgba(212, 255, 63, 0) 70%),
            var(--bd-hk-bg);
    }
}

.bd-hk-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.bd-hk-bg i {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: bd-hk-float 12s ease-in-out infinite;
}

.bd-hk-bg i:nth-child(1) {
    width: 30vmax;
    height: 30vmax;
    right: -8vmax;
    top: -10vmax;
    background: rgba(166, 108, 255, 0.06);
}

.bd-hk-bg i:nth-child(2) {
    width: 16vmax;
    height: 16vmax;
    left: 46%;
    bottom: -7vmax;
    background: rgba(212, 255, 63, 0.07);
    animation-duration: 16s;
}

.bd-hk-bg i:nth-child(3) {
    width: 12vmax;
    height: 12vmax;
    left: -4vmax;
    top: 30%;
    background: rgba(166, 108, 255, 0.1);
    animation-duration: 10s;
}

.bd-hk-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s var(--bd-hk-ease);
}

.bd-hk.is-ready .bd-hk-canvas {
    opacity: 1;
}

/* still shown until the 3D kit is ready (and as the no-WebGL fallback) */
.bd-hk-still {
    position: absolute;
    z-index: 1;
    right: var(--bd-hk-edge);
    top: 50%;
    width: min(34vw, 500px);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 260px 260px 28px 28px;
    transform: translateY(-46%);
    transition: opacity 1s var(--bd-hk-ease);
}

.bd-hk-still-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-hk.is-ready .bd-hk-still {
    opacity: 0;
}

/* CSS brand kit (no still image set): five glossy app-icon tiles in a fan */
.bd-hk-still-kit {
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 50% at 50% 45%, rgba(166, 108, 255, 0.22), rgba(166, 108, 255, 0) 70%);
}

.bd-hk-still-kit i {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24%;
    aspect-ratio: 1 / 1.08;
    padding-bottom: 6%;
    border-radius: 30%;
    font-family: var(--bd-hk-ff-display);
    font-size: clamp(20px, 2.8vw, 42px);
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    background: var(--bd-hk-violet);
    box-shadow: 0 22px 34px -22px rgba(0, 0, 0, 0.85), inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
    animation: bd-hk-tile 6s ease-in-out infinite;
}

/* CTA strip */
.bd-hk-still-kit i::after {
    content: "";
    position: absolute;
    left: 16%;
    right: 16%;
    bottom: 10%;
    height: 11%;
    border-radius: 99px;
    background: var(--bd-hk-lime);
}

.bd-hk-still-kit i:nth-child(1) { left: 6%; top: 52%; --r: -24deg; }
.bd-hk-still-kit i:nth-child(2) { left: 22%; top: 30%; --r: -9deg; animation-delay: -1s; }
.bd-hk-still-kit i:nth-child(3) { left: 40%; top: 22%; animation-delay: -2s; }
.bd-hk-still-kit i:nth-child(4) { left: 57%; top: 30%; --r: 8deg; animation-delay: -3s; color: var(--bd-hk-violet); background: #16131f; box-shadow: 0 22px 34px -22px rgba(0, 0, 0, 0.85), inset 0 0 0 5px var(--bd-hk-violet); }
.bd-hk-still-kit i:nth-child(5) { left: 72%; top: 46%; --r: 18deg; width: 21%; animation-delay: -4s; }

@media (max-width: 991.98px) {
    .bd-hk-still {
        right: 50%;
        top: auto;
        bottom: 6vh;
        width: min(62vw, 300px);
        transform: translateX(50%);
    }
}

/* ------------------------------------------------------------------ intro copy */
.bd-hk-copy {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: var(--bd-hk-edge);
    width: min(640px, 48vw);
    transform: translateY(-44%);
    translate: calc(var(--k, 0) * -40px) 0;
}

@media (max-width: 991.98px) {
    .bd-hk-copy {
        top: calc(var(--bd-hk-head) + 10px);
        left: 20px;
        right: 20px;
        width: auto;
        transform: none;
    }
}

.bd-hk-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 8px 16px 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.04);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #d9d9de;
}

.bd-hk-kicker i {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bd-hk-lime);
    box-shadow: 0 0 12px var(--bd-hk-lime);
}

@media (max-width: 991.98px) {
    .bd-hk-kicker {
        margin-bottom: 14px;
        font-size: 11px;
    }
}

.bd-hk-title {
    font-family: var(--bd-hk-ff-display);
    font-size: min(104px, 6.6vw);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--bd-hk-text);
}

.bd-hk-title > span {
    display: block;
    white-space: nowrap;
}

.bd-hk-title em,
.bd-hk-chapter-title em,
.bd-hk-reveal-title em {
    font-family: var(--bd-hk-ff-serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.04em;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--bd-hk-violet);
}

@media (max-width: 991.98px) {
    .bd-hk-title {
        font-size: 60px;
    }
}

@media (max-width: 575.98px) {
    .bd-hk-title {
        font-size: 48px;
    }
}

@media (max-height: 760px) and (min-width: 992px) {
    .bd-hk-title {
        font-size: 74px;
    }
}

/* the core line: brand + ads → more views → more income */
.bd-hk-flow {
    margin: 24px 0 0 !important;
}

.bd-hk-flow-in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.bd-hk-flow-in span {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 15px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--bd-hk-text);
}

.bd-hk-flow-in span:last-child {
    border-color: var(--bd-hk-lime);
    background: var(--bd-hk-lime);
    color: #070707;
}

.bd-hk-flow-in i {
    font-style: normal;
    font-weight: 700;
    color: var(--bd-hk-lime);
}

.bd-hk-text {
    max-width: 470px;
    margin: 18px 0 30px !important;
    font-size: 17px;
    line-height: 1.65;
    color: var(--bd-hk-muted);
}

@media (max-width: 991.98px) {
    .bd-hk-flow {
        margin-top: 14px !important;
    }

    .bd-hk-flow-in {
        gap: 6px 7px;
    }

    .bd-hk-flow-in span {
        height: 30px;
        padding: 0 11px;
        font-size: 12.5px;
    }

    .bd-hk-text {
        margin: 12px 0 18px !important;
        font-size: 15.5px;
        line-height: 1.6;
    }
}

.bd-hk-btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
}

.bd-hk .bd-hk-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 7px 7px 7px 26px;
    border-radius: 60px;
    background: var(--bd-hk-lime);
    color: #070707;
    font-family: var(--bd-hk-ff-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 40px -12px rgba(212, 255, 63, 0.55);
    transition: background-color 0.4s var(--bd-hk-ease), color 0.4s var(--bd-hk-ease), box-shadow 0.4s var(--bd-hk-ease);
}

.bd-hk .bd-hk-btn:hover,
.bd-hk .bd-hk-btn:focus-visible {
    background: #ffffff;
    color: #070707;
}

.bd-hk-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #070707;
    color: var(--bd-hk-lime);
    transition: transform 0.5s var(--bd-hk-ease);
}

.bd-hk-btn-icon svg {
    width: 18px;
    height: 18px;
}

.bd-hk .bd-hk-btn:hover .bd-hk-btn-icon {
    transform: rotate(-45deg);
}

.bd-hk .bd-hk-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--bd-hk-text);
    text-decoration: none;
    transition: color 0.3s var(--bd-hk-ease);
}

.bd-hk .bd-hk-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.4s var(--bd-hk-ease);
}

.bd-hk .bd-hk-link:hover {
    color: var(--bd-hk-lime);
}

.bd-hk .bd-hk-link:hover svg {
    transform: translate(2px, -2px);
}

@media (max-width: 991.98px) {
    .bd-hk .bd-hk-btn {
        padding: 5px 5px 5px 20px;
        font-size: 14px;
    }

    .bd-hk-btn-icon {
        width: 40px;
        height: 40px;
    }
}

.bd-hk-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 30px;
    margin-top: 40px !important;
    font-size: 14px;
    font-weight: 500;
    color: var(--bd-hk-muted);
}

.bd-hk-meta li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.bd-hk-meta b {
    font-family: var(--bd-hk-ff-display);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    color: var(--bd-hk-text);
}

.bd-hk-stars {
    display: inline-flex;
    gap: 2px;
}

.bd-hk-stars svg {
    width: 14px;
    height: 14px;
    fill: var(--bd-hk-lime);
}

.bd-hk-meta > li > svg {
    width: 16px;
    height: 16px;
    color: var(--bd-hk-lime);
}

@media (max-width: 991.98px) {
    .bd-hk-meta {
        display: none;
    }
}

/* "kit of the week" tag (intro only): top right, clear of the 3D set and the phone */
.bd-hk-badge {
    position: absolute;
    z-index: 5;
    right: var(--bd-hk-edge);
    top: calc(var(--bd-hk-head) + 34px);
    display: grid;
    gap: 3px;
    padding: 16px 22px;
    border-radius: 18px;
    background: var(--bd-hk-glass);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid var(--bd-hk-line);
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
    font-size: 13.5px;
    color: var(--bd-hk-muted);
}

.bd-hk-badge b {
    font-family: var(--bd-hk-ff-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--bd-hk-text);
}

.bd-hk-badge-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bd-hk-lime);
}

@media (max-width: 991.98px) {
    .bd-hk-badge {
        display: none;
    }
}

/* ------------------------------------------------------------------ chapter stepper */
.bd-hk-steps {
    position: absolute;
    z-index: 6;
    top: calc(var(--bd-hk-head) + 28px);
    left: var(--bd-hk-edge);
    opacity: 0;
    visibility: hidden;
    translate: 0 calc(var(--k, 1) * -14px);
}

.bd-hk-steps ol {
    display: flex;
    gap: 8px;
}

.bd-hk .bd-hk-steps a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 18px 0 8px;
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--bd-hk-line);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 600;
    color: var(--bd-hk-muted);
    text-decoration: none;
    transition: background-color 0.4s var(--bd-hk-ease), color 0.4s var(--bd-hk-ease), border-color 0.4s var(--bd-hk-ease);
}

.bd-hk-steps a i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 11.5px;
    font-style: normal;
    font-weight: 700;
    color: var(--bd-hk-text);
    transition: background-color 0.4s var(--bd-hk-ease), color 0.4s var(--bd-hk-ease);
}

/* chapter name + the growth step under it */
.bd-hk-step-label {
    display: grid;
    gap: 2px;
    line-height: 1.05;
    text-align: left;
}

.bd-hk-step-label b {
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
}

.bd-hk-step-label small {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.72;
}

.bd-hk .bd-hk-steps a:hover {
    color: var(--bd-hk-text);
    background: rgba(255, 255, 255, 0.1);
}

.bd-hk-steps .is-done a i {
    background: var(--bd-hk-violet);
    color: #ffffff;
}

.bd-hk .bd-hk-steps .is-active a {
    background: var(--bd-hk-lime);
    border-color: var(--bd-hk-lime);
    color: #070707;
}

.bd-hk-steps .is-active a i {
    background: #070707;
    color: var(--bd-hk-lime);
}

@media (max-width: 991.98px) {
    .bd-hk-steps {
        top: calc(var(--bd-hk-head) + 4px);
        left: 20px;
        right: 20px;
    }

    .bd-hk-steps ol {
        gap: 6px;
    }

    .bd-hk .bd-hk-steps a {
        height: 36px;
        padding: 0 5px;
        gap: 8px;
        font-size: 13px;
    }

    .bd-hk-steps a i {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    /* only the active step shows its name on small screens */
    .bd-hk .bd-hk-steps li:not(.is-active) a {
        gap: 0;
    }

    .bd-hk .bd-hk-steps li:not(.is-active) .bd-hk-step-label {
        display: none;
    }

    .bd-hk .bd-hk-steps .is-active a {
        padding-right: 14px;
    }

    .bd-hk-step-label b {
        font-size: 12.5px;
    }

    .bd-hk-step-label small {
        font-size: 9.5px;
    }
}

.bd-hk-steps-bar {
    display: block;
    height: 2px;
    margin-top: 14px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.bd-hk-steps-bar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--bd-hk-violet), var(--bd-hk-lime));
    transform: scaleX(0);
    transform-origin: left center;
}

/* ------------------------------------------------------------------ chapter captions */
.bd-hk-chapters {
    position: absolute;
    z-index: 5;
    top: calc(var(--bd-hk-head) + 108px);
    left: var(--bd-hk-edge);
    width: min(440px, 36vw);
    height: auto;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .bd-hk-chapters {
        top: auto;
        bottom: 22px;
        left: 20px;
        right: 20px;
        width: auto;
        height: 230px;
        transform: none;
    }
}

.bd-hk-chapter {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    translate: 0 calc(var(--k, 1) * 26px);
}

.bd-hk-chapter p {
    max-width: 420px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--bd-hk-muted);
}

@media (max-width: 991.98px) {
    .bd-hk-chapter {
        top: auto;
        bottom: 0;
    }

    .bd-hk-chapter p {
        font-size: 15px;
        line-height: 1.6;
    }
}

.bd-hk-chapter-kicker {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--bd-hk-lime);
}

.bd-hk-chapter-title {
    margin: 12px 0 14px !important;
    font-family: var(--bd-hk-ff-display);
    font-size: min(72px, 5vw);
    font-weight: 800;
    line-height: 0.94;
    letter-spacing: -0.005em;
    text-transform: uppercase;
    color: var(--bd-hk-text);
}

@media (max-width: 991.98px) {
    .bd-hk-chapter-title {
        margin: 8px 0 10px !important;
        font-size: 40px;
    }
}

.bd-hk-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px !important;
}

.bd-hk-options li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 14px;
    border-radius: 60px;
    border: 1px solid var(--bd-hk-line);
    background: rgba(255, 255, 255, 0.05);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--bd-hk-muted);
    transition: background-color 0.4s var(--bd-hk-ease), color 0.4s var(--bd-hk-ease), border-color 0.4s var(--bd-hk-ease), transform 0.4s var(--bd-hk-ease);
}

.bd-hk-options li.is-on {
    background: var(--bd-hk-text);
    border-color: var(--bd-hk-text);
    color: #070707;
    transform: translateY(-2px);
}

.bd-hk-options.is-shades li::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--c);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

@media (max-width: 991.98px) {
    .bd-hk-options {
        margin-top: 12px !important;
        gap: 5px;
    }

    .bd-hk-options li {
        height: 29px;
        padding: 0 10px;
        font-size: 12px;
    }
}

/* ------------------------------------------------------------------ live "your brand kit" card: the kit + growth counters */
.bd-hk-card {
    position: absolute;
    z-index: 5;
    left: var(--bd-hk-edge);
    bottom: 18px;
    display: grid;
    gap: 11px;
    padding: 14px 22px 15px;
    border-radius: 22px;
    background: var(--bd-hk-glass);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid var(--bd-hk-line);
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    translate: 0 calc(var(--k, 1) * 18px);
}

.bd-hk-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.bd-hk-card-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bd-hk-lime);
}

.bd-hk-card-title svg {
    width: 16px;
    height: 16px;
}

.bd-hk-card-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bd-hk-muted);
}

.bd-hk-card-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3fdc8a;
    box-shadow: 0 0 0 3px rgba(63, 220, 138, 0.2);
    animation: bd-hk-live 1.6s ease-in-out infinite;
}

@keyframes bd-hk-live {
    50% { opacity: 0.35; }
}

.bd-hk-card dl {
    display: flex;
    gap: 24px;
}

.bd-hk-card dl > div {
    display: grid;
    gap: 2px;
}

/* values change while scrolling: keep the columns from jumping */
.bd-hk-card-kit > div:nth-child(1) { min-width: 146px; }
.bd-hk-card-kit > div:nth-child(2) { min-width: 108px; }
.bd-hk-card-kit > div:nth-child(3) { min-width: 104px; }
.bd-hk-card-kit > div:nth-child(4) { min-width: 146px; }

.bd-hk-card dt {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bd-hk-muted);
}

.bd-hk-card dd {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--bd-hk-text);
}

.bd-hk-card dd i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #0b0a10, 0 0 0 3px rgba(255, 255, 255, 0.35);
    transition: background-color 0.4s var(--bd-hk-ease);
}

.bd-hk-card-stats {
    padding-top: 11px;
    border-top: 1px solid var(--bd-hk-line);
}

.bd-hk-card-stats > div {
    min-width: 96px;
}

.bd-hk-card-stats dd {
    align-items: baseline;
    gap: 5px;
}

.bd-hk-card-stats b {
    font-family: var(--bd-hk-ff-display);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--bd-hk-lime);
}

.bd-hk-card-stats small {
    font-size: 11px;
    font-weight: 600;
    color: var(--bd-hk-muted);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .bd-hk-card {
        display: none;
    }
}

/* phones + tablets: the live counters as a slim strip under the stepper */
@media (max-width: 991.98px) {
    .bd-hk-card {
        top: calc(var(--bd-hk-head) + 62px);
        bottom: auto;
        left: 20px;
        right: 20px;
        padding: 8px 14px 9px;
        border-radius: 16px;
    }

    .bd-hk-card-head,
    .bd-hk-card-kit {
        display: none !important;
    }

    .bd-hk-card-stats {
        justify-content: space-between;
        gap: 8px;
        padding-top: 0;
        border-top: 0;
    }

    .bd-hk-card-stats > div {
        min-width: 0;
    }

    .bd-hk-card dt {
        font-size: 9.5px;
        letter-spacing: 0.1em;
    }

    .bd-hk-card-stats b {
        font-size: 21px;
    }

    .bd-hk-card-stats small {
        display: none;
    }
}

/* growth panel inside the card: Jan–Jun bars + lime line, ROAS gauge (driven by the scroll) */
.bd-hk-growth {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-top: 11px;
    border-top: 1px solid var(--bd-hk-line);
}

.bd-hk-growth-chart {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 420px;
}

.bd-hk-growth-gauge {
    flex: 0 0 104px;
    text-align: center;
}

.bd-hk-growth-label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--bd-hk-muted);
}

.bd-hk-growth svg,
.bd-hk-card-mini svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.bd-hk-growth text {
    font-family: var(--bd-hk-ff-body);
    font-size: 8.5px;
    font-weight: 600;
    fill: rgba(255, 255, 255, 0.55);
}

.bd-hk-dot {
    transition: opacity 0.3s ease;
}

.bd-hk .bd-hk-gauge-val {
    font-family: var(--bd-hk-ff-display);
    font-size: 22px;
    font-weight: 800;
    fill: #ffffff;
}

.bd-hk-gauge-note {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--bd-hk-muted);
}

/* mini gauge in the counters row: short screens and phones */
.bd-hk-card .bd-hk-card-mini {
    display: none;
}

.bd-hk-card-mini svg {
    width: 58px;
}

.bd-hk .bd-hk-card-mini .bd-hk-gauge-val {
    font-size: 30px;
}

@media (min-width: 992px) and (max-height: 880px) {
    .bd-hk-growth {
        display: none;
    }

    .bd-hk-card .bd-hk-card-mini {
        display: grid;
    }
}

@media (max-width: 991.98px) {
    .bd-hk-growth {
        display: none;
    }

    .bd-hk-card .bd-hk-card-mini {
        display: grid;
    }

    .bd-hk-card-mini svg {
        width: 50px;
    }
}

/* ------------------------------------------------------------------ reveal */
.bd-hk-reveal {
    position: absolute;
    z-index: 6;
    top: 50%;
    left: var(--bd-hk-edge);
    width: min(540px, 40vw);
    transform: translateY(-46%);
    translate: 0 calc(var(--k, 1) * 30px);
    opacity: 0;
    visibility: hidden;
}

@media (max-width: 991.98px) {
    .bd-hk-reveal {
        top: auto;
        bottom: 22px;
        left: 20px;
        right: 20px;
        width: auto;
        transform: none;
    }

    .bd-hk-reveal .bd-hk-kicker {
        margin-bottom: 10px;
    }
}

.bd-hk-reveal-title {
    font-family: var(--bd-hk-ff-display);
    font-size: min(64px, 4.4vw);
    font-weight: 800;
    line-height: 0.94;
    letter-spacing: -0.005em;
    text-transform: uppercase;
    color: var(--bd-hk-text);
}

.bd-hk-reveal-title [data-hk-sum] {
    color: var(--bd-hk-lime);
}

@media (max-width: 991.98px) {
    .bd-hk-reveal-title {
        font-size: 42px;
    }
}

.bd-hk-reveal-text {
    max-width: 460px;
    margin: 16px 0 18px !important;
    font-size: 17px;
    line-height: 1.65;
    color: var(--bd-hk-muted);
}

@media (max-width: 991.98px) {
    .bd-hk-reveal-text {
        margin: 10px 0 16px !important;
        font-size: 15px;
        line-height: 1.6;
    }
}

/* the final growth numbers */
.bd-hk-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
    gap: 12px 10px;
    margin: 0 0 24px !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid var(--bd-hk-line);
}

.bd-hk-stats li {
    display: grid;
    align-content: start;
    gap: 5px;
}

.bd-hk-stats b {
    font-family: var(--bd-hk-ff-display);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--bd-hk-lime);
}

.bd-hk-stats span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bd-hk-muted);
}

.bd-hk-stats small {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    opacity: 0.85;
}

.bd-hk-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bd-hk .bd-hk-swatches button {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 45%), var(--c);
    border: 3px solid var(--bd-hk-bg);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 10px 20px -12px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    transition: transform 0.4s var(--bd-hk-ease), box-shadow 0.4s var(--bd-hk-ease);
}

.bd-hk .bd-hk-swatches button:hover {
    transform: translateY(-3px);
}

.bd-hk .bd-hk-swatches button.is-on {
    box-shadow: 0 0 0 2px var(--bd-hk-ring), 0 10px 20px -12px rgba(0, 0, 0, 0.8);
    transform: scale(1.08);
}

.bd-hk .bd-hk-swatches button:focus-visible {
    outline: 2px solid var(--bd-hk-ring);
    outline-offset: 4px;
}

@media (max-width: 991.98px) {
    .bd-hk-swatches {
        gap: 10px;
    }

    .bd-hk .bd-hk-swatches button {
        width: 38px;
        height: 38px;
    }
}

.bd-hk-reveal-btns {
    margin-top: 26px;
}

@media (max-width: 991.98px) {
    .bd-hk-reveal-btns {
        margin-top: 18px;
        padding-right: 52px;
    }
}

/* ------------------------------------------------------------------ scroll hint */
.bd-hk-scroll {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--bd-hk-muted);
    pointer-events: none;
}

.bd-hk-scroll span {
    position: relative;
    width: 24px;
    height: 38px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.bd-hk-scroll span::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 7px;
    width: 4px;
    height: 8px;
    border-radius: 2px;
    background: var(--bd-hk-lime);
    animation: bd-hk-wheel 1.8s ease-in-out infinite;
}

@media (max-width: 991.98px) {
    .bd-hk-scroll {
        display: none;
    }
}

/* small laptops: keep the copy clear of the 3D set */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .bd-hk-copy {
        width: 44vw;
    }

    .bd-hk-chapters {
        width: 38vw;
    }

    .bd-hk-reveal {
        width: 42vw;
    }

    .bd-hk-title {
        font-size: 64px;
    }

    .bd-hk-reveal-title {
        font-size: 54px;
    }
}

/* ------------------------------------------------------------------ line callouts (desktop): placed by the script */
.bd-hk-tags {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.bd-hk-tag {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    max-width: 230px;
    padding: 6px 12px 7px;
    border-radius: 11px;
    background: rgba(16, 14, 26, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 26px -16px rgba(0, 0, 0, 0.9);
    font-size: 11.5px;
    line-height: 1.25;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.66);
    opacity: 0;
    will-change: transform, opacity;
}

.bd-hk-tag b,
.bd-hk-tag small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bd-hk-tag b {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #ffffff;
}

.bd-hk-tag small {
    margin-top: 1px;
    font-size: inherit;
}

.bd-hk-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.bd-hk-cline {
    opacity: 0;
}

.bd-hk-cline path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.6);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bd-hk-cline-dot {
    fill: var(--bd-hk-lime);
    stroke: #050507;
    stroke-width: 1.5;
}

.bd-hk-cline-ring {
    fill: none;
    stroke: var(--bd-hk-lime);
    stroke-width: 1.2;
    transform-box: fill-box;
    transform-origin: center;
    animation: bd-hk-ping 2.2s ease-out infinite;
}

.bd-hk-cline:nth-child(2) .bd-hk-cline-ring { animation-delay: -0.45s; }
.bd-hk-cline:nth-child(3) .bd-hk-cline-ring { animation-delay: -0.9s; }
.bd-hk-cline:nth-child(4) .bd-hk-cline-ring { animation-delay: -1.35s; }
.bd-hk-cline:nth-child(5) .bd-hk-cline-ring { animation-delay: -1.8s; }

@keyframes bd-hk-ping {
    0% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(3); opacity: 0; }
}

@media (max-width: 991.98px) {
    .bd-hk-tags {
        display: none;
    }
}

.bd-hk.is-static .bd-hk-tags {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .bd-hk-cline-ring {
        animation: none;
        opacity: 0;
    }
}

/* ------------------------------------------------------------------ static hero (no WebGL): one screen with the still */
.bd-hk.is-static {
    height: auto !important;
}

.bd-hk.is-static .bd-hk-stage {
    position: relative;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
}

.bd-hk.is-static .bd-hk-canvas,
.bd-hk.is-static .bd-hk-steps,
.bd-hk.is-static .bd-hk-chapters,
.bd-hk.is-static .bd-hk-card,
.bd-hk.is-static .bd-hk-reveal,
.bd-hk.is-static .bd-hk-scroll {
    display: none;
}

@media (max-width: 991.98px) {
    .bd-hk.is-static .bd-hk-stage {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: calc(var(--bd-hk-head) + 20px) 20px 50px;
    }

    .bd-hk.is-static .bd-hk-copy {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
    }

    .bd-hk.is-static .bd-hk-still {
        position: relative;
        right: auto;
        bottom: auto;
        order: 2;
        margin: 40px auto 0;
        transform: none;
    }
}

/* ------------------------------------------------------------------ Elementor editor: one phase, no scrolling */
.elementor-widget-bdevs-el-hero-kit3d .bd-hk.is-editor {
    height: 100vh !important;
}

.bd-hk.is-editor .bd-hk-stage {
    position: relative;
}

@media (prefers-reduced-motion: reduce) {
    .bd-hk-bg i,
    .bd-hk-still-kit i,
    .bd-hk-scroll span::before {
        animation: none;
    }
}

/* ------------------------------------------------------------------ growth story: fit short screens + phones */
@media (min-width: 992px) and (max-height: 840px) {
    /* the badge would touch the 3D set on short screens */
    .bd-hk-badge {
        display: none;
    }

    /* chapters start under the stepper */
    .bd-hk-chapters {
        top: calc(var(--bd-hk-head) + 118px);
        height: auto;
        transform: none;
    }

    .bd-hk-flow {
        margin-top: 18px !important;
    }

    .bd-hk-text {
        margin: 14px 0 22px !important;
    }

    .bd-hk-meta {
        margin-top: 26px !important;
    }

    .bd-hk-chapter-title {
        margin: 10px 0 12px !important;
        font-size: min(56px, 4.2vw);
    }

    .bd-hk-chapter p {
        font-size: 15.5px;
        line-height: 1.55;
    }

    .bd-hk-options {
        margin-top: 16px !important;
    }

    .bd-hk-options li {
        height: 32px;
        padding: 0 13px;
        font-size: 12.5px;
    }

    .bd-hk-card {
        bottom: 18px;
        gap: 8px;
        padding: 11px 20px 12px;
    }

    .bd-hk-card-stats {
        padding-top: 8px;
    }

    .bd-hk-card-stats b {
        font-size: 24px;
    }

    .bd-hk-reveal-title {
        font-size: min(52px, 3.8vw);
    }

    .bd-hk-stats b {
        font-size: 28px;
    }
}

@media (max-width: 991.98px) {
    .bd-hk-btns {
        gap: 14px 18px;
    }

    .bd-hk-stats {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        margin-bottom: 16px !important;
        padding-top: 10px !important;
    }

    .bd-hk-stats b {
        font-size: 24px;
    }

    .bd-hk-stats span {
        font-size: 9.5px;
        letter-spacing: 0.06em;
    }

    .bd-hk-stats small {
        display: block;
        font-size: 9px;
    }

    .bd-hk-reveal-btns {
        margin-top: 16px;
    }
}

@media (max-width: 575.98px) {
    .bd-hk-reveal-text {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bd-hk-card-live i {
        animation: none;
    }
}
