/* basic settings */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    background: #1e1e1c;
    color: #F7F4EB;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    overflow-x: hidden;
}


/* navigation */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;

    background: rgba(30, 30, 28, calc(var(--scroll-opacity, 0) * 0.50));
    transition:
    background 0.4s ease-out,
    opacity 0.45s ease;
}

body.loading-locked .navbar {
    opacity: 0;
}

body.info-overlay-open .navbar {
    opacity: 0;
    pointer-events: none;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(calc(-50% + 1px));
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.logo:focus,
.logo:focus-visible,
.logo:active {
    outline: none;
    border: none;
    box-shadow: none;
}

.logo img {
    display: block;
    width: 38px;
    height: auto;
    border: none;
    outline: none;
    box-shadow: none;
    -webkit-user-select: none;
    user-select: none;
}

/* first visit: the nav logo traces itself like the loading-screen "B", then fades into the image */
.nav-logo-svg {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke-width: 14;
    stroke-linejoin: round;
    stroke-linecap: round;
    pointer-events: none;
}

.nav-logo-track {
    stroke: rgba(242, 239, 230, 0.15);
}

.nav-logo-draw {
    stroke: #F2EFE6;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

html.nav-logo-intro .nav-logo-svg {
    display: block;
}

/* the image waits; the animation below shows it after 12s even if the script never runs */
html.nav-logo-intro .logo img {
    opacity: 0;
    animation: navLogoFailsafe 0.01s 12s forwards;
}

html.nav-logo-drawing .nav-logo-draw {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 2.4s ease-in-out;
}

html.nav-logo-done .logo img {
    opacity: 1;
    transition: opacity 0.5s ease;
}

html.nav-logo-done .nav-logo-svg {
    opacity: 0;
    transition: opacity 0.5s ease;
}

@keyframes navLogoFailsafe {
    to { opacity: 1; }
}

nav {
    position: absolute;
    right: 50px;
    display: flex;
    gap: 35px;
    align-items: center;
}

nav a {
    color: #F7F4EB;
    text-decoration: none;

    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;

    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.5;
}


/* hero */

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    display: flex;
    align-items: center;

    padding: 150px 8%;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background: transparent;

    z-index: 1;
}

/* showreel play / pause */

.hero-video-toggle {
    position: absolute;
    right: 45px;
    bottom: 45px;
    z-index: 3;

    width: 44px;
    height: 44px;

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

    padding: 0;

    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;

    color: #F7F4EB;

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;
}

.hero-video-toggle:focus,
.hero-video-toggle:focus-visible,
.hero-video-toggle:active {
    outline: none;
    box-shadow: none;
}

.hero-video-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.hero-video-toggle .play-icon {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 800px;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: clamp(60px, 10vw, 150px);

    line-height: 0.85;

    letter-spacing: -5px;

    margin-bottom: 40px;
}

.hero-text {
    max-width: 500px;

    font-size: 18px;
    line-height: 1.6;

    color: #F7F4EB;

    margin-bottom: 40px;
}


/* button */

.button {
    display: inline-block;

    padding: 16px 28px;

    border: 1px solid #F7F4EB;

    color: #F7F4EB;
    text-decoration: none;

    font-size: 12px;
    letter-spacing: 2px;

    transition: 0.3s;
}

.button:hover {
    background: #F7F4EB;
    color: #1e1e1c;
}


/* sections */

.section {
    padding: 0 8%;
    width: 100%;
}

.section-label {
    font-size: 11px;
    letter-spacing: 3px;

    color: #777777;

    margin-bottom: 25px;
}

.section h2 {
    font-size: clamp(45px, 7vw, 100px);

    line-height: 0.95;

    letter-spacing: -3px;

    margin-bottom: 70px;
}


/* projects */

.projects {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.project {
    width: calc(100% + 16vw);
    margin-left: -8vw;
    max-width: 100vw;
}

.project-media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    overflow: hidden;
    background: #1e1e1c;
}

.project-click {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.project-thumbnail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease,
                transform 0.8s ease;
}

.project-media:hover .project-thumbnail {
    transform: scale(1.02);
}

.project-info {
    padding: 18px 0 40px;
    max-width: 100%;
}

.project-info h3 {
    font-size: clamp(14px, 2vw, 22px);
    line-height: 1.1;
    margin-bottom: 6px;
}

.project-info p {
    color: #F7F4EB;
    font-size: clamp(10px, 1.3vw, 15px);
    line-height: 1.2;
    margin: 0;
}

/* overlay */

.project-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;
    justify-content: flex-start;

    padding: clamp(12px, 2.5vw, 30px);

    opacity: 1;

    background:
        linear-gradient(
            to top,
            rgba(30, 30, 28, 0.55) 0%,
            rgba(30, 30, 28, 0.18) 35%,
            rgba(30, 30, 28, 0) 60%
        );

    transition: background 0.4s ease;
}

