/* =========================================================
   POLISHED PERSPECTIVES
   ========================================================= */

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

:root {
    --navy: #0c1d2c;
    --navy-light: #142b3d;
    --navy-dark: #07141f;

    --gold: #c5a46d;
    --gold-light: #dcc59e;
    --gold-dark: #947341;

    --cream: #f7f5f0;
    --white: #ffffff;

    --text: #26323b;
    --muted: #69747c;
    --border: #dfe3e5;

    --max-width: 1180px;
    --header-height: 90px;
}


/* BASE */

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    overflow-x: hidden;

    font-family: Arial, Helvetica, sans-serif;

    color: var(--text);
    line-height: 1.65;

    background: var(--white);

    -webkit-font-smoothing: antialiased;
}

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

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

button {
    font: inherit;
}

.container {
    width: min(90%, var(--max-width));
    margin: 0 auto;
}

.center {
    text-align: center;
}


/* TYPOGRAPHY */

h1,
h2,
h3,
h4 {
    line-height: 1.1;
}

h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    letter-spacing: -3px;
}

h2 {
    margin-bottom: 22px;

    color: var(--navy);

    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: -1.5px;
}

h3 {
    margin-bottom: 12px;

    color: var(--navy);

    font-size: 1.35rem;
}

p {
    margin-bottom: 18px;
}

.lead,
.large-text {
    font-size: 1.25rem;
}

.eyebrow {
    margin-bottom: 16px;

    color: var(--gold);

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.3px;
}

.eyebrow.dark {
    color: var(--gold-dark);
}


/* HEADER */

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

    background: var(--navy);

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

.nav-container {
    min-height: var(--header-height);

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

    gap: 30px;
}

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

    flex-shrink: 0;
}

.header-logo {
    width: auto;
    height: 72px;

    object-fit: contain;
}


/* NAVIGATION */

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

    gap: 30px;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.82);

    font-size: 0.9rem;
    font-weight: 600;

    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
}

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

    border: 1px solid var(--gold);
}

.main-nav .nav-button:hover,
.main-nav .nav-button.active {
    color: var(--navy);
    background: var(--gold);
}

.menu-toggle {
    display: none;

    padding: 8px;

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

    border: 0;

    font-size: 1.8rem;

    cursor: pointer;
}


/* HERO */

.hero {
    position: relative;

    min-height: 620px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--white);

    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(197, 164, 109, 0.14),
            transparent 30%
        ),
        linear-gradient(
            110deg,
            #07141f 0%,
            #0c1d2c 58%,
            #142b3d 100%
        );
}

.hero::after {
    content: "";

    position: absolute;
    right: -130px;
    top: 50%;

    width: 470px;
    height: 470px;

    transform: translateY(-50%);

    border: 1px solid rgba(197, 164, 109, 0.12);
    border-radius: 50%;
}

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

    padding: 60px 0;
}

.hero h1 {
    max-width: 950px;

    margin-bottom: 25px;

    color: var(--white);
}

.hero h1 span,
.page-hero h1 span {
    display: block;

    color: var(--gold);
}

.hero-text {
    max-width: 650px;

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

    font-size: 1.15rem;
}

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

    gap: 15px;

    margin-top: 32px;
}


/* PAGE HERO */

.page-hero {
    position: relative;

    overflow: hidden;

    padding: 100px 0;

    color: var(--white);
    background: var(--navy);
}

.compact-hero {
    padding: 90px 0;
}

.page-hero::after {
    content: "";

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

    width: 560px;
    height: 560px;

    border: 1px solid rgba(197, 164, 109, 0.12);
    border-radius: 50%;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    max-width: 950px;

    margin-bottom: 25px;

    color: var(--white);
}

.page-hero > .container > p:last-child {
    max-width: 680px;

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

    font-size: 1.1rem;
}


/* BUTTONS */

.button {
    display: inline-block;

    padding: 14px 25px;

    border: 1px solid transparent;

    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;

    transition: 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-gold {
    color: var(--navy);
    background: var(--gold);
}

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

.button-outline {
    color: var(--white);

    border-color: rgba(255, 255, 255, 0.6);
}

.button-outline:hover {
    color: var(--navy);
    background: var(--white);
}

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

.button-dark:hover {
    background: var(--navy-light);
}


/* SECTIONS */

.section {
    padding: 85px 0;
}

.section-light {
    background: var(--cream);
}

.dark-section {
    color: rgba(255, 255, 255, 0.76);
    background: var(--navy);
}

.dark-section h2,
.dark-section h3 {
    color: var(--white);
}

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


/* SPLIT */

.split {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 75px;

    align-items: start;
}


/* SECTION HEADING */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;

    margin-bottom: 42px;
}

.section-heading h2 {
    max-width: 760px;

    margin-bottom: 0;
}

.text-link {
    color: var(--gold-dark);

    font-weight: 700;

    white-space: nowrap;
}

.text-link:hover {
    color: var(--navy);
}


/* BRAND MARK */

