/**
 * Content
 */



body {
	background-color: #fff;
	color: #000;
    font-family: 'TexGyreHerosCnRegular', Arial, sans-serif;
}

a:active {
	opacity: 1.0;
}

.page a.active {
	color: #00f1ff;
}

a:hover {
    opacity: 0.7;
}

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

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

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

.gallery_image_caption {
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
	font-weight: 400;
	color: rgba(190, 255, 255, 1);
	font-family: "Monument Grotesk", 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: 1rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.85);
	font-family: "Nightingale", Icons;
	font-style: normal;
	line-height: 0.7;
}

[data-predefined-style="true"] bodycopy a {
	color: #000;
	padding-bottom: 0.1em;
	border-bottom: 0.0em solid rgba(127, 127, 127, 0.2);
	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: "Nightingale", Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	font-size: 2.9rem;
	line-height: 0.7;
	color: transparent;
    letter-spacing: -.1rem;
	}

[data-predefined-style="true"] h1 a {
	color: #00f2ff;
}

[data-predefined-style="true"] h2 {
	font-family: "Nightingale", Icons;
	padding: 0;
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
	font-size: 2.9rem;
	line-height: 0.7;
	font-style: normal;
	font-weight: 400;
	}

[data-predefined-style="true"] h2 a {
	color: #fff;
  font-weight: bold;
}

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

[data-predefined-style="true"] small a {
	color: #fff;
	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(255, 255, 255) /*!body_bgcolor*/;
}

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

[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: rgba(0, 0, 0, 0)/*!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.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: .8rem;
    margin-bottom: .2rem;
    font-size: 1.5rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.85);
	font-family: "Monument Grotesk", Icons;
	font-style: normal;
	line-height: 1.3;
}

.thumbnails .tags {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.4);
	font-family: "Monument Grotesk", Icons;
	font-style: normal;
	line-height: 1.3;
}

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

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

/**
 * Site Menu
 */

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

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

#site_menu_button.custom_icon {
	width: 75px;
	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*/;
	right: 2rem /*!shop_button*/;
}

#shop_button.text {
    font-family: "Monument Grotesk", Icons;
	font-size: 2.4rem;
    padding: 0;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.85);
	font-style: normal;
    line-height: 1.2;
}

#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: "Monument Grotesk", Icons;
	font-size: 1.5rem;
	line-height: 1;
	color: rgba(0, 0, 0, 0.85);
    display: block;
    margin-bottom: 1rem;
	font-style: normal;
	font-weight: 400;
}

.shop_product .dropdown {
    font-family: "Monument Grotesk", Icons;
    font-size: 1.5rem;
    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.2;
    padding: .7rem 2.5rem .7rem 1rem;
	font-style: normal;
	font-weight: 400;
}

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

/**
 * Image Zoom
 */

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

/**
 * Video Overlay
 */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.video-overlay.active {
    visibility: visible;
    opacity: 1;
}

.video-overlay video {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

/**
 * 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.8) /*!quick_view_bgcolor*/;
}

.quick-view-caption {
    font-family: "Monument Grotesk", 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.4rem;
	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.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: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}

.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: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}

/** 
 * Image Gallery Navigation Arrows 
 */
 
.image-gallery-navigation .left-arrow,
.image-gallery-navigation .right-arrow {
    /* Change height/width together to scale */
    height: 36px;
    width: 36px;
}

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

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

/**
 * Wallpaper Backdrop Navigation Arrows 
 */

.wallpaper-navigation .left-arrow,
.wallpaper-navigation .right-arrow {
   /* Change height/width together to scale */
   width: 36px;
   height: 36px;
}

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

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

/**
 * Feed
 */

.feed .content_container .page {
    border-top: 0px dashed rgba(0, 0, 0, 0.2);
}

.feed .content_container .page_container:first-child .page {
	border-top: 0;
}

/**
 * Audio Player
 */

