/* REMOVE CARGO'S MOBILE HEADER */
#mobile-nav,
.mobile-nav,
.mobile-menu,
#mobile-menu,
.nav-mobile,
.use-a-page,
#use-a-page,
.nav--mobile,
.nav-mobile-toggle {
  display: none !important;
}

/* MOBILE HEADER */
.mobile-header {
  display: none;
}

@media (max-width: 800px) {
  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px; /* thinner header */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 9999;
    border-bottom: 1px solid #ddd;
  }

  .mobile-logo img {
    height: 26px; /* smaller logo */
    width: auto;
  }

  .mobile-hamburger {
    font-size: 28px; /* smaller icon */
    cursor: pointer;
    color: black;
  }
}

/* HIDE CHECKBOX */
.mobile-menu-toggle {
  display: none;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
}

@media (max-width: 800px) {
  .mobile-menu {
    position: fixed;
    top: 55px; /* matches thinner header */
    right: 0;
    background: white;
    width: 70%;
    padding: 20px;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    z-index: 9998;
  }

  .mobile-menu a {
    display: block;
    padding: 12px 0;
    font-size: 18px;
    text-decoration: none;
    color: black;
  }

  .mobile-menu-toggle:checked ~ .mobile-menu {
    display: block;
  }
}

/* HIDE MOBILE HEADER ON DESKTOP */
@media (min-width: 801px) {
  .mobile-header,
  .mobile-menu {
    display: none !important;
  }
}


.nav-item:hover .submenu {
  display: block;
}


/* Hide checkbox */
.mobile-menu-toggle {
  display: none;
}

/* Hamburger icon styling */
.mobile-hamburger {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 32px;
  cursor: pointer;
  z-index: 9999;
  color: black;
}

/* Mobile menu container */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  right: 20px;
  background: white;
  padding: 20px;
  border: 1px solid #ccc;
  z-index: 9998;
  text-align: right;
}

/* Show menu when checkbox is checked */
.mobile-menu-toggle:checked + .mobile-hamburger + .mobile-menu {
  display: block;
}

/* Show hamburger only on mobile */
@media (max-width: 800px) {
  .mobile-hamburger {
    display: block;
  }
}

/* Hide hamburger on desktop */
@media (min-width: 801px) {
  .mobile-hamburger {
    display: none;
  }
}


/* Hide Cargo's default mobile menu */
#mobile-nav,
.mobile-nav,
.mobile-menu,
#mobile-menu,
.nav-mobile,
.use-a-page,
#use-a-page,
.nav--mobile,
.nav-mobile-toggle {
  display: none !important;
}


/* --- MENU BASE STYLING --- */

.nav a,
.nav .parent-link {
    padding: 14px 20px; /* more vertical spacing */
    font-size: 25px;
    text-decoration: none;
    color: #000;
    display: block;
}

/* --- SUBMENU HIDDEN BY DEFAULT --- */

.submenu {
    display: none;
    flex-direction: column;
    margin-left: 20px; /* indent under WORK */
}

/* --- SHOW SUBMENU ON HOVER --- */

.nav-item:hover .submenu {
    display: flex;
}

/* --- DELAY BEFORE HIDING SUBMENU --- */

.nav-item {
    position: relative;
}

.nav-item .submenu {
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.nav-item:hover .submenu {
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s; /* show instantly */
}

.nav-item:not(:hover) .submenu {
    transition-delay: 0.6s; /* delay before hiding */
}

/* --- SUBMENU LINK STYLING --- */

.submenu a {
    padding: 10px 20px;
    font-size: 2px;
}


.myfont-paragraph {
  font-family: 'Myfont-Regular', sans-serif;
font-size: 1.5rem; /* increase or decrease this value */ line-height: 1.4; /* optional: improves readability */
}


.project-card {
  position: relative;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  display: block;
  transition: 0.4s ease;
}

.project-card:hover img {
  filter: brightness(60%) blur(2px);
}

.project-info {
  position: absolute;
  bottom: 32px;
  left: 32px;
  color: white;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.4s ease;
  pointer-events: none;
  text-align: left;
}

.project-card:hover .project-info {
  opacity: 1;
  transform: translateY(0);
}


/* Sidebar container */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background: #fff;

}

/* Logo */
.sidebar .logo img {
  width: 220px;
  margin: 30px 20px;
}

/* Navigation links */
.nav {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  font-family: "Diatype Variable", Icons;
	font-style: normal;
	font-weight: 400;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
}

.nav a {
  padding: 12px 20px;
  text-decoration: none;
  color: #000;
  font-size: 25px;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease, padding 0.3s ease;
}

/* Reveal text on hover */
.sidebar:hover .nav a {
  opacity: 1;
}

/* Parent link (WORK) */
.nav-item {
  position: relative;
}

.parent-link {
  cursor: pointer;
}



/* Mobile: hide custom sidebar */
@media (max-width: 800px) {
  .sidebar {
    display: none;
  }
}

@font-face {
  font-family: 'Myfont-Regular';
  src: url('https://files.cargocollective.com/c1419039/Myfont-Regular--1-.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}.leftnav,
.leftnav a,
.leftnav-title {
  font-family: 'Myfont-Regular', sans-serif;
}


#toolset {
	display: none;
}

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

a:active {
	opacity: 0.7;
}

.page a.active {
	font-weight: bold;
}

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 1em;
}

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

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

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

.gallery_image_caption {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.25);
	font-family: "Monument Grotesk Mono", 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.rem;
	color: rgba(0, 0, 0, 0.75);
	font-family: "Diatype Variable", Icons;
	line-height: 1.3;
	font-style: normal;
	font-weight: 500;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
}

