/**
 * Cre8tor Folio — front end.
 * Editorial and quiet: the work is the loud part.
 */

.cf-layout {
	--cf-accent: #ff9e2c;
	--cf-ink: #14161a;
	--cf-paper: #fbfaf7;
	--cf-max: 1240px;
	--cf-radius: 4px;
	--cf-muted: #6b7078;
	--cf-line: rgba(20, 22, 26, 0.12);
	--cf-line-soft: rgba(20, 22, 26, 0.07);

	background: var(--cf-paper);
	color: var(--cf-ink);
	font-size: 17px;
	line-height: 1.6;
	overflow-x: clip;
}

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

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

/* Wrap & rhythm */

.cf-wrap {
	width: 100%;
	max-width: var(--cf-max);
	margin-inline: auto;
	padding-inline: clamp(20px, 5vw, 56px);
}

.cf-w-narrow {
	max-width: 760px;
}

.cf-w-wide {
	max-width: var(--cf-max);
}

.cf-w-full {
	max-width: none;
	padding-inline: 0;
}

.cf-pad-none {
	padding-block: 0;
}

.cf-pad-tight {
	padding-block: clamp(28px, 4vw, 44px);
}

.cf-pad-normal {
	padding-block: clamp(52px, 8vw, 96px);
}

.cf-pad-roomy {
	padding-block: clamp(72px, 11vw, 136px);
}

.cf-align-center {
	text-align: center;
}

.cf-align-center .cf-eyebrow::before {
	display: none;
}

/* Type */

.cf-layout .cf-h2 {
	margin: 0 0 20px;
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.1;
	letter-spacing: -0.025em;
	font-weight: 600;
	color: var(--cf-ink);
}

.cf-eyebrow {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 16px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cf-muted);
}

.cf-eyebrow::before {
	content: "";
	width: 22px;
	height: 1px;
	background: var(--cf-accent);
	flex-shrink: 0;
}

.cf-align-center .cf-eyebrow {
	justify-content: center;
}

.cf-prose p {
	margin: 0 0 1.1em;
	color: #34383f;
}

.cf-prose p:last-child {
	margin-bottom: 0;
}

.cf-prose a {
	color: var(--cf-ink);
	text-decoration: underline;
	text-decoration-color: var(--cf-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.cf-caption {
	margin-top: 10px;
	font-size: 13px;
	color: var(--cf-muted);
}

/* Buttons */

.cf-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 24px;
	border: 2px solid var(--cf-ink);
	border-radius: var(--cf-radius);
	background: var(--cf-ink);
	color: var(--cf-paper);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.cf-btn__arrow {
	transition: transform 0.22s cubic-bezier(0.2, 0, 0, 1);
}

.cf-btn:hover {
	background: var(--cf-accent);
	border-color: var(--cf-accent);
	color: #1a1207;
}

.cf-btn:hover .cf-btn__arrow {
	transform: translateX(3px);
}

.cf-btn--invert {
	background: var(--cf-paper);
	border-color: var(--cf-paper);
	color: var(--cf-ink);
}

.cf-btn--invert:hover {
	background: var(--cf-ink);
	border-color: var(--cf-ink);
	color: var(--cf-paper);
}

.cf-btn--text {
	padding: 0;
	margin-top: 20px;
	border: 0;
	background: none;
	color: var(--cf-ink);
	border-bottom: 2px solid var(--cf-accent);
	border-radius: 0;
	padding-bottom: 3px;
}

.cf-btn--text:hover {
	background: none;
	color: var(--cf-accent);
	border-color: var(--cf-accent);
}

/* Placeholder & empty */

.cf-placeholder {
	display: grid;
	place-items: center;
	min-height: 200px;
	width: 100%;
	height: 100%;
	background: rgba(20, 22, 26, 0.04);
	border: 1px dashed var(--cf-line);
	border-radius: var(--cf-radius);
	color: var(--cf-muted);
	font-size: 13px;
	font-weight: 500;
}

.cf-empty {
	padding: 56px 24px;
	text-align: center;
	border: 1px dashed var(--cf-line);
	border-radius: var(--cf-radius);
	color: var(--cf-muted);
}

.cf-empty p {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--cf-ink);
}

.cf-empty__hint {
	margin-top: 6px !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	color: var(--cf-muted) !important;
}

/* ================================================================ Hero */

.cf-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}

