html { scroll-behavior: smooth; }
a#cargo-dotsite.cargodotsite {
display: none !important;
}



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

a:active {
    opacity: 0.7;
}

.page a.active {
    opacity: .4;
}

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, 0.4);
    border: 0;
    height: 1px;
    display: block;
    margin-bottom: 0rem;
}

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

.gallery_image_caption {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.85);
    font-family: "Monument Grotesk Semi-Mono", 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.3rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.85);
    font-family: "Neue Haas Grotesk", Icons;
    font-style: normal;
    line-height: 1.2;
}

[data-predefined-style="true"] bodycopy a {
    color: rgba(0, 0, 0, 0.85);
    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: "Neue Haas Grotesk", Icons;
    font-style: normal;
    font-weight: 400;
    padding: 0;
    margin: 0;
    font-size: 4.1rem;
    line-height: 1.1;
    color: rgba(0, 0, 0, 0.85);
    letter-spacing: -0.04rem;
    }

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

[data-predefined-style="true"] h2 {
    font-family: "Neue Haas Grotesk", Icons;
    font-style: normal;
    font-weight: 400;
    padding: 0;
    margin: 0;
    color: rgba(0, 0, 0, 0.85);
    font-size: 2.2rem;
    line-height: 1.4;
    }

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

[data-predefined-style="true"] small {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1.2;
    font-family: "Neue Haas Grotesk", Icons;
    font-style: normal;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.85);
    letter-spacing: 0.05em;
}

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

/**
 * 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_center*/;
    margin-right: auto /*!content_center*/;
    text-align: left /*!text_left*/;
}

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

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

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


[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: transparent/*!thumbnails_bgcolor*/;   
}

[data-css-preset] .thumbnails_width {
    width: 100%/*!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.1875rem/*!responsive_thumbnails_padding*/; 
}

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

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

.thumbnails .title {
    margin-top: 1.2rem;
    margin-bottom: .3rem;
    font-size: 1.3rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
    font-family: Diatype, Icons;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

.thumbnails .tags a {
    border-bottom: 0;
    color: rgba(0, 0, 0, 0.85);
    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: 11px;
    line-height: 1;
    background: rgba(33, 32, 46, 0);
    position: fixed;
    top: 1.0rem /*!site_menu_button*/;
    right: 1.2rem /*!site_menu_button*/;
}

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

#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: Diatype, Icons;
    font-size: 1.3rem;
    padding: 0;
    font-weight: 500;
    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: Diatype, Icons;
    font-size: 1.3rem;
    line-height: 1.2;
    color: rgba(0, 0, 0, 0.85);
    display: block;
    margin-bottom: 1rem;
    font-style: normal;
    font-weight: 500;
}

.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 3rem 0.8rem 1rem;
    font-style: normal;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.85);
}

.shop_product .button {
    font-family: Diatype, Icons;
    font-size: 1.3rem;
    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.3;
    padding: .8rem 1rem;
    font-style: normal;
    font-weight: 500;
}

/*
 * 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: rgb(255, 255, 255) /*!quick_view_bgcolor*/;
}

.quick-view-caption {
    font-family: "Monument Grotesk Semi-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.1rem;
    font-style: normal;
    font-weight: 400;
}

.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: #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: rgba(255, 255, 255, 1);
    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: rgba(255, 255, 255, 1);
   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.85);
    background: #fff;
    font-size: 1.2rem;
    line-height: 1.4;
    font-family: Diatype, Icons;
    font-style: normal;
    font-weight: 500;
    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;
}

.cargodotsite {
    display: none !important;
}

#toolset {
    display: none !important;
}

.image-link {
    position: relative;
    display: inline-block;
    overflow: hidden;
    text-align: center;
}

.image-link a {
    text-decoration: none;
}

.image-link:hover img {
    transform: scale(1.05); /* Slight zoom effect */
    transition: transform 0.3s ease;
}

.intro {
    padding:0 2em !important;
}

.case-tile {
  position: relative;
  overflow: hidden;
}

.case-tile a {
  display: block;
  position: relative;
}

.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}

.case-tile:hover .hover-overlay {
  opacity: 1;
}