.project-link {
    color: #F7F4EB;
    text-decoration: none;
    padding: 12px 20px;
    border: 1px solid #F7F4EB;
    font-size: 11px;
    letter-spacing: 0px;
}

.project-link:hover {
    color: #F7F4EB;
}

/* hover */

.project-media:hover .project-overlay {
    background:
        linear-gradient(
            to top,
            rgba(30, 30, 28, 0.65) 0%,
            rgba(30, 30, 28, 0.25) 35%,
            rgba(30, 30, 28, 0) 60%
        );
}

/* footer */

footer {
    position: relative;
    z-index: 10;

    padding: 30px 8%;

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

    color: #F7F4EB;
    font-size: 12px;

    background: rgba(30, 30, 28, 0.25);
}

.menu-button {
    display: none;
    position: absolute;
    top: 20px;
    left: 20px;
    width: 26px;
    height: 18px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
}

.menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background: #F7F4EB;
    transition: 0.3s;
}

.menu-button.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(30, 30, 28, 0.97);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.mobile-menu a {
    color: #F7F4EB;
    text-decoration: none;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.mobile-menu a:hover {
    opacity: 0.5;
}

.footer-copyright {
    margin-left: auto;
}

.footer-email {
    margin-left: 25px;

    color: #F7F4EB;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.5px;

    transition: opacity 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.footer-email-icon {
    display: none;
}



/* social media link */

.instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.instagram-link svg {
    width: 18px;
    height: 18px;
    stroke: #F7F4EB;
    stroke-width: 1.6;
    fill: none;
}

.instagram-link .instagram-dot {
    fill: #F7F4EB;
    stroke: none;
}

.instagram-link:hover {
    opacity: 0.5;
}


/* project page */

.project-hero {
    position: relative;

    min-height: 90vh;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    padding: 100px 8%;
}

.project-video-bottom {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 20px 100px;
    clear: both;
}

.full-project-video {
    width: 100%;
    max-width: 1700px;
    height: 750px;
    display: block;
    object-fit: cover;
}

.back-to-work {
    width: 100%;
    clear: both;
}

.project-hero-overlay {
    position: absolute;

    inset: 0;

    background: rgba(30, 30, 28, 0.45);

    z-index: 1;
}

.project-hero-content {
    position: relative;

    z-index: 2;
}

.project-hero-content h1 {
    font-size: clamp(60px, 10vw, 150px);

    line-height: 0.85;

    letter-spacing: -5px;
}


/* project details */

.project-details {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 60px;
    padding: 100px 8% 40px;
}

.project-description h2 {
    font-size: clamp(45px, 6vw, 80px);

    line-height: 1;

    margin-bottom: 40px;
}

.project-description p:not(.section-label) {
    max-width: 700px;

    color: #999;

    font-size: 18px;

    line-height: 1.7;

    margin-bottom: 25px;
}


/* credits */

.project-credits {
    border-top: 1px solid #333;
}

.credit {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 20px 0;

    border-bottom: 1px solid #333;
}

.credit span {
    color: #666;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.credit strong {
    font-size: 13px;

    font-weight: normal;
}


/* gallery */

.project-gallery {
    padding: 0;
    width: 100%;
    max-width: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 0;
}

.gallery-grid img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.oktoberfest-gallery img:nth-child(2) {
    object-position: left center;
}

.farmtofork-gallery img:nth-child(5) {
    object-position: center top;
}

.farmtofork-gallery img:nth-child(8) {
    object-position: 50% 20%;
}

.farmtofork-gallery img:nth-child(9) {
    object-position: 50% 30%;
}

.farmtofork-gallery img:nth-child(14) {
    object-position: 70% 20%;
}

.farmtofork-gallery img:nth-child(13) {
    object-position: center top;
}

.serenityparks-gallery img:nth-child(3) {
    object-position: 100% 58%;
}

.serenityparks-gallery img:nth-child(4) {
    object-position: 100% 50%;
}


/* awards */

.project-awards {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.awards-grid {
    display: flex;
    align-items: center;
    gap: 15px;
    width: max-content;
    transform: translateY(-20px);
}

.awards-grid img {
    width: 230px;
    height: 180px;
    object-fit: contain;
}

.awards-grid img:nth-child(3) {
    transform: scale(1.065);
    margin-left: 4px;
}

/* back */

.back-to-work {
    padding: 0 8% 90px;
}

.back-to-work-spaced {
    padding-top: 60px;
    padding-bottom: 60px;
}
.back-to-work a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;

    border: 1px solid rgba(247, 244, 235, 0.25);
    border-radius: 4px;

    color: #F7F4EB;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;

    transition: border-color 0.2s ease;
}

.back-to-work a:hover {
    border-color: #F7F4EB;
}

.back-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.back-to-work a:hover .back-arrow {
    transform: translateX(-4px);
}


/* loading screen */

body.loading-locked {
    overflow: hidden;
    width: 100%;
    touch-action: none;
}

@media (min-width: 801px) {

    body.loading-locked {
        position: fixed;
        inset: 0;
        height: 100%;
    }

}

#loadingScreen {
    position: fixed;
    inset: 0;

    z-index: 9999;

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

    background: #1e1e1c;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}

/* the "B" logo; the green line traces it as the page loads */
.loading-logo {
    position: relative;
    z-index: 2;

    width: 128px;
    height: 128px;

    fill: none;
    stroke-width: 14;
    stroke-linejoin: round;
    stroke-linecap: round;

    transition: opacity 1.5s linear;
}

.loading-logo-track {
    stroke: rgba(247, 244, 235, 0.15);
}

.loading-logo-draw {
    stroke: #F7F4EB;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;

    transition: stroke-dashoffset 0.35s ease-out;
}

#loadingScreen.fade-to-black .loading-logo {
    opacity: 0;
}

#loadingScreen::after {
    content: "";
    position: absolute;
    inset: 0;

    background: #000;

    opacity: 0;
    pointer-events: none;

    transition: opacity 1.5s linear;
}

