/**
 * Mathieu Brelière — Cargo global CSS
 * Consolidated version — August 2026
 *
 * Includes:
 * - Cargo base typography and layout
 * - desktop and mobile site menu
 * - homepage hero and responsive project grid
 * - thumbnail hover titles
 * - Quick View
 * - project title plus previous/next navigation
 */

/* ------------------------------------------------------------
   Variables
------------------------------------------------------------ */

:root {
	--text: rgba(0, 0, 0, 0.85);
	--muted: rgba(0, 0, 0, 0.4);
	--accent: #33348e;
	--active: #ff4a00;
	--white: #fff;
	--dark-panel: rgba(20, 20, 20, 0.96);
	--font-ui: "Helvetica Neue", Helvetica, Arial, sans-serif, Icons;
	--font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif,
		Icons;
}

/* ------------------------------------------------------------
   Base
------------------------------------------------------------ */

html {
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	background: var(--white);
	color: #000;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover,
small:hover {
	color: var(--accent);
	text-decoration: none;
}

a:active {
	opacity: 0.7;
}

.page a.active {
	color: var(--active);
}

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,
video,
picture,
media-item {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
	padding: 0;
	border: 0;
}

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

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

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

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

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

/* ------------------------------------------------------------
   Predefined Cargo typography
------------------------------------------------------------ */

.gallery_image_caption,
.thumbnails .tags {
	margin-top: 1rem;
	margin-bottom: 0.5rem;
	color: var(--muted);
	font-family: var(--font-ui);
	font-size: 1.2rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.3;
}

[data-predefined-style="true"] bodycopy {
	color: var(--text);
	font-family: "Nitti Grotesk", Icons;
	font-size: 1.6rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.3;
}

[data-predefined-style="true"] bodycopy a {
	padding-bottom: 0.1em;
	border-bottom: 0 solid rgba(127, 127, 127, 0.2);
	color: var(--text);
	text-decoration: none;
}

bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
	padding-bottom: 0;
	border-bottom: 0;
}

[data-predefined-style="true"] h1,
[data-predefined-style="true"] h2 {
	margin: 0;
	padding: 0;
	color: var(--text);
	font-style: normal;
	font-weight: 400;
}

[data-predefined-style="true"] h1 {
	font-family: "Social Variable", Icons;
	font-size: 1.2rem;
	font-variation-settings: "wdth" 100, "slnt" 0;
	line-height: 1.2;
}

[data-predefined-style="true"] h2 {
	font-family: "Alegreya Sans", Icons;
	font-size: 1rem;
	line-height: 1;
}

[data-predefined-style="true"] h1 a,
[data-predefined-style="true"] h2 a {
	color: var(--text);
}

[data-predefined-style="true"] small {
	display: inline-block;
	color: var(--text);
	font-family: Paysage, Icons;
	font-size: 1.1rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
}

[data-predefined-style="true"] small a {
	border-bottom-width: 0;
	color: #000;
}

/* ------------------------------------------------------------
   Cargo layout
------------------------------------------------------------ */

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

[data-css-preset] body {
	background-color: transparent /*!body_bgcolor*/;
}

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

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

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

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

[data-css-preset] .content_padding {
	padding: 1.6rem /*!main_margin*/;
}

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

/* ------------------------------------------------------------
   Cargo thumbnails
------------------------------------------------------------ */

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

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

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

[data-css-preset] [thumbnails-pad],
[data-css-preset] [responsive-layout] [thumbnails-pad] {
	padding: 0.5rem /*!thumbnails_padding*/;
}

[data-css-preset] [thumbnails-gutter],
[data-css-preset] [responsive-layout] [thumbnails-gutter] {
	margin: -1rem /*!thumbnails_padding*/;
}

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

.thumbnails .title {
	margin-top: 0.8rem;
	margin-bottom: 0.2rem;
	color: var(--text);
	font-family: var(--font-ui);
	font-size: 1.2rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.2;
}

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

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

/* ------------------------------------------------------------
   Site menu
------------------------------------------------------------ */