.cf-hero--h-short {
	min-height: 48vh;
}

.cf-hero--h-tall {
	min-height: 76vh;
}

.cf-hero--h-full {
	min-height: 100vh;
}

.cf-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding-block: clamp(56px, 9vw, 104px);
}

.cf-hero--center {
	align-items: center;
	text-align: center;
}

.cf-hero--center .cf-hero__copy {
	margin-inline: auto;
}

.cf-hero--center .cf-eyebrow,
.cf-hero--center .cf-hero__actions {
	justify-content: center;
}

.cf-hero__copy {
	max-width: 860px;
}

.cf-hero__title {
	margin: 0 0 20px;
	font-size: clamp(38px, 7.2vw, 84px);
	line-height: 1.02;
	letter-spacing: -0.035em;
	font-weight: 600;
	color: var(--cf-ink);
}

.cf-hero__text {
	margin: 0;
	max-width: 52ch;
	font-size: clamp(16px, 1.6vw, 20px);
	line-height: 1.55;
	color: #3c414a;
}

.cf-hero--center .cf-hero__text {
	margin-inline: auto;
}

.cf-hero__actions {
	display: flex;
	gap: 10px;
	margin-top: 32px;
}

.cf-hero__media {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.cf-hero__media .cf-hero__img,
.cf-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cf-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 11, 13, 0.35) 0%, rgba(10, 11, 13, 0.9) 100%);
}

.cf-hero--has-image .cf-hero__title,
.cf-hero--has-image .cf-hero__text,
.cf-hero--has-image .cf-eyebrow {
	color: #fff;
}

.cf-hero--has-image .cf-hero__text {
	color: rgba(255, 255, 255, 0.86);
}

.cf-hero--has-image .cf-btn {
	background: #fff;
	border-color: #fff;
	color: var(--cf-ink);
}

.cf-hero--has-image .cf-btn:hover {
	background: var(--cf-accent);
	border-color: var(--cf-accent);
}

/* Split hero */

.cf-hero--split {
	align-items: center;
}

.cf-hero--split .cf-hero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.cf-hero--split .cf-hero__panel img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--cf-radius);
}

.cf-hero--split .cf-hero__title {
	font-size: clamp(34px, 4.6vw, 60px);
}

/* Type-only hero */

.cf-hero--type .cf-hero__title {
	font-size: clamp(40px, 9vw, 110px);
}

/* ================================================================ Marquee */

.cf-marquee {
	overflow: hidden;
	padding-block: clamp(16px, 2.4vw, 26px);
	border-block: 1px solid var(--cf-line);
	user-select: none;
}

.cf-marquee--dark {
	background: var(--cf-ink);
	border-color: var(--cf-ink);
}

.cf-marquee__track {
	display: flex;
	width: max-content;
	animation: cf-scroll var(--cf-marquee-speed, 40s) linear infinite;
}

.cf-marquee__item {
	padding-right: 48px;
	white-space: nowrap;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--cf-ink);
}

.cf-marquee--dark .cf-marquee__item {
	color: var(--cf-paper);
}

.cf-marquee--small .cf-marquee__item {
	font-size: 15px;
}

.cf-marquee--medium .cf-marquee__item {
	font-size: clamp(20px, 2.6vw, 30px);
}

.cf-marquee--large .cf-marquee__item {
	font-size: clamp(30px, 5vw, 60px);
}

@keyframes cf-scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cf-marquee__track {
		animation: none;
	}
}

/* ================================================================ Grid */

.cf-grid__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 36px;
}

.cf-grid__head .cf-h2 {
	margin: 0;
}

.cf-filters {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
}