.audio-player {
    max-width: 26rem;
    height: 3.3rem;
    outline: 1px solid rgba(0,0,0,0.15);
    color: rgba(0, 0, 0, 0.6);
    background: transparent;
    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(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;
}

.hover-video-container {
  position: relative;
  width: 250px;
  display: block;
  cursor: pointer;
  height: auto;
  text-align: center;
  z-index: 10;
  transition: z-index 0.3s ease;
  margin-bottom: 1em;
  margin-left: var(--level, 0);
}


.hover-video-container:hover {
  z-index: 1000;
}

.hover-video-container video {
  position: fixed; /* change from absolute → fixed */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  max-width: min(550px, 90vw);   /* clamp to viewport */
  max-height: min(550px, 80vh);
  object-fit: contain;
  display: none;
  z-index: 20;
}

.hover-video-container.vertical video {
  max-height: min(650px, 85vh);
  max-width: min(360px, 90vw);
  aspect-ratio: auto;
  object-fit: contain;
}

.hover-video-container:hover video {
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.safari-video-fix .hover-video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 20;
  object-fit: contain;
  object-position: center center;

  width: 550px;
  height: auto;
  max-width: 90vw;
  max-height: 90vh;
}

body.safari-video-fix .hover-video-container.vertical video {
  width: auto;
  height: 550px;
  max-height: 90vh;
  max-width: 100%;
}

.logo-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  top: auto;
  left: auto;
  z-index: 9999;
  display: inline-block;
}

.logo-container img {
  height: 60px;
  width: auto;
  display: block;
}

#toggle-music {
  position: fixed;
  top: 60px;
  right: 20px;
  z-index: 999;
  display: flex;
  /* ...rest of your existing styles... */
  transition: background 0.25s ease, color 0.25s ease;
}

#toggle-music:hover,
#toggle-music:focus {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  outline: none;
}

@media (max-width: 768px) {
  #toggle-music {
    display: none !important;
  }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .portfolio-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 40px;
  }
}

body.safari-video-fix .hover-video-container video {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  max-width: min(550px, 90vw);
  max-height: min(550px, 85vh);
}



/* Desktop hover hides label */
@media (hover: hover) and (pointer: fine) {
  .hover-video-container:hover .hover-label {
    opacity: 0;
  }
}

/* Mute overlay */
.mute-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Nightingale", Icons;
  font-size: 28px;
  font-weight: 400;

  color: #fff; /* unmute = #fff */

  background: transparent;
  padding: 0;
  border-radius: 0;
  opacity: 0;
  pointer-events: none;

  transition: opacity 0.3s ease, color 0.3s ease;

  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  z-index: 25;
}

.mute-overlay.is-muted {
  color: #e8e8e8; /* mute = #d4d4d4 */
}

.hover-video-container:hover .mute-overlay.show,
.mute-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.unmute-text {
  position: static;
}
.hover-image-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.hover-preview-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: auto;
  display: none;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hover-image-container:hover .hover-preview-image {
  display: block;
}


/* Larger hover labels on desktop */
/* Base hover label styling */
.hover-label {
  white-space: normal;  /* allow wrapping */
  display: inline-block;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 15;
  margin: 0;
  padding: 0;
  font-size: 1.1em;

     text-decoration: underline;
  text-decoration-thickness: 1.5px; /* thinner underline */
  line-height: 0.7 !important;

  /* Add glow effect */
  color: #fff; /* or whatever base color you want */
  text-shadow:
 0 0 2px #fff,
   
    0 0 2px #fff;
}


p {
  font-size: 1.2em !important;
}

.hover-image-container .hover-label {
  font-size: inherit;
  line-height: inherit;
}

@media (hover: hover) and (pointer: fine) {
  .hover-image-container:hover .hover-label {
    opacity: 0;
    transition: opacity 0.3s ease;
  }
}

.ladder-line {
 margin: 0;
  padding: 0;
  font-size: 1.1rem;
}

