:root {
	--ink: #161616;
	--muted: #6b6b6b;
	--line: #e3e3e3;
	--paper: #ffffff;
	--sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--move: 0.45s;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 15px;
	line-height: 1.5;
	font-weight: 400;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;
	vertical-align: middle;
}

a { color: inherit; }

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

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

.mast {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 2rem 3rem;
	padding: 22px 36px 18px;
	border-bottom: 1px solid var(--line);
}

.mast__name {
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity var(--move) var(--ease);
}

.mast__name:hover { opacity: 0.55; }

.mast__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.35rem 1.35rem;
}

.mast__nav a {
	font-size: 14px;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 0.2em;
	transition: color var(--move) var(--ease), text-decoration-color var(--move) var(--ease);
}

.mast__nav a[aria-current="page"] {
	font-weight: 600;
}

.stage {
	flex: 1 0 auto;
	padding: 36px 36px 72px;
}

body:not(.home) .stage {
	animation: settle 0.6s var(--ease) backwards;
}

@keyframes settle {
	from { opacity: 0; }
	to { opacity: 1; }
}

.colophon {
	display: flex;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding: 14px 36px 18px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 13px;
}

.colophon p { margin: 0; }

.colophon__sign {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.15rem 1.25rem;
}

.colophon__copy,
.colophon__credit {
	font-size: 12px;
	letter-spacing: 0.04em;
	line-height: 1.45;
}

.colophon a { text-decoration: none; }

.colophon__credit a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.22em;
}

.colophon a,
.reel__title,
.work-card__title,
.contact-grid a {
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 0.2em;
	transition: color var(--move) var(--ease), text-decoration-color var(--move) var(--ease);
}

.colophon a:hover,
.mast__nav a:hover,
.reel__title:hover,
.work-card:hover .work-card__title,
.contact-grid a:hover {
	text-decoration-color: currentColor;
}

.colophon__credit a { text-decoration-color: currentColor; }

.reel {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 150px);
}

.reel__slide {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	max-width: min(920px, 100%);
	margin: 0;
}

.reel__slide[hidden] { display: none; }

.reel__frame {
	display: block;
	text-decoration: none;
}

.reel__frame .frame-img {
	display: block;
	width: auto;
	height: auto;
	max-width: min(920px, 86vw);
	max-height: calc(100vh - 230px);
	object-fit: contain;
}

.reel__caption {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.85rem;
	margin-top: 0.75rem;
	font-size: 13px;
}

.reel__count { color: var(--muted); }

.reel__title {
	font-weight: 500;
	text-decoration: none;
}

.reel__move {
	margin-left: auto;
	display: flex;
	gap: 0.9rem;
}

.reel__move button {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: var(--muted);
	cursor: pointer;
	transition: color var(--move) var(--ease);
}

.reel__move button:hover { color: var(--ink); }

.page-title {
	margin: 0 0 2rem;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.3;
}

.page-head { margin: 0; }

.work .page-title {
	margin: 0 0 0.2rem;
	font-size: 22px;
	font-weight: 500;
}

.kicker {
	margin: 0 0 0.4rem;
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.opening__meta {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
}

.work-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 3.5rem 2.4rem;
}

.work-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-decoration: none;
	min-width: 0;
}

.work-card__still {
	display: block;
	width: 100%;
}

.work-card__still .frame-img {
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: none;
	object-fit: contain;
	transition: opacity var(--move) var(--ease);
}

.work-card:hover .work-card__still .frame-img { opacity: 0.84; }

.work-card__title {
	margin-top: 0.85rem;
	font-size: 15px;
	font-weight: 600;
}

.work-card__meta {
	margin-top: 0.15rem;
	color: var(--muted);
	font-size: 13px;
}

.work-card__rule {
	width: 28px;
	height: 1px;
	margin-top: 0.7rem;
	background: #cfcfcf;
}

.entry {
	max-width: none;
	font-size: 15px;
	line-height: 1.65;
}

