/**
 * Content
 */

.loading-logo {
  font-family: 'Nightingale', Arial, sans-serif;
}

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(255, 255, 255, 0.85);
	font-family: "Nightingale", Icons;
	font-style: normal;
	line-height: 0.7;
}



[data-predefined-style="true"] bodycopy a {
	color: #0022cd;
	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: #010fc5;
	font-size: 2.9rem;
	line-height: 0.7;
	font-style: normal;
	font-weight: 400;
	}

[data-predefined-style="true"] h2 a {
	color: #fef3f3;
  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: #fbf3f3;
	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: 0rem /*!main_margin*/;
	padding-bottom: 0rem /*!main_margin*/;
	padding-left: 0rem /*!main_margin*/;
	padding-right: 0rem /*!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: 12px; /* or adjust if needed below #toggle-collage */
  right: 12px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  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: 60px;
  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: 88px; /* just below toggle-music */
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 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: 60px;
  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:40px;
    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;
    
    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;
}
#top-nav li,
#top-nav .nav-dropdown{
  list-style:none;
  margin:0;
  padding:0;
  display:inline-flex;
  align-items:center;
}

.nav-link{
    font-family:"Nightingale", Helvetica, Arial, sans-serif;
    font-size:18px;
    color:#fff;
    text-decoration:none;
    opacity:0.9;
    line-height:1;
    display:flex;
    align-items:center;
    transition:
    opacity .25s ease,
    transform .25s ease;
}
.nav-link:hover{
    opacity:1;
    transform:translateY(-1px);
}

.dropdown-overlay{
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.40);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.25s ease;
    z-index: 9999;
}

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

.dropdown-panel{
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-align: left;
}

.dropdown-panel a{
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 18px;
    font-family: "Nightingale", Arial, sans-serif;
    font-size: 70px;
    color: #fff !important;
    text-decoration: none;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(14px);
    transition: transform 0.45s cubic-bezier(.22,1,.36,1),
                opacity 0.45s cubic-bezier(.22,1,.36,1),
                color 0.3s ease;
}

@media (max-width: 768px) {

  .dropdown-panel a{

    font-size: 36px;

    top: 16px;

    right: 16px;

  }

}

/* staggered entrance once overlay opens */
.dropdown-overlay.open .dropdown-panel a{
    opacity: 1;
    transform: translateY(0);
}
.dropdown-overlay.open .dropdown-panel a:nth-child(1){ transition-delay: 0.05s; }
.dropdown-overlay.open .dropdown-panel a:nth-child(2){ transition-delay: 0.10s; }
.dropdown-overlay.open .dropdown-panel a:nth-child(3){ transition-delay: 0.15s; }
.dropdown-overlay.open .dropdown-panel a:nth-child(4){ transition-delay: 0.20s; }

/* index numbers */
.dropdown-panel a::before{
    counter-increment: item-counter;
    content: counter(item-counter, decimal-leading-zero);
    font-size: 20px;
    font-family: "TexGyreHerosCnRegular", Arial, sans-serif;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.05em;
}
.dropdown-panel{
    counter-reset: item-counter;
}

/* dim siblings when one is hovered */
.dropdown-panel:hover a{
    opacity: 0.35;
}
.dropdown-panel a:hover{
    opacity: 1 !important;
    transform: translateX(6px);
}

.dropdown-close{
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: "Nightingale", Arial, sans-serif;
  font-size: 40px;
  line-height: 1;
  font-weight: 400;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.dropdown-close:hover{
  opacity: 1;
}




  #menu .inner > ul {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    position: fixed;
    top: 60px;
    right: 18px;
    z-index: 100;
color: #fff !important;
    padding: 16px 20px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);

    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.25),
      inset 0 1px 1px rgba(255, 255, 255, 0.4),
      inset 0 -1px 1px rgba(255, 255, 255, 0.08),
      inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  }

  body.menu-open #menu .inner > ul {
    display: flex;
  }

  #menu .inner > ul a {
    color: #fff;
  

 
}


  #menu{font-size:5.8974358974vw; padding:0 2.8205128205vw 23vw;}
  #intro h1{font-size:5.8974358974vw; padding:3.3333333333vw 2.8205128205vw 0;}

  #menu ul{
    gap:0 !important;
  }
  #menu ul li{
    margin:0 !important;
    padding:0 !important;
  }
  #menu ul li a{
    margin:0 !important;
    padding:0 !important;
  }
  #menu ul li:after{
    content:"" !important;
  
}

@media (max-width: 767px) {
  #menu ul li:first-child{
    display: none;
  }
}



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

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



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

}

