@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wdth,wght@0,62..125,100..900;1,62..125,100..900&family=Inter:wght@100..900&display=swap');
@import "/reset.css";
@import "/header.css";

/* variables */

/*:root {
    --color-primary: rgba(60, 58, 54, 1);
    --color-primary-light: rgba(60, 58, 54, 0.5);
    --color-accent: rgba(244, 150, 90, 1);
    --color-background: rgba(235, 228, 216, 1);
    --color-gray-dark: rgba(102, 102, 102, 1);
    --color-gray-light: rgba(102, 102, 102, 0.5);
    --color-black: rgba(0, 0, 0, 1);
}*/

:root {
    --color-primary: hsla(40, 5.3%, 22.4%, 1);
    --color-primary-light: hsla(40, 5.3%, 22.4%, 0.5);
    --color-accent: hsla(23, 87.5%, 65.5%, 1);
    --color-background: hsla(38, 32.2%, 88.4%, 1);
    --color-background-light: hsla(38, 32.2%, 88.4%, 0.8);
    --color-background-lighter: hsla(38, 32.2%, 88.4%, 0.6);
    --color-background-lightest: hsla(38, 32.2%, 88.4%, 0.4);
    --color-gray-dark: hsla(0, 0%, 40%, 1);
    --color-gray-light: hsla(0, 0%, 40%, 0.5);
    --color-black: hsla(0, 0%, 0%, 1);
    --color-black-light: hsla(0, 0%, 0%, 0.5);
}

.archivo-max {
    font-family: "Archivo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings:
    "wdth" 125;
    line-height: 1.1;
}
.archivo-min {
    font-family: "Archivo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-variation-settings:
    "wdth" 90;
}

/* core */

* {
    box-sizing: border-box;
}
html {
    background: var(--color-background);
}
body {
    padding: 0rem 1rem 1rem 1rem;
    color: var(--color-primary);
    background-color: var(--color-background);
    line-height: 1.3;
    font
}
a {
    color: var(--color-primary)
}
a:hover {
    cursor: pointer;
}
a, p, span {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
    "slnt" 0;
    line-height: 1.3;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Archivo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings:
    "wdth" 125;
    line-height: 1.1;
}
.content-container {
    display: flex;
    flex-direction: column;
    margin-top: 1vh;
}

/* hero */ 

.headers-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 8vh;
    margin-top: 6vh;
}
.main-header {
    font-size: clamp(2rem, 17vw, 6.3rem);
    margin-bottom: 3vh;
    background: linear-gradient(145deg, var(--color-background) 4%, var(--color-primary) 25%, var(--color-primary) 95%);
    color: transparent;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    line-height: 1.1;
}
.main-subheader {
    font-family: "Inter", sans-serif;
    font-size: clamp(1rem, 5.25vw, 1.5rem);
    font-weight: 250;
    line-height: 1.3;
}
.logo-box {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 6vh;
    margin-top: 2vh;
    opacity: 0.66;
}
.logo-box img {
    width: 20%;
    height: auto;
}
.patents {
    border-top: 0.25px solid var(--color-primary);
    padding: 1rem 0;
    margin-bottom: 3vh;
}
.patents span {
    font-weight: 700;
    text-transform: uppercase;
}
.patents a {
    font-weight: 400;
    text-decoration: none;
    border-bottom: 0.5px solid var(--color-primary);
    transition: all 0.3s ease-in-out;
}
.patents a:hover, .patents a:active, .patents a:focus {
    color: var(--color-accent);
    border-bottom: 3px solid var(--color-accent);
}

/* work */

