/* ALINA CHOPRA — AURORA RIBBONS 2.0 */

.ac-hero {
    isolation: isolate;
    background: var(--hero-bg);
}

/* Retire the old blurred aurora layer */
.ac-hero .ac-after-dark,
.ac-hero .ac-hero__ambient {
    display: none !important;
}

/* Retire the previous gradient overlay */
.ac-hero::before {
    display: none !important;
}

.ac-hero .ac-ribbons {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.ac-hero .ac-ribbons__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.ac-hero .ac-ribbons__moving {
    transform-origin: center;
    transform-box: fill-box;
    will-change: transform;
}

.ac-hero .ac-ribbons__one {
    stroke-dasharray: 450 100;
    animation: ac-ribbon-flow-one 12s ease-in-out infinite;
}

.ac-hero .ac-ribbons__two {
    stroke-dasharray: 380 85;
    animation: ac-ribbon-flow-two 15s ease-in-out infinite;
}

.ac-hero .ac-ribbons__three {
    stroke-dasharray: 250 70;
    animation: ac-ribbon-flow-one 18s ease-in-out infinite;
}

.ac-hero .ac-ribbons__glow {
    animation: ac-ribbon-breathe 11s ease-in-out infinite alternate;
}

.ac-hero .ac-ribbons__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--hero-bg) 75%, transparent) 0%,
        color-mix(in srgb, var(--hero-bg) 28%, transparent) 46%,
        transparent 100%
    );
}

.ac-hero .ac-hero__inner {
    position: relative;
    z-index: 2;
}

/* Transparent cutout portrait: no arch */
.ac-hero .ac-hero__visual::before {
    content: none !important;
}

.ac-hero .ac-hero__portrait-frame {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

@keyframes ac-ribbon-flow-one {
    0%, 100% {
        stroke-dashoffset: 0;
        opacity: .52;
    }
    50% {
        stroke-dashoffset: -130;
        opacity: .9;
    }
}

@keyframes ac-ribbon-flow-two {
    0%, 100% {
        stroke-dashoffset: 0;
        opacity: .78;
    }
    50% {
        stroke-dashoffset: 100;
        opacity: .44;
    }
}

@keyframes ac-ribbon-breathe {
    from { opacity: .38; }
    to { opacity: .72; }
}

@media (max-width: 760px) {
    .ac-hero .ac-ribbons__svg {
        width: 180%;
        max-width: none;
        left: -45%;
    }

    .ac-hero .ac-ribbons__shade {
        background: linear-gradient(
            180deg,
            color-mix(in srgb, var(--hero-bg) 70%, transparent) 0%,
            color-mix(in srgb, var(--hero-bg) 15%, transparent) 48%,
            transparent 100%
        );
    }
}

@media (prefers-reduced-motion: reduce) {
    .ac-hero .ac-ribbons__one,
    .ac-hero .ac-ribbons__two,
    .ac-hero .ac-ribbons__three,
    .ac-hero .ac-ribbons__glow {
        animation: none !important;
    }

    .ac-hero .ac-ribbons__moving {
        will-change: auto;
    }
}
/* AC RIBBONS STABILITY FIX */

/* Let the SVG paths animate without cursor-driven transforms. */
.ac-hero .ac-ribbons__moving {
    will-change: auto;
    transform: none !important;
}

/* Mobile: create a safe area for the speech bubble. */
@media (max-width: 760px) {
    .ac-hero .ac-hero__visual {
        margin-top: 65px;
    }

    .ac-hero .ac-hero__bubble {
        top: -52px !important;
        bottom: auto !important;
        left: 8px !important;
        right: auto !important;
        max-width: 215px;
        min-width: 0;
        padding: 14px 19px;
        font-size: 16px;
        line-height: 1.25;
        transform: rotate(-6deg);
    }

    .ac-hero .ac-hero__portrait-frame {
        position: relative;
        z-index: 2;
    }

    .ac-hero .ac-hero__bubble {
        z-index: 5;
    }
}

@media (max-width: 420px) {
    .ac-hero .ac-hero__visual {
        margin-top: 80px;
    }

    .ac-hero .ac-hero__bubble {
        top: -65px !important;
        left: 4px !important;
        max-width: 185px;
        font-size: 14px;
    }
}
/* =====================================================
   AC STATIC RIBBON EDITION — ZERO BACKGROUND ANIMATION
   ===================================================== */

.ac-hero .ac-ribbons__moving,
.ac-hero .ac-ribbons__one,
.ac-hero .ac-ribbons__two,
.ac-hero .ac-ribbons__three,
.ac-hero .ac-ribbons__glow {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    will-change: auto !important;
}

.ac-hero .ac-ribbons__one,
.ac-hero .ac-ribbons__two,
.ac-hero .ac-ribbons__three {
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
}

/* Keep the existing artwork visible */
.ac-hero .ac-ribbons__one { opacity: .65; }
.ac-hero .ac-ribbons__two { opacity: .55; }
.ac-hero .ac-ribbons__three { opacity: .48; }
.ac-hero .ac-ribbons__glow { opacity: .48; }

/* Quiet the ribbons immediately behind the headline */
.ac-hero .ac-ribbons__shade {
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--hero-bg) 72%, transparent) 0%,
        color-mix(in srgb, var(--hero-bg) 35%, transparent) 35%,
        transparent 78%
    );
}

