:root {
    --ink: #29373d;
    --ink-soft: #536269;
    --brand: #728690;
    --brand-dark: #586d77;
    --brand-light: #e9eef0;

    --background: #ffffff;
    --background-soft: #f5f6f5;
    --background-warm: #f7f6f3;

    --line: #dce3e6;

    --dark: #43555e;
    --dark-2: #33434b;

    --white: #ffffff;

    --radius: 18px;

    --shadow:
        0 20px 55px
        rgba(35, 49, 56, .08);

    --max-width: 1180px;
}


/* --------------------------------
   BASE
-------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    color: var(--ink);
    background: var(--background);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: 1.65;

    -webkit-font-smoothing: antialiased;
}


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


a {
    color: inherit;
}


.container {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin-inline: auto;
}


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

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;

    background:
        rgba(255, 255, 255, .94);

    border-bottom:
        1px solid
        rgba(114, 134, 144, .18);

    backdrop-filter: blur(12px);
}


.header-inner {
    min-height: 82px;

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

    gap: 30px;
}


.brand {
    display: flex;
    align-items: center;

    gap: 13px;

    text-decoration: none;
}


.brand-logo {
    width: 44px;
    height: 44px;
}


.brand-text {
    line-height: 1.08;
}


.brand-text strong {
    display: block;

    color: #2d383e;

    font-size: 13px;
    letter-spacing: .13em;
}


.brand-text span {
    display: block;

    margin-top: 5px;

    color: var(--brand);

    font-size: 10px;
    letter-spacing: .34em;
}


.main-nav {
    display: flex;
    align-items: center;

    gap: 27px;
}


.main-nav a {
    color: #59686f;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition:
        color .18s ease,
        background .18s ease;
}


.main-nav a:hover {
    color: var(--brand-dark);
}


.main-nav .nav-button {
    padding:
        10px
        18px;

    color: var(--white);
    background: var(--brand);

    border-radius: 999px;
}


.main-nav .nav-button:hover {
    color: var(--white);
    background: var(--brand-dark);
}


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

.hero {
    position: relative;

    overflow: hidden;

    padding:
        108px
        0
        112px;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(114, 134, 144, .14),
            transparent 26%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fafbfb 100%
        );
}


.hero::after {
    position: absolute;

    right: -180px;
    bottom: -300px;

    width: 650px;
    height: 650px;

    content: "";

    border:
        1px solid
        rgba(114, 134, 144, .12);

    border-radius: 50%;
}


.hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(320px, .75fr);

    gap: 80px;

    align-items: center;
}


.eyebrow,
.section-kicker {
    margin:
        0
        0
        22px;

    color: var(--brand-dark);

    font-size: 12px;
    font-weight: 750;

    letter-spacing: .13em;

    text-transform: uppercase;
}


.eyebrow {
    display: flex;
    align-items: center;

    gap: 12px;
}


.eyebrow::before {
    width: 36px;
    height: 2px;

    content: "";

    background: var(--brand);
}


.hero h1 {
    max-width: 790px;

    margin: 0;

    color: #303d43;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            46px,
            6vw,
            78px
        );

    font-weight: 500;
    line-height: 1.03;

    letter-spacing: -.035em;
}


.hero h1 span {
    color: var(--brand);
}


.hero-lead {
    max-width: 690px;

    margin:
        30px
        0
        0;

    color: var(--ink-soft);

    font-size: 19px;
    line-height: 1.75;
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 13px;

    margin-top: 38px;
}


.button {
    min-height: 51px;

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

    padding:
        0
        25px;

    border:
        1px solid
        var(--brand);

    border-radius: 999px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        transform .18s ease;
}


.button-primary {
    color: var(--white);
    background: var(--brand);
}


.button-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);

    transform:
        translateY(-1px);
}


.button-secondary {
    color: var(--brand-dark);
    background: transparent;
}


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


.hero-panel {
    padding: 35px;

    background: var(--white);

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

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}


.hero-panel h2 {
    margin:
        0
        0
        27px;

    color: var(--brand-dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 24px;
    font-weight: 500;

    line-height: 1.25;
}


.hero-feature {
    display: grid;

    grid-template-columns:
        38px
        1fr;

    gap: 14px;

    padding:
        19px
        0;

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


.hero-feature:first-of-type {
    border-top: 0;
}


.feature-number {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    color: var(--brand-dark);
    background: var(--brand-light);

    border-radius: 50%;

    font-size: 11px;
    font-weight: 800;
}


.hero-feature strong {
    display: block;

    margin-bottom: 3px;

    font-size: 14px;
}


.hero-feature p {
    margin: 0;

    color: #68767d;

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


/* --------------------------------
   GENERAL SECTIONS
-------------------------------- */

