/*
 * Shared EmotiGuy hero styles.
 * Site path: /EmotiGuy/assets/css/hero.css
 */
.emotiguy-page-hero {
    position: relative;
    overflow: hidden;
    min-height: 570px;
    padding: 16px clamp(22px, 5vw, 78px) 54px;
    background:
        radial-gradient(circle at 51% 48%, rgba(255, 255, 255, .96), transparent 43%),
        linear-gradient(116deg, #fff8e8 0%, #fffdf8 57%, #fff7e1 100%);
}

.emotiguy-page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .58));
}

.emotiguy-page-hero__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(255, 211, 75, .2);
}

.emotiguy-page-hero__orb--top {
    width: 300px;
    height: 300px;
    top: -135px;
    right: -70px;
}

.emotiguy-page-hero__orb--bottom {
    width: 200px;
    height: 200px;
    left: -95px;
    bottom: -50px;
}

.emotiguy-page-hero__topbar {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 16px;
    width: min(1500px, 100%);
    margin: 0 auto;
}

.emotiguy-page-hero__logo {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform .2s ease;
}

.emotiguy-page-hero__logo:hover {
    transform: scale(1.06);
}

.emotiguy-page-hero__logo img {
    display: block;
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.emotiguy-page-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 23px;
    border-radius: 999px;
    color: #fff;
    background: #222;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .13);
    text-decoration: none;
    font-weight: 900;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.emotiguy-page-hero__back:hover {
    transform: translateY(-2px);
    background: #111;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .17);
}

.emotiguy-page-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr);
    align-items: start;
    gap: clamp(44px, 7vw, 112px);
    width: min(1420px, 100%);
    min-height: 440px;
    margin: 20px auto 0;
}

.emotiguy-page-hero__copy {
    max-width: 700px;
}

.emotiguy-page-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 9px 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, #fff3b8, #ffec91);
    box-shadow: inset 0 0 0 1px rgba(255, 197, 47, .15);
    font-size: .82rem;
    font-weight: 950;
    letter-spacing: .08em;
}

.emotiguy-page-hero__copy h1 {
    margin: 0;
    font-size: clamp(3.4rem, 6.5vw, 6rem);
    line-height: .94;
    letter-spacing: -.05em;
}

.emotiguy-page-hero__description {
    max-width: 700px;
    margin: 26px 0 0;
    color: #5e5e5e;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.65;
}

.emotiguy-page-hero__note {
    max-width: 700px;
    margin: 24px 0 0;
    color: rgba(0, 0, 0, .5);
    font-size: .8rem;
    line-height: 1.6;
}

.emotiguy-page-hero__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 470px;
}

.emotiguy-page-hero__glow {
    position: absolute;
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 202, 47, .28), transparent 70%);
    filter: blur(14px);
}

.emotiguy-page-hero__photo {
    position: relative;
    z-index: 2;
    width: min(430px, 90%);
    margin: 0;
    padding: 11px 11px 16px;
    border: 1px solid rgba(47, 39, 25, .1);
    border-radius: 8px;
    background: #fff;
    box-shadow:
        0 36px 75px rgba(44, 38, 23, .2),
        0 10px 24px rgba(44, 38, 23, .1);
    transform: rotate(-3deg);
    transform-origin: center;
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.emotiguy-page-hero__photo::before {
    content: "";
    position: absolute;
    z-index: 4;
    top: -14px;
    left: 50%;
    width: 100px;
    height: 29px;
    background: rgba(255, 230, 135, .82);
    box-shadow: 0 3px 7px rgba(53, 42, 19, .09);
    transform: translateX(-50%) rotate(2deg);
    pointer-events: none;
}

.emotiguy-page-hero__photo-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    background: #eee9df;
}

.emotiguy-page-hero__photo-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .14),
            transparent 34%,
            transparent 72%,
            rgba(0, 0, 0, .06)
        );
}

.emotiguy-page-hero__photo-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.emotiguy-page-hero__photo-caption {
    padding: 13px 8px 0;
    color: #29251f;
    text-align: center;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.emotiguy-page-hero__visual:hover .emotiguy-page-hero__photo {
    transform: rotate(-1.5deg) translateY(-5px);
    box-shadow:
        0 42px 85px rgba(44, 38, 23, .23),
        0 14px 28px rgba(44, 38, 23, .12);
}

.emotiguy-page-hero__floating {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 17px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 15px 32px rgba(63, 50, 23, .12);
    backdrop-filter: blur(8px);
    font-weight: 900;
}

.emotiguy-page-hero__floating--one {
    top: 11%;
    left: -2%;
    transform: rotate(-5deg);
}

.emotiguy-page-hero__floating--two {
    right: -3%;
    bottom: 14%;
    transform: rotate(5deg);
}

@media (max-width: 1050px) {
    .emotiguy-page-hero__inner {
        grid-template-columns: 1fr .78fr;
        gap: 34px;
    }
}

@media (max-width: 760px) {
    .emotiguy-page-hero__topbar {
        gap: 10px;
    }

    .emotiguy-page-hero__logo,
    .emotiguy-page-hero__logo img {
        width: 52px;
        height: 52px;
    }

    .emotiguy-page-hero__back {
        padding: 12px 19px;
    }

    .emotiguy-page-hero__inner {
        grid-template-columns: 1fr;
        min-height: 0;
        margin-top: 44px;
        text-align: center;
    }

    .emotiguy-page-hero__copy {
        max-width: none;
    }

    .emotiguy-page-hero__description,
    .emotiguy-page-hero__note {
        margin-left: auto;
        margin-right: auto;
    }

    .emotiguy-page-hero__copy h1 {
        font-size: clamp(3.2rem, 16vw, 5.3rem);
    }

    .emotiguy-page-hero__visual {
        min-height: 410px;
        margin-top: 12px;
    }

    .emotiguy-page-hero__photo {
        width: min(350px, 86%);
    }

    .emotiguy-page-hero__photo-image {
        aspect-ratio: 4 / 3;
    }

    .emotiguy-page-hero__floating {
        font-size: .84rem;
    }

    .emotiguy-page-hero__floating--one {
        left: 0;
    }

    .emotiguy-page-hero__floating--two {
        right: 0;
    }
}
