/**
 * Content
 */

body {
	background-color: #fff;
	color: #000;
}

a:active {
	opacity: 0.7;
}

.page a.active {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 3px;
}

i,
em {
	font-style: italic;
}

b,
strong {
	font-weight: bolder;
}

sub,
sup {
	position: relative;
	vertical-align: baseline;
}

sub {
	top: 0.3em;
}

sup {
	top: -0.4em;
}

s {
	text-decoration: line-through;
}

img {
	border: 0;
	padding: 0;
}

ul,
ol {
	margin: 0;
	padding: 0 0 0 2.5em;
}

blockquote {
	margin: 0;
	padding: 0 0 0 2em;
}

hr {
	background: rgba(0, 0, 0, 1);
	border: 0;
	height: 1px;
	display: block;
}

.content img {
	float: none;
	margin-bottom: 0em;
}

.gallery_image_caption {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.4);
	font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
	font-style: normal;
	line-height: 1.3;
}

/**
 * Loading Animation
 */

.loading[data-loading] {
	position: fixed;
	bottom: 8px; 
    left: 8px;
}

/**
 * Editor styles
 */

[data-predefined-style="true"] bodycopy {
	font-size: 1.6rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.85);
	font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
	font-style: normal;
	line-height: 1.4;
}

[data-predefined-style="true"] bodycopy a {
	color: rgba(0, 0, 0, 0.85);
	padding-bottom: 0.1em;
	border-bottom: 0.0em solid rgba(127, 127, 127, 0.2);
	text-decoration: none;
}

[data-predefined-style="true"] bodycopy a:hover {

}

bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
	border-bottom: 0;
	padding-bottom: 0;
}

[data-predefined-style="true"] h1 {
	font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	font-size: 2.2rem;
	line-height: 1.3;
	color: rgba(0, 0, 0, 0.85);
	    
}

[data-predefined-style="true"] h1 a {
	color: rgba(0, 0, 0, 0.85);
}

[data-predefined-style="true"] h2 {
	font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Neue Regular", Icons;
	padding: 0;
	margin: 0;
	color: rgba(0, 0, 0, 0.85);
	font-size: 1.2rem;
	line-height: 1.3;
	font-style: normal;
	font-weight: normal;
	}

[data-predefined-style="true"] h2 a {
	color: rgba(126, 117, 117, 0.85);
}

[data-predefined-style="true"] small {
	display: inline-block;
	font-size: 1.7rem;
	line-height: 1.5;
	font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
	font-style: normal;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.85);
}

[data-predefined-style="true"] small a {
	color: rgba(0, 0, 0, 0.85);
	border-bottom-width: 0em;
}

/**
 * Breakpoints
 */


[data-css-preset] .page {
    background-color: initial /*!page_bgcolor*/;
}

.mobile .page,
[data-css-preset].mobile .page {
	position: relative;
	min-height: 10px;
	max-width: 100%;
	width: 100%;
	background-color: transparent /*!page_bgcolor*/;
}

[data-css-preset] .container {
	margin-left: auto /*!content_right*/;
	margin-right: 0 /*!content_right*/;
	text-align: left /*!text_left*/;
}

[data-css-preset] body {
	background-color: rgb(255, 255, 255) /*!body_bgcolor*/;
}

[data-css-preset] .container_width {
	width: 60%/*!content_right*/;
}

[data-css-preset] .content_padding {
	padding-top: 2.5rem /*!main_margin*/;
	padding-bottom: 2.5rem /*!main_margin*/;
	padding-left: 2.5rem /*!main_margin*/;
	padding-right: 2.5rem /*!main_margin*/;
}


[data-css-preset] text-limit {
	display: inline-block /*!text_width*/;
	max-width: 66rem/*!text_width*/;
}

/**
 * Thumbnails
 */

div[thumbnails] {
	justify-content: flex-start;
}

[data-css-preset] .thumbnails {
   	background-color: rgba(0, 0, 0, 0)/*!thumbnails_bgcolor*/;   
}

[data-css-preset] .thumbnails_width {
    width: 60%/*!thumbnails_width*/;
}

[data-css-preset] [thumbnails-pad] {
    padding: 0.5rem/*!thumbnails_padding*/;
}

[data-css-preset] [thumbnails-gutter] {
    margin: -1rem/*!thumbnails_padding*/;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
    padding: 0.5rem/*!responsive_thumbnails_padding*/; 
}

[data-css-preset] [responsive-layout] [thumbnails-gutter] {
    margin: -1rem/*!responsive_thumbnails_padding*/; 
}

