/* Tony Paulek theme. Minimal, typographic, paper-toned. */

@font-face {
	font-family: "Inter Tight";
	src: url("../fonts/inter-tight-var.woff") format("woff");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Literata";
	src: url("../fonts/literata-regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Literata";
	src: url("../fonts/literata-italic.woff") format("woff");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

:root {
	--paper: #efede7;
	--paper-2: #e2ded3;
	--card-text: #dcd7cb;
	--ink: #151413;
	--mute: #6b675f;
	--line: #cdc8bc;
	--dark: #1d1b19;
	--teal: #76a49c;
	--red: #d63a2b;
	--sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
	--serif: "Literata", Georgia, "Times New Roman", serif;
	--pad: clamp(16px, 3.8vw, 56px);
	--max: 1560px;
	--rowh: clamp(160px, 17vw, 270px);
	--jh: clamp(170px, 19vw, 290px);
	--gap: clamp(6px, 0.9vw, 12px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 15px/1.5 var(--sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.is-locked {
	overflow: hidden;
}
img,
video,
iframe,
svg {
	max-width: 100%;
}
img {
	display: block;
	height: auto;
}
a {
	color: inherit;
}
:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}
.hero :focus-visible,
.lightbox :focus-visible,
.card:focus-visible {
	outline-color: #fff;
}
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	clip: auto;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 16px;
	z-index: 100;
	left: 8px;
	top: 8px;
	background: var(--ink);
	color: var(--paper);
}
.wrap {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--pad);
}
.icon {
	display: block;
	width: 1.2em;
	height: 1.2em;
}
.link {
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}
.empty {
	color: var(--mute);
	padding-block: 40px;
}
.empty a {
	margin-left: 8px;
}

/* ---------- Header ---------- */
.site-header__inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 18px var(--pad) 16px;
	display: flex;
	align-items: center;
	gap: 24px;
}
.wordmark {
	display: block;
	text-decoration: none;
	font-weight: 560;
	font-size: clamp(28px, 3.5vw, 46px);
	line-height: 0.92;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}
.wordmark span {
	display: block;
}
.wordmark--small {
	font-size: clamp(24px, 3vw, 34px);
}
.site-nav {
	margin-left: auto;
}
.site-nav__list,
.site-nav__list ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px clamp(14px, 2.4vw, 34px);
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav__list a {
	display: inline-block;
	padding: 6px 0;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}
.site-nav__list a:hover,
.site-nav__list a[aria-current],
.site-nav__list .current-menu-item > a {
	border-bottom-color: currentColor;
}
.menu-toggle,
.site-menu__close {
	flex: none;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	padding: 0;
	display: grid;
	place-items: center;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}
.menu-toggle__bars {
	position: relative;
	display: block;
	width: 26px;
	height: 16px;
}
.menu-toggle__bars i {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.3s, opacity 0.2s;
}
.menu-toggle__bars i:nth-child(1) { top: 0; }
.menu-toggle__bars i:nth-child(2) { top: 7px; }
.menu-toggle__bars i:nth-child(3) { top: 14px; }
.menu-toggle__bars.is-open i:nth-child(1) { top: 7px; transform: rotate(45deg); }
.menu-toggle__bars.is-open i:nth-child(2) { opacity: 0; }
.menu-toggle__bars.is-open i:nth-child(3) { top: 7px; transform: rotate(-45deg); }

html:not(.js) .menu-toggle { display: none; }
html:not(.js) .site-nav { margin-right: 0; }

/* Full-screen menu */
.site-menu {
	position: fixed;
	inset: 0;
	z-index: 60;
	display: flex;
	flex-direction: column;
	padding: 18px var(--pad) 28px;
	overflow: auto;
	background: var(--paper);
}
.site-menu[hidden] { display: none; }
.site-menu__bar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}
.site-menu__nav {
	margin: auto 0;
	padding-block: 24px;
}
.site-menu__list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: menu;
}
.site-menu__list li {
	counter-increment: menu;
	border-top: 1px solid var(--line);
}
.site-menu__list li:last-child { border-bottom: 1px solid var(--line); }
.site-menu__list a {
	display: flex;
	align-items: baseline;
	gap: 18px;
	padding: 10px 0;
	font-size: clamp(32px, 6.6vw, 84px);
	line-height: 1.06;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	text-decoration: none;
}
.site-menu__list a::before {
	content: counter(menu, decimal-leading-zero);
	min-width: 2.4em;
	font-size: 13px;
	letter-spacing: 0.06em;
}
.site-menu__list a:hover { padding-left: 10px; }
.site-menu__list a { transition: padding 0.25s; }
.site-menu__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.site-menu__mail {
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

@media (max-width: 899px) {
	.js .site-nav { display: none; }
	.js .menu-toggle { margin-left: auto; }
}

/* ---------- Hero mosaic ---------- */
.hero {
	position: relative;
	height: clamp(280px, 40vw, 640px);
	overflow: hidden;
	background: var(--dark);
	color: #fff;
}
.hero__canvas {
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
	touch-action: pan-y;
}
.hero__shade {
	position: absolute;
	inset: auto 0 0;
	height: 110px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
	pointer-events: none;
}
.hero__hint,
.hero__label {
	position: absolute;
	bottom: clamp(14px, 2vw, 26px);
	margin: 0;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}
.hero__hint {
	left: var(--pad);
	display: flex;
	align-items: center;
	gap: 14px;
	pointer-events: none;
	transition: opacity 0.6s;
}
.hero__hint i {
	display: block;
	width: clamp(60px, 12vw, 150px);
	height: 1px;
	background: currentColor;
	opacity: 0.85;
}
.hero.is-touched .hero__hint { opacity: 0; }
.hero__label {
	right: var(--pad);
	max-width: 60%;
	text-align: right;
}
.hero__label a,
.hero__label-text {
	display: inline-block;
	padding-bottom: 3px;
	border-bottom: 1px solid currentColor;
	text-decoration: none;
}
.hero__label-text:empty { display: none; }
.hero__tools {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	gap: 6px;
	opacity: 0;
	transition: opacity 0.25s;
}
.hero:hover .hero__tools,
.hero:focus-within .hero__tools,
.hero.is-touched .hero__tools,
.hero.is-full .hero__tools { opacity: 1; }
@media (hover: none) {
	.hero__tools { opacity: 1; }
}
.hero__tools button {
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(239, 237, 231, 0.9);
	color: #151413;
	font: 400 17px/1 var(--sans);
	cursor: pointer;
}
.hero__tools button:hover { background: #fff; }
.hero__tip {
	position: absolute;
	left: 0;
	top: 0;
	display: none;
	padding: 3px 8px;
	border-radius: 3px;
	background: #151413;
	color: #efede7;
	font-size: 12px;
	white-space: nowrap;
	pointer-events: none;
	transform: translate(10px, 14px);
}
.hero.is-full {
	position: fixed;
	inset: 0;
	z-index: 70;
	height: 100vh;
	height: 100dvh;
}
.hero--static {
	background-size: cover;
	background-position: center;
}
.hero--static .hero__canvas,
.hero--static .hero__tools,
.hero--static .hero__hint { display: none; }
.hero__noscript { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; }
.hero--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;
	min-height: 150px;
	padding: 32px var(--pad);
	background: var(--paper-2);
	color: var(--ink);
	text-align: center;
	font-size: 14px;
}
.hero--empty p { margin: 0; }
.hero--empty a { margin: 0 6px; }

/* ---------- Section rows (front page) ---------- */
.section-row + .section-row { border-top: 1px solid var(--line); }
.section-row__grid {
	display: grid;
	grid-template-columns: minmax(170px, 24%) minmax(0, 1fr) auto;
	column-gap: clamp(16px, 3vw, 48px);
	align-items: stretch;
	padding-block: clamp(22px, 3.4vw, 40px);
}
.section-row__head {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 18px;
	min-width: 0;
}
.section-row__num {
	margin: 0;
	font-size: 15px;
	letter-spacing: 0.02em;
}
.section-row__title {
	margin: 0;
	font-weight: 400;
	font-size: clamp(24px, 2.9vw, 46px);
	line-height: 1;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}
.section-row__title a { text-decoration: none; }
.section-row__desc {
	margin: 0;
	max-width: 22ch;
	font-size: 12.5px;
	line-height: 1.35;
}
.row {
	display: flex;
	align-self: center;
	gap: var(--gap);
	width: 100%;
	min-width: 0;
}
.row .card {
	flex: var(--ar) 1 0;
	min-width: 0;
}
/* Desktop: tiles of one height that fill the row (like the reference); the image is cropped to fit.
   One or two works do not stretch into long bars: the row is capped by the number of tiles. */
@media (min-width: 701px) {
	.row {
		height: var(--rowh);
		max-width: calc(var(--n, 3) * var(--rowh) * 1.5 + (var(--n, 3) - 1) * var(--gap));
	}
	.row .card {
		height: 100%;
		aspect-ratio: auto;
	}
}
/* About the author: a few lines of text (and a portrait) that lead to the full page. */
.about-card {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2.4vw, 36px);
	align-self: center;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}