.image-link:hover .hover-overlay {
    opacity: 1; /* Show overlay on hover */
}


button {
            color: #ffffff;
            background-color: #000000;
            border: 1px solid #000000;
            padding: 15px 50px;
            cursor: pointer
        }

button a{
            color: #ffffff !important;
        }

button:hover {
    color: #000000 !important;
            background-color: #ffffff;
        }

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

a:hover .hover-overlay {
    opacity: 1;
}

a div {
    position: relative;
}

a img {
    width: 100%;
    height: auto;
    display: block;
}

/* Enhanced Case Study Styling for Cargo */

/* Color variables */
:root {
  --accent-color: #224099;
  --accent-light: #d9cd86;
  --text-primary: rgba(0, 0, 0, 0.85);
  --text-secondary: rgba(0, 0, 0, 0.6);
  --bg-light: rgba(0, 0, 0, 0.02);
  --border-color: rgba(0, 0, 0, 0.1);
  --neon-pink: #fc0987;
  --neon-blue: #00f0ff;
  --neon-purple: #9600ff;
  --neon-green: #39ff14;
  --dark-blue: #0c0e36;
  --dark-purple: #1a1243;
  --cyberpunk-black: #171826;
  --cyberpunk-gray: #2a2b41;
}

/* Animation delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* Direction-specific animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeInLeft 1s ease-out forwards;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  animation: fadeInRight 1s ease-out forwards;
}

/* Animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Project layout styling */
.project-title {
  margin-bottom: 1rem;
}

.project-subtitle {
  margin-bottom: 3rem;
  color: var(--text-secondary);
}

/* Section blocks styling */
.overview-block,
.problem-block,
.process-block,
.approach-block,
.tools-block,
.role-block,
.outcomes-block,
.gallery-block,
.reflections-block {
  margin: 5rem 0;
}

/* Header Spacing Fix for Case Study */

/* Reset any potential padding or margin that might be causing the misalignment */
.content-section h2 {
  padding-left: 0;
  margin-left: 0;
}

/* Ensure grid structures don't affect heading alignment */
[grid-row], [grid-col] {
  padding-left: 0;
}

/* Remove any potential padding on content containers */
.problem-block,
.approach-block,
.role-block,
.outcomes-block,
.reflections-block {
  padding-left: 0;
}

/* Full width alignment fix */
.content-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.content-section h1,
.content-section h2,
.content-section h3,
.content-section p,
.content-section ul {
  padding-left: 0;
  margin-left: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Fix bullet point alignment to match body text */
.content-section ul {
  padding-left: 0; /* Remove default padding */
  margin-left: 0; /* Remove default margin */
  list-style-position: inside; /* Keep bullets inside text flow */
}

/* Style bullet points with proper alignment and spacing */
.content-section ul li {
  padding-left: 1.2em; /* Add padding for text */
  text-indent: -1.2em; /* Create negative indent for bullet */
  margin-bottom: 0.8rem; /* Space between list items */
}

/* Ensure nested lists maintain proper alignment */
.content-section ul ul {
  padding-left: 1.5em; /* Indent nested lists */
  margin-top: 0.5em; /* Space before nested list */
}

/* Keep consistent spacing after lists */
.content-section ul + p,
.content-section ul + div {
  margin-top: 1.5rem; /* Space after list */
}

/* Special handling for Goals section bullets to make them stand out */
h2 + ul li {
  font-size: 1.1em; /* Slightly larger text */
}

/* Fix for the key takeaways section */
.key-learnings ul {
  padding-left: 0;
  margin-left: 0;
}

/* Ensure grid layouts maintain full width */
.content-section [grid-row] {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  padding-left: 0;
  box-sizing: border-box;
}

/* Fix specific padding issues in Cargo */
[grid-pad="2"] {
  padding: 2rem !important;
}

/* Override any potential content-width limitations */
.container_width {
  width: 90% !important;
  max-width: 1400px !important;
}

/* Ensure text elements don't collapse */
.content-section p {
  width: 100%;
  max-width: 100%;
}

/* Check if specific Cargo classes might be adding left padding */
.content-section .page,
.content-section .container,
.content-section .content_padding {
  padding-left: 0;
}

/* Ensure consistent text alignment */
.content-section {
  text-align: left;
}

/* Hero banner */
.hero-banner {
  margin-bottom: 3rem;
}

.hero-banner img {
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.hero-banner img:hover {
  transform: scale(1.02);
}

/* Showcase images */
.showcase-image {
  margin: 3rem 0;
  width: 100%;
}

.showcase-image img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.5s ease;
}

.showcase-image:hover img {
  transform: scale(1.03);
}

.image-caption {
  font-family: "Monument Grotesk Semi-Mono", monospace;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text-secondary);
  margin-top: 0.8rem;
  margin-bottom: 1.5rem;
}