.cf-filter {
	padding: 8px 14px;
	border: 1px solid var(--cf-line);
	border-radius: 40px;
	background: transparent;
	color: var(--cf-muted);
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.cf-filter:hover {
	border-color: var(--cf-ink);
	color: var(--cf-ink);
}

.cf-filter.is-active {
	background: var(--cf-ink);
	border-color: var(--cf-ink);
	color: var(--cf-paper);
}

.cf-grid {
	display: grid;
	grid-template-columns: repeat(var(--cf-cols, 3), minmax(0, 1fr));
	gap: clamp(20px, 2.6vw, 36px);
}

.cf-grid--masonry {
	display: block;
	columns: var(--cf-cols, 3);
	column-gap: clamp(20px, 2.6vw, 36px);
}

.cf-grid--masonry .cf-card {
	break-inside: avoid;
	margin-bottom: clamp(20px, 2.6vw, 36px);
}

.cf-grid--index {
	grid-template-columns: 1fr;
	gap: 0;
	border-top: 1px solid var(--cf-line);
}

.cf-card {
	min-width: 0;
}

.cf-card[hidden] {
	display: none;
}

.cf-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.cf-card__media {
	position: relative;
	overflow: hidden;
	border-radius: var(--cf-radius);
	background: rgba(20, 22, 26, 0.05);
	margin-bottom: 16px;
}

.cf-ratio--4-3 {
	aspect-ratio: 4 / 3;
}

.cf-ratio--1-1 {
	aspect-ratio: 1 / 1;
}

.cf-ratio--3-4 {
	aspect-ratio: 3 / 4;
}

.cf-ratio--16-9 {
	aspect-ratio: 16 / 9;
}

.cf-ratio--auto {
	aspect-ratio: auto;
}

.cf-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.2, 0, 0, 1);
}

.cf-card__link:hover .cf-card__media img {
	transform: scale(1.035);
}

.cf-card__body {
	position: relative;
}

.cf-card__cat {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--cf-accent);
}

.cf-card__title {
	margin: 0 0 5px;
	font-size: clamp(19px, 1.8vw, 23px);
	line-height: 1.25;
	letter-spacing: -0.02em;
	font-weight: 600;
	color: var(--cf-ink);
}

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

.cf-card__excerpt {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--cf-muted);
}

.cf-card__go {
	display: none;
}

/* Index style */

.cf-grid--index .cf-card__link {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 24px;
	padding: clamp(18px, 2.4vw, 28px) 0;
	border-bottom: 1px solid var(--cf-line);
	transition: padding-left 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.cf-grid--index .cf-card__link:hover {
	padding-left: 14px;
}

.cf-grid--index .cf-card__body {
	display: contents;
}

.cf-grid--index .cf-card__title {
	margin: 0;
	grid-column: 1;
	font-size: clamp(22px, 2.8vw, 34px);
}

.cf-grid--index .cf-card__cat {
	display: none;
}

.cf-grid--index .cf-card__meta {
	grid-column: 2;
	white-space: nowrap;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.cf-grid--index .cf-card__excerpt {
	display: none;
}

.cf-grid--index .cf-card__go {
	display: block;
	grid-column: 3;
	font-size: 20px;
	color: var(--cf-muted);
	transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), color 0.2s ease;
}

.cf-grid--index .cf-card__link:hover .cf-card__go {
	transform: translateX(5px);
	color: var(--cf-accent);
}

/* ================================================================ Split */

.cf-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}

.cf-split--reverse .cf-split__media {
	order: 2;
}

.cf-split__media img {
	width: 100%;
	border-radius: var(--cf-radius);
}

.cf-split--sticky {
	align-items: start;
}

.cf-split--sticky .cf-split__inner {
	position: sticky;
	top: 80px;
}

/* ================================================================ Gallery */

.cf-gallery {
	display: grid;
	grid-template-columns: repeat(var(--cf-cols, 3), minmax(0, 1fr));
}

.cf-gap-none {
	gap: 0;
}

.cf-gap-tight {
	gap: 6px;
}

.cf-gap-normal {
	gap: clamp(10px, 1.6vw, 20px);
}

.cf-gallery__item {
	display: block;
	margin: 0;
	overflow: hidden;
	border-radius: var(--cf-radius);
	background: rgba(20, 22, 26, 0.05);
}

.cf-gap-none .cf-gallery__item {
	border-radius: 0;
}

.cf-gallery--crop .cf-gallery__item {
	aspect-ratio: 1;
}

.cf-gallery--crop .cf-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

a.cf-gallery__item {
	cursor: zoom-in;
}

a.cf-gallery__item img {
	transition: transform 0.5s cubic-bezier(0.2, 0, 0, 1), opacity 0.25s ease;
}

a.cf-gallery__item:hover img {
	transform: scale(1.04);
	opacity: 0.94;
}

/* ================================================================ Media */

.cf-media__img {
	width: 100%;
	border-radius: var(--cf-radius);
}

.cf-w-full .cf-media__img {
	border-radius: 0;
}