.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 #d6cccc;
  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(0, 0, 0, 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, 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;
  }
}


.loading-logo {
    font-size: clamp(3rem, 14vw, 14rem);
    font-weight: 0;
    letter-spacing: -0.05em;
    color: white;
    line-height: 1;
}

body.loading #top-nav {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
}

#top-nav {
    transition: opacity 0.8s ease;
}

#top-nav.show {
    opacity: 1;
    visibility: visible;
}



.logo-container {
    transition: opacity 0.4s ease;
}

/* =========================================================
   FRONTPAGE LAYOUT - fullscreen video hero + bottom-fixed nav
   + difference-blend headline text
   ========================================================= */

/* If Nightingale is served via a foundry's own <link> (e.g. a
   kit from Fontwerk, Dinamo, etc), skip this @font-face block
   and just add their <link> tag in Cargo's head-code area instead.
   If you have the actual font files, point src at them here. */


*{box-sizing:border-box;}
html{
  background:#e8e8e8;
  font-family:"Nightingale",sans-serif;
  font-weight:500;
  --vh:100vh;
}
body{margin:0;overflow-x:hidden;overflow-y:scroll;background:#e8e8e8;}
a{color:inherit;text-decoration:none;position:relative;}
ul{margin:0;padding:0;list-style:none;}
p{margin:0;}

/* ---------- fixed bottom-left nav ---------- */
#menu {
  position: fixed;
  top: auto; right: auto; left: 1.1458333333vw; bottom: 1.1458333333vw;
  width: auto;
  max-width: 90vw;
  padding: 0;
  box-sizing: border-box;
  color: #e8e8e8;
  font-size: 1.0vw;
  z-index: 500;
  /* remove mix-blend-mode from here, move text color handling separately */
}






/* Blur layer moved here, behind content, z-index -1 */
#menu .inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);

}

/* Sheen layer stays on top, separate pseudo */
#menu .inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.08) 30%,
    rgba(255, 255, 255, 0) 60%
  );
  pointer-events: none;
  z-index: 1;
}
#menu a {
  color: inherit;
  position: relative;
top:0.08em;
}

#menu a{
  color:#e8e8e8;
  font-size:inherit;
  text-indent:0;
  opacity:1;
  display:inline-block;
}


body.light-page #menu,
body.light-page #menu a {
    color:rgba(1, 15, 197, 0.70);
}
body.light-page .dropdown-panel a {
    color: #fff !important;
}


body.dark-page #menu,
body.dark-page #menu a {
    color: white;
}



#menu ul li{pointer-events:all;}
#menu ul li:after{content:"  "; display:inline-block; white-space:pre;}
#menu ul li:last-child:after{content:""; display:inline-block;}




body.light-page #menu a:hover:after,
body.light-page #menu li.current a:after,
body.light-page #menu a.active:after {
  background-color: #010fc5;
}

/* ---------- fullscreen hero ---------- */
#intro {
  height: 105vh;
  height: var(--vh);
  width: 100%;
  position: relative;
}
#intro h1{
  color:#fff;
  font-size:08.5644vw;
  font-weight:700;
 
  left:0; top:0; width:100%;
  padding:7.09378vw 7.1458333333vw 0;
  position:absolute;
  mix-blend-mode:overlay;
  
  line-height:1.00;
  margin:0;
}
html, body, .main, #home {
  height: 100%;
}
#intro .hero-fade{
  position:relative;
  height:100%;
  width:100%;
}

#intro{
  overflow:hidden; /* keep this if not already set, so cover can't spill out */
}
#intro .hero-cover{
  position:absolute;
  top:0; left:0; width:100%; height:100%;
  background:#000; /* match your Work page's background color */
  opacity:0;
  pointer-events:none;
  z-index:5; /* above the video, below the menu's z-index:500 */
}


#intro .background{height:100%; width:100%;}
#intro .background video{
  height:100%; width:100%;
  object-fit:cover; object-position:center;
  display:block;
}

#intro, #intro .background, #intro .background video{
  width:100vw !important;
  height:100% !important;
  max-width:none !important;
}

/* ---------- responsive ---------- */
@media(max-width:1024px){
  #menu{font-size:2.9296875vw; padding:0 2.1484375vw 2.1484375vw;}
  #intro h1{font-size:2.9296875vw; padding:2.05078125vw 2.1484375vw 0;}
}
@media(max-width:767px){
  #menu{font-size:5.8974358974vw; padding:0 2.8205128205vw 23vw;}
  #intro h1{font-size:5.8974358974vw; padding:3.3333333333vw 2.8205128205vw 0;}
}
@media (max-width: 768px){
  .content_padding {
    padding-top: 20px !important;
  }
  .portfolio-title {
    margin-top: 20px !important;
    margin-bottom: 0 !important;
    padding: 0 18px !important;
  }
}