.brand-mark-column {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.section-mark {
    width: 150px;
    height: 150px;

    object-fit: contain;
}


/* STANDARD CARDS */

.card-grid {
    display: grid;

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

    gap: 22px;
}

.service-card {
    padding: 34px;

    background: var(--white);

    border-top: 3px solid transparent;

    box-shadow:
        0 5px 20px
        rgba(12, 29, 44, 0.05);

    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);

    border-color: var(--gold);

    box-shadow:
        0 15px 35px
        rgba(12, 29, 44, 0.1);
}

.card-number {
    margin-bottom: 28px;

    color: var(--gold);

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
}


/* HOME SERVICE SUMMARY */

.service-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 1px;

    background: var(--border);
}

.service-summary {
    min-height: 230px;

    padding: 30px;

    background: var(--white);
}

.service-summary span {
    display: block;

    margin-bottom: 30px;

    color: var(--gold);

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.service-summary p {
    margin-bottom: 0;
}


/* SERVICES PAGE */

.services-grid {
    display: grid;

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

    gap: 22px;
}

.service-feature {
    display: grid;

    grid-template-columns:
        55px
        minmax(0, 1fr);

    gap: 20px;

    padding: 38px;

    background: var(--white);

    border-top: 3px solid var(--gold);
}

.service-feature h2 {
    margin-bottom: 15px;

    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.service-feature-number {
    color: var(--gold);

    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.compact-list {
    list-style: none;

    display: grid;

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

    gap: 8px 15px;

    margin-top: 20px;
}

.compact-list li {
    position: relative;

    padding-left: 20px;

    font-size: 0.9rem;
}

.compact-list li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: var(--gold);

    font-weight: 700;
}


/* APPROACH */

.four-step-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 2px;
}

.process-step {
    min-height: 245px;

    padding: 32px;

    background: var(--white);
}

.process-step span {
    display: block;

    margin-bottom: 32px;

    color: var(--gold);

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.process-step p {
    margin-bottom: 0;
}


/* CONTACT */

.contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(350px, 0.8fr);

    gap: 80px;

    align-items: start;
}

.contact-info {
    margin-top: 35px;
}

.contact-method {
    padding: 20px 0;

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

.contact-method:last-child {
    border-bottom: 1px solid var(--border);
}

.contact-label {
    margin-bottom: 4px;

    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-info a {
    color: var(--gold-dark);

    font-size: 1.15rem;
    font-weight: 700;

    overflow-wrap: anywhere;
}

.contact-box {
    padding: 45px;

    color: rgba(255, 255, 255, 0.76);
    background: var(--navy);

    box-shadow:
        0 18px 45px
        rgba(12, 29, 44, 0.12);
}

.contact-box h3 {
    color: var(--white);

    font-size: 1.9rem;
}

.contact-mark {
    width: 80px;
    height: 80px;

    margin-bottom: 25px;

    object-fit: contain;
}

.contact-box .button {
    margin: 12px 0 18px;
}

.small-text {
    margin-bottom: 0;

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

    font-size: 0.78rem;
}


/* CTA */

.cta {
    padding: 75px 0;

    background: var(--gold);
}

.cta h2 {
    max-width: 780px;

    margin-left: auto;
    margin-right: auto;
}

.cta p:not(.eyebrow) {
    max-width: 620px;

    margin-left: auto;
    margin-right: auto;
}

.cta .button {
    margin-top: 10px;
}


/* FOOTER */

.footer {
    padding: 60px 0 22px;

    color: rgba(255, 255, 255, 0.58);
    background: var(--navy-dark);
}

.footer-grid {
    display: grid;

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

    gap: 60px;
}

.footer-grid > div:first-child p {
    max-width: 450px;
}

.footer-logo {
    display: inline-block;

    margin-bottom: 18px;
}

.footer-logo img {
    width: 220px;
}

.footer h4 {
    margin-bottom: 16px;

    color: var(--white);
}

.footer a:not(.footer-logo) {
    display: block;

    margin-bottom: 8px;

    overflow-wrap: anywhere;
}

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

.footer-bottom {
    margin-top: 45px;
    padding-top: 20px;

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

    font-size: 0.78rem;
}


/* 404 */

.error-body {
    min-height: 100vh;

    background: var(--navy);
}

.error-page {
    min-height: 100vh;

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

    padding: 50px 5%;

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

    text-align: center;
}

.error-container {
    width: min(100%, 900px);
}

.error-logo {
    display: inline-block;

    margin-bottom: 50px;
}

.error-logo img {
    width: 250px;
}

.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.error-mark {
    width: 100px;
    height: 100px;

    margin-bottom: 25px;

    object-fit: contain;
}

.error-page h1 {
    margin-bottom: 22px;

    color: var(--white);

    font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.error-page h1 span {
    display: block;

    color: var(--gold);
}

.error-text {
    max-width: 600px;

    margin-left: auto;
    margin-right: auto;

    color: rgba(255, 255, 255, 0.7);
}

.error-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 15px;

    margin-top: 22px;
}

.error-footer {
    margin-top: 60px;

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

    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* ACCESSIBILITY */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 4px;
}


/* TABLET */

@media (max-width: 1000px) {

    .service-summary-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .four-step-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* MOBILE */

@media (max-width: 850px) {

    :root {
        --header-height: 74px;
    }

    .nav-container {
        min-height: var(--header-height);
    }

    .header-logo {
        height: 57px;
    }

    .menu-toggle {
        display: block;
    }


    /* NAV */

    .main-nav {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;

        width: 100%;

        gap: 0;

        padding: 12px 6% 22px;

        background: var(--navy);

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

        box-shadow:
            0 15px 30px
            rgba(0, 0, 0, 0.2);
    }

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

    .main-nav a {
        width: 100%;

        padding: 12px 4px;

        font-size: 1rem;

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

    .main-nav .nav-button {
        margin-top: 10px;

        padding: 12px 16px;

        text-align: center;
    }


    /* HERO */

    .hero {
        min-height: auto;

        padding: 60px 0;
    }

    .hero-content {
        padding: 10px 0;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 11vw, 4.5rem);
        letter-spacing: -2px;
    }

    .hero-buttons {
        flex-direction: column;

        max-width: 420px;
    }


    /* PAGE HERO */

    .page-hero,
    .compact-hero {
        padding: 60px 0;
    }

    .page-hero h1 {
        font-size: clamp(2.6rem, 10vw, 4.2rem);
        letter-spacing: -2px;
    }


    /* CONTENT */

    .section {
        padding: 58px 0;
    }

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

        gap: 28px;
    }

    .section-heading {
        display: block;

        margin-bottom: 30px;
    }

    .section-heading .text-link {
        display: inline-block;

        margin-top: 15px;

        white-space: normal;
    }


    /* CARDS */

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

        gap: 15px;
    }

    .service-card {
        padding: 28px;
    }

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


    /* HOME SERVICES */

    .service-summary-grid {
        grid-template-columns: 1fr;

        gap: 1px;
    }

    .service-summary {
        min-height: auto;

        padding: 25px;
    }

    .service-summary span {
        margin-bottom: 18px;
    }


    /* SERVICES */

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

        gap: 15px;
    }

    .service-feature {
        padding: 28px;

        grid-template-columns: 40px minmax(0, 1fr);

        gap: 12px;
    }

    .service-feature h2 {
        font-size: 1.6rem;
    }


    /* APPROACH */

    .four-step-grid {
        grid-template-columns: 1fr;

        gap: 1px;
    }

    .process-step {
        min-height: auto;

        padding: 27px;
    }

    .process-step span {
        margin-bottom: 20px;
    }


    /* BRAND */

    .brand-mark-column {
        justify-content: flex-start;
    }

    .section-mark {
        width: 105px;
        height: 105px;
    }


    /* CONTACT */

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

        gap: 35px;
    }

    .contact-box {
        padding: 35px;
    }


    /* CTA */

    .cta {
        padding: 58px 0;
    }


    /* FOOTER */

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

        gap: 30px;
    }

}


