:root {
    --paper: #e9e5dc;
    --paper-light: #f2efe8;

    --dark: #181816;
    --dark-soft: #23231f;

    --text: #161614;
    --muted: #77736b;

    --line: rgba(20,20,18,.16);

    --sand: #a48e70;
}


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


html {
    scroll-behavior: smooth;
}


body {
    background: var(--paper-light);
    color: var(--text);

    font-family:
        Arial,
        sans-serif;

    overflow-x: hidden;
}


body::before {
    content: "";

    position: fixed;
    inset: 0;

    pointer-events: none;

    z-index: 9999;

    opacity: .035;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}


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


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


.container {
    width: min(
        1240px,
        calc(100% - 64px)
    );

    margin: auto;
}


/* HEADER */

.header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    color: white;

    padding: 30px 0;
}


.header-inner {
    display: flex;

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

    padding-bottom: 18px;

    border-bottom:
        1px solid rgba(255,255,255,.25);
}


.brand {
    display: flex;

    flex-direction: column;
}


.brand strong {
    font-size: 16px;

    letter-spacing: 4px;
}


.brand span {
    margin-top: 4px;

    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: 1.8px;

    color:
        rgba(255,255,255,.55);
}


.nav {
    display: flex;

    gap: 32px;
}


.nav a {
    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;

    color:
        rgba(255,255,255,.68);
}


/* HERO */

.hero {
    position: relative;

    min-height: 100vh;

    background: var(--dark);

    color: white;

    overflow: hidden;
}


.hero-texture {
    position: absolute;

    inset: 0;

    opacity: .18;

    background:
        radial-gradient(
            circle at 25% 20%,
            rgba(255,255,255,.16),
            transparent 22%
        ),

        radial-gradient(
            circle at 70% 70%,
            rgba(255,255,255,.08),
            transparent 30%
        );
}


.hero-grid {
    position: relative;

    min-height: 100vh;

    padding-top: 145px;
    padding-bottom: 55px;

    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 60px;

    align-items: end;
}


.hero-copy {
    padding-bottom: 50px;
}


.kicker {
    display: block;

    margin-bottom: 35px;

    font-size: 9px;

    letter-spacing: 3px;

    text-transform: uppercase;

    color:
        rgba(255,255,255,.45);
}


.hero h1 {
    font-family:
        Georgia,
        serif;

    font-size:
        clamp(70px, 8vw, 128px);

    font-weight: 400;

    line-height: .82;

    letter-spacing: -6px;
}


.hero h1 em {
    font-weight: 400;

    color:
        var(--sand);
}


.hero-copy p {
    max-width: 450px;

    margin-top: 40px;

    font-family: Georgia, serif;

    font-size: 18px;

    line-height: 1.6;

    color:
        rgba(255,255,255,.6);
}


.cta-button {
    margin-top: 35px;

    display: inline-flex;

    gap: 45px;

    align-items: center;

    padding:
        18px 23px;

    border:
        1px solid rgba(255,255,255,.35);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition: .25s;
}


.cta-button:hover {
    background: white;

    color: var(--dark);
}


.hero-visual {
    position: relative;

    height: 72vh;

    min-height: 580px;
}


.hero-visual img {
    height: 100%;

    object-fit: cover;

    filter:
        grayscale(.15)
        contrast(.93);
}


.hero-year {
    position: absolute;

    bottom: 0;
    right: 0;

    background: var(--paper);

    color: var(--text);

    padding:
        25px 32px;

    display: flex;

    flex-direction: column;
}


.hero-year span {
    font-size: 8px;

    letter-spacing: 2px;
}


.hero-year strong {
    font-family: Georgia, serif;

    font-size: 45px;

    font-weight: 400;
}


/* MARQUEE */

.marquee {
    background: var(--sand);

    color: white;

    overflow: hidden;

    white-space: nowrap;

    padding:
        17px 0;

    font-size: 10px;

    letter-spacing: 3px;
}


.marquee div {
    width: max-content;

    animation:
        marquee 24s linear infinite;
}


@keyframes marquee {

    from {
        transform:
            translateX(0);
    }

    to {
        transform:
            translateX(-50%);
    }

}


/* SECTIONS */

.section {
    padding:
        145px 0;
}


.section-label {
    font-size: 9px;

    letter-spacing: 2px;

    color: #8b877f;
}


.section-label.light {
    color:
        rgba(255,255,255,.4);
}