.onlyu-info {
  font-family: 'Nightingale', ui-sans-serif, system-ui, sans-serif;
  background: #fbfbfb;
  color: #010fc5;
  box-sizing: border-box;
min-height: 200vh;
}
.onlyu-info * { box-sizing: border-box; }
.onlyu-info a { color: inherit; text-decoration: none; position: relative; display: inline-block; }
.onlyu-info .oi-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px;
  background: #010fc5; transform: scaleX(0); transform-origin: 100% 100%;
  transition: transform .35s cubic-bezier(.9,.1,.1,.9);
}
.onlyu-info .oi-link:hover::after,
.onlyu-info .oi-link.active::after { transform: scaleX(1); }

.onlyu-info .oi-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 18px; position: sticky; top: 0; z-index: 10; background: #fbfbfb;
}
.onlyu-info .oi-logo { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 16px; font-weight: 500; letter-spacing: -0.02em; }
.onlyu-info .oi-nav { display: flex; gap: 24px; font-size: 16px; }

.onlyu-info .oi-main { padding: 60px 18px 100px; max-width: 1400px; margin: 0 auto; }
.onlyu-info .oi-headlines { display: flex; flex-direction: column; gap: 28px; margin-bottom: 100px; }

.onlyu-info .oi-headlines h1,
.onlyu-info .oi-headlines h2 {
  color: #010fc5; font-family: 'Nightingale', ui-sans-serif, system-ui, sans-serif; font-weight: 600; font-size: 28px; line-height: 1.08;
  margin: 0;
}
.onlyu-info .oi-headlines h2 {
  text-indent: 8vw;
}
@media (min-width: 768px) {
  .onlyu-info .oi-headlines h1,
  .onlyu-info .oi-headlines h2 { font-size: 64px; }
}


.onlyu-info .oi-section {
  border-top: 1px solid #010fc5; padding-top: 24px;
  display: flex; flex-direction: column; gap: 40px; margin-bottom: 60px;
}
.onlyu-info .oi-label { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.onlyu-info .oi-contacts { display: grid; grid-template-columns: 1fr; gap: 40px; }
.onlyu-info .oi-contact { display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.onlyu-info .oi-contact a:hover { opacity: 0.5; }
@media (min-width: 768px) {
  .onlyu-info .oi-section { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; }
  .onlyu-info .oi-contacts { grid-template-columns: 1fr 1fr; }
  .onlyu-info .oi-contact { font-size: 22px; }
}

.onlyu-info .oi-bottom-row {
  border-top: 1px solid #010fc5; padding-top: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.onlyu-info .oi-bottom-row a {
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}

.onlyu-info .oi-footer {
  background: #010fc5; color: #fbfbfb; padding: 25px 38px;
  display: flex; flex-direction: column; justify-content: space-between; min-height: 13vh;
}

.onlyu-info .oi-footer-bottom p { margin: 0; }
.onlyu-info .oi-footer-bottom .oi-contact-line { display: flex; align-items: center; gap: 4px; }

.oi-section-main {
  
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3vw;
}


@media (min-width: 768px) {
  .onlyu-info .oi-footer-wordmark { font-size: 12vw; }
}
.onlyu-info .oi-footer-bottom {
  display: flex; flex-direction: column; gap: 32px; padding-top: 60px;
  font-size: 14px; line-height: 1.4;
}
@media (min-width: 768px) {
  .onlyu-info .oi-footer-bottom {
    flex-direction: row; justify-content: space-between; align-items: flex-end;
    font-size: 18px; padding-top: 140px;
  }
}



.onlyu-info .oi-main {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  min-height: auto !important;
}

@media (max-width: 767px) {
  .onlyu-info .oi-headlines {
    margin-bottom: 40px;
  }
  .onlyu-info .oi-section {
    margin-bottom: 24px;
    gap: 20px;
  }
  .onlyu-info .oi-footer-bottom {
    padding-top: 30px;
  }

  .content_padding .onlyu-info {
    margin-top: -150px;
  }
}

/* Hamburger button - hidden on desktop */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 101;
}


/* =========================
   MENU TOGGLE
========================= */

.menu-toggle {
  display: block;
  position: fixed;
  top: 9px;
  right: 18px;
  z-index: 101;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #efefef;
}



/* OPEN STATE */
body.menu-open #menu .inner > ul {
  display: flex;
}

