* { box-sizing: border-box; margin: 0; padding: 0; border: 0; outline: 0; }
body {
	font-family: monospace;
	font-size: 18px;
}

ol {
	padding-left: 2em;
	margin-bottom: 1em;
}
.bg {
	margin-bottom: 15px;
	height: 200px;
	background-image: url(/images/bg_10.jpg);
	background-repeat: no-repeat;
	background-position: 50% 0;
}
.home-bio {
	background-image: url(/images/home_bio1.jpg);
	background-repeat: no-repeat;
	background-position: 100% 0;
	background-size: 20% 20%;
}
.wrap {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 15px;
}

.mobile-menu-toggle {
	display: none;
	width: 100%;
	background: #fff;
	padding: 0 0 10px;
	color: #000;
	border: none;
	cursor: pointer;
	font-size: 20px;
	font-family: monospace;
	text-align: center;
	margin-bottom: 0;
}

.mobile-menu-toggle:hover {
	opacity: 0.7;
}

.left-col {
	width: 20%;
	float: left;
}

.middle-col {
	padding-left: 5%;
	width: 80%;
	float: left;
}

@media (max-width: 768px) {
	.mobile-menu-toggle {
		display: block;
	}
	
	.left-col {
		display: none;
		width: 100%;
		float: none;
		padding: 20px 0;
		background: #fff;
		margin-bottom: 20px;
	}

	.left-col ul {
		list-style-type: none;
	}
	
	body.menu-open .left-col {
		display: block;
	}
	
	body.menu-open .mobile-menu-toggle::after {
		content: ' ▲';
	}
	
	.mobile-menu-toggle::after {
		content: ' ▼';
	}
	
	.middle-col {
		width: 100%;
		padding-left: 0;
		float: none;
	}
}

.exhibition {
	margin: 0 0 3em;
}
.exhibition img {
	max-width: 100%;
}
.bio-profile {
	float: right;
	width: 200px;
	margin: 0 0 15px 15px;
}
.bio-profile img {
	max-width: 100%;
	display: block;
}
h1, h2, h3, h4, h5 {
	margin: 0 0 0.5em;
}
p {
	line-height: 1.4;
	margin: 0 0 1em;
}
li {
	margin: 0 0 0.5em;
}
footer {
	padding: 40px 0;
	clear: both;
}
footer .col {
	float: left;
	width: 33.33%;
}


.gallery {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin-bottom: 3rem;
}

@media (min-width: 768px) {
	.gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.gallery {
		grid-template-columns: repeat(3, 1fr);
	}
}

.work {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
}

.work:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.work.sold {
	opacity: 0.6;
}

.work-image {
	width: 100%;
	height: auto;
	display: block;
	background: #f5f5f5;
}

.work-meta {
	padding: 1rem;
}

.work-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.work-details {
	font-size: 0.9rem;
	color: #666;
	line-height: 1.6;
}

.work-year,
.work-materials,
.work-dimensions {
	margin-bottom: 0.25rem;
}

.work-price {
	margin-top: 0.75rem;
	font-weight: 600;
	color: #2c5f2d;
	font-size: 1rem;
}

.work.sold .work-price {
	color: #999;
	text-decoration: line-through;
}

.work.sold .work-price::after {
	content: ' - SOLD';
	color: #c33;
	text-decoration: none;
	font-weight: 700;
}

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin: 2rem 0;
	flex-wrap: wrap;
}

.pagination button {
	padding: 0.5rem 1rem;
	border: 1px solid #ddd;
	background: #fff;
	cursor: pointer;
	border-radius: 4px;
	font-size: 0.95rem;
	transition: all 0.2s;
}

.pagination button:hover:not(:disabled) {
	background: #333;
	color: #fff;
	border-color: #333;
}

.pagination button:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.pagination button.active {
	background: #333;
	color: #fff;
	border-color: #333;
	font-weight: 600;
}

.pagination .page-info {
	padding: 0 1rem;
	color: #666;
	font-size: 0.95rem;
}
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
}

.lightbox.active {
	display: flex;
}

.lightbox-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	cursor: pointer;
}

