/* Homepage chrome, scoped to the news shell so article typography stays intact.
   3840px design / 2 at 1920px, then scale with vw, as on the homepage. */
.industry-page {
    --home-unit: calc(100vw / 1920);
    background: #060b1e;
}

.industry-page .industry-content {
    background: #060b1e;
}

.industry-page .industry-content::before {
    content: none;
}

.industry-page .navbar,
.industry-page .industry-home-hero,
.industry-page .footer {
    color: #f8f9ff;
}

.industry-page .navbar {
    top: calc(60 * var(--home-unit));
    width: min(calc(100% - 80 * var(--home-unit)), calc(1475 * var(--home-unit)));
    max-width: none;
    padding: calc(22 * var(--home-unit)) calc(82 * var(--home-unit));
    border-radius: calc(16 * var(--home-unit));
    background: rgba(30, 30, 30, 0.61);
    box-shadow: none;
}

.industry-page .navbar .container {
    gap: calc(28 * var(--home-unit));
}

.industry-page .navbar .logo a {
    display: inline;
    line-height: inherit;
}

.industry-page .logo-img {
    height: calc(30 * var(--home-unit));
    transform: none;
}

.industry-page .nav-menu {
    flex: 0 1 calc(825 * var(--home-unit));
    justify-content: space-between;
    align-items: center;
    gap: calc(32 * var(--home-unit));
}

.industry-page .nav-menu > li > a {
    white-space: nowrap;
    font-size: calc(22 * var(--home-unit));
}

.industry-page .nav-menu .contact-link {
    font-weight: 700;
}

.industry-page .hamburger {
    padding: 0;
    border: 0;
    background: transparent;
}

.industry-page .industry-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 100vh;
    grid-template-rows: 100dvh;
    background: #060b1e;
}

.industry-page .industry-home-hero > .hero {
    grid-area: 1 / 1;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
}

.industry-page .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-page .hero-overlay {
    background: linear-gradient(180deg, rgba(3, 8, 22, 0.23), rgba(3, 8, 22, 0.16) 46%, rgba(3, 8, 22, 0.74));
}

.industry-page .hero-info {
    display: contents;
}

.industry-page .hero-info > .hero-content {
    grid-area: 1 / 1;
    z-index: 2;
    align-self: end;
    width: min(100%, calc(1520 * var(--home-unit)));
    max-width: none;
    margin: 0 auto;
    padding: 0 calc(32 * var(--home-unit)) calc(76 * var(--home-unit));
    text-align: center;
}

.industry-page .hero-title {
    margin-bottom: calc(24 * var(--home-unit));
    color: #fff;
    font-family: 'Source Han Sans CN', 'Microsoft YaHei', sans-serif;
    font-size: calc(74 * var(--home-unit));
    font-weight: 700;
    line-height: 1.2;
}

.industry-page .hero-desc {
    max-width: calc(1320 * var(--home-unit));
    margin: 0 auto calc(98 * var(--home-unit));
    color: rgba(255, 255, 255, 0.88);
    font-family: 'Source Han Sans CN', 'Microsoft YaHei', sans-serif;
    font-size: calc(24 * var(--home-unit));
    line-height: 1.4;
}

.industry-page .hero-desc .hero-phrase {
    display: inline-block;
    white-space: nowrap;
}

.industry-page .btn-hero {
    display: inline-flex;
    min-width: calc(234 * var(--home-unit));
    min-height: calc(56 * var(--home-unit));
    align-items: center;
    justify-content: center;
    padding: 0 calc(42 * var(--home-unit));
    border: 0;
    border-radius: calc(28 * var(--home-unit));
    background: #2156fe;
    color: #fff;
    font-family: 'Source Han Sans CN', 'Microsoft YaHei', sans-serif;
    font-size: calc(27.5 * var(--home-unit));
    line-height: 1.3;
    text-decoration: none;
    box-shadow: none;
    transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
}

.industry-page .footer {
    margin-top: 0;
    background: #060b1e;
}

.industry-page .footer-mobile-title {
    display: none;
}

.industry-page .footer-inner {
    width: min(calc(100% - 64 * var(--home-unit)), calc(1445 * var(--home-unit)));
    max-width: none;
    padding: 0;
}