.cf-embed__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--cf-radius);
	overflow: hidden;
	background: #000;
}

.cf-embed__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ================================================================ Services */

.cf-caps__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--cf-line);
}

.cf-caps__item {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) 2fr;
	gap: clamp(16px, 4vw, 56px);
	padding: clamp(22px, 3vw, 34px) 0;
	border-bottom: 1px solid var(--cf-line);
}

.cf-caps__label {
	margin: 0;
	font-size: clamp(19px, 2vw, 25px);
	line-height: 1.25;
	letter-spacing: -0.02em;
	font-weight: 600;
	color: var(--cf-ink);
}

.cf-caps__desc {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--cf-muted);
}

/* ================================================================ Quote */

.cf-quote--dark {
	background: var(--cf-ink);
	color: var(--cf-paper);
}

.cf-quote figure {
	margin: 0;
}

.cf-quote__text {
	margin: 0 0 24px;
	padding: 0;
	border: 0;
	font-size: clamp(24px, 3.4vw, 40px);
	line-height: 1.25;
	letter-spacing: -0.025em;
	font-weight: 500;
	color: inherit;
	quotes: none;
}

.cf-quote__text::before {
	content: "\201C";
	color: var(--cf-accent);
}

.cf-quote__text::after {
	content: "\201D";
	color: var(--cf-accent);
}

.cf-quote__by {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
}

.cf-quote__avatar img {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	object-fit: cover;
}

.cf-quote__by strong {
	display: block;
	font-weight: 600;
}

.cf-quote__role {
	display: block;
	font-size: 14px;
	color: var(--cf-muted);
}

.cf-quote--dark .cf-quote__role {
	color: rgba(251, 250, 247, 0.6);
}

/* ================================================================ Logos */

.cf-logos__head {
	justify-content: center;
	margin-bottom: 28px;
}

.cf-logos__head::before {
	display: none;
}

.cf-logos {
	text-align: center;
}

.cf-logos__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(28px, 5vw, 64px);
}

.cf-logos__img {
	max-height: 34px;
	width: auto;
	object-fit: contain;
}

.cf-logos--muted .cf-logos__img {
	filter: grayscale(1);
	opacity: 0.55;
	transition: filter 0.25s ease, opacity 0.25s ease;
}

.cf-logos--muted .cf-logos__item:hover .cf-logos__img {
	filter: grayscale(0);
	opacity: 1;
}

.cf-logos__name {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--cf-muted);
}

/* ================================================================ CTA */

.cf-cta {
	text-align: center;
}

.cf-cta--band {
	background: var(--cf-ink);
	color: var(--cf-paper);
}

.cf-cta--accent {
	background: var(--cf-accent);
	color: #1a1207;
}

.cf-cta__title {
	margin: 0 0 14px;
	font-size: clamp(28px, 4.4vw, 50px);
	line-height: 1.08;
	letter-spacing: -0.03em;
	font-weight: 600;
	color: inherit;
}

.cf-cta__text {
	margin: 0 auto 32px;
	max-width: 46ch;
	font-size: 17px;
	line-height: 1.6;
	opacity: 0.75;
}

.cf-cta--band .cf-btn {
	background: var(--cf-paper);
	border-color: var(--cf-paper);
	color: var(--cf-ink);
}

.cf-cta--band .cf-btn:hover {
	background: var(--cf-accent);
	border-color: var(--cf-accent);
	color: #1a1207;
}

.cf-cta--accent .cf-btn {
	background: var(--cf-ink);
	border-color: var(--cf-ink);
	color: var(--cf-paper);
}

.cf-cta--accent .cf-btn:hover {
	background: transparent;
	color: var(--cf-ink);
}

/* ================================================================ Forms */

.cf-form-block__intro {
	margin: 0 0 32px;
	max-width: 52ch;
	font-size: 17px;
	line-height: 1.6;
	color: var(--cf-muted);
}

.cf-form {
	display: grid;
	gap: 18px;
}

.cf-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.cf-field {
	display: block;
}

.cf-field__label {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--cf-ink);
}

