@font-face {
	font-family: Unbounded;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/unbounded/unbounded-cyrillic-400.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: Unbounded;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/unbounded/unbounded-cyrillic-600.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: Unbounded;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/unbounded/unbounded-latin-400.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: Unbounded;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/unbounded/unbounded-latin-600.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Golos Text";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/golos-text/golos-text-cyrillic-400.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: "Golos Text";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/golos-text/golos-text-cyrillic-500.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: "Golos Text";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/golos-text/golos-text-latin-400.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Golos Text";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/golos-text/golos-text-latin-500.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--color-void: #0e0e0e;
	--color-granite: #111111;
	--color-pillar: #1a1a1a;
	--color-frost: #eceae4;
	--color-mist: #b7b4ac;
	--color-alpenglow: #c9c2b3;
	--color-hairline: rgb(236 234 228 / 0.12);
	--color-hairline-strong: rgb(236 234 228 / 0.28);
	--font-display: Unbounded, "Segoe UI", sans-serif;
	--font-body: "Golos Text", "Segoe UI", sans-serif;
	--radius: 0;
	--header-h: 64px;
	--page-gutter: clamp(1.25rem, 4vw, 3rem);
	--wrap: 72rem;
	--measure: 65ch;
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--space-8: 4.5rem;
	--space-9: 7rem;
	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
	--z-header: 40;
	--z-nav: 45;
	--z-modal: 50;
	--shadow-modal: 0 18px 48px rgb(16 18 15 / 0.46);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	background: var(--color-granite);
	color: var(--color-frost);
	font-family: var(--font-body);
	font-size: 100%;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	scrollbar-color: var(--color-mist) var(--color-void);
}

body {
	margin: 0;
	min-height: 100dvh;
	background: var(--color-granite);
	color: var(--color-frost);
}

::selection {
	background: var(--color-alpenglow);
	color: var(--color-void);
}

:focus {
	outline: none;
}

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

input,
textarea {
	caret-color: var(--color-alpenglow);
}

a {
	color: inherit;
	text-underline-offset: 0.18em;
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure {
	margin: 0;
}

button,
input,
textarea {
	font: inherit;
	color: inherit;
}

.wrap {
	width: min(var(--wrap), calc(100% - var(--page-gutter) * 2));
	margin-inline: auto;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: var(--page-gutter);
	top: 0;
	z-index: calc(var(--z-modal) + 1);
	transform: translateY(-120%);
	padding: 0.65rem 0.9rem;
	background: var(--color-frost);
	color: var(--color-granite);
	text-decoration: none;
}

.skip-link:focus {
	transform: translateY(0.75rem);
}

.icon,
.site-header svg,
.modal__close svg,
.nav-toggle svg {
	width: 1.25rem;
	height: 1.25rem;
	display: block;
	fill: currentColor;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.7rem 1.2rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	background: var(--color-frost);
	color: var(--color-granite);
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 140ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out);
}

.button:active {
	transform: scale(0.97);
}

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

.button--frost {
	background: var(--color-frost);
	color: var(--color-granite);
}

.button--ghost {
	background: transparent;
	border-color: var(--color-hairline-strong);
	color: var(--color-frost);
}

.button--block {
	width: 100%;
}

.button--header {
	min-height: 2.4rem;
	padding-inline: 1rem;
}

@media (hover: hover) and (pointer: fine) {
	.button--frost:hover {
		background: #f4f2ec;
	}

	.button--ghost:hover {
		border-color: var(--color-frost);
	}
}

.text-link {
	color: var(--color-frost);
	font-weight: 500;
	text-decoration-color: var(--color-alpenglow);
}

.text-link:hover {
	color: var(--color-alpenglow);
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 60;
	pointer-events: none;
	opacity: 0.035;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
	position: sticky;
	top: 0;
	z-index: var(--z-header);
	height: var(--header-h);
	background: var(--color-granite);
	border-bottom: 1px solid var(--color-hairline);
}

