/* 
    Elements 
*/

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    font-family: "Archivo", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.25em;
    font-weight: 600;
    letter-spacing: -0.04em;
    margin: 0;
}

main {
    min-height: 75vh;
    overflow: hidden;
}

/* Desktop (> 1024px) */
@media screen and (min-width: 64rem) {
    .main {
        padding-top: 3rem;
    }
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a.expand-target::after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-decoration-skip-ink: auto;
}

menu.no-style,
ul.no-style {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul {
    padding-inline-start: 1.5rem;
    margin-block-start: 0.5em;
    margin-block-end: 2em;
}

img {
    max-width: 100%;
    height: auto;
    object-position: 50% 50%;
    image-rendering: pixelated;
}

figure {
    margin: 0;
}

a.expand-target::after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-decoration-skip-ink: auto;
}

label {
    pointer-events: auto;
}

/* 
	Type Faces
*/

@font-face {
	font-family: Archivo;
	font-weight: 500;
	font-style: semi-bold;
	src: url("assets/fonts/Archivo-VariableFont.woff2") format("woff2"), url("assets/fonts/Archivo-VariableFont.woff") format("woff"), url("assets/fonts/Archivo-VariableFont.otf") format("otf");
}

/* 
    Typography 
*/

.text-micro {
    font-size: 14px;
    line-height: 1.1em;
    letter-spacing: -0.01rem;
}

.text-small {
    font-size: 16px;
    line-height: 1.4em;
}

.text-medium {
    font-size: 20px;
    line-height: 1.4em;
}

.text-large {
    font-size: 28px;
    line-height: 1.3em;
}

.text-uber {
    font-size: 40px;
    line-height: 1em;
}

/* Desktop (> 1024px) */
@media only screen and (min-width: 48rem) {
    .text-uber {
        font-size: 56px;
    }
}

.text-uppercase {
    text-transform: uppercase;
}

.text-mono {
    font-family: monospace;
    letter-spacing: 0;
}

.text-underline {
    /* text-decoration: underline; */
   border-bottom: 1.5px solid white;
}

.text-gray {
    color: #686868;
}

.justify-center {
    justify-content: center;
}

.text-center {
    text-align: center;
}

.text-end {
    text-align: end;
}

.line-height-xs {
    line-height: 1rem;
}

.kt p {
    margin-bottom: 1em;
}

.text-balance {
    text-wrap: balance;
}

/* Utilities */

.align-items-center {
    align-items: center;
}

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.hide-mobile {
    display: none;
}

/* Tablet (> 768px) */
@media screen and (min-width: 48rem) {
    .hide-mobile {
        display: block;
    }
}

/* Desktop (> 1024px) */
@media screen and (min-width: 64rem) {
    .hide-desktop {
        display: none;
    }
}

/* Margin */
.margin-bottom-xs {
    margin-bottom: 0.25rem;
}

.margin-bottom-s {
    margin-bottom: 0.5rem;
}

.margin-bottom-m {
    margin-bottom: 1rem;
}

.margin-bottom-l {
    margin-bottom: 2rem;
}

.margin-bottom-xl,
.margin-bottom-xxl  {
    margin-bottom: 4rem;
}

.margin-top-m {
    margin-top: 1rem;
}

/* Desktop (> 1024px) */
@media only screen and (min-width: 64rem) {
    .margin-bottom-xxl {
        margin-bottom: 6rem;
    }
}

/* 
    Header 
*/

.header {
    position: fixed;
    z-index: 10;
    width: 100%;
    top: 0;
    left: 0;
    padding: 0.75rem 1rem;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-auto-rows: auto 1fr auto auto;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 2px solid black;
}

/* Header Menu */
.header .header-menu {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    width: 1.25rem;
}

.header-menu line {
    stroke-width: 2.5px;
}

.header-logo .logo-small {
    width: 2.5rem;
    padding: 0.25rem 0 0;
    margin-right: 0.75rem;
}

.header a:hover,
.header a:focus-visible {
    background-color: #EAEAEA;
}

