html { overflow-y: scroll; }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "neue-haas-grotesk-display", sans-serif;
    background-color: #ffffff;
    color: #000000;
    overflow-x: hidden;
}

/* 12-column grid system */
:root {
    --grid-margin: 60px;
    --grid-gutter: 30px;
    --grid-columns: 12;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 30px var(--grid-margin) 0;
    min-height: 100%;
    gap: 30px;
    max-width: 100%;
}

/* Image gallery */
.image-slider { width: 100%; display: flex; justify-content: center; } 
.image-track { display: flex; gap: 30px; justify-content: center; } 
.image-track img { width: 25vw; min-width: 380px; aspect-ratio: 3/4; object-fit: cover; display: block; flex-shrink: 0; }

/* Navigation buttons */
.navigation {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-button {
    padding: 5px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: underline;
    text-decoration-thickness: 0.06em;
    text-underline-offset: 0.10em;    
    border: 1px solid #000000;
    font-size: 15px;
    text-transform: lowercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-weight: 600;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.25);
}

/* Contact links */
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

/* Name */
.name {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.contact-link {
    background-color: #1A00FF;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: color 0.2s ease;
    display: inline-block;
}

.contact-link:hover {
    color: #F90000;
}

/* POV page styles */
.pov-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    padding-bottom: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.pov-title-box {
    border: 2px solid #000000;
    padding: 5px 5px;
    display: inline-block;
    text-decoration: none;
    color: #000000;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pov-title-box:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.25);
}

.pov-title {
    font-size: 64px;
    font-weight: 700;
    text-transform: lowercase;
    text-decoration: underline;
    text-decoration-thickness: 0.06em;
    text-underline-offset: 0.10em;     
    margin: 0;
    white-space: nowrap;
}

.brands-colors-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.brands-section {
    display: flex;
    gap: 10px 30px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.brand-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
    display: block;
}

.color-squares {
    display: flex;
    gap: 7px;
    justify-content: center;
}

.color-square {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.color-square.blue {
    background-color: #1A00FF;
}

.color-square.red {
    background-color: #F90000;
}

.color-square.orange {
    background-color: #FF6200;
}

.color-square.yellow {
    background-color: #FFE500;
}

.color-square.green {
    background-color: #00AF0F;
}

.pov-content {
    width: 100%;
    max-width: 506px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.pov-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.pov-heading {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.pov-text {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

/* Projects page styles */
.projects-content {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    padding-bottom: 120px;
}

.project-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.project-image {
    width: 100%;
    max-width: 505px;
    height: auto;
    display: block;
    object-fit: cover;
    border: 1px solid #000000;
}

.project-caption {
    padding: 5px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: underline;
    text-decoration-thickness: 0.06em;
    text-underline-offset: 0.10em;
    border: 1px solid #000000;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-weight: 600;
    display: inline-block;
    text-align: center;
}

.project-caption:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.25);
}

.prototype-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    z-index: 999;
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
    /* Calculate bottom to not cover footer - footer is ~200px tall */
    bottom: 120px;
}

.loading-overlay.fade-out {
    opacity: 0;
}

body.loading {
    overflow: hidden;
}

/* Footer styles */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
}

.loading-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background-color: #ffffff;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.loading-bar.hidden {
    opacity: 0;
    height: 0;
}

.loading-bar-fill {
    height: 100%;
    background-color: #1A00FF;
    width: 0%;
    transition: width 0.3s ease;
}

.footer-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.site-footer.hidden {
    transform: translateY(100%);
}