.ladder-line a {
  color: white;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.ladder-line a:hover {
  border-color: white;
}

.text-xs {
  font-size: 1.5rem; /* or whatever smaller size you want */
  line-height: 1.2;
}


@media (max-width: 768px) {
  [data-predefined-style="true"] bodycopy,
  bodycopy {
    font-size: 1.2rem !important;
    line-height: 1.5 !important;
  }

  .ladder-line {
    font-size: 1.2rem !important;
    line-height: 1.5 !important;
    margin: 0.5em 0 !important;
  }

  .text-xs {
    display: none !important;
  }



  .hover-video-container + br {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .worked-with-text {
    display: block; /* or flex/inline depending on your layout */
  }
}

@media (max-width: 768px) {
  .hover-video-container,
  .hover-video-container > * {
    display: none !important;
  }

  /* Also hide or adjust parent elements if needed */
  td, tr, .video-collage {
    display: none; /* or adjust margins/padding */
  }
}

.hover-table {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-spacing: 40px 20px;
  table-layout: fixed;
  border-collapse: separate; /* explicit */
}

.hover-table td {
  width: 25%;
  vertical-align: top;
  text-align: center;
  padding: 1rem; /* add some padding for breathing room */
  word-wrap: break-word; /* ensure long words don't break layout */
  hyphens: auto; /* optional, for nicer line breaks */
}

/* Responsive */

@media (max-width: 768px) {
  .hover-table td {
    width: 50%;
  }
}

@media (max-width: 480px) {
  .hover-table td {
    width: 100%;
  }
}

.hover-table td {
  vertical-align: middle;
  text-align: center;
  padding: 2rem;
}

.hover-table td img {
  display: block;
  margin: 0 auto;
  height: auto;
  width: auto;
  max-width: 100%;    /* allow scaling down if needed */
  object-fit: contain; /* maintain aspect ratio */
}

#toggle-music {
  position: fixed;
  top: 60px; /* or adjust if needed below #toggle-collage */
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Monument Grotesk', sans-serif; /* or your site's font */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  border-radius: 50px;
  cursor: pointer;
  background: transparent;
  color: white;
  border:0px solid white;  /* replaced box-shadow with border */
  box-shadow: none;          /* removed box-shadow */

  transition: background 0.25s ease, color 0.25s ease;
}

#toggle-music:hover,
#toggle-music:focus {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  outline: none;
}

.button-link {
  display: inline-flex;              /* shrink to fit content */
  justify-content: center;
  text-align: center;
  padding: 10px 20px;                /* tweak as needed */
  border-radius: 16px;               /* smooth roundness */
  font-family: "Nightingale", Icons;
  font-size: 20px;
  font-weight: 400;
  color: white;
  text-decoration: none;
  cursor: pointer;
  font-style: normal;
}



.link-menu {
  position: fixed;
  top: 110px;
  right: 20px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* aligns ring edges with toggle-music */
  gap: 10px;
}

#toggle-menu {
  position: fixed;
  top: 110px; /* just below toggle-music */
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 400;
  font-family: "Neue Haas Grotesk", Icons;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  border-radius: 50px;
  cursor: pointer;
  background: transparent;
  color: white;
  border: 0px solid white;
  box-shadow: none;
  transition: background 0.25s ease, color 0.25s ease;
	font-style: normal;
}

#toggle-menu:hover,
#toggle-menu:focus {
  background: transparent;
  color: #fff;
  outline: none;
}

/* Initially hide the menu links */
#menu-links {
  /* existing glass styles */
  display: none;
  flex-direction: column;
  position: fixed;
  top: 160px;
  right: 20px;
  z-index: 998;
  gap: 10px;
  padding: 12px 16px;      /* reduce horizontal padding */
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Remove top margin from first child link */
#menu-links a:first-child {
  margin-top: 0;
  padding-top: 0px; /* optional, tweak for less space */
}

/* Make sure links have smaller horizontal padding */
#menu-links a {
  padding-left: 0px;
  padding-right: 0px;
  margin: 0; /* remove extra margin */
}

/* Show them when menu is toggled */
#menu-links.show {
  display: flex;
}

#mute-toggle {
  position: fixed;
  top: 15px;
  right: 20px;
  background: none;
  color: white;
  border: none;
  font-size: 20px;
  font-family: 'Nightingale', sans-serif;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  z-index: 11;
}

#mute-toggle:hover {
  opacity: 1;
}

.video-bg video.blur {
  filter: blur(10px);
  transition: filter 0.4s ease;
  background: #111; /* fallback color visible before video loads */
}

.glass-background {
  display: flex; /* more reliable centering than inline-flex */
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-sizing: border-box;
  padding: 20px;
  overflow: hidden; /* in case logo overflows */
}

.glass-background img {
  max-width: 100%;
  max-height: 100%; /* prevent too-tall logos */
  object-fit: contain;
  height: auto;
  width: auto;
  display: block;
  margin: auto;
  object-fit: contain; /* ensures the image scales cleanly */
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
}
.glass-background img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
}
.responsive-logo {
  width: 180px;
  height: auto;
}

@media (max-width: 480px) {
  .responsive-logo {
    width: 150px;
  }
}
.portfolio-layout{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    padding:38px;
    align-items: flex-start;
}
.portfolio-sidebar {
    position: sticky;
    top: 40px;
    align-self: flex-start;
   
    flex-shrink: 0;     /* add this — prevents it from squishing */
}

.portfolio-title{
    flex:0 0 100%;
    font-family:"Nightingale", Helvetica, Arial, sans-serif;
    font-size:64px;
    line-height:0.9;
    letter-spacing:-0.12em;
    margin:0;
    color:#fff;
}