/* Header Open */
.header.open {
    bottom: 0;
    background: white;
    grid-auto-rows: max-content;
}

.header .header-nav {
    display: none;
}

.header.open .header-nav {
    display: grid;
    grid-column: 1/-1;
    grid-row: 2;
    margin-top: 4rem;
}

.header.open .header-nav a {
    font-size: 28px;
    line-height: 1.4em;
    padding: 0.5rem 0 0.25rem 0.25rem;
    border-bottom: 2px solid black;
}

.header.open .header-menu .top-line {
    transform: rotate(45deg);
    transform-origin: 6% 35%;
}

.header.open .header-menu .medium-line {
    display: none;
}

.header.open .header-menu .bottom-line {
    transform: rotate(-45deg);
    transform-origin: 13% 71%;
}


/* Desktop (> 768px) */
@media only screen and (min-width: 48rem) {
    .header-logo .logo-small {
        width: 3rem;
    }
}

/* Desktop (> 1024px) */
@media only screen and (min-width: 64rem) {
    .header {
        padding: 0.75rem 4.75rem 0.75rem 1rem;
    }

    .header .header-nav {
        display: flex;
    }

    
    .header .header-nav a {
        padding-right: 1.5rem;
    }
    
    .header-nav a:last-child {
        padding-right: 0;
    }

    .header a:hover,
    .header a:focus-visible {
        text-decoration: underline;
        background-color: transparent;
    }
}

/* 
    Grid
*/

.grid {
    display: block;
}

.span-3 {
    grid-column: span 3;
}

.span-4 {
    grid-column: span 4;
}

/* Tablet (> 768px) */
@media only screen and (min-width: 48rem) {
    .grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        /* grid-auto-rows: max-content; */
        gap: 0rem 0.5rem;
    }
}

/* 
    Page
*/

#product,
#project,
#process,
#team,
#about {
    scroll-margin-top: 5rem;
}

/* Hero */
.page-hero { 
    position: relative;
    height: 100vh;
    display: flex;
    align-items: end;
    padding: 0 1rem 2rem;
}

