/* ========================================================= HERO.CSS — Hero Section ========================================================= */
.hero-section {
    background-color: var(--color-black);
    padding-top: 464px;
    padding-bottom: 47px;
    color: var(--color-white);
}

/* Background Swiper Slider (Only images change with smooth fade) */
.hero-section .hero-bg-swiper {
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-section .hero-bg-swiper .swiper-wrapper {
    height: 100%;
}

.hero-section .hero-bg-swiper .swiper-wrapper .swiper-slide {
    height: 100%;
}

.hero-section .hero-slide-img {
    object-position: center top;
}

/* CSS Gradients matching Figma Rectangle 43 (Top 184px) & Rectangle 44 (Bottom 650px) */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, #030832 10%, rgba(3, 8, 50, 0.00) 72.36%), linear-gradient(0deg, rgba(1, 20, 72, 0.90) 27.85%, rgba(1, 20, 72, 0.00) 100%);
    background-position: top left, bottom left;
    background-size: 100% 184px, 100% 650px;
    background-repeat: no-repeat, no-repeat;
    pointer-events: none;
    z-index: 1;
}

.hero-section .hero-wrapper {
    z-index: 2;
}

.hero-section .hero-content {
    max-width: 1160px;
    gap: 19px;
}

.hero-section .hero-eyebrow {
    font-size: var(--font-size-p2);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-p2);
    color: var(--color-white);
    letter-spacing: 0;
}

.hero-section .hero-eyebrow .eyebrow-dot {
    width: 13px;
    height: 13px;
    min-width: 13px;
    background-color: var(--color-primary);
}

/* Inherits font-family,font-size:var(--font-size-h1),line-height:var(--line-height-h1) from base.css */
.hero-section .h1 {
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
}

.hero-section .hero-content-main .hero-desc>p {
    font-size: var(--font-size-p3);
    line-height: var(--line-height-p3);
    font-weight: var(--font-weight-regular);
    color: var(--color-white);
    margin-bottom: 0;
    max-width: 1030px;
}

.hero-section .hero-content-main ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.hero-section .hero-content-main ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-p4);
    line-height: var(--line-height-p4);
    font-weight: var(--font-weight-regular);
    color: var(--color-white);
}

.hero-section .hero-content-main ul li::before {
    content: "";
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: url("../../../assets/images/hero-check.svg") no-repeat center / contain;
    display: inline-block;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width:1199px) {
    .hero-section {
        padding-top: 360px;
    }
}

@media (max-width:991px) {
    .hero-section {
        padding-top: 260px;
    }

    .hero-section .hero-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width:767px) {
    .hero-section {
        padding-top: 150px;
    }

    .hero-section .hero-eyebrow .eyebrow-dot {
        width: 8px;
        height: 8px;
        min-width: 8px;
    }
}

/* ========================================================= COMPACT HERO MODIFIER (inner detail pages,e.g. case-study.html) Opt-in:.hero-section.hero-section--compact — Home/About unaffected Figma 787:706:568px,solid navy,breadcrumb row + tag chips ========================================================= */
.hero-section--compact {
    padding-top: 141px;
    /* 15px below the 126px header */
    padding-bottom: 50px;
}

.hero-section--compact .hero-breadcrumb {
    z-index: 2;
    padding-bottom: 16px;
    margin-bottom: 86px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-p5);
    font-weight: var(--font-weight-medium);
    line-height: 1.928;
}

.hero-section--compact .hero-breadcrumb a {
    color: var(--color-white);
    text-decoration: underline;
}

.hero-section--compact .hero-breadcrumb a:hover {
    color: var(--color-primary);
}

.hero-section--compact .hero-breadcrumb .breadcrumb-sep {
    width: 8px;
    height: 14px;
}

.hero-section--compact .hero-breadcrumb [aria-current="page"] {
    color: rgba(255, 255, 255, 0.6);
}

.hero-section .hero-tags {
    list-style: none;
}

.hero-section .hero-tag {
    padding: 5px 8px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.19);
    font-size: var(--font-size-p5);
    font-weight: var(--font-weight-medium);
    line-height: 1.928;
    color: var(--color-white);
}

@media (max-width:1199px) {
    .hero-section--compact .hero-breadcrumb {
        margin-bottom: 60px;
    }
}

@media (max-width:991px) {
    .hero-section--compact .hero-breadcrumb {
        margin-bottom: 40px;
    }
}

@media (max-width:767px) {
    .hero-section--compact {
        padding-bottom: 40px;
    }

    .hero-section--compact .hero-breadcrumb {
        margin-bottom: 30px;
    }
}

/* =========================================================
   PROFILE HERO MODIFIER (team member detail pages, e.g. our-team-details.html)
   Opt-in: .hero-section.hero-section--compact.hero-section--profile
   Figma 761:1474 — 568px navy banner: breadcrumb row → 50px →
   name / gold role / intro (left, bottom-aligned) + 264×284 portrait (right)
   Reuses compact padding, breadcrumb and gradients; only adds the profile layout.
   ========================================================= */
.hero-section--profile .hero-breadcrumb {
    margin-bottom: 49px;
}

/* +1px border = Figma 50px gap (line y184 → portrait y234) */
.hero-section--profile .h1 {
    font-size: 44px;
    line-height: 1.318;
}

.hero-section--profile .hero-content-main>p {
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
    max-width: 802px;
}

.hero-section--profile .hero-content-main>.hero-profile-role {
    font-size: var(--font-size-p4);
    line-height: var(--line-height-p4);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.hero-section--profile .hero-profile-media {
    width: 264px;
    height: 284px;
    margin-bottom: 27px;
}

@media (min-width: 992px) {
    .hero-section--profile {
        padding-bottom: 23px;
    }
}

@media (max-width: 1199px) {
    .hero-section--profile .h1 {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    .hero-section--profile .hero-breadcrumb {
        margin-bottom: 40px;
    }

    .hero-section--profile .h1 {
        font-size: 32px;
    }

    .hero-section--profile .hero-profile-media {
        order: -1;
        width: 220px;
        height: 237px;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .hero-section--profile .hero-breadcrumb {
        margin-bottom: 30px;
    }

    .hero-section--profile .h1 {
        font-size: 26px;
    }
}

@media (max-width: 575px) {
    .hero-section--profile .hero-profile-media {
        width: 180px;
        height: 194px;
    }
}
/* Pause / play control for the background slideshow (WCAG 2.2.2). */
.hero-section .hero-autoplay-toggle {
    right: 24px;
    bottom: 24px;
    z-index: 3;
    width: 40px;
    height: 40px;
    color: var(--color-white);
    background: rgba(3, 8, 50, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}
.hero-section .hero-autoplay-toggle:hover { background: rgba(3, 8, 50, 0.85); }
.hero-section .hero-autoplay-toggle:focus-visible { outline: 2px solid var(--color-white); outline-offset: 3px; }
.hero-section .hero-autoplay-toggle .icon-play,
.hero-section .hero-autoplay-toggle.is-paused .icon-pause { display: none; }
.hero-section .hero-autoplay-toggle.is-paused .icon-play { display: block; }
@media (max-width: 991px) {
    /* Full-width CTA buttons sit at the bottom on smaller screens: keep the control clear of them. */
    .hero-section .hero-autoplay-toggle { top: 96px; bottom: auto; right: 16px; width: 36px; height: 36px; }
}
