@charset "UTF-8";
/* CSS Document */


/* =====================================================
   BOOTSTRAP XXL — 1401px+
   NAV | DESCRIPTION | GALLERY
===================================================== */

@media (min-width: 1401px) {

    .mobile-show {
        display: none;
    }

    .mobile-hide {
        display: block;
    }

    #mobile-nav {
        display: none;
    }

    body {
        padding: 0;
    }

    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    #site {
        display: grid;
        grid-template-columns: minmax(300px, 1fr) minmax(0, auto);
        min-height: 100vh;

        padding: 30px;
        box-sizing: border-box;
    }

    .desktop-nav {
        position: sticky;
        top: 30px;
        align-self: start;

        height: calc(100vh - 60px);
        box-sizing: border-box;

        padding: 0;
        overflow-y: auto;
        min-width: 350px;
    }

    .project-area {
        position: static;
        min-width: 0;
        padding: 0;
    }

    .project {
        display: grid;
        grid-template-columns: minmax(230px, 300px) auto;
        column-gap: 50px;
        align-items: start;
        justify-content: end;

        min-height: calc(100vh - 60px);
        box-sizing: border-box;

        padding: 0;
        margin-bottom: 60px;
		scroll-margin-top: 30px;
    }

    .project-info {
        grid-column: 1;
        grid-row: 1;

        display: block;
        align-self: start;

        width: 100%;
        max-width: none;
        min-height: 0;

        margin: 0;
        padding: 0;
    }

    .project-heading {
        margin: 0 0 20px;
    }

    .project-heading h3 {
        margin-top: 0;
        text-align: left;
    }

    .project-credits p {
        margin-top: 0;
    }

    .project-gallery {
        grid-column: 2;
        grid-row: 1;

        width: auto;
        min-width: 0;
        align-self: start;
    }

    .project .carousel {
        height: calc(100vh - 60px);
        width: calc((100vh - 60px) * 0.75);

        max-width: 100%;
        max-height: none;
        aspect-ratio: 3 / 4;

        margin: 0;
    }

    .project .carousel-inner,
    .project .carousel-item {
        width: 100%;
        height: 100%;
    }
}


/* =====================================================
   BOOTSTRAP XL — 1200px–1400px
   NAV | GALLERY
         DESCRIPTION
===================================================== */

@media (min-width: 1200px) and (max-width: 1400px) {

    .mobile-show {
        display: none;
    }

    .mobile-hide {
        display: block;
    }

    #mobile-nav {
        display: none;
    }

    body {
        padding: 0;
    }

    .container {
        width: 100%;
        max-width: none;
        padding: 0 15px;
    }

    #site {
        display: grid;
        grid-template-columns: 300px minmax(0, 1fr);
        min-height: 100vh;
    }

    .desktop-nav {
        position: sticky;
        top: 0;
        align-self: start;

        height: 100vh;
        box-sizing: border-box;
        padding: 15px;

        overflow-y: auto;
        min-width: 350px;
    }

    .project-area {
        position: static;
        min-width: 0;
        padding: 15px;
    }

    .project {
        display: flex;
        flex-direction: column;

        min-height: 100vh;
        padding: 30px;
    }

    .project-gallery {
        order: 1;
    }

    .project-info {
        order: 2;
    }

    .project .carousel {
        width: min(100%, calc(70vh * 0.75));
        max-height: 70vh;
        aspect-ratio: 3 / 4;
        margin: 0 auto;
    }

    .project-info {
        width: min(100%, calc(70vh * 0.75));
        margin: 0 auto;
    }
}


/* =====================================================
   BOOTSTRAP LG — 993px–1199px
   NAV | GALLERY
         DESCRIPTION
===================================================== */

@media (min-width: 993px) and (max-width: 1199px) {

    .mobile-show {
        display: none;
    }

    .mobile-hide {
        display: block;
    }

    #mobile-nav {
        display: none;
    }

    body {
        padding: 0;
    }

    .container {
        width: 100%;
        max-width: none;
        padding: 0 15px;
    }

    #site {
        display: grid;
        grid-template-columns: 280px minmax(0, 1fr);
        min-height: 100vh;
    }

    .desktop-nav {
        position: sticky;
        top: 0;
        align-self: start;

        height: 100vh;
        box-sizing: border-box;
        padding: 15px;

        overflow-y: auto;
    }

    .project-area {
        position: static;
        min-width: 0;
        padding: 15px;
    }

    .project {
        display: flex;
        flex-direction: column;

        min-height: 100vh;
        padding: 30px 15px;
    }

    .project-gallery {
        order: 1;
    }

    .project-info {
        order: 2;
    }

    .project .carousel {
        width: min(100%, calc(70vh * 0.75));
        max-height: 70vh;
        aspect-ratio: 3 / 4;
        margin: 0 auto;
    }

    .project-info {
        width: min(100%, calc(70vh * 0.75));
        margin: 0 auto;
    }
}


