


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

a:active {
	opacity: 0.85;
}

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

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

hr {
	background: transparent;
	border: 0;
	height: 1px;
	display: block;
}

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

.gallery_image_caption {
    text-transform: uppercase;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.78);
	font-family: "Plex 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.5rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.87);
	font-family: "Plex Mono", Icons;
	font-style: normal;
	line-height: 1.3;
}

[data-predefined-style="true"] bodycopy a {
	color: rgba(255, 255, 255, 0.61);
	padding-bottom: 0.1em;
	border-bottom: 0.07em solid rgba(255, 255, 255, 0.3);
	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: "Plex Sans", Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	font-size: 3.6rem;
	line-height: 1.1;
	color: rgba(255, 255, 255, 0.95);
	}

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

[data-predefined-style="true"] h2 {
	font-family: "Plex Sans", Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	color: rgba(255, 255, 255, 0.95);
	font-size: 1rem;
	line-height: 1.7;
	}

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

[data-predefined-style="true"] small {
	display: inline-block;
	font-size: 1rem;
	line-height: 1.3;
	font-family: "Plex Mono", Icons;
	font-style: normal;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.34);
}

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

/**
 * Breakpoints
 */


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

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

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

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

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

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


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

/**
 * Thumbnails
 */

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

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

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

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

[data-css-preset] [thumbnails-gutter] {
    margin: 0rem/*!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.2rem;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
	font-weight: normal;
	color: rgba(255, 255, 255, 0.5);
	font-family: "Plex Mono", Icons;
	font-style: normal;
	line-height: 1;
}

.thumbnails .tags {
    margin-top: 1.3rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.35);
	font-family: "Plex Mono", Icons;
	font-style: normal;
	line-height: 1;
}

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

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

/**
 * Site Menu
 */

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

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

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

#site_menu_button.active {
	display: none;
}

/**
 * Site Menu
 */

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

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

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

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

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

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

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

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

#site_menu .break {
	height: 28px;
}

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

/*
 * Shop Button
 */

[data-css-preset] #shop_button {
	color: rgba(255, 255, 255, 0.8);
    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: "Plex Sans", Icons;
	font-size: 1.5rem;
    padding: 0;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.8);
	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: "Plex Mono", Icons;
	font-size: 1.5rem;
	line-height: 1;
	color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 1rem;
	font-style: normal;
	font-weight: 400;
}

.shop_product .dropdown {
    font-family: "Plex Mono", Icons;
    font-size: 1.5rem;
    display: inline-block;
	width: 100%;
    border: 1px solid rgba(255,255,255,0.4);
    background:  white url(https://static.cargo.site/assets/images/select-line-arrows.svg) no-repeat right;
    margin-bottom: 1rem;
    line-height: 1.2;
    padding: .7rem 2.5rem .8rem 1rem;
	font-style: normal;
	font-weight: 400;
}

.shop_product .button {
    font-family: "Plex Mono", Icons;
	font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.25);
    color: rgba(255,255,255,1);
    flex: 0 0 50%;
    text-align: left;
    display: inline-block;
	line-height: 1;
    padding: .8rem 1rem .9rem;
	font-style: normal;
	font-weight: 400;
    border-bottom: none;
}

/*
 * 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(0, 0, 0, 0.95) /*!quick_view_bgcolor*/;
}

.quick-view-caption {
    font-family: "Plex 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.3rem;
    line-height: 1.5;
	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: 1.5px;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color {
    stroke: #000;
    stroke-width: 2.5px;
    opacity: 0.6;
}

.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: 1.5px;
}

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

/** 
 * 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: #000;
    stroke-width: 2.5px;
    opacity: 0.6;
}

/**
 * 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: #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(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.4);
    font-size: 1.2rem;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin: 1px 1px 1em 1px;
}

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

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

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

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

.audio-player .buffer {
    background: rgba(255, 255, 255, 0.1);
}

.audio-player .progress {
    background: rgba(255, 255, 255, 0.15);
}

.audio-player .progress-indicator {
    border: 1px solid rgba(255, 255, 255, 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(255, 255, 255, 0.6);
}

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

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


/* Positioning context */
.gallery_card {
  position: relative;
}

