/**
 * Content
 */

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

a:active {
	opacity: 0.7;
}

.page a.active {
	opacity: 0.4;
}

i,
em {
	font-style: italic;
}

b,
strong {
	font-weight: bolder;
}

sub,
sup {
	position: relative;
	vertical-align: baseline;
}

sub {
	top: 0.3em;
}

sup {
	top: -0.4em;
}

s {
	text-decoration: line-through;
}

img {
	border: 0;
	padding: 0;
}

ul,
ol {
	margin: 0;
	padding: 0 0 0 1em;
}

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

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

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

.gallery_image_caption {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
	line-height: 1.3;
	font-family: 'Neue Haas Grotesk', Icons;
	font-style: normal;
	font-weight: 400;
	color: rgba(41, 41, 41, 0.3);
}

/**
 * Loading Animation
 */

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

/**
 * Editor styles
 */

[data-predefined-style="true"] bodycopy {
	font-size: 2rem;
	font-weight: 700;
	color: rgba(242, 242, 242, 0.9);
	font-family: "D-DIN Condensed", Icons;
	font-style: normal;
	line-height: 1.3;
    letter-spacing: 0.01em;
}

[data-predefined-style="true"] bodycopy a {
	color: rgba(110, 169, 221, 0.9);
	padding-bottom: 0.1em;
	border-bottom: 1px solid rgba(0, 0, 0, 0.9);
	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: "D-DIN Condensed", Icons;
	font-style: normal;
	font-weight: 700;
	padding: 0;
	margin: 0;
	font-size: 3rem;
	line-height: 1;
	color: rgba(242, 242, 242, 0.9);
    letter-spacing: 0.01em;
	}

[data-predefined-style="true"] h1 a {
	color: rgba(242, 242, 242, 0.9);
    border-bottom: 1px solid rgb(41, 41, 41);
}

[data-predefined-style="true"] h2 {
	font-family: "D-DIN Condensed", Icons;
	font-style: normal;
	font-weight: 700;
	padding: 0;
	margin: 0;
	color: rgba(242, 242, 242, 0.9);
	font-size: 1.4rem;
	line-height: 1;
	}

[data-predefined-style="true"] h2 a {
	color: rgba(242, 242, 242, 0.9);
    border-bottom: 1px solid rgb(41, 41, 41);
}

[data-predefined-style="true"] small {
	display: inline-block;
	font-size: 1rem;
	line-height: 1.3;
	font-family: "Diatype Mono Variable", Icons;
	font-style: normal;
	font-weight: 400;
	color: rgba(242, 242, 242, 0.9);
	font-variation-settings: 'slnt' 0, 'MONO' 1;
}

[data-predefined-style="true"] small a {
	color: rgba(110, 169, 221, 0.9);
	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: auto /*!content_center*/;
	margin-right: auto /*!content_center*/;
	text-align: left /*!text_left*/;
}

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

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

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


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

/**
 * Thumbnails
 */

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

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

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

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

[data-css-preset] [thumbnails-gutter] {
    margin: -1.2rem/*!thumbnails_padding*/;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
    padding: 0.6rem/*!responsive_thumbnails_padding*/; 
}

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

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

.thumbnails .title {
    margin-top: 1.2rem;
    margin-bottom: 0.1rem;
    font-size: 2.2rem;
	font-weight: bold;
	color: rgba(217, 247, 80, 1);
	font-family: 'D-DIN Condensed', Icons;
	font-style: normal;
	line-height: 1.3;
}


.thumbnails .tags {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
	line-height: 1.3;
	font-weight: 400;
	color: rgba(0, 0, 0, .35);
	font-family: 'Neue Haas Grotesk', Icons;
	font-style: normal;
}

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

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

/**
 * Thumbnail Hover
 */

.thumbnails .thumbnail > a {
    overflow:hidden;
	position: relative;
}

.thumbnails .thumbnail .title {
	background: rgba(37, 37, 37, 1);
    padding: 0.5rem 1.2rem 0.7rem 1.2rem;
    margin: 2.4rem;
    color: rgba(255, 255, 255, 1);
    align-content: center;
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9;
    opacity: 0;
}

.thumbnails .title span {
	margin: auto;
	display: inline-block;
}

.thumbnails .thumbnail:hover .title {
    opacity: 1;
}

