/* Bond homepage story carousel */
.bond-hero {
    position: relative;
    width: 100%;
    height: min(86vh, 860px);
    min-height: 480px;
    background: #0a0a0a;
    overflow: hidden;
    color: #fff;
}
.bond-hero-viewport {
    position: absolute;
    inset: 0;
}
.bond-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease, visibility 0.9s ease;
    z-index: 1;
}
.bond-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.bond-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.04);
    transition: transform 8s ease-out;
}
.bond-hero-slide.is-active .bond-hero-image {
    transform: scale(1);
}
.bond-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.78) 100%),
        linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.05) 45%);
    z-index: 3;
    pointer-events: none;
}
.bond-hero-link {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: inherit;
    padding: 0 clamp(24px, 6vw, 96px) 88px;
}
.bond-hero-copy {
    max-width: 920px;
}
.bond-hero-tag {
    display: inline-block;
    margin: 0 0 14px;
    padding: 5px 10px;
    border: 1px solid rgba(255,255,255,0.35);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
}
.bond-hero-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(2rem, 4.6vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-wrap: balance;
    text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.bond-hero-excerpt {
    margin: 0;
    max-width: 42em;
    color: rgba(255,255,255,0.86);
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bond-hero-ui {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}
.bond-hero-nav,
.bond-hero-dot,
.bond-hero-subscribe {
    pointer-events: auto;
}
.bond-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    background: rgba(0,0,0,0.28);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease;
}
.bond-hero-nav:hover,
.bond-hero-nav:focus-visible {
    background: rgba(0,0,0,0.55);
    border-color: #fff;
    outline: none;
}
.bond-hero-prev { left: clamp(12px, 2vw, 28px); }
.bond-hero-next { right: clamp(12px, 2vw, 28px); }
.bond-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    align-items: center;
}
.bond-hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
}
.bond-hero-dot.is-active {
    background: #fff;
    width: 22px;
    border-radius: 999px;
}
.bond-hero-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
.bond-hero-subscribe {
    position: absolute;
    top: 20px;
    right: clamp(16px, 3vw, 36px);
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 999px;
    background: rgba(0,0,0,0.28);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease;
}
.bond-hero-subscribe:hover,
.bond-hero-subscribe:focus-visible {
    background: var(--ghost-accent-color, #d90429);
    border-color: var(--ghost-accent-color, #d90429);
    outline: none;
}

@media (max-width: 767px) {
    .bond-hero {
        height: min(78vh, 640px);
        min-height: 420px;
    }
    .bond-hero-link {
        padding: 0 20px 84px;
    }
    .bond-hero-title {
        font-size: clamp(1.7rem, 9vw, 2.4rem);
    }
    .bond-hero-excerpt {
        -webkit-line-clamp: 3;
    }
    .bond-hero-nav {
        width: 38px;
        height: 38px;
        top: auto;
        bottom: 22px;
        transform: none;
    }
    .bond-hero-prev { left: 16px; }
    .bond-hero-next { right: 16px; }
    .bond-hero-dots {
        bottom: 32px;
    }
    .bond-hero-subscribe {
        top: 12px;
        right: 12px;
        padding: 6px 12px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bond-hero-slide,
    .bond-hero-image {
        transition: none;
    }
    .bond-hero-image,
    .bond-hero-slide.is-active .bond-hero-image {
        transform: none;
    }
}