/* Preserve a clean mobile composition */
@media (max-width: 760px) {
    .ac-hero .ac-ribbons__shade {
        background: linear-gradient(
            180deg,
            color-mix(in srgb, var(--hero-bg) 66%, transparent) 0%,
            color-mix(in srgb, var(--hero-bg) 24%, transparent) 48%,
            transparent 100%
        );
    }
}
/* RIGHT COMIC BUBBLE — STATIC */
.ac-hero .ac-hero__bubble--right-cta {
    top: 29%;
    right: -7%;
    bottom: auto;
    left: auto;
    z-index: 7;
    width: max-content;
    max-width: 210px;
    min-width: 0;
    padding: 17px 20px;
    background: #78f0cd;
    color: #092b35;
    border: 2px solid #092b35;
    border-radius: 50% 46% 49% 45% / 47% 52% 46% 53%;
    box-shadow: 5px 6px 0 rgba(0,0,0,.45);
    transform: rotate(7deg);
    font-size: clamp(15px,1.4vw,20px);
    line-height: 1.3;
    text-decoration: none;
    text-align: center;
    animation: none !important;
}

.ac-hero .ac-hero__bubble--right-cta::after {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 24%;
    width: 23px;
    height: 24px;
    background: #78f0cd;
    border-left: 2px solid #092b35;
    border-bottom: 2px solid #092b35;
    clip-path: polygon(0 0,100% 0,20% 100%);
}

.ac-hero a.ac-hero__bubble--right-cta {
    cursor: pointer;
}

.ac-hero a.ac-hero__bubble--right-cta:focus-visible {
    outline: 3px solid white;
    outline-offset: 5px;
}

@media (max-width: 1100px) and (min-width: 761px) {
    .ac-hero .ac-hero__bubble--right-cta {
        right: 0;
        top: 34%;
    }
}

@media (max-width: 760px) {
    .ac-hero .ac-hero__visual {
        margin-top: 125px;
    }

    .ac-hero .ac-hero__bubble:not(.ac-hero__bubble--right-cta) {
        top: -110px !important;
        left: 0 !important;
        right: auto !important;
        max-width: 46%;
        min-width: 0;
        padding: 12px 10px;
        font-size: 13px;
    }

    .ac-hero .ac-hero__bubble--right-cta {
        top: -110px !important;
        right: 0 !important;
        left: auto !important;
        bottom: auto !important;
        max-width: 46%;
        padding: 12px 10px;
        font-size: 13px;
        transform: rotate(5deg);
    }
}

@media (max-width: 420px) {
    .ac-hero .ac-hero__visual {
        margin-top: 135px;
    }

    .ac-hero .ac-hero__bubble:not(.ac-hero__bubble--right-cta),
    .ac-hero .ac-hero__bubble--right-cta {
        top: -120px !important;
        font-size: 12px;
        line-height: 1.25;
    }
}
/* AURORA TAPESTRY LAYOUT V2 — ALL ARTWORK STATIC */
.ac-hero #ac-ribbon-tapestry-top,
.ac-hero #ac-ribbon-tapestry-bottom,
.ac-hero #ac-ribbon-tapestry-top *,
.ac-hero #ac-ribbon-tapestry-bottom * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

