:root {
	--ive-background: #0e0e11;
	--ive-surface: #19191d;
	--ive-surface-low: #131316;
	--ive-surface-high: #25252a;
	--ive-on-surface: #f0edf1;
	--ive-on-surface-variant: #acaaae;
	--ive-primary: #ff8ba1;
	--ive-primary-dim: #e2165f;
	--ive-secondary: #9c8fff;
	--ive-secondary-container: #4433a4;
	--ive-tertiary: #81ecff;
	--ive-tertiary-fixed: #00e3fd;
	--ive-font-headline: "Epilogue", sans-serif;
	--ive-font-body: "Manrope", sans-serif;
	--ive-content: min(100% - 4rem, 1536px);
	--ive-transparent: rgba(255, 255, 255, 0.2);
	--ive-primary-strong: #630024;
}

* {
	box-sizing: border-box;
}

html {
	background: var(--ive-background);
	scroll-behavior: smooth;

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

body {
	margin: 0;
	overflow-x: hidden;
	background: var(--ive-background);
	color: var(--ive-on-surface);
	font-family: var(--ive-font-body);

	& ::selection {
		background: var(--ive-primary);
		color: var(--ive-primary-strong);
	}

	&.admin-bar .ive-site-header__inner,
	&:has(#wpadminbar) .ive-site-header__inner {
		padding-top: calc(2rem + 32px);
	}
}

.material-symbols-outlined {
	display: inline-block;
	vertical-align: middle;
	font-family: "Material Symbols Outlined";
	font-weight: normal;
	font-style: normal;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	direction: ltr;
	font-variation-settings:
		"FILL" 0,
		"wght" 400,
		"GRAD" 0,
		"opsz" 24;
}

.wp-site-blocks {
	padding: 0;
}

.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.ive-container {
	width: var(--ive-content);
	margin-inline: auto;
}

.ive-cinematic-glow {
	box-shadow: 0 0 60px rgba(255, 139, 161, 0.06);
}

.ive-text-stroke {
	color: var(--ive-transparent);
}

.ive-pill {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	isolation: isolate;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(
		135deg,
		var(--ive-primary),
		var(--ive-primary-dim)
	);
	color: var(--ive-primary-strong);
	font-family: var(--ive-font-headline);
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition:
		transform 180ms ease,
		box-shadow 180ms ease;

	&::before {
		content: "";
		position: absolute;
		inset: 0;
		padding: 2px;
		border-radius: inherit;
		background: linear-gradient(
			90deg,
			var(--ive-primary),
			var(--ive-secondary),
			var(--ive-tertiary),
			var(--ive-primary-dim),
			var(--ive-tertiary-fixed),
			var(--ive-primary)
		);
		background-size: 200% 100%;
		background-position: 0% 50%;
		opacity: 0;
		pointer-events: none;
		transition: opacity 180ms ease;
		-webkit-mask:
			linear-gradient(#fff 0 0) content-box,
			linear-gradient(#fff 0 0);
		-webkit-mask-composite: xor;
		mask-composite: exclude;
	}

	&:hover {
		transform: translateY(-1px);

		&::before {
			opacity: 1;
			animation: gradientMove 2.5s linear infinite;
		}
	}

	&:active {
		transform: translateY(0);
	}
}

.ive-site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	background: linear-gradient(
		180deg,
		rgba(14, 14, 17, 0.9),
		rgba(14, 14, 17, 0)
	);
	backdrop-filter: blur(24px);
}

.ive-site-header__inner,
.ive-site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: var(--ive-content);
	margin-inline: auto;
	padding: 2rem 0;
	gap: 2rem;
}

.ive-brand {
	color: var(--ive-primary);
	font-family: var(--ive-font-headline);
	font-size: clamp(1.15rem, 1vw + 0.8rem, 1.5rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.ive-nav {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.5vw, 2.5rem);

	& a, & span {
		color: inherit;
		font-family: var(--ive-font-headline);
		font-size: 0.9rem;
		font-weight: 800;
		letter-spacing: -0.02em;
		text-transform: uppercase;
		transition: color 180ms ease;

		&:hover,
		&[aria-current="page"] {
			color: var(--ive-primary);
		}
	}
}

.ive-header-cta {
	padding: 0.8rem 1.65rem;
	font-size: 0.78rem;
}

.ive-header-actions,
.ive-header-blocks,
.ive-header-blocks__inner {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.ive-header-actions {
	flex: 0 0 auto;
	justify-content: flex-end;
}

.ive-header-blocks {
	min-width: 0;

	&:empty {
		display: none;
	}
}

.ive-header-blocks__inner {
	margin: 0;

	&:empty {
		display: none;
	}

	& > * {
		margin-block: 0;
	}
}

.ive-language-switcher {
	font-family: var(--ive-font-headline);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;

	& ul {
		display: flex;
		align-items: center;
		gap: 0.45rem;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	& li {
		margin: 0;
	}

	& a,
	& span {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 2.55rem;
		min-height: 2.4rem;
		border: 1px solid rgba(255, 255, 255, 0.16);
		border-radius: 999px;
		padding: 0.6rem 0.75rem;
		color: var(--ive-on-surface);
		line-height: 1;
		white-space: nowrap;
	}

	& .current-lang a,
	& .current-lang span {
		border-color: rgba(255, 139, 161, 0.45);
		color: var(--ive-primary);
	}
}

.ive-hero {
	position: relative;
	display: flex;
	min-height: 100vh;
	align-items: center;
	overflow: hidden;
	background: var(--ive-background);

	& h1 {
		max-width: 12ch;
		font-size: clamp(4.5rem, 5vw, 12rem);
	}
}

.ive-hero__media {
	position: absolute;
	inset: 0;

	&::before,
	&::after {
		position: absolute;
		inset: 0;
		content: "";
		pointer-events: none;
	}

	&::before {
		background: linear-gradient(
			0deg,
			var(--ive-background),
			transparent 48%,
			rgba(14, 14, 17, 0.5)
		);
	}

	&::after {
		background: linear-gradient(90deg, var(--ive-background), transparent 58%);
	}

	& picture {
		display: block;
		width: 100%;
		height: 100%;
	}

	& img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
		opacity: 0.6;
		mix-blend-mode: luminosity;
	}

	&.ive-hero__media--left img {
		object-position: left center;
	}

	&.ive-hero__media--center img {
		object-position: center;
	}

	&.ive-hero__media--right img {
		object-position: right center;
	}

	&.ive-hero__media--plain {
		&::before,
		&::after {
			display: none;
		}

		& img {
			opacity: 1;
			mix-blend-mode: normal;
		}
	}
}

.ive-hero__content {
	position: relative;
	z-index: 1;
	width: var(--ive-content);
	margin: 5rem auto 0;
}

.ive-kicker {
	display: block;
	margin-bottom: 1.5rem;
	color: var(--ive-tertiary-fixed);
	font-family: var(--ive-font-headline);
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.4em;
	text-transform: uppercase;
}

.ive-hero h1,
.ive-section-title {
	margin: 0;
	font-family: var(--ive-font-headline);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 0.88;
	text-transform: uppercase;
}

.ive-hero__actions {
	display: flex;
	align-items: flex-start;
	gap: 2rem;
	margin-top: 3rem;

	& .ive-pill {
		min-height: 4rem;
		padding: 1.2rem 2.5rem;
		font-size: 1rem;
		display: flex;
	}
}

.ive-hero__description {
	max-width: 28rem;
	border-left: 2px solid rgba(255, 139, 161, 0.24);
	padding-left: 1.5rem;
	color: var(--ive-on-surface-variant);
	font-size: clamp(1rem, 1.4vw, 1.15rem);
	line-height: 1.7;
}

.ive-section {
	padding: clamp(5rem, 9vw, 8rem) 0;
}

.ive-section--low {
	background: var(--ive-surface-low);
}

.ive-bio__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(3rem, 6vw, 6rem);
	align-items: center;
}

.ive-bio__media {
	position: relative;
}

.ive-bio__image {
	overflow: hidden;
	aspect-ratio: 3 / 4;
	border-radius: 0.25rem;
	background: var(--ive-surface);
}

.ive-bio__image img,
.ive-card img,
.ive-showreel img,
.ive-social-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ive-bio__corner {
	position: absolute;
	right: -1.5rem;
	bottom: -1.5rem;
	width: 8rem;
	height: 8rem;
	border-right: 4px solid rgba(129, 236, 255, 0.3);
	border-bottom: 4px solid rgba(129, 236, 255, 0.3);
	border-bottom-right-radius: 0.5rem;
}

.ive-section-title {
	font-size: clamp(3rem, 7vw, 7rem);

	& strong,
	& span {
		color: var(--ive-primary);
	}
}

.ive-copy-lead {
	margin: 2.5rem 0 0;
	color: var(--ive-on-surface);
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	line-height: 1.22;
}

.ive-copy {
	color: var(--ive-on-surface-variant);
	font-size: 1.08rem;
	line-height: 1.75;
}

.ive-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 2rem;
}

.ive-tag {
	border-radius: 0.25rem;
	background: rgba(68, 51, 164, 0.32);
	color: #d2caff;
	padding: 0.6rem 1rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ive-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 2rem;
	margin-bottom: clamp(3rem, 6vw, 5rem);
}

.ive-title-rule {
	width: 8rem;
	height: 4px;
	margin-top: 1rem;
	background: var(--ive-primary);
}

.ive-filmography__hint {
	color: var(--ive-tertiary);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.ive-filmography__grid {
	display: grid;
	grid-auto-rows: 300px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.ive-card {
	position: relative;
	overflow: hidden;
	border-radius: 0.25rem;
	background: var(--ive-surface);

	& img {
		transition:
			transform 700ms ease,
			filter 700ms ease;
	}
}

.ive-card--large {
	grid-column: span 2;
	grid-row: span 2;
}

.ive-card--tall {
	grid-row: span 2;
}

.ive-card__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 2rem;
	background: linear-gradient(
		0deg,
		var(--ive-background),
		rgba(14, 14, 17, 0.18),
		transparent
	);
	opacity: 0;
	transition: opacity 400ms ease;
}

.ive-card__title {
	margin: 0;
	font-family: var(--ive-font-headline);
	font-size: clamp(1.35rem, 2vw, 2rem);
	font-weight: 900;
	text-transform: uppercase;
}

.ive-card__meta {
	margin: 0.5rem 0 0;
	color: var(--ive-tertiary-fixed);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
	.ive-card {
		&:hover {
			& img {
				transform: scale(1.1);
			}

			& .ive-card__overlay {
				opacity: 1;
			}
		}
	}
}

.ive-showreel {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--ive-surface-high);

	& img {
		opacity: 0.4;
	}

	& h2 {
		margin: 0 0 3rem;
		font-family: var(--ive-font-headline);
		font-size: clamp(3.5rem, 9vw, 9rem);
		font-weight: 900;
		letter-spacing: -0.04em;
		line-height: 0.9;
		text-transform: uppercase;

		& span {
			color: #ff7290;
		}
	}
}

.ive-showreel__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	background: rgba(14, 14, 17, 0.4);
	backdrop-filter: blur(8px);
	text-align: center;
}

