/* =========================================================
   NUVAMI TECHNOLOGY PAGE
   style.css
========================================================= */


/* =========================================================
   01. ROOT VARIABLES
========================================================= */

:root {
    --navy: #071c30;
    --navy-dark: #061522;
    --paper: #f8f7f3;
    --white: #ffffff;
    --orange: #df2d25;
    --orange-dark: #c9241e;
    --muted: #687786;
    --line: #d9d9d4;
    --dark: #181818;
    --dark-soft: #222222;
}


/* =========================================================
   02. RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

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

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

    font-size: 16px;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: inherit;
}


/* =========================================================
   03. COMMON TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.05;
}

.eyebrow {
    margin: 0 0 20px;

    color: var(--orange);

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

    letter-spacing: 2.8px;
    text-transform: uppercase;
}

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

.body-copy {
    color: var(--muted);

    font-size: 17px;
    line-height: 1.65;
}


/* =========================================================
   04. HEADER
========================================================= */

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

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

    display: flex;
    align-items: center;

    gap: 35px;

    color: var(--white);
    background: var(--dark);

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

    position: relative;
    z-index: 20;
}


/* LOGO */

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

    display: flex;
    align-items: center;

    text-decoration: none;

    flex-shrink: 0;

    overflow: visible;
}

.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: 28px;
}

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

    font-size: 14px;

    text-decoration: none;

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

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

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


/* HEADER CTA */

.inner-header .header-cta {
    margin-left: 8px;

    padding: 15px 23px;

    color: var(--navy);
    background: var(--white);

    border-radius: 4px;

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

    text-decoration: none;

    white-space: nowrap;

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

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

    transform: translateY(-1px);
}


/* =========================================================
   05. MAIN
========================================================= */

.inner-main {
    width: 100%;

    background: var(--paper);
}


/* =========================================================
   06. TECHNOLOGY HERO
========================================================= */

.technology-hero {
    width: 100%;

    min-height: 510px;

    padding:
        105px
        max(7vw, 45px)
        95px;

    display: flex;
    align-items: center;

    color: var(--white);

    background:
        radial-gradient(
            circle at 82% 30%,
            #3b3a37 0%,
            #222222 38%,
            #181818 72%
        );

    overflow: hidden;
}

.technology-intro {
    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(280px, 0.75fr);

    gap: 90px;

    align-items: end;
}

.technology-intro h1 {
    max-width: 800px;

    margin: 0;

    font-size:
        clamp(48px, 6vw, 82px);

    font-weight: 400;

    letter-spacing: -3px;

    line-height: 0.98;
}

.technology-intro > p {
    margin: 0;

    max-width: 520px;

    color: #c8c8c8;

    font-size: 19px;

    line-height: 1.5;
}


/* =========================================================
   07. TECHNOLOGY FLOW
========================================================= */

.technology-section {
    width: 100%;

    padding:
        95px
        max(7vw, 45px);

    background: #181818;

    color: var(--white);
}

