/* =========================================================
   STUDIO N SCAPE
   MAIN STYLESHEET
   Mobile First
========================================================= */

/* =========================================================
   LOCAL FONTS
========================================================= */
/* =========================================================
   LOCAL FONTS
========================================================= */

@font-face {
    font-family: "ArialLocal";
    src: url("/assets/fonts/arial/ARIAL.TTF") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ArialLocal";
    src: url("/assets/fonts/arial/ARIALBD.TTF") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "CenturyGothicLocal";
    src: url("/assets/fonts/centurygothic/centurygothic.ttf")
        format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "CenturyGothicLocal";
    src: url("/assets/fonts/centurygothic/centurygothic_bold.ttf")
        format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* =========================================================
   VARIABLES
========================================================= */

:root {

    --accent: #A8231F;

    --black: #111111;
    --dark: #181818;

    --white: #ffffff;

    --grey-100: #f7f7f7;
    --grey-200: #eeeeee;
    --grey-300: #dddddd;
    --grey-500: #888888;
    --grey-700: #555555;

     --font-title:
        "CenturyGothicLocal",
        sans-serif;

    --font-body:
        "ArialLocal",
        sans-serif;

    --container-width: 1920px;

    --container-padding: 24px;

    --header-height: 76px;

    --transition:
        350ms cubic-bezier(.2, .8, .2, 1);

}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-title);
}


body {
    background: var(--white);
    color: var(--black);

    font-size: 15px;
    line-height: 1.7;

    overflow-x: hidden;
}


body.menu-open {
    overflow: hidden;
}


img {
    display: block;
    max-width: 100%;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    border: 0;
}


a {
    color: inherit;
    text-decoration: none;
}


ul {
    margin: 0;
    padding: 0;
    list-style: none;
}


address {
    font-style: normal;
}


/* =========================================================
   GLOBAL CONTAINER
========================================================= */

.container {

    width: 100%;

    max-width: var(--container-width);

    margin-left: auto;
    margin-right: auto;

    padding-left: var(--container-padding);
    padding-right: var(--container-padding);

}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {

    margin: 0;

    font-family: var(--font-title);

    font-weight: 400;

}


p {
    margin-top: 0;
}


.eyebrow {

    margin: 0;

    font-family: var(--font-title);

    font-size: 24px;

    line-height: 1.2;

    text-transform: uppercase;

    letter-spacing: .08em;

}


.section-heading {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 20px;

}


.section-heading.center {
    align-items: center;
}


.heading-line {

    display: block;

    width: 40px;

    height: 2px;

    background: var(--black);

}


/* =========================================================
   SECTION SPACING
========================================================= */

.section {
    padding-top: 80px;
    padding-bottom: 80px;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: relative;

    z-index: 1000;

    background: rgba(255, 255, 255, .98);

    border-bottom: 1px solid rgba(0, 0, 0, .06);

}


.navbar {

    min-height: var(--header-height);

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.brand {

    display: inline-flex;

    align-items: center;

    flex-shrink: 0;

}


.brand img {

    transform: scale(2.25);
    width: 160px;
    margin-left: 50px;
    object-fit: contain;

}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.desktop-navigation {

    display: none;

    align-items: center;

    gap: 38px;

}


.desktop-navigation a {

    position: relative;

    display: inline-flex;

    padding: 10px 0;

    overflow: hidden;

    font-family: var(--font-title);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .16em;

    text-transform: uppercase;

}


.desktop-navigation a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 3px;

    width: 100%;

    height: 1px;

    background: var(--accent);

    transform: translateX(-105%);

    transition:
        transform var(--transition);

}


.desktop-navigation a span {

    transition:
        color var(--transition);

}


.desktop-navigation a:hover span,
.desktop-navigation a:focus-visible span {

    color: var(--accent);

}


.desktop-navigation a:hover::after,
.desktop-navigation a:focus-visible::after {

    transform: translateX(0);

}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {

    width: 44px;
    height: 44px;

    padding: 10px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 5px;

    background: transparent;

    cursor: pointer;

}


.menu-toggle span {

    display: block;

    width: 100%;

    height: 1px;

    background: var(--black);

    transition: var(--transition);

}


.menu-toggle.active span:nth-child(1) {

    transform:
        translateY(6px)
        rotate(45deg);

}


.menu-toggle.active span:nth-child(2) {

    opacity: 0;

}


