@import url("https://api.fontshare.com/v2/css?f[]=clash-display@400,600&display=swap");
@import url("https://api.fontshare.com/v2/css?f[]=general-sans@100,400,500,600&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'General Sans', sans-serif;
    /* font-family: 'Wingdings 3', 'Wingdings3', 'Zapf Dingbats', 'Symbol', fantasy !important; */
    letter-spacing: 0.03rem;
    /* font-weight: 400; */
    transition: 0.2s ease-out;
    /* outline: 1px solid greenyellow; */
}

:root {
    --fz-h1: 10vw;
    --fz-h2: 5vw;
    --fz-h3: 3.25vw;
    --fz-h4: 2vw;
    --fz-big-body: 22px;
    --fz-body: 18px;
    --fz-small-body: 16px;

    --background: #111;
    --background-light: #222;
    --text-color: #fff;
    --text-color-light: #ddd;
    --text-color-lighter: #aaa;
    --text-color-lightest: #444;
    --primary: #0AEBAF;
    --accent2: #ee8d00;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    height: fit-content;
    height: 100%;
}

body {
    background-color: var(--background);
    max-width: 100vw;
    overflow-x: hidden;
    min-height: 100%;
}

p {
    color: var(--text-color);
    line-height: 140%;
}

.header-text{
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    transform: translateY(calc(-0.5 * var(--fz-small-body)))
}

.small-p {
    font-size: var(--fz-small-body);
    color: var(--text-color-lighter);
    width: 100%;
    max-width: 280px;
    font-family: 'General Sans', sans-serif !important;
}

h1,
h2 {
    font-family: 'Clash Display', sans-serif;
}

.material-symbols-outlined {
    font-size: var(--fz-small-body) !important;
}

button {
    padding: calc(var(--fz-small-body) / 2) var(--fz-small-body);
    color: var(--primary);
    font-weight: 500;
    background-color: var(--background-light);
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid var(--text-color-lightest);
}

nav {
    z-index: 10000;
    display: flex;
    height: 70px;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--fz-h3);
    border-bottom: 1px solid var(--text-color-lightest);
    position: fixed;
    width: 100%;
    background-color: #111111cc;
    backdrop-filter: blur(15px);
    top: 0;
    left: 0;
}

nav img {
    height: calc(var(--fz-big-body) * 1.5);
}

nav ul {
    display: flex;
    list-style: none;
    height: 100%;
    gap: var(--fz-small-body);
    font-size: var(--fz-body);
}

nav ul li,
nav a {
    display: flex;
    align-items: center;
    height: 100%;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    letter-spacing: 0.025rem;
    padding: calc(var(--fz-h4) / 2);

    /* text-transform: uppercase; */
}

nav ul:has(a:hover) li a {
    opacity: 0.3;
}

nav ul:has(a:hover) li a:hover {
    opacity: 1;
}

nav .cta {
    display: flex;
    font-size: var(--fz-body);
    align-items: center;
    justify-content: center;
    gap: calc(var(--fz-small-body) / 2);
    margin-left: calc(var(--fz-h4) / 2);
}

nav .cta:hover {
    background-color: var(--primary);
    color: var(--background);
}

nav .active {
    border-bottom: 1px solid var(--text-color);
    transform: translateY(1px);
}


.modal-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000000;
    background-color: #111111f6;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-bg-overlay.modal-closed {
    opacity: 0;
    transform: translateY(-10%);
    visibility: hidden;
}

.modal-bg-overlay .close-modal {
    position: fixed;
    top: var(--fz-big-body);
    right: var(--fz-big-body);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    padding: var(--fz-small-body);
}

.modal-bg-overlay .close-modal span {
    font-size: var(--fz-h4) !important;
    pointer-events: none;
}

.modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    gap: var(--fz-big-body);
    /* background-color: var(--dark-alt); */
    padding: var(--fz-big-body);
    transition: 0s;
}

.modal a {
    text-decoration: none;
}

.modal button {
    padding: var(--fz-body) calc(var(--fz-big-body) * 1.5);
    font-size: var(--fz-body);
    cursor: pointer;
    transition: 0s;
}

.modal-calendly {
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--fz-small-body);
    border-radius: var(--fz-h1);
    background: var(--background);
    font-weight: 300;
}

.modal-calendly:hover {
    background-color: var(--primary);
    color: var(--background);
    font-weight: 500;
}

.email-copy {
    display: flex;
    border: 1px solid var(--text-color-lightest);
    border-radius: var(--fz-h1);
    padding: 0;
    gap: 0;
    position: relative;
    background-color: var(--background);
    color: var(--light);

}

