:root {
	font-family: Arial, Helvetica, sans-serif;
	color: #111;
	background: #fff;
	line-height: 1.4;
	font-weight: 400;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
	background: #fff;
	color: #111;
}

body {
	font-size: 13px;
	letter-spacing: 0.01em;
}

body.lightbox-open {
	overflow: hidden;
}

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

img {
	display: block;
	width: 100%;
	height: auto;
}

button,
input {
	font: inherit;
}

.site-shell {
	display: flex;
	min-height: 100vh;
}

.sidebar {
	width: 282px;
	flex: 0 0 282px;
	border-right: 1px solid #ececec;
	background: #fff;
}

.sidebar-inner {
	position: sticky;
	top: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	padding: 48px 34px 30px;
}

.site-header h1 {
	margin: 0;
	font-size: 26px;
	font-weight: 400;
	letter-spacing: 0.32em;
	text-transform: uppercase;
}

.site-header p {
	margin: 12px 0 0;
	font-size: 12px;
	color: #777;
}

.sidebar-nav {
	margin-top: 42px;
	font-size: 12px;
	text-transform: lowercase;
}

.nav-list,
.subnav-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-list > li,
.folder-link {
	margin-bottom: 12px;
}

.folder-link > span,
.nav-list a,
.subnav-list a {
	display: inline-block;
	color: #7d7d7d;
	transition: color 0.2s ease;
}

.nav-list a:hover,
.subnav-list a:hover,
.sidebar-footer a:hover {
	color: #111;
}

.active-link > a,
.active-folder > span,
.site-header a,
.sidebar-footer a {
	color: #111;
}

.subnav-list .active-link > a {
	padding: 3px 8px;
	border-radius: 999px;
	background: #dff1df;
}

.subnav {
	margin-top: 10px;
	padding-left: 14px;
}

.subnav-list li {
	margin-bottom: 8px;
}

.sidebar-footer {
	display: flex;
	gap: 18px;
	margin-top: auto;
	padding-top: 40px;
	font-size: 11px;
	color: #777;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.content-area {
	flex: 1;
	min-width: 0;
	padding: 40px 42px;
}

.gallery-page {
	width: 100%;
	max-width: none;
}

.detail-page {
	max-width: 1400px;
}

.masonry-grid {
	column-width: 390px;
	column-gap: 28px;
}

body[data-page="protests"] .masonry-grid {
	column-width: 480px;
}

.gallery-card {
	position: relative;
	break-inside: avoid;
	margin: 0 0 28px;
	background: #f6f6f6;
	overflow: hidden;
}

.gallery-trigger {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}

.gallery-card img {
	background: #ececec;
	transition: transform 0.25s ease;
}

.gallery-card:hover img {
	transform: scale(1.01);
}

.gallery-card figcaption {
	position: absolute;
	inset: auto 0 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 20px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
	color: #fff;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.gallery-card:hover figcaption {
	opacity: 1;
}

.gallery-card span {
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.gallery-card small {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.84);
}

.section-header {
	margin-bottom: 24px;
}

.section-header h2 {
	margin: 0;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.18em;
}

.about-page {
	display: grid;
	grid-template-columns: minmax(280px, 520px) minmax(280px, 460px);
	gap: 48px;
	align-items: start;
	padding-top: 6px;
}

.about-copy {
	font-size: 13px;
	line-height: 1.85;
	color: #4b4b4b;
}

.about-copy p {
	margin: 0 0 18px;
}

.about-copy a {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.workshops-page {
	display: flex;
	justify-content: center;
	padding-top: 120px;
}

.workshops-copy {
	width: min(100%, 520px);
	text-align: center;
	color: #4b4b4b;
}

.newsletter-form {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}

.newsletter-form input {
	flex: 1;
	padding: 12px 14px;
	border: 1px solid #d8d8d8;
	background: #fff;
}

.newsletter-form button {
	padding: 12px 20px;
	border: 1px solid #111;
	background: #111;
	color: #fff;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 11px;
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	padding: 28px;
	background: rgba(10, 10, 10, 0.94);
}

.lightbox[hidden] {
	display: none;
}

.lightbox-stage {
	display: grid;
	gap: 14px;
	justify-items: center;
	max-height: calc(100vh - 56px);
}

.lightbox-image {
	width: auto;
	max-width: 100%;
	max-height: calc(100vh - 120px);
	object-fit: contain;
	background: transparent;
}

.lightbox-meta {
	color: rgba(255, 255, 255, 0.8);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lightbox-dismiss,
.lightbox-nav {
	border: 0;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
}

.lightbox-dismiss {
	position: absolute;
	top: 18px;
	right: 18px;
	padding: 10px 14px;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lightbox-nav {
	width: 52px;
	height: 52px;
	border-radius: 999px;
	font-size: 30px;
	line-height: 1;
}

@media (max-width: 1100px) {
	.about-page {
		grid-template-columns: 1fr;
		max-width: 760px;
	}
}

@media (max-width: 820px) {
	.site-shell {
		flex-direction: column;
	}

	.sidebar {
		width: 100%;
		border-right: 0;
		border-bottom: 1px solid #ececec;
	}

	.sidebar-inner {
		position: static;
		min-height: auto;
		padding: 28px 22px 22px;
	}

	.content-area {
		padding: 24px 22px 30px;
	}

	.masonry-grid {
		column-width: auto;
		column-count: 1;
		column-gap: 0;
	}

	.newsletter-form {
		flex-direction: column;
	}

	.lightbox {
		grid-template-columns: 1fr;
		padding: 68px 16px 20px;
	}

	.lightbox-stage {
		max-height: none;
	}

	.lightbox-image {
		max-height: calc(100vh - 180px);
	}

	.lightbox-nav {
		position: fixed;
		bottom: 20px;
	}

	.lightbox-prev {
		left: 16px;
	}

	.lightbox-next {
		right: 16px;
	}
}
