/* ==========================================
   METRO EAST CIRCLE
   Main Stylesheet
========================================== */


/* ==========================================
   VARIABLES
========================================== */

:root {

    --green: #33483b;
    --green-dark: #25352b;

    --ink: #20231f;
    --muted: #666c64;

    --cream: #f3efe6;
    --warm-white: #faf8f3;
    --sand: #e7e0d3;

    --white: #ffffff;
    --line: #d8d4ca;

    --container: 1200px;

}


/* ==========================================
   RESET
========================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

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

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

    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

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

button {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}


/* ==========================================
   GLOBAL LAYOUT
========================================== */

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

    margin: 0 auto;
}

.section {
    padding: 115px 0;
}


/* ==========================================
   TYPOGRAPHY
========================================== */

h1,
h2 {
    font-weight: 500;
    letter-spacing: -0.05em;
}

h2 {
    font-size: clamp(
        48px,
        5.4vw,
        76px
    );

    line-height: 0.96;
}

.eyebrow {
    margin-bottom: 27px;

    color: var(--green);

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

    line-height: 1.4;
    letter-spacing: 0.16em;
}

.eyebrow-light {
    color: #abb5aa;
}

.section-subheading {
    margin: 18px 0 0;

    color: var(--muted);

    font-size: 21px;
    line-height: 1.35;

    letter-spacing: -0.015em;
}


/* ==========================================
   HEADER
========================================== */

.site-header {
    position: relative;
    z-index: 100;

    background: var(--cream);

    border-bottom:
        1px solid
        rgba(32, 35, 31, 0.12);
}

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

    display: flex;
    align-items: center;

    gap: 36px;
}

.brand {
    margin-right: auto;

    display: flex;
    align-items: center;

    gap: 12px;
}

.brand-mark {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

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

    border-radius: 50%;

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

    letter-spacing: 0.08em;
}

.brand-name {
    display: flex;
    flex-direction: column;

    font-size: 11px;

    line-height: 1.05;
    letter-spacing: 0.13em;
}

.brand-name strong {
    font-size: 16px;
}

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

    gap: 30px;

    font-size: 14px;
}

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

.main-nav a:hover {
    opacity: 0.5;
}

.header-actions {
    display: flex;
    align-items: center;

    gap: 9px;
}