.thumbnails .thumb_image {
	outline: 0px solid rgba(0,0,0,.12);
    outline-offset: -1px;
}

.thumbnails .title {
    margin-top: .8rem;
    margin-bottom: .2rem;
    font-size: 1.2rem;
	font-weight: normal;
	color: rgba(0, 0, 0, 0.85);
	font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
	font-style: normal;
	line-height: 1.2;
}

.thumbnails .tags {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.4);
	font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
	font-style: normal;
	line-height: 1.3;
}

.thumbnails .tags a {
	border-bottom: 0;
    color: rgba(0, 0, 0, 0.35);
    text-decoration: none;
}

.thumbnails .has_title .tags {
	margin-top: 0rem;
}

/**
 * Site Menu
 */

[data-css-preset] #site_menu_button {
	color: rgba(0, 0, 0, 0.75);
	line-height: 1;
	font-size: 28px /*!site_menu_button*/;
	padding: 6px;
	line-height: 1;
	background: rgba(33, 32, 46, 0);
	position: fixed;
	top: 1.4rem /*!site_menu_button*/;
	right: 2rem /*!site_menu_button*/;
}

body.mobile #site_menu_button {
	margin: -6px;
	font-size: 34px;
}

#site_menu_button.custom_icon {
	width: 40px;
	height: auto;
}

#site_menu_button.active {
	display: none;
}

/**
 * Site Menu
 */

#site_menu {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	background: rgba(20, 20, 20, 0.95);
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	padding: 20px 30px 90px 30px;
	max-width: 400px;
	min-width: 300px;
	text-align: left;
	display: flex;
	justify-content: flex-start;
}

body.mobile #site_menu {
	width: 100%;
}

#site_menu .page-link a {
	color: rgba(255, 255, 255, 0.75);
}

#site_menu .set-link > a {
	color: rgba(255, 255, 255, 0.75);
	font-weight: bold;
}

#site_menu a:active {
	opacity: .7;
}

#site_menu a.active {
	opacity: .4;
}

#site_menu .close {
	display: none;
	color: rgba(255, 255, 255, 0.4);
	line-height: .85em;
	font-size: 45px;
}

body.mobile #site_menu .close {
	display: block;
	font-size: 50px;
	line-height: 1em;
}

#site_menu .break {
	height: 28px;
}

#site_menu .indent {
	margin-left: 28px;
}

/*
 * Shop Button
 */

[data-css-preset] #shop_button {
	color: rgba(0, 0, 0, 0.85);
    background: transparent;
	font-size: 32px;
    font-style: normal;
	font-weight: 400;
    line-height: 1;
    position: fixed;
	padding: 6px;
	top: 2rem /*!shop_button*/;
	right: 2rem /*!shop_button*/;
}

#shop_button.text {
    font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
	font-size: 2rem;
    padding: 0;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.85);
	font-style: normal;
}

#shop_button.custom_icon {
	width: 40px;
    height: auto;
}

body.mobile #shop_button:not(.text) {
	margin: -6px;
    font-size: 36px;
}

/*
 * Shop Product Widget
 */

.shop_product {
    width: 100%;
	max-width: 22rem;
    position: relative;
    display: block;
}

.shop_product .price {
	font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
	font-size: 1.6rem;
	line-height: 1;
	color: rgba(0, 0, 0, 0.85);
    display: block;
    margin-bottom: 1rem;
	font-style: normal;
	font-weight: 400;
}