.cf-form input[type="text"],
.cf-form input[type="email"],
.cf-form textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--cf-line);
	border-radius: var(--cf-radius);
	background: transparent;
	color: var(--cf-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cf-form textarea {
	resize: vertical;
	min-height: 130px;
}

.cf-form input:focus,
.cf-form textarea:focus {
	outline: none;
	border-color: var(--cf-accent);
	box-shadow: 0 0 0 3px rgba(255, 158, 44, 0.18);
}

.cf-form input[aria-invalid="true"],
.cf-form textarea[aria-invalid="true"] {
	border-color: #d64545;
}

.cf-form .cf-btn {
	justify-self: start;
}

.cf-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

.cf-form__status {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	min-height: 1px;
}

.cf-form__status.is-ok {
	color: #1a7f4b;
}

.cf-form__status.is-err {
	color: #c33;
}

.cf-form.is-sent {
	display: none;
}

.cf-form-sent {
	padding: 28px;
	border: 1px solid var(--cf-accent);
	border-radius: var(--cf-radius);
	background: rgba(255, 158, 44, 0.08);
	font-size: 16px;
	font-weight: 600;
	color: var(--cf-ink);
}

/* Inline signup */

.cf-signup {
	text-align: center;
}

.cf-signup--dark {
	background: var(--cf-ink);
	color: var(--cf-paper);
}

.cf-signup__title {
	margin: 0 0 10px;
	font-size: clamp(26px, 3.6vw, 40px);
	line-height: 1.12;
	letter-spacing: -0.03em;
	font-weight: 600;
	color: inherit;
}

.cf-signup__text {
	margin: 0 auto 28px;
	max-width: 46ch;
	font-size: 16px;
	opacity: 0.72;
}

.cf-form--inline {
	display: flex;
	gap: 8px;
	max-width: 480px;
	margin-inline: auto;
	flex-wrap: wrap;
	position: relative;
}

.cf-field--grow {
	flex: 1;
	min-width: 200px;
}

.cf-signup--dark .cf-form input {
	border-color: rgba(251, 250, 247, 0.24);
	color: var(--cf-paper);
}

.cf-signup--dark .cf-form input::placeholder {
	color: rgba(251, 250, 247, 0.44);
}

.cf-signup--dark .cf-btn {
	background: var(--cf-accent);
	border-color: var(--cf-accent);
	color: #1a1207;
}

.cf-signup--dark .cf-btn:hover {
	background: var(--cf-paper);
	border-color: var(--cf-paper);
	color: var(--cf-ink);
}

.cf-form--inline .cf-form__status {
	flex-basis: 100%;
	text-align: center;
}

.cf-signup--dark .cf-form__status.is-ok {
	color: var(--cf-accent);
}

.cf-signup--dark .cf-form-sent {
	background: rgba(255, 158, 44, 0.14);
	color: var(--cf-paper);
}

/* ================================================================ Divider */

.cf-divider--hairline .cf-wrap {
	border-top: 1px solid var(--cf-line);
}

.cf-divider--crop .cf-wrap {
	position: relative;
	border-top: 1px solid var(--cf-line);
}

.cf-divider__mark {
	position: absolute;
	top: -4px;
	width: 1px;
	height: 9px;
	background: var(--cf-accent);
}

.cf-divider__mark:first-child {
	left: clamp(20px, 5vw, 56px);
}

.cf-divider__mark:last-child {
	right: clamp(20px, 5vw, 56px);
}

/* ================================================================ Lightbox */

.cf-lb {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(12, 13, 15, 0.94);
	animation: cf-lb-in 0.2s ease;
}

@keyframes cf-lb-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.cf-lb img {
	max-width: 100%;
	max-height: 86vh;
	object-fit: contain;
	border-radius: 2px;
}

.cf-lb__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.cf-lb__btn:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.4);
}

.cf-lb__close {
	top: 20px;
	right: 20px;
}

.cf-lb__prev {
	left: 20px;
	top: 50%;
	margin-top: -22px;
}

.cf-lb__next {
	right: 20px;
	top: 50%;
	margin-top: -22px;
}

.cf-lb__count {
	position: absolute;
	bottom: 22px;
	left: 50%;
	transform: translateX(-50%);
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
	font-size: 12px;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.6);
}

/* ================================================================ Project page */

.cf-project-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	padding: 24px 0;
	margin: 0 0 32px;
	border-block: 1px solid var(--cf-line);
	list-style: none;
}

.cf-project-meta dt {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cf-muted);
	margin-bottom: 4px;
}

.cf-project-meta dd {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--cf-ink);
}