.menu-toggle.active span:nth-child(3) {

    transform:
        translateY(-6px)
        rotate(-45deg);

}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

.mobile-navigation {

    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    display: flex;

    flex-direction: column;

    background: var(--white);

    border-top: 1px solid var(--grey-200);

    padding: 10px var(--container-padding) 24px;

    opacity: 0;

    visibility: hidden;

    transform: translateY(-10px);

    transition:
        opacity var(--transition),
        transform var(--transition),
        visibility var(--transition);

}


.mobile-navigation.open {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


.mobile-navigation a {

    padding: 16px 0;

    border-bottom: 1px solid var(--grey-200);

    font-family: var(--font-title);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;

    transition:
        color var(--transition),
        padding-left var(--transition);

}


.mobile-navigation a:hover {

    color: var(--accent);

    padding-left: 8px;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    width: 100%;

    height: 68vh;
    max-height: 90vh;

    min-height: 500px;

    overflow: hidden;

    background: #ddd;

}


.hero-slider {

    position: absolute;

    inset: 0;

}


.hero-slide {

    position: absolute;

    inset: 0;

    opacity: 0;

    visibility: hidden;

    transform: scale(1.025);

    transition:
        opacity 1s ease,
        transform 7s ease,
        visibility 1s;

}


.hero-slide.active {

    opacity: 1;

    visibility: visible;

    transform: scale(1);

}


.hero-slide img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .03) 0%,
            rgba(0, 0, 0, .05) 55%,
            rgba(0, 0, 0, .34) 100%
        );

}


.hero-bottom {

    position: absolute;

    left: 50%;
    bottom: 25px;

    transform: translateX(-50%);

    display: flex;

    justify-content: flex-start;

}


.hero-dots {

    display: flex;

    gap: 8px;

}


.hero-dot {

    width: 28px;
    height: 2px;

    padding: 0;

    background: rgba(255, 255, 255, .5);

    cursor: pointer;

    transition:
        width var(--transition),
        background var(--transition);

}


.hero-dot.active {

    width: 48px;

    background: var(--white);

}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.scroll-indicator {

    position: absolute;

    left: 50%;

    bottom: 24px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 9px;

    color: var(--white);

    transform: translateX(-50%);

}


.scroll-text {

    font-family: var(--font-title);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: .18em;

    text-transform: uppercase;

}


.scroll-arrow {

    position: relative;

    width: 14px;

    height: 22px;

    border: 1px solid rgba(255,255,255,.85);

    border-radius: 10px;

}


.scroll-arrow::after {

    content: "";

    position: absolute;

    top: 4px;

    left: 50%;

    width: 2px;

    height: 5px;

    background: var(--white);

    transform: translateX(-50%);

    animation:
        scrollMove 1600ms ease-in-out infinite;

}


@keyframes scrollMove {

    0%,
    100% {

        transform:
            translate(-50%, 0);

        opacity: 1;

    }

    50% {

        transform:
            translate(-50%, 6px);

        opacity: .25;

    }

}


/* =========================================================
   ABOUT
========================================================= */

.about-section {

    background: var(--white);

}


.about-content {

    max-width: 900px;

    margin:
        38px auto
        0;

}


.about-intro {

    max-width: 820px;

    margin:
        0 auto;

    text-align: center;

    color: #606060;

    font-size: 13px;

    line-height: 2;

}


.architectural-quote {

    display: flex;

    margin-top: 70px;

    padding-left: 18px;

}


.quote-line {

    flex: 0 0 2px;

    background: var(--accent);

}


.quote-content {

    padding:
        5px 0 5px 24px;

}


blockquote {

    margin: 0 0 12px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;

    font-style: italic;

    line-height: 1.8;

}


cite {

    color: var(--accent);

    font-family: var(--font-title);

    font-size: 11px;

    font-style: normal;

    font-weight: 700;

    letter-spacing: .14em;

    text-transform: uppercase;

}


/* =========================================================
   SERVICES
========================================================= */

.services-section {

    padding-top: 30px;

    padding-bottom: 90px;

}


.services-grid {

    display: grid;

    grid-template-columns: 1fr;

    margin-top: 50px;

    border-top: 1px solid var(--grey-300);

}


.service-item {

    padding: 28px 0;

    border-bottom: 1px solid var(--grey-300);

}