.page-hero-figure,
.page-hero-figure-image {
    position: absolute;
    object-fit: cover;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.page-hero-headline {
    position: absolute;
    z-index: 2;
    color: white;
    top: 8rem;
}

.page-hero-headline .text-uber {
    padding: 0 1rem 0 0;
}

/* Desktop (> 1024px) */
@media only screen and (min-width: 64rem) {
    .page-hero { 
        padding: 0 4.75rem 2rem;
    }

    .page-hero-headline .text-uber {
        width: 70%;
    }
}

/* Content */

.page-content {
    padding: 6rem 1rem 0;
}

.page-content-text-highlight {
    display: grid;
    grid-auto-rows: max-content;
    min-height: 25rem;
}

.page-content-text-highlight-link {
    width: fit-content;
    padding: 1rem 0 0;
}

/* Tablet (> 768px) */
@media only screen and (min-width: 48rem) {
    .page-content-text-highlight-heading {
        grid-column: span 10;
    }

    .page-content-text-highlight-link {
        grid-column: 1/-10;
    }
}

/* Desktop (> 1024px) */
@media only screen and (min-width: 64rem) {
    .page-content {
        padding: 6rem 4.75rem 0;
    }

    .page-content-text-highlight-heading {
        grid-column: span 8;
    }
}

/* Team */
.page-content-team {
    padding: 2rem 0;
    border-top: 2px solid black;
}

.page-content-team-heading {
    grid-column: span 8;
}

.page-content-team-members {
    grid-column: 1/-1;
}

.member {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: max-content;
    gap: 0rem 0.5rem;
}

.member:not(:last-child) {
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid black;
}

.member-title,
.member-subtitle {
    grid-column: span 4;
    max-width: 250px;
}

.member-figure {
    grid-column: span 1;
    border-radius: 2px;
    filter: grayscale(1);
}

.member-figure-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

/* Tablet (> 768px) */
@media only screen and (min-width: 48rem) {
    .member {
        grid-template-columns: repeat(3, 1fr);
    }

    .member-title,
    .member-subtitle {
        grid-column: span 3;
    }

    .member:not(:last-child) {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
    }
}

/* 
    Blocks 
*/

.block-text {
    margin-bottom: 1rem;
}

.block-small-heading {
    margin: 2rem 0 0.75rem;
}

/* Tablet (> 768px) */
@media only screen and (min-width: 48rem) {
    .blocks {
        grid-column: 1/-3;
    }
}

/* Desktop (> 1024px) */
@media only screen and (min-width: 64rem) {
    .blocks {
        grid-column: 2/-5;
    }
}

/* Block List */
.block-list {
    padding: 0;
    margin-top: 0;
    list-style-position: inside;
}

.block-list-item {
    padding: 1.15rem 0.75rem 1.15rem;
    border-bottom: 2px solid black;
    opacity: 0.5;
    transition: opacity 500ms ease, background-color 500ms ease, padding 500ms ease;
}

.block-list-item.active {
    padding: 1.15rem 0.75rem 1.15rem 1.25rem;
    background-color: #EAEAEA;
    opacity: 1;
}

.block-file {
    position: relative;
    border-top: 2px solid black;
    padding: 0.75rem 1rem;
    gap: 0 0.75rem;
    margin: 2rem 0;
    transition: background-color 500ms ease;
}

.block-file:hover {
    background-color: #EAEAEA;
}

.block-file-icon {
    transition: transform 500ms ease;
}

.block-file:hover .block-file-icon {
    transform: translateY(2px);
}

/* 
    Components 
*/

.page-break {
    width: 100%;
    height: 2px;
    background-color: black;
    content: " ";
    margin: 2rem 0;
}

.page-content-image-highlight {
    height: 30rem;
    overflow: hidden;
    border-radius: 2px;
    margin: 2rem 0;
}

.page-content-image-highlight-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery */

.gallery {
    display: block;
}

.gallery-figure {
    margin-bottom: 1rem;
}

.gallery-figure img {
    border-radius: 2px;
}

/* Desktop (> 1024px) */
@media only screen and (min-width: 64rem) {
    .gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-figure {
        margin-bottom: 0;
    }    
}

/* Slideshow */

.page-content-slideshow {
    position: relative;
    height: 30rem;
    overflow: hidden;
    border-radius: 2px;
}

.page-content-slideshow-slides {
    display: flex;
    height: 30rem;
    transition: transform 1000ms ease;
}

.page-content-slideshow-title {
    position: absolute;
    color: white;
    z-index: 2;
    top: 1rem;
    left: 1rem;
    right: 1rem;
}

/* Tablet (> 768px) */
@media only screen and (min-width: 48rem) {
    .page-content-slideshow-slides {
        width: 100%;
        height: auto;
    }
}

/* Desktop (> 1024px) */
@media only screen and (min-width: 64rem) {
    .slide {
        width: 100%;
        height: auto;
    }

    .page-content-slideshow-title {
        right: 30%;
    }
}

/* Slideshow Indicators */
.page-content-slideshow-indicators {
    position: absolute;
    display: flex;
    bottom: 1rem;
    left: 1rem;
    gap: 1rem;
}

.slideshow-indicator {
    width: 0.5rem;
    height: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1px;
    transition: opacity 300ms;
}

.slideshow-indicator.active {
    background: white;
    opacity: 1;
}

/* Image */
.image-darken {
    filter: brightness(0.75);
}


/* 
    Footer
*/

.footer {
    margin-top: 2rem;
    background-color: #EAEAEA;
    border-top: 2px solid black;
    padding: 2rem 1rem 0.5rem;
}

.footer-logos-image {
    mix-blend-mode: multiply;
    width: 100%;
    height: auto;
}

/* Desktop (> 1024px) */
@media only screen and (min-width: 64rem) {
    .footer {
        padding: 2rem 4.75rem 0.5rem;
    }

    .footer-logos-image {
        width: 60%;
    }  
}