/* ================================================================ Motion */

/*
 * Entrance animations. The resting state is the natural one, so a browser with
 * JavaScript off — or a reader who asked for less motion — sees the final layout
 * with nothing hidden. The initial offset only exists once .cf-anim is added.
 */
.cf-anim {
	--cf-anim-dur: 700ms;
	--cf-anim-delay: 0ms;
	--cf-anim-dist: 40px;
	opacity: 0;
	transition:
		opacity var(--cf-anim-dur) cubic-bezier(0.22, 1, 0.36, 1) var(--cf-anim-delay),
		transform var(--cf-anim-dur) cubic-bezier(0.22, 1, 0.36, 1) var(--cf-anim-delay),
		filter var(--cf-anim-dur) ease var(--cf-anim-delay),
		clip-path var(--cf-anim-dur) cubic-bezier(0.22, 1, 0.36, 1) var(--cf-anim-delay);
	will-change: opacity, transform;
}

.cf-anim--fade-up {
	transform: translateY(var(--cf-anim-dist));
}

.cf-anim--fade-down {
	transform: translateY(calc(var(--cf-anim-dist) * -1));
}

.cf-anim--fade-left {
	transform: translateX(calc(var(--cf-anim-dist) * -1));
}

.cf-anim--fade-right {
	transform: translateX(var(--cf-anim-dist));
}

.cf-anim--zoom-in {
	transform: scale(0.92);
}

.cf-anim--zoom-out {
	transform: scale(1.06);
}

.cf-anim--rise {
	clip-path: inset(100% 0 0 0);
	transform: translateY(24px);
}

.cf-anim.is-in {
	opacity: 1;
	transform: none;
	clip-path: inset(0 0 0 0);
}

.cf-scrollfx {
	will-change: transform, opacity, filter;
}

.cf-sticky {
	position: sticky;
	top: var(--cf-sticky-top, 0px);
	z-index: 5;
}

@media (prefers-reduced-motion: reduce) {
	.cf-anim {
		opacity: 1;
		transform: none;
		clip-path: none;
		transition: none;
	}
}

/* ================================================================ Showreel */

.cf-reel {
	position: relative;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--cf-ink);
	color: #fff;
	isolation: isolate;
}

.cf-reel--short {
	min-height: 58vh;
}

.cf-reel--tall {
	min-height: 78vh;
}

.cf-reel--full {
	min-height: 100vh;
}

.cf-reel__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.cf-reel__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cf-reel__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(120% 90% at 20% 100%, rgba(0, 0, 0, 0.72), transparent 60%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.6) 100%);
}

.cf-reel--has-image .cf-reel__scrim {
	opacity: 1;
}

.cf-reel__inner {
	padding-block: clamp(40px, 8vw, 96px);
	width: 100%;
}

.cf-reel__title {
	font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
	font-weight: 600;
	font-size: clamp(36px, 6vw, 76px);
	line-height: 1.03;
	letter-spacing: -0.03em;
	max-width: 16ch;
	margin: 10px 0 0;
	text-wrap: balance;
}

.cf-reel .cf-eyebrow {
	color: var(--cf-accent);
}

.cf-reel__play {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 28px;
	padding: 0;
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
	font: inherit;
}

.cf-reel__play-icon {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: var(--cf-accent);
	color: var(--cf-ink);
	transition: transform 0.2s ease;
}

.cf-reel__play-icon svg {
	width: 24px;
	height: 24px;
	margin-left: 3px;
}

.cf-reel__play:hover .cf-reel__play-icon {
	transform: scale(1.08);
}

.cf-reel__play-label {
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.cf-reel__hint {
	margin-top: 22px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
}

/* Video overlay */

.cf-videobox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 4vmin;
	background: rgba(10, 11, 13, 0.92);
}

.cf-videobox__frame {
	position: relative;
	width: min(92vw, 1200px);
	aspect-ratio: 16 / 9;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.cf-videobox__frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 6px;
}

.cf-videobox .cf-lb__close {
	position: absolute;
	top: 18px;
	right: 22px;
}

/* ================================================================ Numbers */

.cf-stats__grid {
	display: grid;
	grid-template-columns: repeat(var(--cf-stats-n, 4), 1fr);
	gap: 8px 32px;
	margin: 28px 0 0;
	border-top: 1px solid var(--cf-line);
	padding-top: 32px;
}

