/*
 * Homepage — Editorial Portfolio
 * pomsy.space — Design Engineering (Matching updated_ui.jpeg & Prompt Sections 2, 3, 4)
 */

/* ── Hero Section (Two-Column Asymmetrical) ── */
.hero-section {
    padding-top: clamp(4.75rem, 8.5vw, 7.5rem);
    padding-bottom: clamp(1.25rem, 2vw, 2rem);
    position: relative;
    z-index: 10;
}

.hero-layout {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 6vw, 5rem);
    position: relative;
}

/* ── Hero Left: Botanical Photo Collage ── */
.hero-photo-wrap {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    max-width: clamp(340px, 34vw, 440px);
    transform-origin: center center;
    transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-collage-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    filter: drop-shadow(0 14px 28px rgba(45, 52, 38, 0.10)) drop-shadow(0 2px 6px rgba(45, 52, 38, 0.05));
    transition: filter 300ms cubic-bezier(0.23, 1, 0.32, 1);
    user-select: none;
    -webkit-user-drag: none;
}

@media (hover: hover) and (pointer: fine) {
    .hero-photo-wrap:hover {
        transform: translateY(-4px) rotate(0.6deg);
    }
    .hero-photo-wrap:hover .hero-collage-img {
        filter: drop-shadow(0 22px 38px rgba(45, 52, 38, 0.16)) drop-shadow(0 4px 10px rgba(45, 52, 38, 0.08));
    }
}

.hero-photo-wrap:active {
    transform: scale(0.98);
    transition-duration: 120ms;
}

/* ── Hero Right: Typographic Lockup (Name & Descriptors) ── */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding-left: var(--space-8);
}

.hero-name {
    font-family: var(--font-serif);
    font-size: clamp(3.75rem, 8vw, 6.25rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.015em;
    color: var(--color-text);
    margin: 0 0 var(--space-28);
    opacity: 0;
    transform: translateY(8px);
    animation: heroFadeIn 450ms var(--ease-out) forwards 60ms;
}

/* Three Descriptors in Vertical Rhythm with Sparkle */
.hero-descriptors {
    display: flex;
    align-items: flex-start;
    gap: var(--space-12);
    opacity: 0;
    transform: translateY(8px);
    animation: heroFadeIn 450ms var(--ease-out) forwards 140ms;
}

.hero-sparkle {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.5;
    margin-top: 1px;
}

.hero-descriptor-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero-descriptor-item {
    font-family: var(--font-serif-sub);
    font-size: 1.25rem;
    line-height: 1.35;
    color: var(--color-text);
    font-style: normal;
    letter-spacing: 0.01em;
}

/* ── Interactive Callout Above Green Card (Left Side) ── */
.callout-wrapper {
    max-width: 860px;
    margin: clamp(2.5rem, 5vw, 4.5rem) auto 0;
    padding-left: var(--space-16);
    display: flex;
    justify-content: flex-start;
    position: relative;
    z-index: 15;
}

.tab-peek-callout {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: var(--font-script);
    font-size: 1.25rem;
    line-height: 1.15;
    color: var(--color-text-muted);
    user-select: none;
    position: relative;
    transform: rotate(-3deg);
    margin-bottom: -10px;
}

.tab-peek-callout__arrow {
    width: 24px;
    height: 28px;
    margin-left: 14px;
    margin-top: 2px;
    color: var(--color-text-muted);
}

/* ── Animations ── */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-name,
    .hero-descriptors {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ── Responsive Hero ── */
@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
        gap: var(--space-32);
    }

    .hero-photo-wrap {
        max-width: clamp(280px, 86vw, 360px);
        margin: 0 auto;
    }

    .hero-content {
        align-items: center;
        padding-left: 0;
    }

    .hero-descriptors {
        justify-content: center;
    }

    .callout-wrapper {
        justify-content: center;
        padding-left: 0;
    }
}