.entry--after { margin-top: 3.2rem; }

.entry a {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.entry img {
	width: auto;
	max-width: 100%;
	height: auto;
}

.work {
	max-width: none;
	margin: 0;
}

.work-spread {
	display: grid;
	grid-template-columns: minmax(260px, 34rem) minmax(0, 1fr);
	gap: 2.5rem 4.5rem;
	align-items: start;
}

.work-credit {
	position: sticky;
	top: 28px;
}

.work .page-title { margin-bottom: 0; }

.kunye {
	list-style: none;
	margin: 1rem 0 1.35rem;
	padding: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.45;
	font-variant-numeric: tabular-nums lining-nums;
	font-feature-settings: "tnum" 1, "lnum" 1;
}

.kunye li { margin: 0; }

.work-stage .plates { margin-top: 0; }

.work-stage .plate .frame-img {
	width: 100%;
	max-width: none;
	height: auto;
}

.work-stage iframe,
.work-stage .wpb_video_wrapper iframe {
	max-width: none;
	width: 100%;
}

.plates {
	display: flex;
	flex-direction: column;
	gap: 3.2rem;
	margin-top: 2.2rem;
}

.plate { margin: 0; }

.plate figcaption {
	margin-top: 0.4rem;
	color: var(--muted);
	font-size: 13px;
}

.frame-img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.plate .frame-img {
	width: auto;
	max-width: 100%;
}

.film-entry { max-width: none; }

.film-entry iframe,
.entry iframe,
.wpb_video_wrapper iframe {
	display: block;
	width: 100%;
	max-width: 920px;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
	background: #111;
	position: static;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 18rem));
	gap: 2.2rem 4rem;
	font-size: 14.5px;
	line-height: 1.6;
}

.contact-grid h2 {
	margin: 0 0 0.55rem;
	font-size: 14.5px;
	font-weight: 600;
}

.contact-grid p { margin: 0 0 0.15rem; }

.contact-grid a {
	text-decoration: underline;
	text-decoration-color: transparent;
}

.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(16rem, 32rem);
	gap: 3.5rem 6rem;
	align-items: start;
}

.contact-form .hidden-fields-container {
	display: none;
}

.contact-form .screen-reader-response {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.contact-form .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 1.45rem;
}

.contact-form .huse-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.45rem 1.5rem;
}

.contact-form label {
	display: block;
}

.contact-form .huse-label {
	display: block;
	margin-bottom: 0.2rem;
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0.06em;
}

.contact-form .wpcf7-form-control-wrap {
	display: block;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.45rem 0 0.4rem;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
	color: var(--ink);
	font: inherit;
	font-size: 15px;
	line-height: 1.5;
	letter-spacing: 0;
	box-shadow: none;
	appearance: none;
	transition: border-color var(--move) var(--ease);
}

.contact-form textarea {
	min-height: 9rem;
	resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-bottom-color: var(--ink);
}

.contact-form .wpcf7-not-valid {
	border-bottom-color: #9a3b3b;
}

.contact-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 0.35rem;
	color: #9a3b3b;
	font-size: 12px;
	letter-spacing: 0;
}

.contact-form .wpcf7-submit {
	align-self: flex-start;
	width: auto;
	margin: 0.35rem 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	text-align: left;
	text-decoration: underline;
	text-underline-offset: 0.22em;
	cursor: pointer;
}

.contact-form .wpcf7-form.submitting .wpcf7-submit {
	opacity: 0.4;
}

.contact-form .wpcf7-spinner {
	display: none;
}

.contact-form .wpcf7-response-output {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
}

.vc_row {
	margin-left: 0;
	margin-right: 0;
}

.entry .wpb_text_column:has(.about-lead) {
	margin-bottom: 0;
}

.vc_column_container > .vc_column-inner {
	padding-left: 0;
	padding-right: 0;
}