/* Caption overlay */
.gallery_image_caption {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 1.5rem;
  text-align: center;

  opacity: 0;
  transition: opacity 200ms ease;
  z-index: 10;
  pointer-events: none;

  /* make text readable */
  background: transparent;
}

/* Show caption */
.gallery_card:hover .gallery_image_caption {
  opacity: 1;
}

/* Fade IMAGE only */
.gallery_card img {
  transition: opacity 10ms ease;
}

.gallery_card:hover img {
  opacity: 0.8;
}

.gallery_image_caption {
  pointer-events: none !important;
}




@media (max-width: 768px) {

  /* center the logo link itself */
  a.kashmir-logo{
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 80px;  
  }

  /* scale the IMAGE, not the link */
  a.kashmir-logo img{
    display: inline-block !important;
    transform: scale(0.4) !important;   /* tweak */
    transform-origin: center top !important;
  }
}



@media (max-width: 1024px) {
  body {
    padding-bottom: 0 !important;
  }

  .page-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}


.page_container[local-style="24019195"],
.page_container[local-style="38705329"] {
  position: fixed !important;
  top: 0 !important;
  width: 100%;
  z-index: 1000 !important;
  mix-blend-mode: difference;
}

/* Landing-page navigation */
.page_container[local-style="37015490"] {
  mix-blend-mode: difference;
    }

/* Invert hover captions against the thumbnail */
.gallery_card .gallery_image_caption {
  color: #fff !important;
  background: transparent !important;

    }

.gallery_card .gallery_card_image {
  background-color: #000;
}

/* Navigation and footer text */
[local-style="24019195"] h2,
[local-style="38705329"] h2,
[local-style="37015490"] h2,
[local-style="37015477"] small,
[local-style="37015477"] a,
[local-style="38178192"] small,
[local-style="38178192"] a {
  font-size: 0.8rem !important;
}


/* Difference blend for both footers */
.page_container[local-style="37015477"],
.page_container[local-style="38178192"] {
  mix-blend-mode: difference;
}



/* Transparent WORK footer with difference blend */
.page_container[local-style="38705593"] {
  background: transparent !important;
  mix-blend-mode: difference;
}

[local-style="38705593"] .page,
[local-style="38705593"] .page_content,
[local-style="38705593"] .bodycopy {
  background: transparent !important;
}

[local-style="38705593"] a,
[local-style="38705593"] a * {
  color: #fff !important;
}


/* WORK footer */
.page_container[local-style="38706720"] {
  mix-blend-mode: difference !important;
}

[local-style="38706720"] a,
[local-style="38706720"] a * {
  color: #fff !important;
}

#kashmir-intro .intro-tagline {
  position: absolute;
  top: calc(50% + 35px);
  left: 20px;
  right: 20px;
  margin: 0;
  text-align: center;
  color: #fff !important;
  mix-blend-mode: normal;
  pointer-events: none;
}

/* Keep the image as a hover target, but make it invisible */
.kashmir-preview-host.preview-playing img {
  visibility: visible !important;
  opacity: 0 !important;
  transition: none !important;
}

/* Show the video without blending into the still */
.kashmir-preview-host.preview-playing .kashmir-hover-preview {
  opacity: 1 !important;
}

.kashmir-hover-preview {
  pointer-events: none !important;
  transition: none !important;
}

/* Thumbnails with a video: keep the still opaque while loading */
.kashmir-preview-host img {
  opacity: 1 !important;
  transition: none !important;
}

/* Hide the still once its video starts playing */
.kashmir-preview-host.preview-playing img {
  visibility: visible !important;
  opacity: 0 !important;
}


/* Clip any fractional-pixel edges */
.kashmir-preview-host {
  overflow: hidden !important;
}

/* Remove borders and slightly overscan the video */
.kashmir-hover-preview {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  transform: scale(1.005);
  transform-origin: center;
}




/*fade in for the info credits panel */
#kashmir-player-test .kp-info-panel:not([hidden]) {
  animation: kashmir-info-in 350ms ease-out both;
}