/* =====================================================
   BOOTSTRAP MD — 768px–992px
   NAV | GALLERY
         DESCRIPTION
===================================================== */

@media (min-width: 768px) and (max-width: 992px) {

    /*
     * Keep desktop navigation visible at tablet size.
     * It should only collapse below 768px.
     */
    .mobile-show {
        display: none;
    }

    .mobile-hide {
        display: block;
    }

    #mobile-nav {
        display: none;
    }

    body {
        padding: 0;
    }

    #wrapper {
        position: relative;
        width: 100%;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }

    .container {
        width: 100%;
        max-width: none;
        padding: 0 15px;
    }

    #site {
        display: grid;
        grid-template-columns: 230px minmax(0, 1fr);
        min-height: 100vh;
    }

    .desktop-nav {
        position: sticky;
        top: 0;
        align-self: start;

        height: 100vh;
        box-sizing: border-box;
        padding: 15px;

        overflow-y: auto;
    }

    .project-area {
        position: static;
        min-width: 0;
        padding: 15px;
    }

    .project {
        display: flex;
        flex-direction: column;

        min-height: 100vh;
        padding: 20px 10px;
    }

    .project-gallery {
        order: 1;
    }

    .project-info {
        order: 2;
    }

    .project .carousel {
        width: min(100%, calc(70vh * 0.75));
        max-height: 70vh;
        aspect-ratio: 3 / 4;
        margin: 0 auto;
    }

    .project-info {
        width: min(100%, calc(70vh * 0.75));
        margin: 0 auto;
    }
}


/* =====================================================
   MOBILE — BELOW 768px
   GALLERY
   DESCRIPTION
===================================================== */

@media (max-width: 767px) {

    .mobile-show {
        display: block;
    }

    .mobile-hide {
        display: none;
    }

    body {
        padding: 0;
    }

    #wrapper {
        position: relative;
        width: 100%;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }

    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    #site {
        display: block;
    }

    .desktop-nav {
        position: relative;
        top: auto;
        left: auto;

        width: 100%;
        height: auto;
        box-sizing: border-box;
        padding: 15px;

        overflow: visible;
    }

    .site-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    h1 {
        margin: 0;
        font-size: 18px;
    }

    #mobile-nav {
        display: block;
        position: static;

        padding: 0;
        border: 0;
        background: transparent;

        color: inherit;
        font-size: 30px;
        line-height: 1;
        cursor: pointer;
    }

    /*
     * Works with the rewritten HTML using .nav-content.
     */
    .nav-content {
        display: none;
        padding-top: 20px;
    }

    .nav-content.is-open {
        display: block;
    }

    /*
     * Also supports your existing mobile-hide class
     * should your JavaScript toggle an open class on it.
     */
    .mobile-hide.is-open {
        display: block;
        padding-top: 20px;
    }

    .project-area {
        position: static;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 0;
    }

    .project {
        display: flex;
        flex-direction: column;

        min-height: auto;
        padding: 10px;
        margin-bottom: 50px;
    }

    .project-gallery {
        order: 1;
        width: 100%;
    }

    .project-info {
        order: 2;

        grid-template-columns: 1fr;
        gap: 15px;

        width: 100%;
        max-width: none;
        min-height: 0;
        box-sizing: border-box;

        margin: 0;
        padding: 15px 10px;
    }

    .project .carousel {
        width: 100%;
        max-height: none;
        aspect-ratio: 3 / 4;
        margin: 0;
    }

    h3 {
        text-align: left;
    }

    /*
     * Touch devices do not have reliable hover,
     * so keep carousel arrows available.
     */
    .project .carousel-control-prev,
    .project .carousel-control-next {
        opacity: 1;
        pointer-events: auto;
    }
}