#toolset {
	display: none;
}

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

a:active {
	opacity: 0.7;
}

.page a.active {
	color: rgba(120, 120, 120, 0);
    text-shadow: 0px 0px 2px rgba(120, 120, 120, 0.55);
}

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

hr {
	background: rgba(0, 0, 0, 0.75);
	border: 0;
	height: 1px;
	display: block;
    margin-top: 0.15rem;
    margin-bottom: 0.15rem;
}

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

[image-gallery="slideshow"] {
    margin-bottom: 2rem;
}

.gallery_image_caption {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.4);
	font-family: Diatype, Icons;
	font-style: normal;
	line-height: 1.2;	
}

/**
 * Loading Animation
 */

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

/**
 * Editor styles
 */

[data-predefined-style="true"] bodycopy {
	font-size: 1.2rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.75);
	font-family: "Diatype Variable", Icons;
	font-style: normal;
	line-height: 1.2;
	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: 1rem;
	line-height: 1.2;
	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"] h1 a:hover {
	color: rgba(120, 120, 120, 0);
    text-shadow: 0px 0px 2px rgba(120, 120, 120, 0.55);
}

[data-predefined-style="true"] h2 {
	font-family: "Diatype Variable", Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	color: rgba(0, 0, 0, 0.75);
	font-size: 1.5rem;
	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.4rem;
	line-height: 1.2;
	font-family: "Monument Grotesk Mono Variable", Icons;
	font-style: normal;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.6);
	font-variation-settings: 'slnt' 0, 'MONO' 1;
}

[data-predefined-style="true"] small a {
	color: rgba(0, 0, 0, 0.6);
	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: left /*!text_left*/;
}

[data-css-preset] body {
	background-color: transparent /*!body_bgcolor*/;
}

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

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


/**
 * Thumbnails
 */

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

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

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

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

[data-css-preset] [thumbnails-gutter] {
    margin: -1.5rem/*!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: 1.0rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
	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: 1rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.6);
	font-family: "Monument Grotesk Mono", Icons;
	font-style: normal;
	line-height: 1.2;
}

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

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

/**
 * Site Menu Button
 */

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

body.mobile #site_menu_button {
	margin: -10px;
    font-size: 32px;
}

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

#shop_button.text {
    font-size: 1.6rem;
	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.6rem;
	line-height: 1;
	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.4;
    padding: .7rem 2.5rem 0.6rem 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;
    padding: .8rem 1rem 0.8rem;
	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: Diatype, 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.6rem;
	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: 2px;
}

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

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

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


/**
 * 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.4rem;
    line-height: 1.3;
	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: 0.9rem;
    fill: rgba(0, 0, 0, 0.5);
}

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

.audio-player .total-time {
    padding-right: 1rem;
}

/* --- 1. RANDOM PROJECT GRID (LANDING PAGE) --- */

/* Adds spacing between the randomized images */
#project-random .project-item {
  margin-bottom: 10px; 
}


/* --- 2. INDEX PAGE HEADER ... --- */
.site-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 10px; /* <-- ADD THIS LINE */
}

/* Styles the header links */
.site-header a {
  font-size: 1rem; /* Sets a normal font size */
  font-weight: normal;
  text-decoration: none;
  color: inherit;
}


/* --- 3. DIVIDER STYLES --- */

/* This applies the visual style (black line) to ALL divider types */
.header-divider,
.project-divider,
.navigation-divider, /* I added this back! */
.right-header-divider { /* This is the new one for the right header */
  border: none;
  border-top: 1px solid #000; 
  margin: 0;
  filter: blur(0); 
}

/* --- SPECIFIC ADJUSTMENTS --- */

/* 1. The Index Header Line (Left Side) */
.header-divider {
  margin-top: 0;
  margin-bottom: 4px;
}

/* 2. The Lines Between Projects */
/* These stay at 0 margin */
.project-divider,
.navigation-divider {
  margin: 0; 
  margin-bottom: 2px;
}

/* 3. The Right Page Header Line (Right Side) */
/* ONLY this one gets the nudge to align with the left header */
.right-header-divider {
  margin-top: -2px; /* Adjust this (-1px, -2px) to align perfectly */
  margin-bottom:8px;
}

/* --- Spacing for the new line on the navigation page --- */
.navigation-divider {
  /* This matches the index page's header line,
     making them align vertically. */
  margin-top: 0px; 

  /* This matches the space between your random images. */
  margin-bottom: 10px;
}

/* This fixes the spacing for the header divider */
.header-divider {
  margin-top: 0px; /* Space above the header line */
  margin-bottom: 4px; /* Space below the header line */
}


/* --- 4. INDEX PAGE PROJECT LIST --- */