.portfolio-content {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
}


.portfolio-filters{

    display:flex;
    align-items:flex-start;
margin-bottom: 40px;
    gap:60px;

    padding:30px 30px 50px;

    font-family:"Nightingale", Helvetica, Arial, sans-serif;
}

/* columns */

.portfolio-filters > div{

    display:flex;
    flex-direction:column;
    gap:6px;
}

/* buttons */

.filter,
.filter-link{

    font-family:"Nightingale", Helvetica, Arial, sans-serif;

    background:none;
    border:none;

    padding:0;

    font-size:24px;
    line-height:1.3;

    color:#6e6e6e;

    cursor:pointer;

    display:flex;
    align-items:center;

    gap:10px;

    text-align:left;

    transition:color .2s ease;
}


/* hover */

.filter:hover{
    color:#fff;
}

/* active text */

.filter.active{
    color:#fff;
}

/* ACTIVE SQUARE (ONLY REAL FILTER BUTTONS) */

button.filter {
    position: relative;
    will-change: opacity;
    padding-left: 12px; /* reserve space so nothing shifts */
}

.filter-link{
    padding-left: 12px;
    position: relative;
    }

button.filter.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    will-change: opacity;
    background: #fff;
    animation: blinkSquare 1.2s infinite ease-in-out;
}

/* Vimeo / external links explicitly never show indicator */

a.filter::before,
a.filter::after{
    content:none !important;
    
}

/* animation */

@keyframes blinkSquare{

    0%,100%{ opacity:1; }
    50%{ opacity:.2; }
}

@media(max-width:768px){

    .portfolio-filters{

        flex-direction:column;

        gap:16px;

        padding:60px 20px 20px;
        margin-top:10px;
    }

    .filter{
        font-size:18px;
    }
}
@media (max-width: 768px){
    .portfolio-layout{
        flex-direction:column;
        gap:19px;
        padding:0px;
    }
    .portfolio-title{

        margin-top:20px;

        margin-bottom:-54px; /* pulls filters closer */

        padding:39px 18px 0;

    }

    .portfolio-sidebar{

        margin-top:0;

    }

  }

@media (max-width: 768px){

  .portfolio-content{

      margin-top:0px;

  }

}

/* -------------------------
   GRID SYSTEM (CLEAN)
------------------------- */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 25px 60px;
    align-content: start;
    align-items: start;
}


/* -------------------------
   ORGANIZED IRREGULARITY
------------------------- */



/* SIZE SYSTEM */
.project {
  aspect-ratio: 16 / 9;

}
.project.vertical {
  aspect-ratio: 9 / 16;
}

.project.vertical{
    position: relative;
    z-index: 1;
}

.span-small,
.span-medium,
.span-large,
.span-xlarge,
.span-full { 
    grid-column: span 1; 
}

.project.span-cinema {
    grid-column: span 1;
}

.project.span-cinema .media {
    flex: 1;
    aspect-ratio: 32 / 9;
    width: 100%;
    position: relative;
    overflow: hidden; /* important: NOT auto */
}