.service-number {

    display: block;

    margin-bottom: 16px;

    color: var(--accent);

    font-family: var(--font-title);

    font-size: 11px;

    letter-spacing: .1em;

}


.service-item h3 {

    margin-bottom: 12px;

    font-size: 21px;

}


.service-item p {

    max-width: 480px;

    margin: 0;

    color: var(--grey-700);

    font-size: 13px;

    line-height: 1.8;

}


/* =========================================================
   PROJECTS
========================================================= */

.projects-section {

    background: #fafafa;

}


.projects-header {

    display: flex;

    flex-direction: column;

    gap: 30px;

    margin-bottom: 45px;

}


.projects-description {

    max-width: 500px;

    margin: 0;

    color: var(--grey-700);

    font-size: 13px;

    line-height: 1.9;

}


.projects-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 14px;

}


.project-card {

    position: relative;

    display: block;

    aspect-ratio: 1.35 / 1;

    overflow: hidden;

    background: #ddd;

}


.project-image {

    position: absolute;

    inset: 0;

    overflow: hidden;

}


.project-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        grayscale(100%)
        contrast(.92);

    transform: scale(1);

    transition:
        filter 700ms ease,
        transform 900ms cubic-bezier(.2, .8, .2, 1);

}


.project-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;

    padding: 24px;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 35%,
            rgba(0, 0, 0, .7) 100%
        );

    opacity: .7;

    transition:
        opacity 500ms ease;

}


.project-info {

    width: 100%;

    color: var(--white);

    transform: translateY(15px);

    transition:
        transform 500ms ease;

}


.project-info > span:first-child {

    display: block;

    margin-bottom: 7px;

    font-family: var(--font-title);

    font-size: 9px;

    letter-spacing: .15em;

    text-transform: uppercase;

    color: rgba(255, 255, 255, .75);

}


.project-info h3 {

    padding-right: 40px;

    font-size: 21px;

    line-height: 1.25;

}


.project-arrow {

    position: absolute;

    right: 24px;

    bottom: 2px;

    font-size: 20px;

    opacity: 0;

    transform: translateX(-10px);

    transition:
        opacity 400ms ease,
        transform 400ms ease;

}


.project-card:hover .project-image img {

    filter:
        grayscale(0%)
        contrast(1);

    transform: scale(1.07);

}


.project-card:hover .project-overlay {

    opacity: 1;

}


.project-card:hover .project-info {

    transform: translateY(0);

}


.project-card:hover .project-arrow {

    opacity: 1;

    transform: translateX(0);

}


.projects-link-wrapper {

    display: flex;

    justify-content: flex-end;

    margin-top: 35px;

}


.text-link {

    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding-bottom: 8px;

    overflow: hidden;

    font-family: var(--font-title);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .1em;

    text-transform: uppercase;

}


.text-link::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: var(--accent);

    transform: translateX(-105%);

    transition:
        transform var(--transition);

}


.text-link:hover {

    color: var(--accent);

}


.text-link:hover::after {

    transform: translateX(0);

}


.text-link strong {

    font-size: 15px;

    font-weight: 400;

}



/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    background: var(--white);

    border-top: 1px solid #ededed;
    width: 100%;

}


.footer-main {

    display: grid;

    grid-template-columns: 1fr;

    gap: 45px;

    padding-top: 65px;

    padding-bottom: 55px;

}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-brand {

    display: inline-flex;

}


.footer-brand img {

    transform: scale(1.25);
    max-width: 190px;
    margin-top: -3.55rem;
    object-fit: contain;

}


.footer-tagline {

    max-width: 180px;

    margin:
        -40px 0 22px;

    color: #777;

    font-family: var(--font-body);

    font-size: 12px;

    line-height: 1.6;

}


.footer-socials {

    display: flex;

    align-items: center;

    gap: 15px;

}


.footer-socials a {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 24px;

    height: 24px;

    color: var(--black);

    font-family: Arial, sans-serif;

    font-size: 14px;

    font-weight: 700;

    text-transform: lowercase;

    transition:
        color 300ms ease;

}


.footer-socials a:hover {

    color: var(--accent);

}


/* =========================================================
   FOOTER HEADINGS
========================================================= */

.footer-heading {

    margin:
        0 0 20px;

    font-family: var(--font-title);

    font-size: 14px;

    font-weight: 700;

    letter-spacing: .16em;

    text-transform: uppercase;

}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {

    display: flex;

    flex-direction: column;

    gap: 13px;

}