.home .site-header {
	position: absolute;
	left: 0;
	right: 0;
	background: linear-gradient(to bottom, rgb(14 14 14 / 0.72), rgb(14 14 14 / 0));
	border-bottom-color: transparent;
}

.site-header__bar {
	display: flex;
	align-items: center;
	gap: var(--space-5);
	height: var(--header-h);
	width: min(var(--wrap), calc(100% - var(--page-gutter) * 2));
	margin-inline: auto;
}

.wordmark {
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: -0.03em;
	text-decoration: none;
	flex: 0 0 auto;
}

.wordmark--logo img {
	height: 1.5rem;
	width: auto;
}

.wordmark--footer {
	font-size: 1.2rem;
}

.nav-primary {
	flex: 1 1 auto;
	min-width: 0;
}

.nav-primary .menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.nav-primary a {
	font-size: 0.9375rem;
	text-decoration: none;
	color: var(--color-mist);
}

@media (hover: hover) and (pointer: fine) {
	.nav-primary a:hover {
		color: var(--color-frost);
	}
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	margin-left: auto;
}

.nav-toggle {
	display: none;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid var(--color-hairline-strong);
	background: var(--color-pillar);
	color: var(--color-frost);
	cursor: pointer;
}

.nav-toggle .nav-toggle__close {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
	display: block;
}

.nav-drawer {
	display: none;
}

.hero {
	position: relative;
	min-height: 100dvh;
	display: grid;
	align-items: end;
	overflow: hidden;
	background: var(--color-void);
}

.hero__media,
.hero__scrim {
	position: absolute;
	inset: 0;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 40%;
}

.hero__scrim {
	background:
		linear-gradient(90deg, rgb(14 14 14 / 0.82) 0%, rgb(14 14 14 / 0.42) 48%, rgb(14 14 14 / 0.18) 100%),
		linear-gradient(to top, rgb(14 14 14 / 0.55), transparent 42%);
}

.hero__copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: calc(var(--header-h) + 2rem) 0 var(--space-8);
	max-width: 40rem;
}

.hero__title {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 3.4rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.035em;
	max-width: 12em;
	text-shadow: 0 12px 40px rgb(14 14 14 / 0.45);
}

.hero__lede {
	margin-top: var(--space-5);
	max-width: 36ch;
	color: var(--color-frost);
	font-size: 1.125rem;
	line-height: 1.5;
}

.hero__action {
	margin-top: var(--space-6);
}

.section-title {
	margin-top: 0;
	margin-bottom: var(--space-6);
	font-family: var(--font-display);
	font-size: clamp(1.7rem, 2.6vw, 2.35rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.process,
.work,
.journal,
.page-intro,
.article,
.miss,
.empty,
.comments {
	padding-block: var(--space-9);
}

.work__note {
	margin: calc(var(--space-3) * -1) 0 var(--space-6);
	color: var(--color-mist);
	max-width: 48ch;
}

.work__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	grid-template-rows: auto auto;
	gap: var(--space-5);
	list-style: none;
	padding: 0;
}

.work__item--lead {
	grid-row: 1 / span 2;
}

.work__figure {
	overflow: hidden;
	background: var(--color-pillar);
	margin-bottom: var(--space-4);
}

.work__figure img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 240ms var(--ease-out);
}

.work__item--lead .work__figure img {
	aspect-ratio: 3 / 4;
	min-height: 100%;
}

.work__name {
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: -0.03em;
}

.work__text {
	margin-top: var(--space-2);
	color: var(--color-mist);
	max-width: 32ch;
}

@media (hover: hover) and (pointer: fine) {
	.work__item:hover .work__figure img {
		transform: scale(1.04);
	}
}

.process__list,
.audience__list,
.journal__list,
.post-list,
.comment-list {
	list-style: none;
	padding: 0;
}

.process__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--color-hairline);
}

.process__item {
	padding: var(--space-6) var(--space-5) var(--space-6) 0;
	border-right: 1px solid var(--color-hairline);
}

.process__item:last-child {
	border-right: 0;
	padding-right: 0;
}

.process__name {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 2vw, 1.9rem);
	font-weight: 600;
	letter-spacing: -0.03em;
}

