
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');


/* ------------------------------
   GLOBAL SETTINGS
------------------------------ */

:root {
    /* Brand colors, taken from the logo gradient */
    --navy: #1b1464;
    --navy-deep: #120d45;
    --gray: #666666;

    /* Page colors */
    --bg: #f7f7f9;
    --panel: #ffffff;
    --placeholder: #e6e6ee;

    --text: #15132f;
    --muted: #5f5f6e;

    --accent: var(--navy);
    --on-dark: #f4f4f8;
    --on-dark-accent: #b9b5e6;

    --line: rgba(27, 20, 100, 0.14);

    --header-h: 88px;

    --page: min(1180px, calc(100% - 64px));
}


* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    font-weight: 300;
}

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

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ------------------------------
   HEADER / NAVIGATION
------------------------------ */

.site-header {
    height: var(--header-h);
    padding: 0 5vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    z-index: 10;
    top: 0;

    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-bottom: 1px solid var(--line);
}

.brand {
    height: 64px;

    display: flex;
    align-items: center;
}

.brand img {
    width: auto;
    height: 100%;

    object-fit: contain;
    object-position: left center;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 42px);

    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.main-nav a {
    transition: color 0.2s ease;
}

.main-nav a:hover,
.text-link:hover {
    color: var(--accent);
}

.nav-contact {
    border: 1px solid var(--navy);
    color: var(--navy);
    padding: 12px 17px;

    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a.nav-contact:hover {
    background: var(--navy);
    color: #fff;
}

.menu-toggle {
    display: none;
}


/* ------------------------------
   HERO
------------------------------ */

.hero {
    min-height: 640px;
    height: min(820px, calc(100vh - var(--header-h)));

    position: relative;
    color: #fff;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;

    background:
        var(--navy-deep)
        url("../images/hero/real-estate-hero.jpg")
        center 48% / cover no-repeat;
}

.hero-shade {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(12,9,48,0.80) 0%,
            rgba(12,9,48,0.45) 48%,
            rgba(12,9,48,0.08) 100%
        ),
        linear-gradient(
            0deg,
            rgba(12,9,48,0.35),
            transparent 45%
        );
}

.hero-content {
    position: relative;
    z-index: 1;

    width: var(--page);
    max-width: 1180px;

    margin: 0 auto;
}

.eyebrow,
.section-kicker {
    color: var(--accent);

    font-size: 10px;
    letter-spacing: 0.22em;
    font-weight: 500;
}

.hero .eyebrow {
    color: var(--on-dark-accent);
}

.hero .text-link {
    border-color: rgba(255,255,255,0.7);
}

.hero .text-link:hover {
    color: var(--on-dark-accent);
}

.hero h1 {
    font-size: clamp(64px, 9vw, 126px);
    line-height: 0.95;

    letter-spacing: -0.065em;
    font-weight: 300;

    margin: 26px 0;
}

h1 em,
h2 em {
    font-family: "Playfair Display", serif;
    font-weight: 500;
}

.hero-copy {
    max-width: 410px;

    color: rgba(255,255,255,0.82);

    line-height: 1.8;
    font-size: 15px;
}

.text-link {
    display: inline-flex;
    gap: 24px;
    align-items: center;

    border-bottom: 1px solid var(--accent);

    padding: 0 0 10px;
    margin-top: 25px;

    font-size: 11px;
    letter-spacing: 0.13em;
    text-transform: uppercase;

    transition: color 0.2s;
}

.hero-caption {
    position: absolute;
    right: 5vw;
    bottom: 35px;

    color: rgba(255,255,255,0.65);

    font-size: 9px;
    letter-spacing: 0.18em;
}


/* ------------------------------
   SHARED SECTIONS
------------------------------ */

.section-wrap {
    width: var(--page);
    max-width: 1180px;

    margin: 0 auto;
}

h2 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;

    letter-spacing: -0.055em;
    font-weight: 300;

    margin: 28px 0 0;
}


/* ------------------------------
   REAL ESTATE INTRO
------------------------------ */

.intro {
    padding-top: 125px;
    padding-bottom: 130px;
}

.intro-grid,
.section-heading,
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    gap: 8%;
    align-items: end;
}

.intro-copy {
    max-width: 470px;
    padding-bottom: 6px;
}

.lead {
    color: var(--text);

    font-size: 20px;
    line-height: 1.5;
}

.intro-copy p:not(.lead),
.about-grid p:not(.lead) {
    color: var(--muted);

    font-size: 14px;
    line-height: 1.9;
}

.feature-image {
    height: min(650px, 58vw);

    margin-top: 65px;

    background: var(--placeholder);
    overflow: hidden;
}


/* ------------------------------
   SERVICES
------------------------------ */

.services {
    padding: 105px 0 125px;

    border-top: 1px solid var(--line);
}

.section-heading {
    margin-bottom: 58px;
}

.section-heading > p {
    color: var(--muted);

    max-width: 390px;

    font-size: 14px;
    line-height: 1.9;

    margin-bottom: 5px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 55px 28px;
}

.service-card {
    display: block;
}

.service-photo {
    height: clamp(230px, 30vw, 390px);

    overflow: hidden;
    background: var(--placeholder);
}

.service-photo img,
.work-tile img {
    transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}

.service-card:hover img,
.work-tile:hover img {
    transform: scale(1.035);
}