.project.span-cinema .media video,
.project.span-cinema .media .thumb {
    position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: contain;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project.vertical.span-small {
    grid-column: span 1;
    max-width: 300px;
    justify-self: center;
}


/* vertical projects */

.project.vertical{

    max-width:240px; /* adjust: 280-350 usually feels good */

    justify-self:center;
}
/* -------------------------
   PROJECT CARD
------------------------- */

.project {
  position: relative;
    width: auto;
    height: auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0; /* prevents flex/grid overflow recalcs */
}
	


/* MEDIA WRAPPER (KEY FIX) */
.media {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    isolation: isolate;
   
}

/* shared media layer rules */
.media img,
.media video,
.thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.media video {
  display: block;
  max-width: 100%;
  max-height: 100%;
}
.thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.media video {
  opacity: 0;
  transition: opacity 0.2s ease;
}


.project.is-playing .media video {
  opacity: 1;
}

.project.is-playing .media video {
  z-index: 2;
}

/* HOVER */
.project:hover video{
    transform:scale(1.01);
    transition:transform .3s ease;
}


/* -------------------------
   TEXT
------------------------- */

.project-info{
	
    width: 100%;

  box-sizing: border-box;
    margin-top: 20px;
    display: flex;

    flex-direction: column;

    gap: 12px; /* tight control over spacing */
}

.project-info h3{
    font-size: 20px;
    font-weight: 500;
    line-height: 0;
    margin: 0;
}

.project-info p{
white-space: nowrap;    
font-size: 13px;
    opacity: 1.0;
    margin: 0;
}


.project-info .project-subtitle{
    font-size: 12px !important;
    font-weight: 300 !important;
    line-height: 1.00;
    margin-top: -13px !important;
    opacity: 0.9;
}
.blink-label {
    position: relative;
    padding-left: 25px;
}

.blink-label::before {
    content: "";
    position: absolute;
    left: 4%;
    top: 40%;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    background: #fff;
 will-change: opacity;
    animation: blinkSquare 1.2s infinite ease-in-out;
}
@media (max-width: 768px) {
  .blink-label {
    padding-left: 18px;
  }

  .about-content b small i {
    margin-left: 16px;
  }
}


/* -------------------------
   MOBILE
------------------------- */

@media (max-width: 768px) {

  .portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    height: auto !important;
    min-height: unset !important;
    padding: 0 20px 60px;
  }

  .project {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;

    width: 100% !important;
    margin: 0 !important;
  }

  /* BASE MEDIA BEHAVIOUR */
  .media {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  /* HORIZONTAL VIDEO FIX */
  .project:not(.vertical) .media {
    aspect-ratio: 16 / 9;
  }



  /* VERTICAL VIDEO FIX */
  .project.vertical .media {
    aspect-ratio: 9 / 16;
    max-height: 55vh;
    margin: 0 auto;
  }

  .project.vertical video {
    object-fit: cover;
  }
}
/* -------------------------
   FONT FACE
------------------------- */

@font-face{
    font-family:"Nightingale";
    src:url("https://onlyu.b-cdn.net/DTNightingale-Light.woff2") format("woff2");
    font-weight:500;
    font-style:normal;
    font-display:swap;
}


/* TOP NAV */

#top-nav{

    position:fixed;

    top:20px;
    right:20px;

    z-index:9999;

    display:flex;
    align-items:center; /* fixes vertical misalignment */

    gap:28px;

    padding:0;

    background:none;
    border:none;
    box-shadow:none;

    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}

.nav-link{

    font-family:"Nightingale", Helvetica, Arial, sans-serif;

    font-size:18px;

    color:#fff;

    text-decoration:none;

    opacity:.8;

    line-height:1;

    display:flex;
    align-items:center;

    transition:
    opacity .25s ease,
    transform .25s ease;
}

.nav-link:hover{
    opacity:1;
    transform:translateY(-1px);
}


/* PARENT */
.nav-dropdown{
    position:relative;
    display:inline-flex;
    align-items:center;
}

/* DROPDOWN */
.dropdown-content{
    position: absolute;
    top: 100%;
    left: 0;

    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-top: 8px;

    padding: 14px 16px;

    width: max-content;
    white-space: nowrap;

    background: rgba(0,0,0,0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(158, 158, 158, 0.08);
    border-radius: 12px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.35);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity .2s ease, transform .2s ease;
    transform: translateY(6px);
}

/* OPEN STATE */
.nav-dropdown.open .dropdown-content{

    opacity:1;
    visibility:visible;
    pointer-events:auto;

    transform:translateX(-50%) translateY(0);
}

/* LINKS */
.dropdown-content a{

    font-family:"Nightingale", Helvetica, Arial, sans-serif;
    font-size:18px;
    color:#fff;
    text-decoration:none;
    opacity:.8;
    white-space:nowrap;
}

.dropdown-content a:hover{
    opacity:1;
}

@media(max-width:768px){
    .logo-container{
        bottom: 20px;
        right: 20px;
        top: auto;
        left: auto;
    }

    .logo-container img{
        height: 40px;
        width: auto;
    }

    #top-nav{
        position: fixed !important;
        top: 15px;
        right: 15px;
        left: auto !important;
        width: fit-content !important;
        overflow-x: auto;
        gap: 20px;
        padding: 8px 20px !important;
        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 100px;
        box-shadow: 
            0 2px 12px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .nav-link{
        flex-shrink: 0;
        font-size: 16px;
    }

    .content_padding {
        padding-top: 80px !important;
    }

    .portfolio-title{
        margin-top: 80px !important;
    }
}


