/* Normal weight; Normal style */
@font-face {
    font-family: 'HIKARUMONO-Regular';
    font-weight: normal;
    font-style: normal;
    src: url('https://files.cargocollective.com/c1355083/HIKARUMONO-Regular.otf') format('opentype');
}

/* Normal weight; Normal style */
@font-face {
    font-family: 'ManifontGroteskBook';
    font-weight: normal;
    font-style: normal;
    src: url('https://files.cargocollective.com/c1355083/ManifontGroteskBook-webfont.woff') format('woff');
}

#toolset {
	display: none;
}

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

a:active {
	opacity: 0.7;
}

.page a.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 {
	border: 0;
	padding: 0;
}

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

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

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

.content img {
	float: none;
	margin-bottom: 2rem;
    vertical-align: bottom;
}

[image-gallery="slideshow"] {
    margin-bottom: 2rem;
}

.gallery_image_caption {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.30);
	font-family: "Monument Grotesk Mono", Icons;
	font-style: normal;
	line-height: 1.2;	
}

/**
 * Loading Animation
 */

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

/**
 * Editor styles
 */

[data-predefined-style="true"] bodycopy {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.75);
	font-family: "Courier New", "Courier New", monospace, "Courier New", Icons;
	line-height: 1.2;
	font-weight: normal;
	font-style: normal;
}

[data-predefined-style="true"] bodycopy a {
	color: rgba(210, 230, 239, 0.75);
	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: HIKARUMONO-Regular, Icons;
	padding: 0;
	margin: 0;
	font-size: 1.8rem;
	line-height: 1.1;
	color: rgba(255, 255, 255, 0.75);
	font-style: normal;
	font-weight: 400;
}

[data-predefined-style="true"] h1 a {
	color: rgba(210, 230, 239, 0.75);
}

[data-predefined-style="true"] h2 {
	font-family: "HIKARUMONO-Regular", Icons;
	font-style: normal;
	font-weight: 300;
	padding: 0;
	margin: 0;
	color: rgba(255, 255, 255, 0.75);
	font-size: 2.6rem;
	line-height: 1.2;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
	}

[data-predefined-style="true"] h2 a {
	color: rgba(210, 230, 239, 0.75);
}

[data-predefined-style="true"] small {
	display: inline-block;
	font-size: 1.4rem;
	line-height: 1.2;
	font-family: "HIKARUMONO-Regular", Icons;
	font-style: normal;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.3);
}

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

/**
 * Breakpoints
 */


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

.mobile .page,
[data-css-preset].mobile .page {
	position: relative;
	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: center /*!text_center*/;
}

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

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

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

/**
 * Thumbnails
 */

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

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

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

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

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

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

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

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

.thumbnails .title {
    margin-top: 1.0rem;
    margin-bottom: 0.7rem;
    font-size: 1.5rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.85);
	font-family: Diatype, Icons;
	font-style: normal;
	line-height: 1.3;
}

.thumbnails .tags {
    margin-top: .8rem;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
	font-weight: 500;
	color: rgba(0, 0, 0, 0.3);
	font-family: "Monument Grotesk Mono", Icons;
	font-style: normal;
	line-height: 1.2;
}

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

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

/**
 * Site Menu Button
 */

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

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

#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: 32px;
    font-style: normal;
	font-weight: 400;
    line-height: 1;
    position: fixed;
	padding: 6px;
	top: 1rem /*!shop_button*/;
	left: 1.5rem /*!shop_button*/;
}

#shop_button.text {
    font-size: 1.6rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.75);
	font-family: Diatype, Icons;
    padding: 0;
    line-height: 1.3;
	font-style: normal;
}

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

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

/*
 * Shop Product Widget
 */

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

.shop_product .price {
	font-family: Diatype, Icons;
	font-size: 1.6rem;
	line-height: 1;
	color: rgba(0, 0, 0, 0.75);
    display: block;
    margin-bottom: 1rem;
	font-style: normal;
	font-weight: 400;
}

.shop_product .dropdown {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    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.3;
    padding: .7rem 2.5rem .8rem 1rem;
	font-style: normal;
	font-weight: 400;
    color: rgba(0, 0, 0, 0.75);
}

.shop_product .button {
	font-family: Diatype, Icons;
	font-size: 1.4rem;
    background: rgba(0, 0, 0, 0.75);
    color: rgba(255,255,255,1);
    flex: 0 0 50%;
    text-align: left;
    display: inline-block;
	line-height: 1.3;
    padding: .8rem 1rem .9rem;
	font-style: normal;
	font-weight: 700;
}

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

.quick-view-caption {
	font-family: "Monument Grotesk Mono", Icons;
    transition: 100ms opacity ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 3.5rem 0;
    text-align: center;
    font-size: 1.4rem;
	font-style: normal;
	font-weight: 400;
    line-height: 1.2;
}

