/* =================================================================
   Geinars — Editorial gallery theme
   Design system: museum minimalism, art-forward, generous whitespace
   ================================================================= */

/* -------------------------------------------------------- TOKENS  */
:root {
	/* color */
	--bg: #FAFAF7;
	--bg-elev: #FFFFFF;
	--ink: #1A1A1A;
	--ink-2: #4A4A4A;
	--ink-muted: #87857F;
	--rule: #E5E2DA;
	--rule-strong: #1A1A1A;

	/* type */
	--font-display: "Fraunces", "Iowan Old Style", "Apple Garamond", Georgia, serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

	/* fluid type scale */
	--fs-hero: clamp(2.5rem, 7vw, 6rem);
	--fs-h1: clamp(2rem, 5vw, 3.5rem);
	--fs-h2: clamp(1.5rem, 3.2vw, 2.25rem);
	--fs-h3: clamp(1.125rem, 1.6vw, 1.375rem);
	--fs-body: 1.0625rem;
	--fs-small: 0.875rem;
	--fs-caps: 0.75rem;

	/* space — 8pt grid */
	--s-1: 0.5rem;
	--s-2: 1rem;
	--s-3: 1.5rem;
	--s-4: 2rem;
	--s-5: 3rem;
	--s-6: 5rem;
	--s-7: 8rem;
	--s-8: 12rem;

	/* layout */
	--page-pad: clamp(1.25rem, 4vw, 3rem);
	--max-prose: 36rem;
	--max-content: 80rem;

	/* motion */
	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ------------------------------------------------------- RESET ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: 1.6;
	font-feature-settings: "ss01", "cv11";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, picture, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink-2); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: -0.015em;
	line-height: 1.05;
	margin: 0;
	text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--ink); color: var(--bg); }

/* ------------------------------------------------------ A11Y ----- */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0.5rem;
	background: var(--ink);
	color: var(--bg);
	padding: 0.5rem 1rem;
	z-index: 1000;
}
.skip-link:focus { left: 0.5rem; }

:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}

/* ------------------------------------------------------ HEADER --- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in oklab, var(--bg) 92%, transparent);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.site-header.is-scrolled {
	border-bottom-color: var(--rule);
}
.site-header__inner {
	max-width: var(--max-content);
	margin: 0 auto;
	padding: var(--s-2) var(--page-pad);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-3);
}
.site-header__brand {
	text-decoration: none;
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}
.site-header__name {
	font-family: var(--font-display);
	font-size: 1.25rem;
	letter-spacing: -0.01em;
}
.site-header__tag {
	font-size: var(--fs-caps);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin-top: 2px;
}

.site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: var(--s-3);
}
.site-nav__list a, .site-nav a {
	font-size: var(--fs-small);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink-2);
	padding: 0.5rem 0;
	border-bottom: 1px solid transparent;
	transition: color 150ms, border-color 150ms;
}
.site-nav__list a:hover, .site-nav a:hover,
.site-nav__list a.current, .site-nav a.current {
	color: var(--ink);
	border-bottom-color: var(--ink);
}
.site-nav__list .current_page_item > a,
.site-nav .current_page_item > a {
	color: var(--ink);
	border-bottom-color: var(--ink);
}

/* mobile menu */
.site-header__toggle {
	display: none;
	background: transparent;
	border: 0;
	width: 36px;
	height: 36px;
	padding: 0;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
}
.site-header__toggle span {
	display: block;
	width: 22px;
	height: 1.5px;
	background: var(--ink);
	margin: 0 auto;
	transition: transform 220ms var(--ease), opacity 180ms;
}

