body > main {
    padding-bottom:unset;
}

/* Banner Section */

section.banner::before {
    content: "";
    position: absolute;
    z-index: -4;
    inset: -4%;
    background-image: url("/Assets/Images/nashville-greenhills.jpg");
    background-position: center;
    background-size: cover;
    animation: hero-push 16s ease-out both;
}

/* End: Banner Section */

/* Projects Section */

#projects {
    width:86%;
    margin:var(--sectionSpacing) auto 0;
}

.section-heading {
    display: grid;
    margin-bottom: 42px;
    grid-template-columns: 1fr minmax(260px, 440px);
    gap: 46px;
    align-items: end;
}

.section-heading p:last-child {
    margin: 0 0 5px;
    color: var(--ink-soft);
    line-height: 1.7;
}

.project-grid {
    display:grid;
    grid-template-columns:repeat(12, 1fr);
    gap:clamp(14px, 1.8vw, 26px);
}

.project-card {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border: 0;
    border-radius: 2px;
    background: #26343f;
    box-shadow: 0 8px 28px rgba(16, 24, 32, .13);
    cursor: pointer;
    grid-column: span 4;
    text-align: left;
    transform: translateY(0);
    transition: transform .45s cubic-bezier(.2, .75, .2, 1), box-shadow .45s, border-radius .45s;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1s cubic-bezier(.2, .75, .2, 1), filter .45s;
}

.project-card::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 15, 22, .06) 36%, rgba(7, 15, 22, .92) 100%);
    transition: background .45s;
}

.project-card::after {
    content: "";
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 0;
    width: 0;
    height: 5px;
    background:var(--mcci-blue-bright);
    transition:width .45s cubic-bezier(.2, .75, .2, 1);
}

.project-card:hover,
.project-card:focus-visible {
    z-index: 3;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(16, 24, 32, .27);
    outline: none;
    transform: translateY(-8px);
}

.project-card:hover img,
.project-card:focus-visible img {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.045);
}

.project-card:hover::after,
.project-card:focus-visible::after {
    width: 100%;
}

.card-status {
    position: absolute;
    z-index: 2;
    top: 20px;
    left: 20px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .46);
    background: rgba(8, 18, 26, .35);
    backdrop-filter: blur(9px);
    color:#FFF;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.card-data {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: clamp(22px, 3vw, 38px);
    color:#FFF;
}

.card-location {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, .72);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

/* Current Projects Section */

#current-projects .project-card:first-child {
    min-height: 710px;
    grid-column: span 8;
    grid-row: span 2;
}

#current-projects .project-card:not(:first-child) {
    min-height: 342px;
    grid-column: span 4;
}

/* End: Current Projects Section */

/* Completed Projects Section */

#projects > .completed {
    margin-top:var(--sectionSpacing);
}

#completed-projects .project-card:nth-child(1),
#completed-projects .project-card:nth-child(6) {
    grid-column: span 8;
}

/* End: Completed Projects Section */

/* Archived Projects Section */

.project-index {
    padding: clamp(74px, 9vw, 130px) 0;
    background: var(--ink);
    color:#FFF;
}

.project-index-inner {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.index-heading {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 470px);
    gap: 48px;
    align-items: end;
}

.index-heading h2 {
    color:#FFF;
}

.index-heading p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, .62);
    line-height: 1.7;
}

.index-controls {
    display: grid;
    margin: 44px 0 22px;
    grid-template-columns: 1fr auto;
    gap: 14px;
}

.index-controls input {
    width: 100%;
    padding: 17px 18px;
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: 0;
    outline: none;
    background: rgba(255, 255, 255, .06);
    color:#FFF;
}

.index-controls input:focus {
    border-color: var(--mcci-blue-bright);
}

.index-count {
    display: flex;
    min-width: 130px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .19);
    color: rgba(255, 255, 255, .66);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    align-items: center;
    justify-content: center;
}

.index-list {
    border-top:1px solid rgba(255, 255, 255, .15);
    height:fit-content;
    max-height:1000px;
    overflow:hidden;
    transition:height 1s;
    overflow-y:auto;
}
.index-list.expanded {
    height:2000px !important;
    overflow-y:auto;
}