.section {
    padding:
        105px
        0;
}


.section-muted {
    background: var(--background-warm);
}


.section-title {
    max-width: 790px;

    margin:
        0
        0
        24px;

    color: #344248;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            34px,
            4vw,
            50px
        );

    font-weight: 500;
    line-height: 1.16;

    letter-spacing: -.025em;
}


.section-lead {
    max-width: 790px;

    margin: 0;

    color: #5c6b72;

    font-size: 18px;
    line-height: 1.72;
}


/* --------------------------------
   CARDS
-------------------------------- */

.cards {
    display: grid;

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

    gap: 20px;

    margin-top: 52px;
}


.card {
    padding: 30px;

    background: var(--white);

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

    border-radius: var(--radius);
}


.card-number {
    display: block;

    margin-bottom: 44px;

    color: #a1adb2;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .12em;
}


.card h3 {
    margin:
        0
        0
        11px;

    color: #39474e;

    font-size: 19px;
    line-height: 1.35;
}


.card p {
    margin: 0;

    color: #66757c;

    font-size: 15px;
}


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

.about-grid {
    display: grid;

    grid-template-columns:
        minmax(260px, .75fr)
        minmax(0, 1.25fr);

    gap: 90px;

    align-items: center;
}


.about-mark {
    min-height: 460px;

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

    padding: 50px;

    background:
        linear-gradient(
            145deg,
            #edf1f2,
            #f7f8f8
        );

    border-radius: var(--radius);
}


.about-mark img {
    width: 115px;

    margin-bottom: 38px;
}


.about-mark span {
    display: block;

    color: var(--brand-dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 26px;
    line-height: 1.4;
}


.about-copy > p:not(.section-kicker) {
    color: #59686f;

    font-size: 17px;
}


blockquote {
    margin:
        34px
        0
        0;

    padding:
        23px
        0
        23px
        25px;

    color: var(--brand-dark);

    border-left:
        2px solid
        var(--brand);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 20px;
    font-style: italic;

    line-height: 1.55;
}


/* --------------------------------
   PROFILE
-------------------------------- */

.profile-grid {
    display: grid;

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

    margin-top: 50px;

    overflow: hidden;

    background: var(--white);

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

    border-radius: var(--radius);
}


.profile-item {
    padding:
        26px
        30px;

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


.profile-item:nth-child(odd) {
    border-right:
        1px solid
        var(--line);
}


.profile-item:nth-last-child(-n + 2) {
    border-bottom: 0;
}


.profile-item span {
    display: block;

    margin-bottom: 6px;

    color: var(--brand);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .11em;
    text-transform: uppercase;
}


.profile-item strong {
    color: #344249;

    font-size: 17px;
    font-weight: 650;
}


/* --------------------------------
   PROJECT IMAGES
-------------------------------- */

.project-block {
    display: grid;

    grid-template-columns:
        165px
        1fr;

    gap: 35px;

    margin-top: 58px;
}


.project-heading {
    padding-top: 7px;
}


.project-heading span {
    display: block;

    color: #405058;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 29px;
    line-height: 1.2;
}


.project-heading small {
    display: block;

    margin-top: 8px;

    color: var(--brand);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .1em;
    text-transform: uppercase;
}


.image-grid {
    display: grid;

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

    gap: 18px;
}


.image-tile {
    position: relative;

    min-height: 290px;

    margin: 0;

    overflow: hidden;

    background: #edf0f1;

    border-radius: var(--radius);
}


.image-tile-large {
    grid-row: span 2;

    min-height: 598px;
}


.image-tile img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .45s ease;
}


.image-tile:hover img {
    transform: scale(1.025);
}


.project-divider {
    width: calc(100% - 200px);

    height: 1px;

    margin:
        68px
        0
        0
        auto;

    background: var(--line);
}


/* --------------------------------
   PROCESS
-------------------------------- */

.section-dark {
    color: var(--white);
    background: var(--dark);
}


.section-kicker-light {
    color: #d6e0e3;
}


.section-title-light {
    color: var(--white);
}


.steps {
    display: grid;

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

    gap: 40px;

    margin-top: 50px;
}


.step {
    padding-top: 24px;

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


.step > span {
    display: inline-grid;

    width: 37px;
    height: 37px;

    place-items: center;

    color: var(--dark);

    background: var(--white);

    border-radius: 50%;

    font-size: 12px;
    font-weight: 800;
}


.step h3 {
    margin:
        22px
        0
        8px;

    font-size: 18px;
}


.step p {
    margin: 0;

    color: #dce3e5;
}


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

.contact {
    padding:
        105px
        0;

    color: var(--white);
    background: var(--brand-dark);
}


.contact-grid {
    display: grid;

    grid-template-columns:
        1.15fr
        .85fr;

    gap: 80px;

    align-items: center;
}


.contact h2 {
    max-width: 680px;

    margin:
        0
        0
        24px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            34px,
            4vw,
            50px
        );

    font-weight: 500;
    line-height: 1.15;
}


.contact p:not(.section-kicker) {
    max-width: 680px;

    margin: 0;

    color: #edf2f3;

    font-size: 18px;
}


.contact-card {
    display: grid;

    gap: 18px;

    padding: 34px;

    color: var(--ink);

    background: var(--white);

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}


.contact-entry span {
    display: block;

    margin-bottom: 3px;

    color: #88969c;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .11em;
    text-transform: uppercase;
}


.contact-entry strong,
.contact-entry a {
    color: #35434a;

    font-size: 16px;
    font-weight: 650;

    text-decoration: none;
}


.contact-entry a:hover {
    color: var(--brand);
}


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

.site-footer {
    padding:
        29px
        0;

    color: #cdd6d9;
    background: var(--dark-2);

    font-size: 13px;
}


.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


.footer-inner nav {
    display: flex;

    gap: 20px;
}


.footer-inner a {
    text-decoration: none;
}


.footer-inner a:hover {
    color: var(--white);
}


/* --------------------------------
   LEGAL PAGES
-------------------------------- */

.legal-page {
    min-height: calc(100vh - 160px);

    padding:
        85px
        0
        110px;
}


.legal-content {
    max-width: 800px;
}


.legal-content h1 {
    margin:
        0
        0
        36px;

    color: #344249;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            38px,
            5vw,
            58px
        );

    font-weight: 500;
}