.process__text {
	margin-top: var(--space-4);
	max-width: 28ch;
	color: var(--color-mist);
}

.audience {
	border-top: 1px solid var(--color-hairline);
}

.audience__copy {
	padding-block: var(--space-9) 0;
}

.audience__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
}

.audience__item {
	padding: var(--space-5) var(--space-5) var(--space-5) 0;
	border-top: 1px solid var(--color-hairline);
}

.audience__item:last-child {
	border-bottom: 1px solid var(--color-hairline);
}

.audience__name {
	font-family: var(--font-display);
	font-size: 1.45rem;
	font-weight: 600;
	letter-spacing: -0.03em;
}

.audience__text {
	margin-top: var(--space-2);
	color: var(--color-mist);
	max-width: 36ch;
}

.journal__more {
	margin-top: var(--space-6);
}

.post-row {
	display: grid;
	grid-template-columns: 8.5rem minmax(0, 1fr);
	gap: var(--space-5);
	align-items: baseline;
	padding-block: var(--space-5);
	border-top: 1px solid var(--color-hairline);
}

.post-row:last-child {
	border-bottom: 1px solid var(--color-hairline);
}

.post-row__title {
	font-family: var(--font-display);
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.25;
}

.post-row__title a {
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
	.post-row__title a:hover {
		color: var(--color-alpenglow);
	}
}

.meta-date {
	color: var(--color-mist);
	font-size: 0.875rem;
}

.empty-note {
	color: var(--color-mist);
	max-width: 42ch;
}

.empty .button {
	margin-top: var(--space-5);
}

.close-band {
	border-top: 1px solid var(--color-hairline);
	background: var(--color-pillar);
}

.close-band__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-6);
	padding-block: var(--space-9);
}

.close-band__title {
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 3.2vw, 3rem);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.12;
	max-width: 16ch;
}

.page-intro__title,
.article__title,
.miss__title {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.12;
}

.page-intro__title {
	font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.page-intro__lede {
	margin-top: var(--space-4);
	max-width: 40ch;
	color: var(--color-mist);
}

.article__header {
	margin-bottom: var(--space-7);
}

.article__title {
	margin-top: var(--space-4);
	font-size: clamp(2rem, 3.6vw, 3.2rem);
	max-width: 18ch;
}

.article__figure {
	margin: 0 0 var(--space-7);
}

.article__figure img {
	width: 100%;
	height: auto;
}

.entry-content {
	max-width: var(--measure);
	font-size: 1.125rem;
	line-height: 1.65;
}

.entry-content > * + * {
	margin-top: 1.15em;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.6em;
	margin-bottom: 0.4em;
	font-family: var(--font-display);
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.entry-content a {
	color: var(--color-frost);
	text-decoration-color: var(--color-alpenglow);
}

.miss {
	min-height: calc(100dvh - var(--header-h) - 14rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.miss__title {
	font-size: clamp(2.2rem, 4.4vw, 3.8rem);
	max-width: 12ch;
}

.miss__lede {
	margin-top: var(--space-5);
	max-width: 34ch;
	color: var(--color-mist);
}

.miss__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin-top: var(--space-6);
}

.pagination {
	padding-bottom: var(--space-9);
}

.pagination .nav-links {
	display: flex;
	gap: var(--space-4);
}

.site-footer {
	border-top: 1px solid var(--color-hairline);
	padding: var(--space-8) 0 var(--space-6);
}

.site-footer__grid,
.site-footer__meta {
	width: min(var(--wrap), calc(100% - var(--page-gutter) * 2));
	margin-inline: auto;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: var(--space-7);
	align-items: start;
}

.site-footer__place,
.site-footer__meta,
.site-footer__credit {
	color: var(--color-mist);
}

.site-footer__place {
	margin-top: var(--space-2);
}

.menu--footer {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.menu--footer a {
	text-decoration: none;
	color: var(--color-mist);
}

.site-footer__meta {
	display: flex;
	justify-content: space-between;
	gap: var(--space-4);
	margin-top: var(--space-8);
	padding-top: var(--space-5);
	border-top: 1px solid var(--color-hairline);
	font-size: 0.8125rem;
}

.modal[hidden] {
	display: none;
}

.modal:not([hidden]) {
	position: fixed;
	inset: 0;
	z-index: var(--z-modal);
	display: grid;
	place-items: center;
	padding: var(--page-gutter);
}

.modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(16 18 15 / 0.72);
}

.modal__panel {
	position: relative;
	z-index: 1;
	width: min(32rem, 100%);
	padding: var(--space-6);
	background: var(--color-pillar);
	border: 1px solid var(--color-hairline);
	box-shadow: var(--shadow-modal);
	transform-origin: center;
	transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}

.modal.is-open .modal__panel {
	transform: scale(1);
	opacity: 1;
}

.modal:not(.is-open) .modal__panel {
	transform: scale(0.96);
	opacity: 0;
}

.modal__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-frost);
	cursor: pointer;
}

.modal__title {
	font-family: var(--font-display);
	font-size: 1.7rem;
	letter-spacing: -0.03em;
	padding-right: 2rem;
}

.modal__lede {
	margin-top: var(--space-3);
	margin-bottom: var(--space-5);
	color: var(--color-mist);
}

.field {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	margin-bottom: var(--space-4);
}

.field label {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-frost);
}