.cf-stats__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cf-stats__value {
	font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
	font-weight: 600;
	font-size: clamp(40px, 5vw, 68px);
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--cf-ink);
	font-variant-numeric: tabular-nums;
}

.cf-stats__label {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--cf-muted);
	max-width: 22ch;
}

/* ================================================================ Experience */

.cf-xp__list {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
}

.cf-xp__item {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 12px 40px;
	padding: 28px 0;
	border-top: 1px solid var(--cf-line);
	position: relative;
}

.cf-xp__item::before {
	content: "";
	position: absolute;
	top: 34px;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cf-accent);
	transform: translateX(-3px);
}

.cf-xp__period {
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--cf-muted);
	padding-left: 22px;
}

.cf-xp__role {
	margin: 0;
	font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 600;
	letter-spacing: -0.01em;
}

.cf-xp__org {
	margin: 4px 0 0;
	font-size: 15px;
	color: var(--cf-accent);
	font-weight: 500;
}

.cf-xp__desc {
	margin: 12px 0 0;
	max-width: 60ch;
	color: var(--cf-muted);
	line-height: 1.6;
}

/* ================================================================ Archive & single templates */

.cf-archive,
.cf-single {
	padding-block: clamp(56px, 8vw, 104px);
}

.cf-archive__head,
.cf-single__head {
	margin-bottom: clamp(32px, 5vw, 56px);
}

.cf-archive__title,
.cf-single__title {
	font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
	font-weight: 600;
	font-size: clamp(38px, 6vw, 72px);
	line-height: 1.04;
	letter-spacing: -0.03em;
	margin: 12px 0 0;
	max-width: 18ch;
	text-wrap: balance;
}

.cf-archive__intro {
	margin-top: 18px;
	max-width: 62ch;
	color: var(--cf-muted);
}

.cf-single__tagline {
	margin: 18px 0 0;
	max-width: 56ch;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.5;
	color: var(--cf-muted);
	text-wrap: pretty;
}

.cf-single__cover {
	margin: 0 auto clamp(32px, 4vw, 48px);
}

.cf-single__cover img {
	width: 100%;
	border-radius: var(--cf-radius);
}

.cf-single__body {
	padding-block: clamp(8px, 2vw, 16px) clamp(40px, 6vw, 72px);
}

/* Next / previous. Two doors, one at each end of the hall. */

.cf-single__nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	padding-top: 32px;
	border-top: 1px solid var(--cf-line);
}

.cf-single__nav-link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 22px;
	border: 1px solid var(--cf-line);
	border-radius: var(--cf-radius);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.cf-single__nav-link:hover {
	border-color: var(--cf-accent);
	transform: translateY(-2px);
}

.cf-single__nav-link--next {
	text-align: right;
	align-items: flex-end;
}

.cf-single__nav-label {
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cf-muted);
}

.cf-single__nav-title {
	font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.cf-single__back {
	padding-top: 40px;
}

/* Pagination */

.cf-pager {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: clamp(40px, 6vw, 72px);
}

.cf-pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--cf-line);
	border-radius: var(--cf-radius);
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
	font-size: 13px;
	color: var(--cf-ink);
	text-decoration: none;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.cf-pager .page-numbers:hover {
	border-color: var(--cf-accent);
}

.cf-pager .page-numbers.current {
	background: var(--cf-ink);
	border-color: var(--cf-ink);
	color: var(--cf-paper);
}

.cf-pager .page-numbers.dots {
	border-color: transparent;
}

/* ================================================================ Responsive */

