/* ==========================================================================
   Hero Block
   Full-viewport hero with video/image background, logo, triangles, headline
   ========================================================================== */

.cf-hero {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 600px;
    overflow: hidden;
    background-color: #000000;
}

/* === Background === */
.cf-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cf-hero__bg video,
.cf-hero__bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cf-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

/* === Navigation === */
.cf-hero__nav {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: clamp(1rem, 2.78vw, 2.5rem);
}

/* === Logo Circle === */
.cf-hero__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(60px, 7.64vw, 110px);
    height: clamp(60px, 7.64vw, 110px);
    padding: clamp(10px, 1.11vw, 16px);
    background-color: #FFFFFF;
    border-radius: 9999px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.cf-hero__logo:hover {
    transform: scale(1.05);
}

.cf-hero__logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* === Yellow Triangle — Bottom Left (Mobile only) === */
.cf-hero__triangle-bl {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    pointer-events: none;
    display: none;
}

.cf-hero__triangle-bl svg {
    width: clamp(80px, 10.9vw, 157px);
    height: auto;
}

/* === Hero Content === */
.cf-hero__content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: clamp(180px, 20vw, 260px);
    margin-top: calc(-1 * clamp(60px, 7.64vw, 110px) - clamp(1rem, 2.78vw, 2.5rem) * 2);
}

.cf-hero__content-inner {
    text-align: center;
    will-change: opacity;
}

/* === Headline === */
.cf-hero__headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 1.5rem + 4.17vw, 5rem);
    line-height: 1;
    letter-spacing: -2.4px;
    color: #FFFFFF;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.cf-hero__headline-regular {
    font-weight: 400;
}

.cf-hero__headline-bold {
    font-weight: 600;
}

/* === Scroll Indicator === */
.cf-hero__scroll-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
    color: #FFFFFF;
    animation: cf-bounce 2.2s ease-in-out infinite;
}

.cf-hero__scroll {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.75;
    margin: 0;
}

.cf-hero__scroll-arrow {
    width: 14px;
    height: 42px;
    opacity: 0.55;
    display: block;
}

@keyframes cf-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* === Mobile === */
@media (max-width: 767px) {
    .cf-hero__triangle-bl {
        display: block;
    }
}

/* === Gutenberg Editor === */
.editor-styles-wrapper .cf-hero {
    margin-left: -1em;
    margin-right: -1em;
}