.service-meta {
    display: flex;
    justify-content: space-between;

    color: var(--accent);

    font-size: 9px;
    letter-spacing: 0.17em;
    text-transform: uppercase;

    margin-top: 19px;
}

.service-meta span:last-child {
    color: var(--muted);
}

.service-card h3 {
    font-size: 27px;
    font-weight: 300;

    margin: 12px 0 8px;
}

.service-card p {
    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;

    margin: 0;
    max-width: 420px;
}


/* ------------------------------
   SELECTED WORK
------------------------------ */

.selected-work {
    padding: 105px 0 130px;

    border-top: 1px solid var(--line);
}

.work-grid {
    display: grid;

    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: 260px 260px;

    gap: 18px;
}

.work-tile {
    position: relative;
    overflow: hidden;

    background: var(--placeholder);
}

.work-tall {
    grid-row: span 2;
}

.work-tile span {
    position: absolute;

    left: 18px;
    bottom: 17px;

    font-size: 9px;
    letter-spacing: 0.16em;

    color: #fff;
    text-shadow: 0 1px 8px rgba(12,9,48,0.7);
}

.portfolio-link {
    margin-top: 35px;
}


/* ------------------------------
   ABOUT
------------------------------ */

.about {
    border-top: 1px solid var(--line);

    padding: 110px 0 130px;
}

.about-grid {
    align-items: start;
}

.about-grid > div {
    max-width: 470px;
    padding-top: 18px;
}

.placeholder-reminder {
    border-left: 1px solid var(--accent);
    padding-left: 15px;

    font-size: 12px !important;
}


/* ------------------------------
   CONTACT
------------------------------ */

.contact {
    background:
        linear-gradient(110deg, var(--navy-deep) 0%, var(--navy) 55%, #3b3a78 100%);
    color: var(--on-dark);

    padding: 105px 0 115px;
}

.contact-inner h2 {
    font-size: clamp(54px, 8vw, 100px);
    margin-top: 30px;
}

.contact .section-kicker {
    color: var(--on-dark-accent);
}

.contact-inner > p {
    color: rgba(244,244,248,0.78);

    max-width: 420px;

    line-height: 1.8;
    font-size: 14px;

    margin-top: 25px;
}

.contact-button {
    display: inline-flex;
    justify-content: space-between;

    gap: 55px;

    margin-top: 25px;
    padding: 17px 20px;

    background: #fff;
    color: var(--navy);

    transition: background 0.2s ease, color 0.2s ease;

    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* ------------------------------
   SOCIAL LINKS
------------------------------ */

.socials {
    margin-top: 64px;
}

.socials-label {
    margin: 0 0 16px;

    color: var(--on-dark-accent);

    font-size: 9px;
    letter-spacing: 0.22em;
    font-weight: 500;
}

.socials ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.socials a {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(244, 244, 248, 0.35);

    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.socials svg {
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.socials a:hover,
.socials a:focus-visible {
    background: #fff;
    border-color: #fff;
    color: var(--navy);
}

/* ------------------------------
   FOOTER
------------------------------ */

.site-footer {
    min-height: 100px;

    padding: 25px 5vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    background: var(--navy-deep);
    color: rgba(244,244,248,0.65);

    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-button:hover {
    background: var(--on-dark-accent);
}

.footer-brand {
    color: var(--on-dark);
    letter-spacing: 0.2em;
}


/* ------------------------------
   MOBILE LAYOUT
------------------------------ */

@media (max-width: 760px) {

    :root {
        --page: calc(100% - 40px);
        --header-h: 72px;
    }

    .site-header {
        height: 72px;
        padding: 0 20px;
    }

    .brand {
        height: 48px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;

        border: 0;
        background: none;

        padding: 12px 0 12px 12px;
        z-index: 12;
    }

    .menu-toggle span {
        width: 25px;
        height: 1px;
        background: var(--navy);
    }

    .main-nav {
        display: none;

        position: absolute;

        top: 71px;
        left: 0;
        right: 0;

        background: #fff;
        border-bottom: 1px solid var(--line);

        padding: 25px 22px 30px;

        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .main-nav.open {
        display: flex;
    }

    .nav-contact {
        padding: 10px 14px;
    }

    .hero {
        min-height: 600px;
        height: calc(88svh - var(--header-h));
    }

    .hero h1 {
        font-size: clamp(60px, 16vw, 92px);
    }

    .hero-caption {
        right: 20px;
        bottom: 22px;
        font-size: 8px;
    }

    .intro,
    .services,
    .selected-work,
    .about {
        padding-top: 78px;
        padding-bottom: 85px;
    }

    .intro-grid,
    .section-heading,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    h2 {
        font-size: clamp(43px, 12vw, 65px);
    }

    .intro-copy {
        padding-top: 5px;
    }

    .feature-image {
        height: 75vw;
        margin-top: 38px;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading > p {
        margin-top: 0;
    }

    .service-grid {
        gap: 38px 14px;
    }

    .service-photo {
        height: 44vw;
    }

    .service-card h3 {
        font-size: 21px;
    }

    .service-card p {
        font-size: 12px;
    }

    .service-meta {
        font-size: 8px;
    }

    .work-grid {
        grid-template-rows: 48vw 38vw;
        gap: 10px;
    }

    .about-grid > div {
        padding-top: 0;
    }

    .contact {
        padding: 80px 0 90px;
    }

    .site-footer {
        flex-wrap: wrap;
        padding: 25px 20px;
        font-size: 9px;
    }

}