.ive-play {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	color: var(--ive-on-surface);
	font-family: var(--ive-font-headline);
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;

	&:hover .ive-play__circle {
		box-shadow: 0 0 56px rgba(255, 139, 161, 0.3);
		transform: scale(1.08);
	}

	& .material-symbols-outlined {
		font-size: clamp(4rem, 8vw, 6rem);
		font-variation-settings:
			"FILL" 1,
			"wght" 400,
			"GRAD" 0,
			"opsz" 24;
	}
}

.ive-play__circle {
	display: grid;
	place-items: center;
	width: clamp(8rem, 12vw, 12rem);
	height: clamp(8rem, 12vw, 12rem);
	border: 1px solid var(--ive-primary);
	border-radius: 999px;
	background: rgba(14, 14, 17, 0.5);
	color: var(--ive-primary);
	backdrop-filter: blur(12px);
	transition:
		transform 300ms ease,
		box-shadow 300ms ease;
}

.ive-showreel__video {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: grid;
	place-items: center;
	padding: 0;
	background: rgba(14, 14, 17, 0.94);
	opacity: 0;
	pointer-events: none;
	transition: opacity 220ms ease;

	&:target,
	&.is-playing {
		opacity: 1;
		pointer-events: auto;
	}

	& iframe,
	& video {
		display: block;
		width: 100%;
		height: 100%;
		border: 0;
		background: #000;
		object-fit: cover;
	}
}