.quick-view-caption span {
    padding: 0.5rem 1rem;
    display: inline-block;
    background: rgba(0,0,0,0.4);
    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: 0px;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.85);
    stroke-width: 2px;
}

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

.quick-view-navigation .close-button .outer-color {
    stroke: rgba(0, 0, 0, 0.85);
    stroke-width: 2px;
}

/** 
 * 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.4rem;
    line-height: 1.2;
	font-family: Diatype, 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;
}

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

.thumbnails .thumbnail .title {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1.2rem 0.7rem 1.2rem;
    margin: 0rem;
    color: rgba(255, 255, 255, 1);
    align-content: center;
    display: flex;
    position: absolute;
    left: 0rem;
    top: 0rem;
    right: 0rem;
    bottom: 0rem;
    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;
}

/* =========================================================
 * HOMEPAGE HERO VIDEO + FOOTER NAV
 * (custom additions — everything below this line is new)
 * ========================================================= */

/* Video's own page block becomes the fullscreen "stage" */
[local-style="26445406"].page_container {
    position: relative;
    height: 100vh;
    overflow: hidden;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

[local-style="26445406"] .content_padding {
	padding-top: 0rem /*!main_margin*/;
	padding-bottom: 0rem /*!main_margin*/;
	padding-left: 0rem /*!main_margin*/;
	padding-right: 0rem /*!main_margin*/;
}

/* Video sits inside that stage, filling it completely */
[local-style="26445406"] .page_content.empty-editor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 1;
}

/* Video itself: fill the box, no cropping (contain = full uncropped frame) */
[local-style="26445406"] video {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 !important;
}

/* ---------------------------------------------------------
 * FOOTER: nav (h1) and contact/instagram (small) are now
 * siblings inside the same block (local-style 23319630).
 * Flex them into one row: nav left, contact/IG right.
 * --------------------------------------------------------- */

[local-style="23319630"] .page_content.clearfix {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

[local-style="23319630"] h1,
[local-style="23319630"] small {
    margin: 0 !important;
    padding: 0 !important;
}

[local-style="23319630"] h1 {
    text-align: left !important;
}

[local-style="23319630"] small {
    text-align: right !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem;
}

/* Collapse the nav's line breaks so it reads as one line */
[local-style="23319630"] h1 br {
    display: none;
}

[local-style="23319630"] h1 {
    font-size: 1.6rem !important;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
    white-space: nowrap;
}

[local-style="23319630"] h1 a {
    margin-right: 1.5rem;
    display: inline-block;
    transition: letter-spacing 0.25s ease;
}

[local-style="23319630"] h1 a:hover {
    letter-spacing: 0.12em;
}

[local-style="23319630"] small {
    font-family: 'ManifontGroteskBook', Icons;
}

[local-style="23319630"] small a {
    transition: letter-spacing 0.25s ease;
    display: inline-block;
}

[local-style="23319630"] small a:hover {
    letter-spacing: 0.08em;
}

/* =========================================================
 * PORTFOLIO GRID: spacing + typography refresh
 * ========================================================= */

/* More generous gutter between thumbnails — was 0.4rem/-0.8rem */
[data-css-preset] [thumbnails-pad] {
    padding: 0.9rem !important;
}

[data-css-preset] [thumbnails-gutter] {
    margin: -0.9rem !important;
}

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

[data-css-preset] [responsive-layout] [thumbnails-gutter] {
    margin: -0.6rem !important;
}

/* Uniform crop so mixed-aspect-ratio stills sit in a consistent grid */
.thumbnails .thumb_image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.thumbnails .thumb_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Editorial, tracked-out label instead of default body-copy sizing */
.thumbnails .title {
    font-family: 'ManifontGroteskBook', Icons;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1.4rem;
    margin-bottom: 0.4rem;
}

/* Hover: soft bottom scrim + gentle image scale instead of full dark box */
.thumbnails .thumbnail .title {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 65%);
    padding: 0 1.4rem 1.4rem 1.4rem;
    align-items: flex-end;
    top: auto;
    height: 55%;
}

.thumbnails .title span {
    margin: 0;
    font-family: 'ManifontGroteskBook', Icons;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.thumbnails .thumb_image img,
.thumbnails .thumb_image video {
    transition: transform 0.2s ease;
}

/* Intentional glitch effect on hover — brief RGB/position jitter,
   fully clipped inside the thumbnail (thumb_image has overflow:hidden)
   so nothing can bleed into neighboring grid tiles */
@keyframes thumbGlitchJitter {
    0%   { transform: scale(1) translate(0, 0); filter: none; }
    35%  { transform: scale(1.02) translate(-0.4px, 0.2px); filter: hue-rotate(-2deg); }
    55%  { transform: scale(1.035) translate(0.4px, -0.2px); filter: hue-rotate(2deg); }
    75%  { transform: scale(1.035) translate(-0.2px, 0); filter: none; }
    100% { transform: scale(1.035) translate(0, 0); filter: none; }
}

.thumbnails .thumbnail:hover .thumb_image img,
.thumbnails .thumbnail:hover .thumb_image video {
    animation: thumbGlitchJitter 0.32s ease-out 1;
}

/* Scanline flicker overlay, contained within the thumbnail */
.thumbnails .thumb_image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.04) 0px,
        rgba(255, 255, 255, 0.04) 1px,
        transparent 1px,
        transparent 3px
    );
    mix-blend-mode: overlay;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 3;
}