.about-grid {
    display: grid;

    grid-template-columns:
        1.2fr .55fr;

    gap: 120px;

    margin-top: 70px;
}


.about h2,
.services h2,
.portfolio h2,
.reviews h2,
.contact h2 {
    font-family: Georgia, serif;

    font-size:
        clamp(52px, 6vw, 90px);

    font-weight: 400;

    line-height: .94;

    letter-spacing: -4px;
}


.about h2 em,
.services h2 em,
.portfolio h2 em,
.reviews h2 em,
.contact h2 em {
    display: block;

    font-weight: 400;
}


.about-grid > div p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.8;

    margin-bottom: 20px;
}


.about-grid .lead {
    font-family: Georgia, serif;

    font-size: 24px;

    color: var(--text);

    line-height: 1.5;
}


/* FEATURE */

.feature-image {
    position: relative;

    margin:
        0 32px;

    height: 82vh;

    min-height: 650px;

    overflow: hidden;
}


.feature-image img {
    height: 100%;

    object-fit: cover;

    filter:
        grayscale(.1);
}


.feature-caption {
    position: absolute;

    left: 0;
    bottom: 0;

    background: var(--paper);

    padding:
        24px 30px;

    min-width: 300px;

    display: flex;

    flex-direction: column;
}


.feature-caption span {
    font-size: 8px;

    letter-spacing: 2px;

    color: #8d897f;
}


.feature-caption strong {
    margin-top: 6px;

    font-family: Georgia, serif;

    font-size: 23px;

    font-weight: 400;
}


/* SERVICES */

.services {
    background: var(--paper);
}


.services-heading {
    display: grid;

    grid-template-columns:
        1fr .4fr;

    gap: 80px;

    align-items: end;

    margin-top: 70px;
}


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

    font-size: 13px;

    line-height: 1.8;
}


.services-list {
    margin-top: 80px;

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


.services-list article {
    display: grid;

    grid-template-columns:
        70px 1fr 1fr;

    align-items: center;

    min-height: 145px;

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

    transition:
        padding .3s,
        background .3s;
}


.services-list article:hover {
    padding-left: 20px;

    background:
        rgba(255,255,255,.25);
}


.services-list article > span {
    color: #98938a;

    font-size: 10px;
}


.services-list h3 {
    font-family: Georgia, serif;

    font-size: 31px;

    font-weight: 400;
}


.services-list p {
    max-width: 340px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;
}


/* PORTFOLIO */

.portfolio {
    padding:
        140px 0;

    background: var(--dark);

    color: white;
}


.portfolio-header {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;
}


.portfolio h2 {
    margin-top: 60px;
}


.portfolio-number {
    font-family: Georgia, serif;

    font-size: 90px;

    color:
        rgba(255,255,255,.14);
}


.portfolio-grid {
    margin-top: 70px;

    display: grid;

    grid-template-columns:
        1.2fr .8fr;

    gap: 20px;
}


.project {
    position: relative;

    height: 420px;

    overflow: hidden;
}


.project.large {
    grid-row:
        span 2;

    height: 860px;
}


.project img {
    height: 100%;

    object-fit: cover;

    transition:
        transform .8s;
}


.project:hover img {
    transform:
        scale(1.03);
}


.project::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(0,0,0,.65),
            transparent 45%
        );
}


.project > div {
    position: absolute;

    z-index: 2;

    bottom: 25px;
    left: 25px;
}


.project span {
    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: 2px;

    color:
        rgba(255,255,255,.5);
}


.project h3 {
    margin-top: 6px;

    font-family: Georgia, serif;

    font-size: 27px;

    font-weight: 400;
}


/* REVIEWS */

.reviews-heading {
    display: grid;

    grid-template-columns:
        1fr .3fr;

    gap: 70px;

    align-items: end;

    margin-top: 70px;
}


