/* ========================================
   VARIABLES
======================================== */

:root {
    --industries-ink: #0A1022;
    --industries-copy: #4B5563;
    --industries-green: #00575a;
    --industries-deep: #00383b;
    --industries-soft: #f3f6f5;
    --industries-line: rgba(20, 39, 45, 0.13);
    --industries-container: 1320px;
}


/* ========================================
   PAGE BASE
======================================== */

.industries-page {
    overflow: visible;

    color: var(--industries-ink);
    background: #ffffff;
}

.industries-container {
    width: min(
        var(--industries-container),
        calc(100% - 64px)
    );

    margin: 0 auto;
}


/* ========================================
   HERO
======================================== */

.industries-hero {
    padding: 155px 0 105px;

    background: #ffffff;
}

.industries-hero-copy {
    max-width: 960px;

    margin-bottom: 52px;
}

.industries-eyebrow {
    margin-bottom: 22px;

    display: flex;
    align-items: center;
    gap: 14px;

    color: var(--industries-green);

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.industries-eyebrow span {
    width: 35px;
    height: 1px;

    display: block;
    flex: 0 0 35px;

    background: var(--industries-green);
}

.industries-hero h1 {
    /* max-width: 900px; */

    margin: 0;

    color: var(--industries-ink);

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: clamp(48px, 5vw, 52px);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -1.08px;
}


/* ========================================
   HERO IMAGE
======================================== */

.industries-hero-image-wrap {
    position: relative;

    width: 100%;
    height: 510px;

    overflow: hidden;

    background: #dce4e2;

    border-radius: 14px;

    box-shadow:
        0 28px 68px rgba(0, 48, 51, 0.12);
}

.industries-hero-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center 52%;

    transform: scale(1.01);

    transition:
        transform 1.05s
        cubic-bezier(0.22, 1, 0.36, 1);
}

.industries-hero-image-wrap:hover
.industries-hero-image {
    transform: scale(1.035);
}


/* ========================================
   DIRECTORY
======================================== */

.industries-directory {
    position: relative;

    padding: 20px 0 145px;

    background: #ffffff;
}

.industries-directory-header {
    margin-bottom: 76px;

    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(280px, 0.55fr);

    gap: 85px;
    align-items: end;
}

.industries-directory-header h2 {
    max-width: 760px;

    margin: 0;

    color: var(--industries-ink);

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: clamp(42px, 4.4vw, 60px);
    font-weight: 300;
    line-height: 1.04;
    letter-spacing: -2px;
}

.industries-directory-header > p {
    max-width: 420px;

    margin: 0;

    color: var(--industries-copy);

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
}


/* ========================================
   INDUSTRIES LAYOUT
======================================== */

.industries-insights-layout {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        275px;

    gap: 56px;
    align-items: start;
}


/* ========================================
   INDUSTRY CARD GRID
======================================== */

.industries-card-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 76px 28px;
    align-items: start;
}


/* ========================================
   INDUSTRY CARD
======================================== */

.industry-card {
    min-width: 0;

    transition:
        transform 0.45s
        cubic-bezier(0.22, 1, 0.36, 1);
}

.industry-card:hover {
    transform: translateY(-6px);
}


/* ========================================
   CARD IMAGE
======================================== */

.industry-card-image-wrap {
    position: relative;

    width: 100%;
    aspect-ratio: 1.48 / 1;

    overflow: hidden;

    background: #dce4e2;

    border-radius: 11px;

    box-shadow:
        0 16px 38px rgba(0, 48, 51, 0.07);

    transition:
        box-shadow 0.45s ease;
}

.industry-card:hover
.industry-card-image-wrap {
    box-shadow:
        0 24px 52px rgba(0, 48, 51, 0.12);
}

.industry-card-image-wrap img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transform:
        scale(1.01)
        translate3d(
            calc(var(--industry-x, 0) * 1px),
            calc(var(--industry-y, 0) * 1px),
            0
        );

    transition:
        transform 0.9s
        cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.4s ease;
}

