.hero {
    position: relative;
    height: 100vh;
    overflow: hidden; /* THIS IS THE MASK */
    background: #f4f0ea;
}

.hero-triangles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.triangle {
    position: absolute;
    top: -49vh;
    height: 200vh;
    width: 63vw;
    will-change: transform;

    filter: drop-shadow(28px 7px 18px rgba(255, 255, 255, 0.17));
}

.triangle .overlay {
    background: rgba(0, 0, 0, 0.3);
}




/* Darkest / leftmost ON TOP */
/*.t1 { left: -22vw; fill: #0b6f82; z-index: 5; }*/
.t1 { left: -22vw;  z-index: 5; }
/*.t2 { left: 11vw; fill: #3c8fa0; z-index: 4; }*/
.t2 { left: 11vw; z-index: 4; }
/*.t3 { left: 34vw;   fill: #78b3bd; z-index: 3; }*/
.t3 { left: 34vw;   z-index: 3; }



.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    height: fit-content;
    margin-top: 10.8%;
    position: absolute;
    inset: 0;
    z-index: 7;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;
    pointer-events: none; /* avoids blocking scroll */
}

.hero-overlay > * {
    pointer-events: auto;
}

.hero-eyebrow {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    opacity: 0.85;
    /*opacity: 0;*/
    font-weight: 400;
}

.hero-logo svg {
    /*width: clamp(220px, 30vw, 420px);*/
    width: 400px;
    height: auto;
    display: block;
}

/* HERO LINE STYLING */
.hero-line {
    width: 100%;
    max-width: 1200px;
    height: 0; /* match stroke width */
    margin: 1.5rem 0 8rem 0;

}

.hero-line line {
    stroke: white;
    stroke-width: 4;
    stroke-linecap: round;
}

.hero-subtext {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.hero-btn {
    font-size: 1rem;
    letter-spacing: 0.03rem;
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-weight: 500;

    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.3);

    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: white;
    color: #0a6c83;
}


.scroll-indicator {
    pointer-events: auto;
    cursor: pointer;

    position: absolute;
    bottom: 5%;
    left: 96%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 7px;
    z-index: 8;

    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--clr-coral-accent);
    text-transform: lowercase;
}

/* spacing */
.scroll-indicator .lees {
    margin-bottom: 4px;
}

/* bounce only "meer" */
.scroll-indicator .meer {
    display: inline-block;

    animation-name: meerBounce;
    animation-duration: 0.6s;
    animation-timing-function: ease-in-out;
    animation-delay: 3s;
    animation-iteration-count: 3;
}

@keyframes meerBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}


/* Hide mobile image by default (desktop) */
.hero-mobile {
    display: none;
}

/* Show mobile image and hide SVG shapes on mobile */
@media (max-width: 760px) {
    .hero-triangles {
        display: none;
    }
    .hero-mobile {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        pointer-events: none;
    }
    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Adjust overlay for mobile */
    .hero-overlay {
        gap: 30px;
        width: 77%;
        margin: 0 auto;
        top: 157px;
    }


    .hero-line {
        margin: 0;
    }
    .hero-logo svg {
        width: 280px;
    }
    .hero-subtext {
        font-size: 1.5rem;
    }
    .hero-btn {
        padding: 15px;
        font-size: 1rem;
        white-space: break-spaces;
        width: 100%;
    }
    .scroll-indicator {
        display: none;
    }
}