@media (max-width: 800px) {
	.site-header__toggle { display: inline-flex; position: relative; z-index: 102; }
	.site-nav {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100vw;
		height: 100vh;
		height: 100dvh;
		background: #FAFAF7;
		display: none;
		padding: 5rem var(--page-pad) 2rem;
		z-index: 101;
		overflow-y: auto;
	}
	.site-nav.is-open { display: block; }
	.site-nav__list {
		flex-direction: column;
		gap: var(--s-2);
	}
	.site-nav__list a {
		font-family: var(--font-display);
		font-size: 1.75rem;
		letter-spacing: -0.01em;
		text-transform: none;
		color: var(--ink);
	}
	.site-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
	.site-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.site-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ------------------------------------------------------ MAIN  ---- */
.site-main {
	min-height: 60vh;
}

/* ------------------------------------------------------ HERO  ---- */
.hero {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	min-height: min(86vh, 900px);
	overflow: hidden;
}
.hero__media {
	margin: 0;
	position: absolute;
	inset: 0;
	z-index: 0;
}
.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.04);
	animation: hero-float 18s ease-out forwards;
}
@keyframes hero-float {
	from { transform: scale(1.06); }
	to { transform: scale(1); }
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.65) 100%),
		linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.0) 55%);
	z-index: 1;
}
.hero__caption {
	position: relative;
	z-index: 2;
	align-self: end;
	max-width: var(--max-content);
	width: 100%;
	margin: 0 auto;
	padding: var(--s-6) var(--page-pad) var(--s-5);
	color: #FFF;
	display: grid;
	gap: var(--s-2);
}
.hero__eyebrow {
	font-size: var(--fs-caps);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	margin: 0;
	color: rgba(255,255,255,0.92);
	text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero__title,
.hero__lede {
	text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.hero__title {
	font-size: var(--fs-hero);
	font-weight: 300;
	letter-spacing: -0.025em;
	line-height: 0.95;
	margin: 0;
}
.hero__lede {
	font-family: var(--font-display);
	font-size: clamp(1.05rem, 1.6vw, 1.35rem);
	line-height: 1.4;
	max-width: 42ch;
	font-style: italic;
	font-weight: 300;
	margin: 0;
	opacity: 0.96;
}

.btn {
	display: inline-block;
	margin-top: var(--s-2);
	padding: 0.85rem 1.5rem;
	background: transparent;
	color: #FFF;
	border: 1px solid rgba(255,255,255,0.7);
	text-decoration: none;
	font-size: var(--fs-small);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition: background 200ms, color 200ms, border-color 200ms;
	width: fit-content;
}
.btn:hover {
	background: #FFF;
	color: var(--ink);
	border-color: #FFF;
}

/* --------------------------------------------- SECTION HEADERS --- */
.section-head {
	max-width: var(--max-content);
	margin: 0 auto var(--s-4);
	padding: 0 var(--page-pad);
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--s-3);
	border-top: 1px solid var(--rule);
	padding-top: var(--s-4);
}
.section-head--center {
	justify-content: center;
	text-align: center;
}
.section-head__title {
	font-size: var(--fs-h2);
	font-style: italic;
	font-weight: 300;
}
.section-head__link {
	font-size: var(--fs-small);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink-2);
}
.section-head__link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.3em; }
.section-head__meta {
	max-width: var(--max-content);
	margin: var(--s-3) auto 0;
	padding: 0 var(--page-pad);
	text-align: center;
	font-size: var(--fs-small);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.section-head__meta a { text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* ----------------------------------------------------- FEATURED -- */
.featured {
	max-width: var(--max-content);
	margin: var(--s-7) auto 0;
}
.grid {
	display: grid;
	gap: var(--s-2);
	padding: 0 var(--page-pad);
}
.grid--3 {
	grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 800px) {
	.grid--3 { grid-template-columns: 1fr; gap: var(--s-1); }
}
.tile {
	display: block;
	overflow: hidden;
	background: var(--rule);
	position: relative;
	aspect-ratio: 1/1;
}
.tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1200ms var(--ease), filter 600ms;
	filter: brightness(0.97);
}
.tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.15));
	opacity: 0;
	transition: opacity 300ms var(--ease);
	pointer-events: none;
}
.tile:hover img,
.tile:focus-visible img {
	transform: scale(1.04);
	filter: brightness(1.02);
}
.tile:hover::after {
	opacity: 1;
}