.field input,
.field textarea,
.comment-form input,
.comment-form textarea {
	width: 100%;
	padding: 0.75rem 0.85rem;
	border: 1px solid var(--color-hairline-strong);
	border-radius: var(--radius);
	background: var(--color-granite);
	color: var(--color-frost);
}

.field input::placeholder,
.field textarea::placeholder {
	color: var(--color-mist);
	opacity: 1;
}

.field-error {
	color: #e8b4b4;
	margin-bottom: var(--space-4);
}

.field-success {
	color: #c9d4b8;
	margin-bottom: var(--space-4);
}

.comments__title {
	font-family: var(--font-display);
	margin-bottom: var(--space-5);
}

@media (max-width: 1023px) {
	.nav-primary,
	.site-header .button--header {
		display: none;
	}

	.nav-toggle {
		display: grid;
		place-items: center;
	}

	.nav-drawer:not([hidden]) {
		display: flex;
		flex-direction: column;
		gap: var(--space-6);
		position: fixed;
		top: var(--header-h);
		right: 0;
		left: 0;
		z-index: var(--z-nav);
		padding: var(--space-6) var(--page-gutter) var(--space-7);
		background: var(--color-granite);
		border-bottom: 1px solid var(--color-hairline);
		transform: translateY(0);
		transition: transform 220ms var(--ease-drawer), opacity 220ms var(--ease-out);
	}

	.nav-drawer[hidden] {
		display: flex;
		transform: translateY(-0.6rem);
		opacity: 0;
		pointer-events: none;
	}

	.menu--drawer {
		display: flex;
		flex-direction: column;
		gap: 1rem;
		list-style: none;
		padding: 0;
		margin: 0;
		font-family: var(--font-display);
		font-size: 1.6rem;
		letter-spacing: -0.03em;
	}

	.menu--drawer a {
		text-decoration: none;
	}

	.home .site-header {
		background: rgb(14 14 14 / 0.88);
	}

	.hero {
		min-height: 100dvh;
	}

	.hero__copy {
		padding-bottom: var(--space-7);
		max-width: none;
	}

	.hero__title {
		max-width: none;
		font-size: clamp(1.7rem, 7.2vw, 2.15rem);
	}

	.work__grid,
	.process__list,
	.audience__list,
	.post-row,
	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.work__item--lead {
		grid-row: auto;
	}

	.work__item--lead .work__figure img {
		aspect-ratio: 4 / 3;
	}

	.process__item {
		border-right: 0;
		padding-right: 0;
		border-bottom: 1px solid var(--color-hairline);
	}

	.site-footer__meta {
		flex-direction: column;
	}
}

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

	.button:active,
	.modal:not(.is-open) .modal__panel {
		transform: none;
	}
}
