:root{
    --green:#0d7139;
    --green-dark:#06371f;
    --green-deep:#041f13;
    --gold:#d7b24a;
    --gold-light:#efd98c;
    --ivory:#f6f4ed;
    --white:#ffffff;
    --dark:#111713;
    --text:#5d655f;
    --line:#dfe4df;
    --shadow:0 24px 70px rgba(6,45,25,.13);
    --container:1220px;
}

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

html{
    scroll-behavior:smooth;
}

body{
    background:var(--ivory);
    color:var(--dark);
    font-family:"Manrope",Arial,sans-serif;
    line-height:1.65;
    overflow-x:hidden;
}

body.menu-open{
    overflow:hidden;
}

img{
    display:block;
    max-width:100%;
}

a{
    color:inherit;
    text-decoration:none;
}

button{
    border:0;
    font:inherit;
    cursor:pointer;
}

.container{
    width:min(92%,var(--container));
    margin:auto;
}

.section{
    padding:105px 0;
}

.section-label,
.eyebrow{
    display:inline-block;
    color:var(--gold);
    font-size:.68rem;
    font-weight:800;
    letter-spacing:2px;
    text-transform:uppercase;
}

.button{
    min-height:52px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:13px 25px;
    border-radius:999px;
    font-size:.77rem;
    font-weight:800;
    letter-spacing:.25px;
    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease;
}

.button:hover{
    transform:translateY(-3px);
}

.button-gold{
    background:var(--gold);
    color:var(--green-deep);
    box-shadow:0 16px 36px rgba(215,178,74,.25);
}

.button-gold:hover{
    background:var(--gold-light);
}

.button-outline-light{
    border:1px solid rgba(255,255,255,.5);
    color:var(--white);
    background:rgba(255,255,255,.04);
}

.button-outline-light:hover{
    background:var(--white);
    color:var(--green-deep);
}

.button-dark{
    background:var(--green-deep);
    color:var(--white);
    box-shadow:0 16px 35px rgba(4,31,19,.17);
}

/* Header */

.site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    border-bottom:1px solid rgba(255,255,255,.12);
    transition:
        background .3s ease,
        box-shadow .3s ease;
}

.site-header.scrolled{
    background:rgba(4,31,19,.97);
    box-shadow:0 10px 35px rgba(0,0,0,.18);
    backdrop-filter:blur(16px);
}

.header-inner{
    min-height:88px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}

.brand{
    display:flex;
    align-items:center;
    gap:13px;
    color:var(--white);
}

.brand img{
    width:53px;
    height:53px;
    border-radius:12px;
    object-fit:cover;
}

.brand-name{
    display:flex;
    flex-direction:column;
    line-height:1.05;
}

.brand-name strong{
    font-size:1.02rem;
    letter-spacing:1.8px;
}

.brand-name small{
    margin-top:6px;
    color:var(--gold-light);
    font-size:.6rem;
    letter-spacing:1.6px;
    text-transform:uppercase;
}

.main-navigation{
    display:flex;
    align-items:center;
    gap:34px;
}

.main-navigation a{
    position:relative;
    padding:10px 0;
    color:rgba(255,255,255,.82);
    font-size:.78rem;
    font-weight:700;
}

.main-navigation a:hover,
.main-navigation a.active{
    color:var(--white);
}

.main-navigation a::after{
    content:"";
    position:absolute;
    left:0;
    right:100%;
    bottom:3px;
    height:2px;
    background:var(--gold);
    transition:right .25s ease;
}

.main-navigation a:hover::after,
.main-navigation a.active::after{
    right:0;
}

.header-cta{
    padding:11px 18px;
    border:1px solid rgba(255,255,255,.35);
    border-radius:999px;
    color:var(--white);
    font-size:.7rem;
    font-weight:800;
    transition:.25s ease;
}

.header-cta:hover{
    border-color:var(--gold);
    background:var(--gold);
    color:var(--green-deep);
}

.menu-button{
    display:none;
    width:45px;
    height:45px;
    padding:11px;
    border-radius:50%;
    background:rgba(255,255,255,.1);
}

.menu-button span{
    display:block;
    width:100%;
    height:2px;
    margin:4px 0;
    background:var(--white);
    transition:.25s ease;
}

/* Hero */

.hero{
    position:relative;
    min-height:100svh;
    display:flex;
    align-items:center;
    overflow:hidden;
    background:var(--green-deep);
    color:var(--white);
}

.hero-slide{
    position:absolute;
    inset:0;
    background-position:center;
    background-size:cover;
    opacity:0;
    transform:scale(1.04);
    transition:
        opacity 1s ease,
        transform 7s ease;
}

.hero-slide.active{
    opacity:1;
    transform:scale(1);
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(3,26,15,.94) 0%,
            rgba(3,26,15,.78) 42%,
            rgba(3,26,15,.28) 100%
        ),
        linear-gradient(
            to top,
            rgba(3,26,15,.52),
            transparent 42%
        );
}

