/* ── Grad Counter block ──────────────────────────────────────────────────────── */

.nyehs-gc {
    background: #000a73;
    padding:    64px 24px;
    color:      #fff;
    overflow:   hidden;
    text-align: center;
}

/* ── Header ──────────────────────────────────────────────────────────────────── */

.nyehs-gc__header {
    margin-bottom: 48px;
}

.nyehs-gc__label-tag {
    display:        inline-block;
    font-size:      0.6875rem;
    font-weight:    700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color:          rgba(255, 255, 255, 0.45);
    margin-bottom:  12px;
}

.nyehs-gc__heading {
    font-size:   2rem;
    font-weight: 800;
    color:       #fff;
    margin:      0;
    line-height: 1.2;
}

/* ── Grid ────────────────────────────────────────────────────────────────────── */

.nyehs-gc__grid {
    display:         flex;
    flex-wrap:       wrap;
    justify-content: center;
    max-width:       960px;
    margin:          0 auto;
    position:        relative;
}

/* ── Item ────────────────────────────────────────────────────────────────────── */

.nyehs-gc__item {
    flex:      0 0 auto;
    padding:   28px 44px;
    position:  relative;
    min-width: 120px;
}

.nyehs-gc__item + .nyehs-gc__item::before {
    content:    '';
    position:   absolute;
    left:       0;
    top:        15%;
    bottom:     15%;
    width:      1px;
    background: rgba(255, 255, 255, 0.12);
}

/* ── Year ────────────────────────────────────────────────────────────────────── */

.nyehs-gc__year {
    font-size:      0.6875rem;
    font-weight:    700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color:          rgba(255, 255, 255, 0.45);
    margin-bottom:  8px;
}

/* ── Number ──────────────────────────────────────────────────────────────────── */

.nyehs-gc__number {
    font-size:             4rem;
    font-weight:           900;
    line-height:           1;
    color:                 #fff;
    margin-bottom:         8px;
    font-variant-numeric:  tabular-nums;
    font-feature-settings: "tnum";
    letter-spacing:        -0.02em;
}

/* ── Count label ─────────────────────────────────────────────────────────────── */

.nyehs-gc__count-label {
    font-size:      0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color:          rgba(255, 255, 255, 0.4);
}

/* ── Scroll animation ────────────────────────────────────────────────────────── */

.nyehs-gc--animated .nyehs-gc__item {
    opacity:    0;
    transform:  translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.nyehs-gc--animated .nyehs-gc__item.is-visible {
    opacity:   1;
    transform: none;
}

/* ── Reduced motion ──────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .nyehs-gc--animated .nyehs-gc__item {
        transition: none !important;
        animation:  none !important;
        opacity:    1 !important;
        transform:  none !important;
    }
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .nyehs-gc__number {
        font-size: 3rem;
    }

    .nyehs-gc__item {
        padding: 20px 28px;
    }

    .nyehs-gc__item + .nyehs-gc__item::before {
        display: none;
    }

    .nyehs-gc__item + .nyehs-gc__item {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}