.email-copy p {
    font-size: var(--fz-body);
    padding-inline: calc(var(--fz-big-body) * 1.5);
}

.email-copy::before {
    content: "Shoot me a quick email";
    position: absolute;
    top: calc(var(--fz-small-body) * -2.5);
    left: 50%;
    transform: translate(-50%);
    width: max-content;
    color: var(--light);
    opacity: 0.5;
    padding: 0 var(--fz-small-body);
}

.modal .email-copy p {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.email-copy-button {
    border-radius: 0 var(--fz-h1) var(--fz-h1) 0;
    background-color: var(--text-color);
    width: calc(var(--fz-big-body) * 5);
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    color: var(--background);
}

.email-copy-button:hover {
    background-color: var(--primary);
    color: var(--background);
}

/* .email-copy:has(.email-copy-button:hover) {
    color: var(--primary);
    border: 2px solid var(--primary);
} */


section {
    width: 100%;
}

p {
    font-size: var(--fz-big-body);
}

.three-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: var(--fz-h3);
    padding-top: 0px;
    padding-bottom: 0px;
}

.title-section.vertical {
    flex-direction: column;
    align-items: start;
}

.title-section.vertical p {
    position: relative;
    left: -3.5px;
    margin-top: 8px;
    width: 50%;
}

.title-section#compass {
    margin-bottom: var(--fz-h4);
}

.ending {
    color: var(--text-color);
    background-color: var(--background-light);
    padding: var(--fz-big-body);
    text-align: center;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: var(--fz-h3);
    color: var(--white);
    background-color: var(--background);
    padding: var(--fz-h3);
    border-top: 1px solid var(--text-color-lightest);
    margin-top: calc(1 * var(--fz-h3));
}

.footer-about p {
    font-size: var(--fz-small-body);
    width: 400px;
    color: var(--text-color-lighter);
}

.footer-about img {
    margin-bottom: var(--fz-small-body);
    height: var(--fz-h3);
}

.footer-links-columns-wrapper {
    display: flex;
    gap: var(--fz-h3);
}

.footer-links-column {
    font-size: var(--fz-body);
    display: flex;
    justify-content: start;
    gap: var(--fz-small-body);
    align-items: start;
    flex-direction: column;
    color: var(--text-color-lighter);

}

.footer-links-column h3 {
    font-size: var(--fz-body);
    font-weight: 500;
    color: var(--text-color);
    /* font-family: "Clash Display", sans-serif; */
}

.footer-links-column ul {
    list-style: none;
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* .footer-contact ul li {
    margin: var(--fz-small-body) 0;
} */

.footer-links-column ul li a {
    display: flex;
    align-items: center
}

.footer-links-column ul li a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-links-column ul li a span.material-icons-outlined {
    font-size: calc(var(--fz-body) * .8) !important
}

.footer-case-studies {
    padding-right: var(--fz-big-body);
}

footer button {
    display: flex;
    font-size: var(--fz-body);
    align-items: center;
    justify-content: center;
    gap: calc(var(--fz-small-body) / 2);
    margin-top: var(--fz-h4);

}

footer button:hover {
    background-color: var(--p);
}

.footer-links-column ul li a {
    text-decoration: none;
    color: inherit
}

.footer-links-column li,
.footer-links-column li span {
    font-size: var(--fz-small-body);
}

.scroll-to-top {
    position: fixed;
    bottom: var(--fz-h3);
    right: var(--fz-h3);
    height: calc(var(--fz-big-body) * 2);
    width: calc(var(--fz-big-body) * 2);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background-light);
    backdrop-filter: blur(15px);
    color: var(--text-color);
}

.no-margin-top.no-margin-top.no-margin-top {
    margin-top: 0;
}


.endorsements .three-grid {
    gap: var(--fz-h3);
    padding: 0;
}


