/*
Theme Name: 1850 Properties
Theme URI: https://1850properties.net/
Author: 1850 Properties
Description: Custom WordPress theme converted from the 1850 Properties HTML design.
Version: 1.0.0
Text Domain: 1850-properties
*/

:root {
    --primary: #36423B;
    --cream: #F8F5EE;
    --gold: #B9A56C;
    --sage: #D8DCCB;
    --ink: #202620;
    --muted: #6C746D;
    --line: rgba(54, 66, 59, .18)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--primary);
    font-family: Inter, Arial, sans-serif;
    overflow-x: hidden
}

.outer {
    padding: 14px;
    background: var(--cream)
}

.boxed {
    border-radius: 28px;
    overflow: hidden;
    /* border: 1px solid rgba(54, 66, 59, .12); */
    background: #fff
}

.hero {
    position: relative;
    min-height: calc(100vh - 28px);
    overflow: hidden;
    color: #fff
}

/* .hero-img {
    /* position: absolute; */
    /* inset: 0; */
    /* z-index: 1; */
    /* background: url('assets/celestia.jpg') center/cover; */
    /* transform: scale(1.04); */
    /* animation: zoom 12s cubic-bezier(.19, 1, .22, 1) forwards 
} 
*/

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    /* background: linear-gradient(90deg, rgba(54, 66, 59, .84), rgba(54, 66, 59, .25) 55%, rgba(54, 66, 59, .62)), linear-gradient(0deg, rgba(54, 66, 59, .32), rgba(54, 66, 59, .05)) */
}

.nav {
    position: absolute;
    z-index: 8;
    top: 18px;
    left: 28px;
    right: 28px;
    display: grid;
    grid-template-columns: 150px 1fr 150px;
    align-items: center
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 0
}

.brand img {
    width: 72px;
    height: auto;
    object-fit: contain
}

.links {
    display: flex;
    gap: 8px;
    justify-content: center
}

.links a,
.contact {
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 999px;
    padding: 11px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px)
}

.links a.active,
.contact {
    background: #fff;
    color: var(--primary);
    font-weight: 700
}

.contact {
    justify-self: end
}

.links a,
.contact,
.discover,
.slider-btn,
.project-link {
    transition: all .35s cubic-bezier(.19, 1, .22, 1)
}

.links a:hover,
.contact:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--primary);
    transform: translateY(-2px)
}

.discover:hover {
    background: var(--gold);
    transform: translateX(-50%) translateY(-4px);
    box-shadow: 0 18px 45px rgba(54, 66, 59, .22)
}

.discover:hover span {
    background: #fff;
    color: var(--primary)
}

.hero-title {
    position: absolute;
    z-index: 5;
    left: 36px;
    top: 23%;
    font-size: clamp(28px, 3.65vw, 52px);
    line-height: .94;
    letter-spacing: -.065em;
    text-transform: uppercase;
    font-weight: 500;
    max-width: 560px
}

.hero-copy {
    position: absolute;
    z-index: 5;
    left: 410px;
    top: 33%;
    max-width: 230px;
    font-size: 12px;
    line-height: 1.35;
    color: rgba(255, 255, 255, .84)
}

.mega {
    position: absolute;
    z-index: 2;
    left: 28px;
    right: 26px;
    bottom: 30%;
    font-family: Georgia, serif;
    font-size: clamp(140px, 26vw, 365px);
    line-height: .72;
    letter-spacing: -.1em;
    color: rgba(255, 255, 255, .22);
    white-space: nowrap;
    mix-blend-mode: screen
}

.hero-title,
.hero-copy,
.badge,
.discover,
.nav {
    position: absolute;
    z-index: 6
}

.badge {
    position: absolute;
    z-index: 6;
    right: 7%;
    top: 39%;
    width: 205px;
    padding: 24px;
    border-radius: 26px;
    background: rgba(54, 66, 59, .32);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(18px);
    box-shadow: inset 0 0 35px rgba(255, 255, 255, .08)
}

.badge.two {
    top: 62%;
    right: 2.2%;
    width: 178px
}

.badge strong {
    font-size: 44px;
    font-weight: 400
}