.rating {
    display: flex;

    flex-direction: column;

    padding-top: 25px;

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


.rating strong {
    font-family: Georgia, serif;

    font-size: 50px;

    font-weight: 400;
}


.rating span {
    color: #bf912d;

    letter-spacing: 2px;
}


.rating small {
    margin-top: 5px;

    color: var(--muted);

    font-size: 9px;
}


.reviews-grid {
    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 0;

    margin-top: 70px;

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


.reviews-grid article {
    min-height: 330px;

    padding:
        30px;

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


.reviews-grid article:first-child {
    border-left:
        1px solid var(--line);
}


.stars {
    color: #bf912d;

    letter-spacing: 2px;
}


.reviews-grid p {
    margin-top: 35px;

    font-family: Georgia, serif;

    font-size: 21px;

    line-height: 1.55;
}


.reviews-grid strong {
    display: block;

    margin-top: 45px;

    font-size: 11px;
}


.reviews-grid small {
    display: block;

    margin-top: 5px;

    color: var(--muted);

    font-size: 9px;
}


/* CONTACT */

.contact {
    position: relative;

    padding:
        150px 0;

    background: var(--sand);

    color: white;

    overflow: hidden;
}


.contact-texture {
    position: absolute;

    inset: 0;

    opacity: .13;

    background:
        radial-gradient(
            circle at 20% 30%,
            white,
            transparent 25%
        ),

        radial-gradient(
            circle at 80% 70%,
            white,
            transparent 30%
        );
}


.contact-grid {
    position: relative;

    display: grid;

    grid-template-columns:
        1fr .4fr;

    gap: 90px;

    align-items: end;
}


.contact-grid > div:first-child > span {
    font-size: 9px;

    letter-spacing: 2px;

    color:
        rgba(255,255,255,.6);
}


.contact h2 {
    margin-top: 25px;
}


.contact-grid > div:last-child p {
    font-family: Georgia, serif;

    font-size: 20px;

    line-height: 1.5;

    color:
        rgba(255,255,255,.8);
}


.contact-grid a {
    margin-top: 30px;

    display: flex;

    justify-content: space-between;

    padding:
        18px 0;

    border-top:
        1px solid rgba(255,255,255,.35);

    border-bottom:
        1px solid rgba(255,255,255,.35);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* FOOTER */

.footer {
    padding:
        45px 0;

    background: #11110f;

    color: white;
}


.footer-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr 1fr;

    align-items: center;

    font-size: 9px;

    color:
        rgba(255,255,255,.4);
}


.footer-grid > div:first-child {
    display: flex;

    flex-direction: column;
}


.footer-grid > div:first-child strong {
    color: white;

    letter-spacing: 3px;
}


.footer-grid > div:first-child span {
    margin-top: 4px;
}


.footer-grid > div:nth-child(2) {
    text-align: center;
}


.footer-grid > div:last-child {
    text-align: right;
}


/* MOBILE */

@media(max-width:900px) {

    .nav {
        display: none;
    }


    .hero-grid,
    .about-grid,
    .services-heading,
    .reviews-heading,
    .contact-grid {
        grid-template-columns:
            1fr;

        gap: 50px;
    }


    .hero-grid {
        padding-top: 150px;
    }


    .hero-visual {
        height: 620px;
    }


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


    .project.large {
        grid-row: auto;

        height: 620px;
    }


    .project {
        height: 520px;
    }


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


    .reviews-grid article {
        border-left:
            1px solid var(--line);

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

}


@media(max-width:680px) {

    .container {
        width:
            calc(100% - 30px);
    }


    .header {
        padding-top: 20px;
    }


    .hero-grid {
        padding-top: 120px;
    }


    .hero h1 {
        font-size: 61px;

        letter-spacing: -4px;
    }


    .hero-visual {
        height: 520px;

        min-height: 0;
    }


    .section {
        padding:
            95px 0;
    }


    .about h2,
    .services h2,
    .portfolio h2,
    .reviews h2,
    .contact h2 {
        font-size: 49px;

        letter-spacing: -3px;
    }


    .feature-image {
        margin:
            0 15px;

        height: 580px;

        min-height: 0;
    }


    .feature-caption {
        left: 0;
        right: 0;

        min-width: 0;
    }


    .services-list article {
        grid-template-columns:
            45px 1fr;

        padding:
            25px 0;
    }


    .services-list article p {
        grid-column:
            2;

        margin-top: 10px;
    }


    .services-list article:hover {
        padding-left: 0;
    }


    .portfolio {
        padding:
            95px 0;
    }


    .portfolio-number {
        display: none;
    }


    .project.large,
    .project {
        height: 520px;
    }


    .footer-grid {
        grid-template-columns:
            1fr;

        gap: 20px;

        text-align: left;
    }


    .footer-grid > div:nth-child(2),
    .footer-grid > div:last-child {
        text-align: left;
    }

}
