: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-label,
.eyebrow{
    display:inline-block;
    color:var(--gold);
    font-size:.68rem;
    font-weight:800;
    letter-spacing:2px;
    text-transform:uppercase;
}

/* 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 > span{
    display:flex;
    flex-direction:column;
    line-height:1.05;
}

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

.brand 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{
    background:var(--gold);
    border-color: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 */

.about-hero{
    position:relative;
    min-height:680px;
    display:flex;
    align-items:flex-end;
    overflow:hidden;
    background:var(--green-deep);
    color:var(--white);
}

.hero-image{
    position:absolute;
    inset:0;
    background:
        url("../images/properties/property3.jpg")
        center/cover
        no-repeat;
    transform:scale(1.02);
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(3,26,15,.94),
            rgba(3,26,15,.5)
        ),
        linear-gradient(
            to top,
            rgba(3,26,15,.77),
            transparent 65%
        );
}

.hero-content{
    position:relative;
    z-index:2;
    padding-bottom:86px;
}

.hero-content h1{
    max-width:810px;
    margin-top:16px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(4.8rem,8.5vw,8rem);
    font-weight:600;
    line-height:.87;
    letter-spacing:-3px;
}

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

.hero-content p{
    max-width:530px;
    margin-top:25px;
    color:rgba(255,255,255,.78);
    font-size:.95rem;
}

/* Introduction */

.company-introduction{
    padding:110px 0;
    background:var(--ivory);
}

.introduction-layout{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:95px;
    align-items:start;
}

.introduction-heading h2,
.expertise-content h2,
.values-heading h2,
.contact-panel h2{
    margin-top:9px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(3rem,5vw,4.6rem);
    font-weight:600;
    line-height:.98;
    letter-spacing:-1.5px;
}

.introduction-copy{
    padding-top:10px;
}

.introduction-copy p{
    margin-bottom:18px;
    color:var(--text);
    font-size:.96rem;
    line-height:1.9;
}

.text-link{
    display:inline-flex;
    align-items:center;
    gap:11px;
    margin-top:12px;
    padding-bottom:5px;
    border-bottom:1px solid var(--dark);
    font-size:.74rem;
    font-weight:800;
}

.text-link span{
    transition:transform .25s ease;
}

.text-link:hover span{
    transform:translateX(5px);
}

/* Expertise */

.expertise-section{
    padding:110px 0;
    background:var(--white);
}

.expertise-layout{
    display:grid;
    grid-template-columns:1.08fr .92fr;
    gap:85px;
    align-items:center;
}

.expertise-image{
    position:relative;
    min-height:650px;
    overflow:hidden;
    background:var(--green-dark);
}

.expertise-image img{
    width:100%;
    height:650px;
    object-fit:cover;
    transition:
        opacity .35s ease,
        transform .7s ease;
}

.expertise-image.changing img{
    opacity:.35;
    transform:scale(1.03);
}

.image-caption{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    display:flex;
    align-items:center;
    gap:17px;
    padding:24px 28px;
    background:rgba(4,31,19,.9);
    color:var(--white);
    backdrop-filter:blur(12px);
}

.image-caption span{
    color:var(--gold-light);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:1.7rem;
}

.image-caption strong{
    font-size:.78rem;
    letter-spacing:.8px;
    text-transform:uppercase;
}

.expertise-content h2{
    max-width:570px;
}

.expertise-tabs{
    margin-top:34px;
    border-top:1px solid var(--line);
}

.expertise-tab{
    width:100%;
    min-height:72px;
    display:grid;
    grid-template-columns:42px 1fr 30px;
    align-items:center;
    gap:12px;
    padding:14px 0;
    border-bottom:1px solid var(--line);
    background:transparent;
    color:var(--text);
    text-align:left;
    transition:.25s ease;
}

.expertise-tab > span{
    color:#9aa29d;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:1.25rem;
}

.expertise-tab strong{
    font-size:.86rem;
}

.expertise-tab small{
    color:var(--green);
    font-size:1.2rem;
    text-align:center;
}

.expertise-tab:hover,
.expertise-tab.active{
    color:var(--green-deep);
}

.expertise-tab.active > span{
    color:var(--gold);
}

.expertise-tab.active small{
    transform:rotate(45deg);
}

.expertise-description{
    min-height:78px;
    margin-top:25px;
    color:var(--text);
    font-size:.88rem;
    line-height:1.85;
}