/* --------------------------------------------------- QUOTE BLOCK -- */
.quote-block {
	max-width: var(--max-prose);
	margin: var(--s-7) auto;
	padding: 0 var(--page-pad);
	text-align: center;
}
.quote-block blockquote {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2.4vw, 1.75rem);
	font-style: italic;
	font-weight: 300;
	line-height: 1.4;
	letter-spacing: -0.01em;
}
.quote-block cite {
	display: block;
	margin-top: var(--s-3);
	font-style: normal;
	font-family: var(--font-body);
	font-size: var(--fs-small);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-muted);
}

/* ------------------------------------------------------ CV STRIP - */
.cv-strip {
	max-width: var(--max-content);
	margin: var(--s-7) auto 0;
}
.cv-strip__list {
	list-style: none;
	max-width: 50rem;
	margin: 0 auto;
	padding: 0 var(--page-pad);
}
.cv-strip__list li {
	display: flex;
	gap: var(--s-3);
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--rule);
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 300;
}
.cv-strip__year {
	font-feature-settings: "tnum";
	color: var(--ink-muted);
	min-width: 4rem;
}

/* ----------------------------------------------------- GALLERY --- */
.page-head {
	max-width: var(--max-content);
	margin: var(--s-5) auto var(--s-5);
	padding: 0 var(--page-pad);
	text-align: center;
}
.page-head__eyebrow {
	font-size: var(--fs-caps);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin: 0 0 var(--s-2);
}
.page-head__title {
	font-size: var(--fs-h1);
	font-weight: 400;
	font-style: italic;
	letter-spacing: -0.02em;
}
.page-head__lede {
	margin-top: var(--s-2);
	color: var(--ink-2);
	font-size: 1.0625rem;
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

.gallery {
	max-width: var(--max-content);
	margin: 0 auto var(--s-7);
	padding: 0 var(--page-pad);
	column-count: 3;
	column-gap: var(--s-2);
}
@media (max-width: 1100px) { .gallery { column-count: 2; } }
@media (max-width: 600px)  { .gallery { column-count: 1; } }

.gallery__item {
	display: block;
	width: 100%;
	margin: 0 0 var(--s-2);
	padding: 0;
	background: transparent;
	border: 0;
	overflow: hidden;
	break-inside: avoid;
	position: relative;
}
.gallery__item img {
	width: 100%;
	height: auto;
	transition: transform 700ms var(--ease), filter 500ms;
	filter: brightness(0.99);
}
.gallery__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(26,26,26,0);
	transition: background 220ms;
	pointer-events: none;
}
.gallery__item:hover img,
.gallery__item:focus-visible img {
	transform: scale(1.02);
	filter: brightness(1.02);
}
.gallery__item:hover::after {
	background: rgba(26,26,26,0.04);
}

/* ----------------------------------------------------- LIGHTBOX -- */
.lightbox[hidden] { display: none !important; }
.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(20, 20, 18, 0.96);
	z-index: 200;
	display: grid;
	place-items: center;
	padding: var(--s-3);
	animation: fade 200ms var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox__figure {
	margin: 0;
	max-width: min(96vw, 1600px);
	max-height: 92vh;
	display: grid;
	gap: var(--s-2);
}
.lightbox__img {
	max-width: 100%;
	max-height: 88vh;
	object-fit: contain;
	margin: 0 auto;
	box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.lightbox__caption {
	color: rgba(255,255,255,0.7);
	text-align: center;
	font-size: var(--fs-small);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.lightbox__close,
.lightbox__nav {
	position: absolute;
	background: transparent;
	border: 0;
	color: #FFF;
	font-size: 2rem;
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	transition: background 200ms;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255,255,255,0.12); }
.lightbox__close { top: 1rem; right: 1rem; font-size: 1.75rem; }
.lightbox__nav--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
	.lightbox__nav { width: 44px; height: 44px; font-size: 1.25rem; }
}