@keyframes kashmir-info-in {
  from {
    opacity: 0;
    translate: 0 -4px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

#kashmir-player-test .kp-info-panel {
  background: transparent !important;
  backdrop-filter: blur(1px) !important;
  -webkit-backdrop-filter: blur(1px) !important;
  border: none !important;
  box-shadow: none !important;
}

#kashmir-player-test .kp-info-panel p {
  color: #fff !important;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 0 8px rgba(0, 0, 0, 0.45);
}


/* Blend the header and its credits against the video */
#kashmir-player-test .kp-header {
  mix-blend-mode: difference !important;
}

/* Remove the panel background and blur */
#kashmir-player-test .kp-info-panel {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Clean white letters — difference supplies the inversion */
#kashmir-player-test .kp-info-panel p {
  color: #fff !important;
  text-shadow: none !important;
}

@media (min-width: 700px) and (max-width: 1100px)
       and (orientation: portrait) {

  /* Gently reduce the outer space; retain Cargo's layout */
  [local-style="38177861"] .content_padding {
    padding-top: 2.5rem /*!main_margin*/;
    padding-left: 2.5rem /*!main_margin*/;
    padding-right: 2.5rem /*!main_margin*/;
	padding-bottom: 2.5rem /*!main_margin*/;
  }

  /* Centre the existing logo alongside the navigation */
  body.kashmir-tablet-test
  [local-style="24019195"] [grid-row] {
    align-items: center !important;
  }

  body.kashmir-tablet-test
  [local-style="24019195"] h2 {
    margin: 0 !important;
  }

  body.kashmir-tablet-test
  [local-style="24019195"] [grid-col]:first-child > h2 + h2 {
    display: none !important;
  }

  body.kashmir-tablet-test
  [local-style="24019195"] .image-link img {
    vertical-align: middle !important;
  }
}

@media (min-width: 700px) and (max-width: 1100px)
       and (orientation: portrait) {

  body.kashmir-tablet-test
  [local-style="24019195"] .image-link {
    position: relative;
    top: 6px;
  }
}



/* FILTERED THUMBNAILS: remove unwanted image spacing */
#kf-results .gallery_card_image {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

#kf-results .gallery_card_image a {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  line-height: 0 !important;
}

#kf-results .gallery_card_image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* FILTERED CATEGORIES: simple, spacious grid */
#kf-results {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 6vw !important;
  row-gap: 80px !important;
  align-items: start;
}

#kf-results[hidden] {
  display: none !important;
}

#kf-results .kf-card:nth-child(n) {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* Phones */
@media (max-width: 699px) {
  #kf-results {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 48px !important;
  }
}

/* Override the filter's original alternating card sizes */
#kf-results .gallery_card.kf-card:nth-child(n) {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-self: stretch !important;
}

#kf-results .gallery_card.kf-card .gallery_card_image {
  width: 100% !important;
  max-width: none !important;
}

#kf-results {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 4vw !important;
  row-gap: 64px !important;
}

@media (max-width: 1100px) {
  #kf-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  #kf-results {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 48px !important;
  }
}

/* Hide project counts */
#kf-menu button span:last-child {
  display: none !important;
}

/* Smaller, more transparent dropdown */
#kf-menu {
  width: 190px !important;
  min-width: 0 !important;
  padding: 4px !important;

  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;

  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
}

/* Compact options with subtle selection */
#kf-menu button {
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  text-align: left !important;
}

#kf-menu button:hover,
#kf-menu button[aria-pressed="true"] {
  background: rgba(0, 0, 0, 0.06) !important;
}

#kf-menu button span:first-child {
  color: #fff !important;
  mix-blend-mode: difference;
}

/*new blend for dropdown*/ 
/* Let the dropdown blend directly with the page */
#kf-menu {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  mix-blend-mode: difference !important;
}

/* White becomes black over white, light over dark */
#kf-menu button,
#kf-menu button:hover,
#kf-menu button[aria-pressed="true"] {
  color: #fff !important;
  background: transparent !important;
}