#loadingScreen.fade-to-black::after {
    opacity: 1;
}

#loadingScreen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 800px) {

    #aboutOverlay {
        padding: 36px 20px;
    }

    #aboutOverlay h2 {
        font-size: 34px;
        white-space: nowrap;
    }

    /* label and heading centred; the paragraph stays left-aligned */
    #aboutOverlay .info-overlay-eyebrow,
    #aboutOverlay h2 {
        text-align: center;
    }

}


/* about / contact overlay */

.page-content {
    filter: none;
    opacity: 1;

    transition:
        filter 0.45s ease,
        opacity 0.7s ease;
}

body.loading-locked .page-content {
    opacity: 0;
}

body.info-overlay-open .page-content {
    filter: blur(14px);
}

.info-overlay {
    position: fixed;
    inset: 0;

    z-index: 2000;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding: 110px 8% 70px;

    overflow: hidden;

    opacity: 0;
    pointer-events: none;

    transition:
        opacity 0.45s ease;
}

.info-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition:
        opacity 0.45s ease;
}

.info-overlay-backdrop {
    position: fixed;
    inset: 0;

    background: rgba(30, 30, 28, 0.58);
}

.info-overlay-panel {
    position: relative;
    z-index: 2;

    display: none;

    width: min(1200px, 100%);
    min-height: 520px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;

    padding: 60px;

    border: none;

    background: transparent;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* CONTACT PANEL ONLY */
#contactOverlay {
    border: none;
    background: transparent;
}

#aboutOverlay {
    border: 1px solid rgba(247, 244, 235, 0.16);
    background: rgba(30, 30, 28, 0.48);
}

#aboutOverlay.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#aboutOverlay p {
    margin-bottom: 36px;
}

.about-clients {
    margin-bottom: 36px;
}

.about-clients-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px 40px;
}

.about-clients-logos img {
    display: block;
    width: auto;
    height: calc(var(--logo-h, 48) * var(--logo-scale, 1) * 1px);
    position: relative;
    top: calc(var(--logo-nudge, 0) * var(--logo-scale, 1) * 1px);

    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.about-clients-logos img:hover {
    opacity: 1;
}
@media (max-width: 800px) {
    .about-clients-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0 clamp(18px, 6vw, 28px);
    }

    .about-clients-logos::after {
        content: "";
        flex-basis: 100%;
        order: 1;
    }

    .about-clients-logos img:nth-child(n + 4) {
        order: 2;
        margin-top: 20px;
    }

    .about-clients-logos img {
        --logo-scale: 0.8;
    }
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: auto;
    padding: 14px 24px;

    border: 1px solid rgba(247, 244, 235, 0.2);

    color: #F7F4EB;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-decoration: none;

    transition: background 0.2s ease;
}

.about-cta span {
    transition: transform 0.2s ease;
}

.about-cta:hover {
    background: rgba(247, 244, 235, 0.1);
}

.about-cta:hover span {
    transform: translateX(3px);
}

