  /* reset & base */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    background: #fff; /* subtle warm background for demo */
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #502110;
    border-radius:8px;
}

::-webkit-scrollbar-thumb:hover {
    background: #502110;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #502110 #f1f1f1;
}

.xpertnext-heading {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 20px 15px;
}

.xpertnext-subtitle {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #502110;
}

.xpertnext-heading h2 {
    margin: 0 0 14px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #24130d;
}

.xpertnext-heading p {
    max-width: 620px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
    color: #6d625e;
}

@media (max-width: 576px) {
    .xpertnext-heading {
        padding: 15px 20px;
    }

    .xpertnext-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .xpertnext-heading h2 {
        font-size: 32px;
    }

    .xpertnext-heading p {
        font-size: 14px;
        line-height: 1.7;
    }
}

.animatex {
  animation: headingAnim linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 45%;
}

@keyframes headingAnim {
  from {
    transform: translateY(60px) scale(0.85);
    /* letter-spacing: 0.4em; */
  }
  to {
    /* transform: translateY(0) scale(1); */
    /* letter-spacing: normal; */
  }
}