.shop_product .dropdown {
    font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
    font-size: 1.6rem;
    display: inline-block;
	width: 100%;
    border: 1px solid rgba(0,0,0,.2);
    background:  white url(https://static.cargo.site/assets/images/select-line-arrows.svg) no-repeat right;
    margin-bottom: 1rem;
    line-height: 1.4;
    padding: .6rem 2.6rem .7rem 1rem;
	font-style: normal;
	font-weight: 400;
    color: rgba(0, 0, 0, 0.85);
}

.shop_product .button {
    font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
	font-size: 1.6rem;
    background: rgba(0, 0, 0, 0.7);
    color: rgba(255,255,255,1);
    flex: 0 0 50%;
    text-align: left;
    display: inline-block;
	line-height: 1;
    padding: .8rem 1rem .9rem;
	font-style: normal;
	font-weight: 400;
}

/*
 * Image Zoom
 */

.content img.image-zoom:active {
  opacity: .7;
}

/**
 * Quick View
 */

[data-css-preset] .quick-view {
    padding-top: 0rem /*!quick_view_padding*/;
    padding-bottom: 0rem /*!quick_view_padding*/;
    padding-left: 0rem /*!quick_view_padding*/;
    padding-right: 0rem /*!quick_view_padding*/;
    height: 100% /*!quick_view_height*/;
    width: 100% /*!quick_view_width*/;
}

body.mobile .quick-view {
    width: 100%;
    height: 100%;
    margin: 0;
}


[data-css-preset] .quick-view-background {
	background: transparent /*!quick_view_bgcolor*/;
}

.quick-view-caption {
   	font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Neue Regular", Icons;
	font-style: normal;
    transition: 100ms opacity ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 3.5rem 0;
    text-align: center;
    font-size: 1.2rem;
	font-weight: 400;
    line-height: 1.2;
}

.quick-view-caption span {
    padding: 0.5rem 1rem;
    display: inline-block;
    background: rgba(0,0,0,0.5);
    color: white;
}


/**
 * Quick View Navigation 
 */

.quick-view-navigation .left-arrow {
    left: 10px;
}

.quick-view-navigation .right-arrow {
    right: 10px;
}

.quick-view-navigation .left-arrow,
.quick-view-navigation .right-arrow {
    /* Change height/width together to scale */
    height: 36px;
    width: 36px;
}

.quick-view-navigation .left-arrow .inner-color,
.quick-view-navigation .right-arrow .inner-color {
    stroke: rgba(0, 0, 0, 0.85);
    stroke-width: 1.5px;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color {
    stroke: transparent;
    stroke-width: 2.5px;
}

.quick-view-navigation .close-button {  
    top: 10px;
    right: 10px;
    /* Change height/width together to scale */
    width: 36px;
    height: 36px;
}

.quick-view-navigation .close-button .inner-color {
    stroke: rgba(0, 0, 0, 0.85);
    stroke-width: 1.5px;
}

.quick-view-navigation .close-button .outer-color {
    stroke: transparent;
    stroke-width: 2.5px;
}

/** 
 * Image Gallery Navigation Arrows 
 */
 
.image-gallery-navigation .left-arrow,
.image-gallery-navigation .right-arrow {
    /* Change height/width together to scale */
    height: 36px;
    width: 36px;
}

.image-gallery-navigation .left-arrow .inner-color,
.image-gallery-navigation .right-arrow .inner-color {
    stroke: #fff;
    stroke-width: 1.5px;
}

.image-gallery-navigation .left-arrow .outer-color,
.image-gallery-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}

/**
 * Wallpaper Backdrop Navigation Arrows 
 */

.wallpaper-navigation .left-arrow,
.wallpaper-navigation .right-arrow {
   /* Change height/width together to scale */
   width: 36px;
   height: 36px;
}

.wallpaper-navigation .left-arrow .inner-color,
.wallpaper-navigation .right-arrow .inner-color {
   stroke: #fff;
   stroke-width: 1.5px;
}

.wallpaper-navigation .left-arrow .outer-color,
.wallpaper-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}


/**
 * Feed
 */

.feed .content_container .page {
    border-top: 0px dashed rgba(0, 0, 0, 0.2);
}

.feed .content_container .page_container:first-child .page {
	border-top: 0;
}