#kf-menu button span:first-child {
  color: #fff !important;
  mix-blend-mode: normal !important;
}

/* Mark the selected category without a shaded box */
#kf-menu button[aria-pressed="true"] span:first-child {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Filtered thumbnails: consistent 16:9 frames */
#kf-results .gallery_card.kf-card .gallery_card_image {
  position: relative !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  overflow: hidden !important;
}

#kf-results .gallery_card.kf-card .gallery_card_image img,
#kf-results .gallery_card.kf-card .gallery_card_image video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
}

#kf-results .gallery_card.kf-card .gallery_card_image a {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
}

#kashmir-intro .intro-logo img {
  animation: kashmir-logo-reveal 1s ease-out both;
}

@keyframes kashmir-logo-reveal {
  from {
    opacity: 0;
    filter: brightness(0) invert(1) blur(4px);
  }
  to {
    opacity: 1;
    filter: brightness(0) invert(1) blur(0);
  }
}

#kashmir-intro .intro-tagline {
  animation: kashmir-tagline-reveal 1s ease-out both;
}

@keyframes kashmir-tagline-reveal {
  from {
    opacity: 0;
    filter: blur(4px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

/* Keep the backup Work page white for the full viewport */
.page_container[local-style="38177861"] {
  min-height: 100vh !important;
  background: #fff !important;
}

/* White placeholders while filtered stills load */
#kf-results .gallery_card.kf-card .gallery_card_image {
  background: #fff !important;
}

/* Full-height white background on the main Work page */
.page_container[local-style="38177861"] {
  min-height: 100vh !important;
  background: #fff !important;
}

/* Remove dark edges behind video-enabled thumbnails */
.image-gallery .gallery_card .gallery_card_image.kashmir-preview-host {
  background: transparent !important;
}

@media (max-width: 699px),
       (max-width: 1000px) and (max-height: 500px) and (pointer: coarse) {

  /* ALL: smaller thumbnails with breathing room */
  [local-style="38177861"] .image-gallery .gallery_card {
    box-sizing: border-box !important;
    width: 86% !important;
    max-width: 100% !important;
    margin: 0 0 64px 0 !important;
  }

  /* First: left aligned */
  [local-style="38177861"] .image-gallery .gallery_card:nth-child(4n+1) {
    width: 86% !important;
    margin-left: 0 !important;
    margin-right: 14% !important;
  }

  /* Second: smaller, right aligned */
  [local-style="38177861"] .image-gallery .gallery_card:nth-child(4n+2) {
    width: 78% !important;
    margin-left: 22% !important;
    margin-right: 0 !important;
  }

  /* Third: gently inset from the left */
  [local-style="38177861"] .image-gallery .gallery_card:nth-child(4n+3) {
    width: 82% !important;
    margin-left: 5% !important;
    margin-right: 13% !important;
  }

  /* Fourth: larger, right aligned */
  [local-style="38177861"] .image-gallery .gallery_card:nth-child(4n+4) {
    width: 90% !important;
    margin-left: 10% !important;
    margin-right: 0 !important;
  }

  /* FILTERED CATEGORIES: two equal columns */
  [local-style="38177861"] #kf-results {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 14px !important;
    row-gap: 32px !important;
  }

  /* Keep titles readable within the smaller filtered cards */
  [local-style="38177861"] #kf-results .gallery_image_caption {
    font-size: 10px !important;
    line-height: 1.25 !important;
    padding: 8px !important;
    margin: 0 !important;
  }
}

/* White page canvas on Work, including Safari's exposed edges */
html.kashmir-work-background:not(.kashmir-intro-open),
html.kashmir-work-background:not(.kashmir-intro-open) body {
  background-color: #fff !important;
}