/* Desktop: two distinct speech bubbles */
@media (min-width: 761px) {
    .ac-hero .ac-hero__bubble:not(.ac-hero__bubble--right-cta) {
        top: 8%;
        left: -20%;
        right: auto;
        bottom: auto;
    }

    .ac-hero .ac-hero__bubble--right-cta {
        top: 39%;
        right: -12%;
        left: auto;
        bottom: auto;
    }
}

/* Mobile: separate both bubbles above the portrait */
@media (max-width: 760px) {
    .ac-hero .ac-hero__visual {
        margin-top: 150px;
    }

    .ac-hero .ac-hero__bubble:not(.ac-hero__bubble--right-cta) {
        top: -132px !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        max-width: 45%;
        min-width: 0;
        padding: 13px 10px;
        font-size: 12px;
        transform: rotate(-6deg);
    }

    .ac-hero .ac-hero__bubble--right-cta {
        top: -132px !important;
        right: 0 !important;
        left: auto !important;
        bottom: auto !important;
        max-width: 45%;
        min-width: 0;
        padding: 13px 10px;
        font-size: 12px;
        transform: rotate(6deg);
    }

    .ac-hero .ac-ribbons__svg {
        width: 200%;
        left: -55%;
    }
}

@media (max-width: 420px) {
    .ac-hero .ac-hero__visual {
        margin-top: 155px;
    }

    .ac-hero .ac-hero__bubble:not(.ac-hero__bubble--right-cta),
    .ac-hero .ac-hero__bubble--right-cta {
        top: -140px !important;
        font-size: 11px;
        padding: 12px 8px;
    }
}
/* FINE-LINE SILK TAPESTRY — SLIM RIBBON EDITION */

/* Original three ribbons */
.ac-hero .ac-ribbons__one {
    stroke-width: 7px !important;
    opacity: .52 !important;
}

.ac-hero .ac-ribbons__two {
    stroke-width: 6px !important;
    opacity: .45 !important;
}

.ac-hero .ac-ribbons__three {
    stroke-width: 4px !important;
    opacity: .42 !important;
}

/* Remove broad blurred ribbon halos */
.ac-hero .ac-ribbons__glow {
    display: none !important;
}

/* Slim the newly added upper trails */
.ac-hero #ac-ribbon-tapestry-top path:nth-child(1) {
    stroke-width: 4px !important;
    opacity: .36 !important;
}

.ac-hero #ac-ribbon-tapestry-top path:nth-child(3) {
    stroke-width: 3px !important;
    opacity: .30 !important;
}

/* Slim the broad lower folds */
.ac-hero #ac-ribbon-tapestry-bottom path:nth-child(1) {
    stroke-width: 8px !important;
    opacity: .38 !important;
}

.ac-hero #ac-ribbon-tapestry-bottom path:nth-child(2) {
    stroke-width: 5px !important;
    opacity: .35 !important;
}

/* Preserve all delicate highlight strokes */
.ac-hero #ac-ribbon-tapestry-top path:nth-child(2),
.ac-hero #ac-ribbon-tapestry-top path:nth-child(4),
.ac-hero #ac-ribbon-tapestry-bottom path:nth-child(3),
.ac-hero #ac-ribbon-tapestry-bottom path:nth-child(4) {
    opacity: .48 !important;
}

/* Keep every ribbon static */
.ac-hero .ac-ribbons__svg path {
    animation: none !important;
    transition: none !important;
}

/* MOBILE SPEECH BUBBLES — CLOSER TO PORTRAIT */
@media (max-width: 760px) {
    .ac-hero .ac-hero__bubble:not(.ac-hero__bubble--right-cta) {
        top: -57px !important;
    }

    .ac-hero .ac-hero__bubble--right-cta {
        top: -57px !important;
    }
}

@media (max-width: 420px) {
    .ac-hero .ac-hero__bubble:not(.ac-hero__bubble--right-cta),
    .ac-hero .ac-hero__bubble--right-cta {
        top: -65px !important;
    }
}