#site_menu_button,
[data-css-preset] #site_menu_button {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

#site_menu {
	position: relative;
	display: flex;
	min-width: 300px;
	max-width: 400px;
	padding: 20px 30px 90px;
	justify-content: flex-start;
	background: rgba(20, 20, 20, 0.95);
	font-family: var(--font-system);
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	text-align: left;
}

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

#site_menu .set-link > a {
	font-weight: 700;
}

#site_menu a:active {
	opacity: 0.7;
}

#site_menu a.active {
	opacity: 0.4;
}

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

#site_menu .break {
	height: 28px;
}

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

/* ------------------------------------------------------------
   Shop / product widgets
------------------------------------------------------------ */

[data-css-preset] #shop_button {
	position: fixed;
	top: 2rem /*!shop_button*/;
	right: 2rem /*!shop_button*/;
	padding: 6px;
	background: transparent;
	color: var(--text);
	font-size: 32px;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
}

#shop_button.text,
.shop_product .price,
.shop_product .dropdown,
.shop_product .button {
	font-family: var(--font-ui);
	font-style: normal;
	font-weight: 400;
}

#shop_button.text {
	padding: 0;
	color: var(--text);
	font-size: 2rem;
}

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

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

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

.shop_product .price {
	display: block;
	margin-bottom: 1rem;
	color: var(--text);
	font-size: 1.6rem;
	line-height: 1;
}

.shop_product .dropdown {
	display: inline-block;
	width: 100%;
	margin-bottom: 1rem;
	padding: 0.6rem 2.6rem 0.7rem 1rem;
	border: 1px solid rgba(0, 0, 0, 0.2);
	background: #fff
		url(https://static.cargo.site/assets/images/select-line-arrows.svg)
		no-repeat right;
	color: var(--text);
	font-size: 1.6rem;
	line-height: 1.4;
}

.shop_product .button {
	display: inline-block;
	flex: 0 0 50%;
	padding: 0.8rem 1rem 0.9rem;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	font-size: 1.6rem;
	line-height: 1;
	text-align: left;
}

/* ------------------------------------------------------------
   Quick View
------------------------------------------------------------ */

[data-css-preset] .quick-view {
	width: 82% /*!quick_view_width*/;
	height: 82% /*!quick_view_height*/;
	margin: auto /*!quick_view_center_center*/;
	padding: 1.5rem /*!quick_view_padding*/;
}

body.mobile .quick-view {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0.8rem;
}

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

.quick-view-caption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	margin: 3.5rem 0;
	font-family: var(--font-ui);
	font-size: 1.2rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	transition: opacity 100ms ease-in-out;
}

.quick-view-caption span {
	display: inline-block;
	padding: 0.5rem 1rem;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
}

.quick-view-navigation .left-arrow {
	left: 10px;
}

.quick-view-navigation .right-arrow {
	right: 10px;
}

.quick-view-navigation .left-arrow,
.quick-view-navigation .right-arrow,
.quick-view-navigation .close-button,
.image-gallery-navigation .left-arrow,
.image-gallery-navigation .right-arrow,
.wallpaper-navigation .left-arrow,
.wallpaper-navigation .right-arrow {
	width: 36px;
	height: 36px;
}

.quick-view-navigation .close-button {
	top: 10px;
	right: 10px;
}

