@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&family=Italiana&family=Libre+Caslon+Display:ital@0;1&display=swap');

:root {
    --cream: #f3f0e8;
    --light: #faf9f5;
    --olive: #a3a188;
    --olive-dark: #6d705d;
    --charcoal: #272922;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--light);
    color: var(--charcoal);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}


/* HEADER */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    padding: 34px 5vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 3000;
}

.brand {
    max-width: 290px;
    font-family: "Italiana", serif;
    font-size: 17px;
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-left: -35px;
    margin-top: -15px;
}

.brand img {
    width: 140px;
    height: auto;
    display: block;
}


/* MENU BUTTON */

.menu-button {
    position: relative;

    width: 58px;
    height: 40px;

    padding: 0;
    border: 0;
    background: transparent;

    cursor: pointer;

    z-index: 3001;
}

.menu-button span {
    position: absolute;
    left: 0;

    width: 58px;
    height: 1px;

    background: var(--charcoal);

    transform-origin: center;

    transition:
        top .55s cubic-bezier(.16, 1, .3, 1),
        transform .55s cubic-bezier(.16, 1, .3, 1);
}

.menu-button span:first-child {
    top: 14px;
}

.menu-button span:last-child {
    top: 25px;
}

body.menu-open .menu-button span:first-child {
    top: 20px;
    transform: rotate(45deg);
}

body.menu-open .menu-button span:last-child {
    top: 20px;
    transform: rotate(-45deg);
}


/* FULL SCREEN MENU */

.menu {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;

    background: var(--light);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    z-index: 2000;

    transition:
        opacity .65s ease,
        visibility 0s linear .65s;
}

.menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition:
        opacity .65s ease,
        visibility 0s;
}

.menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;
}

.menu-links a {
    font-family: "Libre Caslon Display", serif;
    font-style: italic;

    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.08;

    transition: opacity .3s ease;
}

.menu-links a:hover {
    opacity: .5;
}


/* 5:4 PROJECT PHOTO */

.service-photo {
    padding: 145px 5vw 0;
}

.photo-placeholder {
    width: min(72vw, 1000px);

    aspect-ratio: 5 / 4;

    margin-left: auto;
    margin-right: auto;

    background: var(--olive);

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    font-size: 8px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}
.service-photo > img {
    width: min(72vw, 1000px);
    aspect-ratio: 5 / 4;

    display: block;
    margin-left: auto;
    margin-right: auto;

    object-fit: cover;
}

/* SERVICES */

.services {
    width: min(72vw, 1000px);

    margin: 0 auto;

    padding: 85px 0 120px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* ONE SERVICES HEADING */

.services h1 {
    margin-bottom: 20px;

    font-family: "DM Sans", sans-serif;

    font-size: 11px;
    font-weight: 500;

    line-height: 1;

    letter-spacing: .12em;
    text-transform: uppercase;
}


/* SMALL SERVICE NAMES */

.services-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 3px;
}

.services-list p {
    font-family: "DM Sans", sans-serif;

    font-size: 11px;
    font-weight: 300;

    line-height: 1.55;

    letter-spacing: .01em;
}


/* REAL LOGO SECTION */

/* LZ MARK */

.lz-mark {
    background: var(--light);

    padding: 80px 5vw 110px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.lz-mark-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lz {
    font-family: "Italiana", serif;
    font-size: 72px;
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.05em;
}

.building {
    margin-top: 10px;

    font-family: "DM Sans", sans-serif;
    font-size: 8px;
    font-weight: 400;

    letter-spacing: .35em;
    padding-left: .35em;
}

/* FOOTER */

.footer {
    padding: 65px 5vw;

    background: var(--olive-dark);
    color: var(--cream);

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    gap: 40px;

    align-items: end;

    font-size: 11px;
    font-weight: 300;
    line-height: 1.7;
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer a {
    transition: opacity .3s ease;
}

.footer a:hover {
    opacity: .6;
}

.footer > p:last-child {
    text-align: right;
}


/* MOBILE */

@media (max-width: 750px) {

    .header {
        padding: 27px 6vw;
    }

 .brand {
    display: block;
    width: 110px;
    max-width: 130px;
    margin-left: 0;
    margin-top: 0;
}

.brand img {
    width: 100%;
    height: auto;
    display: block;
}
    .menu-button,
    .menu-button span {
        width: 44px;
    }

    .menu-links a {
        font-size: 40px;
    }


    /* PHOTO */

    .service-photo {
        padding: 115px 6vw 0;
    }

    .photo-placeholder {
        width: 100%;
        aspect-ratio: 5 / 4;
    }


    /* SERVICES */

    .services {
        width: 88%;

        padding: 60px 0 85px;
    }

    .services h1 {
        margin-bottom: 17px;

        font-size: 10px;
    }

    .services-list {
        gap: 2px;
    }

    .services-list p {
        font-size: 10px;
        line-height: 1.55;
    }


    /* LOGO */

  .lz-mark {
    padding: 60px 6vw 80px;
}

.lz {
    font-size: 58px;
}

.building {
    margin-top: 8px;
    font-size: 7px;
}

    /* FOOTER */

    .footer {
        padding: 55px 6vw;

        display: flex;
        flex-direction: column;

        align-items: flex-start;

        gap: 24px;

        font-size: 10px;
    }

    .footer > p:last-child {
        text-align: left;
    }
}

/* LZ + FOOTER - ALWAYS VISIBLE */

.lz-mark-inner {
    opacity: 1;
    transform: translateY(0);
}

.footer > * {
    opacity: 1;
    transform: translateY(0);
}


/* animation only when JS is ready */

.js-ready .lz-mark-inner {
    opacity: 0;
    transform: translateY(20px);

    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.16, 1, .3, 1);
}

.js-ready .lz-mark-inner.reveal {
    opacity: 1;
    transform: translateY(0);
}

.js-ready .footer > * {
    opacity: 0;
    transform: translateY(12px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.js-ready .footer.reveal > * {
    opacity: 1;
    transform: translateY(0);
}
/* =========================
   NATURAL PAGE REVEAL
========================= */

.service-photo {
    opacity: 0;
    animation: softReveal 1.1s ease forwards;
}

.services {
    opacity: 0;
    transform: translateY(12px);
    animation: contentReveal .9s ease .15s forwards;
}

.lz-mark {
    opacity: 0;
    transform: translateY(10px);
    animation: contentReveal .9s ease .25s forwards;
}

.footer {
    opacity: 0;
    animation: softReveal .8s ease .35s forwards;
}


@keyframes softReveal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@keyframes contentReveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    .service-photo,
    .services,
    .lz-mark,
    .footer {
        animation: none;
        opacity: 1;
        transform: none;
    }
}