/* SMALL PHONES */

@media (max-width: 550px) {

    .container {
        width: 88%;
    }

    h2 {
        font-size: 1.9rem;
        letter-spacing: -1px;
    }

    .lead,
    .large-text {
        font-size: 1.08rem;
    }

    .eyebrow {
        font-size: 0.68rem;
        letter-spacing: 1.8px;
    }

    .header-logo {
        height: 52px;
    }


    /* HERO */

    .hero {
        padding: 48px 0;
    }

    .hero h1 {
        font-size: 2.65rem;
        line-height: 1.03;
    }

    .hero-text {
        font-size: 1rem;
    }


    /* PAGE HERO */

    .page-hero,
    .compact-hero {
        padding: 50px 0;
    }

    .page-hero h1 {
        font-size: 2.45rem;
        line-height: 1.04;
    }

    .page-hero > .container > p:last-child {
        font-size: 1rem;
    }


    /* SECTIONS */

    .section {
        padding: 48px 0;
    }


    /* BUTTONS */

    .button {
        width: 100%;

        padding: 14px 18px;
    }


    /* SERVICES */

    .service-feature {
        grid-template-columns: 1fr;

        padding: 25px;
    }

    .service-feature-number {
        margin-bottom: 2px;
    }

    .compact-list {
        grid-template-columns: 1fr;

        gap: 7px;
    }


    /* CONTACT */

    .contact-box {
        padding: 28px 24px;
    }

    .contact-mark {
        width: 70px;
        height: 70px;
    }


    /* CTA */

    .cta {
        padding: 48px 0;
    }


    /* FOOTER */

    .footer {
        padding: 48px 0 20px;
    }

    .footer-logo img {
        width: 190px;
    }

    .footer-bottom {
        margin-top: 35px;
    }


    /* 404 */

    .error-page {
        padding: 35px 6%;
    }

    .error-logo {
        margin-bottom: 35px;
    }

    .error-logo img {
        width: 200px;
    }

    .error-mark {
        width: 80px;
        height: 80px;
    }

    .error-buttons {
        width: 100%;
    }

}


/* REDUCED MOTION */

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}
