.hero-block {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-block__bg {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-block__media {
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    object-position: center;
}

.hero-block__overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-block__bg canvas {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    vertical-align: bottom;
}

.hero-block__wave-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none; 
    will-change: transform, opacity;
}

.hero-block__wave-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-block__container {
    position: relative;
    z-index: 5;
    width: 100%;
    margin: 0 auto;
    padding: 0 3.75rem 5.125rem 3.75rem;
}

.hero-block__title {
    font-size: 5rem;
    line-height: 80%;
    font-weight: 300;
    margin: 0 0 1.5rem 0;
    color: #F6F1EB;
    letter-spacing: -0.02em;
    display: flex;
    flex-wrap: wrap;
    max-width: 55rem;
}

.hero-block__title em {
    color: #D8C5AE;
}

.hero-block__divider {
    width: 9.5rem;
    height: 0.0625rem;
    background-color: #F6F1EB;
    margin-bottom: 1.5rem;
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0;
    will-change: transform, opacity;
}

.hero-block__subtitle {
    font-family: "InstrumentSans Regular", sans-serif;
    font-size: 1.5rem;
    line-height: 2.5rem;
    letter-spacing: 0.035em;
    font-weight: 300;
    color: #F6F1EB;
    margin: 0 0 4.5625rem 0;
    max-width: 34rem;
}

.hero-block__actions {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.hero-block__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-block__btn--secondary {
    font-family: "Fraunces", serif;
    font-size: 1.125rem;
    line-height: 1;
    color: #F6F1EB;
    background: transparent;
    padding: 0; 
    border: none;
}

.hero-block__btn--secondary:hover { opacity: 0.8; }

.hero-block__btn--primary {
    font-family: "Fraunces", serif;
    font-size: 1.125rem;
    line-height: 1;
    color: #F6F1EB;
    background-color: transparent;
    border: 0.0625rem solid #F6F1EB;
    width: 14.3125rem;
    height: 4rem;
    border-radius: 6.25rem;
    backdrop-filter: blur(4px);
}

.hero-block__btn--primary:hover {
    background-color: #F5F2EB;
    color: #1A1A1A;
    border-color: #F5F2EB;
}

.hero-block__scroll-indicator {
    position: absolute;
    bottom: 3.5rem;
    right: 3.5rem;
    width: 1.625rem;
    height: 2.75rem;
    border: 0.125rem solid rgba(245, 242, 235, 0.6);
    border-radius: 1.375rem;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
    z-index: 6;
}

.hero-block__mouse-dot {
    width: 0.25rem;
    height: 0.5rem;
    background-color: #F5F2EB;
    border-radius: 0.125rem;
    animation: scrollAnim 1.8s infinite ease-in-out;
}

@keyframes scrollAnim {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(0.75rem); opacity: 0; }
}

@media (max-width: 64rem) {
    .hero-block__title { font-size: 3rem; }
}

@media (max-width: 48rem) {
    .hero-block__title { font-size: 2.25rem; }
    .hero-block__subtitle { font-size: 1rem; }
    .hero-block__wave-wrapper { display: none; }
}
.hero-block__title .word {
    display: inline-block !important;
    margin-right: 0.25em;
    opacity: 0; 
    will-change: filter, opacity, transform;
}

.hero-block__title em,
.hero-block__title .word-em,
.hero-block__title em .word {
    color: #D8C5AE !important; 
    font-style: italic;         
}
.hero-block {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-block__main-bg-holder,
.hero-block__piece-holder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-block__main-bg-holder {
    z-index: 1;
    clip-path: url(#heroMainClip);
    -webkit-clip-path: url(#heroMainClip);
}

.hero-block__piece-holder {
    z-index: 2;
    clip-path: url(#heroPieceClip);
    -webkit-clip-path: url(#heroPieceClip);
    will-change: transform, opacity;
}

.hero-block__bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-block__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-block__overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.25);
}

.hero-block__container {
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 0 3.75rem 5.125rem 3.75rem;
}
#detachedPiece{
    z-index: 0;
}