/* ----------------------------------------------------- PROSE ----- */
.prose {
	max-width: var(--max-prose);
	margin: var(--s-5) auto var(--s-7);
	padding: 0 var(--page-pad);
}
.prose--centered { text-align: center; }
.prose__header {
	margin-bottom: var(--s-4);
	padding-bottom: var(--s-3);
	border-bottom: 1px solid var(--rule);
	text-align: center;
}
.prose__eyebrow {
	font-size: var(--fs-caps);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin: 0 0 var(--s-2);
}
.prose__title {
	font-size: var(--fs-h1);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.02em;
	hyphens: none;
	word-break: keep-all;
}
.prose--studio-contact .prose__title {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}
.prose__body {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ink-2);
}
.prose__body p { margin-bottom: 1.2em; }
.prose__body h2 {
	font-size: var(--fs-h2);
	margin: 2.5em 0 0.5em;
	color: var(--ink);
	font-style: italic;
	font-weight: 300;
}
.prose__body h3 {
	font-size: var(--fs-h3);
	margin: 2em 0 0.4em;
	color: var(--ink);
	font-family: var(--font-body);
	font-weight: 600;
	letter-spacing: 0;
}
.prose__body ul, .prose__body ol {
	padding-left: 1.2em;
}
.prose__body a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
}

/* Specialised page tweaks based on slug */
.prose--biography .prose__body,
.prose--exhibitions .prose__body,
.prose--news .prose__body,
.prose--reviews .prose__body {
	font-size: 1rem;
}

.prose--studio-contact { text-align: center; }
.prose--studio-contact .prose__body p { font-size: 1.125rem; }

/* ------------------------------------------------- CONTENT PROSE - */

/* lede paragraph (intro) */
.prose__body .lede {
	font-family: var(--font-display);
	font-size: clamp(1.125rem, 1.7vw, 1.4rem);
	font-style: italic;
	font-weight: 300;
	line-height: 1.4;
	color: var(--ink);
	margin-bottom: 2.5em;
	max-width: 38rem;
}

/* CV-style two-column lists (year + entry) */
.prose__body .cv-list {
	list-style: none;
	padding: 0;
	margin: 0 0 2.5em;
	border-top: 1px solid var(--rule);
}
.prose__body .cv-list li {
	display: grid;
	grid-template-columns: 6.5rem 1fr;
	gap: var(--s-2);
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--rule);
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: 300;
	line-height: 1.4;
	color: var(--ink);
}
.prose__body .cv-list--plain li {
	grid-template-columns: 1fr;
}
.prose__body .cv-list__year {
	color: var(--ink-muted);
	font-feature-settings: "tnum";
	font-size: 0.9375rem;
	font-family: var(--font-body);
	letter-spacing: 0.04em;
	padding-top: 0.1em;
}

@media (max-width: 600px) {
	.prose__body .cv-list li {
		grid-template-columns: 5rem 1fr;
		font-size: 1rem;
	}
}

/* Essays on Reviews page */
.prose__body .essay {
	margin: 0 0 var(--s-5);
	padding-top: var(--s-4);
	border-top: 1px solid var(--rule);
}
.prose__body .essay header {
	margin-bottom: var(--s-2);
}
.prose__body .essay h2 {
	font-size: var(--fs-h2);
	font-style: italic;
	font-weight: 300;
	margin: 0 0 0.4em;
}
.prose__body .essay__byline {
	font-size: var(--fs-small);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin: 0 0 1.25em;
}
.prose__body .essay p {
	font-family: var(--font-display);
	font-size: 1.125rem;
	line-height: 1.65;
	font-weight: 400;
	color: var(--ink);
}
/* Drop-cap on first essay's first paragraph */
.prose__body .essay:first-of-type > p:first-of-type::first-letter {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	float: left;
	font-size: 3.2em;
	line-height: 0.9;
	padding-top: 0.05em;
	margin: 0 0.06em 0 0;
	color: var(--ink);
}
/* Pull-quote variant — alternate essays get a left rule and indent */
.prose__body .essay:nth-of-type(even) {
	border-left: 1px solid var(--rule);
	border-top: 0;
	padding-top: 0;
	padding-left: var(--s-3);
	margin-left: 0;
}