/* Highlight quote */
.highlight-quote {
  border-left: 4px solid var(--accent-color);
  padding-left: 2rem;
  margin: 2rem 0;
}

.highlight-quote p {
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: 400;
  color: var(--accent-color);
}

/* Process steps */
.process-steps {
  position: relative;
  margin: 3rem 0;
  padding-left: 2rem;
}

.process-item {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 4rem;
}

.process-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Monument Grotesk Semi-Mono", monospace;
  font-size: 1.1rem;
  z-index: 1;
}

.process-steps:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 3.25rem;
  width: 1px;
  background: var(--border-color);
  z-index: 0;
}

.process-content {
  padding-left: 1rem;
}

.process-content h3 {
  margin-bottom: 0.5rem;
}

.process-content p {
  margin-bottom: 1rem;
}

.process-content img {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 1rem;
}

/* Enhanced Design Process styling */

/* Process container */
.process-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 2.5rem 0 4rem;
  position: relative;
}

/* Create a vertical line connecting the process cards */
.process-container:before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--neon-blue), var(--neon-pink), var(--neon-purple), var(--neon-green));
  opacity: 0.3;
  z-index: 0;
}

/* Process cards */
.process-card {
  display: flex;
  position: relative;
  background-color: rgba(248, 249, 250, 0.5);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Unique accent colors for each process card */
.process-card:nth-child(1) {
  border-left: 3px solid var(--neon-blue);
}

.process-card:nth-child(2) {
  border-left: 3px solid var(--neon-pink);
}

.process-card:nth-child(3) {
  border-left: 3px solid var(--neon-purple);
}

.process-card:nth-child(4) {
  border-left: 3px solid var(--neon-green);
}

/* Process icons */
.process-icon {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 1.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* Different gradient backgrounds for each icon */
.process-card:nth-child(1) .process-icon {
  background: linear-gradient(135deg, var(--neon-blue), #0062ff);
  box-shadow: 0 4px 10px rgba(0, 240, 255, 0.2);
}

.process-card:nth-child(2) .process-icon {
  background: linear-gradient(135deg, var(--neon-pink), #ff2d55);
  box-shadow: 0 4px 10px rgba(252, 9, 135, 0.2);
}

.process-card:nth-child(3) .process-icon {
  background: linear-gradient(135deg, var(--neon-purple), #5e17eb);
  box-shadow: 0 4px 10px rgba(150, 0, 255, 0.2);
}

.process-card:nth-child(4) .process-icon {
  background: linear-gradient(135deg, var(--neon-green), #00d95f);
  box-shadow: 0 4px 10px rgba(57, 255, 20, 0.2);
}

.process-icon i {
  color: white;
  font-size: 1.4rem;
}

/* Process number badge */
.process-number {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: white;
  color: var(--cyberpunk-black);
  font-size: 0.8rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: "Monument Grotesk Semi-Mono", monospace;
}

/* Process content */
.process-content {
  padding: 1.5rem 1.5rem 1.5rem 0;
  flex: 1;
}

.process-content h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--cyberpunk-black);
}

.process-content p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

/* Image container */
.process-image-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  margin-top: 1rem;
}

.process-image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .process-container:before {
    left: 25px;
  }
  
  .process-card {
    flex-direction: column;
  }
  
  .process-icon {
    margin: 1.5rem auto 0;
  }
  
  .process-content {
    padding: 1rem 1.5rem 1.5rem;
  }
}

/* Approach items */
.approach-item {
  margin-bottom: 3rem;
  transition: transform 0.3s ease;
}

.approach-item:hover {
  transform: translateY(-5px);
}

.approach-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.approach-item h3 {
  margin-bottom: 0.8rem;
}

/* Section Header Styling */
.section-header {
  margin: 5rem 0 2.5rem 0;
  position: relative;
  clear: both;
}

.section-header:after {
  content: "";
  display: table;
  clear: both;
}

.section-header h2 {
  margin: 0;
  padding: 0;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: "";
  position: absolute;
  bottom: -0.8rem;
  left: 0;
  width: 3rem;
  height: 3px;
  background-color: var(--accent-color, #6b46c1);
}

/* Remove margin-top from the first block element after a section header */
.section-header + div[class$="-block"] {
  margin-top: 0;
}

/* Consistent spacing for block contents */
.problem-block,
.approach-block,
.role-block,
.outcomes-block {
  margin-top: 0;
  padding-top: 0;
}

/* Make grid structure apply proper spacing */
[grid-row] {
  margin-bottom: 2rem;
}

/* Ensure the last grid-row doesn't add extra margin */
[grid-row]:last-child {
  margin-bottom: 0;
}

/* Tools section */
.tools-wrapper {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.tool-item h4 {
  font-family: "Monument Grotesk Semi-Mono", monospace;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

/* Impact list styling */
.impact-list {
  list-style: none;
  padding-left: 0;
}

.impact-list li {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

.impact-stat {
  display: inline-block;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.6rem;
  margin-right: 0.5rem;
}

/* Gallery grid */
.gallery-grid {
  margin: 2rem 0;
}

.gallery-grid img {
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Reflection styling */
.reflection-quote {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.reflection-quote p {
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 0;
}

.key-learnings {
  margin: 3rem 0 2rem;
}

.key-learnings h3 {
  margin-bottom: 1.5rem;
}

.key-learnings ul {
  padding-left: 1.5rem;
}

.key-learnings li {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Project navigation */
.project-nav {
  margin: 5rem 0 2rem;
  text-align: right;
}

.next-link {
  display: inline-flex;
  align-items: center;
  font-size: 1.3rem;
  color: var(--accent-color);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.next-link:hover {
  transform: translateX(5px);
}

.next-arrow {
  margin-left: 0.8rem;
  font-size: 1.5rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .highlight-quote p {
    font-size: 1.5rem;
  }
  
  .process-item {
    padding-left: 2.5rem;
  }
  
  .process-marker {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }
  
  .process-steps:before {
    left: 2.75rem;
  }
  
  .reflection-quote p {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .highlight-quote {
    padding-left: 1rem;
  }
  
  .highlight-quote p {
    font-size: 1.3rem;
  }
  
  .process-item {
    padding-left: 2rem;
  }
  
  .process-marker {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.9rem;
  }
  
  .process-steps:before {
    left: 2.25rem;
  }
}

/* Simple alignment class to fix the headers and text alignment */
.alignment-fix {
  width: 100%;
}

.alignment-fix h1, 
.alignment-fix h2, 
.alignment-fix h3, 
.alignment-fix h4, 
.alignment-fix p,
.alignment-fix ul {
  padding-left: 0 !important;
  margin-left: 0 !important;
  text-align: left;
}

/* Add some breathing room between sections */
.alignment-fix h2 {
  margin-top: 4rem !important;
  margin-bottom: 1.5rem !important;
  clear: both;
}

/* Add some subtle emphasis to section headers */
.alignment-fix h2 {
  position: relative;
  padding-bottom: 0.8rem;
}

.alignment-fix h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.1);
}

/* Make sure grid layouts don't add padding */
.alignment-fix [grid-row] {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Add consistent spacing below paragraphs */
.alignment-fix p {
  margin-bottom: 1.8rem;
}

/* Make sure images maintain proper spacing */
.alignment-fix .image-caption {
  margin-top: 0.8rem;
  margin-bottom: 2.5rem;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Clean Outcomes & Impact styling */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* Exactly 4 equal columns */
  gap: 2rem;
  margin: 2rem 0 3rem;
  justify-content: center; /* Center the grid items */
}

.outcome-item {
  background-color: var(--bg-light, rgba(0, 0, 0, 0.02));
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid var(--accent-color, #6b46c1);
}

.outcome-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.outcome-stat {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary, rgba(0, 0, 0, 0.85));
  line-height: 1;
}

.outcome-stat.award {
  color: var(--accent-light, #9f7aea);
}

.outcome-desc {
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--text-secondary, rgba(0, 0, 0, 0.6));
}

.outcome-recognition {
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--text-primary, rgba(0, 0, 0, 0.85));
  padding: 0.5rem 0;
}

.outcome-item.wide {
  grid-column: 1 / -1;
  background-color: var(--bg-light, rgba(0, 0, 0, 0.02));
  text-align: center;
  border-top: none; /* Remove top border for the wide item */
  border-left: 3px solid var(--accent-color, #6b46c1); /* Add left border instead */
}

/* Adding subtle animation classes */
.outcome-item.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease-out forwards;
}

.outcome-item:nth-child(1) {
  animation-delay: 0.1s;
}

.outcome-item:nth-child(2) {
  animation-delay: 0.2s;
}

.outcome-item:nth-child(3) {
  animation-delay: 0.3s;
}

.outcome-item:nth-child(4) {
  animation-delay: 0.4s;
}

.outcome-item:nth-child(5) {
  animation-delay: 0.5s;
}

/* Make sure this works well on mobile */
@media (max-width: 768px) {
  .outcomes-grid {
    grid-template-columns: 1fr;
  }
  
  .outcome-item {
    margin-bottom: 1.5rem;
  }
}

/* Enhanced gallery container CSS to ensure images fill the entire box */
.gallery-container {
  height: 250px; /* Fixed height as before */
  overflow: hidden;
  position: relative;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  background-color: var(--bg-light, rgba(0, 0, 0, 0.02));
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
}

.gallery-container {
  height: 250px; /* Fixed height as before */
  overflow: hidden;
  position: relative;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  background-color: var(--bg-light, rgba(0, 0, 0, 0.02));
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
}

/* Make image galleries fill the entire container */
.gallery-container .image-gallery {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Make sure the inner elements also adapt to the larger height */
.approach-section .gallery-container .image-gallery,
.approach-section .gallery-container .image-gallery [data-slide],
.approach-section .gallery-container .image_container,
.approach-section .gallery-container .thumb_image {
  height: 100% !important;
}

/* Ensure the images still fill the taller container */
.approach-section .gallery-container .image-gallery img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}

.tall-gallery {
    height: 28em !important;
}

/* Mobile adjustment for the taller galleries */
@media (max-width: 768px) {
  .approach-section .gallery-container {
    height: 280px !important; /* Still taller but more suitable for mobile */
  }
}

/* Fix for Role & Collaboration image gallery */
.fade-in-right .image-gallery img,
.fade-in-right .image-gallery,
.fade-in-right .image-gallery [data-slide],
.fade-in-right .image-container,
.fade-in-right .thumb_image {
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* Also apply the same styling to any image containers in that section */
.fade-in-right .image_container,
.fade-in-right .thumb_image {
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* Ensure Cargo-specific gallery implementations get rounded corners */
.fade-in-right .image-gallery div {
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* Make sure the container element itself has overflow hidden */
grid-col.fade-in-right {
  overflow: hidden !important;
}

/* Force images to completely fill the container regardless of aspect ratio */
.gallery-container .image-gallery img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Forces the image to cover the entire container */
  object-position: center !important; /* Centers the image within the container */
  position: absolute !important; /* Take images out of normal flow */
  top: 0 !important;
  left: 0 !important;
}

/* Apply the same rules to single images */
.gallery-container > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Ensure all gallery slides take up full container size */
.gallery-container .image-gallery div,
.gallery-container .image-gallery [data-slide] {
  width: 100% !important;
  height: 100% !important;
}

/* Handle Cargo-specific gallery implementations */
.gallery-container .image_container,
.gallery-container .thumb_image {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

/* Style approach content consistently */
.approach-content {
  padding: 0.5rem 0;
  min-height: 100px; /* Reduced minimum height for content */
}

.approach-content h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.approach-content p {
  margin-bottom: 1rem;
}

/* Fix alignments and spacing for approach items */
.approach-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 2.5rem; /* Increased margin between rows */
}

/* Ensure single images behave the same as galleries */
.gallery-container > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Add spacing after the intro paragraph */
.approach-section p {
  margin-bottom: 2.5rem; /* More space after intro paragraph */
}

/* Make sure rows maintain proper spacing */
[grid-row] {
  margin-bottom: 1rem;
}

/* Fix spacing in grid columns */
[grid-gutter="4"] > [grid-col] {
  padding: 0 1rem; /* Ensure consistent padding on sides */
}

/* Add a subtle border to gallery containers for images that don't fill the space */
.gallery-container {
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .gallery-container {
    height: 220px; /* Slightly smaller on mobile */
  }
  
  .approach-content {
    min-height: auto; /* Don't enforce min height on mobile */
  }
  
  .approach-item {
    margin-bottom: 3rem; /* More space on mobile */
  }
}

/* Technical Challenges with Icons */
.tech-challenge {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-left: 3px solid var(--neon-blue);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-challenge:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.tech-challenge:nth-child(even) {
  border-left: 3px solid var(--neon-pink);
}

.tech-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(0, 240, 255, 0.2);
}

.tech-challenge:nth-child(even) .tech-icon {
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  box-shadow: 0 4px 8px rgba(252, 9, 135, 0.2);
}

.tech-icon i {
  font-size: 1.5rem;
  color: white;
}

.tech-content {
  flex: 1;
}

.tech-content h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Cyberpunk Stats for Outcomes & Impact */
.cyberpunk-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 3rem;
}

.stat-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stat-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  background-color: #f1f1f1;
  border-bottom: 1px solid #e5e5e5;
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.stat-card:nth-child(even) .stat-icon {
  background: linear-gradient(135deg, var(--neon-blue), #0090ff);
}

.stat-card:nth-child(3) .stat-icon {
  background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
}

.stat-icon i {
  color: white;
  font-size: 1rem;
}

.stat-title {
  font-weight: 500;
  color: var(--cyberpunk-black);
  font-size: 1rem;
}

.stat-value {
  font-size: 3.5rem;
  font-weight: 700;
  padding: 1.5rem 1rem 0.5rem;
  text-align: center;
  color: var(--cyberpunk-black);
  line-height: 1;
  font-family: "Monument Grotesk Semi-Mono", monospace;
  position: relative;
}

.percent, .multiply, .plus {
  font-size: 1.5rem;
  position: absolute;
  padding-left: 0.2rem;
}

.stat-bar {
  height: 8px;
  background-color: #e5e5e5;
  margin: 0 1rem 1rem;
  border-radius: 4px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
  border-radius: 4px;
  width: 0;
  animation: fillBar 1.5s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes fillBar {
  from { width: 0; }
  to { width: var(--width, 100%); }
}

.stat-desc {
  padding: 0 1rem 1.5rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.stat-card.wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(12, 14, 54, 0.04), rgba(150, 0, 255, 0.04));
}

.wide-desc {
  padding: 0 1rem;
  font-size: 1.2rem;
  color: var(--text-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cyberpunk-stats {
    grid-template-columns: 1fr;
  }
  
  .tech-challenge {
    flex-direction: column;
  }
  
  .tech-icon {
    margin-bottom: 1rem;
    margin-right: 0;
  }
  
  .stat-card.wide {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .stat-header {
    width: 100%;
  }
  
  .wide-desc {
    padding: 1rem;
  }
}

/* Add space between Technical Challenges rows */
[grid-gutter="4"] + [grid-row] {
  margin-top: 2rem; /* Adds space between the first and second row */
}

/* Alternative approach if the above doesn't work */
.tech-challenge {
  margin-bottom: 2rem; /* Increase from current value */
}

/* Make sure the last items in each row don't have excess bottom margin on mobile */
@media (max-width: 768px) {
  [grid-col="6"]:last-child .tech-challenge {
    margin-bottom: 2rem; /* Consistent spacing on mobile */
  }
}

/* Modal Content */
.modal-content {
    position: relative;
    background: #000;
    padding: 0;
    width: 80%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
}

/* Close Button */
.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 1001;
}