/* Phone navigation: portrait and landscape */
@media (max-width: 699px),
       (max-width: 1000px) and (max-height: 500px) and (pointer: coarse) {

  #kf-trigger,
  [local-style="24019195"] h2,
  [local-style="24019195"] h2 a,
  [local-style="38705329"] h2,
  [local-style="38705329"] h2 a {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  #kf-menu button {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 699px) {

  /* Left */
  [local-style="38177861"] .image-gallery .gallery_card:nth-child(3n+1) {
    width: 86% !important;
    margin-left: 0 !important;
    margin-right: 14% !important;
  }

  /* Right */
  [local-style="38177861"] .image-gallery .gallery_card:nth-child(3n+2) {
    width: 78% !important;
    margin-left: 22% !important;
    margin-right: 0 !important;
  }

  /* Every third project: full available width */
  [local-style="38177861"] .image-gallery .gallery_card:nth-child(3n) {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

}

#kashmir-intro video {
  opacity: 0;
  transition: opacity 1200ms ease-out;
}

#kashmir-intro video.intro-video-ready {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  #kashmir-intro video {
    opacity: 1;
    transition: none;
  }
}
/* Upward swipe cue */
#kashmir-intro::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(32px + env(safe-area-inset-bottom));
  width: 30px;
  height: 10px;
  background: #fff;

  clip-path: polygon(
    0 85%, 50% 0, 100% 85%,
    97% 100%, 50% 18%, 3% 100%
  );

  pointer-events: none;
  animation: kashmir-swipe-cue 2.4s ease-in-out infinite;
}

@keyframes kashmir-swipe-cue {
  0%, 100% {
    transform: translate(-50%, 0);
    opacity: 0.45;
  }
  50% {
    transform: translate(-50%, -6px);
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  #kashmir-intro::after {
    animation: none;
    transform: translateX(-50%);
    opacity: 0.7;
  }
}

/* Keep the player transparent while its black layer fades in */
#kashmir-player-test {
  background: transparent !important;
}

/* Blur the work page, then fade to black */
#kashmir-player-test::backdrop {
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  animation: kashmir-player-backdrop-in 800ms ease both !important;
}

@keyframes kashmir-player-backdrop-in {
  0% {
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }

  40% {
    background-color: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  }

  100% {
    background-color: rgba(0, 0, 0, 1);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  }
}
/* Phone landscape */
@media (max-width: 1000px) and (max-height: 500px)
       and (pointer: coarse) and (orientation: landscape) {

  /* Smaller navigation logo */
  [local-style="24019195"] .image-link img,
  [local-style="38705329"] .image-link img {
    width: 110px !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* Fit the player to the currently visible browser area */
  #kashmir-player-test {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    background: #000 !important;
  }

  /* More compact title / INFO / CLOSE row */
  #kashmir-player-test .kp-header {
    padding: 6px 16px 4px !important;
    gap: 10px !important;
  }

  #kashmir-player-test .kp-header button {
    padding: 6px 8px !important;
  }

  #kashmir-player-test .kp-stage {
    margin: 0 12px 8px !important;
  }
}

@media (max-width: 1000px) and (max-height: 500px)
       and (pointer: coarse) and (orientation: landscape) {

  [local-style="38177861"] .image-gallery .gallery_card:nth-child(n) {
    box-sizing: border-box !important;
    margin-bottom: 20px !important;
  }

  /* Left, pulled inward */
  [local-style="38177861"] .image-gallery .gallery_card:nth-child(3n+1) {
    width: 48% !important;
    margin-left: 10% !important;
    margin-right: 42% !important;
  }

  /* Right, pulled inward */
  [local-style="38177861"] .image-gallery .gallery_card:nth-child(3n+2) {
    width: 44% !important;
    margin-left: 46% !important;
    margin-right: 10% !important;
  }

 /* Centre: larger */
[local-style="38177861"] .image-gallery .gallery_card:nth-child(3n) {
  width: 62% !important;
  margin-left: 19% !important;
  margin-right: 19% !important;
}
}

/* Fade the player away on close */
#kashmir-player-test.kp-closing {
  animation: kashmir-player-close 280ms ease-out both !important;
}

/* Reveal the work page and bring it back into focus */
#kashmir-player-test.kp-closing::backdrop {
  animation: kashmir-backdrop-close 280ms ease-out both !important;
}

@keyframes kashmir-player-close {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes kashmir-backdrop-close {
  from {
    background-color: rgba(0, 0, 0, 1);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  }
  to {
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
}