/*
=============================================================
  PLACEMENT: Cargo Collective → Settings → Global CSS
  Paste this entire block into the CSS panel there.
  This replaces your existing Global CSS entirely.
=============================================================
*/

/* ─── Base Content ──────────────────────────────────────────────────── */

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

a:active {
    opacity: .5;
    color: rgba(79, 130, 221, 1);
}

.page a.active {
    opacity: 1;
}

i, em { font-style: italic; }
b, strong { font-weight: bolder; }

sub { position: relative; vertical-align: baseline; top: 0.3em; }
sup { position: relative; vertical-align: baseline; top: -0.4em; }
s   { text-decoration: line-through; }

img {
    border: 0;
    padding: 0;
}

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

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

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

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

/* ─── Gallery Image Captions ────────────────────────────────────────── */

.gallery_image_caption {
    margin-top: 0.55rem;
    margin-bottom: 0;
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.9);
    font-family: "Diatype Variable", Icons;
    line-height: 1;
    text-transform: none;
    text-align: center;
    font-style: normal;
    font-weight: 500;
    font-variation-settings: 'slnt' 0, 'MONO' 0;
}

/* ─── Loading Animation ─────────────────────────────────────────────── */

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

/* ─── Editor / Predefined Styles ────────────────────────────────────── */

[data-predefined-style="true"] bodycopy {
    font-size: 1rem;
    font-weight: 450;
    color: rgb(0, 0, 0);
    font-family: "Diatype Variable", Icons;
    font-style: normal;
    line-height: 1;
    font-variation-settings: 'slnt' 0, 'MONO' 0;
}

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

/* ─── Bodycopy Link Hover & Current State ───────────────────────────── */

[data-predefined-style="true"] bodycopy a:hover {
    color: rgba(0, 0, 0, 0.37);
    border-bottom-color: rgba(0, 0, 0, 1);
}

[data-predefined-style="true"] bodycopy a.current {
    color: rgba(0, 0, 0, 0.37);
    border-bottom-color: rgba(0, 0, 0, 1);
}

/* ─────────────────────────────────────────────────────────────────────── */

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: "Diatype Variable", Icons;
    font-style: normal;
    font-weight: 500;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    line-height: 1.1;
    color: rgba(0, 0, 0, 1);
    text-transform: none;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
}

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

[data-predefined-style="true"] h2 {
    font-family: "Diatype Variable", Icons;
    font-style: normal;
    padding: 0;
    margin: 0;
    color: rgba(0, 0, 0, 0.92);
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 502;
    font-variation-settings: 'slnt' 0, 'MONO' 0;
    text-transform: none;
}

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

[data-predefined-style="true"] small {
   font-size: 1rem;
    font-weight: 500;
    color: rgb(0, 0, 0);
    font-family: "Diatype Variable", Icons;
    font-style: normal;
    line-height: 0.9;
    font-variation-settings: 'slnt' 0, 'MONO' 0;
    text-transform: lowercase;
}

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

/* ─── Layout / Breakpoints ──────────────────────────────────────────── */

[data-css-preset] .page {
    background-color: initial;
}

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

[data-css-preset] body {
    background-color: rgba(48, 44, 10, 0.04);
}

[data-css-preset] .container_width {
    width: 100%;
}

[data-css-preset] .content_padding {
    padding: 0;
}

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

[data-css-preset] .container {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* ─── Thumbnails ────────────────────────────────────────────────────── */

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

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

[data-css-preset] .thumbnails_width {
    width:100%;
}

[data-css-preset] [thumbnails-pad] {
    padding: .6rem;
   
}

[data-css-preset] [thumbnails-gutter] {
    margin: 0rem;
    margin-bottom: 3rem;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
    padding: 0rem;
}

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

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

.thumbnails .title {
    margin-top: 0rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.9);
    font-family: "Diatype Variable", Icons;
    font-style: normal;
    line-height: .8;
    text-transform: none;
    font-variation-settings: 'slnt' 0, 'MONO' 0;
}

.thumbnails .tags {
    margin-top: 0.9rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, Icons;
    font-style: italic;
    line-height: 1.2;
}

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

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

/* ─── Thumbnail Titles Below Image ───────────────────────────── */

.thumbnails .thumbnail > a {
    position: relative;
}

.thumbnails .thumbnail .title {
    position: static;
    inset: auto;
    display: block;
    padding: 0;
    margin-top: 0.6rem;
    background: none;
    opacity: 1;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.thumbnails .thumbnail:hover .title {
    opacity: 1;
}

/* ─── Site Menu Button ──────────────────────────────────────────────── */

[data-css-preset] #site_menu_button {
    color: rgba(0, 0, 0, 0.78);
    line-height: 1;
    font-size: 28px;
    padding: 6px;
    background: rgba(33, 32, 46, 0);
    position: fixed;
    top: 3rem;
    left: 3rem;
}

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

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

#site_menu_button.active {
    display: none;
    color: rgba(63, 99, 153, 0.2);
}

/* ─── Site Menu ─────────────────────────────────────────────────────── */

#site_menu {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", 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,
#site_menu .set-link > a {
    color: rgba(255, 255, 255, 0.75);
}

#site_menu .set-link > a {
    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;
    right: 2rem;
}

#shop_button.text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, Icons;
    font-size: 2rem;
    padding: 0;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.85);
}

#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: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, Icons;
    font-size: 2rem;
    line-height: 1;
    color: rgba(0, 0, 0, 0.85);
    display: block;
    margin-bottom: 1rem;
}