.industry-page .footer .footer-col h4 a[href="/"],
.industry-page .footer .footer-col h4 a[href="/industry-consulting-1.html"] {
    color: #fff;
}

.industry-page .footer .footer-col h4 a[href="/"]:hover,
.industry-page .footer .footer-col h4 a[href="/"]:focus-visible,
.industry-page .footer .footer-col h4 a[href="/industry-consulting-1.html"]:hover,
.industry-page .footer .footer-col h4 a[href="/industry-consulting-1.html"]:focus-visible {
    color: rgba(255, 107, 53, 0.8);
}

.industry-page .footer-legal img {
    margin-right: 4px;
}

@media (min-width: 969px) and (hover: hover),
       (min-width: 969px) and (pointer: fine),
       (min-width: 969px) and (pointer: none) {
    .industry-page .navbar,
    .industry-page .industry-home-hero,
    .industry-page .footer {
        font-size: 0.833333vw;
    }

    .industry-page .navbar {
        backdrop-filter: blur(1.041667vw);
    }

    .industry-page .btn-hero:hover {
        transform: translateY(-0.15625vw);
        box-shadow: 0 0.78125vw 2.604167vw rgba(139, 92, 246, 0.6);
    }

    .industry-page .footer {
        padding: 2.604167vw 0 1.5625vw;
    }

    .industry-page .footer-inner {
        gap: 2.604167vw;
        margin-bottom: 1.770833vw;
    }

    .industry-page .footer-logo {
        flex-basis: 13.541667vw;
        margin-right: 3.645833vw;
    }

    .industry-page .footer-logo img {
        width: 9.635417vw;
    }

    .industry-page .footer-company {
        margin-top: 2.604167vw;
        font-size: 0.677083vw;
        line-height: 1.25vw;
    }

    .industry-page .footer-col h4,
    .industry-page .footer-col h4 a {
        font-size: calc(22 * var(--home-unit));
    }

    .industry-page .footer-contact p {
        font-size: 0.885417vw;
    }

    .industry-page .footer-col h4 {
        margin-bottom: 0.9375vw;
    }

    .industry-page .footer-col a {
        margin-bottom: 0.625vw;
        font-size: calc(22 * var(--home-unit));
    }

    .industry-page .footer-contact {
        gap: 0.416667vw;
        margin-top: 0.208333vw;
    }

    .industry-page .footer-contact img {
        width: 6.25vw;
    }

    .industry-page .footer-legal {
        gap: 0.625vw;
        margin-top: 0.416667vw;
        font-size: 0.677083vw;
        line-height: 1.25vw;
    }

    .industry-page .footer-legal img {
        width: 0.729167vw;
        height: 0.729167vw;
        margin-right: 0.208333vw;
    }
}

@media (max-width: 968px), (hover: none) and (pointer: coarse) {
    .industry-page {
        --home-unit: 1px;
    }
}

@media (max-width: 968px) {
    .industry-page .navbar {
        top: 14px;
        width: calc(100% - 32px);
        padding: 6px 16px;
        border-radius: 8px;
        background: rgba(20, 24, 37, 0.82) !important;
        backdrop-filter: blur(14px);
    }

    .industry-page .logo-img {
        filter: brightness(0) invert(1);
    }

    .industry-page .hamburger {
        width: auto;
        height: auto;
    }

    .industry-page .hamburger span {
        width: 25px;
        height: 3px;
        margin: 4px 0;
        border-radius: 0;
        background: #fff;
    }

    .industry-page .nav-menu {
        flex: none;
        justify-content: flex-start;
        top: 56px;
        left: 0;
        gap: 0;
        border-radius: 8px;
        background: rgba(10, 15, 31, 0.98);
    }

    .industry-page .nav-menu > li > a {
        color: #fff;
        font-size: 15px;
    }

    .industry-page .industry-home-hero {
        grid-template-rows: minmax(650px, 82vh);
    }

    .industry-page .hero-info > .hero-content {
        padding: 0 24px 76px;
    }

    .industry-page .hero-title {
        font-size: 64px;
    }

    .industry-page .hero-desc {
        margin-bottom: 44px;
        font-size: 24px;
        line-height: 1.65;
    }
}