.ive-showreel__close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 999px;
	background: rgba(14, 14, 17, 0.78);
	color: var(--ive-on-surface);
	backdrop-filter: blur(12px);
	transition:
		border-color 180ms ease,
		color 180ms ease;

	&:hover {
		border-color: var(--ive-primary);
		color: var(--ive-primary);
	}
}

.ive-contact {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ive-contact__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(3rem, 8vw, 7rem);
}

.ive-contact__title {
	& span {
		color: var(--ive-tertiary);
	}
}

.ive-contact__content {
	width: 100%;

	& > *:first-child {
		margin-top: 0;
	}

	& > *:last-child {
		margin-bottom: 0;
	}

	& .fluentform {
		border-radius: 0.5rem;
		background: var(--ive-surface);
		padding: clamp(2rem, 4vw, 4rem);
		box-shadow: 0 0 60px rgba(255, 139, 161, 0.06);

		& fieldset {
			min-inline-size: 0;
		}

		& .ff-el-group,
		& .ff-field_container {
			margin-bottom: 1.5rem;
		}

		& .ff-el-input--label {
			& label,
			& label a {
				display: block;
				margin: 0 0 0.55rem 0.25rem;
				color: var(--ive-on-surface-variant);
				font-family: var(--ive-font-body);
				font-size: 0.75rem;
				font-weight: 800;
				letter-spacing: 0.14em;
				text-transform: uppercase;
			}
		}

		& .ff-el-form-control {
			width: 100%;
			border: 0;
			border-radius: 0.25rem;
			background: var(--ive-surface-low);
			color: var(--ive-on-surface);
			font: inherit;
			letter-spacing: 0.02em;
			margin: 0;
			padding: 1rem 1.25rem;
			text-transform: none;
			box-shadow: none;

			&::placeholder {
				color: var(--ive-on-surface-variant);
				opacity: 0.9;
			}

			&:focus {
				outline: 1px solid var(--ive-tertiary);
				box-shadow: none;
			}
		}

		& textarea.ff-el-form-control {
			min-height: 9rem;
			resize: vertical;
		}

		& .ff_submit_btn_wrapper {
			margin-bottom: 0;
		}

		& .ff-btn.ff-btn-submit {
			position: relative;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 100%;
			min-height: 4rem;
			padding: 12px 28px;
			isolation: isolate;
			border: 0;
			border-radius: 999px;
			background: linear-gradient(
				135deg,
				var(--ive-primary),
				var(--ive-primary-dim)
			);
			color: var(--ive-primary-strong);
			font-family: var(--ive-font-headline);
			font-size: 1rem;
			font-weight: 900;
			letter-spacing: 0.08em;
			text-transform: uppercase;
			text-decoration: none;
			cursor: pointer;
			transition:
				transform 0.2s ease,
				box-shadow 0.2s ease;

			&:not(.ff_btn_no_style) {
				position: relative;
				display: inline-flex;
				align-items: center;
				justify-content: center;
				width: 100%;
				min-height: 4rem;
				padding: 12px 28px;
				isolation: isolate;
				border: 0;
				border-radius: 999px;
				background: linear-gradient(
					135deg,
					var(--ive-primary),
					var(--ive-primary-dim)
				);
				color: var(--ive-primary-strong);
				font-family: var(--ive-font-headline);
				font-size: 1rem;
				font-weight: 900;
				letter-spacing: 0.08em;
				text-transform: uppercase;
				text-decoration: none;
				cursor: pointer;
				transition:
					transform 0.2s ease,
					box-shadow 0.2s ease;
			}

			&::before,
			&:not(.ff_btn_no_style)::before {
				content: "";
				position: absolute;
				inset: 0;
				padding: 2px;
				border-radius: inherit;
				background: linear-gradient(
					90deg,
					var(--ive-primary),
					var(--ive-secondary),
					var(--ive-tertiary),
					var(--ive-primary-dim),
					var(--ive-tertiary-fixed),
					var(--ive-primary)
				);
				background-size: 200% 100%;
				background-position: 0% 50%;
				opacity: 0;
				pointer-events: none;
				transition: opacity 0.2s ease;
				-webkit-mask:
					linear-gradient(#fff 0 0) content-box,
					linear-gradient(#fff 0 0);
				-webkit-mask-composite: xor;
				mask-composite: exclude;
			}

			&:hover,
			&:not(.ff_btn_no_style):hover {
				transform: translateY(-1px);

				&::before {
					opacity: 1;
					animation: gradientMove 2.5s linear infinite;
				}
			}

			&:active,
			&:not(.ff_btn_no_style):active {
				transform: translateY(0);
			}
		}

		& .ff_errors,
		& .text-danger {
			color: #ff9db0;
			font-size: 0.88rem;
		}
	}

	& .ff-errors-in-stack {
		color: #ff9db0;
		font-size: 0.88rem;
	}

	& .ff-message-success {
		position: relative;
		border: 1px solid rgba(129, 236, 255, 0.28);
		border-radius: 0.5rem;
		background: linear-gradient(
			180deg,
			rgba(129, 236, 255, 0.14),
			rgba(25, 25, 29, 0.96)
		);
		color: var(--ive-on-surface);
		padding: 1.5rem 1.5rem 1.5rem 4.5rem;
		font-size: 1rem;
		line-height: 1.7;
		box-shadow: 0 0 40px rgba(129, 236, 255, 0.08);

		&::before {
			content: "done";
			position: absolute;
			top: 1.35rem;
			left: 1.4rem;
			display: grid;
			place-items: center;
			width: 2rem;
			height: 2rem;
			border-radius: 999px;
			background: rgba(129, 236, 255, 0.16);
			color: var(--ive-tertiary);
			font-family: "Material Symbols Outlined";
			font-size: 1.2rem;
			font-weight: 400;
			line-height: 1;
			font-style: normal;
			letter-spacing: normal;
			text-transform: none;
			white-space: nowrap;
			direction: ltr;
			font-variation-settings:
				"FILL" 1,
				"wght" 500,
				"GRAD" 0,
				"opsz" 24;
		}
	}
}

@keyframes gradientMove {
	0% {
		background-position: 0% 50%;
	}

	100% {
		background-position: 200% 50%;
	}
}

.ive-contact-list {
	display: grid;
	gap: 1.5rem;
	margin-top: 3rem;
}

.ive-contact-item {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.ive-contact-item__icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	flex: 0 0 3rem;
	border-radius: 999px;
	background: var(--ive-surface-high);
	color: var(--ive-primary);
}

.ive-contact-item__label {
	margin: 0 0 0.25rem;
	color: var(--ive-on-surface-variant);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ive-contact-item__value {
	margin: 0;
	font-family: var(--ive-font-headline);
	font-size: 1.08rem;
	font-weight: 800;
}

.ive-form {
	border-radius: 0.5rem;
	background: var(--ive-surface);
	padding: clamp(2rem, 4vw, 4rem);

	& label {
		display: block;
		margin: 0 0 0.55rem 0.25rem;
		color: var(--ive-on-surface-variant);
		font-size: 0.75rem;
		font-weight: 800;
		letter-spacing: 0.14em;
		text-transform: uppercase;
	}

	& input,
	& textarea {
		width: 100%;
		border: 0;
		border-radius: 0.25rem;
		background: var(--ive-surface-low);
		color: var(--ive-on-surface);
		font: inherit;
		letter-spacing: 0.08em;
		margin: 0 0 1.5rem;
		padding: 1rem 1.25rem;
		text-transform: none;

		&:focus {
			outline: 1px solid var(--ive-tertiary);
		}
	}

	& textarea {
		min-height: 9rem;
		resize: vertical;
	}

	& button {
		width: 100%;
		min-height: 4rem;
		border: 0;
		cursor: pointer;
	}
}

.ive-social {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	text-align: center;
}

.ive-social__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 4rem;
}

.ive-social-card {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: 0.125rem;
	background: var(--ive-surface);

	& img {
		transition:
			transform 700ms ease,
			filter 700ms ease;
	}

	&:hover {
		& img {
			transform: scale(1.1);
		}

		& .ive-social-card__overlay {
			opacity: 1;
		}
	}

	&:nth-child(3n) .ive-social-card__overlay {
		background: rgba(129, 236, 255, 0.35);
	}

	&:nth-child(3n + 1) .ive-social-card__overlay {
		background: rgba(156, 143, 255, 0.4);
	}
}

.ive-social-card__overlay {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(255, 139, 161, 0.4);
	color: #fff;
	opacity: 0;
	backdrop-filter: blur(2px);
	transition: opacity 250ms ease;
}

.ive-social__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 3rem;
	color: var(--ive-on-surface);
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.2em;
	text-transform: uppercase;

	&:hover {
		color: var(--ive-primary);
	}
}

.ive-site-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	background: var(--ive-background);
}