/* This is the main project link row */
.project-row {
  display: flex;
  width: 100%;
  padding: 4px 0; /* Creates 8px of space between rows */
  text-decoration: none;
  color: inherit;
  
  /* Font size override */
  font-size: 1rem; 
  font-weight: normal;

  /* Blur effect: Sharp by default */
  filter: blur(0); 
  transition: filter 0.1s ease-in-out; /* <-- CHANGED TO 0.1s */
}

/* --- COLUMN STYLING --- */

/* The Year */
.project-year {
  width: 50px;
  flex-shrink: 0;
  margin-right: 20px;
}

/* The Project Name */
.project-name {
  flex-grow: 1;
  margin-right: 20px;
}

/* The Category */
.project-category {
  margin-left: auto; /* The magic: pushes to the far right */
  text-align: right;
  flex-shrink: 0;
}

/* --- HOVER/ACTIVE EFFECT --- */

/* Blurs the text row on hover OR when it's the active page */
.project-row:hover,
.project-row.current_page {
  filter: blur(1.5px); 
}

/* --- 5. LEFT COLUMN & BOTTOM EMAIL --- */

.left-column-wrapper {
  display: flex;
  flex-direction: column;
  
  /* --- USE flex-grow INSTEAD OF height --- */
  flex-grow: 1;
  
  box-sizing: border-box; 
  padding-bottom: 10px;
}

/* This is the new email link */
.index-email {
  /* THE MAGIC: Pushes this item to the bottom */
  margin-top: auto; 
  
  /* --- Copying styles from .project-row --- */
  font-size: 1rem;
  font-weight: normal;
  padding: 4px 0; /* Matches project row padding */
  text-decoration: none;
  color: inherit;
  
  /* Blur effect (matches your other rows) */
  filter: blur(0);
  transition: filter 0.1s ease-in-out;
}

/* The hover effect (matches your other rows) */
.index-email:hover {
  filter: blur(1.5px);
}

/* --- 7. PROJECT PAGE STYLES --- */

/* 1. The Top Info Line */
.project-info-header {
  position: relative;
  width: 100%;
  padding-bottom: 22px; /* <-- ADD THIS LINE */
  font-size: 1rem;
  font-weight: normal;
}

.info-name {
  position: absolute;
  left: 0;
}
.info-category {
  position: absolute;
  left: 25%;
}
.info-year {
  position: absolute;
  left: 75%;
}
.info-location {
  position: absolute;
  right: 0;
  text-align: right;
}

/* 2. Project Image Spacing */
/* Replaces the need for <br> tags */
.project-image {
  margin-bottom: 10px;
}
.project-slideshow {
  margin-bottom: 10px;
}


/* 3. Project Dividers */
/* This just creates a new class for mid-page dividers
   and gives them consistent spacing */
.project-page-divider {
  border: none;
  border-top: 1px solid #000;
  margin: 20px 0; /* 20px space above and below */
  filter: blur(0);
}

/* 4. Description */
.project-description {
  margin-bottom: 20px;
  line-height: 1.4;
  font-size: 1rem; /* <-- ADD THIS LINE */
  font-weight: normal; /* <-- ADD THIS LINE */
}

/* 5. Technical Info */
.tech-info {
  display: flex;
  font-size: 1rem;
  font-weight: normal;
}
.tech-column-left {
  width: 25%;
  flex-shrink: 0;
}
.tech-column-right {
  width: 75%;
}
.tech-item {
  padding-bottom: 4px; /* Space between lines */
}

/* 6. Prev/Next Navigation */
.project-navigation {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 1rem;
  font-weight: normal;
}
.prev-project,
.next-project {
  text-decoration: none;
  color: inherit;
  
  /* Adds the blur effect on hover */
  filter: blur(0);
  transition: filter 0.1s ease-in-out;
}
.prev-project:hover,
.next-project:hover {
  filter: blur(1.5px);
}

/* --- 8. GALLERY AND IMAGE LAYOUTS (FINAL, CLEAN STRUCTURE) --- */

/* 1. Single Image Vertical Spacing (Applies margin below ALL images/groups) */
.project-image {
    margin-bottom: 10px;
}

/* 2. Multi-Column: Horizontal Compensation (Applied to the inner Cargo Gallery) */
/* This ensures the gallery stretches to full column width, compensating for gutters. */
.image-gallery {
    /* Removes padding from column edges and pushes the gallery out */
    margin-left: -10px; 
    margin-right: -10px; 
    
    /* Ensures the gallery uses the full available space after compensation (Final, working value) */
    width: calc(100% + 24px); 
}

/* --- FIX: Video Full Width Override --- */

/* Targets the video element inside the project image container */
.project-image video {
    /* Ensures the video is treated as a full block element */
    display: block !important;
    
    /* Forces it to use the full width of the container, overriding CMS limits */
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important; /* Prevents height distortion */
}

/* =========================================
   1. CUSTOM MOBILE HEADER (BASE STYLES)
   ========================================= */