.footer-links a {

    position: relative;

    display: inline-block;

    width: fit-content;

    color: #777;

    font-family: var(--font-body);

    font-size: 12px;

    letter-spacing: .08em;

    text-transform: uppercase;

    transition:
        color 300ms ease;

}


.footer-links a::after {

    content: "";

    position: absolute;

    bottom: -3px;

    left: 0;

    width: 0;

    height: 1px;

    background: var(--accent);

    transition:
        width 350ms ease;

}


.footer-links a:hover {

    color: var(--accent);

}


.footer-links a:hover::after {

    width: 100%;

}


/* =========================================================
   CONTACT COLUMN
========================================================= */

.contact-column {

    display: flex;

    flex-direction: column;

    gap: 28px;

}


.footer-contact-item {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}


.footer-contact-item h3 {

    margin:
        0 0 7px;

    font-family: var(--font-title);

    font-size: 14px;

    font-weight: 700;

    line-height: 1.4;

    letter-spacing: .12em;

    text-transform: uppercase;

}


.footer-contact-item a,
.footer-contact-item address {

    margin: 0;

    color: #777;

    font-family: var(--font-body);

    font-size: 12px;

    line-height: 1.7;

    transition:
        color 300ms ease;

}


.footer-contact-item a:hover {

    color: var(--accent);

}


.footer-contact-item address span {

    display: block;

    margin-top: 3px;

}


.footer-contact-item address .office-address-line {

    margin-top: 0;

}


/* =========================================================
   ASSOCIATIONS
========================================================= */

.association-logos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    max-width: 100%;
}


.association-logos img {

    width: auto;
    margin-left: -10px;
    margin-top: -10px;
    max-width: 155px;

    max-height: 75px;

    object-fit: contain;

    opacity: .65;

    filter: grayscale(100%);

    transition:
        opacity 300ms ease,
        filter 300ms ease;

}


.association-logos img:hover {

    opacity: 1;

    filter: grayscale(0%);

}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {

    display: flex;

    flex-direction: column;

    gap: 8px;

    padding-top: 20px;

    padding-bottom: 25px;

    border-top: 1px solid #eeeeee;

}


.footer-bottom p {

    margin: 0;

    color: #aaa;

    font-family: var(--font-title);

    font-size: 7px;

    line-height: 1.5;

    letter-spacing: .08em;

    text-transform: uppercase;

}

/* =========================================================
   FLOATING MESSAGE BUTTON
========================================================= */

.message-button {

    position: fixed;

    right: 18px;
    bottom: 18px;

    z-index: 900;

    width: 52px;
    height: 52px;

    display: grid;

    place-items: center;

    border-radius: 0;

    color: var(--white);

    background: var(--accent);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .16);

    transition:
        transform var(--transition),
        box-shadow var(--transition);

}


.message-button:hover {

    transform: translateY(-5px) scale(1.04);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, .22);

}


.message-icon {

    width: 24px;
    height: 24px;

    display: grid;

    place-items: center;

}


.message-icon svg {

    width: 100%;
    height: 100%;

    fill: currentColor;

}


/* =========================================================
   480px
========================================================= */

@media (min-width: 480px) {

    :root {
        --container-padding: 32px;
    }


    .hero {
        min-height: 540px;
    }


    .projects-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .footer-main {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/* =========================================================
   SM — 640px
========================================================= */

@media (min-width: 640px) {

    :root {

        --container-padding: 40px;

        --header-height: 82px;

    }

   
    .hero {
        height: 70vh;
        min-height: 580px;
    }


    .eyebrow {
        font-size: 26px;
    }


    .about-content {
        margin-top: 50px;
    }


    .architectural-quote {
        padding-left: 35px;
    }


    .quote-content {
        padding-left: 28px;
    }


    .services-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 45px;

    }


    .service-item:nth-child(odd) {
        padding-right: 20px;
    }


    .service-item:nth-child(even) {
        padding-left: 20px;
    }


    .footer-bottom {

        flex-direction: row;

        justify-content: space-between;

    }

}


/* =========================================================
   MD — 768px
========================================================= */

@media (min-width: 768px) {

    .section {

        padding-top: 100px;

        padding-bottom: 100px;

    }


    .projects-header {

        flex-direction: row;

        justify-content: space-between;

        align-items: flex-end;

    }


    .projects-description {

        text-align: right;

    }


    .projects-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;

    }


    .project-card {

        aspect-ratio: 1.42 / 1;

    }


    .footer-main {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 40px;

    }


    .association-list {

        flex-direction: column;

    }

}