.thumbnails .thumbnail:hover .thumb_image::before {
    opacity: 1;
}

/* =========================================================
 * FOOTER: pin to bottom of viewport so it's always visible,
 * no scrolling required (applies site-wide)
 * ========================================================= */

[local-style="23319630"].page_container {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    background: #000 !important;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.6);
    pointer-events: auto !important;
}

/* Leave room at the bottom of scrollable pages (like Work) so grid
   content doesn't get hidden behind the fixed footer bar */
body:not(.homepage) {
    padding-bottom: 5rem !important;
}

/* =========================================================
 * FINAL POLISH
 * ========================================================= */

/* Branded text selection instead of browser-default blue */
::selection {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
}

::-moz-selection {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
}

/* Thin, dark custom scrollbar (desktop / webkit browsers) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.45);
}

body {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) #000;
}

/* "VIEW" badge centered on a thumbnail on hover — CSS-only,
   no JS cursor-follow, but reads as an intentional interaction cue */
.thumbnails .thumbnail > a {
    overflow: hidden;
}

.thumbnails .thumbnail > a::after {
    content: "VIEW";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    font-family: 'ManifontGroteskBook', Icons;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 10;
}

.thumbnails .thumbnail:hover > a::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

body.mobile .thumbnails .thumbnail > a::after {
    display: none;
}

/* Subtle fade-in on page load instead of content popping in instantly */
@keyframes fadeInPage {
    from { opacity: 0; }
    to { opacity: 1; }
}

.main_container {
    animation: fadeInPage 0.5s ease;
}

/* =========================================================
 * ARTSY / CINEMATIC POLISH
 * ========================================================= */

/* Smooth scroll for anchor jumps (e.g. next/previous project links) */
html {
    scroll-behavior: smooth;
}

/* Custom cursor: thin white ring instead of the default arrow */
body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='white' stroke-width='1.2' opacity='0.85'/%3E%3C/svg%3E") 12 12, auto;
}

a,
button,
.thumbnails .thumbnail {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='14' cy='14' r='11' fill='white' opacity='0.55'/%3E%3C/svg%3E") 14 14, pointer;
}

/* Vignette on the hero video for a more cinematic, lens-like edge */
[local-style="26445406"] .page_content.empty-editor::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    box-shadow: inset 0 0 12rem rgba(0, 0, 0, 0.65);
    z-index: 2;
}

/* Vignette on grid thumbnails too, applied on the image itself */
.thumbnails .thumb_image {
    position: relative;
}

.thumbnails .thumb_image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    box-shadow: inset 0 0 4rem rgba(0, 0, 0, 0.5);
}

/* Occasional subtle flicker on the nav text — leans into the glitch font
   rather than leaving it static. Rare and brief, not distracting. */
@keyframes navFlicker {
    0%, 96%, 100% { opacity: 1; transform: none; }
    97%           { opacity: 0.4; transform: translateX(1px); }
    98%           { opacity: 1; transform: translateX(-1px); }
    99%           { opacity: 0.7; transform: none; }
}

[local-style="23319630"] h1 {
    animation: navFlicker 9s infinite;
}

/* =========================================================
 * PROJECT PAGE IMAGE GALLERIES
 * (applies site-wide to every project subpage automatically,
 * since they all share the same .image-gallery/.gallery_card system)
 * ========================================================= */

/* Divider separating the credits block from the still grid */
.image-gallery.initialized {
    margin-top: 3rem !important;
}

.gallery_card {
    position: relative;
}

.gallery_card_image {
    position: relative;
    overflow: hidden;
}

/* Same vignette treatment as the Work index grid, for consistency */
.gallery_card_image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    box-shadow: inset 0 0 4rem rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Same glitch jitter used on the Work index grid, reused here for
   visual consistency across the whole site */
.gallery_card_image img.image-zoom {
    transition: transform 0.3s ease;
}

.gallery_card_image:hover img.image-zoom {
    animation: thumbGlitchJitter 0.32s ease-out 1;
}

/* Scroll-reveal support — starts hidden/offset, JS adds .is-visible
   as each still enters the viewport (see Custom HTML snippet) */
.gallery_card {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.gallery_card.is-visible {
    opacity: 1;
    transform: translateY(0);
}