.ive-site-footer__inner {
	padding-block: 3rem;
}

.ive-footer-copy {
	color: #7d7b83;
	font-size: 0.76rem;
	letter-spacing: 0.2em;
	text-align: center;
	text-transform: uppercase;
}

.ive-footer-links {
	display: flex;
	gap: 2rem;

	& a {
		color: #7d7b83;
		font-size: 0.82rem;
		font-weight: 700;
		letter-spacing: 0.16em;
		text-transform: uppercase;

		&:hover {
			color: #fff;
		}
	}
}

.editor-styles-wrapper {
	& .ive-site-header {
		position: relative;
	}

	& .ive-hero {
		min-height: 760px;
	}
}

@media (max-width: 1024px) {
	:root {
		--ive-content: min(100% - 2rem, 1536px);
	}

	.ive-site-header__inner,
	.ive-site-footer__inner,
	.ive-hero__actions,
	.ive-contact__grid {
		align-items: flex-start;
		/* flex-direction: column; */
	}

	.ive-nav {
		display: none;
	}

	.ive-header-actions {
		gap: 0.65rem;
	}

	.ive-bio__grid,
	.ive-contact__grid {
		grid-template-columns: 1fr;
	}

	.ive-filmography__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ive-social__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.ive-site-header {
		position: absolute;
		inset: 0 0 auto;
		z-index: 100;
		background: rgba(9, 10, 12, 0.96);
	}

	.ive-site-header__inner {
		align-items: center;
		flex-direction: row;
		justify-content: space-between;
		gap: 1rem;
		min-height: 6.75rem;
		padding-top: 1.85rem;
		padding-bottom: 1.85rem;
	}

	.wp-site-blocks > .wp-block-group.alignfull.has-black-background-color {
		position: absolute;
		top: 0;
		right: 0;
		z-index: 101;
		width: auto;
		margin: 0;
		padding: 0 !important;
		background: transparent !important;
	}

	.wp-site-blocks
		> .wp-block-group.alignfull.has-black-background-color
		> .wp-block-group {
		width: auto;
		min-height: 6.75rem;
		padding-right: 1.55rem;
	}

	.wp-site-blocks
		> .wp-block-group.alignfull.has-black-background-color
		.wp-block-site-title {
		display: none;
	}

	.wp-block-navigation__responsive-container-open {
		width: 2.8rem;
		height: 2.8rem;
		color: rgba(240, 237, 241, 0.74);

		& svg {
			width: 2.35rem;
			height: 2.35rem;
		}
	}

	body {
		&.admin-bar .ive-site-header__inner,
		&:has(#wpadminbar) .ive-site-header__inner {
			padding-top: calc(1.85rem + 32px);
		}
	}

	.ive-brand {
		font-size: 1.45rem;
		letter-spacing: -0.03em;
	}

	.ive-header-cta {
		flex: 0 0 auto;
		margin-left: auto;
		min-height: 3.55rem;
		padding: 1rem 1.8rem;
		font-size: 0.88rem;
	}

	.ive-header-actions {
		margin-left: auto;
		gap: 0.55rem;
	}

	.ive-language-switcher {
		font-size: 0.64rem;

		& a,
		& span {
			min-width: 2.35rem;
			min-height: 2.25rem;
			padding: 0.5rem 0.62rem;
		}
	}

	.ive-hero {
		display: flex;
		min-height: auto;
		flex-direction: column;
		padding-top: 4.75rem;

		& h1 {
			max-width: 11ch;
			font-size: clamp(2.7rem, 11.5vw, 4rem);
			line-height: 0.9;

			span {
				font-family: var(--ive-font-body);
				font-size: clamp(2.2rem, 9.5vw, 3.2rem);
				font-weight: 800;
				color: rgba(240, 237, 241, 0.3);
			}
		}
	}

	.ive-hero__media {
		position: relative;
		inset: auto;
		width: 100%;
		height: 60svh;
		max-height: 60svh;
		overflow: hidden;

		& picture {
			height: 100%;
		}

		& img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			/* object-position: left 32% !important; */
			opacity: 1;
			mix-blend-mode: normal;
		}

		&.ive-hero__media--plain {
			&::before,
			&::after {
				display: block;
			}
		}

		&::before {
			background: linear-gradient(
				180deg,
				rgba(9, 10, 12, 0.08) 0%,
				rgba(9, 10, 12, 0) 28%,
				rgba(9, 10, 12, 0.38) 58%,
				rgba(9, 10, 12, 0.96) 100%
			);
		}
	}

	.ive-hero__content {
		position: relative;
		z-index: 2;
		display: flex;
		min-height: auto;
		flex-direction: column;
		justify-content: flex-end;
		width: calc(100% - 3.2rem);
		margin: -7.5rem auto 0;
		padding-bottom: 3rem;
	}

	.ive-kicker {
		margin-bottom: 1rem;
		font-size: 0.74rem;
		letter-spacing: 0.36em;
	}

	.ive-hero__actions {
		display: flex;
		flex-direction: column;
		gap: 1.65rem;
		margin-top: 1.35rem;

		& .ive-pill {
			align-self: flex-start;
			order: 2;
			min-height: 4.6rem;
			min-width: min(100%, 17.5rem);
			padding: 1.25rem 2.1rem;
			font-size: 0.95rem;
		}
	}

	.ive-hero__description {
		order: 1;
		max-width: 25rem;
		border-left: 0;
		padding-left: 0;
		color: rgba(240, 237, 241, 0.72);
		font-size: 1rem;
		line-height: 1.55;

		&::before {
			display: block;
			width: 4rem;
			height: 1px;
			margin-bottom: 1.25rem;
			background: var(--ive-primary);
			content: "";
		}
	}

	.ive-section-head {
		display: block;
	}

	.ive-filmography__hint {
		display: none;
	}

	.ive-filmography__grid,
	.ive-social__grid {
		grid-template-columns: 1fr;
	}

	.ive-card--large,
	.ive-card--tall {
		grid-column: auto;
		grid-row: auto;
	}

	.ive-filmography__grid {
		& .ive-card img {
			object-position: top center;
		}
	}

	.ive-showreel {
		aspect-ratio: 4 / 5;
	}

	.ive-site-footer__inner {
		align-items: center;
	}

	.ive-footer-links {
		flex-wrap: wrap;
		justify-content: center;
	}
}