.hero-content{
    position:relative;
    z-index:2;
    padding-top:90px;
}

.hero-copy{
    max-width:770px;
}

.hero-copy h1{
    margin-top:19px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(4.5rem,8.5vw,8rem);
    font-weight:600;
    line-height:.88;
    letter-spacing:-3px;
}

.hero-copy h1 em{
    display:block;
    color:var(--gold-light);
    font-style:normal;
}

.hero-copy p{
    max-width:570px;
    margin-top:28px;
    color:rgba(255,255,255,.78);
    font-size:1rem;
}

.hero-actions{
    display:flex;
    align-items:center;
    gap:13px;
    margin-top:34px;
}

.hero-footer{
    position:absolute;
    z-index:3;
    left:4%;
    right:4%;
    bottom:31px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.hero-dots{
    display:flex;
    align-items:center;
    gap:9px;
}

.hero-dot{
    width:25px;
    height:3px;
    background:rgba(255,255,255,.35);
    transition:.3s ease;
}

.hero-dot.active{
    width:48px;
    background:var(--gold);
}

.scroll-link{
    display:flex;
    align-items:center;
    gap:12px;
    color:rgba(255,255,255,.72);
    font-size:.68rem;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
}

.scroll-link span{
    width:35px;
    height:35px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.3);
    border-radius:50%;
}

/* Projects */

.projects-preview{
    background:var(--ivory);
}

.section-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:40px;
    margin-bottom:42px;
}

.section-heading h2,
.about-copy h2,
.contact-panel h2{
    max-width:720px;
    margin-top:9px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(2.8rem,5vw,4.6rem);
    font-weight:600;
    line-height:.98;
    letter-spacing:-1.5px;
}

.text-link{
    flex-shrink:0;
    display:flex;
    align-items:center;
    gap:10px;
    padding-bottom:7px;
    border-bottom:1px solid var(--dark);
    color:var(--dark);
    font-size:.75rem;
    font-weight:800;
}

.project-grid{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    grid-template-rows:repeat(2,320px);
    gap:18px;
}

.project-card{
    position:relative;
    overflow:hidden;
    border-radius:4px;
    background:var(--green-dark);
}

.project-card-large{
    grid-row:1 / 3;
}

.project-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .7s ease;
}

.project-card:hover img{
    transform:scale(1.055);
}

.project-shade{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            to top,
            rgba(3,27,16,.9),
            rgba(3,27,16,.06) 67%
        );
}

.project-content{
    position:absolute;
    z-index:2;
    left:27px;
    right:27px;
    bottom:25px;
    color:var(--white);
}

.project-content span{
    color:var(--gold-light);
    font-size:.63rem;
    font-weight:800;
    letter-spacing:1.5px;
    text-transform:uppercase;
}

.project-content h3{
    margin-top:5px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:2rem;
    font-weight:600;
    line-height:1.05;
}

.project-card-large .project-content h3{
    font-size:3rem;
}

.project-content small{
    display:inline-block;
    margin-top:12px;
    padding-bottom:3px;
    border-bottom:1px solid rgba(255,255,255,.6);
    font-size:.68rem;
    font-weight:700;
}

/* About */

.about-preview{
    background:var(--white);
}

.about-layout{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:85px;
    align-items:center;
}

.about-image{
    position:relative;
    min-height:610px;
}

.about-image > img{
    width:100%;
    height:610px;
    object-fit:cover;
}

.about-image-mark{
    position:absolute;
    right:-34px;
    bottom:35px;
    min-width:210px;
    padding:26px;
    background:var(--green-deep);
    color:var(--white);
    box-shadow:var(--shadow);
}

.about-image-mark strong{
    display:block;
    color:var(--gold-light);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:2rem;
}

.about-image-mark span{
    display:block;
    margin-top:5px;
    font-size:.67rem;
    letter-spacing:1px;
    text-transform:uppercase;
}

.about-copy{
    max-width:540px;
}

.about-copy p{
    margin:23px 0;
    color:var(--text);
    font-size:.95rem;
    line-height:1.9;
}

.expertise-list{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin-bottom:29px;
}

.expertise-list span{
    padding:10px 14px;
    border:1px solid var(--line);
    border-radius:999px;
    color:#47514b;
    font-size:.68rem;
    font-weight:700;
}

/* Contact banner */

.contact-banner{
    padding-top:0;
    background:var(--white);
}

.contact-panel{
    min-height:290px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:45px;
    padding:55px 65px;
    background:
        radial-gradient(
            circle at top right,
            rgba(215,178,74,.22),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            var(--green-deep),
            var(--green)
        );
    color:var(--white);
}

.contact-panel .section-label{
    color:var(--gold-light);
}

.contact-panel h2{
    max-width:760px;
}

/* Footer */

.site-footer{
    padding:55px 0 23px;
    background:#07100b;
    color:var(--white);
}

.footer-main{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:35px;
    padding-bottom:35px;
}

.footer-brand{
    display:flex;
    align-items:center;
    gap:13px;
}

