/* =========================================================
   NUVAMI INGREDIENTS — RESOURCES PAGE
   ========================================================= */


/* =========================================================
   1. GLOBAL
   ========================================================= */

:root {
    --ink: #071c30;
    --navy: #0b2035;
    --paper: #ffffff;
    --warm: #f5f3ee;
    --line: #d8d5cf;
    --muted: #68727b;
    --orange: #df2d25;
    --dark: #111111;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--ink);
    background: var(--paper);

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}


/* =========================================================
   2. HEADER
   ========================================================= */

.inner-header {
    width: 100%;
    height: 82px;

    padding: 0 max(5vw, 40px);

    display: flex;
    align-items: center;
    gap: 35px;

    color: #ffffff;

    background: #071420;

    border-bottom: 1px solid rgba(255, 255, 255, 0.14);

    position: relative;
    z-index: 20;
}


/* LOGO */

.inner-header .brand {
    width: 150px;
    height: 52px;

    display: flex;
    align-items: center;

    text-decoration: none;

    flex-shrink: 0;
}

.inner-header .brand img {
    width: 150px;
    height: auto;

    display: block;

    object-fit: contain;
}


/* NAVIGATION */

.inner-header nav {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 30px;
}

.inner-header nav a {
    color: #ffffff;

    font-size: 15px;
    font-weight: 500;

    text-decoration: none;

    transition:
        opacity 0.2s ease,
        color 0.2s ease;
}

.inner-header nav a:hover {
    opacity: 0.65;
}


/* REQUEST SAMPLE BUTTON */

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 26px;

    margin-left: 5px;

    color: var(--ink);

    background: #ffffff;

    border-radius: 5px;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.header-cta:hover {
    background: #f0f0f0;

    transform: translateY(-1px);
}


/* =========================================================
   3. MAIN
   ========================================================= */

.inner-main {
    width: 100%;
}


/* =========================================================
   4. HERO
   ========================================================= */

.inner-hero {
    min-height: 560px;

    padding:
        135px
        max(7vw, 60px)
        95px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(7, 20, 32, 0.98) 0%,
            rgba(7, 20, 32, 0.92) 38%,
            rgba(7, 20, 32, 0.60) 68%,
            rgba(7, 20, 32, 0.25) 100%
        ),
        linear-gradient(
            135deg,
            #071420,
            #1b2b39
        );

    position: relative;
    overflow: hidden;
}


/* SUB HEADING */

.eyebrow {
    margin: 0 0 22px;

    color: var(--orange);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.eyebrow.dark {
    color: var(--orange);
}


/* HERO TITLE */

.inner-hero h1 {
    max-width: 1050px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(
        52px,
        7vw,
        94px
    );

    font-weight: 400;

    line-height: 0.96;

    letter-spacing: -3px;
}


/* HERO DESCRIPTION */

.inner-hero > p:last-child {
    max-width: 720px;

    margin:
        30px 0 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 20px;

    line-height: 1.45;
}


/* =========================================================
   5. GENERAL SECTION
   ========================================================= */

.inner-section {
    width: 100%;

    padding:
        105px
        max(7vw, 60px);
}


/* =========================================================
   6. RESOURCE OVERVIEW
   ========================================================= */

.resource-overview {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.8fr);

    gap: 100px;

    background: #ffffff;
}

.resource-overview h2 {
    max-width: 850px;

    margin: 0;

    color: var(--ink);

    font-size: clamp(
        38px,
        4.5vw,
        62px
    );

    font-weight: 400;

    line-height: 1;

    letter-spacing: -2px;
}

.resource-overview > p {
    max-width: 600px;

    margin: 40px 0 0;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.65;
}


/* =========================================================
   7. RESOURCE LIST
   ========================================================= */

.resource-list {
    padding-top: 0;

    padding-bottom: 110px;

    background: #ffffff;
}


/* TABLE HEADER */