.work-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    justify-content: space-between;
}
.work-link {
    text-decoration: none;
    color: inherit;
    border: 10px solid transparent;
    border-radius: 0px;
    transition: border-color 0.5s ease-in-out, border-radius 0.25s ease-in-out;
    height: 100%;
    perspective: 500px;
}
.work-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin-bottom: 2.5vw;
    border: 0.25px solid var(--color-gray-dark);
}
.work-card:has(>.work-link:hover) {
    border-color: var(--color-background);
}
.work-preview-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: linear-gradient(90deg, var(--color-background) 0%, var(--color-gray-light) 10%, var(--color-black) 25%, var(--color-black) 50%, var(--color-black) 75%, var(--color-gray-light) 90%, var(--color-background) 100%);
    margin-bottom: .5vw;
    transition: transform 0.5s, padding-top 0.5s;
    transform-origin: top top;
}
.work-preview-container.horiz-vid {
    background: linear-gradient(0deg, var(--color-background) 0%, var(--color-gray-light) 10%, var(--color-black) 25%, var(--color-black) 50%, var(--color-black) 75%, var(--color-gray-light) 90%, var(--color-background) 100%);
    transform-origin: right right;
}
.work-link:active, .work-link:hover {
    border-color: var(--color-accent);
    border-radius: 10px;
}
.work-link:hover .work-preview-container, .work-link:active .work-preview-container {
    transform: rotateY(20deg);
}
.work-link:hover .work-preview-container.horiz-vid, .work-link:active .work-preview-container.horiz-vid {
    transform: rotateY(10deg);
}
.work-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.work-video-container {
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.work-video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 100%;
}
.work-link:hover .work-video-container video {
    max-height: 100% !important;
    border: 6px solid var(--color-accent);
    border-radius: 10px;
}
.work-link:hover .horiz-vid .work-video-container video {
    max-height: 100% !important;
    border: 6px solid var(--color-accent);
    border-radius: 10px;
}
.work-link:hover .work-preview-container {
    padding-top: 190% !important;
}
.work-link:hover .work-preview-container.horiz-vid {
    padding-top: 100% !important;
    padding-left: 175% !important;
    position: fixed;
    right: 0;
}
.work-link:hover:has(>.work-preview-container.horiz-vid) .work-info-wrapper {
    padding-top: 100% !important;
}
.work-card:has(>.work-link.active-state) {
    border-color: var(--color-background);
}
.work-link.active-state {
    border-color: var(--color-accent);
    border-radius: 10px;
}
.work-link.active-state .work-preview-container {
    transform: rotateY(20deg);
}
.work-link.active-state .work-preview-container.horiz-vid {
    transform: rotateY(0deg);
}
.work-link.active-state .work-video-container video {
    max-height: 100% !important;
    border: 6px solid var(--color-accent);
    border-radius: 10px;
}
.work-link.active-state .horiz-vid .work-video-container video {
    max-width: 100% !important;
    border: 0px solid var(--color-accent);
    border-radius: 0px;
}
.work-link.active-state .work-preview-container {
    padding-top: 190% !important;
}
.work-link.active-state .work-preview-container.horiz-vid {
    padding-top: 100% !important;
    padding-left: 0% !important;
    position: fixed;
    right: 0;
}
.work-link.active-state:has(>.work-preview-container.horiz-vid) .work-info-wrapper {
    padding-top: 100% !important;
}
.work-info-wrapper {
    padding: 0.75rem;
    padding-top: 0;
}
.work-info-container {
    display: flex;
    align-items: center;
    margin-bottom: .5vw;
    flex-wrap: wrap;
}
.work-logo {
    width: 33%;
    height: auto;
    margin: 0;
    margin-bottom: .25vw;
}
.work-title {
    font-size: 4vw;
    line-height: 1.1;
    font-weight: 900;
    font-variation-settings:
    "wdth" 125;
    text-wrap: balance;
}
.work-description {
    margin-bottom: 2rem;
}
.work-tags-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.work-role {
    text-transform: uppercase;
    margin-right: 0.5rem;
    font-weight: 400;
    padding-top: 0.15rem;
}
.work-tag {
    border: 0.5px solid var(--color-primary);
    border-radius: 50px;
    padding: 5px 15px 4px 15px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.65rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
}
.homesection .work-card video {
    max-height: none;
    max-width: 100%;
}
.homesection .work-card .horiz-vid video {
    max-height: 100%;
    max-width: none;
}

/* work detail page */

