:root {
	--ink: #1d1d1b;
	--muted: #6f685f;
	--paper: #faf7f2;
	--sand: #f3efe8;
	--line: #e4ddd3;
	--serif: "Cormorant Garamond", Georgia, serif;
	--sans: Outfit, "Segoe UI", sans-serif;
	--header: 4.5rem;
	--wide: 1120px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #faf7f2;
	color: #1d1d1b;
	font-family: Outfit, "Segoe UI", sans-serif;
	font-size: 1.0625rem;
	font-weight: 300;
	line-height: 1.7;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	text-decoration: none;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	background: #1d1d1b;
	color: #faf7f2;
	padding: 0.5rem 0.8rem;
	z-index: 20;
}
.skip-link:focus {
	top: 1rem;
}

.u-screen-reader,
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(250, 247, 242, 0.94);
	border-bottom: 1px solid #e4ddd3;
	backdrop-filter: blur(10px);
}

.header__inner {
	max-width: 1120px;
	margin: 0 auto;
	min-height: 4.5rem;
	padding: 0.75rem 1.25rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.header__logo {
	display: flex;
	flex: 0 0 auto;
	text-decoration: none;
}

.header__logo-image {
	height: 34px;
	width: auto;
}

.header__panel {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 1.75rem;
}

.header__toggle {
	display: none;
	margin-left: auto;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.header__toggle-bars {
	display: block;
	width: 1.25rem;
	height: 1px;
	margin: 0 auto;
	background: #1d1d1b;
	position: relative;
}
.header__toggle-bars::before, .header__toggle-bars::after {
	content: "";
	position: absolute;
	left: 0;
	display: block;
	width: 1.25rem;
	height: 1px;
	background: #1d1d1b;
}
.header__toggle-bars::before {
	top: -6px;
}
.header__toggle-bars::after {
	top: 6px;
}

@media (max-width: 720px) {
	.header__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.header__panel {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		margin: 0;
		padding: 0.5rem 1.25rem 1.25rem;
		background: #faf7f2;
		border-bottom: 1px solid #e4ddd3;
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.header--open .header__panel {
		display: flex;
	}
}
.main {
	max-width: 1120px;
	margin: 0 auto;
	padding: 2.5rem 1.25rem 4.5rem;
}

.footer {
	border-top: 1px solid #e4ddd3;
	background: #f3efe8;
}

.footer__inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 2.5rem 1.25rem 2rem;
	text-align: center;
}

.footer__brand {
	margin: 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.8rem;
	letter-spacing: 0.18em;
}

.footer__tagline,
.footer__copy {
	margin: 0.35rem 0 0;
	color: #6f685f;
	font-size: 0.92rem;
}

.footer__social {
	margin-top: 1rem;
}

.nav__menu {
	display: flex;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav__link {
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
}
.nav__link:hover {
	text-decoration: underline;
	text-underline-offset: 0.35em;
}

.nav__item.current-menu-item > .nav__link {
	text-decoration: underline;
	text-underline-offset: 0.35em;
}

@media (max-width: 720px) {
	.nav__menu {
		flex-direction: column;
		gap: 0.85rem;
	}
}
.lang {
	display: flex;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.12em;
}

.lang__link {
	text-decoration: none;
	color: #6f685f;
}

.lang__item--current .lang__link {
	color: #1d1d1b;
}

.page-header__title,
.entry__content h1,
.entry__content h2 {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin: 0 0 0.4rem;
}

.page-header__title {
	font-size: clamp(2.6rem, 6vw, 4.4rem);
}

.page-header__title-link {
	text-decoration: none;
}

.page-header__kicker {
	margin: 0 0 0.6rem;
	color: #6f685f;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.page-header__kicker-link {
	text-decoration: none;
}

.page-header__date {
	color: #6f685f;
	font-size: 0.9rem;
}

.page-header {
	margin: 0 0 2rem;
}

.note {
	text-align: center;
	color: #6f685f;
}

.entry__content > p:first-of-type {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.45rem;
	line-height: 1.35;
}

.entry__content img,
.wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

.entry--portfolio .wp-block-image img[data-zoom] {
	cursor: zoom-in;
}

.entry__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.9rem;
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.entry__tag-link {
	color: #6f685f;
	text-decoration: none;
}
.entry__tag-link:hover {
	color: #1d1d1b;
}

.entry__content .wp-block-image,
.entry__content .wp-block-gallery {
	margin: 2rem 0;
}

.wp-block-gallery.has-nested-images {
	display: grid;
	gap: 0.8rem;
}

.wp-block-gallery.columns-2 {
	grid-template-columns: 1fr 1fr;
}

.alignwide {
	max-width: 1120px;
	margin-left: auto;
	margin-right: auto;
}

.page--contact .entry__content {
	text-align: center;
	font-size: 1.15rem;
}
.page--contact .entry__content > p:first-of-type {
	font-family: Outfit, "Segoe UI", sans-serif;
	font-size: 1.35rem;
	font-weight: 500;
}

@media (max-width: 720px) {
	.wp-block-gallery.columns-2 {
		grid-template-columns: 1fr;
	}
}
.portfolio {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem 1rem;
}

.portfolio__card {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.portfolio__image,
.portfolio__fallback {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	background: #f3efe8;
}

.portfolio__meta {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.75rem 0.1rem 0.2rem;
}

.portfolio__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.45rem;
	line-height: 1.15;
}

.portfolio__date {
	color: #6f685f;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
}

.pagination {
	margin-top: 2.5rem;
}
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.35rem 0.9rem;
}
.pagination .page-numbers {
	color: #6f685f;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-decoration: none;
}
.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	color: #1d1d1b;
}
.pagination a.page-numbers:hover,
.pagination .page-numbers.current {
	text-decoration: underline;
	text-underline-offset: 0.35em;
}

@media (max-width: 860px) {
	.portfolio {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 520px) {
	.portfolio {
		grid-template-columns: 1fr;
	}

	.portfolio__image,
	.portfolio__fallback {
		aspect-ratio: 4 / 5;
	}
}
.social {
	display: flex;
	justify-content: center;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.social__link {
	text-decoration: none;
}

.lightbox {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 2rem;
	border: 0;
	background: transparent;
}
.lightbox[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}
.lightbox::backdrop {
	background: rgba(29, 29, 27, 0.92);
}

.lightbox__image {
	width: auto;
	max-width: 100%;
	max-height: 100%;
	height: auto;
	object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
	position: absolute;
	border: 0;
	background: transparent;
	color: #faf7f2;
	font: inherit;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}

.lightbox__close {
	top: 0.6rem;
	right: 0.8rem;
}

.lightbox__prev {
	left: 0.4rem;
	top: 50%;
}

.lightbox__next {
	right: 0.4rem;
	top: 50%;
}