.index-item {
    display: grid;
    padding: 20px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.index-item strong {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    font-weight: 600;
}

.index-item span {
    color: rgba(255, 255, 255, .58);
}

/* End: Archived Projects Section */

.cta {
    position: relative;
    display: grid;
    min-height: 470px;
    margin-top:var(--sectionSpacing);
    padding: 70px 24px;
    overflow: hidden;
    background: var(--mcci-blue);
    color:#FFF;
    place-items: center;
    text-align: center;
}

.cta::before,
.cta::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .18);
    transform: rotate(45deg);
}

.cta::before {
    width: 440px;
    height: 440px;
    left: -190px;
    top: -190px;
}

.cta::after {
    width: 620px;
    height: 620px;
    right: -330px;
    bottom: -330px;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.cta h2 {
    margin: 0 0 25px;
    font-size: clamp(2.8rem, 6.5vw, 6rem);
    letter-spacing: -.06em;
    line-height: .95;
}

.cta p {
    max-width: 650px;
    margin: 0 auto 34px;
    color: rgba(255, 255, 255, .79);
    font-size: 1.12rem;
    line-height: 1.7;
}

.cta a {
    display: inline-flex;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, .68);
    color:#FFF;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-decoration: none;
    text-transform: uppercase;
}

/* End: Projects Section */

/* Project Dialog */

#project-viewer {
    width: min(1180px, calc(100% - 34px));
    max-height: calc(100svh - 34px);
    padding: 0;
    overflow: auto;
    border: 0;
    background: var(--paper);
    box-shadow: 0 30px 120px rgba(0, 0, 0, .55);
    overscroll-behavior:contain;
}

#project-viewer::backdrop {
    background: rgba(5, 11, 16, .82);
    backdrop-filter: blur(12px);
}

#project-viewer > .close-dialog {
    position: fixed;
    z-index: 5;
    top: 31px;
    right: 31px;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    background: rgba(7, 15, 22, .54);
    color:#FFF;
    cursor: pointer;
    place-items: center;
}

.dialog-hero {
    position: relative;
    min-height: 560px;
    background: #26343f;
}

.dialog-hero > img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.dialog-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 15, 21, .04), rgba(8, 15, 21, .88));
}

.dialog-title {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    padding: clamp(28px, 6vw, 70px);
    color:#FFF;
}

.dialog-title p {
    margin: 0 0 9px;
    color: rgba(255, 255, 255, .7);
    font-size: .76rem;
    font-weight: 750;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.dialog-title h2 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(2.4rem, 5.4vw, 5.6rem);
    letter-spacing: -.055em;
    line-height: .96;
}

.dialog-body {
    padding: clamp(35px, 6vw, 76px);
}

.dialog-stats {
    display: grid;
    margin-bottom: 55px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    grid-template-columns: repeat(4, 1fr);
}

.dialog-stat {
    min-height: 112px;
    padding: 22px;
    border-left: 1px solid var(--line);
}

.dialog-stat:first-child {
    border-left: 0;
}

.dialog-stat span {
    display: block;
    margin-bottom: 8px;
    color: #6a747c;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.dialog-stat strong {
    display: block;
    font-size: 1.15rem;
    line-height: 1.35;
}

.dialog-about {
    display: grid;
    grid-template-columns: minmax(180px, .55fr) minmax(300px, 1.45fr);
    gap: 50px;
}

.dialog-about h3,
.dialog-gallery h3 {
    margin: 0;
    font-size: clamp(1.9rem, 3.5vw, 3.3rem);
    letter-spacing: -.045em;
}

.dialog-about-text {
    color: var(--ink-soft);
    font-size: 1.08rem;
    line-height: 1.78;
}

.dialog-about-text:empty::before {
    content: "Contact us for information about this project.";
    color: #78838a;
}

.dialog-gallery {
    margin-top: 65px;
}