.lightbox-content {
	position: relative;
	z-index: 10001;
	max-width: 90%;
	max-height: 90%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-image {
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	display: block;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 10002;
	width: 50px;
	height: 50px;
	border: none;
	background: rgba(255, 255, 255, 0.1);
	cursor: pointer;
	border-radius: 50%;
	transition: background 0.2s;
	font-size: 0;
}

.lightbox-close::before {
	content: '×';
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	color: #fff;
	font-size: 36px;
}

.lightbox-close:hover {
	background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev,
.lightbox-next {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10002;
	width: 60px;
	height: 60px;
	border: none;
	background: rgba(255, 255, 255, 0.1);
	cursor: pointer;
	border-radius: 50%;
	transition: background 0.2s, opacity 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-prev {
	left: 20px;
}

.lightbox-prev::before {
	content: '';
	width: 0;
	height: 0;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-right: 16px solid #fff;
	margin-right: 4px;
}

.lightbox-next {
	right: 20px;
}

.lightbox-next::before {
	content: '';
	width: 0;
	height: 0;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 16px solid #fff;
	margin-left: 4px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
	background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev:disabled,
.lightbox-next:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

@media (max-width: 768px) {
	.lightbox-close {
		width: 40px;
		height: 40px;
		font-size: 28px;
		top: 10px;
		right: 10px;
	}
	
	.lightbox-prev,
	.lightbox-next {
		width: 50px;
		height: 50px;
		font-size: 36px;
	}
	
	.lightbox-prev {
		left: 10px;
	}
	
	.lightbox-next {
		right: 10px;
	}
	
	.lightbox-content {
		max-width: 95%;
		max-height: 85%;
	}
	
	.lightbox-image {
		max-height: 85vh;
	}
}





/* --- GHOST-LIKE DRIFT -------------------------------------------------- */
/*  Starts ONLY while the user is anywhere over .wrap.
   Remove `.wrap:hover` if you want it to drift permanently.              */
.wrap:hover .bio-profile{
    animation:ghost 9s ease-in-out infinite;
}

@keyframes ghost{
    /*  Horizontal wandering only  (margin-right)  +
        occasional spins / twirls (transform: rotate)                */
    
    0%   {margin-right:  0;    transform:rotate(0deg);}
    
    12%  {margin-right: 40px;  transform:rotate(  5deg);}
    25%  {margin-right:-25px;  transform:rotate(  0deg);}
    
    /* first full twirl */
    37%  {margin-right: 80px;  transform:rotate(-360deg);}
    
    50%  {margin-right:-40px;  transform:rotate( -7deg);}
    
    /* short reverse spin */
    62%  {margin-right: 60px;  transform:rotate( 360deg);}
    
    75%  {margin-right: 10px;  transform:rotate(  2deg);}
    
    /* a quick double spin while slipping right */
    87%  {margin-right:-30px;  transform:rotate(-720deg);}
    
    100% {margin-right:  0;    transform:rotate(0deg);}
}
.old-photo {
    position: relative;
    /* 1) colour / tone shift */
    filter: grayscale(50%)       /* drain a bit of colour          */
            sepia(70%)           /* brown tint                     */
            brightness(85%)      /* slightly dim                   */
            contrast(90%)        /* flatten highs & lows           */
            saturate(60%);       /* mute any remaining colour      */

    /* 2) show the picture itself */
    background: url("https://picsum.photos/id/1035/800/600") center/cover;
    overflow: hidden;            /* hide the pseudo-element edges  */
}

/* 3) film grain (top layer) */
.old-photo::after {
    content: "";
    position: absolute; inset: 0;
    pointer-events: none;

    /* two tiny repeating gradients at 45° give salt-and-pepper noise */
    background-image:
        repeating-linear-gradient(45deg, rgba(0,0,0,.05) 0 2px , transparent 2px 4px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,.03) 0 3px , transparent 3px 6px);
    background-size: 6px 6px, 4px 4px;
    mix-blend-mode: overlay;    /* make the specks interact with the pic */
}

/* 4) vignette (bottom layer, but over the photo) */
.old-photo::before {
    content: "";
    position: absolute; inset: 0;
    pointer-events: none;

    background: radial-gradient(circle at center,
                rgba(0,0,0,0) 55%,
                rgba(0,0,0,.35) 100%);
}