/* ═══════════════════════════════════════════════════════════
   HERO — Editorial Warm Dark Theme with Spotlight
   ═══════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'Denton Condensed Test';
    src: url('font/DentonCondensedTest-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}


@font-face {
    font-family: 'Denton Condensed Test';
    src: url('font/DentonCondensedTest-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Denton Condensed Test';
    src: url('font/DentonCondensedTest-BlackItalic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
}

/* ── Header / Hero ── */
header {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #0c0b09;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    color: #e8e0d4;
    overflow: hidden;
}

/* ── Spotlight / Gradient Background ── */
.gradient-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #151310 0%, #0c0b09 100%);
}

/* Cinematic Grain / Noise Texture */
.gradient-bg::before {
    content: "";
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Ffilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.12;
    z-index: 10;
    pointer-events: none;
    mix-blend-mode: overlay;
    animation: noiseFlow 8s steps(10) infinite;
}

@keyframes noiseFlow {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-1%, -1%); }
    20% { transform: translate(1%, 1%); }
    30% { transform: translate(-2%, 0.5%); }
    40% { transform: translate(0.5%, -1.5%); }
    50% { transform: translate(-1%, 2%); }
    60% { transform: translate(1.5%, -0.5%); }
    70% { transform: translate(-0.5%, 1.5%); }
    80% { transform: translate(1.5%, 1%); }
    90% { transform: translate(-1%, -1.5%); }
    100% { transform: translate(0, 0); }
}

/* Professional Spotlight Core */
.gradient-bg .spotlight-wrapper {
    position: absolute;
    bottom: -15vh;
    left: 50%;
    transform: translateX(-50%);
    width: 140vw;
    height: 100vh;
    z-index: 1;
}

.gradient-bg .spotlight-wrapper .blob {
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 100%, 
                rgba(201, 169, 110, 0.09) 0%, 
                rgba(201, 169, 110, 0.03) 40%, 
                transparent 75%);
    filter: blur(80px);
    opacity: 0.9;
    animation: spotlightBreathe 12s ease-in-out infinite;
}

/* Subtle Top Glow for Edge Lighting */
.gradient-bg .blob:nth-child(2) {
    position: absolute;
    top: -20vh;
    left: 10vw;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.04) 0%, transparent 80%);
    filter: blur(100px);
    z-index: 1;
}

/* Floating Light Embers - Deep Ambient */
.gradient-bg .blob:nth-child(3) {
    position: absolute;
    top: 30%;
    right: -10vw;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.03) 0%, transparent 70%);
    filter: blur(120px);
    animation: emberFloat 20s linear infinite;
}

/* Vignette Shadow Overlay */
.gradient-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, 
                transparent 20%, 
                rgba(12, 11, 9, 0.4) 60%, 
                rgba(12, 11, 9, 0.9) 100%);
    z-index: 5;
    pointer-events: none;
}

@keyframes spotlightBreathe {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
    50% { transform: translateX(-50%) scale(1.05); opacity: 1; }
}

@keyframes emberFloat {
    0% { transform: translate(0, 0); }
    33% { transform: translate(-3vw, 5vh); }
    66% { transform: translate(2vw, -3vh); }
    100% { transform: translate(0, 0); }
}

/* Ensure other bulbs from previous iteration are hidden/unobtrusive if HTML still has 4 */
.gradient-bg .blob:nth-child(n+4) {
    display: none;
}

/* ── Header Content ── */
.header-content {
    position: relative;
    z-index: 2;
    width: 50%;
    padding: 0 5rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.header-image {
    position: relative;
    z-index: 2;
    width: 50%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    animation: slideIn 1.2s ease 0.5s forwards;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
}

.header-image img {
    width: 60%;
    height: auto;
    max-width: 60%;
    max-height: 70vh;
    object-fit: contain;
    object-position: right center;
    transition: transform 0.5s ease;
}

.header-image:hover img {
    transform: scale(1.02);
}

header h1 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 3.6rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #e8e0d4;
    letter-spacing: -0.01em;
}

/* Make the first name italic + gold like the reference "Central" */
header h1 .accent-word {
    font-style: italic;
    color: #c9a96e;
}

header h2 {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: rgba(201, 169, 110, 0.7);
    text-align: left;
}

header p {
    font-size: 1.25rem;
    line-height: 1.85;
    color: rgba(232, 224, 212, 0.5);
    margin-bottom: 2rem;
    max-width: 95%;
    font-family: 'Source Serif 4', sans-serif;
    font-weight: 400;
}


/* ── Animations ── */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ── Mobile (up to 480px) ── */
@media screen and (max-width: 480px) {
    header {
        flex-direction: column-reverse;
        height: auto;
        min-height: 100vh;
        justify-content: flex-end;
        padding: 0.5rem 0 3rem 0;
    }

    .header-content {
        width: 100%;
        padding: 1rem 1.5rem;
        text-align: center;
    }

    .header-image {
        width: 100%;
        height: auto;
        justify-content: center;
        padding: 1rem 1.5rem 0 1.5rem;
    }

    .header-image img {
        width: 75%;
        max-width: 260px;
        height: auto;
        max-height: 40vh;
        object-position: center;
    }

    header h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    header h2 {
        font-size: 0.7rem;
        text-align: center;
        margin-bottom: 1.2rem;
    }

    header p {
        font-size: 0.92rem;
        line-height: 1.8;
        max-width: 100%;
    }


    /* Mobile Background Optimization */
    .gradient-bg .spotlight-wrapper { 
        width: 150vw; 
        height: 60vh; 
        bottom: 0; 
        opacity: 0.6;
    }
    .gradient-bg .blob:nth-child(2) { display: none; }
    .gradient-bg::after {
        background: radial-gradient(circle at 50% 30%, 
                transparent 10%, 
                rgba(12, 11, 9, 0.6) 50%, 
                rgba(12, 11, 9, 0.95) 100%);
    }
}

/* ── Tablet ── */
@media screen and (min-width: 481px) and (max-width: 768px) {
    header {
        flex-direction: column-reverse;
        height: auto;
        min-height: 100vh;
        justify-content: flex-end;
    }

    .header-content {
        width: 100%;
        padding: 3rem 2rem;
        text-align: center;
    }

    .header-image {
        width: 100%;
        height: 50vh;
        justify-content: center;
    }

    .header-image img {
        width: 50%;
        height: auto;
        max-width: 50%;
        max-height: 50vh;
        object-position: center;
    }

    header h1 {
        font-size: 2.6rem;
    }

    header h2 {
        text-align: center;
    }

    /* Tablet Background Optimization */
    .gradient-bg .spotlight-wrapper { width: 120vw; height: 80vh; bottom: -5vh; }
    .gradient-bg .blob:nth-child(2) { width: 50vw; height: 50vh; top: -10vh; }
}

/* ── Small Desktop ── */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .header-image {
        width: 100%;
        justify-content: center;
        height: 50vh;
    }

    .header-image img {
        width: 50%;
        height: auto;
        max-width: 50%;
        max-height: 50vh;
        object-position: center;
    }

    .header-content {
        padding: 0 3rem;
    }

    header h1 {
        font-size: 3rem;
    }

    /* Desktop refined lighting */
    .gradient-bg .spotlight-wrapper { width: 130vw; height: 90vh; }
}