@media (max-width: 768px), (hover: none) and (pointer: coarse) {
    .industry-page {
        min-width: 320px;
    }

    .industry-page .navbar {
        position: absolute;
        top: 12px;
        left: 12px;
        width: calc(100% - 24px);
        height: 54px;
        padding: 0 12px;
        border-radius: 8px;
        transform: none;
        background: rgba(20, 24, 37, 0.84) !important;
        box-shadow: none !important;
        backdrop-filter: blur(14px);
    }

    .industry-page .navbar .container {
        height: 100%;
        padding: 0;
    }

    .industry-page .logo,
    .industry-page .navbar .logo a,
    .industry-page .logo-picture {
        display: flex;
        align-items: center;
    }

    .industry-page .logo-img {
        width: auto;
        height: 28px;
        object-fit: contain;
    }

    .industry-page .hamburger {
        display: flex;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        cursor: pointer;
    }

    .industry-page .hamburger span {
        width: 22px;
        height: 2px;
        margin: 2.5px 0;
        border-radius: 2px;
    }

    .industry-page .nav-menu {
        position: absolute;
        top: 58px;
        right: 0;
        left: 0;
        display: flex;
        width: 100%;
        padding: 8px 12px 14px;
        flex-direction: column;
        align-items: stretch;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        background: rgba(8, 13, 29, 0.98);
        box-shadow: 0 14px 30px rgba(4, 20, 56, 0.16);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .industry-page .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .industry-page .nav-menu > li > a {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        padding: 12px 8px;
        color: #fff;
        font-size: 16px;
    }

    .industry-page .industry-home-hero {
        grid-template-rows: 680px;
    }

    .industry-page .industry-home-hero > .hero {
        display: block;
    }

    .industry-page .hero-info > .hero-content {
        width: 100%;
        margin: 0;
        padding: 0 20px 64px;
        color: #171717;
    }

    .industry-page .hero-title {
        max-width: 250px;
        margin: 0 auto 18px;
        font-size: 40px;
        line-height: 1.3;
        text-shadow: none;
    }

    .industry-page .hero-desc {
        margin-bottom: 22px;
        color: #fff;
        font-size: 16px;
        line-height: 1.8;
    }

    .industry-page .btn-hero {
        min-width: 148px;
        min-height: 46px;
        font-size: 17px;
    }

    .industry-page .footer {
        padding: 30px 0 18px;
    }

    .industry-page .footer-mobile-title {
        display: block;
        margin: 0 0 15px;
        color: #fff;
        font-size: 20px;
        font-weight: 400;
        text-align: center;
    }

    .industry-page .footer-inner {
        width: 100%;
        margin-bottom: 0;
        padding: 0 18px;
        align-items: center;
        flex-direction: column;
        gap: 0;
    }

    .industry-page .footer-inner > .footer-col {
        display: none;
    }

    .industry-page .footer-inner > .footer-col--download {
        display: block;
        order: 1;
    }

    .industry-page .footer-inner > .footer-col--download h4,
    .industry-page .footer-contact p {
        display: none;
    }

    .industry-page .footer-contact {
        margin-top: 0;
    }

    .industry-page .footer-contact img {
        width: 92px;
    }

    .industry-page .footer-logo {
        width: 100%;
        margin: 0;
        order: 2;
        flex: 0 0 auto;
        text-align: center;
    }

    .industry-page .footer-logo > img {
        display: none;
    }

    .industry-page .footer-company {
        margin-top: 16px;
        font-size: 12px;
        line-height: 1.75;
    }

    .industry-page .footer-legal {
        margin-top: 10px;
        padding: 0 16px;
        flex-direction: column;
        gap: 2px;
        font-size: 11px;
        line-height: 1.6;
    }

    .industry-page .footer-inner > .footer-col--outsourcing {
        display: block;
        order: 2;
    }

    .industry-page .footer-col--outsourcing h4,
    .industry-page .footer-col--outsourcing .footer-contact p {
        display: block;
        color: #fff;
        text-align: center;
    }

    .industry-page .footer-col--outsourcing .footer-contact img {
        width: 120px;
    }
}