body.mobile .thumbnails .thumbnail:hover .title {
	opacity: 0;
}

/**
 * Site Menu
 */

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

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

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

#site_menu_button.active {
	display: none;
}

/**
 * Site Menu
 */

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

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

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

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

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

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

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

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

#site_menu .break {
	height: 28px;
}

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

/*
 * Shop Button
 */

[data-css-preset] #shop_button {
	color: rgba(0, 0, 0, 0.85);
    background: transparent;
	font-size: 40px;
    font-style: normal;
	font-weight: 400;
    line-height: 1;
    position: fixed;
	padding: 6px;
	top: 1.2rem /*!shop_button*/;
	right: 1.2rem /*!shop_button*/;
}

#shop_button.text {
    font-family: "Neue Haas Grotesk", Icons;
	font-size: 2.2rem;
    padding: 0;
    line-height: 1.2;
	font-style: normal;
	font-weight: 400;
}

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

body.mobile #shop_button:not(.text) {
	margin: -6px;
    font-size: 46px;
}

/*
 * Shop Product Widget
 */

.shop_product {
    width: 100%;
	max-width: 22rem;
    position: relative;
    display: block;
}

.shop_product .price {
	font-family: "Neue Haas Grotesk", Icons;
	font-style: normal;
	font-weight: 400;
	font-size: 1.4rem;
	line-height: 1;
	color: rgba(0, 0, 0, 0.9);
    display: block;
    margin-bottom: 1rem;
}

.shop_product .dropdown {
    font-family: "Neue Haas Grotesk", Icons;
    color: rgba(0, 0, 0, .9);
    font-size: 1.4rem;
    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: .8rem 2.5rem .8rem 1rem;
}

.shop_product .button {
    font-family: "Neue Haas Grotesk", Icons;
	font-size: 1.4rem;
    background: rgba(0, 0, 0, 0.8);
    color: rgba(255,255,255,1);
    flex: 0 0 50%;
    text-align: left;
    display: inline-block;
	line-height: 1;
    padding: .8rem 1rem .9rem;
}

/*
 * Image Zoom
 */

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

/**
 * Quick View
 */

[data-css-preset] .quick-view {
    padding-top: 2.5rem /*!quick_view_padding*/;
    padding-bottom: 2.5rem /*!quick_view_padding*/;
    padding-left: 2.5rem /*!quick_view_padding*/;
    padding-right: 2.5rem /*!quick_view_padding*/;
    height: 100% /*!quick_view_height*/;
    width: 100% /*!quick_view_width*/;
}

body.mobile .quick-view {
    width: 100%;
    height: 100%;
    margin: 0;
}


[data-css-preset] .quick-view-background {
	background: rgba(0, 0, 0, 0.8) /*!quick_view_bgcolor*/;
}

.quick-view-caption {
    font-family: "Neue Haas 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.3rem;
    line-height: 3.5;
	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: 36rem;
    height: 3.3rem;
    outline: 1px solid rgba(0,0,0,0.15);
    color: rgba(0, 0, 0, 0.6);
    background: #fff;
    font-size: 1.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;
}

[data-css-preset] .container {
	margin-left: auto /*!content_center*/;
	margin-right: auto /*!content_center*/;
}

[data-css-preset] .container_width {
	width: 89%;
}


/* ============================================
   NICK SWEENEY — CARGO SITE CUSTOM CSS
   v4 — always-visible titles + logos design
   Paste this REPLACING everything after line 751
   of the original Cargo template CSS
   ============================================ */


/* ----- 1. FONT FIX -----
   Replace Times with Neue Haas Grotesk on body text only.
   Does NOT touch nav, headings, or icon fonts. */