.work-zoom .content-container {
    justify-content: left;
}
.work-zoom .work-wrapper {
    justify-content: space-between;
    flex-direction: column;
    padding-bottom: 0;
}
.work-zoom .work-card {
    width: 100%;
    border: 0px;
}
.work-zoom .work-preview-container {
    margin-bottom: 0;
}
.work-zoom .work-video-container video {
    max-width: 474px;
}
.work-zoom .work-preview-container.horiz-vid .work-video-container video {
    max-width: 100%;
}
.project-info {
    width: calc(100vw - 3rem);
    padding: 2rem 0 6rem 0;
/*    position: fixed;*/
    bottom: 0;
    left: 0;
    background: var(--color-background);
}
.project-info h2 {
    margin-bottom: 1rem;
}
/*
.project-info h3 {
    font-size: .75rem;
    font-family: "Inter", sans-serif;
    margin-bottom: 1rem;
}
.project-info h3 span {
    font-weight: 300;
}
.project-info h3 .team {
    text-transform: uppercase;
}
.project-info p {
    margin-bottom: 2rem;
}*/
.external-embed {
    width: 100%;
    margin-bottom: 1vh;
}
.work-zoom .work-wrapper.vid-only video {
    margin-bottom: 1rem;
}
.work-team, .work-team ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.work-team {
    flex-direction: column;
}
.work-team li {
    display: inline;
}
.work-team li .team, .work-team li .subteam a {
    text-transform: uppercase;
    font-weight: 400;
    margin-right: 0.5rem;
}
.work-team .teamlist {
    margin-bottom: 0.75rem;
}
.work-team li .name, .work-team li .name a {
    font-weight: 700;
}
.work-team li .name:after {
    content: ",";
}
.work-team li:not(:last-child) .title:after {
    content: "/";
    margin: 0 0.5rem;
}

/* work card simple */

