/* Cinema Landing — front-end styles */

.cl-landing,
.cl-bar,
.cl-menu {
	font-family: var(--cl-font, inherit);
	-webkit-font-smoothing: antialiased;
}
.cl-landing *,
.cl-bar *,
.cl-menu * {
	box-sizing: border-box;
}

/* ---------- Shared controls ---------- */

.cl-btn {
	appearance: none;
	background: none;
	border: 0;
	border-radius: 0;
	margin: 0;
	padding: 0.5rem 0;
	font: inherit;
	font-size: 1rem;
	line-height: 1;
	color: inherit;
	cursor: pointer;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}
.cl-btn:hover {
	text-decoration-thickness: 2px;
}
.cl-btn:focus-visible,
.cl-bar__name:focus-visible,
.cl-menu__link:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}
.cl-btn--primary {
	display: inline-block;
	border: 1px solid currentColor;
	padding: 0.85rem 1.6rem;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}
.cl-btn--primary:hover {
	background: #fff;
	color: #000;
}

/* ---------- Landing (overlay + inline) ---------- */

.cl-landing {
	position: relative;
	background: #000;
	color: #fff;
	overflow: hidden;
}
.cl-landing--overlay {
	position: fixed;
	inset: 0;
	z-index: 99990;
	transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}
.cl-landing--overlay.is-leaving {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}
html.cl-seen .cl-landing--overlay {
	display: none;
}
html:not(.cl-seen) body.cl-has-landing {
	overflow: hidden;
}
.cl-landing--inline {
	height: var(--cl-h, 100vh);
	min-height: 28rem;
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.cl-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
	opacity: 0;
	transition: opacity 0.45s ease;
}
.cl-video.is-live {
	opacity: 1;
}
.cl-scrim {
	position: absolute;
	inset: 0;
	background: #000;
	opacity: var(--cl-dim, 0.25);
	pointer-events: none;
}

.cl-landing__body {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: clamp(1rem, 2.5vw, 2rem);
	padding: clamp(1rem, 3vw, 2rem);
}
.cl-title {
	margin: 0;
	font-size: clamp(3.25rem, 14vw, 14rem);
	font-weight: 500;
	line-height: 0.86;
	letter-spacing: -0.055em;
	overflow-wrap: anywhere;
	color: #fff;
}
.cl-landing__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
}
.cl-sub {
	margin: 0;
	max-width: 34ch;
	font-size: 1.125rem;
	line-height: 1.35;
}
.cl-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 1.5rem;
}

/* The one orchestrated moment: the headline rises in after the clip fades up. */
@keyframes cl-rise {
	from { opacity: 0; transform: translateY(0.35em); }
	to   { opacity: 1; transform: none; }
}
.cl-landing--overlay .cl-title {
	animation: cl-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.5s both;
}

/* ---------- Top bar ---------- */

.cl-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99999;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 1rem clamp(1rem, 3vw, 2rem);
	color: #fff;
	mix-blend-mode: difference;
	pointer-events: none;
}
.cl-bar > * {
	pointer-events: auto;
}
body.admin-bar .cl-bar {
	top: 32px;
}
@media (max-width: 782px) {
	body.admin-bar .cl-bar {
		top: 46px;
	}
}
.cl-bar__name {
	font-size: 1.125rem;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: inherit;
	text-decoration: none;
}

/* ---------- Full-screen menu ---------- */

.cl-menu {
	position: fixed;
	inset: 0;
	z-index: 99998;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 5rem clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem);
	background: #000;
	color: #fff;
	overflow: auto;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.cl-menu.is-open {
	visibility: visible;
	opacity: 1;
	transition-delay: 0s;
}
.cl-menu__video {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}
.cl-menu.has-preview .cl-menu__video {
	opacity: 0.55;
}
.cl-menu__list {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}
.cl-menu__list li {
	margin: 0;
	padding: 0;
}
.cl-menu__link {
	display: inline-block;
	font-size: clamp(2.75rem, 10vw, 9rem);
	font-weight: 500;
	line-height: 0.95;
	letter-spacing: -0.05em;
	color: #fff;
	text-decoration: none;
	opacity: 0.5;
	transition: opacity 0.2s ease;
}
.cl-menu__list:hover .cl-menu__link {
	opacity: 0.3;
}
.cl-menu__list .cl-menu__link:hover,
.cl-menu__list .cl-menu__link:focus-visible,
.cl-menu__list .cl-menu__link[aria-current="page"] {
	opacity: 1;
}
html.cl-menu-open {
	overflow: hidden;
}

/* ---------- Stylised interface layer (body.cl-ui) ---------- */

body.cl-ui {
	background: var(--cl-paper, #fff);
	color: var(--cl-ink, #000);
	font-family: var(--cl-font);
	font-size: 1.0625rem;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.cl-ui.cl-has-bar {
	padding-top: 3.25rem;
}
body.cl-ui ::selection {
	background: var(--cl-accent);
	color: #fff;
}
body.cl-ui :focus-visible {
	outline: 2px solid var(--cl-accent);
	outline-offset: 3px;
}

body.cl-ui :where(h1, h2, h3, h4, h5, h6) {
	font-family: inherit;
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.02;
	color: inherit;
}
body.cl-ui :where(h1) {
	font-size: clamp(2.75rem, 8vw, 7rem);
	letter-spacing: -0.05em;
	line-height: 0.92;
}
body.cl-ui :where(h2) {
	font-size: clamp(2rem, 5vw, 4rem);
}
body.cl-ui :where(h3) {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
}

body.cl-ui :where(p, li, td, figcaption, blockquote) a:not(.cl-btn) {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: background 0.15s ease, color 0.15s ease;
}
body.cl-ui :where(p, li, td, figcaption, blockquote) a:not(.cl-btn):hover {
	background: var(--cl-ink);
	color: var(--cl-paper);
	text-decoration: none;
}

body.cl-ui :where(.wp-block-button__link, .wp-element-button, .wp-block-search__button, input[type="submit"], .button):not([class*="cl-"]) {
	display: inline-block;
	border: 1px solid var(--cl-ink);
	border-radius: 0;
	background: transparent;
	color: var(--cl-ink);
	padding: 0.85rem 1.6rem;
	font: inherit;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}
body.cl-ui :where(.wp-block-button__link, .wp-element-button, .wp-block-search__button, input[type="submit"], .button):not([class*="cl-"]):hover {
	background: var(--cl-ink);
	color: var(--cl-paper);
}

body.cl-ui :where(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="color"], [type="range"]), textarea, select) {
	border: 0;
	border-bottom: 1px solid currentColor;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	padding: 0.6em 0;
	box-shadow: none;
}

body.cl-ui :where(img, video, figure) {
	border-radius: 0;
}
body.cl-ui :where(hr) {
	border: 0;
	border-top: 1px solid currentColor;
	opacity: 1;
}
body.cl-ui :where(blockquote) {
	margin-inline: 0;
	padding: 0;
	border: 0;
	font-size: clamp(1.5rem, 3.2vw, 2.5rem);
	line-height: 1.15;
	letter-spacing: -0.03em;
}

body.cl-hide-header :is(#masthead, #site-header, .site-header, header.wp-block-template-part, .wp-site-blocks > header) {
	display: none !important;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	.cl-landing,
	.cl-video,
	.cl-menu,
	.cl-menu__video,
	.cl-menu__link,
	.cl-btn--primary,
	.cl-title {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}
}