/* LINKS */
#menu .inner > ul a {
  color: #fff;
}



/* toggle color override */
@media (max-width: 767px) {
body.light-page .menu-toggle {
  color: #010fc5;
}
}


/* =========================
   CORNER MENU (separate from #menu)
========================= */

.corner-menu {
  position: fixed;
  inset: 0;
  width: 100%;
    
  height: 100%;
  pointer-events: none; /* container itself is click-through */
  z-index: 400; /* stays below #menu's z-index:500 */
}

.corner-item {
  position: fixed;
  pointer-events: auto; /* links remain clickable */
  font-family: 'TexGyreHerosCnRegular', Arial, sans-serif;
  font-size: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  opacity: 1;

  transition: opacity 0.25s ease;
}

.corner-item:hover {
  opacity: 0.6;
}

.corner-tl { top: clamp(24px, 4vw, 56px); left: clamp(24px, 4vw, 56px); }
.corner-tr { top: clamp(24px, 4vw, 56px); right: clamp(24px, 4vw, 56px); }
.corner-bl { bottom: clamp(24px, 4vw, 56px); left: clamp(24px, 4vw, 56px); }
.corner-br { bottom: clamp(24px, 4vw, 56px); right: clamp(24px, 4vw, 56px); }

.corner-tm {
  top: clamp(24px, 4vw, 56px);
  left: 50%;
  transform: translateX(-50%);
}

/* Match your light-page color logic */
body.light-page .corner-item {
  color: rgba(1, 15, 197, 0.70);
}




/* =========================
   MOBILE MENU BASE
========================= */



  #menu .inner > ul {
  
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
  font-size: 20px;   /* 👈 text size */

  line-height: 1.2;

  white-space: nowrap;
    position: fixed;
    top: 60px;
    right: 18px;
    z-index: 100;

    padding: 14px 18px;
    border-radius: 17px;

    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }

  body.menu-open #menu .inner > ul {
    display: flex;
  }

  #menu .inner > ul a {
    color: #fff;
  }

  
@media (max-width: 767px) {
body.light-page #menu .inner > ul a {
  color: #010fc5;
}
}

@media (max-width: 767px) {
  .corner-item {
    font-size: 14px;
  }
}


.dual-image-parallax {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2vw 4vw 10vw;
}

.dip-large {
  position: relative;
  width: 58%;
    left: -20%;
  margin-left: auto;
  will-change: transform;
}

.dip-large-inner {
  position: relative;
  width: 155%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.dip-large-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.dip-small {
  position: absolute;
  left: -8%;
  bottom: -10%;
  width: 70%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  z-index: 2;
  will-change: transform;
}

.dip-small img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.dip-tiny {
  position: absolute;
  right: -49%;
  top: -12%;
  width: 49%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  z-index: 2;
  will-change: transform;
}

.dip-tiny img,
.dip-tiny video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 767px) {
  .dip-tiny { width: 39%; right: -27%; top: -15%; }
}

@media (max-width: 767px) {
  .dip-large { width: 72%; }
  .dip-small { width: 56%; left: 4%; bottom: -12%; }
}

/* Safely hide the SEO footer on mobile views */
@media screen and (max-width: 768px) {
    .seo-llm-footer {
        display: none !important;
    }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.awards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.award-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 5.5rem;
  text-align: center;
  color: #010fc5; /* your brand blue */
}

.award-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  opacity: 0.85;
}

.laurel {
  width: 100%;
  height: auto;
}

.laurel-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  fill: currentColor;
}

.award-name {
  font-family: 'TexGyreHerosCnRegular', sans-serif;
  font-size: 0.6rem;
  line-height: 1.2;
  margin-top: 0.3rem;
  opacity: 0.75;
}

.awards-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centers badges horizontally within the row */
  gap: 2.5rem;
  margin: 1.5rem auto 0; /* auto left/right margin centers the block */
  max-width: 900px; /* optional: constrain width so centering is visible */
}

.award-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 7.0rem;
  text-align: center;
}

.laurel-img {
  height: 7.0rem; /* fixed height, width auto-scales */
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 600px) {
  .awards-row {
    gap: 1.5rem;
  }
  .award-badge {
    width: 4.5rem;
  }
}

.oi-bottom-row {
  margin-top: clamp(1rem, 4vw, 5rem);
}
.oi-section-main {
  margin-top: clamp(1rem, 1vw, 1rem);
}