.badge p {
    font-size: 13px;
    line-height: 1.28;
    color: rgba(255, 255, 255, .86)
}

.badge a {
    display: inline-flex;
    margin-top: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    border-bottom: 1px solid rgba(255, 255, 255, .55)
}

.discover {
    position: absolute;
    z-index: 7;
    left: 50%;
    bottom: 42px;
    transform: translateX(-50%);
    background: #fff;
    color: var(--primary);
    border-radius: 999px;
    text-decoration: none;
    padding: 12px 13px 12px 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 800;
    font-size: 14px
}

.discover span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff
}

.tiny {
    position: absolute;
    z-index: 5;
    font-size: 10px;
    line-height: 1.15;
    color: rgba(255, 255, 255, .75)
}

.tiny.a {
    left: 32px;
    top: 19%
}

.tiny.b {
    left: 32px;
    bottom: 94px
}

.tiny.c {
    right: 30px;
    bottom: 24px
}

.section {
    padding: 105px 5vw
}

.wrap {
    max-width: 1220px;
    margin: auto
}

.head {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 80px;
    margin-bottom: 64px
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px
}

.display {
    font-family: Georgia, serif;
    font-size: clamp(42px, 5.7vw, 78px);
    line-height: .96;
    letter-spacing: -.065em;
    font-weight: 400;
    margin: 0
}

.lead {
    font-size: 17px;
    line-height: 1.75;
    color: var(--muted);
    max-width: 560px
}

.project-preview {
    position: relative;
    display: grid;
    grid-template-columns: .78fr 1.55fr .78fr;
    gap: 30px;
    align-items: center
}

.p-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(54, 66, 59, .14);
    transition: .45s cubic-bezier(.19, 1, .22, 1);
    box-shadow: 0 18px 40px rgba(54, 66, 59, .08)
}

.p-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 70px rgba(54, 66, 59, .16)
}

.p-card:not(.main) {
    opacity: .78
}

.p-card img {
    display: block;
    width: 100%;
    height: 245px;
    object-fit: cover
}

.p-card.main img {
    height: 400px
}

.p-body {
    padding: 18px 20px 22px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px
}

.p-body h3 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -.035em;
    color: var(--ink)
}

.p-body p {
    grid-column: 1/-1;
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px
}

.num {
    font-weight: 800;
    color: var(--primary)
}

.green {
    background: var(--primary);
    color: #fff
}

.green .lead {
    color: rgba(248, 245, 238, .72)
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px
}

.split-img {
    background: url('assets/international.jpg') center/cover
}

.split-copy {
    padding: 8vw 7vw;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.pillar {
    background: rgba(248, 245, 238, .055);
    border: 1px solid rgba(248, 245, 238, .16);
    border-radius: 18px;
    padding: 28px;
    transition: all .42s cubic-bezier(.19, 1, .22, 1);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .05)
}

.pillar span {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 2px
}

.pillar h3 {
    font-size: 25px;
    margin: 18px 0 10px
}

.pillar p {
    color: rgba(248, 245, 238, .68);
    line-height: 1.65
}

.pillar:hover {
    background: rgba(248, 245, 238, .96);
    color: var(--primary);
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 28px 75px rgba(0, 0, 0, .18)
}

.pillar:hover p {
    color: rgba(54, 66, 59, .68)
}

.scroll-projects {
    height: 400vh;
    background: var(--primary)
}

.sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden
}

.bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity .9s ease, transform 1.4s cubic-bezier(.19, 1, .22, 1)
}

.bg.on {
    opacity: 1;
    transform: scale(1)
}

.sticky:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(54, 66, 59, .88), rgba(54, 66, 59, .36) 50%, rgba(54, 66, 59, .72))
}

.pcopy {
    position: absolute;
    z-index: 4;
    left: 6vw;
    top: 50%;
    transform: translateY(-40%);
    color: #fff;
    opacity: 0;
    max-width: 760px;
    transition: .65s ease
}

.pcopy.on {
    opacity: 1;
    transform: translateY(-50%)
}

.pcopy h2 {
    font-family: Georgia, serif;
    font-size: clamp(58px, 9vw, 128px);
    line-height: .86;
    letter-spacing: -.08em;
    margin: 18px 0
}