.content_container .page_content p,
.content_container .page_content div:not(.title) {
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* Preserve D-DIN Condensed AND Icons font on nav/headings.
   The "Icons" font is what renders your Instagram + Twitter logos. */
h1, h1 a,
h2, h2 a, h2 div, h2 div a,
h3,
.pinned_top h1,
.pinned_top h2,
.pinned_top a,
.pinned_top span {
  font-family: "D-DIN Condensed", Icons !important;
}


/* ----- 2. THUMBNAIL HOVER — SUBTLE IMAGE EFFECT -----
   No title on hover; just a gentle zoom + brightness boost. */

.thumbnails .thumbnail .thumb_image > img {
  transition: transform 0.5s ease, filter 0.3s ease;
}

.thumbnails .thumbnail:hover .thumb_image > img {
  transform: scale(1.02);
  filter: brightness(1.05) saturate(1.05);
}



/* ----- 3. ALWAYS-VISIBLE TITLES (bottom-left) -----
   Cargo's default .title is hidden (opacity:0) and shown on hover.
   We override it to be always visible, pinned bottom-left. */

.thumbnails .thumbnail .title {
  background: none !important;
  padding: 14px 10px !important;
  margin: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  text-align: left !important;
  box-sizing: border-box !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 2 !important;
  transition: none !important;
}

.thumbnails .thumbnail .title span {
  font-family: "D-DIN Condensed", "Arial Narrow", "Helvetica Neue", Helvetica, sans-serif !important;
  font-weight: 400 !important;
  font-size: 1.25rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  display: block !important;
  text-align: left !important;
  text-shadow: none !important;
}

/* Don't change title on hover */
.thumbnails .thumbnail:hover .title {
  opacity: 1 !important;
}

/* Hide titles on mobile to keep it clean */
body.mobile .thumbnails .thumbnail .title {
  opacity: 0 !important;
}


/* ----- 4. ABOUT PAGE LAYOUT FIX -----
   Targets the About page by its Cargo page ID */

/* ----- 4. ABOUT PAGE LAYOUT — FLOAT IMAGE INTO TEXT ----- */

/* ----- 4. ABOUT PAGE LAYOUT — FLOAT IMAGE INTO TEXT ----- */

/* Container: single block column */
.page_container[local-style="30634956"] [grid-row] {
  display: block !important;
  max-width: 780px !important;
  margin: 50px auto 0 !important;
  padding: 0 20px !important;
  border-top: none !important;
  background-image: none !important;
  position: relative !important;
}

/* Text column: full width block with float placeholder */
.page_container[local-style="30634956"] [grid-col="x11"]:first-child {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Invisible float placeholder — creates the wrap space */
.page_container[local-style="30634956"] [grid-col="x11"]:first-child::before {
  content: '' !important;
  float: right !important;
  width: 338px !important;
  height: 423px !important;
  margin: 0 0 20px 30px !important;
}

/* Image column: positioned over the float placeholder */
.page_container[local-style="30634956"] [grid-col="x11"]:last-child {
  position: absolute !important;
  top: 0 !important;
  right: 20px !important;
  width: 338px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.page_container[local-style="30634956"] [grid-col="x11"]:last-child img {
  width: 338px !important;
  max-width: 338px !important;
  height: auto !important;
  display: block !important;
}

.page_container[local-style="30634956"] .page_content small {
  display: block !important;
}




/* ----- 5. PRESS PAGE — CLEANER LINK STYLING ----- */

.page_container[local-style] a {
  transition: border-color 0.2s ease, color 0.2s ease;
}


/* ----- 6. GENERAL POLISH ----- */

.content_container {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

a {
  transition: color 0.2s ease;
}


/* ----- 7. VIGNETTES + LOGO OVERLAYS -----
   Dual corner vignettes (injected by JS as .ns-vignette)
   keep titles and logos legible without drop shadows. */

/* Vignette overlay (inserted by JS into .thumb_image) */
.ns-vignette {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse at bottom left,
      rgba(0,0,0,0.28) 0%,
      rgba(0,0,0,0.08) 30%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at bottom right,
      rgba(0,0,0,0.22) 0%,
      rgba(0,0,0,0.06) 25%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 1;
}

/* Logo container: bottom-right */
.ns-logo-overlay {
  position: absolute;
  bottom: 11px;
  right: 14px;
  left: auto;
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}

/* Image-based logos: invert to white */
.ns-logo-img {
  height: 30px;
  width: auto;
  opacity: 0.92;
  filter: brightness(0) invert(1);
  display: block;
}

/* Round badge (Vimeo Staff Pick) */
.ns-badge-round {
  height: 40px !important;
  width: 40px !important;
}

/* Netflix: keep original red color, no white filter */
.ns-no-filter {
  filter: none !important;
}

/* SXSW laurel: transparent PNG, use screen blend for safety */
.ns-sxsw {
  filter: none !important;
  mix-blend-mode: screen;
}

/* Text-based logos (TLC etc) */
.ns-text-logo {
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 900 !important;
  font-size: 22px !important;
  letter-spacing: 2px !important;
  color: white !important;
  opacity: 0.92;
  line-height: 1;
}

/* ----- 8. HEADER-TO-THUMBNAIL GAP FIX ----- */
/* Hide the stray BR in pinned header and tighten bottom padding */
.pinned_top .page_content > br {
  display: none;
}
.pinned_top bodycopy.content_padding {
  padding-bottom: 0px;
}


/* ----- 9. SUBTLE PAGE ANIMATIONS ----- */
/* Fade-in for the header */
.pinned_top .page_content {
  animation: nsFadeIn 0.6s ease-out both;
}

/* Thumbnails fade up gently */
.thumbnails .thumbnail {
  opacity: 0;
  transform: translateY(12px);
  animation: nsFadeUp 0.5s ease-out forwards;
}
.thumbnails .thumbnail:nth-child(1) { animation-delay: 0.15s; }
.thumbnails .thumbnail:nth-child(2) { animation-delay: 0.25s; }
.thumbnails .thumbnail:nth-child(3) { animation-delay: 0.35s; }
.thumbnails .thumbnail:nth-child(4) { animation-delay: 0.45s; }
.thumbnails .thumbnail:nth-child(5) { animation-delay: 0.55s; }
.thumbnails .thumbnail:nth-child(6) { animation-delay: 0.6s; }
.thumbnails .thumbnail:nth-child(7) { animation-delay: 0.65s; }
.thumbnails .thumbnail:nth-child(8) { animation-delay: 0.7s; }
.thumbnails .thumbnail:nth-child(9) { animation-delay: 0.75s; }
.thumbnails .thumbnail:nth-child(10) { animation-delay: 0.8s; }

@keyframes nsFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes nsFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Page content fade-in when navigating to About, project pages, etc. */
.page_content {
  animation: nsFadeUp 0.45s ease-out both;
}

/* ----- 10. NAV LINK SIZE BUMP ----- */
.pinned_top a[href*="ABOUT"],
.pinned_top a[href*="PRESS"],
.pinned_top a[href*="CLIENTS"],
.pinned_top a[href*="CONTACT"] {
  font-size: 24px !important;
}

/* ----- 11. PROJECT PAGE — DESIGN TIGHTENING ----- */
/* Max-width for readable text lines on project/sub pages */
.page_container:not(.overlay) > .page .page_content {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 30px;
}

/* Better line-height for project body text */
.page_container:not(.overlay) > .page .page_content small {
  font-size: 14.5px;
  line-height: 1.55;
  letter-spacing: -0.2px;
}

/* Section headers — give them presence */
/* Only target bold text that is the first child of its small parent (section headers like "Credits:") */
.page_container:not(.overlay) > .page .page_content small > b:first-child {
  font-size: 1.1em;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Divider above credits/press rows that contain bold headers */
.page_container:not(.overlay) > .page .page_content > div:has(small b) {
  border-top: none;
  padding-top: 20px;
  margin-top: 24px;
  background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9));
  background-size: calc(100% - 52px) 1px;
  background-repeat: no-repeat;
  background-position: center top;
}

/* Contact/representation block at bottom */
.page_container:not(.overlay) > .page .page_content > div:last-of-type:not(:has(small b)):not(.image-gallery) {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  margin-top: 24px;
}


/* Fix font on pages using Cargo grid layout (e.g. I Hate Perfume) */
.page_container:not(.overlay) > .page .page_content [grid-col] {
  font-family: "Diatype Mono Variable", monospace !important;
}

/* ----- 6. MOBILE RESPONSIVE ----- */
@media (max-width: 768px) {

  /* Stack project page synopsis/credits columns on mobile */
  .page_container:not(.overlay) > .page .page_content [grid-row] {
    display: block !important;
  }

  .page_container:not(.overlay) > .page .page_content [grid-row] > [grid-col] {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 20px !important;
  }

  /* Show program names on mobile thumbnails */
  .thumbnails .title {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 3 !important;
  }

  /* About page: stack image above text on mobile */
  .page_container[local-style="30634956"] [grid-col="x11"]:first-child::before {
    display: none !important;
  }

  .page_container[local-style="30634956"] [grid-col="x11"]:last-child {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 280px !important;
    margin-bottom: 24px !important;
  }
}
