/* Apple-style smooth ease-out animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: revealAnimation 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    animation: revealScaleAnimation 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

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

@keyframes revealScaleAnimation {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Hero headline: fluid sizing so "Premium gifting." and "Beautifully packaged." stay on single lines */
.hero-headline {
    font-size: clamp(1.125rem, 6vw + 0.75rem, 4.5rem);
    line-height: 1.1;
}

@media (min-width: 400px) {
    .hero-headline {
        font-size: clamp(1.5rem, 5vw + 1rem, 4.5rem);
    }
}

@media (min-width: 640px) {
    .hero-headline {
        font-size: clamp(2rem, 4vw + 1.5rem, 4.5rem);
    }
}

@media (min-width: 1024px) {
    .hero-headline {
        font-size: clamp(3rem, 5vw + 1rem, 4.5rem);
    }
}

/* Hero subtitle */
.hero-subtitle {
    font-size: clamp(0.95rem, 1.4vw + 0.7rem, 1.125rem);
    line-height: 1.6;
}

/* Section title "A glimpse of elegance." */
.section-title {
    font-size: clamp(1.6rem, 3vw + 1rem, 2.75rem);
    line-height: 1.15;
}

/* Section subtitle under "A glimpse of elegance." */
.section-subtitle {
    font-size: clamp(0.95rem, 1.3vw + 0.75rem, 1.2rem);
}

/* Grid card titles */
.card-title {
    font-size: clamp(1rem, 1.4vw + 0.7rem, 1.35rem);
}

/* Footer headings and body */
.footer-heading {
    font-size: clamp(1.05rem, 1.4vw + 0.75rem, 1.2rem);
}

.footer-body {
    font-size: clamp(0.85rem, 1.1vw + 0.6rem, 0.95rem);
}

/* Subtle gradient text for emphasis */
.text-gradient-peacock {
    background: linear-gradient(135deg, #0b758a 0%, #1096b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.25em;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(252, 252, 252, 0.9);
    color: #1d1d1f;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(197, 160, 89, 0.18);
    overflow: hidden;
}

.hero-kicker::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(11,117,138,0.08), rgba(197,160,89,0.18), rgba(11,117,138,0.08));
    transform: translateX(-100%);
    animation: heroKickerSweep 3.2s ease-out infinite;
}

.hero-kicker span {
    position: relative;
    z-index: 1;
}

@keyframes heroKickerSweep {
    0% {
        transform: translateX(-120%);
    }
    35% {
        transform: translateX(0%);
    }
    65% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(120%);
    }
}

/* Hero layout */
.hero-section {
    min-height: 85vh;
}

/* Subtle grain texture overlay for hero */
.noise-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Fluid animations for the gradient blobs */
@keyframes blob1 {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(25vw, -15vh) scale(1.1); }
    66% { transform: translate(-10vw, 20vh) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}
@keyframes blob2 {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(-25vw, 20vh) scale(1.2); }
    66% { transform: translate(15vw, -15vh) scale(0.8); }
    100% { transform: translate(0px, 0px) scale(1); }
}
@keyframes blob3 {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(15vw, -25vh) scale(0.9); }
    66% { transform: translate(-20vw, 15vh) scale(1.1); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob-1 { animation: blob1 18s infinite ease-in-out alternate; }
.animate-blob-2 { animation: blob2 22s infinite ease-in-out alternate-reverse; }
.animate-blob-3 { animation: blob3 25s infinite ease-in-out alternate; }

.animation-delay-2000 { animation-delay: -2s; }
.animation-delay-4000 { animation-delay: -5s; }

/* Mobile refinements */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-top: 88px;
        padding-bottom: 16px;
        justify-content: flex-start;
    }

    .hero-kicker {
        padding: 0.25rem 0.7rem;
        letter-spacing: 0.18em;
    }

    .hero-cta {
        width: 100%;
    }
}

/* Hero CTA hover */
.hero-cta {
    transition:
        transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 220ms ease,
        background-color 180ms ease,
        color 180ms ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.hero-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.hero-cta:active {
    transform: translateY(0) scale(0.99);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* Bento grid hover lift */
.bento-item {
    transition:
        transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 220ms ease,
        border-color 180ms ease;
}

.bento-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.28);
}