@media(max-width:768px){
    .nav-overlay{
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        /* Remove backdrop-filter from base state */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .25s ease, visibility .25s ease;
        z-index: 9998;
    }

    .nav-overlay.active{
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
}

@media(max-width:768px){

    #top-nav{
        overflow: visible;
    }

    .nav-dropdown{
        position: relative;
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .dropdown-content{

        position: absolute;
        top: 100%;
        left: 0;

        transform: none;

        margin-top: 8px;

        display: flex;
        flex-direction: column;
        gap: 12px;

        padding: 14px 16px;

        background: rgba(0,0,0,0.2);
backdrop-filter: blur(12px);
        border-radius: 10px;

        z-index: 9999;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        white-space: nowrap;
    }

    .nav-dropdown.open .dropdown-content{
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .dropdown-content a{
        font-size: 16px;
        color: #fff;
    }
}

/* =========================
   FORCE ALL MODE OVERRIDE
========================= */

.portfolio-grid.is-all .project {
  grid-column: span 1 !important;
}

.portfolio-grid.is-all .project.span-cinema {
  grid-column: span 2 !important;
}

.portfolio-grid.is-filtered .project {
  grid-column: span 1 !important;
}

.portfolio-grid.is-filtered .project.span-cinema {
  grid-column: span 2 !important;
}

/* -------------------------
   ABOUT PAGE — SPLIT LAYOUT
------------------------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.about-col {
  border-right: 1px solid rgba(41, 41, 41, 1);
  padding: 1;
}

.about-col-label,
.contact-col-label {
  font-family: "Nightingale", Icons;
  font-size: 35px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 1);
  padding: 14px 22px;
  border-top: 1px solid #898989;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(to right, rgba(137, 137, 137, 0.3), transparent) 1;
  display: block;
  margin: 0;
	font-style: normal;
	font-weight: 350;
	font-variation-settings: 'slnt' 0;
}

.about-content {
  display: flex;
  align-items: left;
  gap: 26px;
  padding: 41px;
}

.about-hero-img {
  width: 35%;
  flex-shrink: 1;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

.about-body {
  font-family: 'Nightingale', Arial, sans-serif;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.89);
  padding: 0;
  margin: 0;
}

.contact-col-label {
  padding: 14px 20px;
    
}

.contact-row {
  display: grid;
  grid-template-columns: -1fr 1fr;
  border-bottom: 0px solid rgba(255, 255, 255, 1);
    padding:  30px;
    
}



.contact-city {
  font-family: "Routed Gothic Wide", Icons;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 18px;
	font-style: normal;
	font-weight: 400;
}

.contact-address,
.contact-phone {
  font-family: "Neue Haas Grotesk", Icons;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3px;
	font-style: normal;
	font-weight: 400;
}

.contact-email {
  font-family: "Monument Grotesk Variable", Icons;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
	font-style: normal;
	font-weight: 400;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
}


@media (max-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-col {
    border-right: none;
  }
  .contact-row {
    grid-template-columns: 1fr;
  }
  .contact-map {
    min-height: 180px;
    border-top: 1px solid rgba(0,0,0,0.1);
  }
}
@media (max-width: 768px) {

  /* Base body text */
  body {
    font-size: 14px;
  }

  /* Nightingale headings */
  [data-predefined-style="true"] h1,
  [data-predefined-style="true"] h2 {
    font-size: 2.2rem !important;
    line-height: 0.85 !important;
  }

  /* Body copy */
  [data-predefined-style="true"] bodycopy,
  bodycopy {
    font-size: 1.6rem !important;
    line-height: 1.5 !important;
  }

  /* Small */
  [data-predefined-style="true"] small {
    font-size: 1.6rem !important;
    line-height: 1.4 !important;
  }

  /* General paragraphs */
  p {
    font-size: 1.4rem !important;
    line-height: 1.5 !important;
  }

  /* Ladder lines */
  .ladder-line {
    font-size: 1.4rem !important;
    line-height: 1.5 !important;
  }

  /* About page body */
  .about-body {
    font-size: 1.6rem !important;
    line-height: 1.5 !important;
  }

  /* Contact details */
  .contact-address,
  .contact-phone,
  .contact-email {
    font-size: 1.3rem !important;
  }

  .contact-city {
    font-size: 1.1rem !important;
  }

  /* About/contact col labels */
  .about-col-label,
  .contact-col-label {
    font-size: 1.8rem !important;
  }

  /* Nav links */
  .nav-link,
  .dropdown-content a {
    font-size: 1.6rem !important;
  }

}

@media (max-width: 768px) {
  .content_padding {
    padding-top: 100px !important;
  }
}


