.joira-editorial-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 480px;
    aspect-ratio: 1672 / 941;
    padding: clamp(40px, 5vw, 96px);
    overflow: hidden;
    background: #302d29;
    color: #fff;
}
.joira-editorial-hero .je-hero-media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.joira-editorial-hero .je-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.joira-editorial-hero .je-hero-copy {
    width: 45%;
    max-width: 760px;
    padding-block: 24px;
}
.joira-editorial-hero .je-hero-title {
    margin: 0;
    color: #fff;
    font-family: var(--font-playfair), Georgia, serif;
    font-size: clamp(38px, 5.65vw, 108px);
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}
.joira-editorial-hero .je-hero-title span { display: block; }
.joira-beauty .joira-editorial-hero .je-hero-title { color: #fff; }
.joira-editorial-hero .je-hero-lead {
    max-width: 32ch;
    margin: 20px 0 0;
    color: #f5f1ed;
    font-size: clamp(16px, 1.6vw, 27px);
    font-weight: 400;
    line-height: 1.5;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.joira-editorial-hero .je-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 100%;
    min-height: 52px;
    margin-top: clamp(28px, 2.8vw, 48px);
    border: 1px solid #ffffffc9;
    border-radius: 0;
    padding: 17px 30px;
    background: transparent;
    color: #fff;
    font-size: clamp(13px, 1.05vw, 17px);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .16em;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}
.je-hero-cta span { overflow-wrap: anywhere; }
.je-hero-cta svg { flex-shrink: 0; }
.joira-editorial-hero .je-hero-cta:hover { background: #fff; color: #302d29; }
.joira-editorial-hero .je-hero-cta:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
@media (min-width: 640px) and (max-width: 1023px) {
    .joira-editorial-hero { min-height: 440px; padding: 40px 32px; }
    .joira-editorial-hero .je-hero-copy { width: 48%; }
    .joira-editorial-hero .je-hero-title { font-size: clamp(36px, 5.5vw, 56px); }
    .joira-editorial-hero .je-hero-lead { font-size: 17px; max-width: 27ch; }
    .joira-editorial-hero .je-hero-cta { padding: 15px 20px; gap: 16px; letter-spacing: .11em; }
}
@media (max-width: 639px) {
    .joira-editorial-hero { display: block; min-height: 0; aspect-ratio: auto; padding: 0; }
    .joira-editorial-hero .je-hero-media { position: relative; z-index: auto; height: auto; aspect-ratio: 1 / 1.08; }
    .joira-editorial-hero .je-hero-media img { object-position: right center; }
    .joira-editorial-hero .je-hero-copy { width: 100%; max-width: none; padding: 30px 24px 36px; }
    .joira-editorial-hero .je-hero-title { font-size: clamp(36px, 9.7vw, 54px); line-height: 1.08; }
    .joira-editorial-hero .je-hero-lead { max-width: 34ch; margin-top: 16px; font-size: 17px; line-height: 1.65; }
    .joira-editorial-hero .je-hero-cta { margin-top: 24px; width: 100%; min-height: 54px; padding: 15px 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .joira-editorial-hero .je-hero-cta { transition: none; }
}

/* A supplied campaign artwork retains its original composition. */
.joira-poster-hero { width: 100%; background: #f4e9dc; color: #281a18; }
.joira-poster-hero .jph-image { display: block; width: 100%; height: auto; }
.joira-poster-hero .jph-copy { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 639px) {
    .joira-poster-hero .jph-copy { position: static; width: auto; height: auto; margin: 0; padding: 24px 24px 30px; overflow: visible; clip: auto; white-space: normal; }
    .joira-poster-hero .jph-eyebrow { margin: 0 0 10px; font-size: 12px; letter-spacing: .18em; }
    .joira-poster-hero h1, .joira-poster-hero h2 { margin: 0; color: #281a18; font: 400 clamp(29px,8vw,42px)/1.08 var(--font-playfair), Georgia, serif; }
    .joira-poster-hero h1 span, .joira-poster-hero h2 span { display: block; }
    .joira-poster-hero .jph-lead { margin: 14px 0 0; font-size: 15px; letter-spacing: .1em; }
    .joira-poster-hero .jph-status { margin: 16px 0 0; color: #822f3e; font-size: 14px; font-weight: 700; letter-spacing: .18em; }
}

/* Editable campaign copy sits on the image at larger widths. */
.jph-scene { position: relative; }
.jph-original { position: absolute; inset: 0; display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to right, transparent 46%, #000 58%); mask-image: linear-gradient(to right, transparent 46%, #000 58%); pointer-events: none; }
@media (min-width: 640px) {
    .joira-poster-hero.jph-editable { position: relative; }
    .jph-editable .jph-copy { position: absolute; inset: 50% auto auto 7.8%; transform: translateY(-50%); width: 42%; height: auto; max-width: 740px; margin: 0; padding: 0; overflow: visible; clip: auto; white-space: normal; }
    .jph-editable .jph-eyebrow { margin: 0 0 clamp(8px, 1vw, 22px); font-size: clamp(11px, 1.6vw, 28px); letter-spacing: .24em; }
    .jph-editable h1, .jph-editable h2 { margin: 0; color: #281a18; font: 400 clamp(30px, 6vw, 110px)/.93 var(--font-playfair), Georgia, serif; letter-spacing: -.04em; overflow-wrap: anywhere; }
    .jph-editable h1 span, .jph-editable h2 span { display: block; }
    .jph-editable .jph-lead { margin: clamp(10px, 1vw, 20px) 0 0; font-size: clamp(11px, 1.5vw, 27px); letter-spacing: .17em; line-height: 1.4; }
    .jph-editable .jph-status { margin: clamp(14px, 2.2vw, 40px) 0 0; color: #822f3e; font-size: clamp(12px, 1.55vw, 26px); font-weight: 700; letter-spacing: .18em; }
}

/* Portrait campaign artwork leaves a clear area for editable mobile copy. */
.jph-picture { display: block; }
@media (max-width: 639px) {
    .joira-poster-hero.jph-mobile-artwork {
        position: relative;
        isolation: isolate;
        display: grid;
        background: #eee4d5;
    }
    .jph-mobile-artwork .jph-scene,
    .jph-mobile-artwork .jph-copy { grid-area: 1 / 1; min-width: 0; }
    .jph-mobile-artwork .jph-scene { align-self: stretch; }
    .jph-mobile-artwork .jph-picture { height: 100%; }
    .jph-mobile-artwork .jph-image {
        width: 100%;
        height: 100%;
        aspect-ratio: 2 / 3;
        object-fit: cover;
        object-position: center bottom;
    }
    .jph-mobile-artwork .jph-original { display: none; }
    .joira-poster-hero.jph-mobile-artwork .jph-copy {
        position: relative;
        z-index: 1;
        align-self: start;
        width: 100%;
        margin: 0;
        padding: clamp(26px, 7vw, 44px) clamp(24px, 6vw, 38px) 0;
        padding-bottom: 77%;
        color: #281a18;
        overflow-wrap: anywhere;
    }
    .jph-mobile-artwork .jph-eyebrow {
        margin: 0 0 12px;
        font-size: clamp(11px, 2.8vw, 15px);
        line-height: 1.5;
        letter-spacing: .22em;
    }
    .jph-mobile-artwork h1,
    .jph-mobile-artwork h2 {
        font-size: clamp(31px, 8.2vw, 51px);
        line-height: 1.06;
        letter-spacing: -.025em;
    }
    .jph-mobile-artwork .jph-lead {
        margin: 15px 0 0;
        font-size: clamp(12px, 3.1vw, 18px);
        line-height: 1.5;
        letter-spacing: .12em;
    }
    .jph-mobile-artwork .jph-status {
        margin: 18px 0 0;
        font-size: clamp(12px, 3vw, 17px);
        line-height: 1.5;
        letter-spacing: .22em;
    }
}