/* =========================================================
   LG — 1024px
========================================================= */

@media (min-width: 1024px) {

    :root {

        --container-padding: 52px;

        --header-height: 92px;

    }


    .desktop-navigation {

        display: flex;

    }


    .menu-toggle,
    .mobile-navigation {

        display: none;

    }


  


    .hero {

        height: 72vh;

        min-height: 650px;

    }


    .hero-bottom {

        bottom: 35px;

    }


    .scroll-indicator {

        bottom: 35px;

    }


    .about-content {

        max-width: 900px;

    }


    .about-intro {

        font-size: 14px;

    }


    .architectural-quote {

        margin-top: 90px;

        padding-left: 50px;

    }


    blockquote {

        font-size: 16px;

    }


    .services-section {

        padding-bottom: 110px;

    }


    .projects-grid {

        gap: 25px;

    }


    .project-card {

        aspect-ratio: 1.48 / 1;

    }


    .project-overlay {

        padding: 30px;

    }


    .project-info h3 {

        font-size: 24px;

    }


    .project-arrow {

        right: 30px;

    }


    .footer-main {

        padding-top: 75px;

        padding-bottom: 65px;

    }

}


/* =========================================================
   XL — 1280px
========================================================= */

@media (min-width: 1280px) {

    :root {

        --container-padding: 64px;

    }


    .desktop-navigation {

        gap: 48px;

    }


    .hero {

        height: 74vh;

        min-height: 700px;

    }


    .eyebrow {

        font-size: 27px;

    }


    .about-section {

        padding-top: 115px;

        padding-bottom: 115px;

    }


    .about-intro {

        max-width: 900px;

    }


    .services-section {

        padding-top: 0;

        padding-bottom: 130px;

    }


    .projects-section {

        padding-top: 115px;

        padding-bottom: 120px;

    }


    .project-card {

        aspect-ratio: 1.5 / 1;

    }


    .footer-main {

        gap: 40px;

    }

}


/* =========================================================
   2XL — 1536px
========================================================= */

@media (min-width: 1536px) {

    :root {

        --container-padding: 72px;

    }


    .navbar {

        min-height: 96px;

    }




    .desktop-navigation {

        gap: 55px;

    }


    .desktop-navigation a {

        font-size: 12px;

    }


    .hero {

        min-height: 760px;

        height: 76vh;

    }


    .section-heading {

        gap: 22px;

    }


    .eyebrow {

        font-size: 29px;

    }


    .about-section {

        padding-top: 135px;

        padding-bottom: 135px;

    }


    .about-content {

        max-width: 950px;

    }


    .architectural-quote {

        margin-top: 100px;

        padding-left: 60px;

    }


    .projects-section {

        padding-top: 130px;

        padding-bottom: 140px;

    }


    .projects-grid {

        gap: 28px;

    }


    .project-card {

        aspect-ratio: 1.55 / 1;

    }


    .footer-main {

        padding-top: 90px;

        padding-bottom: 80px;

    }

}


/* =========================================================
   1920px
   The entire website stops growing here.
========================================================= */

@media (min-width: 1920px) {

    .container {

        padding-left: 78px;
        padding-right: 78px;

    }


    .site-wrapper {

        max-width: 1920px;

        margin:
            0 auto;

        background: var(--white);

        box-shadow:
            0 0 80px rgba(0, 0, 0, .035);

    }


    body {

        background:
            #f5f5f5;

    }

}


/* =========================================================
   2560px+
   Keep website contained within 1920px.
========================================================= */

@media (min-width: 2560px) {

    .site-wrapper {

        max-width: 1920px;

    }

}


/* =========================================================
   3840px+
========================================================= */