.footer-brand img{
    width:56px;
    height:56px;
    border-radius:12px;
    object-fit:cover;
}

.footer-brand > span{
    display:flex;
    flex-direction:column;
    line-height:1.1;
}

.footer-brand strong{
    letter-spacing:1.5px;
}

.footer-brand small{
    margin-top:5px;
    color:var(--gold);
    font-size:.58rem;
    letter-spacing:1.3px;
    text-transform:uppercase;
}

.footer-navigation{
    display:flex;
    align-items:center;
    gap:27px;
}

.footer-navigation a{
    color:rgba(255,255,255,.67);
    font-size:.74rem;
    font-weight:600;
}

.footer-navigation a:hover{
    color:var(--gold-light);
}

.footer-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    padding-top:22px;
    border-top:1px solid rgba(255,255,255,.09);
}

.footer-bottom p{
    color:rgba(255,255,255,.43);
    font-size:.67rem;
}

/* Reveal animation */

.reveal{
    opacity:0;
    transform:translateY(28px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.visible{
    opacity:1;
    transform:translateY(0);
}

/* Tablet */

@media(max-width:1000px){

    .header-cta{
        display:none;
    }

    .about-layout{
        gap:48px;
    }

    .about-image > img,
    .about-image{
        min-height:520px;
        height:520px;
    }

    .about-image-mark{
        right:-18px;
    }

}

/* Mobile navigation */

@media(max-width:780px){

    .section{
        padding:76px 0;
    }

    .header-inner{
        min-height:76px;
    }

    .brand img{
        width:47px;
        height:47px;
    }

    .brand-name strong{
        font-size:.9rem;
    }

    .menu-button{
        display:block;
        margin-left:auto;
    }

    .menu-button.open span:first-child{
        transform:
            translateY(6px)
            rotate(45deg);
    }

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

    .menu-button.open span:last-child{
        transform:
            translateY(-6px)
            rotate(-45deg);
    }

    .main-navigation{
        position:fixed;
        top:76px;
        left:0;
        right:0;
        bottom:0;
        display:flex;
        align-items:flex-start;
        flex-direction:column;
        gap:0;
        padding:48px 7%;
        background:var(--green-deep);
        opacity:0;
        visibility:hidden;
        transform:translateY(-15px);
        transition:.25s ease;
    }

    .main-navigation.open{
        opacity:1;
        visibility:visible;
        transform:translateY(0);
    }

    .main-navigation a{
        width:100%;
        padding:18px 0;
        border-bottom:1px solid rgba(255,255,255,.1);
        font-family:"Cormorant Garamond",Georgia,serif;
        font-size:2rem;
        font-weight:600;
    }

    .main-navigation a::after{
        display:none;
    }

    .hero-copy h1{
        font-size:clamp(4rem,17vw,6rem);
        letter-spacing:-2px;
    }

    .hero-copy p{
        max-width:440px;
        font-size:.9rem;
    }

    .hero-actions{
        align-items:flex-start;
        flex-direction:column;
    }

    .hero-actions .button{
        min-width:190px;
    }

    .scroll-link{
        display:none;
    }

    .section-heading{
        align-items:flex-start;
        flex-direction:column;
        gap:18px;
    }

    .project-grid{
        grid-template-columns:1fr;
        grid-template-rows:repeat(3,390px);
    }

    .project-card-large{
        grid-row:auto;
    }

    .project-card-large .project-content h3,
    .project-content h3{
        font-size:2.3rem;
    }

    .about-layout{
        grid-template-columns:1fr;
        gap:55px;
    }

    .about-image,
    .about-image > img{
        width:100%;
        min-height:480px;
        height:480px;
    }

    .about-image-mark{
        right:18px;
        bottom:-28px;
    }

    .about-copy{
        max-width:none;
    }

    .contact-panel{
        align-items:flex-start;
        flex-direction:column;
        padding:42px 30px;
    }

    .footer-main,
    .footer-bottom{
        align-items:flex-start;
        flex-direction:column;
    }

    .footer-navigation{
        flex-wrap:wrap;
    }

}

/* Small phones */

@media(max-width:470px){

    .container{
        width:min(90%,var(--container));
    }

    .brand-name{
        display:none;
    }

    .hero-content{
        padding-top:65px;
    }

    .hero-copy h1{
        font-size:3.75rem;
        line-height:.91;
    }

    .hero-copy p{
        font-size:.84rem;
    }

    .hero-footer{
        bottom:22px;
    }

    .section-heading h2,
    .about-copy h2,
    .contact-panel h2{
        font-size:2.75rem;
    }

    .project-grid{
        grid-template-rows:repeat(3,330px);
    }

    .project-content{
        left:20px;
        right:20px;
        bottom:20px;
    }

    .about-image,
    .about-image > img{
        min-height:410px;
        height:410px;
    }

    .about-image-mark{
        right:13px;
        left:13px;
        min-width:0;
    }

    .contact-panel{
        padding:35px 23px;
    }

}