.tech-page-flow {
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.tech-page-flow article {
    min-height: 320px;

    padding: 30px;

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

    background: rgba(255, 255, 255, 0.02);

    display: flex;
    flex-direction: column;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.tech-page-flow article:hover {
    border-color: rgba(255, 255, 255, 0.28);
}

.tech-page-flow article.active {
    border-color: var(--orange);

    background:
        linear-gradient(
            145deg,
            rgba(223, 45, 37, 0.12),
            rgba(223, 45, 37, 0.025)
        );
}

.tech-page-flow article > span {
    color: var(--orange);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}

.tech-node {
    width: 13px;
    height: 13px;

    margin:
        48px
        0
        auto;

    border-radius: 50%;

    background: var(--orange);
}

.tech-page-flow article:not(.active) .tech-node {
    background: #707070;
}

.tech-page-flow h2 {
    margin: 28px 0 10px;

    font-size: 23px;

    font-weight: 500;
}

.tech-page-flow p {
    margin: 0 0 18px;

    color: #a8a8a8;

    font-size: 15px;

    line-height: 1.6;
}

.tech-page-flow small {
    margin-top: auto;

    color: #777777;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   08. EVIDENCE SECTION
========================================================= */

.evidence-section {
    padding:
        110px
        max(7vw, 45px);

    background: var(--paper);
}

.evidence {
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 100px;
}

.evidence h2 {
    max-width: 650px;

    margin: 0 0 28px;

    color: var(--navy);

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

    font-weight: 400;

    letter-spacing: -2px;
}

.evidence > div:first-child p:last-child {
    max-width: 620px;
}

.evidence > div:last-child {
    padding-top: 15px;
}

.evidence > div:last-child p {
    margin: 0;

    padding:
        22px
        0;

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

    color: var(--navy);

    font-size: 16px;
}

.evidence > div:last-child p:last-child {
    border-bottom: 1px solid var(--line);
}

.evidence > div:last-child span {
    display: inline-block;

    width: 45px;

    color: var(--orange);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* =========================================================
   09. APPLICATION SECTION
========================================================= */

.inner-section.soft {
    padding:
        105px
        max(7vw, 45px);

    background: #ecebe6;
}

.section-head {
    max-width: 1200px;

    margin: 0 auto 65px;

    display: grid;

    grid-template-columns:
        1fr
        0.7fr;

    gap: 80px;

    align-items: end;
}

.section-head h2 {
    margin: 0;

    max-width: 700px;

    color: var(--navy);

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

    font-weight: 400;

    letter-spacing: -2px;
}

.section-head > p {
    margin: 0;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.6;
}


/* APPLICATION GRID */

.application-list {
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 1px;

    background: var(--line);

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

.application-list article {
    min-height: 250px;

    padding: 30px;

    background: var(--paper);
}

.app-swatch {
    width: 100%;
    height: 5px;

    margin-bottom: 35px;

    background: var(--navy);
}

.swatch-01 {
    background: var(--orange);
}

.swatch-02 {
    background: var(--navy);
}

.swatch-03 {
    background: #6b6b66;
}

.swatch-04 {
    background: var(--orange);
}

.swatch-05 {
    background: var(--navy);
}

.swatch-06 {
    background: #6b6b66;
}

.application-list h3 {
    margin: 0 0 12px;

    color: var(--navy);

    font-size: 20px;

    font-weight: 500;
}

.application-list p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   10. CTA
========================================================= */

.inner-callout {
    max-width: 1200px;

    margin: 0 auto;

    padding:
        80px
        85px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 60px;

    color: var(--white);

    background: var(--navy);
}

.inner-callout h2 {
    max-width: 720px;

    margin: 0 0 20px;

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

    font-weight: 400;

    letter-spacing: -2px;
}

.inner-callout p:not(.eyebrow) {
    max-width: 650px;

    margin: 0;

    color: #b8c2cc;

    font-size: 16px;

    line-height: 1.6;
}


/* BUTTON */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 190px;

    padding: 16px 23px;

    border: 0;

    border-radius: 4px;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    cursor: pointer;

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

.button.primary {
    color: var(--white);

    background: var(--orange);
}

.button.primary:hover {
    background: var(--orange-dark);

    transform: translateY(-1px);
}


/* =========================================================
   11. FOOTER
========================================================= */

.inner-footer {
    min-height: 280px;

    padding:
        65px
        max(6vw, 40px);

    display: grid;

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

    column-gap: 70px;

    row-gap: 25px;

    align-items: start;

    color: #a9a9a9;

    background: #101010;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}


/* FOOTER LOGO */

.inner-footer .brand {
    width: 190px;

    display: block;

    text-decoration: none;
}

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

    display: block;

    object-fit: contain;
}


/* FOOTER TAGLINE */

.inner-footer > p {
    margin: 0;

    color: #9a9a9a;

    font-size: 15px;
}


/* FOOTER LINKS */

.inner-footer > div {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

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

    font-size: 14px;

    text-decoration: none;
}

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

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

    font-size: 14px;
}


/* =========================================================
   12. RESPONSIVE — TABLET
========================================================= */

@media (max-width: 900px) {

    .inner-header {
        gap: 20px;

        padding: 0 25px;
    }

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

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

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

    .inner-header .header-cta {
        padding: 13px 16px;

        font-size: 12px;
    }


    .technology-intro {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .technology-intro h1 {
        max-width: 800px;
    }


    .tech-page-flow {
        grid-template-columns: 1fr;
    }


    .evidence {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    .section-head {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .application-list {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .inner-callout {
        padding: 60px;

        flex-direction: column;

        align-items: flex-start;
    }


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


/* =========================================================
   13. RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 680px) {

    body {
        font-size: 15px;
    }


    /* HEADER */

    .inner-header {
        height: auto;

        min-height: 72px;

        padding:
            10px
            18px;

        gap: 12px;

        flex-wrap: wrap;
    }

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

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

    .inner-header nav {
        width: 100%;

        order: 3;

        margin-left: 0;

        padding-bottom: 8px;

        gap: 18px;

        overflow-x: auto;
    }

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

        white-space: nowrap;
    }

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

        padding:
            11px
            13px;

        font-size: 11px;
    }


    /* HERO */

    .technology-hero {
        min-height: auto;

        padding:
            80px
            22px
            70px;
    }

    .technology-intro {
        gap: 30px;
    }

    .technology-intro h1 {
        font-size: 46px;

        letter-spacing: -1.8px;
    }

    .technology-intro > p {
        font-size: 17px;
    }


    /* TECHNOLOGY FLOW */

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

    .tech-page-flow article {
        min-height: 250px;

        padding: 25px;
    }


    /* EVIDENCE */

    .evidence-section {
        padding:
            75px
            20px;
    }

    .evidence {
        gap: 45px;
    }

    .evidence h2 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }


    /* APPLICATIONS */

    .inner-section.soft {
        padding:
            75px
            20px;
    }

    .section-head {
        margin-bottom: 45px;
    }

    .section-head h2 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }

    .application-list {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .inner-callout {
        padding:
            55px
            25px;

        gap: 35px;
    }

    .inner-callout h2 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }

    .button {
        width: 100%;
    }


    /* FOOTER */

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

        padding:
            55px
            25px;

        gap: 30px;
    }

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


/* =========================================================
   14. ACCESSIBILITY / REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition: none !important;
    }
}