.dialog-gallery-grid {
    display: grid;
    margin-top: 25px;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.dialog-gallery-grid img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

/* End: Project Dialog */

/* Gallery Dialog */

#gallery {
    width:100%;
    height:100%;
    padding:100px 0 40px;
	overflow:hidden;
	overscroll-behavior:contain;
    background-color:transparent;
    border:0;
}
#gallery::backdrop {
    background: rgba(5, 11, 16, .82);
    backdrop-filter: blur(12px);
}
#gallery > .floater {
    display:flex;
    box-sizing:border-box;
    width:80%;
    height:100%;
    margin:0 auto;
    filter:drop-shadow(0 0 10px #000);
    flex-direction:column;
    justify-content:center;
    gap:30px;
}
#gallery > .floater > .display {
    position:relative;
    min-height:0;
    flex-shrink:1;
    flex-grow:0;
}
#gallery > .floater .close {
    position:absolute;
    top:0px;
    right:-80px;
    box-sizing:border-box;
    width:64px;
    height:64px;
    padding:14px;
    background-color:#333;
    border-radius:999px;
    cursor:pointer;
}
#gallery > .floater .nav {
    position:absolute;
    top:50%;
    box-sizing:border-box;
    width:64px;
    height:64px;
    padding:12px;
    transform:translateY(-50%);
    cursor:pointer;
    background-color:#333;
    border-radius:999px;
    object-position:0 0;
    object-fit:cover;
}
#gallery > .floater .nav.left {
    left:-80px;
    transform:translateY(-50%) rotate(180deg);
}
#gallery > .floater .nav.right {
    right:-80px;
}
#gallery > .floater > .close {
	right:0;
	display:none;
}
#gallery > .floater > .nav {
	top:unset;
	bottom:0;
	display:none;
}
#gallery > .floater > .nav.left {
	left:calc(50% - 10px);
	transform:translate(-100%, -50%) rotate(180deg);
}
#gallery > .floater > .nav.right {
	right:calc(50% - 10px);
	transform:translate(100%, -50%);
}




#gallery > .floater > .display > .image {
    width:100%;
    max-width:100%;
    max-height:100%;
    margin:0 auto;
    object-fit:contain;
}
#gallery > .floater > .display > .video {
    z-index:2;
    inset:0;
    width:100%;
    height:100%;
	background-color:#333;
	object-fit:cover;
}
#gallery.video > .floater > .display > .image,
#gallery > .floater > .display > .video {
    display:none;
}
#gallery.video > .floater > .display > .video {
    display:block;
}
#gallery > .floater > .medias {
    display:flex;
    box-sizing:border-box;
    width:fit-content;
    max-width:100%;
    height:120px;
    flex-shrink:0;
    margin:0 auto;
    gap:8px;
    overflow-y:hidden;
    overflow-x:auto;
}

#gallery > .floater > .medias > .media {
    position:relative;
    height:100%;
    aspect-ratio:6/4;
    object-position:top;
    object-fit:cover;
	background-color:#333;
    cursor:pointer;
}
#gallery > .floater > .medias > .media > img {
    width:100%;
    height:100%;
	background-color:#333;
    object-position:top;
    object-fit:cover;
}
#gallery > .floater > .medias > .media > .play {
    opacity:.75;
    position:absolute;
    left:50%;
    top:calc(50% + 5px);
    transform:translate(-50%, -50%);
    width:52px;
    height:52px;
    border-radius:50%;
    background-color:#000;
    background-image:url("/Assets/Images/play.webp");
    background-size:26px 26px;
    background-repeat:no-repeat;
    background-position:15px 13px;
}
#gallery > .floater > .medias > .media:hover > .play {
    opacity:1;
}

/* End: Gallery Dialog */















/* @media only screen and (max-width: 480px) {
    #projects > .section.constructing > div {
        flex-direction:column;
    }
    #projects > .section.constructed {
        -moz-column-count:unset;
        -webkit-column-count:unset;
        column-count:unset;
    }
    #projects > .section.constructed > div {
        display:flex;
        flex-direction:column;
    }
}
@media only screen and (max-width: 815px) {
    #projects > .section.constructing > div{
        display:block;
    }
    #projects > .section.constructed {
        -moz-column-count:2;
        -webkit-column-count:2;
        column-count:2;
    }
} */





section.banner h1 span:last-child {
	margin-top:10px;
}