/* Standalone quote block on Reviews page */
.prose__body .essay-quote {
	margin: 0 0 var(--s-6);
	padding: 0;
	text-align: center;
	border: 0;
}
.prose__body .essay-quote p {
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2.4vw, 1.75rem);
	font-style: italic;
	font-weight: 300;
	line-height: 1.4;
	color: var(--ink);
	letter-spacing: -0.005em;
}
.prose__body .essay-quote cite {
	display: block;
	margin-top: var(--s-3);
	font-style: normal;
	font-family: var(--font-body);
	font-size: var(--fs-small);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-muted);
}

/* News items */
.prose__body .news-item {
	margin: 0 0 var(--s-4);
	padding-top: var(--s-3);
	border-top: 1px solid var(--rule);
}
.prose__body > .news-item:first-child,
.prose__body > .essay:first-child,
.prose__body > .book:first-child {
	border-top: 0;
	padding-top: 0;
}
.prose__body .news-item--with-image {
	display: grid;
	grid-template-columns: 9rem 1fr;
	gap: var(--s-3);
	align-items: start;
}
.prose__body .news-item__media img {
	width: 100%;
	height: auto;
	display: block;
	background: var(--rule);
}
@media (max-width: 600px) {
	.prose__body .news-item--with-image {
		grid-template-columns: 1fr;
	}
	.prose__body .news-item__media img { max-width: 14rem; }
}
.prose__body .news-item h2 {
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 300;
	margin: 0 0 0.4em;
}
.prose__body .news-item__date {
	font-size: var(--fs-small);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin: 0 0 0.8em;
}

/* Portrait on biography page — breaks out of the prose width */
.prose__body .bio-portrait {
	margin: 0 0 var(--s-5);
	width: min(64rem, 92vw);
	margin-left: 50%;
	transform: translateX(-50%);
}
.prose__body .bio-portrait img {
	width: 100%;
	height: auto;
	display: block;
}
.prose__body .bio-portrait figcaption {
	margin-top: var(--s-2);
	font-size: var(--fs-caps);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-muted);
	display: flex;
	justify-content: space-between;
	gap: var(--s-2);
}
.prose__body .bio-portrait__year { color: var(--ink-muted); }

/* Artist quote under portrait — opens the biography */
.prose__body .bio-quote {
	margin: 0 auto var(--s-5);
	padding: var(--s-4) 0 var(--s-4);
	max-width: 38rem;
	text-align: center;
	border: 0;
}
.prose__body .bio-quote p {
	font-family: var(--font-display);
	font-style: italic;
	font-size: clamp(1.25rem, 2vw, 1.625rem);
	line-height: 1.45;
	font-weight: 400;
	color: var(--ink);
	margin: 0;
	letter-spacing: -0.005em;
}
.prose__body .bio-quote cite {
	display: block;
	margin-top: var(--s-3);
	font-style: normal;
	font-family: var(--font-body);
	font-size: var(--fs-small);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-muted);
}

/* Bio prose — wider than CV, generous line-height */
.prose__body .bio-text {
	max-width: 40rem;
	margin: 0 auto var(--s-6);
	padding: var(--s-4) 0;
	border-top: 1px solid var(--rule);
}
.prose__body .bio-text p {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ink-2);
	margin-bottom: 1.4em;
}
.prose__body .bio-text p:last-child { margin-bottom: 0; }

/* Cinematic dark hero on books page — breaks full-bleed */
.prose__body .book-hero {
	margin: 0 0 var(--s-5);
}
.prose__body .book-hero--dark {
	width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	background: #1a1a1a;
	overflow: hidden;
}
.prose__body .book-hero--dark img {
	width: 100%;
	max-width: 1800px;
	margin: 0 auto;
	height: auto;
	display: block;
}
.prose__body .book-hero img {
	width: 100%;
	height: auto;
	display: block;
}

/* Book byline */
.prose__body .book__byline {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1rem;
	color: var(--ink-2);
	margin: 0 0 1.2em;
}

/* Books */
.prose__body .book {
	margin: 0 0 var(--s-4);
	padding-top: var(--s-3);
	border-top: 1px solid var(--rule);
}
.prose__body .book h2 {
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 300;
	margin: 0 0 0.4em;
}
.prose__body .book__meta {
	font-size: var(--fs-small);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin: 0 0 0.8em;
}