.wpb_single_image img,
.vc_single_image-wrapper img {
	width: auto;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

@media (max-width: 980px) {
	.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.contact-layout {
		grid-template-columns: 1fr;
		gap: 2.4rem;
	}

	.contact-form {
		max-width: 36rem;
		padding-top: 1.6rem;
		border-top: 1px solid var(--line);
	}
}

@media (max-width: 720px) {
	.mast,
	.stage,
	.colophon {
		padding-left: 20px;
		padding-right: 20px;
	}

	.mast {
		flex-direction: column;
		gap: 0.8rem;
		padding-top: 16px;
	}

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

	.colophon { flex-direction: column; }

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

	.reel { min-height: 0; padding: 18px 0 8px; }

	.reel__frame .frame-img {
		max-width: 100%;
		max-height: 68vh;
	}

	.work-grid { grid-template-columns: 1fr; }

	.contact-grid { grid-template-columns: 1fr; }

	.contact-form .huse-row { grid-template-columns: 1fr; }

	.work-spread { grid-template-columns: 1fr; }

	.work-credit {
		position: static;
	}

	.work .page-title { font-size: 20px; }
}

.to-top {
	position: fixed;
	right: 28px;
	bottom: 22px;
	z-index: 30;
	display: grid;
	align-items: end;
	justify-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--move) var(--ease), color var(--move) var(--ease), bottom var(--move) var(--ease);
}

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

.to-top svg {
	width: 16px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.25;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.to-top.is-on {
	opacity: 1;
	pointer-events: auto;
}

.to-top:hover { color: var(--muted); }

body.home .to-top { color: #fff151; }

.plate.is-openable,
a.is-openable,
.about-portrait.is-openable { cursor: zoom-in; }

html:has(.lightbox[open]) { overflow: hidden; }

.lightbox {
	margin: 0;
	padding: 4.5rem 7rem 3rem;
	border: 0;
	width: 100vw;
	height: 100vh;
	max-width: none;
	max-height: none;
	background: #fff;
	color: var(--ink);
	overflow: hidden;
}

.lightbox[open] {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	animation: settle 0.45s var(--ease);
}

.lightbox::backdrop {
	background: #fff;
	animation: settle 0.45s var(--ease);
}

.lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 0;
	max-width: min(1400px, calc(100vw - 14rem));
}

.lightbox__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - 12rem);
	object-fit: contain;
}

.lightbox__img.is-gray { filter: grayscale(1); }

.lightbox__caption,
.lightbox__count {
	margin: 0.7rem 0 0;
	color: var(--muted);
	font-size: 13px;
	font-variant-numeric: tabular-nums lining-nums;
}

.lightbox__count { margin-top: 0.25rem; }

.lightbox__close,
.lightbox__step {
	position: absolute;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 14px;
	color: var(--muted);
	cursor: pointer;
	transition: color var(--move) var(--ease);
}

.lightbox__close:hover,
.lightbox__step:hover { color: var(--ink); }

.lightbox__close { top: 22px; right: 36px; }

.lightbox__prev { left: 36px; top: 50%; }

.lightbox__next { right: 36px; top: 50%; }

@media (max-width: 800px) {
	.lightbox { padding: 4rem 1.25rem 5rem; }

	.lightbox__figure,
	.lightbox__img { max-width: calc(100vw - 2.5rem); }

	.lightbox__prev,
	.lightbox__next { top: auto; bottom: 22px; }

	.lightbox__prev { left: 1.25rem; }

	.lightbox__next { right: 1.25rem; }

	.lightbox__close { right: 1.25rem; }
}

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

	.stage,
	.mast__name,
	.mast__nav a,
	.colophon a,
	.reel__title,
	.reel__move button,
	.work-card__title,
	.work-card__still .frame-img,
	.contact-grid a,
	.contact-form input,
	.contact-form textarea,
	.to-top,
	.lightbox,
	.lightbox::backdrop,
	.lightbox__close,
	.lightbox__step {
		animation: none;
		transition: none;
	}
}