@media (max-width: 900px) {
    /* full-width blocks so the centred phone layout stays centred */
    #aboutOverlay.active {
        align-items: stretch;
    }

    .about-cta {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

.info-overlay-panel::-webkit-scrollbar {
    display: none;
}

.info-overlay-panel.active {
    display: block;
}

.info-overlay-eyebrow {
    display: block;

    margin-bottom: 22px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.info-overlay-panel h2 {
    max-width: 900px;

    margin: 0 0 30px;

    font-size: clamp(50px, 7vw, 105px);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

#aboutOverlay h2 {
    font-size: clamp(34px, 3.6vw, 56px);
    letter-spacing: -0.04em;
}

.info-overlay-panel p {
    max-width: 650px;

    margin: 0;

    color: #b8b8b8;

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

.info-overlay-close {
    position: fixed;

    top: 28px;
    right: 32px;

    z-index: 3;

    width: 58px;
    height: 58px;

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

    padding: 0;

    border: 1px solid rgba(247, 244, 235, 0.18);
    border-radius: 50%;

    background: rgba(247, 244, 235, 0.12);

    color: #F7F4EB;

    font-size: 32px;
    font-weight: 200;
    line-height: 1;

    cursor: pointer;

    transform: rotate(0deg);

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

.info-overlay-close:hover {
    background: rgba(247, 244, 235, 0.22);
    transform: rotate(90deg);
}

/* when clicked, disappear without rotating backwards */
.info-overlay.closing .info-overlay-close {
    transform: rotate(90deg);
    opacity: 0;

    transition:
        opacity 0.2s ease;
}

body.info-overlay-open {
    overflow: hidden;
}

html.info-page-open {
    overflow: hidden;
}

@supports (height: 100dvh) {
    .info-overlay-panel {
        max-height: calc(100dvh - 180px);
    }
}

@media (max-width: 900px) {
    .info-overlay {
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .info-overlay-panel {
        min-height: 0;
        max-height: none;
        overflow: visible;
        flex-shrink: 0;
    }

    .info-overlay::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 110px;
        z-index: 3;
        pointer-events: none;
        background: linear-gradient(
            to bottom,
            rgba(30, 30, 28, 1) 0%,
            rgba(30, 30, 28, 1) 80%,
            rgba(30, 30, 28, 0) 100%
        );
    }

    .info-overlay-close {
        z-index: 4;
    }
}

/* contact form */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-row {
    display: grid;
    grid-template-columns: 210px 1fr;
    column-gap: 24px;
    align-items: center;

    min-height: 58px;
    padding: 0 18px;

    background: rgba(247, 244, 235, 0.06);
    border: 1px solid rgba(247, 244, 235, 0.08);
}

.contact-row-title {
    grid-template-columns: 1fr;
    align-items: center;
    min-height: 0;
    padding: 12px 18px;
}

.contact-intro h2 {
    margin: 0;

    font-size: clamp(34px, 3.6vw, 56px);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.info-overlay-panel .contact-eyebrow {
    margin-bottom: 12px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
}

.contact-row label {
    font-size: 14px;
    font-weight: 700;
}

.contact-row input,
.contact-row textarea {
    width: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: #F7F4EB;
    font-family: inherit;
    font-size: 14px;
}

.contact-row input::placeholder,
.contact-row textarea::placeholder {
    color: rgba(247, 244, 235, 0.45);
}

.contact-row textarea {
    resize: vertical;
    padding: 18px 0;
}

.contact-row-message {
    align-items: start;
    padding-top: 18px;
    padding-bottom: 18px;
}

/* start the typing area level with its label */
.contact-row-message textarea {
    padding-top: 0;
}

.contact-row-options {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;

    padding: 20px;
}

.contact-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    cursor: pointer;
}

.contact-option input {
    width: auto;
    margin-top: 3px;
}

.contact-option span {
    font-size: 12px;
    line-height: 1.3;
}

.contact-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;

    margin-top: 6px;
}

.contact-submit-button {
    padding: 14px 24px;

    border: 1px solid rgba(247, 244, 235, 0.2);

    background: transparent;
    color: #F7F4EB;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;

    cursor: pointer;
}

.contact-submit-button:hover {
    background: rgba(247, 244, 235, 0.1);
}

.contact-form-status {
    margin: 0 auto 0 0;

    font-size: 12px;
}

/* mobile */

@media (max-width: 900px) {

    .project-media {
        aspect-ratio: 16 / 9;
    }

    .project {
        width: calc(100% + 40px);
        margin-left: -20px;
        max-width: 100vw;
    }

    .navbar {
        height: 62px;
        padding: 0 20px;
    }

    nav {
        display: none;
    }

    .menu-button {
        display: flex;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
    }

    .logo {
        top: 50%;
        transform: translate(calc(-50% + 1px), -50%);
    }

    .logo img {
        width: 30px;
        display: block;
    }

    .hero {
        min-height: 100svh;
        height: 100svh;
        padding: 0;
    }

    .hero h1 {
        font-size: clamp(60px, 10vw, 150px);
        line-height: 0.85;
        letter-spacing: -5px;
        margin-bottom: 40px;
    }

    .hero::after {
        content: "";
        position: absolute;

        top: 0;
        left: 0;
        right: 0;
        height: 65px;

        background: linear-gradient(
            to bottom,
            rgba(30, 30, 28, 0.85) 0%,
            rgba(30, 30, 28, 0.35) 45%,
            transparent 100%
        );

        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);

        -webkit-mask-image: linear-gradient(
            to bottom,
            black 0%,
            transparent 100%
        );

        mask-image: linear-gradient(
            to bottom,
            black 0%,
            transparent 100%
        );

        pointer-events: none;
        z-index: 2;
    }

    .section {
        padding: 0 20px;
    }

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

    footer {
        padding: 22px 20px;

        flex-direction: row;
        align-items: center;
        justify-content: flex-start;

        gap: 8px;
    }

    .instagram-link {
        font-size: 10px;
        gap: 6px;
    }

    .instagram-link svg {
        width: 16px;
        height: 16px;
    }

    .footer-copyright {
        margin-left: auto;
        font-size: 10px;
        text-align: right;
    }

    .footer-email {
    display: none;
    }

    .footer-email-icon {
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;

        width: 20px;
        height: 20px;

        color: #F7F4EB;
        -webkit-tap-highlight-color: transparent;
    }

    .footer-email-icon svg {
        width: 16px;
        height: 16px;

        fill: none;
        stroke: currentColor;
        stroke-width: 1.5;
    }

    .footer-email-icon:focus,
    .footer-email-icon:focus-visible,
    .footer-email-icon:active {
        outline: none;
        box-shadow: none;
    }

    .project-info {
        padding: 10px 0 20px;
        max-width: 100%;
    }

    .project-info h3 {
        font-size: clamp(14px, 4vw, 20px);
    }

    .project-info p {
        font-size: clamp(10px, 3vw, 14px);
    }


    /* PROJECT DETAILS */

    .project-details {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 50px 8% 30px;
    }

    .project-description h2 {
        font-size: clamp(45px, 12vw, 60px);
    }

    .project-description p {
        font-size: 16px;
        line-height: 1.6;
    }


    .project-awards {
        width: 100%;
    }

    .awards-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        transform: translateY(-10px);
    }

    .awards-grid img {
        width: 70%;
        max-width: 280px;
        height: auto;
        object-fit: contain;
    }

    .awards-grid img:nth-child(3) {
        transform: none;
    }

    .contact-row {
    grid-template-columns: 1fr;
    gap: 10px;

    padding: 16px;
    }

    .contact-row-title {
        grid-template-columns: 1fr;
    }

    #contactOverlay {
        padding: 0;
    }

    .contact-row-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }

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

    .contact-row label {
        font-size: 13px;
    }

    .contact-row input,
    .contact-row textarea {
        font-size: 16px;
    }

    .file-upload-box {
        min-height: 120px;
    }

    /* phones: full-width button first, the message underneath it */
    .contact-form-actions {
        flex-wrap: wrap;
        justify-content: stretch;
    }

    .contact-submit-button {
        order: 1;
        width: 100%;
    }

    .contact-form-status {
        order: 2;
        width: 100%;
    }

}


@media (max-width: 768px) {

    .project-hero {
        min-height: 75vh;
        padding: 80px 20px;
    }

    .project-hero-content h1 {
        font-size: clamp(55px, 15vw, 100px);
        letter-spacing: -3px;
    }

    .project-video-section {
        padding: 90px 20px;
    }

    .full-project-video {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    }

    .project-gallery {
        padding: 0;
    }

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

    .gallery-grid img {
        height: 300px;
    }

    .back-to-work {
        padding: 0 8% 70px;
    }

    .back-to-work-spaced {
        padding-top: 45px;
        padding-bottom: 45px;
    }
    .navbar.scrolled {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        border: none;
    }
}

@media (min-width: 901px) and (max-width: 1400px) {

    .awards-grid {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .awards-grid img {
        flex: 1 1 0;
        min-width: 0;
        width: 0;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .awards-grid img:nth-child(3) {
        transform: none;
    }
}


html,
body {
    overflow-x: hidden !important;
}


