/* ════════════════════════════════════════════
   Hero Header V5 — Editorial Overlap — scw-hh5
   ════════════════════════════════════════════ */

.scw-hh5 {
    position: relative;
    background: var(--scw-hh5-bg, #0A0A0F);
    overflow: hidden;
    font-family: var(--scw-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

/* ── Inner layout: two-column split ── */
.scw-hh5__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* No-images: single centered column */
.scw-hh5--no-images .scw-hh5__inner {
    grid-template-columns: 1fr;
    max-width: 800px;
    text-align: center;
    padding: 80px 40px;
}

/* ── Left column: editorial text ── */
.scw-hh5__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 60px 60px 80px;
}

.scw-hh5--no-images .scw-hh5__content {
    padding: 60px 40px;
    align-items: center;
}

/* ── Eyebrow ── */
.scw-hh5__eyebrow {
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--scw-hh5-accent, #FF3B6E);
    margin-bottom: 28px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: scwHh5FadeUp 0.6s ease both 0.1s;
}

.scw-hh5__eyebrow::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--scw-hh5-accent, #FF3B6E);
    flex-shrink: 0;
}

.scw-hh5--no-images .scw-hh5__eyebrow {
    justify-content: center;
}

/* ── Headline — serif with italic accent + thin ghost line ── */
.scw-hh5__title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 5.5vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1px;
    margin: 0 0 28px;
    color: var(--scw-hh5-heading-color, #FFFFFF);
    animation: scwHh5FadeUp 0.6s ease both 0.2s;
}

.scw-hh5__title-italic {
    font-style: italic;
    color: var(--scw-hh5-accent, #FF3B6E);
}

.scw-hh5__title-thin {
    font-weight: 400;
    color: var(--scw-hh5-thin-color, rgba(255, 255, 255, 0.3));
    display: block;
    font-size: 0.89em;
}

/* ── Body text — serif italic ── */
.scw-hh5__desc {
    font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 19px;
    color: var(--scw-hh5-desc-color, rgba(255, 255, 255, 0.4));
    line-height: 1.8;
    max-width: 420px;
    margin: 0 0 44px;
    animation: scwHh5FadeUp 0.6s ease both 0.35s;
}

/* ── CTA row: pill button + text link ── */
.scw-hh5__cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: scwHh5FadeUp 0.6s ease both 0.5s;
}

.scw-hh5--no-images .scw-hh5__cta-row {
    justify-content: center;
}

/* Primary CTA — large pill */
.scw-hh5__cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--scw-hh5-cta-bg, #FF3B6E);
    color: var(--scw-hh5-cta-color, #ffffff);
    border: none;
    padding: 20px 44px;
    border-radius: 60px;
    font-family: var(--scw-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 8px 40px color-mix(in srgb, var(--scw-hh5-cta-bg, #FF3B6E), transparent 75%);
}

.scw-hh5__cta-primary:hover {
    background: var(--scw-hh5-cta-hover, #E0245E);
    transform: translateY(-2px);
    box-shadow: 0 14px 50px color-mix(in srgb, var(--scw-hh5-cta-bg, #FF3B6E), transparent 60%);
}

.scw-hh5__cta-primary:active {
    transform: translateY(0);
}

/* Secondary text link */
.scw-hh5__cta-link {
    color: var(--scw-hh5-link-color, rgba(255, 255, 255, 0.35));
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.scw-hh5__cta-link:hover {
    color: var(--scw-hh5-link-hover, #ffffff);
}

/* ── Stats row ── */
.scw-hh5__stats {
    display: flex;
    gap: 40px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    animation: scwHh5FadeUp 0.6s ease both 0.65s;
}

.scw-hh5--no-images .scw-hh5__stats {
    justify-content: center;
}

.scw-hh5__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.scw-hh5__stat-num {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 32px;
    font-weight: 700;
    font-style: italic;
    color: var(--scw-hh5-accent, #FF3B6E);
    line-height: 1;
}

.scw-hh5__stat-label {
    font-size: 12px;
    color: var(--scw-hh5-stat-label-color, rgba(255, 255, 255, 0.25));
    letter-spacing: 1px;
    margin-top: 2px;
}

/* ── Right column: overlapping image collage ── */
.scw-hh5__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.scw-hh5__collage {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 520px;
}

/* ── Decorative circle ── */
.scw-hh5__deco-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--scw-hh5-accent, #FF3B6E), transparent 95%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.scw-hh5__deco-circle::before {
    content: '';
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--scw-hh5-accent, #FF3B6E), transparent 96%);
}

/* ── Overlapping images ── */
.scw-hh5__img {
    position: absolute;
    border-radius: var(--scw-hh5-img-radius, 20px);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.04);
}

.scw-hh5__img:hover {
    transform: scale(1.04) rotate(0deg) !important;
    z-index: 10 !important;
    border-color: color-mix(in srgb, var(--scw-hh5-accent, #FF3B6E), transparent 80%);
    box-shadow: 0 40px 100px color-mix(in srgb, var(--scw-hh5-accent, #FF3B6E), transparent 85%);
}

.scw-hh5__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlapping positions — 6 images */
.scw-hh5__img:nth-child(1) { width: 220px; height: 290px; top: 0;   left: 10%;  transform: rotate(-4deg); z-index: 5; }
.scw-hh5__img:nth-child(2) { width: 200px; height: 260px; top: 30px; right: 8%; transform: rotate(3deg);  z-index: 4; }
.scw-hh5__img:nth-child(3) { width: 180px; height: 240px; bottom: 20px; left: 25%; transform: rotate(2deg); z-index: 6; }
.scw-hh5__img:nth-child(4) { width: 160px; height: 210px; bottom: 60px; right: 15%; transform: rotate(-3deg); z-index: 3; }
.scw-hh5__img:nth-child(5) { width: 140px; height: 180px; top: 40%;  left: 0;   transform: rotate(5deg);  z-index: 2; }
.scw-hh5__img:nth-child(6) { width: 130px; height: 170px; top: 15%;  right: 32%; transform: rotate(-2deg); z-index: 1; }

/* ── Live badge ── */
.scw-hh5__live {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 8;
}

.scw-hh5__live-dot {
    width: 6px;
    height: 6px;
    background: #22C55E;
    border-radius: 50%;
    animation: scwHh5LivePulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes scwHh5LivePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50%      { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

/* ── Bottom curve SVG ── */
.scw-hh5__curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
    pointer-events: none;
    z-index: 15;
}

.scw-hh5__curve svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ── Fade-in animations ── */
@keyframes scwHh5FadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════
   Responsive — Tablet (≤ 1024px)
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .scw-hh5__inner {
        min-height: auto;
        gap: 20px;
    }

    .scw-hh5__content {
        padding: 40px 40px 40px 48px;
    }

    .scw-hh5__title {
        font-size: clamp(38px, 5vw, 52px);
    }

    .scw-hh5__title-thin {
        font-size: 0.85em;
    }

    .scw-hh5__collage {
        height: 420px;
    }

    .scw-hh5__img:nth-child(1) { width: 180px; height: 240px; }
    .scw-hh5__img:nth-child(2) { width: 160px; height: 210px; }
    .scw-hh5__img:nth-child(3) { width: 150px; height: 200px; }
    .scw-hh5__img:nth-child(4) { width: 130px; height: 170px; }
    .scw-hh5__img:nth-child(5) { width: 110px; height: 150px; }
    .scw-hh5__img:nth-child(6) { width: 100px; height: 140px; }

    .scw-hh5__deco-circle {
        width: 320px;
        height: 320px;
    }

    .scw-hh5__stats {
        gap: 28px;
    }

    .scw-hh5__stat-num {
        font-size: 26px;
    }
}

/* ════════════════════════════════════════════
   Responsive — Mobile (≤ 768px)
   ════════════════════════════════════════════ */
@media (max-width: 768px) {
    .scw-hh5__inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .scw-hh5__content {
        padding: 40px 30px;
    }

    .scw-hh5__media {
        padding: 20px 30px;
    }

    .scw-hh5__title {
        font-size: 42px;
    }

    .scw-hh5__title-thin {
        font-size: 0.86em;
    }

    .scw-hh5__collage {
        height: 340px;
        max-width: 400px;
        margin: 0 auto;
    }

    .scw-hh5__img:nth-child(1) { width: 150px; height: 200px; }
    .scw-hh5__img:nth-child(2) { width: 135px; height: 180px; }
    .scw-hh5__img:nth-child(3) { width: 125px; height: 170px; }
    .scw-hh5__img:nth-child(4) { width: 110px; height: 150px; }
    .scw-hh5__img:nth-child(5) { width: 100px; height: 130px; }
    .scw-hh5__img:nth-child(6) { width: 90px;  height: 120px; }

    .scw-hh5__deco-circle {
        width: 260px;
        height: 260px;
    }

    .scw-hh5__stats {
        gap: 24px;
    }

    .scw-hh5__stat-num {
        font-size: 24px;
    }

    .scw-hh5__curve svg {
        height: 50px;
    }
}

/* ════════════════════════════════════════════
   Responsive — Small mobile (≤ 480px)
   ════════════════════════════════════════════ */
@media (max-width: 480px) {
    .scw-hh5__content {
        padding: 32px 20px;
    }

    .scw-hh5__eyebrow {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .scw-hh5__title {
        font-size: 32px;
    }

    .scw-hh5__title-thin {
        font-size: 0.86em;
    }

    .scw-hh5__desc {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .scw-hh5__cta-row {
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }

    .scw-hh5__cta-primary {
        width: 100%;
        padding: 16px 32px;
        font-size: 13px;
    }

    .scw-hh5__media {
        padding: 10px 16px;
    }

    .scw-hh5__collage {
        height: 280px;
        max-width: 320px;
    }

    .scw-hh5__img:nth-child(1) { width: 125px; height: 165px; }
    .scw-hh5__img:nth-child(2) { width: 112px; height: 150px; }
    .scw-hh5__img:nth-child(3) { width: 105px; height: 140px; }
    .scw-hh5__img:nth-child(4) { width: 95px;  height: 125px; }
    .scw-hh5__img:nth-child(5) { width: 85px;  height: 110px; }
    .scw-hh5__img:nth-child(6) { width: 78px;  height: 100px; }

    .scw-hh5__deco-circle {
        width: 200px;
        height: 200px;
    }

    .scw-hh5__stats {
        gap: 20px;
        margin-top: 40px;
        padding-top: 24px;
    }

    .scw-hh5__stat-num {
        font-size: 22px;
    }

    .scw-hh5__curve svg {
        height: 36px;
    }
}