.header-button-secondary,
.header-button-primary {
    min-height: 44px;

    padding: 0 18px;

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

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

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

.header-button-secondary {
    border:
        1px solid
        rgba(51, 72, 59, 0.45);

    color: var(--green);
}

.header-button-secondary:hover {
    background:
        rgba(51, 72, 59, 0.07);
}

.header-button-primary {
    gap: 20px;

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

.header-button-primary:hover {
    background: var(--green-dark);
}

.header-button-primary span {
    font-size: 16px;
    font-weight: 400;
}

.menu-button {
    display: none;

    padding: 10px 0;

    border: 0;

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

    cursor: pointer;
}


/* ==========================================
   HERO
========================================== */

.hero {
    padding: 70px 0 80px;

    background: var(--cream);
}

.hero-layout {
    display: grid;

    grid-template-columns:
        0.95fr
        1.05fr;

    gap: 70px;

    align-items: center;
}

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

.hero h1 {
    max-width: 690px;

    margin-bottom: 32px;

    font-size: clamp(
        62px,
        6.3vw,
        94px
    );

    line-height: 0.91;
    text-wrap: balance;
}

.hero h1 span {
    display: block;

    color: #707a70;
}

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

    margin-bottom: 38px;

    color: var(--muted);

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

.hero-actions {
    display: flex;
    align-items: center;

    gap: 25px;
}

.primary-button {
    min-height: 58px;
    min-width: 178px;

    padding: 0 22px;

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

    gap: 28px;

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

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

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

.primary-button:hover {
    background: var(--green-dark);

    transform: translateY(-2px);
}

.primary-button span {
    font-size: 18px;
    font-weight: 400;
}

.hero-reassurance {
    margin: 0;

    color: #70766e;

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

.hero-image {
    height: 620px;

    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.7s ease;
}

.hero-image:hover img {
    transform: scale(1.015);
}


/* ==========================================
   GENERAL SECTION HEADINGS
========================================== */

.section-heading {
    margin-bottom: 60px;

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

    gap: 70px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-intro {
    max-width: 360px;

    margin: 0 0 5px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.65;
}

.section-side {
    max-width: 330px;
}

.section-side p {
    margin-bottom: 26px;

    color: var(--muted);

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

.text-link {
    padding-bottom: 6px;

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

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

    transition: opacity 0.2s ease;
}

.text-link:hover {
    opacity: 0.55;
}


/* ==========================================
   PROJECT CARDS
========================================== */

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

.project-grid {
    display: grid;

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

    gap: 16px;
}

.project-card {
    position: relative;

    width: 100%;
    height: 400px;

    display: block;

    overflow: hidden;

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

.project-card img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.035);
}

.project-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            to top,
            rgba(15, 22, 17, 0.88) 0%,
            rgba(15, 22, 17, 0.28) 50%,
            rgba(15, 22, 17, 0.07) 100%
        );
}

.project-arrow {
    position: absolute;

    top: 24px;
    right: 25px;

    z-index: 3;

    font-size: 20px;

    transition:
        transform 0.2s ease;
}

.project-card:hover .project-arrow {
    transform: translate(3px, -3px);
}

.project-card-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 2;

    padding: 27px;
}

.project-icon {
    width: 45px;
    height: 45px;

    margin-bottom: 18px;

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

.project-icon svg {
    width: 100%;
    height: 100%;

    fill: none;

    stroke: white;
    stroke-width: 1.6;

    stroke-linecap: round;
    stroke-linejoin: round;

    opacity: 0.92;
}

.project-card h3 {
    margin-bottom: 8px;

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

    letter-spacing: -0.035em;
}

.project-card p {
    margin: 0;

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

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


/* ==========================================
   WHY METRO EAST CIRCLE
========================================== */

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

.why-layout {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 110px;
}

.why-heading h2 {
    margin: 0;
}

.why-list {
    border-top:
        1px solid
        rgba(255,255,255,0.17);
}

.why-item {
    padding: 35px 0;

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

.why-item h3 {
    margin-bottom: 13px;

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

    letter-spacing: -0.025em;
}

.why-item p {
    max-width: 500px;

    margin: 0;

    color: #bdc5bc;

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


/* ==========================================
   THE SHORTLIST
========================================== */

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

.shortlist-heading,
.guides-heading {
    margin-bottom: 60px;

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

    gap: 70px;
}

.shortlist-heading h2,
.guides-heading h2 {
    margin-bottom: 0;
}

.business-grid {
    display: grid;

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

    gap: 25px;
}

.business-card {
    background: white;

    overflow: hidden;
}

.business-image {
    height: 285px;

    display: block;

    overflow: hidden;
}

.business-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

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

.business-content {
    padding: 27px;
}

.business-location {
    margin-bottom: 17px;

    color: var(--green);

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

    letter-spacing: 0.13em;
}

.business-content h3 {
    margin-bottom: 10px;

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

    letter-spacing: -0.025em;
}

.business-services {
    margin-bottom: 28px;

    color: var(--muted);

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

.business-link {
    font-size: 14px;
    font-weight: 700;
}


/* ==========================================
   LOCATIONS
========================================== */

.location-section {
    background: var(--sand);
}

.location-heading {
    margin-bottom: 55px;

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

    gap: 70px;
}

.location-heading h2 {
    margin-bottom: 0;
}

.location-heading p {
    max-width: 330px;

    margin: 0 0 5px;

    color: var(--muted);

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

.location-grid {
    display: grid;

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

    border-top:
        1px solid
        rgba(32,35,31,0.18);

    border-left:
        1px solid
        rgba(32,35,31,0.18);
}

.location-grid a {
    min-height: 105px;

    padding: 22px;

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

    border-right:
        1px solid
        rgba(32,35,31,0.18);

    border-bottom:
        1px solid
        rgba(32,35,31,0.18);

    font-size: 16px;

    transition:
        background 0.2s ease;
}

.location-grid a strong {
    opacity: 0.4;

    font-size: 18px;
    font-weight: 400;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.location-grid a:hover {
    background:
        rgba(255,255,255,0.45);
}

.location-grid a:hover strong {
    opacity: 1;

    transform: translateX(3px);
}


/* ==========================================
   PROJECT GUIDES
========================================== */

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

.guide-grid {
    display: grid;

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

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

.guide-card {
    padding: 38px 38px 15px 0;
}

.guide-card + .guide-card {
    padding-left: 38px;

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

.guide-category {
    margin-bottom: 30px;

    color: var(--green);

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

    letter-spacing: 0.13em;
}

.guide-card h3 {
    min-height: 82px;

    margin-bottom: 17px;

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

    line-height: 1.12;
    letter-spacing: -0.035em;
}

.guide-description {
    min-height: 76px;

    margin-bottom: 26px;

    color: var(--muted);

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

.guide-card a {
    font-size: 14px;
    font-weight: 700;
}


/* ==========================================
   FOR PROS
========================================== */

.pro-section {
    padding: 110px 0;

    background: white;

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

.pro-layout {
    display: grid;

    grid-template-columns:
        1.15fr
        0.85fr;

    gap: 120px;

    align-items: end;
}

.pro-layout h2 {
    margin: 0;

    font-size: clamp(
        48px,
        5.4vw,
        76px
    );

    line-height: 0.96;

    font-weight: 500;
    letter-spacing: -0.05em;
}

.pro-content p {
    max-width: 500px;

    margin-bottom: 31px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.65;
}


/* ==========================================
   FOOTER
========================================== */

.site-footer {
    padding: 75px 0 28px;

    background: #1f2922;
    color: white;
}

.footer-layout {
    display: grid;

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

    gap: 70px;
}

.footer-brand {
    display: flex;
    flex-direction: column;

    width: fit-content;

    margin-bottom: 17px;

    font-size: 12px;

    line-height: 1.05;
    letter-spacing: 0.13em;
}

.footer-brand strong {
    font-size: 19px;
}

.footer-brand-column p {
    color: #a1aaa1;

    font-size: 13px;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 15px;

    font-size: 13px;
}

.footer-column > span {
    margin-bottom: 8px;

    color: #8e988f;

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

    letter-spacing: 0.13em;
}

.footer-column a {
    transition: opacity 0.2s ease;
}

.footer-column a:hover {
    opacity: 0.5;
}

.footer-bottom {
    margin-top: 75px;

    padding-top: 25px;

    display: flex;
    justify-content: space-between;

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

    color: #929c93;

    font-size: 11px;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1000px) {

    .main-nav,
    .header-actions {
        display: none;
    }

    .menu-button {
        display: block;
    }


    /* HERO */

    .hero {
        padding-top: 50px;
    }

    .hero-layout {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .hero-content {
        padding:
            30px 0
            55px;
    }

    .hero h1 {
        max-width: 800px;

        font-size:
            clamp(
                60px,
                9vw,
                86px
            );
    }

    .hero-image {
        height: 520px;
    }


    /* PROJECTS */

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


    /* WHY */

    .why-layout {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    /* SHORTLIST */

    .business-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .business-card:last-child {
        display: none;
    }


    /* LOCATIONS */

    .location-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    /* FOR PROS */

    .pro-layout {
        grid-template-columns: 1fr;

        gap: 55px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 650px) {

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

    .section {
        padding: 78px 0;
    }


    /* HEADER */

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

    .brand-mark {
        width: 39px;
        height: 39px;
    }


    /* HERO */

    .hero {
        padding-top: 32px;
    }

    .hero-content {
        padding:
            20px 0
            45px;
    }

    .hero h1 {
        font-size: 55px;

        line-height: 0.93;
    }

    .hero-copy {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: flex-start;
    }

    .hero-reassurance br {
        display: none;
    }

    .hero-image {
        height: 390px;
    }


    /* GENERAL HEADINGS */

    .section-heading,
    .shortlist-heading,
    .guides-heading,
    .location-heading {
        margin-bottom: 42px;

        flex-direction: column;

        align-items: flex-start;

        gap: 28px;
    }

    .section-side,
    .section-intro,
    .location-heading p {
        max-width: 100%;
    }


    /* PROJECTS */

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

    .project-card {
        height: 340px;
    }

    .project-icon {
        width: 41px;
        height: 41px;

        margin-bottom: 15px;
    }


    /* SHORTLIST */

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

    .business-card:last-child {
        display: block;
    }

    .business-image {
        height: 270px;
    }


    /* LOCATIONS */

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

    .location-grid a {
        min-height: 75px;
    }


    /* GUIDES */

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

    .guide-card,
    .guide-card + .guide-card {
        padding:
            30px 0;

        border-left: 0;

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

    .guide-card h3,
    .guide-description {
        min-height: 0;
    }


    /* FOR PROS */

    .pro-section {
        padding: 80px 0;
    }


    /* FOOTER */

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

        gap: 45px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 10px;
    }

}