.hero {
    display: flex;
    position: relative;
    align-items: center;
    overflow: hidden;
}

.hero__container {
    width: 100%;
    z-index: 2;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero__title {
    font-size: var(--size-2xl);
    line-height: 1.2;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: 1rem;
    color: var(--clr-lightgold);
}

.hero__title-line {
    white-space: nowrap;
}

.hero__subtitle {
    font-size: var(--size-lg);
    margin-bottom: 1rem;
    font-style: italic;
}

.hero__description {
    font-size: var(--size-base);
    margin-bottom: 0.5rem;
}

.hero__established {
    font-size: var(--size-base);
    font-weight: bold;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.hero__stats {
    margin-bottom: 0.5rem;
}

.stat-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--size-2xl);
    font-weight: 700;
    color: var(--clr-lightgold);
}

.stat-label {
    font-size: var(--size-base);
    font-weight:600;
}

.hero__image-container {
    width: 105%;
    height: 350px;
    margin-bottom: -30px;
    overflow: hidden;
    position: relative;
}

.hero__image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    clip-path: ellipse(65% 57% at 50% 75%);
    z-index: 1;
}

.curved-line {
    position: absolute;
    width: 100%;
    height: 65%;
    top: 20px;
    left: 0;
    z-index: 2;
}

.curved-line::before {
    content: '';
    position: absolute;
    width: 143%;
    height: 213%;
    left: 50%;
    transform: translate(-50%, 7.4%);
    border: 8px solid transparent;
    border-radius: 50%;
    background-image: linear-gradient(
        to bottom,
        var(--clr-darkgold) 0%,
        var(--clr-lightgold) 2%,
        var(--clr-mediumgold) 8%,
        var(--clr-newdark) 12%
    );
    background-origin: border-box;
    -webkit-mask: 
       linear-gradient(#fff 0 0) padding-box, 
       linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* mobile-first media queries */
/* xs */
/* @media (min-width: 475px) {} */

/* sm */
@media (min-width: 640px) {
    .hero__title {
        font-size: var(--size-3xl);
    }
    
    .hero__subtitle {
        font-size: var(--size-xl);
    }
    
    .hero__description {
        font-size: var(--size-lg);
    }
    
    .hero__established {
        font-size: var(--size-lg);
    }
    
    .stat-number {
        font-size: var(--size-3xl);
    }
    
    .stat-label {
        font-size: var(--size-lg);
    }

    .hero__image-container {
        height: 400px;
    }
    
    .curved-line::before {
    width: 140%;
    height: 227%;
    left: 50%;
    }
}

/* md */
@media (min-width: 768px) {
    .hero {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .hero__content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .hero__text {
        padding-right: 1rem;
        padding-left: 6rem;
        width: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nowrap {
        white-space: nowrap;
    }
    
    .hero__image-container {
        height: 500px;
        width: 65%;
        margin-bottom: 0;
        margin-right: -24%;
    }
    
    .hero__image {
        clip-path: ellipse(95% 75% at right center);
    }
    
    .curved-line {
        width: 130%;
        height:  62%;
        top: 75px;
    }
    
    .curved-line::before {
        left: 0;
        transform: translate(2%, -25%);
        width: 125%;
        height: 225%;
        background-image: linear-gradient(
            to right,
            var(--clr-lightgold) 0%,
            var(--clr-mediumgold) 1%,
            var(--clr-newdark) 6%);
    }
}

/* lg */
@media (min-width: 1024px) {
    .hero__text {
        padding-left: 8rem;
    }

    .hero__title {
        font-size: var(--size-midxl);
    }
    
    .hero__subtitle {
        font-size: var(--size-2xl);
    }
    
    .hero__description {
        font-size: var(--size-2xl);
    }

    .hero__established {
        font-size: var(--size-xl);
    }
    
    .stat-number {
        font-size: var(--size-3xl);
    }
    
    .stat-label {
        font-size: var(--size-xl);
    }

    .hero__image {
        clip-path: ellipse(95% 80% at right center);
    }
    
    .curved-line {
        height: 63%;
        top: 95px;
    }

    .curved-line::before {
        left: 0;
        transform: translate(2.7%, -28%);
        width: 111%;
    }
}

/* xl */
@media (min-width: 1280px) {
   .hero__title {
        font-size: var(--size-5xl);
    }
    
    .hero__subtitle {
        font-size: var(--size-3xl);
    }
    
    .hero__description {
        font-size: var(--size-3xl);
    }

    .hero__established {
        font-size: var(--size-2xl);
    }
    
    .stat-number {
        font-size: var(--size-4xl);
    }
    
    .stat-label {
        font-size: var(--size-2xl);
    }

    .hero__image {
        clip-path: ellipse(97% 99% at right center);
    }
    
    .curved-line {
        height: 65%;
        top: 67px;
    }

    .curved-line::before {
        transform: translate(3%, -25%);
        width: 70%;
    }
}

/* 2xl */
@media (min-width: 1536px) {
    .hero__title {
        font-size: var(--size-6xl);
    }
    
    .hero__subtitle {
        font-size: var(--size-4xl);
    }
    
    .hero__image-container {
        height: 600px;
    }
    
    .curved-line {
        height: 64%;
        top: 86px;
    }
}

/* .particle-line,
.neon-line {
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    height: 2px;
    transform: translateY(-50%);
}

.particle-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        var(--clr-lightgold) 10px,
        var(--clr-lightgold) 12px
    );
    animation: particleFlow 5s linear infinite;
}

@keyframes particleFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.neon-line {
    background-color: var(--clr-lightgold);
    box-shadow: 0 0 10px var(--clr-lightgold), 0 0 20px var(--clr-lightgold);
    opacity: 0.7;
} */

/* md */
/* @media (min-width: 768px) {
    .particle-line,
    .neon-line {
        top: 10%;
        bottom: 10%;
        left: 50%;
        width: 2px;
        height: 80%;
        transform: translateX(-50%);
    }

    .particle-line::before {
        background: repeating-linear-gradient(
            0deg,
            transparent,
            transparent 10px,
            var(--clr-lightgold) 10px,
            var(--clr-lightgold) 12px
        );
    }

    @keyframes particleFlow {
        0% { transform: translateY(-100%); }
        100% { transform: translateY(100%); }
    }
} */