.industry-card:hover
.industry-card-image-wrap img {
    transform:
        scale(1.045)
        translate3d(
            calc(var(--industry-x, 0) * 1px),
            calc(var(--industry-y, 0) * 1px),
            0
        );

    filter: brightness(0.96);
}


/* ========================================
   CARD CONTENT
======================================== */

.industry-card-content {
    padding-top: 22px;
}

.industry-card-content h3 {
    margin: 0 0 14px;

    color: var(--industries-ink);

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: clamp(26px, 2vw, 33px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -1px;
}

.industry-card-content p {
    max-width: 100%;

    margin: 0;

    color: var(--industries-copy);

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.72;
    /* letter-spacing: -0.08px; */
}


/* ========================================
   RIGHT STICKY PANEL
======================================== */

.industries-side-panel {
    position: sticky;
    top: 110px;

    align-self: start;

    max-height: calc(100vh - 135px);

    overflow-y: auto;
    overflow-x: hidden;

    background: #ffffff;

    border: 1px solid rgba(0, 87, 90, 0.12);
    border-radius: 13px;

    box-shadow:
        0 18px 45px rgba(0, 48, 51, 0.06);

    scrollbar-width: thin;
    scrollbar-color:
        rgba(0, 87, 90, 0.34)
        transparent;

    z-index: 10;
}

.industries-side-panel::-webkit-scrollbar {
    width: 5px;
}

.industries-side-panel::-webkit-scrollbar-track {
    background: transparent;
}

.industries-side-panel::-webkit-scrollbar-thumb {
    background: rgba(0, 87, 90, 0.34);

    border-radius: 20px;
}

.industries-side-heading {
    position: sticky;
    top: 0;
    z-index: 3;

    padding: 24px 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    background: #ffffff;

    border-bottom: 1px solid var(--industries-line);
}

.industries-side-heading span,
.industries-side-heading strong {
    color: var(--industries-green);

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.industries-side-list {
    display: flex;
    flex-direction: column;
}

.industries-side-list a {
    position: relative;

    min-height: 71px;

    padding: 17px 18px;

    display: grid;
    grid-template-columns:
        27px
        minmax(0, 1fr);

    gap: 10px;
    align-items: start;

    color: #43555b;
    text-decoration: none;

    border-bottom: 1px solid var(--industries-line);

    transition:
        color 0.3s ease,
        background 0.3s ease,
        padding-left 0.35s
        cubic-bezier(0.22, 1, 0.36, 1);
}

.industries-side-list a:last-child {
    border-bottom: 0;
}

.industries-side-list a::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;

    width: 3px;
    height: 100%;

    background: var(--industries-green);

    transform: scaleY(0);
    transform-origin: bottom;

    transition:
        transform 0.35s
        cubic-bezier(0.22, 1, 0.36, 1);
}

.industries-side-list a:hover,
.industries-side-list a.is-active {
    padding-left: 23px;

    color: var(--industries-green);
    background: rgba(0, 87, 90, 0.055);
}

.industries-side-list a:hover::before,
.industries-side-list a.is-active::before {
    transform: scaleY(1);
}

.industries-side-list a span {
    padding-top: 2px;

    color: #738489;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.35;
}

.industries-side-list a strong {
    color: inherit;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}


/* /*  */
/* ========================================
   ORGANIZATIONS
======================================== */

/* .industries-organizations {
    padding: 135px 0 145px;

    background:
        radial-gradient(
            circle at 8% 12%,
            rgba(61, 145, 138, 0.1),
            transparent 30%
        ),
        var(--industries-soft);
} */
/* 
.industries-organizations-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.88fr)
        minmax(0, 1.12fr);

    gap: 105px;
    align-items: start;
}

.industries-organizations-copy {
    position: sticky;
    top: 120px;
}

.industries-organizations-copy h2 {
    max-width: 590px;

    margin: 0 0 27px;

    color: var(--industries-ink);

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: clamp(42px, 4.2vw, 60px);
    font-weight: 300;
    line-height: 1.04;
    letter-spacing: -2px;
} */
/* 
.industries-organizations-copy p {
    max-width: 540px;

    margin: 0;

    color: var(--industries-copy);

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75;
}

.industries-organizations-list {
    border-top: 1px solid var(--industries-line);
}

.industries-organization-item {
    position: relative;

    min-height: 96px;

    padding: 25px 0;

    display: grid;
    grid-template-columns:
        38px
        minmax(0, 1fr);

    gap: 20px;
    align-items: start;

    border-bottom: 1px solid var(--industries-line);

    transition:
        padding-left 0.4s
        cubic-bezier(0.22, 1, 0.36, 1),
        background 0.35s ease;
}

.industries-organization-item::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;

    width: 3px;
    height: 100%;

    background: var(--industries-green);

    transform: scaleY(0);
    transform-origin: bottom;

    transition:
        transform 0.4s
        cubic-bezier(0.22, 1, 0.36, 1);
}

.industries-organization-item:hover {
    padding-left: 18px;

    background: rgba(255, 255, 255, 0.48);
}

.industries-organization-item:hover::before {
    transform: scaleY(1);
}

.industries-organization-item > span {
    padding-top: 6px;

    color: #708085;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
}

.industries-organization-item p {
    margin: 0;

    color: #4B5563;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
}  */


/* ========================================
   FINAL CTA
======================================== */

.industries-cta-section {
    padding: 20px 0 115px;

    background: #ffffff;
}

.industries-cta-panel {
    position: relative;

    min-height: 315px;

    padding: 62px 68px;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 55px;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 92% 30%,
            rgba(129, 190, 186, 0.32),
            transparent 36%
        ),
        linear-gradient(
            120deg,
            #004548 0%,
            #00575b 58%,
            #377d79 100%
        );

    border-radius: 18px;

    box-shadow:
        0 30px 72px rgba(0, 52, 55, 0.16);
}