.work-card-simple {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin-bottom: 2rem;
    border: 0.5px solid var(--color-primary);
    transform-origin: 33% top;
}
.work-link-simple {
    text-decoration: none;
}
@keyframes shimmer {
    0% {
        background-position: -50%;
    }
    100% {
        background-position: 150%;
    }
}
.work-video-wrapper-simple {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-bottom: 0.5px solid var(--color-primary);
    background: var(--color-accent);
    animation: shimmer 2s infinite linear;
    background: linear-gradient(
        to right,
        rgba(244, 150, 90, 1) 0%,
        rgba(212, 130, 57, 1) 50%,
        rgba(244, 150, 90, 1) 100%
        );
    background-size: 200% auto;
    transition: aspect-ratio 0.75s ease-in-out, overflow 0.75s ease-in-out;
}
.work-video-wrapper-simple.active-state, .work-link-simple:hover .work-video-wrapper-simple {
    width: 100%;
    aspect-ratio: 43 / 84;
    overflow: hidden;
    max-height: calc(100vh - 160px);
    perspective: 500px;
    overflow: visible;
}
.work-video-wrapper-simple video {
    width: 100%;
    margin-top: -25%;
    aspect-ratio: 31 / 63;
    background: var(--color-black);
    border-radius: 70px;
    transition: margin 0.5s ease-in-out, transform 0.75s ease-in-out;
    box-shadow: 3px 3px 15px hsla(0, 0%, 0%, 0.9);
}
.work-video-wrapper-simple.active-state video, .work-link-simple:hover .work-video-wrapper-simple video {
    margin-top: 0;
    transform: rotateY(15deg);
    position: relative;
    max-height: calc(100vh - 160px);
    border: 2px solid var(--color-black);
    position: absolute;
    z-index: 1000;
}
.work-card-simple.horiz-simple .work-video-wrapper-simple {
    aspect-ratio: 1 / 1;
}
.work-card-simple.horiz-simple .work-video-wrapper-simple video {
    aspect-ratio: 16 / 9;
    margin: 0;
    height: 100%;
    position: relative;
    left: -33%;
    max-width: none;
    background: var(--color-black);
    border-radius: 0px;
    transition: margin 5.5s ease-in-out, transform 0.75s ease-in-out;
}
.work-card-simple.horiz-simple .work-video-wrapper-simple.active-state, .work-link-simple:hover .work-card-simple.horiz-simple .work-video-wrapper-simple {
    aspect-ratio: 16 / 9;
}
.work-card-simple.horiz-simple .work-video-wrapper-simple.active-state video, .work-link-simple:hover .work-card-simple.horiz-simple .work-video-wrapper-simple video {
    background: var(--color-black);
    max-width: 100%;
    aspect-ratio: 16 / 9;
    left: 0;
}
.work-card-simple.horiz-simple.wide-simple .work-video-wrapper-simple video {
    aspect-ratio: 45 / 19;
}
.work-card-simple:hover {
    border-color: var(--color-accent);
    border: 2px solid var(--color-accent);
}
.work-link-simple:hover {
    cursor: pointer;
}
.work-card-simple.horiz-simple .work-video-wrapper-simple video {
    max-height: none;
    left: 0;
    width: auto;
}
.work-card-simple.horiz-simple:hover .work-video-wrapper-simple video {
    left: -25%;
    max-width: 175%;
}
.work-info-simple {
    padding: 1rem 2rem 2rem;
    display: flex;
    flex-direction: column;
}
.work-logo-simple {
    justify-self: center;
    max-height: 70px;
    margin-bottom: 1rem;
}
.work-title-simple {
    font-size: clamp(1.2rem, 1.5vw, 6rem);
    text-wrap: balance;
    margin-bottom: 1rem;
/*    hyphens: auto;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 0.9;*/
}
.work-title-simple span {
    font-family: "Archivo", sans-serif;
    font-weight: 300;
    font-style: italic;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.work-description-simple {
    font-size: clamp(1.25rem, 1vw, 3rem);
    margin-bottom: 2.5rem;
    line-height: 1.33;
}
.work-tagbox-simple {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.work-tag-simple {
    padding: 3px 15px 2px 15px;
    margin: 0px 5px 5px 0;
    border: 0.5px solid var(--color-primary);
    border-radius: 30px;
    font-size: clamp(0.75rem, 0.75vw, 2rem);
    text-transform: uppercase;
}

/* about page */

.about-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    margin-bottom: 10vh;
    perspective: 1200px;
}
.about-section .bioimage {
    width: 100%;
/*    transform: rotateY(10deg);*/
}
.about-section .about-textwrap {
    padding: 2rem 0 0 0;
}
.about-section .imageblock {
    width: 100%;
    display: flex;
    flex-direction: column;
    transform: rotateY(10deg);
}
.about-section .bioimage {
    margin-bottom: 1rem;
}
.about-section .imageblock img {
    filter: grayscale(100%);
}
.about-section .smallimageblock {
    display: flex;
    flex-direction: row;
    perspective: 900px;
}
.about-section .smallimageblock img {
    max-width: calc(50% - 0.5rem);
}
.about-section .smallimageblock img:first-child {
    margin-right: 1rem;
}
.about-section h1 {
    margin-bottom: 1rem;
}
.about-section p:not(:last-child) {
    margin-bottom: 1rem;
}
.about-section .about-textwrap .logo-box {
    max-width: 100%;
    margin-bottom: 2rem;
    margin-top: 3rem;
}
.about-section .about-textwrap .logo-box img {
    width: calc(100% / 7);
    max-width: none;
    margin-bottom: 1rem;
}
.about-section .contact-links {
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
}
.about-section .contact-links a {
    display: flex;
    align-items: center;
    margin-right: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    padding-bottom: 3px;
    border-bottom: 3px solid var(--color-background);
    transition: all 0.3s ease-in-out;
}
.about-section .contact-links a:hover, .about-section .contact-links a:focus, .about-section .contact-links a:active {
    border-bottom: 3px solid var(--color-accent);
}
.about-section .contact-links img {
    margin-right: 5px;
    height: 18px;
}
.about-section .contact-links a:hover img, .about-section .contact-links a:focus img, .about-section .contact-links a:active img {
    filter: hue-rotate(-17deg) saturate(800%) brightness(250%);
}

/* media queries */

@media screen and (min-width: 501px) {
    .work-title {
        font-size: calc(1vw * 3);
    }
    .work-zoom .work-card {
        max-width: calc(100% - 0%);
        margin-bottom: 0;
    }
    .work-card-simple.horiz-simple.wide-simple .work-video-wrapper-simple video {
        left: -50%;
    }
}
@media screen and (min-width: 800px) {
    .content-container {
        max-width: 80vw;
        margin-left: 10vw;
        margin-right: 10vw;
    }
    .logo-box {
        max-width: 80vw;
    }
    .mainlogo img {
        width: 10vw;
    }
    .work-card-simple {
        max-width: calc(50% - 2.5%);
    }
    .work-title {
        font-size: calc(1vw * 2.25);
    }
    .work-zoom .work-wrapper {
        justify-content: space-between;
        flex-direction: row;
    }
    .work-zoom .work-card-simple {
        max-width: calc(50% - 0%);
        margin-bottom: 0;
    }
    .project-info {
        width: calc(80vw - 1rem);
        left: 10vw;
    }
    .work-card.quad {
        max-width: 100%;
    }
    .youtube-embed {
        padding: 0 !important;
        width: 80vw;
    }
}
@media screen and (min-width: 1200px) {
    .logo-box img {
        width: 10%;
    }
    .mainlogo img {
        width: 5vw;
    }
    .headers-wrapper {
        flex-wrap: nowrap;
        justify-content: left;
    }
    .main-header {
        max-width: 50vw;
        margin-right: 3vw;
        margin-bottom: 0;
    }
    .main-subheader {
        max-width: 70vw;
    }
    .work-card-simple {
        max-width: calc(33% - 1.875%);
    }
    .work-zoom .work-card {
        max-width: calc(33.33333% - 0%);
        margin-bottom: 0;
    }
    .work-zoom .content-container {
        max-width: 100%;
        margin: 0;
    }
    .work-title {
        font-size: calc(1vw * 1.25);
    }
    .project-info {
        width: calc(100vw - 3rem);
        padding: 2rem 10vw 6rem 10vw;
        left: 0;
    }
    .external-embed {
        /*width: 80vw;
        margin-left: 10vw;*/
        padding: 60% 0 0 0 !important;
    }
    .youtube-embed iframe {
        width: 100%;
        max-width: 100% !important;
        height: 50vh;
        padding-top: 0 !important;
    }
    .work-wrapper.still-img {
        max-width: 70vw;
        margin-left: 15vw;
    }
    .work-card.quad {
        max-width: 50%;
    }
    .work-zoom .work-wrapper.vid-only video {
        max-width: 60vw;
        margin-left: 20vw;
    }
    .about-section {
        margin-top: 20px;
    }
    .about-section .imageblock {
        max-width: 40%;
    }
    .about-section .about-textwrap {
        max-width: 60%;
        padding: 0 0 0 2rem;
    }
    .about-section .about-textwrap .logo-box {
        max-width: 100%;
    }
    .about-section .about-textwrap .logo-box img {
        width: calc(100% / 14);
    }
    .about-section .patents {
        margin-bottom: 0;
    }
}
@media screen and (min-width: 1800px) {
    .main-header {
        max-width: 50vw;
    }
    .main-subheader {
        max-width: 25vw;
    }
    .content-container.horiz-special {
        flex-direction: row;
        max-width: 80vw;
        margin-left: 10vw;
    }
    .horiz-special .still-img {
        margin: 0;
    }
    .horiz-special .external-embed {
        margin-left: 0;
        padding: 0 0 0 0 !important;
    }
    .horiz-special .external-embed iframe {
        top: -155px !important;
    }
    .project-info {
        padding-right: 10vw;
    }
    .youtube-embed {
        width: 80vw;
        margin-left: 0;
    }
    .about-section .imageblock {
        max-width: 30%;
    }
    .about-section .about-textwrap {
        max-width: 70%;
        padding: 0 0 0 2rem;
    }
}