.legal-content h2 {
    margin:
        40px
        0
        12px;

    color: #3d4b52;

    font-size: 19px;
}


.legal-content p {
    color: #59686f;
}


.legal-content a {
    color: var(--brand-dark);
}


/* --------------------------------
   TABLET
-------------------------------- */

@media (max-width: 900px) {

    .main-nav a:not(.nav-button) {
        display: none;
    }


    .hero {
        padding:
            76px
            0
            80px;
    }


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

        gap: 48px;
    }


    .hero-panel {
        max-width: 620px;
    }


    .cards,
    .steps {
        grid-template-columns: 1fr;
    }


    .card-number {
        margin-bottom: 25px;
    }


    .about-mark {
        min-height: 350px;
    }


    .project-block {
        grid-template-columns: 1fr;

        gap: 19px;
    }


    .project-divider {
        width: 100%;
    }

}


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

@media (max-width: 640px) {

    .container {
        width:
            min(
                calc(100% - 32px),
                var(--max-width)
            );
    }


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


    .brand-logo {
        width: 38px;
        height: 38px;
    }


    .brand-text strong {
        font-size: 11px;
    }


    .brand-text span {
        font-size: 8px;
    }


    .main-nav {
        gap: 0;
    }


    .main-nav .nav-button {
        padding:
            9px
            13px;

        font-size: 12px;
    }


    .hero {
        padding:
            58px
            0
            64px;
    }


    .hero h1 {
        font-size: 43px;
    }


    .hero-lead,
    .section-lead {
        font-size: 16px;
    }


    .hero-actions {
        display: grid;
    }


    .button {
        width: 100%;
    }


    .hero-panel {
        padding:
            27px
            23px;
    }


    .section {
        padding:
            76px
            0;
    }


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


    .profile-item,
    .profile-item:nth-child(odd),
    .profile-item:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom:
            1px solid
            var(--line);
    }


    .profile-item:last-child {
        border-bottom: 0;
    }


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

        gap: 12px;
    }


    .image-tile,
    .image-tile-large {
        min-height: 0;

        grid-row: auto;

        aspect-ratio: 4 / 3;
    }


    .project-heading span {
        font-size: 26px;
    }


    .project-divider {
        margin-top: 48px;
    }


    .contact {
        padding:
            76px
            0;
    }


    .contact-card {
        padding:
            27px
            23px;
    }


    .footer-inner {
        flex-direction: column;
        align-items: flex-start;

        gap: 12px;
    }

}


/* --------------------------------
   ACCESSIBILITY
-------------------------------- */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        transition: none !important;
    }

}
