@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Work+Sans:wght@400;500&display=swap');

:root {
    --gold: #c9a24c;
    --gold-soft: rgba(201, 162, 76, 0.28);
    --pure-black: #000000;
    --parchment: #f6efe3;
    --font-hero: 'Fraunces', var(--font-display, serif);
}

.hero {
    height: 100vh;
    height: 100dvh;
    min-height: 480px;
    width: 100%;
    background: var(--pure-black);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    text-align: center;
}
.hero-media {
    width: min(30vw, 340px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-title {
    font-family: var(--font-hero);
    font-weight: 500;
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    color: var(--parchment);
    margin: 0.5rem 0 0;
}
.hero-est {
    font-family: var(--font-body, 'Work Sans', sans-serif);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
}

@media (max-width: 768px) {
    .hero-media {
        width: min(55vw, 280px);
    }
    .hero-content {
        padding: 1.5rem;
        gap: 1.25rem;
    }
}

/* ---- Entrance animation ---- */
.hero-media,
.hero-title,
.hero-est,
.hero-content .btn-primary {
    opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-media {
        opacity: 0;
        animation: hero-fade-in 1.4s ease-out 0.1s both;
    }
    .hero-title {
        opacity: 0;
        animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
    }
    .hero-est {
        opacity: 0;
        animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both;
    }
    .hero-content .btn-primary {
        opacity: 0;
        animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1s both;
    }
}

@keyframes hero-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes hero-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Button hover: quiet gold lift, not a bounce */
.hero-content .btn-primary {
    transition: transform 0.3s ease, box-shadow 0.3s ease, letter-spacing 0.3s ease;
}
.hero-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 162, 76, 0.25);
    letter-spacing: 0.02em;
}