/* Direction */

.direction-section{
    padding:110px 0;
    background:var(--ivory);
}

.direction-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.direction-card{
    min-height:400px;
    display:flex;
    justify-content:flex-end;
    flex-direction:column;
    padding:45px;
    border:1px solid var(--line);
    background:var(--white);
}

.direction-card-dark{
    border-color:var(--green-deep);
    background:
        radial-gradient(
            circle at top right,
            rgba(215,178,74,.18),
            transparent 38%
        ),
        var(--green-deep);
    color:var(--white);
}

.direction-card > span{
    color:var(--gold);
    font-size:.67rem;
    font-weight:800;
    letter-spacing:1.8px;
    text-transform:uppercase;
}

.direction-card h2{
    max-width:500px;
    margin-top:15px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(2.4rem,4vw,3.6rem);
    font-weight:600;
    line-height:1.02;
}

/* Values */

.values-section{
    padding:110px 0;
    background:var(--white);
}

.values-heading{
    max-width:730px;
    margin-bottom:45px;
}

.values-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
}

.value-card{
    min-height:270px;
    padding:35px;
    border-right:1px solid var(--line);
    transition:
        background .3s ease,
        color .3s ease;
}

.value-card:last-child{
    border-right:0;
}

.value-card:hover{
    background:var(--green-deep);
    color:var(--white);
}

.value-card > span{
    color:var(--gold);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:1.4rem;
}

.value-card h3{
    margin-top:70px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:2.2rem;
    font-weight:600;
}

.value-card p{
    margin-top:8px;
    color:var(--text);
    font-size:.8rem;
}

.value-card:hover p{
    color:rgba(255,255,255,.68);
}

/* Contact */

.contact-section{
    padding:0 0 110px;
    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:720px;
}

.contact-button{
    flex-shrink:0;
    min-height:52px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:13px 26px;
    border-radius:999px;
    background:var(--gold);
    color:var(--green-deep);
    font-size:.76rem;
    font-weight:800;
    transition:.25s ease;
}

.contact-button:hover{
    background:var(--gold-light);
    transform:translateY(-3px);
}

/* 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-main nav{
    display:flex;
    align-items:center;
    gap:27px;
}

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

.footer-main nav 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 */

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

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

/* Tablet */

@media(max-width:980px){

    .header-cta{
        display:none;
    }

    .introduction-layout,
    .expertise-layout{
        gap:50px;
    }

    .expertise-image,
    .expertise-image img{
        min-height:570px;
        height:570px;
    }

}

/* Mobile */

@media(max-width:780px){

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

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

    .brand 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;
    }

    .about-hero{
        min-height:580px;
    }

    .hero-content{
        padding-bottom:62px;
    }

    .hero-content h1{
        font-size:4.9rem;
    }

    .company-introduction,
    .expertise-section,
    .direction-section,
    .values-section{
        padding:78px 0;
    }

    .introduction-layout,
    .expertise-layout,
    .direction-grid{
        grid-template-columns:1fr;
    }

    .introduction-layout{
        gap:32px;
    }

    .expertise-layout{
        gap:52px;
    }

    .expertise-image,
    .expertise-image img{
        min-height:500px;
        height:500px;
    }

    .direction-card{
        min-height:330px;
        padding:32px;
    }

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

    .value-card{
        min-height:220px;
        border-right:0;
        border-bottom:1px solid var(--line);
    }

    .value-card:last-child{
        border-bottom:0;
    }

    .value-card h3{
        margin-top:48px;
    }

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

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

    .footer-main nav{
        flex-wrap:wrap;
    }

}

/* Small phones */

@media(max-width:470px){

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

    .brand > span{
        display:none;
    }

    .hero-content h1{
        font-size:4rem;
        letter-spacing:-2px;
    }

    .introduction-heading h2,
    .expertise-content h2,
    .values-heading h2,
    .contact-panel h2{
        font-size:2.8rem;
    }

    .expertise-image,
    .expertise-image img{
        min-height:420px;
        height:420px;
    }

    .image-caption{
        padding:18px 20px;
    }

    .direction-card{
        min-height:300px;
        padding:26px;
    }

    .direction-card h2{
        font-size:2.4rem;
    }

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

    .contact-button{
        width:100%;
    }

}