[data-predefined-style="true"] bodycopy a {
	color: rgba(0, 0, 0, 0.75);
	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: "Diatype Variable", Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	font-size: 3.2rem;
	line-height: 1.1;
	color: rgba(0, 0, 0, 0.75);
	font-variation-settings: 'slnt' 0, 'MONO' 0;
}

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

[data-predefined-style="true"] h2 {
	font-family: "Diatype Variable", Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	color: rgba(255, 0, 0, 0.75);
	font-size: 2rem;
	line-height: 1.2;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
	}

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

[data-predefined-style="true"] small {
	display: inline-block;
	font-size: 1.2rem;
	line-height: 1.3;
	font-family: "Monument Grotesk Mono Variable", Icons;
	font-style: normal;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.25);
	font-variation-settings: 'slnt' 0, 'MONO' 1;
}

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

/**
 * Breakpoints
 */

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

.mobile .page,
[data-css-preset].mobile .page {
	position: relative;
	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: center /*!text_center*/;
}

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

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

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

/**
 * Thumbnails
 */

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

[data-css-preset] .thumbnails {
   	background-color: transparent/*!thumbnails_bgcolor*/;   
}

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

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

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

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

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

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

.thumbnails .title {
    margin-top: .8rem;
    margin-bottom: 0.3rem;
    font-size: 1.3rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.85);
	font-family: Diatype, Icons;
	font-style: normal;
	line-height: 1.3;
}

.thumbnails .tags {
    margin-top: .8rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.25);
	font-family: "Monument Grotesk Mono", Icons;
	font-style: normal;
	line-height: 1.3;
}

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

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

/**
 * Site Menu Button
 */

[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: 3rem /*!site_menu_button*/;
	right: 3rem /*!site_menu_button*/;
}

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

#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: 27px;
	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: initialem;
}

#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: 1rem /*!shop_button*/;
	left: 1.5rem /*!shop_button*/;
}

#shop_button.text {
    font-size: 1.3rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.75);
	font-family: Diatype, Icons;
    padding: 0;
    line-height: 1.3;
	font-style: normal;
}

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

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

/*
 * Shop Product Widget
 */

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

.shop_product .price {
	font-family: Diatype, Icons;
	font-size: 1.3rem;
	line-height: 1.3;
	color: rgba(0, 0, 0, 0.75);
    display: block;
    margin-bottom: 1rem;
	font-style: normal;
	font-weight: 400;
}

.shop_product .dropdown {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    font-size: 1.3rem;
    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.3;
    padding: .7rem 2.5rem .7rem 1rem;
	font-style: normal;
	font-weight: 400;
    color: rgba(0, 0, 0, 0.75);
}

.shop_product .button {
	font-family: Diatype, Icons;
	font-size: 1.3rem;
    background: rgba(0, 0, 0, 0.75);
    color: rgba(255,255,255,1);
    flex: 0 0 50%;
    text-align: left;
    display: inline-block;
	line-height: 1.3;
    padding: .8rem 1rem .9rem;
	font-style: normal;
	font-weight: 700;
}

/*
 * Image Zoom
 */

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

/**
 * Quick View
 */

[data-css-preset] .quick-view {
    padding-top: 2.5rem /*!quick_view_padding*/;
    padding-bottom: 2.5rem /*!quick_view_padding*/;
    padding-left: 2.5rem /*!quick_view_padding*/;
    padding-right: 2.5rem /*!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: rgba(255, 255, 255, 1) /*!quick_view_bgcolor*/;
}

.quick-view-caption {
	font-family: "Monument Grotesk Mono", Icons;
    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-style: normal;
	font-weight: 400;
    line-height: 1.3;
}

.quick-view-caption span {
    padding: 0.5rem 1rem;
    display: inline-block;
    background: rgba(0,0,0,0.4);
    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: #fff;
    stroke-width: 0px;
}

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

.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: #fff;
    stroke-width: 0px;
}

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

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

/*
 * 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.3rem;
    line-height: 1.6;
    font-family: Diatype, 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;
}

[data-css-preset] #site_menu_button {
}

/* MOBILE HEADER */
@media (max-width: 950px) {

  /* hide desktop sidebar on mobile */
  .sidebar {
    display: none;
  }

  .mobile-header {
    width: 100%;
    padding: 10px 0 10px;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
  }

  .mobile-logo img {
    max-width: 160px;   /* keeps logo small */
    height: auto;
    display: block;
    margin: 0 auto 15px;
  }

  .mobile-nav {
    display: flex;
    justify-content: center;
    gap: 2px;
    flex-wrap: wrap;
    font-family: "Diatype Variable", Icons;
  font-style: normal;
	font-weight: 0;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
}

  .mobile-nav a,
  .mobile-parent {
    font-size: 20px;
    text-decoration: none;
    color: #000;
    background: none;
    border: none;
    padding: 4px 0;
    cursor: pointer;
  }

  .mobile-item {
    position: relative;
  }

  /* dropdown container */
  .mobile-submenu {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    transition: max-height 0.35s ease;
  }
    .mobile-toggle:checked ~ .mobile-submenu {
  max-height: 300px;
}
.toggle-box:checked + .mobile-submenu {
  display: flex;
}
  /* when WORK is focused (tapped), show submenu */
  .mobile-item:focus-within .mobile-submenu {
    max-height: 200px; /* enough for 3 links */
  }

  .mobile-submenu a {
    padding: 6px 0;
    font-size: 15px;
  }
}

/* hide mobile header on desktop */
@media (min-width: 801px) {
  .mobile-header {
    display: none;
  }
}

@media (max-width: 800px) {
  .mobile-trigger.active img {
    filter: brightness(60%) blur(2px);
  }

  .mobile-trigger.active .project-info {
    opacity: 1;
    transform: translateY(0);
  }
}