.rotate {
    display: inline-block;
    -webkit-animation: rotate 7s linear infinite;
    animation: rotate 7s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/*
 * Audio Player
 */

.audio-player {
    max-width: 36rem;
    height: 3.3rem;
    outline: 1px solid rgba(0,0,0,0.15);
    color: rgba(0, 0, 0, 0.6);
    background: #fff;
    font-size: 1.2rem;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin: 1px 1px 1em 1px;
}

body.mobile .audio-player {
    max-width: 100%;
}

.audio-player .separator {
    width: 1px;
    background-color: rgba(0,0,0,0.15);
}

.audio-player .button {
    background: transparent;
    cursor: pointer;
    fill: rgba(0, 0, 0, 0.85);
}

.audio-player .icon {
    fill: rgba(0, 0, 0, 0.85);
    padding: 30%;
    width: 100%;
    margin: auto;
}

.audio-player .buffer {
    background: rgba(0,0,0,0.03);
}

.audio-player .progress {
    background: rgba(0,0,0,0.1);
}

.audio-player .progress-indicator {
    border: 1px solid rgba(0, 0, 0, 0.7);
    width: 1px;
    height: 100%;
    right: 0;
    position: absolute;
    cursor: ew-resize;
}

.audio-player .note-icon {
    height: 100%;
    width: 3.8rem;
    padding: 1rem;
    fill: rgba(0, 0, 0, 0.5);
}

.audio-player .current-time {
    padding-left: 1rem;
}

.audio-player .total-time {
    padding-right: 1rem;
}
.project-links a {
    text-decoration: none;
}

.project-links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.project-readmore-toggle {
    cursor: pointer;
    display: inline-block;
}

.project-readmore-toggle:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.page img {
    width: 100% !important;
    height: auto !important;
}
.page img {
    width: 100% !important;
    height: auto !important;
}


/* Mobile homepage project overlays */

@media only screen and (max-width: 767px) {

    body.homepage.mobile a.image-link {
        position: relative;
        display: block;
        margin-bottom: 0;
        text-decoration: none;
    }

    body.homepage.mobile a.image-link::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 30%;
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.38),
            rgba(0,0,0,0)
        );
        pointer-events: none;
    }

    body.homepage.mobile a.image-link::after {
        white-space: pre-line;
        position: absolute;
        left: 20px;
        top: 20px;

        color: #fff;
        font-size: 22px;
        font-weight: 500;
        line-height: 1.15;
        text-align: left;

        pointer-events: none;
    }

    body.homepage.mobile a.image-link[href="40-Duke"]::after {
        content: "40 Duke\A View project →";
    }

    body.homepage.mobile a.image-link[href="The-Joke-Shop-at-The-Corner-Shop"]::after {
        content: "The Joke Shop at The Corner Shop\A View project →";
    }

    body.homepage.mobile a.image-link[href="Own-label-Beauty-Packaging"]::after {
        content: "Own-Label Beauty Packaging\A View project →";
    }

    body.homepage.mobile a.image-link[href="Disney-Christmas"]::after {
        content: "Disney Christmas 2025\A View project →";
    }

    body.homepage.mobile a.image-link[href="Coffee-Shop-Foodhall"]::after {
        content: "Coffee Shop & Foodhall\A View project →";
    }

    body.homepage.mobile a.image-link[href="Big-City-Beauty"]::after {
        content: "Big City Beauty\A View project →";
    }

    body.homepage.mobile a.image-link[href="Showtime-Christmas-Gift-Guide"]::after {
        content: "Showtime Christmas Gift Guide\A View project →";
    }

    body.homepage.mobile a.image-link[href="Obsessions"]::after {
        content: "Obsessions\A View project →";
    }

    body.homepage.mobile a.image-link[href="More-the-Merrier-Christmas"]::after {
        content: "More the Merrier Christmas\A View project →";
    }

    body.homepage.mobile a.image-link[href="Concur-A-Marketing-Design-Journal"]::after {
        content: "Concur\A View project →";
    }

    body.homepage.mobile a.image-link[href="Beauty-Hall-Transformation"]::after {
        content: "Beauty Hall Transformation\A View project →";
    }
}
/* Mobile Site Menu */

@media only screen and (max-width: 767px) {

    #site_menu {
        font-family: "Helvetica Neue", Helvetica, sans-serif, "Helvetica Roman", Icons;
        background: #fff;
        color: #000;

        font-size: 17px;
        font-style: normal;
        font-weight: 400;
        line-height: 1.3;

        padding: 20px 16px 40px 16px;

        width: 100%;
        max-width: none;
        min-width: 0;

        box-sizing: border-box;
        text-align: left;

        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

 /* Site identity */

#site_menu::before {
    display: none;
}

#site_menu .mobile-menu-home {
    display: block;

    color: #000;
    text-decoration: none;

    font-size: 22px;
    font-weight: 400;
    line-height: 1;

    padding-bottom: 16px;
    margin-bottom: 16px;

    border-bottom: 1px solid #000;
}

    /* Menu links */

    #site_menu .page-link a,
    #site_menu .set-link > a {
        color: #000;
        text-decoration: none;
    }

    /* Projects heading */

    #site_menu .set-link > a {
        font-weight: 500;
    }

    /* Remove Cargo's project indentation */

    #site_menu .indent {
        margin-left: 0;
    }

    /* Reduce Cargo's built-in breaks */

    #site_menu .break {
        height: 12px;
    }

    /* Space around Projects section */

    #site_menu .set-link {
        margin: 0;
        padding: 0 0 16px 0;

        border-bottom: 1px solid #000;
    }

    /* About + CV separators */

    #site_menu .set-link ~ .page-link {
        border-top: 1px solid #000;
        padding-top: 12px;
        margin-top: 12px;
    }

    /* Prevent a duplicate rule immediately after Projects */

    #site_menu .set-link + .page-link {
        border-top: 0;
        padding-top: 12px;
        margin-top: 0;
    }

    /* Close icon */

    #site_menu .close,
    body.mobile #site_menu .close {
        display: block;
        color: #000;
        font-size: 34px;
        line-height: 1;
    }

    #site_menu a.active {
        opacity: 1;
    }

    /* Hide bottom Menu button while panel is open */

    body.homepage.mobile #site_menu_button.active {
        display: none !important;
    }
}
/* Mobile menu — separate About and CV */