/* Layout the header: Name left, Index right */
.mobile-custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    
    /* Text styling */
    font-size: 1.5rem; 
    font-family: inherit;
    line-height: 1.4;
    
    /* Base positioning */
    position: relative; 
    z-index: 999; 
}

/* Styling the links */
.mobile-custom-header a {
    text-decoration: none;
    color: inherit; 
    font-weight: normal; 
}

/* =========================================
   2. MOBILE NAV MENU STYLES (CORRECTED)
   ========================================= */

.mobile-nav-wrapper {
    padding-bottom: 50px;
}

/* A. TYPOGRAPHY & BASE STYLES (Applies to ALL links: Projects, Info, Email) */
.mobile-nav-wrapper a {
    font-size: 1.4rem;  /* Fixes the Info/Email size */
    text-decoration: none;
    border-bottom: none;
    color: inherit;
    line-height: 1.2;
    display: block;     /* Ensures they fill the width */
}

/* B. ROW LAYOUT (Applies ONLY to projects with categories) */
/* This handles the left/right split */
.mobile-project-row a {
    display: flex;
    justify-content: space-between; 
    align-items: baseline;
    width: 100%;
}

/* C. RESET WRAPPER (Technical fix) */
.mobile-project-row {
    width: 100%;
    padding: 0;
}

/* D. CATEGORY STYLING */
.mobile-category {
    text-align: right;
    white-space: nowrap;
    margin-left: 10px;
}

/* E. HORIZONTAL LINES */
.mobile-nav-wrapper hr {
    margin: 3.5px 0; 
    border-top: 1px solid #000; 
}

/* =========================================
   3. MOBILE LAYOUT & OVERLAY (MEDIA QUERY)
   ========================================= */
@media screen and (max-width: 768px) {

    /* --- A. FIXED HEADER (Transparent + Line) --- */
    .mobile-custom-header {
        position: fixed;       /* Sticks to the top */
        top: 0;
        left: 0;
        width: 100%;
        
        /* Visuals */
        background-color: transparent !important; 
        border-bottom: 1px solid #000; 
        
        /* Spacing */
        padding-top: 8px;     
        padding-bottom: 8px;   
        padding-left: 2.5%;    
        padding-right: 2.5%;
        
        z-index: 999999;         
        box-sizing: border-box; 
    }

    /* --- B. PUSH CONTENT DOWN (Spacing) --- */
    /* Front Page Wrapper (keep tight) */
    #project-random,
    .thumbnails_grid {
        padding-top: 20px !important; 
    }
    
    /* Project Pages & Menu (need more space for header) */
    .project-info-header,
    .mobile-nav-wrapper {
        padding-top: 50px !important; 
    }

    /* --- C. HIDE STATIC LINES --- */
    .navigation-divider,
    .right-header-divider,
    .project-divider,
    .header-divider {
        display: none !important;
    }
    
    /* --- D. SIMPLIFY PROJECT HEADER --- */
    /* Show only Name and Location on mobile */
    .project-info-header .info-category,
    .project-info-header .info-year {
        display: none !important;
    }
    
   /* --- E. MOBILE MENU OVERLAY (IPHONE SCROLL FIX) --- */
    #mobile-menu-overlay {
        /* Position it over everything */
        position: fixed;
        top: 0; 
        left: 0;
        right: 0;
        bottom: 0;
        
        /* Ensure it covers the whole screen */
        height: 100%; 
        background-color: white; 
        z-index: 9999; /* Super high so it's on top */
        
        /* THE SCROLLING ENGINES */
        overflow-y: scroll !important; /* Forces scrollbar */
        -webkit-overflow-scrolling: touch !important; /* Smooth iOS scrolling */
        overscroll-behavior: contain; /* Tries to keep scroll inside the menu */
        
        /* Spacing */
        padding-top: 10px; 
        padding-bottom: 150px; /* Extra space for bottom toolbar */
        padding-left: 2.5%;
        padding-right: 2.5%;
        box-sizing: border-box;
        
        display: none; 
    }

    /* Show menu when active */
    body.menu-active #mobile-menu-overlay {
        display: block;
    }

    /* TRICK FOR IPHONE: Make the content inside slightly taller than 100% 
       so the phone knows it MUST scroll. */
    #mobile-menu-overlay .mobile-nav-wrapper {
        min-height: 101%;
    }
}

/* =================================================
   THE "INFO PAGE" LOGIC (Global Switch)
   ================================================= */

/* 1. The Switch: This class will be added to the body when the menu opens */
body.cargo-lock-mode {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
}

/* 2. The Menu: Must handle its own scrolling (Just like on your Info page) */
#mobile-menu-overlay {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    height: 100vh !important;
    max-height: 100vh !important;
    pointer-events: auto !important;
    z-index: 9999 !important;
}