@media (min-width: 3840px) {

    .site-wrapper {

        max-width: 1920px;

    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible {

    outline:
        2px solid var(--accent);

    outline-offset: 4px;

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;

    }

}


/* =========================================================
   STUDIO N SCAPE TEXT LOGO
========================================================= */

.studio-name {

    display: inline-flex;

    align-items: baseline;

    font-family: var(--font-title);

    font-size: 22px;

    line-height: 1;

    letter-spacing: .035em;

    text-transform: uppercase;

}


.studio-name strong {

    font-weight: 700;

}


/* =========================================================
   LOGO
========================================================= */



.footer-logo img {

    width: auto;

    height: 40px;

    max-width: 210px;

}


/* =========================================================
   HERO — REDUCED HEIGHT
========================================================= */

.hero {

    position: relative;

    width: 100%;

    /*
       Smaller than the previous version.
       It can never exceed 90vh.
    */

    height: min(68vh, 90vh);

    min-height: 480px;

    max-height: 90vh;

    overflow: hidden;

    background: #ddd;

}


/* =========================================================
   SERVICES
========================================================= */

.services-section {

    padding-top: 80px;

    padding-bottom: 90px;

    background: #ffffff;

}


.services-heading {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 17px;

    margin-bottom: 42px;

}


.services-heading .eyebrow {

    margin: 0;

    font-family: var(--font-title);

    font-size: 25px;

    line-height: 1.15;

    font-weight: 400;

    letter-spacing: .08em;

    text-transform: uppercase;

}


/*
    Reference has a very light grey services panel.
*/

.services-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 1px;

    background: #eeeeee;

    border: 1px solid #eeeeee;

}


/* =========================================================
   SERVICE CARD
========================================================= */

.service-card {

    position: relative;

    min-height: 230px;

    padding: 26px 24px 25px;

    background: #fafafa;

    transition:
        background-color 350ms ease,
        transform 350ms ease;

}


.service-card:hover {

    background: #ffffff;

    transform: translateY(-3px);

    z-index: 2;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .06);

}


/* =========================================================
   SERVICE ICON
========================================================= */

.service-icon {

    width: 58px;

    height: 58px;

    display: grid;

    place-items: center;

    margin-bottom: 17px;

    border-radius: 50%;

    background: #f1f1f1;

    color: #758187;

    transition:
        background-color 350ms ease,
        color 350ms ease,
        transform 350ms ease;

}


.service-card:nth-child(2n) .service-icon {

    color: #ae7458;

    background: #f8f0ec;

}


.service-card:nth-child(3n) .service-icon {

    color: #657a81;

    background: #edf1f2;

}


.service-card:hover .service-icon {

    background: var(--accent);

    color: #ffffff;

    transform: translateY(-3px);

}


.service-icon svg {

    width: 35px;

    height: 35px;

}


/* =========================================================
   SERVICE TITLE
========================================================= */

.service-card h3 {

    max-width: 230px;

    margin: 0 0 9px;

    font-family: var(--font-title);

    font-size: 14px;

    font-weight: 700;

    line-height: 1.35;

    text-transform: uppercase;

    letter-spacing: -.01em;

}


/* =========================================================
   SERVICE DESCRIPTION
========================================================= */

.service-card p {

    max-width: 270px;

    margin: 0;

    color: #666666;

    font-family: var(--font-body);

    font-size: 10px;

    line-height: 1.5;

}


/* =========================================================
   SERVICE LINK
========================================================= */

.service-link {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin-top: 13px;

    color: var(--accent);

    font-family: var(--font-title);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: .1em;

    text-transform: uppercase;

    opacity: 0;

    transform: translateY(5px);

    transition:
        opacity 300ms ease,
        transform 300ms ease;

}


.service-link span {

    font-size: 12px;

}


.service-card:hover .service-link {

    opacity: 1;

    transform: translateY(0);

}


/* =========================================================
   480px
========================================================= */

@media (min-width: 480px) {

   


    .hero {

        height: 65vh;

    }


    .services-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/* =========================================================
   SM — 640px
========================================================= */

@media (min-width: 640px) {

  


    .hero {

        height: 64vh;

    }


    .services-section {

        padding-top: 90px;

        padding-bottom: 100px;

    }


    .services-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .service-card {

        min-height: 245px;

        padding:
            30px 28px;

    }

}


/* =========================================================
   MD — 768px
========================================================= */

@media (min-width: 768px) {

    .hero {

        height: 63vh;

        min-height: 530px;

    }


    .services-heading {

        margin-bottom: 50px;

    }


    .services-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

    }


    .service-card {

        min-height: 255px;

    }


    .service-card h3 {

        font-size: 13px;

    }

}