@media only screen and (max-width: 767px) {

    /* About */
    #site_menu .page-link:nth-last-of-type(2) {
        border-top: 1px solid #000;
        padding-top: 12px;
        margin-top: 12px;
    }

    /* CV */
    #site_menu .page-link:last-of-type {
        border-top: 1px solid #000;
        padding-top: 12px;
        margin-top: 12px;
    }

}
/* Mobile bottom navigation */

@media only screen and (max-width: 767px) {

    body.mobile .mobile-site-title {
        display: flex !important;
        align-items: center;

        position: fixed !important;
        left: 0 !important;
        right: auto !important;
        top: auto !important;
        bottom: 0 !important;

        width: 50%;
        height: 52px;

        padding: 0 18px;
        box-sizing: border-box;

        z-index: 9998;

        background: #fff;
        color: #000;

        font-size: 22px;
        font-weight: 500;
        line-height: 1;
        text-decoration: none;

        transition: transform 0.3s ease;
    }

    body.mobile #site_menu_button {
        position: fixed !important;

        left: 50% !important;
        right: 0 !important;
        top: auto !important;
        bottom: 0 !important;

        width: 50% !important;
        height: 52px !important;

        margin: 0 !important;
        padding: 0 18px !important;
        box-sizing: border-box;

        z-index: 9999;

        background: #fff !important;
        color: #000 !important;

        display: flex !important;
        align-items: center;
        justify-content: flex-end;

        font-size: 0 !important;
        line-height: 1 !important;

        transition: transform 0.3s ease;
    }

    body.mobile #site_menu_button::after {
        content: "Menu";
        font-size: 22px;
        font-weight: 400;
        line-height: 1;
        color: #000;
    }

    body.mobile.mobile-nav-hidden .mobile-site-title,
    body.mobile.mobile-nav-hidden #site_menu_button {
        transform: translateY(100%);
    }

    body.mobile #site_menu_button.active {
        display: none !important;
    }

    body.mobile {
        padding-bottom: 52px;
    }
}
/* Mobile homepage — consistent 4:5 image crops */

@media only screen and (max-width: 767px) {

    body.homepage.mobile a.image-link {
        aspect-ratio: 4 / 5;
        overflow: hidden;
    }

    body.homepage.mobile a.image-link img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        object-position: center center;
        display: block;
    }
}
/* Mobile homepage — individual crop positions */

@media only screen and (max-width: 767px) {

    body.homepage.mobile a.image-link[href="40-Duke"] img {
        object-position: center center;
    }

    body.homepage.mobile a.image-link[href="The-Joke-Shop-at-The-Corner-Shop"] img {
        object-position: 35% center;
    }
}
/* VIP Beauty Advent — mobile homepage only */

a.mobile-only-project {
    display: none !important;
}

@media only screen and (max-width: 767px) {

    body.homepage.mobile a.mobile-only-project {
        display: block !important;
    }

    body.homepage.mobile a.image-link[href="VIP-Beauty-Advent-Calendar"]::after {
        content: "VIP Beauty Advent Calendar\A View project →";
    }
}
/* Mobile homepage — improve white overlay legibility */

@media only screen and (max-width: 767px) {

    body.homepage.mobile a.image-link::after {
        text-shadow:
            0 1px 3px rgba(0, 0, 0, 0.25),
            0 0 10px rgba(0, 0, 0, 0.12);
    }

}
/* Mobile project pages — put project info before intro copy */

@media only screen and (max-width: 767px) {

    .project-intro {
        display: flex;
        flex-direction: column;
    }

    .project-intro > div:first-child {
        order: 2;
    }

    .project-intro > div:nth-child(2) {
        order: 1;
    }

}
/* Mobile project pages — image alignment + spacing */

