/* ==============================
   LZ — HOME
   ============================== */

@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;
    --cream-dark: #e7e1d5;
 --olive: #A3A188;
--olive-dark: #6D705D;
    --charcoal: #272922;
    --line: rgba(39, 41, 34, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--charcoal);
    font-family: "DM Sans", sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* ==============================
   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;
    z-index: 3001;

    width: 58px;
    height: 40px;

    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.menu-button span {
    position: absolute;
    left: 0;

    width: 58px;
    height: 1px;

    background: var(--charcoal);

    transform-origin: center;

    transition:
        top 0.55s cubic-bezier(.16, 1, .3, 1),
        transform 0.55s cubic-bezier(.16, 1, .3, 1);
}

.menu-button span:first-child {
    top: 14px;
}

.menu-button span:last-child {
    top: 25px;
}


/* Two lines move into a cross */

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: #faf9f5;

    z-index: 200;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.65s ease,
        visibility 0s linear 0.65s;
}

.menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition:
        opacity 0.65s ease,
        visibility 0s;
}


/* ==============================
   MENU LINKS
   ============================== */

.menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
    gap: 10px;
}

.menu-links a {
    font-family: "Libre Caslon Display", serif;
    font-style: italic;
    font-weight: 400;

    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.08;

    color: var(--charcoal);
    text-decoration: none;

    transition: opacity 0.3s ease;
}

.menu-links a:hover {
    opacity: 0.5;
}


/* ==============================
   MOBILE
   ============================== */

@media (max-width: 700px) {

    .menu-button {
        width: 44px;
    }

    .menu-button span {
        width: 44px;
    }

    .menu-links a {
        font-size: 40px;
    }
}

/* ==============================
   VIDEO HERO
   ============================== */

.hero {
    position: relative;
    height: 82vh;
    min-height: 620px;
    overflow: hidden;
    background: var(--cream);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.85);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        to bottom,
        rgba(39, 41, 34, 0.18) 0%,
        rgba(39, 41, 34, 0.08) 45%,
        rgba(243, 240, 232, 0.15) 70%,
        var(--cream-dark) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 0 5vw 105px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;

    color: var(--cream);
}

.hero-content h1 {
    margin: 0;
    font-family: "Libre Caslon Display", serif;
    font-size: clamp(44px, 5vw, 72px);
    font-style: italic;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.03em;

}

.hero-content h1 span,
.hero-content h1 em {
    display: block;
}

.hero-content h1 em {
    font-weight: 400;
}

.hero-content p {
    max-width: 480px;
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0.02em;
}
/* ==============================
   EXPERIENCE
   ============================== */

.experience {
    padding: 80px 5vw;
    background: var(--cream);
}

.experience p {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
/* ==============================
   FREE QUOTE
   ============================== */

.quote {
    padding: 150px 5vw 170px;

    display: grid;
    grid-template-columns: 0.85fr 1.15fr;

    gap: 10vw;

    background: var(--cream-dark);
}

.quote-heading > p {
    margin-bottom: 25px;

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.quote-heading h2 {
    font-family: "Libre Caslon Display", serif;
    font-weight: 400;

    font-size: clamp(52px, 6vw, 90px);
    line-height: 0.95;
}

.quote-heading h2 em {
    display: block;
}


/* NO BOXES — LINE FORM */

.quote-form {
    padding-top: 20px;
}

.form-field {
    position: relative;

    padding: 26px 0 13px;

    border-bottom: 1px solid var(--line);
}

.form-field label {
    display: block;

    margin-bottom: 8px;

    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;

    opacity: 0.7;
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block;

    width: 100%;

    border: 0;
    outline: 0;

    padding: 5px 0;

    background: transparent;

    color: var(--charcoal);

    font-family: "Libre Caslon Display", serif;
    font-size: 24px;
}

.form-field textarea {
    resize: none;
    min-height: 0;
}

.form-field select {
    appearance: none;
    cursor: pointer;
}

.form-field:focus-within {
    border-color: var(--charcoal);
}

.submit-button {
    margin-top: 45px;

    padding: 0 0 8px;

    border: 0;

    background: transparent;

    color: var(--charcoal);

    cursor: pointer;

    font-family: "Libre Caslon Display", serif;
    font-style: italic;
    font-size: 23px;

    display: flex;
    align-items: center;
    gap: 15px;

    transition:
        gap 0.3s ease,
        opacity 0.3s ease;
}

.submit-button:hover {
    gap: 25px;
    opacity: 0.6;
}

/* =========================
   SUCCESS POPUP
========================= */

.success-popup {
    position: fixed;
    inset: 0;
    z-index: 5000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
    background: rgba(39, 41, 34, 0.45);
    backdrop-filter: blur(6px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.success-popup.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.success-popup-box {
    position: relative;
    width: min(90vw, 520px);
    padding: 55px 45px 45px;

    background: var(--cream);
    color: var(--charcoal);

    border-radius: 14px;
    text-align: center;

    box-shadow: 0 20px 60px rgba(39, 41, 34, 0.18);
}
.success-check {
    width: 64px;
    height: 64px;
    margin: 0 auto 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: var(--olive);
    color: white;

    font-size: 30px;
    font-weight: 400;

    box-shadow: 0 8px 24px rgba(109, 112, 93, 0.25);
}

.success-popup-title {
    margin: 0 0 12px;
    font-family: "DM Sans", sans-serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.success-popup-text {
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(39, 41, 34, 0.65);
}

.success-home-button {
    display: block;
    margin-top: 32px;
    padding: 16px 20px;

    background: var(--olive);
    color: white;

    border-radius: 7px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-align: center;
} 

.success-popup-close {
    position: absolute;
    top: 18px;
    right: 22px;

    border: 0;
    background: transparent;
    color: #272922;

    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
}


/* ==============================
   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: 12px;
    line-height: 1.7;
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

.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;
}

    /* HERO */
/* HERO */

.hero {
    height: 72svh;
    min-height: 560px;
}

.hero-content {
    padding: 0 6vw 75px;
}

.hero-content h1 {
font-size: clamp(36px, 10vw, 50px);}

.hero-content p {
    max-width: 320px;
    margin-top: 15px;
    font-size: 11px;
    line-height: 1.6;
}
    .house {
        width: 95vw;
    }


    /* EXPERIENCE */
/* EXPERIENCE */

.experience {
    padding: 60px 6vw;
}

.experience p {
    font-size: 10px;
}

    /* QUOTE */

    .quote {
        padding: 120px 6vw;

        display: block;
    }

    .quote-heading {
        margin-bottom: 75px;
    }

    .quote-heading h2 {
        font-size: 15vw;
    }

    .form-field {
        padding-top: 25px;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        font-size: 20px;
    }


    /* FOOTER */

    .footer {
        padding: 60px 6vw;

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 28px;
    }

    .footer > p:last-child {
        text-align: left;
    }
}


/* ==============================
   REDUCED MOTION
   ============================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================
   FULL SCREEN MENU
==

/* ==============================
   PAGE TRANSITION
   ============================== */

body {
    opacity: 0;
    transition: opacity 0.55s ease;
}

body.page-loaded {
    opacity: 1;
}

body.page-leaving {
    opacity: 0;
}