.pcopy p {
    max-width: 520px;
    color: rgba(255, 255, 255, .78);
    font-size: 18px
}

.project-link {
    display: inline-flex;
    margin-top: 22px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    padding: 14px 24px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    transition: .3s
}

.project-link:hover {
    background: var(--gold);
    color: var(--primary);
    transform: translateY(-3px)
}

.progress {
    position: absolute;
    z-index: 5;
    right: 42px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px
}

.progress span {
    width: 3px;
    height: 45px;
    background: rgba(255, 255, 255, .25)
}

.progress span.on {
    height: 82px;
    background: var(--gold)
}

.cta-band {
    position: relative;
    min-height: 540px;
    background: var(--primary);
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    overflow: hidden
}

.cta-img {
    background: url('assets/dareen.jpg') center/cover;
    min-height: 540px;
    filter: saturate(.9) contrast(.98)
}

.cta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7vw;
    color: #fff;
    background: radial-gradient(circle at 70% 20%, rgba(185, 165, 108, .18), transparent 32%), var(--primary)
}

.cta-content h2 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: clamp(42px, 5.6vw, 76px);
    line-height: .96;
    letter-spacing: -.065em;
    margin: 0 0 22px
}

.cta-content p {
    max-width: 520px;
    color: rgba(248, 245, 238, .72);
    line-height: 1.75
}

.cta-content a {
    margin-top: 20px;
    width: max-content;
    display: inline-flex;
    gap: 14px;
    align-items: center;
    border-radius: 999px;
    padding: 15px 22px;
    background: #fff;
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
    transition: .35s
}

.cta-content a:hover {
    background: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .18)
}

.stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px
}

.stat {
    background: rgba(255, 255, 255, .38);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px
}

.stat strong {
    font-family: Georgia, serif;
    font-size: 58px;
    font-weight: 400;
    color: var(--primary)
}

.stat span {
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.4px;
    color: var(--muted)
}

.footer {
    background: var(--primary);
    color: #fff;
    padding: 64px 5vw 26px
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.15fr .7fr .95fr;
    gap: 54px;
    border: 1px solid rgba(248, 245, 238, .14);
    border-radius: 24px;
    padding: 36px
}

.foot-logo {
    width: 92px;
    margin-bottom: 22px
}

.foot .display {
    font-size: clamp(34px, 4vw, 54px);
    line-height: .98
}

.foot h3 {
    margin: 0 0 18px;
    font-size: 13px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2.8px
}

.foot a {
    display: block;
    color: rgba(248, 245, 238, .82);
    text-decoration: none;
    margin: 11px 0;
    font-size: 14px
}

.foot a:hover {
    color: #fff;
    transform: translateX(4px)
}

.foot p {
    color: rgba(248, 245, 238, .72);
    line-height: 1.7;
    font-size: 14px;
    max-width: 470px
}

.bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 28px;
    color: rgba(248, 245, 238, .55);
    font-size: 12px
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: .8s cubic-bezier(.19, 1, .22, 1)
}

.reveal.show {
    opacity: 1;
    transform: none
}

@keyframes zoom {
    to {
        transform: scale(1)
    }
}

.top-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px
}

.social {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .44);
    display: grid;
    place-items: center;
    color: #fff;
    text-decoration: none;
    background: rgba(54, 66, 59, .22);
    backdrop-filter: blur(10px);
    font-size: 13px;
    transition: all .35s cubic-bezier(.19, 1, .22, 1)
}

.social:hover {
    background: var(--gold);
    color: var(--primary);
    border-color: var(--gold);
    transform: translateY(-3px)
}

.hero .brand {
    animation: heroDrop .9s cubic-bezier(.19, 1, .22, 1) both
}

.links a {
    animation: heroDrop .8s cubic-bezier(.19, 1, .22, 1) both
}

.links a:nth-child(1) {
    animation-delay: .1s
}

.links a:nth-child(2) {
    animation-delay: .16s
}

.links a:nth-child(3) {
    animation-delay: .22s
}

.links a:nth-child(4) {
    animation-delay: .28s
}