@media only screen and (max-width: 767px) {

    body.mobile:not(.homepage) .page img {
        display: block;

        width: calc(100% + 6px) !important;
        max-width: none !important;

        margin-left: -3px !important;
        margin-right: -3px !important;
        margin-bottom: 12px !important;
    }

    body.mobile:not(.homepage) .page img:last-of-type {
        margin-bottom: 0 !important;
    }
}
/* Mobile bottom navigation — hide on scroll */

@media only screen and (max-width: 767px) {

    body.mobile-nav-hidden .mobile-site-title,
    body.mobile-nav-hidden #site_menu_button {
        transform: translateY(100%);
    }

}
/* Mobile — remove old pinned navigation */

@media only screen and (max-width: 767px) {

    body.mobile .pinned_top {
        display: none !important;
    }

}
/* Mobile project pages — close button */

.mobile-project-close {
    display: none;
}

@media only screen and (max-width: 767px) {

    body.mobile:not(.homepage) .mobile-project-close {
        display: block !important;

        position: fixed !important;
        top: 16px !important;
        right: 18px !important;
        left: auto !important;

        z-index: 9997;

        color: #000;
        background: transparent;

        font-size: 36px;
        font-weight: 300;
        line-height: 0.8;

        text-decoration: none;
        margin: 0 !important;
        padding: 0 !important;
    }

}
/* Mobile homepage — eliminate hairline seams */

@media only screen and (max-width: 767px) {

    body.homepage.mobile a.image-link {
        margin-top: -1px;
    }

    body.homepage.mobile a.image-link:first-of-type {
        margin-top: 0;
    }

}
/* Mobile site menu — position final divider below CV */

@media only screen and (max-width: 767px) {

    body.mobile #site_menu .set-link {
        position: relative;
        padding-bottom: 0 !important;
        border-bottom: none !important;
    }

    body.mobile #site_menu .set-link::after {
        content: "";
        display: block;
        height: 1px;
        background: #000;
        margin-top: 7px;
    }

}
/* Mobile site menu — hide bottom Menu when Cargo closes the button */

@media only screen and (max-width: 767px) {

    body.mobile #site_menu_button[style*="display: none"] {
        display: none !important;
    }

}
/* Mobile typography refinement */

@media only screen and (max-width: 767px) {

    /* Homepage project overlays */
    body.homepage.mobile a.image-link::after {
        font-weight: 400;
    }

    /* Design by Caro — bottom navigation */
    body.mobile .mobile-site-title {
        font-weight: 400;
    }

    /* Design by Caro — open menu */
    body.mobile #site_menu::before {
        font-weight: 400;
    }

    /* Projects heading — open menu */
    body.mobile #site_menu .set-link > a {
        font-weight: 400;
    }

    /* Project-page title */
    body.mobile:not(.homepage) .project-intro > div:nth-child(2) b {
        font-weight: 500;
    }

    /* Project-page description */
    body.mobile:not(.homepage) .project-intro > div:first-child {
        font-weight: 400;
    }

}
/* Mobile homepage — intro */

.mobile-home-intro {
    display: none;
}

@media only screen and (max-width: 767px) {

    body.homepage.mobile .mobile-home-intro {
        display: block;

        background: #fff;
        color: #000;

        font-size: 20px;
        font-weight: 400;
        line-height: 1.25;

        padding: 14px 20px 26px 20px;
        box-sizing: border-box;
    }

}
/* Desktop project category labels */

.project-category {
    font-weight: 450;
}
/* Mobile menu — Contact */

@media only screen and (max-width: 767px) {

    #site_menu .mobile-menu-contact {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        box-sizing: border-box;

        color: #000;
        text-decoration: none;

        padding: 12px 0;
        margin-top: 0px;

        border-top: 0;
        border-bottom: 1px solid #000;
    }

    #site_menu .mobile-menu-contact::after {
        content: "hello@designbycaro.com";
        color: #000;
    }

}
/* Desktop project-page titles */
@media only screen and (min-width: 768px) {
    body:not(.mobile) .project-intro > div:nth-child(2) b,
    body:not(.mobile) .project-intro > div:nth-child(2) strong {
        font-weight: 450 !important;
    }
}
/* Project metadata */

.project-meta-formatted > b {
    display: block;
    padding-bottom: 6px;
    margin-bottom: 0;
    border-bottom: 1px solid #000;
}

.project-meta-formatted .project-client {
    display: block;
    font-weight: 400;

    padding: 6px 0;
    margin: 0 0 6px 0;

    border-bottom: 1px solid #000;
}

.project-meta-formatted br:first-of-type {
    display: none;
}