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

html {
    font-size: 10px;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

header, section, footer {
    scroll-snap-align: start;
}


body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #fff;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

.font-league-spartan {
    font-family: 'League Spartan', 'Montserrat', sans-serif;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(34,34,34,0.7) 50%, rgba(0,0,0,0.95) 100%); /* black to transparent to black */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    padding: 40px 60px;
    box-sizing: border-box;
}

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}


.logo-img {
    height: auto;
    width: 190px;
    display: block;
    object-fit: cover;
    object-position: center;
    margin-bottom: 6px;
}

.contact-info {
    display: flex;
    gap: 32px;
    font-size: 1.2rem;
    font-weight: 300;
    align-items: center;
}

.contact-info b {
    font-weight: bold;
}

.contact-info-row {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
}

.author .made-by {
    font-size: 1.8rem;
    font-weight: 600;
    opacity: 0.8;
    line-height: 1;
    font-family: 'League Spartan', 'Montserrat', sans-serif;
}

.author .name {
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.4;
    font-family: 'League Spartan', 'Montserrat', sans-serif;
}

.author .role {
    font-size: 1.6rem;
    font-weight: 300;
    opacity: 0.85;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
}

.btn {
    display: inline-block;
    background: #a88c7d;
    color: #fff;
    padding: 14px 80px;
    border: none;
    border-radius: 2px;
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-decoration: underline;
    font-weight: 400;
    transition: background 0.2s;
    opacity: 0.8;
}
.btn:hover, .btn:active, .btn:focus {
    background: #8c7262;
}

.emotion-section {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    gap: 24px;
}

.emotion-content {
    flex: 1 1 50%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
}

.title {
    font-size: 3.6rem;
    font-weight: 800;
    font-family: 'League Spartan', 'Montserrat', sans-serif;
    line-height: 1.05;
    margin-bottom: 36px;
    color: #222;
}


.text {
    font-size: 1.4rem;
    font-weight: 300;
    color: #444;
    margin-bottom: 18px;
}

.emotion-images {
    flex: 1 1 50%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    min-width: 0;
    min-height: 500px;
    overflow: clip;
}

.emotion-images img {
    height: 100%;
}

.projects-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.projects-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: url('assets/projects-bg.jpg') center center/cover no-repeat;
    z-index: 1;
    filter: brightness(0.8);
}

.projects-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.0) 100%);
    z-index: 2;
}

.projects-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.projects-title {
    color: #fff;
    font-size: 4.6rem;
    font-family: 'League Spartan', 'Montserrat', sans-serif;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.projects-btn {
    display: inline-block;
    background: #111;
    color: #fff;
    transition: background 0.2s;
    text-transform: uppercase;
}
.projects-btn:hover {
    background: #333;
}

.what-we-do {
    width: 100%;
    background: #fafafa;
    padding: 60px 0 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    height: 100vh;
}

.what-we-do-title {
    font-size: 4rem;
    font-family: 'League Spartan', 'Montserrat', sans-serif;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: left;
    color: #111;
}

.what-we-do-grid {
    display: flex;
    gap: 48px;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
}

.what-we-do-item {
    flex: 1 1 0;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
}

.media-square {
    width: 320px;
    aspect-ratio: 1 / 1;
    background: #e0e0e0;
    overflow: hidden;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-square video {
    width: auto;
    height: 130%;
    object-fit: cover;
    display: block;
}

.what-we-do-item h3 {
    font-size: 2.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 18px;
    color: #111;
    text-align: left;
}

.what-we-do-item p {
    word-spacing: 1rem;
    font-size: 1.4rem;
    font-weight: 400;
    color: #444;
    margin-bottom: 0;
    line-height: 1.6;
}

.custom-footer {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.footer-content {
    display: flex;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
}

.footer-left {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 100px 0 0 8vw;
    z-index: 2;
}

.footer-header h2 {
    font-size: 3.2rem;
    font-family: 'League Spartan', 'Montserrat', sans-serif;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.footer-header p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 48px;
    max-width: 420px;
}

.footer-columns {
    display: flex;
    gap: 64px;
    margin-bottom: 60px;
}

.footer-col {
    min-width: 180px;
}

.footer-col-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.footer-col * {
    display: block;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: #fff;
}

.footer-col b {
    font-weight: 700;
    color: #fff;
}

.footer-website {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: #fff;
    margin-top: 60px;
    margin-bottom: 0;
    font-family: 'Montserrat', sans-serif;
}

.footer-website b {
    font-weight: 700;
    letter-spacing: 0.1em;
}

.footer-right {
    flex: 1 1 40%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 6vw 40px 0;
    min-width: 400px;
}

.footer-dagna {
    position: absolute;
    right: 0;
    bottom: 0;
    max-height: 80vh;
    width: auto;
    z-index: 2;
    filter: brightness(0.2);
}

.footer-signature {
    position: absolute;
    right: 500px;
    bottom: 80px;
    width: 320px;
    max-width: 40vw;
    z-index: 3;
    opacity: 0.95;
}

.footer-quote {
    position: absolute;
    right: 140px;
    bottom: 180px;
    color: #ccc;
    font-size: 1.15rem;
    max-width: 400px;
    z-index: 4;
    font-family: 'Montserrat', sans-serif;
}

.address {
    font-style: normal;
}

.link {
    color: #fff;
    text-decoration: none;
    font-size: 1.6rem;
    letter-spacing: .25rem;
}

.link:hover {
    text-decoration: underline;
}

.no-link {
    text-decoration: none;
    color: #fff;
}

.footer-right::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.0) 60%);
}

@media (max-width: 768px) {
    .author .name {
        font-size: 3.2rem;
    }

    .hero-content {
        padding: 40px 24px 120px 24px;
    }

    .hero-top {
        flex-direction: column;
        align-items: center;
    }

    .hero-bottom {
        margin-bottom: 0;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        margin-top: 16px;
        gap: 16px;
    }

    .contact-info-row {
        display: flex;
        column-gap: 24px;
    
    }

    .what-we-do {
        height: auto;
        min-height: auto;
    }

    .btn {
        width: 100%;
        padding: 14px;
        text-align: center;
    }

    .projects-content {
        padding: 0 24px;
    }

    .what-we-do-item {
        padding: 0 24px;
        align-items: center;
    }

    .emotion-section {
        flex-direction: column;
    }

    .emotion-images {
        display: none;  
    }

    .custom-footer {
        overflow: hidden;
    }

    .footer-left {
        padding: 24px;
    }

    .footer-columns {
        flex-direction: column;
        gap: 24px;
    }

    .footer-quote {
        display: none;
    }

    .footer-website {
        display: none;
    }

    .footer-signature {
        bottom: 24px;
        left: 24px;
    }
}

@media (max-width: 1000px) {

    .emotion-content, .emotion-images {
        padding: 24px;
        max-width: 100%;
    }

    .emotion-images {
        min-height: 320px;
        padding-right: 0;
    }
}

@media (max-width: 1100px) {
    .what-we-do-grid {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    .what-we-do-item {
        max-width: 420px;
        width: 100%;
    }
    .media-square {
        width: 100%;
        max-width: 340px;
    }
    .footer-content {
        flex-direction: column;
        height: auto;
    }

    .footer-right {
        min-width: 0;
        padding: 0 4vw 40px 0;
    }
    .footer-dagna {
        max-height: 40vh;
        right: 0;
        bottom: 0;
    }
    .footer-signature, .footer-quote {
        right: 10vw;
        max-width: 60vw;
    }
}
