/* ALINA CHOPRA — THE MIDNIGHT COVER */

.ac-hero,
.ac-hero * {
    box-sizing: border-box;
}

.ac-hero {
    --hero-bg: #092B35;
    --hero-gradient: #453477;
    --hero-accent: #78F0CD;
    --hero-text: #F4FFFC;
    --hero-bubble-bg: #F4FFFC;
    --hero-bubble-text: #092B35;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 740px;
    color: var(--hero-text);
    background: var(--hero-bg);
}

.ac-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse at 76% 35%,
            var(--hero-gradient),
            transparent 58%
        ),
        linear-gradient(
            125deg,
            var(--hero-bg) 10%,
            transparent 100%
        );
    opacity: .78;
}

.ac-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: rgba(255,255,255,.13);
}

.ac-hero__ambient {
    position: absolute;
    width: 700px;
    height: 700px;
    right: -160px;
    top: -100px;
    border-radius: 50%;
    background: var(--hero-accent);
    filter: blur(180px);
    opacity: .055;
    pointer-events: none;
}

.ac-hero__inner {
    position: relative;
    width: min(100%, 1600px);
    min-height: 740px;
    margin: 0 auto;
    padding: 80px clamp(28px, 6vw, 110px) 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    gap: 10px;
}

.ac-hero__content {
    position: relative;
    z-index: 5;
    min-width: 0;
    padding-bottom: 95px;
}

.ac-hero__heading {
    position: relative;
    z-index: 2;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(76px, 8.2vw, 145px);
    font-weight: 400;
    line-height: .87;
    letter-spacing: -.085em;
}

.ac-hero__heading span,
.ac-hero__heading em {
    display: block;
}

.ac-hero__heading em {
    margin-top: 18px;
    color: var(--hero-accent);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -.09em;
}

.ac-hero__description {
    max-width: 455px;
    margin: 43px 0 0;
    color: rgba(244,255,252,.76);
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.9;
}

.ac-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 35px;
}

.ac-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 15px 28px;
    border-radius: 3px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.ac-hero__button--primary {
    color: var(--hero-bg);
    background: var(--hero-accent);
    border: 1px solid var(--hero-accent);
}

.ac-hero__button--secondary {
    color: var(--hero-text);
    background: transparent;
    border: 1px solid rgba(244,255,252,.42);
}

.ac-hero__button:hover {
    transform: translateY(-3px);
}

.ac-hero__button--secondary:hover {
    border-color: var(--hero-accent);
}

.ac-hero__button:focus-visible {
    outline: 2px solid var(--hero-accent);
    outline-offset: 4px;
}

/* FULL-HEIGHT EDITORIAL PORTRAIT */

.ac-hero__visual {
    position: relative;
    align-self: end;
    min-width: 0;
    height: 660px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    isolation: isolate;
}

.ac-hero__visual::before {
    content: "";
    position: absolute;
    inset: 9% 4% 0;
    z-index: -1;
    border-radius: 50% 50% 0 0;
    background:
        linear-gradient(
            155deg,
            var(--hero-gradient),
            var(--hero-bg)
        );
    box-shadow: inset 0 0 90px rgba(0,0,0,.12);
}

.ac-hero__visual::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: auto -15% 0;
    height: 95px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--hero-bg)
    );
}

.ac-hero__portrait-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.ac-hero__portrait {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.ac-hero__portrait-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--hero-text);
    font-family: Arial, sans-serif;
    font-size: 12px;
    letter-spacing: .12em;
}

.ac-hero__placeholder-monogram {
    font-family: Georgia, serif;
    font-size: 150px;
    color: var(--hero-accent);
    opacity: .5;
}

.ac-hero__portrait-placeholder small {
    margin-top: 10px;
    opacity: .6;
    letter-spacing: 0;
}

/* PLAYFUL EDITORIAL SPEECH BUBBLE */

.ac-hero__bubble {
    position: absolute;
    z-index: 6;
    max-width: 250px;
    min-width: 165px;
    padding: 21px 25px;
    color: var(--hero-bubble-text);
    background: var(--hero-bubble-bg);
    border: 2px solid var(--hero-bubble-text);
    border-radius: 48% 52% 47% 53% / 53% 47% 53% 47%;
    box-shadow: 6px 7px 0 rgba(0,0,0,.45);
    font-family: Georgia, serif;
    font-size: clamp(17px, 1.5vw, 22px);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    transform: rotate(-7deg);
}