.quick-view-navigation .left-arrow .inner-color,
.quick-view-navigation .right-arrow .inner-color,
.quick-view-navigation .close-button .inner-color,
.image-gallery-navigation .left-arrow .inner-color,
.image-gallery-navigation .right-arrow .inner-color,
.wallpaper-navigation .left-arrow .inner-color,
.wallpaper-navigation .right-arrow .inner-color {
	stroke: rgba(255, 255, 255, 0.85);
	stroke-width: 1.5px;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color,
.quick-view-navigation .close-button .outer-color {
	stroke: transparent;
	stroke-width: 2.5px;
}

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

/* ------------------------------------------------------------
   Feed / utilities / audio
------------------------------------------------------------ */

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

.rotate {
	display: inline-block;
	animation: rotate 7s linear infinite;
}

@keyframes rotate {
	to {
		transform: rotate(360deg);
	}
}

.audio-player {
	max-width: 36rem;
	height: 3.3rem;
	margin: 1px 1px 1em;
	outline: 1px solid rgba(0, 0, 0, 0.15);
	background: #fff;
	color: rgba(0, 0, 0, 0.6);
	font-family: var(--font-system);
	font-size: 1.2rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.3;
	text-align: left;
}

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

.audio-player .separator {
	width: 1px;
	background: rgba(0, 0, 0, 0.15);
}

.audio-player .button {
	background: transparent;
	cursor: pointer;
	fill: var(--text);
}

.audio-player .icon {
	width: 100%;
	margin: auto;
	padding: 30%;
	fill: var(--text);
}

.audio-player .buffer {
	background: rgba(0, 0, 0, 0.03);
}

.audio-player .progress {
	background: rgba(0, 0, 0, 0.1);
}

.audio-player .note-icon {
	width: 3.8rem;
	height: 100%;
	padding: 1rem;
	fill: rgba(0, 0, 0, 0.5);
}

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

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

.audio-player .progress-indicator {
	position: absolute;
	right: 0;
	width: 1px;
	height: 100%;
	border: 1px solid rgba(0, 0, 0, 0.7);
	cursor: ew-resize;
}

.hover-title {
	display: inline;
	cursor: pointer;
	pointer-events: auto;
}

.hover-image {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: -1;
	display: flex;
	width: 90vw;
	height: 90vh;
	visibility: hidden;
	transform: translate(-50%, -50%);
	align-items: center;
	justify-content: center;
	flex-direction: column;
	pointer-events: none;
}

body:not(.mobile) .hover-title:hover + .hover-image {
	visibility: visible;
}

.hover-image img {
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin-bottom: 0;
}

/* ------------------------------------------------------------
   Homepage hero and project grid
------------------------------------------------------------ */

.home-title-row,
.selected-works-row {
	margin-top: 0;
	margin-bottom: 0;
}

.home-section-title {
	margin: 0;
	padding: 0;
	line-height: 1;
}

.home-recent-header {
	display: none !important;
}

.home-recent-section,
.home-grid-wrap {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.home-hero {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin: 0 0 18px;
	padding: 0;
	overflow: hidden;
	background: #000;
	line-height: 0;
}

.home-hero iframe {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

.home-hero-click-target {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	cursor: pointer;
}

.home-scroll-grid,
.video-gallery {
	display: grid;
}

.home-scroll-grid {
	box-sizing: border-box;
	display: grid !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 18px;
	row-gap: 18px;
	align-items: start;
	overflow: visible !important;
	transform: none !important;
}

.video-gallery {
	gap: 0.75rem;
}

.video-thumb,
.home-scroll-grid .video-thumb {
	position: relative;
	display: block;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	aspect-ratio: 16 / 9;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	isolation: isolate;
	contain: paint;
	background: #f5f5f5;
	color: inherit;
	line-height: 0;
	text-decoration: none;
	vertical-align: top;
}

.video-thumb > *,
.home-scroll-grid .video-thumb > *,
.home-scroll-grid .video-thumb img,
.home-scroll-grid .video-thumb media-item,
.home-scroll-grid .video-thumb picture,
.home-scroll-grid .video-thumb video {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover !important;
	object-position: var(--pos, center center) !important;
}

.video-thumb::before,
.video-thumb::after {
	position: absolute;
	pointer-events: none;
	opacity: 0;
}

.video-thumb::after {
	content: "";
	inset: 0;
	z-index: 1;
	display: block;
	background: rgba(0, 0, 0, 0.34);
	transition: opacity 260ms ease;
}

.video-thumb::before {
	content: attr(data-title);
	top: 50%;
	left: 50%;
	z-index: 2;
	display: block;
	width: calc(100% - 40px);
	transform: translate(-50%, -45%);
	color: #fff;
	font-family: var(--font-ui);
	font-size: 10px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
	transition: opacity 260ms ease, transform 260ms ease;
}

.video-thumb img,
.video-thumb media-item,
.video-thumb video,
.video-thumb picture {
	transition: filter 250ms ease, opacity 250ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.video-thumb:hover::after,
	.video-thumb:hover::before {
		opacity: 1;
	}

	.video-thumb:hover::before {
		transform: translate(-50%, -50%);
	}

	.video-thumb:hover img,
	.video-thumb:hover media-item,
	.video-thumb:hover video,
	.video-thumb:hover picture {
		opacity: 0.9;
		filter: grayscale(100%) brightness(55%);
		transform: none !important;
	}
}

/* ------------------------------------------------------------
   Project page heading and navigation
------------------------------------------------------------ */

.mb-project-header {
	display: grid;
	width: 100%;
	margin: 0 0 2em;
	padding: 0;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 1.5rem;
	align-items: start;
}

html body .mb-project-header .auto-project-title {
	display: block !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	color: rgba(0, 0, 0, 0.52) !important;
	font-family: "Social Variable", Icons !important;
	font-size: 1.2rem !important;
	font-style: normal !important;
	font-weight: 400 !important;
	font-variation-settings: "wdth" 100, "slnt" 0;
	line-height: 1.2 !important;
	letter-spacing: 0.04em !important;
	text-align: left !important;
	text-transform: uppercase !important;
}

.mb-project-controls {
	margin: 0;
	padding: 0;
	font-family: "Alegreya Sans", var(--font-ui);
	font-size: 1rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.15;
	text-align: right;
}

.mb-project-controls[hidden] {
	display: none !important;
}

.mb-project-count {
	margin: 0;
	opacity: 0.45;
}

.mb-project-nav {
	display: flex;
	margin-top: 0;
	gap: 0.65em;
	justify-content: flex-end;
	white-space: nowrap;
}

.mb-project-nav-separator {
	opacity: 0.35;
}

.mb-project-controls a,
.project-film-page a {
	color: inherit;
	text-decoration: none;
}

.mb-project-controls a:hover,
.project-film-page a:hover,
.project-film-page summary:hover {
	color: red;
}

.mb-more-summary {
	cursor: pointer;
	list-style: none;
}

.mb-more-summary::-webkit-details-marker {
	display: none;
}

.mb-more-open {
	display: none;
}

details[open] .mb-more-closed {
	display: none;
}

details[open] .mb-more-open {
	display: inline;
}

.mb-project-more-content {
	margin-top: 10px;
	margin-bottom: 10px;
	line-height: 1.45;
	text-align: left;
}

/* ------------------------------------------------------------
   Tablet
------------------------------------------------------------ */

@media (max-width: 1000px) {
	.home-scroll-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 16px;
		row-gap: 16px;
	}

	.home-hero {
		margin-bottom: 16px;
	}
}

@media (max-width: 900px) {
	[data-css-preset] .container_width {
		width: 82% /*!content_center*/;
	}
}

/* ------------------------------------------------------------
   Mobile
------------------------------------------------------------ */

@media (max-width: 700px) {
	[data-css-preset] .container_width {
		width: 100% /*!content_center*/;
	}

	[data-css-preset] .content_padding {
		padding: 4.1rem 1rem 1rem /*!main_margin*/;
	}

	body::before {
		content: "";
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 99990;
		width: 100vw;
		height: 3.25rem;
		border-bottom: 1px solid rgba(0, 0, 0, 0.12);
		background: rgba(255, 255, 255, 0.98);
		pointer-events: none;
	}

	#site_menu_button,
	[data-css-preset] #site_menu_button,
	body.mobile #site_menu_button,
	.mobile #site_menu_button,
	[data-css-preset].mobile #site_menu_button {
		position: fixed !important;
		top: 0 !important;
		left: 50% !important;
		right: auto !important;
		z-index: 100000 !important;
		display: flex !important;
		visibility: visible !important;
		width: auto !important;
		height: 3.25rem !important;
		margin: 0 !important;
		padding: 0 0.7rem !important;
		transform: translateX(-50%) !important;
		align-items: center !important;
		justify-content: center !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		color: rgba(0, 0, 0, 0.9) !important;
		font-size: 25px !important;
		line-height: 1 !important;
		mix-blend-mode: normal !important;
		opacity: 1 !important;
		pointer-events: auto !important;
	}

	#site_menu_button::after {
		content: "MENU";
		margin-left: 0.55rem;
		color: rgba(0, 0, 0, 0.72);
		font-family: var(--font-ui);
		font-size: 8.5px;
		font-weight: 400;
		line-height: 1;
		letter-spacing: 0.16em;
	}

	#site_menu {
		box-sizing: border-box !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		padding: 6.4rem 24px 90px !important;
		background: var(--dark-panel) !important;
	}

	#site_menu::before {
		content: "";
		position: absolute;
		top: 4.65rem;
		left: 24px;
		right: 24px;
		height: 1px;
		background: rgba(255, 255, 255, 0.25);
		pointer-events: none;
	}

	#site_menu .page-link:first-of-type,
	#site_menu .set-link:first-of-type {
		margin-top: 0.4rem !important;
	}

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

	.home-recent-section,
	.home-grid-wrap {
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 0;
	}

	.home-scroll-grid {
		grid-template-columns: 1fr;
		column-gap: 0;
		row-gap: 0.85rem;
	}

	.home-hero {
		margin-bottom: 0.85rem;
	}

	.video-thumb::after,
	.home-scroll-grid .video-thumb::after {
		opacity: 1;
		background: linear-gradient(
			to bottom,
			rgba(0, 0, 0, 0.02) 0%,
			rgba(0, 0, 0, 0.08) 45%,
			rgba(0, 0, 0, 0.38) 100%
		);
	}

	.video-thumb::before,
	.home-scroll-grid .video-thumb::before {
		top: auto;
		left: 1rem;
		right: 1rem;
		bottom: 0.85rem;
		width: auto;
		transform: none;
		opacity: 1;
		color: #fff;
		font-size: 10px;
		line-height: 1.25;
		letter-spacing: 0.11em;
		text-align: left;
	}

	.video-thumb:hover::before,
	.video-thumb:hover img,
	.video-thumb:hover media-item,
	.video-thumb:hover video,
	.video-thumb:hover picture {
		transform: none;
	}

	.video-thumb:hover img,
	.video-thumb:hover media-item,
	.video-thumb:hover video,
	.video-thumb:hover picture {
		opacity: 1;
		filter: none;
	}

	.mb-project-header {
		margin-bottom: 1rem;
		column-gap: 0.75rem;
	}

	html body .mb-project-header .auto-project-title {
		font-size: 1rem !important;
		letter-spacing: 0.035em !important;
	}

	.mb-project-controls {
		font-size: 0.9rem;
	}

	body.mobile .quick-view-caption,
	.mobile .quick-view-caption {
		margin: 2rem 0;
		font-size: 1.1rem;
	}
}

/* ------------------------------------------------------------
   Small mobile
------------------------------------------------------------ */

@media (max-width: 430px) {
	[data-css-preset] .content_padding {
		padding-top: 4rem /*!main_margin*/;
		padding-right: 0.8rem /*!main_margin*/;
		padding-left: 0.8rem /*!main_margin*/;
	}

	.home-scroll-grid {
		row-gap: 12px;
	}

	.home-hero {
		margin-bottom: 12px;
	}

	.video-thumb::before,
	.home-scroll-grid .video-thumb::before {
		left: 0.85rem;
		right: 0.85rem;
		bottom: 0.75rem;
		font-size: 9.5px;
		letter-spacing: 0.105em;
	}

	.mb-project-header {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.mb-project-nav {
		gap: 0.4em;
	}
}

/* ------------------------------------------------------------
   Reduced motion
------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	.rotate {
		animation: none;
	}

	.video-thumb img,
	.video-thumb media-item,
	.video-thumb video,
	.video-thumb picture,
	.video-thumb::before,
	.video-thumb::after,
	.quick-view-caption {
		transition: none;
	}
}