@media (max-width: 420px) {
	.ive-site-header__inner {
		gap: 0.65rem;
	}

	.ive-brand {
		font-size: 1.05rem;
	}

	.ive-header-actions {
		gap: 0.35rem;
	}

	.ive-header-cta {
		min-height: 2.85rem;
		padding: 0.8rem 1rem;
		font-size: 0.68rem;
	}

	.ive-language-switcher {
		font-size: 0.62rem;
		letter-spacing: 0.04em;

		& a,
		& span {
			min-width: 2.1rem;
			min-height: 2.1rem;
			padding: 0.45rem 0.5rem;
		}
	}
}

/* Gutenberg block compatibility for the file-based block theme. */
.ive-site-shell {
	background: var(--ive-background);
	color: var(--ive-on-surface);
}

.ive-site-header .wp-block-site-title,
.ive-site-header .wp-block-site-title a {
	color: var(--ive-primary);
	font: inherit;
	text-decoration: none;
}

.ive-site-header .wp-block-navigation__container {
	gap: clamp(1rem, 2.5vw, 2.5rem);
}

.wp-block-button.ive-pill {
	border: 0;
	border-radius: 999px;
	background: linear-gradient(
		135deg,
		var(--ive-primary),
		var(--ive-primary-dim)
	);
	color: var(--ive-primary-strong);
	font-family: var(--ive-font-headline);
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	display: flex;
}