.links a:nth-child(5) {
    animation-delay: .34s
}

.top-actions {
    animation: heroFromRight .9s cubic-bezier(.19, 1, .22, 1) .25s both
}

.hero-title {
    animation: heroFromLeft 1s cubic-bezier(.19, 1, .22, 1) .35s both
}

.mega {
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translate(-50%, -42%);
    z-index: 3 !important;
    color: rgba(255, 255, 255, .28) !important;
    animation: heroNumber 1.25s cubic-bezier(.19, 1, .22, 1) .15s both
}

.badge {
    animation: heroFromRight 1s cubic-bezier(.19, 1, .22, 1) .55s both
}

.badge.two {
    animation-delay: .75s
}

.discover {
    animation: heroRise 1s cubic-bezier(.19, 1, .22, 1) .9s both
}

@keyframes heroDrop {
    from {
        opacity: 0;
        transform: translateY(-24px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes heroFromLeft {
    from {
        opacity: 0;
        transform: translateX(-42px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes heroFromRight {
    from {
        opacity: 0;
        transform: translateX(42px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(28px)
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0)
    }
}

@keyframes heroNumber {
    from {
        opacity: 0;
        transform: translate(-50%, -26%) scale(.92)
    }

    to {
        opacity: 1;
        transform: translate(-50%, -42%) scale(1)
    }
}

.split.green {
    background: var(--primary) !important;
    color: #fff
}

.split.green .lead {
    color: rgba(248, 245, 238, .72)
}

.split-img {
    transform: scale(1.02);
    transition: transform 1.2s cubic-bezier(.19, 1, .22, 1)
}

.split:hover .split-img {
    transform: scale(1.06)
}

.split-copy .display,
.split-copy .lead,
.split-copy .eyebrow {
    transition: transform .8s cubic-bezier(.19, 1, .22, 1), opacity .8s
}

.split:hover .split-copy .display {
    transform: translateX(10px)
}

.final-cta {
    padding: 90px 5vw;
    background: linear-gradient(135deg, #F8F5EE 0%, #ECEFE4 100%);
    color: var(--primary)
}

.final-cta-inner {
    border: 1px solid rgba(54, 66, 59, .14);
    border-radius: 28px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
    background: rgba(255, 255, 255, .38);
    box-shadow: 0 22px 70px rgba(54, 66, 59, .08)
}

.final-cta h2 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1;
    letter-spacing: -.055em;
    margin: 0;
    max-width: 680px
}

.final-cta a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 16px 24px;
    font-weight: 800;
    transition: .35s
}

.final-cta a:hover {
    background: var(--gold);
    color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(54, 66, 59, .18)
}

.foot .display {
    font-size: clamp(28px, 3vw, 42px) !important;
    line-height: 1.02 !important
}

.footer .bottom span:last-child {
    display: none
}

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .9s ease, transform 1.1s cubic-bezier(.19, 1, .22, 1)
}

@media(max-width:900px) {
    .outer {
        padding: 0
    }

    .boxed,
    .hero {
        border-radius: 0
    }

    .nav {
        grid-template-columns: 1fr
    }

    .links,
    .contact {
        display: none
    }

    .hero-title {
        top: 24%;
        left: 22px;
        font-size: 36px
    }

    .mega {
        font-size: 120px;
        bottom: 40%;
        left: 20px
    }

    .badge,
    .hero-copy {
        display: none
    }

    .head,
    .project-preview,
    .split,
    .pillars,
    .stats,
    .foot-grid,
    .cta-band {
        grid-template-columns: 1fr
    }

    .section {
        padding: 78px 6vw
    }

    .p-card:not(.main) {
        opacity: 1
    }

    .p-card img,
    .p-card.main img {
        height: 260px
    }

    .cta-img {
        min-height: 310px
    }

    .bottom {
        display: block
    }

    .display {
        font-size: 44px
    }
}
/* WordPress conversion additions */
.hero-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    background: var(--primary);
}
.hero-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero > .nav,
.hero > .discover {
    z-index: 8;
}
.admin-bar .nav { top: 50px; }
@media (max-width: 782px) {
    .admin-bar .nav { top: 46px; }
}