@media (max-width: 900px) {
	.cf-split,
	.cf-hero--split .cf-hero__inner {
		grid-template-columns: 1fr;
	}

	.cf-stats__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.cf-split--reverse .cf-split__media {
		order: 0;
	}

	.cf-split--sticky .cf-split__inner {
		position: static;
	}

	.cf-caps__item {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.cf-grid {
		grid-template-columns: repeat(min(var(--cf-cols, 3), 2), minmax(0, 1fr));
	}

	.cf-grid--masonry {
		columns: min(var(--cf-cols, 3), 2);
	}

	.cf-gallery {
		grid-template-columns: repeat(min(var(--cf-cols, 3), 3), minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.cf-layout {
		font-size: 16px;
	}

	.cf-single__nav {
		grid-template-columns: 1fr;
	}

	.cf-stats__grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}

	.cf-xp__item {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.cf-xp__item::before {
		display: none;
	}

	.cf-xp__period {
		padding-left: 0;
	}

	.cf-single__nav-link--next {
		text-align: left;
		align-items: flex-start;
	}

	.cf-project-meta {
		gap: 20px;
	}

	.cf-grid,
	.cf-gallery {
		grid-template-columns: 1fr;
	}

	.cf-grid--masonry {
		columns: 1;
	}

	.cf-form__row {
		grid-template-columns: 1fr;
	}

	.cf-grid--index .cf-card__link {
		grid-template-columns: 1fr auto;
		gap: 8px 16px;
	}

	.cf-grid--index .cf-card__meta {
		grid-column: 1;
	}

	.cf-grid--index .cf-card__go {
		grid-row: 1 / 3;
		grid-column: 2;
		align-self: center;
	}

	.cf-lb__prev {
		left: 10px;
	}

	.cf-lb__next {
		right: 10px;
	}
}

/* ================================================================ v1.0.2 — hero logo & backgrounds */

.cf-hero__logo-wrap {
	margin-bottom: 20px;
}

.cf-hero__logo {
	height: 56px;
	width: auto;
	display: block;
}

.cf-hero--center .cf-hero__logo {
	margin-inline: auto;
}

.cf-hero__media--grad {
	inset: 0;
}

.cf-hero__media--video {
	overflow: hidden;
}

.cf-hero__video {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.cf-hero__video iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	/* Cover a 16:9 video across any hero box. */
	width: 177.78vh;
	min-width: 100%;
	height: 56.25vw;
	min-height: 100%;
	transform: translate(-50%, -50%);
	border: 0;
}

.cf-hero__media--parallax {
	overflow: hidden;
}

.cf-hero__media--parallax .cf-hero__img {
	will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
	.cf-hero__media--parallax .cf-hero__img {
		transform: none !important;
	}
}

/* ================================================================ v1.0.3 — per-block backgrounds */

.cf-block--has-bg {
	position: relative;
	isolation: isolate;
}

.cf-block--has-bg > .cf-block__inner {
	position: relative;
	z-index: 1;
}

.cf-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.cf-bg__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cf-bg--parallax .cf-bg__img {
	height: 130%;
	top: -15%;
	position: absolute;
	will-change: transform;
}

.cf-bg__scrim {
	position: absolute;
	inset: 0;
	background: #000;
}

.cf-bg__video {
	position: absolute;
	inset: 0;
}

.cf-bg__video iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 177.78vh;
	min-width: 100%;
	height: 56.25vw;
	min-height: 100%;
	transform: translate(-50%, -50%);
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	.cf-bg--parallax .cf-bg__img {
		transform: none !important;
	}
}

/* ================================================================ v1.0.3 — menu block */

.cf-menu {
	border-bottom: 1px solid var(--cf-line);
}

.cf-menu--sticky {
	position: sticky;
	top: 0;
	z-index: 40;
	background: color-mix(in srgb, var(--cf-paper) 88%, transparent);
	backdrop-filter: saturate(1.2) blur(8px);
}

.cf-menu__wrap {
	display: flex;
	align-items: center;
	gap: 24px;
	padding-block: 18px;
}

.cf-menu--between .cf-menu__wrap {
	justify-content: space-between;
}

.cf-menu--center .cf-menu__wrap {
	justify-content: center;
}

.cf-menu--start .cf-menu__wrap {
	justify-content: flex-start;
}

.cf-menu__brand {
	font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
	font-weight: 600;
	font-size: 18px;
	letter-spacing: -0.01em;
	color: var(--cf-ink);
}

.cf-menu__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cf-menu__link,
.cf-menu__list a {
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cf-ink);
	text-decoration: none;
	position: relative;
	padding-bottom: 3px;
	transition: color 0.15s ease;
}

.cf-menu__link::after,
.cf-menu__list a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--cf-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}

.cf-menu__link:hover::after,
.cf-menu__list a:hover::after {
	transform: scaleX(1);
}

@media (max-width: 640px) {
	.cf-menu__wrap {
		flex-direction: column;
		gap: 12px;
		align-items: flex-start;
	}
}

/* ================================================================ v1.0.3 — injected parts */

.cf-part .cf-layout {
	overflow-x: clip;
}