.resource-header {
    display: grid;

    grid-template-columns:
        110px
        minmax(0, 1fr)
        170px
        100px;

    gap: 25px;

    align-items: center;

    padding:
        15px
        20px;

    color: #ffffff;

    background: #1b1b1b;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* RESOURCE ROW */

.resource-list article {
    display: grid;

    grid-template-columns:
        110px
        minmax(0, 1fr)
        170px
        100px;

    gap: 25px;

    align-items: center;

    padding:
        30px
        20px;

    border-bottom:
        1px solid var(--line);

    transition:
        background 0.2s ease;
}

.resource-list article:hover {
    background: #f7f5f0;
}


/* RESOURCE NUMBER / TYPE */

.resource-list article > span {
    color: var(--orange);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* RESOURCE TITLE */

.resource-list article h2 {
    margin: 0;

    color: var(--ink);

    font-size: 22px;
    font-weight: 500;

    line-height: 1.2;
}


/* RESOURCE DESCRIPTION */

.resource-list article p {
    margin: 8px 0 0;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.5;
}


/* ACCESS TYPE */

.resource-list article strong {
    color: var(--ink);

    font-size: 12px;
    font-weight: 600;
}


/* RESOURCE ACTION */

.resource-list article a {
    color: var(--ink);

    font-size: 13px;
    font-weight: 700;

    text-decoration: underline;

    text-underline-offset: 5px;

    transition:
        color 0.2s ease;
}

.resource-list article a:hover {
    color: var(--orange);
}


/* =========================================================
   8. GOVERNANCE
   ========================================================= */

.governance {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.85fr);

    gap: 100px;

    background: var(--warm);
}

.governance h2 {
    max-width: 800px;

    margin: 0;

    color: var(--ink);

    font-size: clamp(
        38px,
        4.5vw,
        60px
    );

    font-weight: 400;

    line-height: 1;

    letter-spacing: -2px;
}

.governance > div:last-child {
    display: flex;
    flex-direction: column;
}

.governance p {
    margin: 0;

    padding:
        0 0 25px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.6;

    border-bottom:
        1px solid var(--line);
}

.governance p + p {
    padding-top: 25px;
}

.governance strong {
    color: var(--ink);

    font-size: 15px;
}


/* =========================================================
   9. FOOTER
   ========================================================= */

.inner-footer {
    width: 100%;

    min-height: 280px;

    padding:
        70px
        max(6vw, 50px);

    display: grid;

    grid-template-columns:
        1.2fr
        1fr
        1fr
        1.2fr;

    column-gap: 50px;

    align-items: start;

    color: #ffffff;

    background: #111111;
}


/* FOOTER LOGO */

.inner-footer .brand {
    display: inline-block;

    width: 190px;

    text-decoration: none;
}

.inner-footer .brand img {
    width: 190px;
    height: auto;

    display: block;

    object-fit: contain;
}


/* FOOTER TAGLINE */

.inner-footer > p {
    margin: 3px 0 0;

    color: #9b9b9b;

    font-size: 15px;
}


/* FOOTER NAV */

.inner-footer > div {
    display: flex;
    flex-direction: column;

    gap: 22px;
}

.inner-footer > div a {
    color: #ffffff;

    font-size: 15px;

    text-decoration: none;

    transition:
        color 0.2s ease;
}

.inner-footer > div a:hover {
    color: var(--orange);
}


/* FOOTER CONTACT */

.inner-footer > div:last-child {
    gap: 22px;
}

.inner-footer > div:last-child a {
    color: #ffffff;
}

.inner-footer > div:last-child span {
    color: #777777;

    font-size: 14px;
}


/* =========================================================
   10. TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .inner-header {
        padding: 0 30px;
    }

    .inner-header nav {
        gap: 20px;
    }

    .inner-header nav a {
        font-size: 13px;
    }

    .header-cta {
        padding: 0 20px;

        font-size: 13px;
    }


    .inner-section {
        padding:
            85px
            40px;
    }


    .resource-overview,
    .governance {
        gap: 60px;
    }


    .resource-header,
    .resource-list article {
        grid-template-columns:
            90px
            minmax(0, 1fr)
            140px
            80px;

        gap: 18px;
    }


    .inner-footer {
        grid-template-columns:
            1fr 1fr;

        row-gap: 50px;
    }

}


/* =========================================================
   11. MOBILE
   ========================================================= */

@media (max-width: 700px) {

    /* HEADER */

    .inner-header {
        height: 70px;

        padding:
            0
            20px;

        gap: 15px;
    }


    .inner-header .brand {
        width: 125px;
        height: 45px;
    }

    .inner-header .brand img {
        width: 125px;
    }


    .inner-header nav {
        display: none;
    }


    .header-cta {
        min-height: 44px;

        margin-left: auto;

        padding:
            0
            15px;

        font-size: 11px;
    }


    /* HERO */

    .inner-hero {
        min-height: 470px;

        padding:
            100px
            25px
            70px;
    }


    .eyebrow {
        margin-bottom: 18px;

        font-size: 11px;

        letter-spacing: 2.5px;
    }


    .inner-hero h1 {
        font-size: 47px;

        line-height: 0.98;

        letter-spacing: -1.8px;
    }


    .inner-hero > p:last-child {
        margin-top: 25px;

        font-size: 17px;

        line-height: 1.45;
    }


    /* SECTIONS */

    .inner-section {
        padding:
            70px
            20px;
    }


    .resource-overview,
    .governance {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .resource-overview h2,
    .governance h2 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }


    .resource-overview > p {
        margin-top: 0;

        font-size: 16px;
    }


    /* RESOURCE LIST */

    .resource-list {
        padding-top: 0;

        padding-bottom: 70px;
    }


    .resource-header {
        display: none;
    }


    .resource-list article {
        grid-template-columns:
            60px
            minmax(0, 1fr);

        gap: 15px;

        padding:
            25px
            0;
    }


    .resource-list article > span {
        align-self: start;

        padding-top: 4px;
    }


    .resource-list article > div {
        min-width: 0;
    }


    .resource-list article h2 {
        font-size: 20px;
    }


    .resource-list article p {
        font-size: 13px;
    }


    .resource-list article strong {
        grid-column: 2;

        font-size: 12px;
    }


    .resource-list article a {
        grid-column: 2;

        justify-self: start;
    }


    /* GOVERNANCE */

    .governance {
        padding-top: 70px;
        padding-bottom: 70px;
    }


    .governance h2 {
        font-size: 39px;
    }


    /* FOOTER */

    .inner-footer {
        min-height: auto;

        padding:
            60px
            25px;

        grid-template-columns: 1fr;

        row-gap: 40px;
    }


    .inner-footer .brand {
        width: 180px;
    }


    .inner-footer .brand img {
        width: 180px;
    }


    .inner-footer > p {
        margin-top: -20px;
    }

}


/* =========================================================
   12. SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .inner-header {
        padding:
            0
            15px;
    }


    .inner-header .brand {
        width: 110px;
    }


    .inner-header .brand img {
        width: 110px;
    }


    .header-cta {
        padding:
            0
            12px;

        font-size: 10px;
    }


    .inner-hero {
        padding:
            90px
            20px
            60px;
    }


    .inner-hero h1 {
        font-size: 41px;
    }


    .inner-section {
        padding:
            60px
            18px;
    }


    .resource-overview h2,
    .governance h2 {
        font-size: 35px;
    }


    .resource-list article {
        grid-template-columns:
            50px
            minmax(0, 1fr);

        gap: 12px;
    }


    .inner-footer {
        padding:
            55px
            20px;
    }

}


/* =========================================================
   END
   ========================================================= */