/* Map on contact page (Mapbox static image) — full-bleed across viewport */
.prose__body .contact-map {
	margin-top: var(--s-6);
	margin-bottom: 0;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
	text-align: center;
}
.prose__body .contact-map a {
	display: block;
	overflow: hidden;
	background: #ECEAE3;
	transition: opacity 250ms var(--ease);
}
.prose__body .contact-map a:hover { opacity: 0.94; }
.prose__body .contact-map img {
	width: 100%;
	height: auto;
	max-height: 720px;
	object-fit: cover;
	object-position: center;
	display: block;
}
.prose__body .contact-map figcaption {
	margin-top: var(--s-3);
	font-size: var(--fs-small);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-muted);
}
.prose__body .contact-map figcaption a {
	display: inline;
	background: transparent;
	color: var(--ink-2);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	padding-bottom: 1px;
	transition: color 150ms, border-color 150ms;
}
.prose__body .contact-map figcaption a:hover {
	color: var(--ink);
	border-bottom-color: var(--ink);
}

/* Contact cards — two-column row, no hairlines per card */
.prose--studio-contact .prose__body {
	font-size: 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.prose--studio-contact .prose__body > .lede {
	max-width: 36rem;
	margin-bottom: var(--s-5);
}
.prose__body .contact-card {
	margin: 0;
	padding: 0;
	border: 0;
	max-width: none;
	text-align: center;
}
.prose__body .contact-card h2 {
	font-family: var(--font-body);
	font-size: var(--fs-caps);
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin: 0 0 var(--s-2);
}
.prose__body .contact-card p {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--ink);
	margin-bottom: 0.4em;
}
/* Stacked contact cards — centered vertically for clean rhythm with the title above */
.contact-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--s-5);
	margin: 0 auto var(--s-5);
	width: 100%;
}
.contact-row > .contact-card + .contact-card {
	padding-top: var(--s-4);
	border-top: 1px solid var(--rule);
	width: 100%;
}

/* Wider canvas for cv-heavy pages so two-column lists breathe */
.prose--biography,
.prose--exhibitions,
.prose--books {
	max-width: 50rem;
}

/* (Bio header now uses default centered .prose__header — no override needed) */

/* Books page: drop the hairline rule — the dark hero provides visual separation. */
.prose--books .prose__header {
	border-bottom: 0;
	padding-bottom: 0;
	margin-bottom: var(--s-3);
}

/* ------------------------------------------------------ FOOTER --- */
.site-footer {
	margin-top: var(--s-7);
	border-top: 1px solid var(--rule);
	background: var(--bg);
}
.site-footer__inner {
	max-width: var(--max-content);
	margin: 0 auto;
	padding: var(--s-5) var(--page-pad) var(--s-3);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--s-4);
}
@media (max-width: 800px) {
	.site-footer__inner { grid-template-columns: 1fr; }
}
.site-footer__heading {
	font-family: var(--font-body);
	font-size: var(--fs-caps);
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin: 0 0 var(--s-2);
}
.site-footer__col p {
	font-size: 0.9375rem;
	color: var(--ink-2);
	line-height: 1.6;
}
.site-footer__col a {
	color: var(--ink-2);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	padding-bottom: 1px;
	transition: color 150ms, border-color 150ms;
}
.site-footer__col a:hover {
	color: var(--ink);
	border-bottom-color: var(--ink);
}
.site-footer__muted { color: var(--ink-muted) !important; font-size: 0.875rem !important; }
.site-footer__base {
	max-width: var(--max-content);
	margin: 0 auto;
	padding: var(--s-3) var(--page-pad);
	border-top: 1px solid var(--rule);
	font-size: var(--fs-small);
	color: var(--ink-muted);
}

/* ------------------------------------------------- REVEAL ANIM ---- */
.reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 800ms var(--ease), transform 800ms var(--ease);
	will-change: opacity, transform;
}
.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ------------------------------------------------- REDUCED MOTION  */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; }
}