/* =========================================================
   LG — 1024px
========================================================= */

@media (min-width: 1024px) {



    .hero {

        height: 65vh;

        min-height: 570px;

    }


    .services-section {

        padding-top: 105px;

        padding-bottom: 115px;

    }


    .services-grid {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

    }


    .service-card {

        min-height: 250px;

        padding:
            28px 25px;

    }


    .service-card h3 {

        font-size: 12px;

    }


    .service-card p {

        font-size: 9px;

    }

}


/* =========================================================
   XL — 1280px
========================================================= */

@media (min-width: 1280px) {

  


    .hero {

        height: 67vh;

        min-height: 620px;

    }


    .services-heading .eyebrow {

        font-size: 27px;

    }


    .services-grid {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

    }


    .service-card {

        min-height: 265px;

        padding:
            30px 28px;

    }


    .service-icon {

        width: 62px;

        height: 62px;

    }


    .service-icon svg {

        width: 38px;

        height: 38px;

    }


    .service-card h3 {

        font-size: 13px;

    }


    .service-card p {

        max-width: 245px;

        font-size: 9px;

    }

}


/* =========================================================
   2XL — 1536px
========================================================= */

@media (min-width: 1536px) {

  


    .hero {

        height: 68vh;

        min-height: 650px;

        max-height: 90vh;

    }


    .services-section {

        padding-top: 120px;

        padding-bottom: 130px;

    }


    .services-grid {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

    }


    .service-card {

        min-height: 275px;

        padding:
            34px 32px;

    }


    .service-card h3 {

        font-size: 14px;

    }


    .service-card p {

        font-size: 10px;

        line-height: 1.55;

    }

}


/* =========================================================
   1920px+
========================================================= */

@media (min-width: 1920px) {




    .hero {

        /*
           Even on very large monitors,
           hero stays controlled.
        */

        height: 68vh;

        max-height: 90vh;

    }


    .services-grid {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

    }

}

/* Default desktop logo */
.brand img {
    width: 160px;
    transform: scale(1.8);
}

/* Tablets */
@media (max-width: 960px) {
    .brand img {
        width: 145px;
        transform: scale(1.7);
    }
}

/* Mobile */
@media (max-width: 680px) {
    .brand img {
        width: 135px;
        transform: scale(1.75);
        margin-left: 20px;
    }
}

/* Smaller mobile */
@media (max-width: 480px) {
    .brand img {
        width: 125px;
        transform: scale(1.65);
        margin-left: 25px;
        margin-top: -5px;
    }
}

/* Very small screens */
@media (max-width: 400px) {
    .brand img {
        width: 115px;
        transform: scale(1.5);
        margin-left: 20px;
    }
}

/* Large desktop */
@media (min-width: 1360px) {
    .brand img {
        transform: scale(2.25);
    }
}


/* =========================================
   ACTIVE CURRENT PAGE
========================================= */

.desktop-navigation a.active {
    color: #A8231F;
}


/* Active underline */

.desktop-navigation a.active::after {
        content: "" !important;

    position: absolute !important;

    left: 0 !important;
    bottom: 0 !important;

    width: 100% !important;
    height: 2px !important;

    background-color: #A8231F !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;
}


/* Switch from two footer columns to four at 940px. */

@media (min-width: 940px) {
    .footer-main {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 40px;
    }
}

/* Equal footer columns on desktop */

@media (min-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(4, minmax(0, 1fr));

        column-gap: 40px;
    }
}

/* Space the actual footer columns evenly on wide screens. */
@media (min-width: 1200px) {
    .footer-main {
        grid-template-columns:
            max-content
            max-content
            max-content
            max-content;

        justify-content: space-between;
        column-gap: 40px;
    }

    .footer-contact-item address .office-address-line {
        white-space: nowrap;
    }
}


/* =========================================================
   ABOUT INTRO / QUOTE ALIGNMENT
========================================================= */

.about-intro {
    width: 100%;
    max-width: none;
    padding-left: 18px;
    text-align: left;
}

@media (min-width: 640px) {
    .about-intro {
        padding-left: 35px;
    }
}

@media (min-width: 1024px) {
    .about-intro {
        padding-left: 50px;
    }
}

@media (min-width: 1536px) {
    .about-intro {
        padding-left: 60px;
    }
}


.studio-profile__role{
    font-size: 13px;
}