.about-card__fig {
	flex: 0 0 auto;
	width: calc(var(--rowh) * 0.8);
	height: var(--rowh);
	overflow: hidden;
	background: var(--paper-2);
}
.about-card__fig img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.about-card:hover .about-card__fig img,
.about-card:focus-visible .about-card__fig img { transform: scale(1.035); }
.about-card__text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 7;
	overflow: hidden;
	max-width: 34em;
	font-family: var(--serif);
	font-size: clamp(17px, 1.7vw, 25px);
	line-height: 1.38;
	letter-spacing: -0.005em;
}
.about-card:hover .about-card__text,
.about-card:focus-visible .about-card__text { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.about-card:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
@media (max-width: 700px) {
	.about-card { flex-direction: column; align-items: stretch; }
	.about-card__fig { width: 100%; height: auto; aspect-ratio: 4 / 3; }
}
.view-all {
	align-self: end;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 6px;
	border-bottom: 1px solid currentColor;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}
.view-all .icon { width: 20px; height: 20px; transition: transform 0.25s; }
.view-all:hover .icon { transform: translateX(4px); }

@media (max-width: 899px) {
	.section-row__grid {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 16px;
	}
	.section-row__head {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 6px 14px;
	}
	.section-row__desc { flex-basis: 100%; max-width: none; }
	.view-all { justify-self: end; }
}
@media (max-width: 700px) {
	.row {
		flex-wrap: wrap;
		max-width: none;
	}
	.row .card { flex: calc(var(--ar) * 100) 1 calc(var(--ar) * 150px); }
}

/* ---------- Cards ---------- */
.card {
	position: relative;
	display: block;
	aspect-ratio: var(--ar, 1.3);
	overflow: hidden;
	background: var(--paper-2);
	color: inherit;
	text-decoration: none;
}
.card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card:hover .card__img,
.card:focus-visible .card__img { transform: scale(1.035); }
.card__cap {
	position: absolute;
	inset: auto 0 0;
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 30px 12px 10px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
	color: #fff;
	font-size: 12px;
	line-height: 1.25;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.25s, transform 0.25s;
}
.card:hover .card__cap,
.card:focus-visible .card__cap {
	opacity: 1;
	transform: none;
}
.card__meta { white-space: nowrap; opacity: 0.8; }
@media (hover: none) {
	.card__cap { display: none; }
}
.card__play {
	position: absolute;
	left: 50%;
	top: 50%;
	display: grid;
	place-items: center;
	width: clamp(44px, 5vw, 64px);
	height: clamp(44px, 5vw, 64px);
	border: 1.5px solid rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.18);
	color: #fff;
	transform: translate(-50%, -50%);
	transition: background 0.25s, transform 0.25s;
}
.card__play .icon { width: 48%; height: 48%; }
.card:hover .card__play { background: rgba(0, 0, 0, 0.4); transform: translate(-50%, -50%) scale(1.06); }
.card__text,
.card__empty {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	padding: 8% 9%;
	background: var(--card-text);
	color: #2a2723;
}
.card__text {
	font-family: var(--serif);
	font-size: clamp(15px, 1.7vw, 24px);
	line-height: 1.2;
}
.card__empty {
	justify-content: center;
	text-align: center;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mute);
}