.endorsements .card {
    color: var(--text-color);
    border-radius: 8px;
    padding: var(--fz-big-body);
    border: 1px solid var(--text-color-lightest);
    /* background-color: var(--background-light); */
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.endorsements .card-content.card-content {
    font-size: var(--fz-body);
    margin: 0;
    padding: 0;
    margin-bottom: var(--fz-h3);
    line-height: 140%;
    color: var(--text-color-light);
}

.endorsements .card a {
    color: inherit;
}


.endorsements .card a:hover {
    color: var(--primary)
}


.endorsements .card a::after {
    content: " [↗]";
}


/* .endorsements .card .person-details h3 {
    font-weight: normal;
} */


.endorsements .card .person img {
    border-radius: 5000px;
}


.endorsements .card .person-details p {
    font-size: var(--fz-small-body);
    color: var(--text-color-lighter);
}


.endorsements .card .person {
    display: flex;
    gap: var(--fz-small-body);
    align-items: center;
}

.endorsements .card .person img {
    height: calc(2* var(--fz-big-body));
}


.endorsements .card .person-details p {
    font-weight: normal;
}


@media (min-width: 800px) {
    .hide-desktop {
        display: none !important;
    }
}


@media (max-width: 1100px) {
    .footer-case-studies {
        display: none;
    }
}

@media (max-width: 800px) {
    nav {
        transition: 0.3s ease-out;
    }

    .nav-logo {
        z-index: 1000000000;
    }

    .nav-hamburger {
        color: var(--text-color);
        font-size: var(--fz-h4) !important;
        cursor: pointer;
        z-index: 1000000000;
        user-select: none;
    }

    .hide-mobile {
        display: none !important;
    }

    .hide-desktop {
        display: block;
    }

    #cursor {
        display: none;
    }

    /* SIX */

    .hamburger {
        scale: 0.4;
    }

    .hamburger .line {
        width: 50px;
        height: 5px;
        background-color: #ecf0f1;
        display: block;
        margin: 10px auto;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        border-radius: 4px;
    }

    .hamburger:hover {
        cursor: pointer;
    }

    #hamburger-6.is-active {
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        -webkit-transition-delay: 0.6s;
        -o-transition-delay: 0.6s;
        transition-delay: 0.6s;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    #hamburger-6.is-active .line:nth-child(2) {
        width: 0px;
    }

    #hamburger-6.is-active .line:nth-child(1),
    #hamburger-6.is-active .line:nth-child(3) {
        -webkit-transition-delay: 0.3s;
        -o-transition-delay: 0.3s;
        transition-delay: 0.3s;
    }

    #hamburger-6.is-active .line:nth-child(1) {
        -webkit-transform: translateY(13px);
        -ms-transform: translateY(13px);
        -o-transform: translateY(13px);
        transform: translateY(13px);
    }

    #hamburger-6.is-active .line:nth-child(3) {
        -webkit-transform: translateY(-16px) rotate(90deg);
        -ms-transform: translateY(-16px) rotate(90deg);
        -o-transform: translateY(-16px) rotate(90deg);
        transform: translateY(-16px) rotate(90deg);
    }


    nav ul {
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        height: 100dvh;
        position: absolute;
        flex-direction: column;
        background-color: #111111fc;
        z-index: 10000;
        justify-content: end;
        padding: var(--fz-h3);
        padding-bottom: var(--fz-h1);
        gap: var(--fz-small-body);
        z-index: 10000000;

    }

    nav.inactive ul {
        opacity: 0;
        z-index: -1;
        transform: translateX(-100%);

    }

    nav.inactive ul li {
        transform: translateX(-200%);
    }

    nav ul li {
        transition: 0.5s ease-out;
        display: flex;
        align-items: end;
    }



    nav ul li,
    nav a {
        height: fit-content;
        width: max-content;
        font-size: var(--fz-h2);
        font-family: "Clash Display", sans-serif;
        font-weight: 600;

    }

    nav ul li p {
        font-weight: 100;
        opacity: 0.5;
        margin-bottom: 20px;
        font-size: 16px;
    }

    nav ul li a {
        font-weight: 600;
        padding: calc(var(--fz-small-body));

    }

    nav .cta-wrapper {
        padding-bottom: calc(var(--fz-h4) / 2);
        display: none;
    }

    nav .cta {
        font-size: var(--fz-h3);
    }

    nav .active {
        border: none;
    }

    .three-grid {
        grid-template-columns: 1fr;
    }

    footer {
        margin-top: calc(2 * var(--fz-h3));
        flex-direction: column;
        padding: var(--fz-h3);
    }

    footer .ending {
        padding: var(--fz-big-body) var(--fz-h1);
    }

    footer .footer-contact {
        gap: var(--fz-small-body);
    }

    footer .footer-about p {
        width: 100%;
    }

    .hide-on-mobile {
        display: none !important;
    }
}

@media only screen and (max-width: 600px) {
    :root {
        --fz-h1: 18vw;
        --fz-h2: 10vw;
        --fz-h3: 7.5vw;
        --fz-h4: 5vw;
        --fz-big-body: 20px;
        --fz-body: 16px;
        --fz-small-body: 14px;

        --background: #111;
        --background-light: #222;
        --text-color: #f5f5f5;
        --text-color-light: #ddd;
        --text-color-lighter: #999;
        --text-color-lightest: #444;
        --accent: #f7ce4d;
        --accent2: #ee8d00;
    }

    .footer-links-columns-wrapper {
        flex-direction: column;
    }
}