.wp-block-button.ive-pill .wp-block-button__link {
	padding: 0;
	background: transparent;
	color: var(--ive-primary-strong);
}

.ive-header-cta .wp-block-button__link {
	padding: 0;
	background: transparent;
	font-size: 0.78rem;
}

.ive-hero__media.wp-block-image,
.ive-showreel > .wp-block-image,
.ive-card > .wp-block-image,
.ive-bio__image.wp-block-image,
.ive-social-card.wp-block-image {
	margin: 0;
}

.ive-hero__media.wp-block-image {
	position: absolute;
	inset: 0;
}

.ive-hero__media.wp-block-image img,
.ive-showreel > .wp-block-image,
.ive-showreel > .wp-block-image img,
.ive-card > .wp-block-image,
.ive-card > .wp-block-image img {
	display: block;
	width: 100%;
	height: 100%;
}

.ive-hero__media.wp-block-image img,
.ive-showreel > .wp-block-image img,
.ive-card > .wp-block-image img,
.ive-bio__image.wp-block-image img,
.ive-social-card.wp-block-image img {
	object-fit: cover;
}

.ive-hero__media--right.wp-block-image img {
	object-position: right top;
}

.ive-hero__media--plain.wp-block-image img {
	opacity: 1;
	mix-blend-mode: normal;
}