/* ---------- Archives ---------- */
.archive__head {
	padding-top: clamp(28px, 5vw, 64px);
	padding-bottom: clamp(20px, 3vw, 36px);
}
.archive__title {
	margin: 6px 0 0;
	font-weight: 400;
	font-size: clamp(40px, 7vw, 104px);
	line-height: 0.95;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}
.archive__desc {
	max-width: 46ch;
	margin: 16px 0 0;
	color: var(--mute);
}
.archive__body { padding-bottom: clamp(48px, 8vw, 110px); }
.filter {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	margin-top: clamp(20px, 3vw, 36px);
}
.filter__link {
	padding: 6px 0;
	border-bottom: 1px solid transparent;
	color: var(--mute);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}
.filter__link:hover,
.filter__link.is-current {
	color: var(--ink);
	border-bottom-color: currentColor;
}
.justified {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(8px, 1vw, 14px);
}
.justified .card { flex: calc(var(--ar) * 100) 1 calc(var(--ar) * var(--jh)); }
.justified::after {
	content: "";
	flex-grow: 100000;
}
.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 18px;
	margin-top: 56px;
}
.pagination .page-numbers {
	padding: 4px 2px;
	border-bottom: 1px solid transparent;
	text-decoration: none;
}
.pagination .page-numbers.current,
.pagination a.page-numbers:hover { border-bottom-color: currentColor; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid var(--line);
}
.plain-list a { text-decoration: none; font-size: 20px; }
.plain-list span { color: var(--mute); font-size: 13px; }

