:root {
	--paper: #f4f3ee;
	--ink: #10110f;
	--muted: #686a63;
	--line: rgba(16, 17, 15, 0.18);
	--acid: #d8ff48;
	--shell: 1540px;
	--gutter: clamp(1.1rem, 3vw, 3rem);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

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

img,
video,
iframe {
	display: block;
	max-width: 100%;
}

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

button {
	color: inherit;
}

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

:focus-visible {
	outline: 3px solid #3157ff;
	outline-offset: 4px;
}

.site-shell {
	width: min(100%, calc(var(--shell) + (var(--gutter) * 2)));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.skip-link {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100;
	padding: 0.65rem 0.9rem;
	background: var(--ink);
	color: #fff;
	transform: translateY(-180%);
}

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

.site-header {
	position: relative;
	z-index: 20;
}

.site-header__inner {
	display: flex;
	min-height: 5.5rem;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--line);
}

.site-brand {
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.site-brand span::after {
	display: inline-block;
	width: 0.52rem;
	height: 0.52rem;
	margin-left: 0.45rem;
	border-radius: 50%;
	background: var(--acid);
	content: "";
}

.site-nav {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.4vw, 2.5rem);
	font-size: 0.84rem;
	font-weight: 600;
}

.site-nav a {
	transition: opacity 180ms ease;
}

.site-nav a:hover {
	opacity: 0.55;
}

.site-nav__contact {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.72rem 0.95rem;
	border: 1px solid var(--ink);
	border-radius: 999px;
}

.eyebrow {
	margin: 0;
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.hero {
	min-height: clamp(33rem, 62vh, 48rem);
}

.hero__inner {
	display: flex;
	min-height: inherit;
	flex-direction: column;
	justify-content: space-between;
	padding-top: clamp(4rem, 9vh, 7rem);
	padding-bottom: clamp(3.2rem, 7vh, 5.5rem);
}

.hero h1 {
	max-width: 10.5ch;
	margin: clamp(2.5rem, 7vh, 5.5rem) 0;
	font-size: clamp(3.6rem, 8.6vw, 9rem);
	font-weight: 560;
	letter-spacing: -0.075em;
	line-height: 0.88;
}

.hero__footer {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	align-items: end;
	gap: 1rem;
}

.hero__footer > p {
	grid-column: 7 / span 4;
	max-width: 34rem;
	margin: 0;
	color: var(--muted);
	font-size: clamp(1rem, 1.3vw, 1.25rem);
	line-height: 1.45;
}

.hero__actions {
	display: flex;
	grid-column: 11 / -1;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.6rem;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding-bottom: 0.15rem;
	border-bottom: 1px solid currentColor;
	font-size: 0.87rem;
	font-weight: 700;
}

.text-link span {
	transition: transform 250ms var(--ease);
}

.text-link:hover span {
	transform: translate(0.18rem, -0.18rem);
}

.text-link[href$="#work"]:hover span,
.hero .text-link[href="#work"]:hover span {
	transform: translateY(0.2rem);
}

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

.work {
	padding-block: clamp(4rem, 8vw, 8rem);
	background: var(--ink);
	color: #f7f7f2;
}

.section-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: clamp(1.4rem, 2.5vw, 2.5rem);
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.section-heading h2 {
	margin: 0;
	font-size: clamp(1.3rem, 2vw, 2rem);
	font-weight: 550;
	letter-spacing: -0.045em;
}

.section-heading span {
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(1rem, 2.2vw, 2.25rem);
}

.project-card {
	grid-column: span 6;
}

.project-card--1,
.project-card--6 {
	grid-column: 1 / -1;
}

.project-card--2,
.project-card--5 {
	grid-column: span 7;
}

.project-card--3,
.project-card--4 {
	grid-column: span 5;
}

.project-card__link,
.project-card__media {
	display: block;
	height: 100%;
}

.project-card__media {
	position: relative;
	overflow: hidden;
	min-height: 28rem;
	background: #252721;
	isolation: isolate;
}

.project-card--1 .project-card__media,
.project-card--6 .project-card__media {
	min-height: min(72vh, 52rem);
}

.project-card__image,
.project-card__preview,
.project-card__placeholder,
.project-card__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.project-card__image,
.project-card__preview {
	object-fit: cover;
	transition: opacity 300ms ease, transform 700ms var(--ease);
}

.project-card__preview {
	z-index: 1;
	opacity: 0;
}

.project-card.is-previewing .project-card__preview {
	opacity: 1;
}

.project-card__placeholder {
	display: grid;
	place-items: center;
	background:
		radial-gradient(circle at 76% 22%, rgba(216, 255, 72, 0.9), transparent 0 18%, transparent 19%),
		linear-gradient(145deg, #3f4630 0%, #1d211b 48%, #0b0c0a 100%);
}

.project-card:nth-child(3n) .project-card__placeholder {
	background:
		radial-gradient(circle at 24% 28%, rgba(71, 95, 255, 0.9), transparent 0 22%, transparent 23%),
		linear-gradient(135deg, #30313a, #131413 64%);
}

.project-card__placeholder span {
	color: rgba(255, 255, 255, 0.12);
	font-size: clamp(8rem, 22vw, 24rem);
	font-weight: 650;
	letter-spacing: -0.1em;
	line-height: 1;
}

.project-card__shade {
	z-index: 2;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 40%, rgba(0, 0, 0, 0.78));
	transition: opacity 300ms ease;
}

.project-card__number,
.project-card__arrow,
.project-card__copy {
	position: absolute;
	z-index: 3;
}

.project-card__number {
	top: clamp(1rem, 2vw, 1.8rem);
	left: clamp(1rem, 2vw, 1.8rem);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.project-card__arrow {
	top: clamp(0.8rem, 1.7vw, 1.4rem);
	right: clamp(0.8rem, 1.7vw, 1.4rem);
	display: grid;
	width: 2.8rem;
	height: 2.8rem;
	place-items: center;
	border-radius: 50%;
	background: var(--acid);
	color: var(--ink);
	font-size: 1rem;
	transform: scale(0.82) rotate(-8deg);
	transition: transform 300ms var(--ease);
}

.project-card__copy {
	right: clamp(1rem, 2vw, 1.8rem);
	bottom: clamp(1rem, 2vw, 1.8rem);
	left: clamp(1rem, 2vw, 1.8rem);
	transition: transform 400ms var(--ease);
}

.project-card__copy h3 {
	max-width: 14ch;
	margin: 0 0 0.8rem;
	font-size: clamp(2rem, 4.4vw, 5.2rem);
	font-weight: 540;
	letter-spacing: -0.065em;
	line-height: 0.94;
}

.project-card:not(.project-card--1):not(.project-card--6) .project-card__copy h3 {
	font-size: clamp(1.8rem, 3vw, 3.7rem);
}

.project-card__copy p {
	display: flex;
	justify-content: space-between;
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.project-card__link:hover .project-card__image {
	transform: scale(1.025);
}

.project-card__link:hover .project-card__shade {
	opacity: 0.86;
}

.project-card__link:hover .project-card__arrow {
	transform: scale(1) rotate(0);
}

.project-card__link:hover .project-card__copy {
	transform: translateY(-0.35rem);
}

.empty-projects {
	display: flex;
	min-height: 24rem;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	padding: clamp(1.5rem, 4vw, 4rem);
	background: #1d1f1a;
}

.empty-projects p {
	max-width: 32rem;
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 3.5rem);
	letter-spacing: -0.05em;
	line-height: 1;
}

.about {
	padding-block: clamp(6rem, 12vw, 13rem);
}

.about__grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 1rem;
}

.about__grid > .eyebrow {
	grid-column: 1 / span 2;
	padding-top: 0.5rem;
}

.about__copy {
	grid-column: 4 / -1;
}

.about__copy h2 {
	max-width: 22ch;
	margin: 0 0 clamp(2rem, 5vw, 4rem);
	font-size: clamp(2.2rem, 5.1vw, 5.8rem);
	font-weight: 520;
	letter-spacing: -0.065em;
	line-height: 0.98;
}

.contact {
	padding-block: clamp(5rem, 10vw, 9rem);
	background: var(--acid);
}

.contact h2 {
	max-width: 10ch;
	margin: clamp(2.5rem, 6vw, 5rem) 0 0;
	font-size: clamp(3.1rem, 9vw, 10rem);
	font-weight: 560;
	letter-spacing: -0.08em;
	line-height: 0.86;
}

.contact__email {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin-top: clamp(2rem, 5vw, 4rem);
	padding-bottom: 0.12em;
	border-bottom: 0.06em solid currentColor;
	font-size: clamp(2rem, 6vw, 6.5rem);
	font-weight: 560;
	letter-spacing: -0.065em;
	line-height: 1;
}

.contact__email span {
	font-size: 0.65em;
	transition: transform 300ms var(--ease);
}

.contact__email:hover span {
	transform: translate(0.2em, -0.2em);
}

.contact__socials {
	display: flex;
	justify-content: flex-end;
	gap: 1.5rem;
	margin-top: 4rem;
	font-size: 0.82rem;
	font-weight: 700;
}

.site-footer {
	background: var(--ink);
	color: #fff;
}

.site-footer__inner {
	display: flex;
	min-height: 6rem;
	align-items: center;
	justify-content: space-between;
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.site-footer p {
	margin: 0;
}

.project-single {
	padding-top: clamp(3rem, 6vw, 6rem);
}

.project-hero {
	padding-bottom: clamp(3rem, 7vw, 6rem);
}

.project-back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--muted);
	font-size: 0.78rem;
	font-weight: 700;
}

.project-hero h1 {
	max-width: 13ch;
	margin: clamp(3rem, 8vw, 7rem) 0 clamp(3rem, 7vw, 6rem);
	font-size: clamp(3.6rem, 10vw, 10.5rem);
	font-weight: 550;
	letter-spacing: -0.08em;
	line-height: 0.86;
}

.project-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-left: 50%;
}

.project-meta p {
	display: flex;
	margin: 0;
	flex-direction: column;
	gap: 0.35rem;
	font-size: 0.84rem;
	font-weight: 650;
}

.project-meta span {
	color: var(--muted);
	font-size: 0.65rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.project-film {
	position: relative;
}

.video-poster {
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	min-height: min(70vh, 52rem);
	padding: 0;
	border: 0;
	background: #1b1d19;
	cursor: pointer;
}

.video-poster__image,
.project-film__image,
.video-poster__placeholder,
.video-poster__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-poster__placeholder {
	background: linear-gradient(135deg, #3b4130, #11120f);
}

.video-poster__shade {
	background: rgba(0, 0, 0, 0.22);
	transition: background 250ms ease;
}

.video-poster__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	width: clamp(6.5rem, 11vw, 10rem);
	height: clamp(6.5rem, 11vw, 10rem);
	place-items: center;
	border-radius: 50%;
	background: var(--acid);
	color: var(--ink);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transform: translate(-50%, -50%);
	transition: transform 350ms var(--ease);
}

.video-poster:hover .video-poster__shade {
	background: rgba(0, 0, 0, 0.35);
}

.video-poster:hover .video-poster__play {
	transform: translate(-50%, -50%) scale(1.06);
}

.video-frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.project-story {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 1rem;
	padding-top: clamp(4rem, 8vw, 8rem);
	padding-bottom: clamp(6rem, 12vw, 12rem);
}

.project-story__label {
	grid-column: 1 / span 2;
	color: var(--muted);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.project-story__content {
	grid-column: 5 / span 6;
	font-size: clamp(1.2rem, 2vw, 1.75rem);
	letter-spacing: -0.025em;
	line-height: 1.5;
}

.project-story__content > :first-child {
	margin-top: 0;
}

.project-story__content > :last-child {
	margin-bottom: 0;
}

.next-project {
	padding-bottom: clamp(3rem, 6vw, 6rem);
}

.next-project a {
	position: relative;
	display: flex;
	min-height: 20rem;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(1.5rem, 4vw, 4rem);
	background: var(--ink);
	color: #fff;
}

.next-project span {
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.next-project strong {
	max-width: 15ch;
	font-size: clamp(2.5rem, 6vw, 7rem);
	font-weight: 540;
	letter-spacing: -0.07em;
	line-height: 0.92;
}

.next-project i {
	position: absolute;
	top: 2rem;
	right: 2rem;
	font-size: 2rem;
	font-style: normal;
	transition: transform 300ms var(--ease);
}

.next-project a:hover i {
	transform: translate(0.3rem, -0.3rem);
}

.standard-page,
.not-found {
	min-height: 70vh;
	padding-top: clamp(5rem, 10vw, 10rem);
	padding-bottom: clamp(6rem, 12vw, 12rem);
}

.standard-page h1,
.not-found h1 {
	max-width: 12ch;
	margin: 0 0 3rem;
	font-size: clamp(3rem, 8vw, 8rem);
	font-weight: 550;
	letter-spacing: -0.075em;
	line-height: 0.9;
}

.standard-page__content {
	max-width: 48rem;
	margin-left: auto;
}

.has-js [data-reveal] {
	opacity: 0;
	transform: translateY(1rem);
	transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

.has-js [data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 900px) {
	.hero__footer > p {
		grid-column: 1 / span 8;
	}

	.hero__actions {
		grid-column: 9 / -1;
	}

	.project-card,
	.project-card--1,
	.project-card--2,
	.project-card--3,
	.project-card--4,
	.project-card--5,
	.project-card--6 {
		grid-column: 1 / -1;
	}

	.project-card__media,
	.project-card--1 .project-card__media,
	.project-card--6 .project-card__media {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.about__copy {
		grid-column: 4 / -1;
	}

	.project-meta {
		margin-left: 33.333%;
	}

	.project-story__content {
		grid-column: 4 / -1;
	}
}

@media (max-width: 640px) {
	.site-header__inner {
		min-height: 4.5rem;
	}

	.site-nav {
		gap: 1rem;
	}

	.site-nav a:not(.site-nav__contact) {
		display: none;
	}

	.site-nav__contact {
		padding: 0.55rem 0.78rem;
	}

	.hero {
		min-height: calc(100svh - 4.5rem);
	}

	.hero__inner {
		padding-top: 3rem;
		padding-bottom: 2.5rem;
	}

	.hero h1 {
		font-size: clamp(3.45rem, 17vw, 5.8rem);
	}

	.hero__footer {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 1.5rem;
	}

	.hero__actions {
		align-items: flex-start;
	}

	.section-heading {
		align-items: flex-end;
	}

	.project-grid {
		gap: 1rem;
	}

	.project-card__media,
	.project-card--1 .project-card__media,
	.project-card--6 .project-card__media {
		aspect-ratio: 4 / 3;
	}

	.project-card__arrow {
		width: 2.45rem;
		height: 2.45rem;
	}

	.project-card__copy h3,
	.project-card:not(.project-card--1):not(.project-card--6) .project-card__copy h3 {
		font-size: clamp(1.9rem, 9vw, 3rem);
	}

	.empty-projects {
		min-height: 26rem;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-end;
	}

	.about__grid {
		display: block;
	}

	.about__grid > .eyebrow {
		margin-bottom: 2rem;
	}

	.contact__socials {
		justify-content: flex-start;
	}

	.project-meta {
		grid-template-columns: 1fr 1fr;
		margin-left: 0;
	}

	.video-poster {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.project-story {
		display: block;
	}

	.project-story__label {
		margin-bottom: 2rem;
	}

	.next-project a {
		min-height: 17rem;
	}

	.site-footer__inner {
		min-height: 5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.has-js [data-reveal] {
		opacity: 1;
		transform: none;
	}

	.project-card__preview {
		display: none;
	}
}
