/* ========================================
   HERO SECTION - THREE LAYERS
======================================== */

.hero {
    position: relative;
    height: 100vh;
    height: 100dvh; /* Android: accounts for dynamic address bar */
    overflow: hidden;
}

/* LAYER 1: Video Background */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Blur overlay — noise layer with cursor-driven reveal hole */
.hero-blur-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    backdrop-filter: blur(15px) brightness(0.7);
    -webkit-backdrop-filter: blur(15px) brightness(0.7);
    background: rgba(0, 0, 0, 0.18);
    /* Reveal hole driven by cursor.js CSS vars */
    --reveal-x: 50%;
    --reveal-y: 50%;
    --reveal-r: 0px;
    -webkit-mask-image: radial-gradient(
        circle var(--reveal-r) at var(--reveal-x) var(--reveal-y),
        transparent 0, transparent 98%, black 100%);
    mask-image: radial-gradient(
        circle var(--reveal-r) at var(--reveal-x) var(--reveal-y),
        transparent 0, transparent 98%, black 100%);
}

@media (prefers-reduced-motion: reduce) {
    .hero-blur-overlay { --reveal-r: 0px !important; }
}

/* LAYER 2: Hero Content Overlay */
.hero-content-overlay {
    position: absolute;
    top: clamp(140px, 20vh, 220px);
    left: var(--page-gutter);
    transform: none;
    z-index: 10;
    width: min(820px, calc(100vw - (var(--page-gutter) * 2)));
    max-width: 820px;
    padding: 2.2rem 2.2rem 2.0rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.48));
    backdrop-filter: blur(14px);
    border-radius: 14px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.05rem, 2.65vw, 3.15rem);
    font-weight: 700;
    line-height: 1.08;
    color: #FFFFFF;
    margin-bottom: 1.15rem;
    letter-spacing: -0.02em;
    max-width: 26ch;
}

.hero-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.05rem, 1.35vw, 1.28rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.15rem;
    max-width: 58ch;
}

.hero-support {
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 2.1rem;
    max-width: 54ch;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* LAYER 3: Name Signature (Bottom of video) */
.hero-video-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem var(--page-gutter) 2.5rem;
    z-index: 5;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    pointer-events: none;
}

.hero-video-name h1 {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: clamp(4.9rem, 22vw, 13.3rem);
    font-weight: 400;
    line-height: 0.8;
    letter-spacing: 0.04em;
    color: #FFFFFF;
    text-transform: none;
    width: 100%;
    text-align: left;
    padding-left: 0;
    white-space: nowrap;
    overflow: visible;
}