.ac-hero__bubble span {
    position: relative;
    z-index: 2;
}

.ac-hero__bubble--speech::after {
    content: "";
    position: absolute;
    bottom: -19px;
    left: 55%;
    width: 29px;
    height: 30px;
    background: var(--hero-bubble-bg);
    border-right: 2px solid var(--hero-bubble-text);
    border-bottom: 2px solid var(--hero-bubble-text);
    clip-path: polygon(0 0, 100% 0, 80% 100%);
}

.ac-hero__bubble--thought i {
    position: absolute;
    display: block;
    border: 2px solid var(--hero-bubble-text);
    border-radius: 50%;
    background: var(--hero-bubble-bg);
}

.ac-hero__bubble--thought i:first-of-type {
    width: 19px;
    height: 19px;
    bottom: -23px;
    left: 55%;
}

.ac-hero__bubble--thought i:last-of-type {
    width: 10px;
    height: 10px;
    bottom: -40px;
    left: 65%;
}

.ac-hero__bubble--top-left {
    top: 7%;
    left: -15%;
}

.ac-hero__bubble--top-right {
    top: 7%;
    right: -8%;
}

.ac-hero__bubble--bottom-left {
    bottom: 24%;
    left: -15%;
}

.ac-hero__bubble--bottom-right {
    bottom: 24%;
    right: -8%;
}

/* MOTION */

@keyframes ac-cover-content {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ac-cover-image {
    from { opacity: 0; transform: translateY(35px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ac-cover-bubble {
    from { opacity: 0; transform: rotate(-12deg) scale(.75); }
    to { opacity: 1; transform: rotate(-7deg) scale(1); }
}

.ac-hero--animated .ac-hero__content {
    animation: ac-cover-content .75s ease both;
}

.ac-hero--animated .ac-hero__portrait-frame--reveal {
    animation: ac-cover-image .9s .1s ease both;
}

.ac-hero--animated .ac-hero__bubble-animation--pop {
    animation: ac-cover-bubble .6s .6s ease both;
}

/* TABLET */

@media (max-width: 1100px) {
    .ac-hero__inner {
        min-height: 640px;
        padding-left: 35px;
        padding-right: 35px;
    }

    .ac-hero__heading {
        font-size: clamp(60px, 7.5vw, 95px);
    }

    .ac-hero__visual {
        height: 590px;
    }

    .ac-hero__bubble--top-left,
    .ac-hero__bubble--bottom-left {
        left: -5%;
    }
}

/* MOBILE */

@media (max-width: 760px) {
    .ac-hero {
        min-height: auto;
    }

    .ac-hero__inner {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 60px 22px 0;
    }

    .ac-hero__content {
        padding-bottom: 15px;
    }

    .ac-hero__heading {
        font-size: clamp(51px, 12vw, 85px);
        line-height: .95;
    }

    .ac-hero__heading em {
        margin-top: 9px;
    }

    .ac-hero__description {
        margin-top: 26px;
        font-size: 15px;
        line-height: 1.75;
    }

    .ac-hero__actions {
        margin-top: 27px;
        gap: 12px;
    }

    .ac-hero__button {
        min-height: 49px;
        padding: 13px 19px;
        font-size: 11px;
    }

    .ac-hero__visual {
        width: 100%;
        max-width: 470px;
        height: clamp(380px, 105vw, 530px);
        margin: 0 auto;
    }

    .ac-hero__visual::before {
        inset: 12% 6% 0;
    }

    .ac-hero__bubble {
        max-width: 55%;
        min-width: 140px;
        padding: 15px;
        font-size: 16px;
    }

    .ac-hero__bubble--top-left,
    .ac-hero__bubble--bottom-left {
        left: 0;
    }

    .ac-hero__bubble--top-right,
    .ac-hero__bubble--bottom-right {
        right: 0;
    }
}

@media (max-width: 420px) {
    .ac-hero__heading {
        font-size: clamp(44px, 11.5vw, 54px);
    }

    .ac-hero__visual {
        height: 390px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ac-hero *,
    .ac-hero *::before,
    .ac-hero *::after {
        animation: none !important;
        transition: none !important;
    }
}