.industries-cta-panel::after {
    content: "";

    position: absolute;
    right: 5%;
    bottom: -76%;

    width: 420px;
    height: 420px;

    background: rgba(255, 255, 255, 0.035);

    border-radius: 50%;

    pointer-events: none;
}

.industries-cta-copy {
    position: relative;
    z-index: 2;
}

.industries-cta-copy h2 {
    max-width: 690px;

    margin: 0 0 20px;

    color: #ffffff;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: clamp(42px, 4.1vw, 52px);
    font-weight: 300;
    line-height: 1.04;
    letter-spacing: -1.08px;
}

.industries-cta-copy p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, 0.76);

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}

.industries-cta-button {
    position: relative;
    z-index: 2;

    min-width: 185px;

    padding: 15px 20px;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    color: #ffffff;
    text-decoration: none;

    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 100px;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.industries-cta-button:hover {
    color: var(--industries-deep);

    background: #ffffff;
    border-color: #ffffff;

    transform: translateY(-4px);
}


/* ========================================
   HERO ANIMATION
======================================== */

.industries-hero-copy,
.industries-hero-image-wrap {
    opacity: 0;
    transform: translateY(45px);
}

body.industries-page-loaded
.industries-hero-copy {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.8s ease,
        transform 1s
        cubic-bezier(0.22, 1, 0.36, 1);
}

body.industries-page-loaded
.industries-hero-image-wrap {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.8s ease 0.15s,
        transform 1s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.15s;
}


/* ========================================
   REVEAL ANIMATION
======================================== */

[data-industries-reveal],
[data-reveal] {
    opacity: 0;
    transform: translateY(50px);

    transition:
        opacity 0.8s ease,
        transform 1s
        cubic-bezier(0.22, 1, 0.36, 1);
}

[data-industries-reveal].is-visible,
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ========================================
   LAPTOP
======================================== */

@media (max-width: 1200px) {

    .industries-container {
        width: calc(100% - 64px);
    }

    .industries-hero-image-wrap {
        height: 470px;
    }

    .industries-insights-layout {
        grid-template-columns:
            minmax(0, 1fr)
            245px;

        gap: 36px;
    }

    .industries-card-grid {
        gap: 64px 24px;
    }

    .industries-side-panel {
        top: 100px;
        max-height: calc(100vh - 125px);
    }
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 991px) {

    .industries-container {
        width: calc(100% - 48px);
    }

    .industries-hero-image-wrap {
        height: 410px;
    }

    .industries-directory-header {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .industries-directory-header > p {
        max-width: 680px;
    }

    .industries-insights-layout {
        grid-template-columns: 1fr;
    }

    .industries-side-panel {
        display: none;
    }

    .industries-organizations-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .industries-organizations-copy {
        position: static;
    }

    .industries-cta-panel {
        min-height: 290px;

        padding: 52px 45px;

        gap: 35px;
    }

    .industries-cta-copy h2 {
        font-size: 44px;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

    .industries-container {
        width: calc(100% - 28px);
    }

    .industries-hero {
        padding: 105px 0 50px;
    }

    .industries-hero-copy {
        margin-bottom: 38px;
    }

    .industries-hero h1 {
        font-size: 42px;
        line-height: 1.04;
        letter-spacing: -1.4px;
    }

    .industries-hero-image-wrap {
        height: 315px;

        border-radius: 13px;
    }

    .industries-directory {
        padding: 40px 0 90px;
    }

    .industries-directory-header {
        margin-bottom: 50px;
    }

    .industries-directory-header h2 {
        font-size: 36px;
        line-height: 1.06;
        letter-spacing: -1.4px;
    }

    .industries-directory-header > p {
        font-size: 18px;
        line-height: 1.72;
    }

    .industries-card-grid {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .industry-card:hover {
        transform: none;
    }

    .industry-card-image-wrap {
        aspect-ratio: 1.3 / 1;

        border-radius: 10px;
    }

    .industry-card-content {
        padding-top: 18px;
    }

    .industry-card-content h3 {
        margin-bottom: 13px;

        font-size: 27px;
        line-height: 1.14;
    }

    .industry-card-content p {
        font-size: 18px;
        line-height: 1.5;
    }

    .industries-organizations {
        padding: 78px 0 88px;
    }

    .industries-organizations-copy h2 {
        font-size: 36px;
        line-height: 1.06;
        letter-spacing: -1.4px;
    }

    .industries-organizations-copy p {
        font-size: 16px;
        line-height: 1.72;
    }

    .industries-organization-item {
        min-height: 0;

        padding: 22px 0;

        grid-template-columns:
            30px
            minmax(0, 1fr);

        gap: 13px;
    }

    .industries-organization-item p {
        font-size: 17px;
    }

    .industries-cta-section {
        padding: 10px 0 75px;
    }

    .industries-cta-panel {
        min-height: auto;

        padding: 42px 25px;

        grid-template-columns: 1fr;
        gap: 30px;

        border-radius: 14px;
    }

    .industries-cta-copy h2 {
        font-size: 37px;
        line-height: 1.05;
        letter-spacing: -1.5px;
    }

    .industries-cta-copy p {
        font-size: 16px;
    }

    .industries-cta-button {
        width: fit-content;
        min-width: 175px;
    }
}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 480px) {

    .industries-container {
        width: calc(100% - 24px);
    }

    .industries-hero h1 {
        font-size: 38px;
    }

    .industries-hero-image-wrap {
        height: 270px;
    }

    .industries-directory-header h2,
    .industries-organizations-copy h2 {
        font-size: 33px;
    }

    .industry-card-content h3 {
        font-size: 26px;
    }

    .industries-cta-panel {
        padding: 38px 22px;
    }

    .industries-cta-copy h2 {
        font-size: 33px;
    }

    .industries-cta-copy p {
        font-size: 15px;
    }
}


/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {

    .industries-hero-copy,
    .industries-hero-image-wrap,
    [data-industries-reveal],
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .industry-card,
    .industry-card-image-wrap img {
        transform: none !important;
        transition: none !important;
    }
}