/* ---------- Single work ---------- */
.work__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.85fr) minmax(260px, 1fr);
	column-gap: clamp(28px, 5vw, 88px);
	align-items: start;
	padding-top: clamp(12px, 2vw, 28px);
	padding-bottom: clamp(40px, 6vw, 88px);
}
.work__media {
	display: flex;
	flex-direction: column;
	gap: clamp(12px, 1.6vw, 22px);
	min-width: 0;
}
.work__fig { margin: 0; }
.work__fig a { display: block; width: fit-content; max-width: 100%; cursor: zoom-in; }
/* A tall painting is shown whole on one screen. */
.work__fig img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: calc(100vh - 48px);
}
.work__fig figcaption {
	margin-top: 8px;
	color: var(--mute);
	font-size: 12px;
}
.work__info {
	position: sticky;
	top: 24px;
	min-width: 0;
}
.work__back { margin: 0; }
.work__back a,
.work__nav small {
	color: var(--mute);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}
.work__back a:hover { color: var(--ink); }
.work__title {
	margin: 14px 0 0;
	font-weight: 400;
	font-size: clamp(30px, 3.4vw, 54px);
	line-height: 1;
	letter-spacing: -0.025em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}
.work__facts {
	margin: 14px 0 0;
	color: var(--mute);
	font-size: 14px;
}
.work__event { margin: 22px 0 0; }
.work__event div {
	display: grid;
	grid-template-columns: 5.5em 1fr;
	gap: 12px;
	padding: 9px 0;
	border-top: 1px solid var(--line);
	font-size: 14px;
}
.work__event dt {
	color: var(--mute);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding-top: 2px;
}
.work__event dd { margin: 0; }
.work__content { margin-top: 26px; }
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}
.chips a {
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}
.chips a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.work__nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 36px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
}
.work__nav a { text-decoration: none; font-size: 14px; }
.work__nav small { display: block; margin-bottom: 4px; font-size: 10.5px; }
.work__nav-next { grid-column: 2; text-align: right; }

/* Text works (poems): the text is the work */
.work--text .work__grid {
	grid-template-columns: minmax(0, 780px);
	justify-content: center;
}
.work--text .work__info { position: static; }
.work--text .work__media { order: 2; margin-top: 44px; }
.work--text .work__content {
	margin-top: 38px;
	font-family: var(--serif);
	font-size: clamp(20px, 2.2vw, 30px);
	line-height: 1.38;
}
.work--text .work__content p { margin: 0 0 1.1em; }

/* Video */
.video {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #111;
}
.video__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	padding: 0;
	border: 0;
	background: #111;
	cursor: pointer;
}
.video__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.video__play {
	position: absolute;
	left: 50%;
	top: 50%;
	display: grid;
	place-items: center;
	width: clamp(60px, 8vw, 96px);
	height: clamp(60px, 8vw, 96px);
	border: 2px solid #fff;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.25);
	color: #fff;
	transform: translate(-50%, -50%);
	transition: transform 0.25s, background 0.25s;
}
.video__play .icon { width: 46%; height: 46%; }
.video__poster:hover .video__play { background: rgba(0, 0, 0, 0.5); transform: translate(-50%, -50%) scale(1.06); }
.video iframe,
.video video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