.shop_product .dropdown {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, Icons;
    font-size: 1.4rem;
    display: inline-block;
    width: 100%;
    border: 1px solid rgba(0,0,0,.2);
    background: white url(https://static.cargo.site/assets/images/select-arrows.svg) no-repeat right;
    margin-bottom: 1rem;
    line-height: 1.2;
    padding: .7rem 2.5rem .7rem 1rem;
}

.shop_product .button {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, Icons;
    font-size: 1.4rem;
    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;
}

/* ─── Image Zoom ────────────────────────────────────────────────────── */

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

/* ─── Quick View ────────────────────────────────────────────────────── */

[data-css-preset] .quick-view {
    padding: 0;
    height: 100%;
    width: 100%;
}

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

[data-css-preset] .quick-view-background {
    background: rgba(0, 0, 0, 0.72);
}

.quick-view-caption {
    font-family: "Favorit Variable", Icons;
    font-weight: 300;
    transition: opacity 100ms ease-in-out;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    margin: 3.5rem 0;
    text-align: center;
    font-size: 1.5rem;
    font-style: normal;
    font-variation-settings: 'slnt' 0;
}

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

/* ─── Navigation Arrows (shared styles) ────────────────────────────── */

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

.quick-view-navigation .left-arrow,
.quick-view-navigation .right-arrow,
.image-gallery-navigation .left-arrow,
.image-gallery-navigation .right-arrow,
.wallpaper-navigation .left-arrow,
.wallpaper-navigation .right-arrow {
    height: 36px;
    width: 36px;
}

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

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

.quick-view-navigation .close-button {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
}

.quick-view-navigation .close-button .inner-color {
    stroke: #000;
    stroke-width: 1.5px;
}

.quick-view-navigation .close-button .outer-color {
    stroke: #000;
    stroke-width: 2.5px;
    opacity: 0.6;
}

/* ─── 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;
}

/* ─── 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, 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; }

/* ─── Selected Projects Grid ────────────────────────────────────────── */

.selected-projects {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.project-item {
    width: 50%;
    min-height: 275px;
    position: relative;
}

.project-item video {
    width: 100% !important;
    padding: .125rem !important;
    height: 100% !important;
}

.project-item h2 {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 200ms ease !important;
    opacity: 0 !important;
}

.project-item:hover h2 {
    opacity: 1 !important;
}

.project-cover {
    padding: .125rem !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out !important;
}

.project-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.project-item:hover .project-cover {
    opacity: 0;
}

@media (max-width: 640px) {
    .project-item h2 { z-index: 33 !important; }
    .project-item:hover .project-cover { opacity: 1 !important; }
    .selected-projects { flex-direction: column; }
    .project-item { width: 100%; min-height: auto; }
}

/* ─── Archive Nav ───────────────────────────────────────────────────── */

.archive nav {
    list-style: none;
    writing-mode: inherit;
    height: 100vh;
    display: flex;
    flex-direction: row;
    width: 1px;
    position: fixed;
    top: 300px;
    left: 30px;
}

/* ─── Page-specific Overrides ───────────────────────────────────────── */

[data-id="38331084"] .gallery_image_caption {
    font-family: "Helvetica Neue", Icons;
    font-style: normal;
    font-weight: normal;
    text-transform: lowercase;
    text-align: right;
}

[data-id="38331083"] img {
    opacity: 1;
}

[data-id="38331083"] img:hover {
    opacity: .9;
}

/* ─── Dynamic Background Text Color ────────────────────────────────── */

.dark-bg-active h1  { color: white !important; }
.light-bg-active h1 { color: black !important; }

/* ─── Hover Video (Image Gallery pages) ────────────────────────────── */

.hover-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    pointer-events: none;
    z-index: 2;
}

.image-gallery a.image-link {
    position: relative;
    display: inline-block;
}

/* ─── Image Gallery Scroll-in Animation ────────────────────────────── */

.image-gallery .thumbnail {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.image-gallery .thumbnail.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Fill Animation ────────────────────────────────────────────────── */

@keyframes fill {
    0%   { width: 0%; }
    50%  { width: 50%; }
    100% { width: 100%; }
}

/* ─── Cascading Thumbnail Reveal ────────────────────────────────────── */

.thumbnails .thumbnail {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.thumbnails .thumbnail.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Mobile ────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    [data-css-preset] .content_padding {
        padding: 0 1.25rem;
    }

    [data-css-preset] .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    [data-css-preset] #shop_button {
        top: 1.25rem;
        right: 1.25rem;
        font-size: 26px;
    }

    [data-css-preset] .content_padding {
        padding: 0 1rem;
    }

    [data-css-preset] [thumbnails-gutter] {
        margin: 0.5rem;
        margin-top: 4rem;
    }

    [data-css-preset] [thumbnails-pad] {
        padding: 0.4rem;
    }

    .thumbnails .title {
        font-size: 0.8rem;
        margin-top: 0.4rem;
    }

    .project-item {
        width: 100%;
        min-height: 220px;
    }

    [data-predefined-style="true"] h2 {
        font-size: 0.95rem;
    }

    [data-predefined-style="true"] bodycopy {
        font-size: 0.9rem;
	font-family: "Diatype Variable", Icons /*!null*/;
	font-style: normal;
	font-weight: 500;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
    }

    .archive nav {
        top: auto;
        bottom: 1rem;
        left: 1rem;
        height: auto;
        position: relative;
        flex-direction: row;
        width: 100%;
    }
}