.ive-text-stroke {
	background: transparent;
}

.ive-bio__grid.wp-block-group,
.ive-filmography__grid.wp-block-group,
.ive-contact__grid.wp-block-group,
.ive-social__grid.wp-block-group {
	display: grid;
}

.ive-card.wp-block-group {
	margin-block-start: 0;
}

.ive-card__overlay.wp-block-group {
	margin-block-start: 0;
}

.ive-showreel > .wp-block-image {
	position: absolute;
	inset: 0;
}

.wp-block-button.ive-play,
.wp-block-button.ive-play .wp-block-button__link {
	background: transparent;
	color: var(--ive-on-surface);
	font-family: var(--ive-font-headline);
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.wp-block-button.ive-play .wp-block-button__link {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	padding: 0;
}

.wp-block-button.ive-play .wp-block-button__link::before {
	display: grid;
	place-items: center;
	width: clamp(8rem, 12vw, 12rem);
	height: clamp(8rem, 12vw, 12rem);
	border: 1px solid var(--ive-primary);
	border-radius: 999px;
	background: rgba(14, 14, 17, 0.5);
	color: var(--ive-primary);
	backdrop-filter: blur(12px);
	content: "play_arrow";
	font-family: "Material Symbols Outlined";
	font-size: clamp(4rem, 8vw, 6rem);
	font-variation-settings:
		"FILL" 1,
		"wght" 400,
		"GRAD" 0,
		"opsz" 24;
	line-height: 1;
}

.ive-social-card.wp-block-image {
	display: block;
}

.ive-social__link a {
	color: inherit;
	text-decoration: none;
}

.ive-contact__content .wp-block-shortcode {
	margin: 0;
}

@media (max-width: 680px) {
	.ive-hero__media.wp-block-image {
		position: relative;
		inset: auto;
	}
}