/* More from the section */
.more { padding-bottom: clamp(48px, 7vw, 100px); }
.more__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
	padding-top: clamp(22px, 3vw, 36px);
	border-top: 1px solid var(--line);
}
.more__title {
	margin: 0;
	font-weight: 400;
	font-size: clamp(20px, 2.2vw, 30px);
	letter-spacing: -0.01em;
	text-transform: uppercase;
}
@media (max-width: 899px) {
	.work__grid { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
	.work__info { position: static; }
	.work__media { order: 0; }
}

/* ---------- Pages and long text ---------- */
.page__grid {
	max-width: calc(820px + 2 * var(--pad));
	padding-block: clamp(28px, 5vw, 64px) clamp(48px, 8vw, 110px);
}
.page__grid:has(.page__fig) {
	max-width: var(--max);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	column-gap: clamp(28px, 5vw, 88px);
	align-items: start;
}
.page__grid:has(.page__fig) .page__head { grid-column: 1 / -1; }
.page__title {
	margin: 6px 0 clamp(20px, 3vw, 36px);
	font-weight: 400;
	font-size: clamp(40px, 7vw, 104px);
	line-height: 0.95;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}
.page__fig { margin: 0; }
@media (max-width: 899px) {
	.page__grid:has(.page__fig) { grid-template-columns: minmax(0, 1fr); }
}
.entry { font-size: 16px; line-height: 1.62; }
.entry > :first-child { margin-top: 0; }
.entry h2,
.entry h3 { font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; margin: 1.6em 0 0.5em; }
.entry blockquote {
	margin: 1.4em 0;
	padding-left: 18px;
	border-left: 2px solid var(--line);
	font-family: var(--serif);
}
.entry a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry img { height: auto; }
.entry figcaption,
.wp-caption-text { color: var(--mute); font-size: 12px; }
.entry .alignleft { float: left; margin: 0 1.4em 1em 0; }
.entry .alignright { float: right; margin: 0 0 1em 1.4em; }
.entry .aligncenter { margin-inline: auto; }
.entry .wp-block-gallery { gap: 10px; }
.search-form { display: flex; gap: 8px; margin-top: 16px; }
.search-form input[type="search"] {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid var(--line);
	background: transparent;
	font: inherit;
}
.search-form input[type="submit"] {
	padding: 10px 16px;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: var(--paper);
	font: inherit;
	cursor: pointer;
}

/* ---------- Footer ---------- */
.site-footer {
	margin-top: clamp(8px, 2vw, 24px);
	border-top: 1px solid var(--line);
}
.site-footer__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px clamp(14px, 2.4vw, 32px);
	padding-block: 22px;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.site-footer__label,
.site-footer__copy { margin: 0; }
.site-footer__rule {
	flex: 1 1 40px;
	min-width: 40px;
	height: 1px;
	background: var(--line);
}
.site-footer__mail {
	font-size: 13px;
	letter-spacing: 0.02em;
	text-transform: none;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}
.social {
	display: flex;
	align-items: center;
	gap: 16px;
}
.social__link { display: block; line-height: 0; transition: opacity 0.2s; }
.social__link:hover { opacity: 0.6; }
.social__link .icon { width: 22px; height: 22px; }
.site-footer__copy {
	padding-left: clamp(14px, 2.4vw, 32px);
	border-left: 1px solid var(--line);
}
.site-footer__shapes {
	display: block;
	width: 100%;
	height: clamp(32px, 6vw, 64px);
}
@media (max-width: 640px) {
	.site-footer__rule { display: none; }
	.site-footer__copy { padding-left: 0; border-left: 0; flex-basis: 100%; }
}

/* ---------- Lightbox ---------- */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: grid;
	place-items: center;
	background: rgba(12, 11, 10, 0.95);
	color: #fff;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
	max-width: 94vw;
	max-height: 90vh;
	width: auto;
	height: auto;
	object-fit: contain;
}
.lightbox button {
	position: absolute;
	width: 48px;
	height: 48px;
	border: 0;
	background: none;
	color: #fff;
	font: 300 34px/1 var(--sans);
	cursor: pointer;
	opacity: 0.8;
}
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__prev { left: 6px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 6px; top: 50%; margin-top: -24px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
