/*
 * Tubelight Films — front-end styles.
 *
 * A direct port of the original custom.css (dCodesign, 2016) plus the parts
 * of Bootstrap 3 and the Meyer reset the design relied on, re-targeted at the
 * block markup. Values are kept identical; additions are limited to
 * accessibility (focus, reduced motion, high contrast), the native <dialog>
 * that replaces the Bootstrap modal, and the CSS reproduction of the logo GIF.
 */

/* -------------------------------------------------------------------------- */

/* Reset (the live bundle ended with a Meyer reset, so these win over Bootstrap) */

/* -------------------------------------------------------------------------- */

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

html {
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

html,
body,
div,
span,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
img,
strong,
em,
ol,
ul,
li,
form,
label,
article,
aside,
figure,
figcaption,
footer,
header,
nav,
main,
section,
video,
dialog {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
}

article,
aside,
figure,
figcaption,
footer,
header,
main,
nav,
section {
	display: block;
}

ol,
ul {
	list-style: none;
}

strong,
b {
	font-weight: bold;
}

button,
input {
	margin: 0;
	font: inherit;
	color: inherit;
	line-height: inherit;
}

button {
	overflow: visible;
	text-transform: none;
	-webkit-appearance: button;
	cursor: pointer;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input[type="search"] {
	-webkit-appearance: none;
	appearance: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

/* -------------------------------------------------------------------------- */

/* Base */

/* -------------------------------------------------------------------------- */

body {
	background: #5a6067;
	color: #f5f5f5;
	font-size: 14px;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: Quicksand, sans-serif;
	font-weight: 400;
}

a {
	color: #f5f5f5;
	outline: none;
	text-decoration: none;
}

a:hover {
	color: #c5e2db;
	outline: none;
	text-decoration: none;
}

a:hover,
a:active,
a:focus {
	outline: none;
	text-decoration: none;
}

.line-break {
	display: block;
}

.bold {
	font-weight: bold;
}

button:focus,
button:active {
	outline: none;
}

.page-title {
	color: #89c5b5;
	text-align: center;
	font-size: 26px;
	margin-bottom: 20px;
	margin-top: 10px;
	text-transform: uppercase;
	display: none;
}

/* Standard pages show their title; bespoke layouts (About, Contact, grids, home) keep it hidden as on the original site. */
.content-layout > .page-title {
	display: block;
	text-align: left;
	margin: 0 0 24px;
}

@media screen and (min-width: 1101px) {

	.content-layout:has(.team-list, .contact-wrap, .work-list-wrap, .home-wrap) > .page-title {
		display: none;
	}
}

.screen-overlay {
	background: rgba(0, 0, 0, 0.55);
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 10;
	visibility: hidden;
	opacity: 0;
	transition: all 0.3s ease 0s;
}

/* -------------------------------------------------------------------------- */

/* Accessibility helpers */

/* -------------------------------------------------------------------------- */

.screen-reader-text {
	border: 0;
	/* stylelint-disable-next-line property-no-deprecated -- WordPress standard screen-reader-text. */
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	overflow-wrap: normal !important;
}

.skip-link.screen-reader-text:focus {
	background: #89c5b5;
	/* stylelint-disable-next-line property-no-deprecated -- WordPress standard screen-reader-text. */
	clip: auto;
	clip-path: none;
	color: #000;
	display: block;
	font-size: 14px;
	height: auto;
	left: 8px;
	line-height: normal;
	padding: 12px 16px;
	text-decoration: none;
	top: 8px;
	width: auto;
	z-index: 100000;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid #89c5b5;
	outline-offset: 2px;
}

.work-item:focus-visible {
	outline-offset: -2px;
}

/* -------------------------------------------------------------------------- */

/* Layout */

/* -------------------------------------------------------------------------- */

:root {
	--tlf-admin-bar: 0px;
}

.admin-bar {
	--tlf-admin-bar: 32px;
}

@media screen and (max-width: 782px) {

	.admin-bar {
		--tlf-admin-bar: 46px;
	}
}

.main-layout {
	position: absolute;
	left: 26px;
	right: 26px;
	top: calc(30px + var(--tlf-admin-bar));
	bottom: 0;
	overflow: hidden;
}

.header-layout {
	position: fixed;
	left: 0;
	right: 0;
	top: var(--tlf-admin-bar);
	padding: 26px 30px;
	z-index: 10;
}

.menu-layout {
	position: fixed;
	left: 30px;
	top: calc(115px + var(--tlf-admin-bar));
	bottom: 0;
	width: 150px;
	z-index: 1;
}

.content-layout {
	position: absolute;
	left: 220px;
	top: 84px;
	right: 0;
	bottom: 0;
	overflow-y: auto;
	padding-bottom: 20px;

	/* mCustomScrollbar reserved 30px on the right for its bar. */
	padding-right: 30px;
	scrollbar-width: thin;
	scrollbar-color: #89c5b5 transparent;
}

.content-layout::-webkit-scrollbar {
	width: 6px;
}

.content-layout::-webkit-scrollbar-track {
	background: transparent;
}

.content-layout::-webkit-scrollbar-thumb {
	background-color: #89c5b5;
	border-radius: 3px;
}

/* -------------------------------------------------------------------------- */

/* Header */

/* -------------------------------------------------------------------------- */

.header-layout .logo {
	float: left;
	width: 160px;
	margin-top: 10px;
}

.header-layout .logo a {
	float: left;
}

.header-layout .logo img {
	width: 100%;
	height: auto;
}

.tlf-logo--flicker {
	animation: tlf-logo-flicker 14.1s step-end infinite;
}

/* Frame-accurate transcription of logo.gif: 10 s lit, then a 4.1 s flicker. */
@keyframes tlf-logo-flicker {

	0% {
		opacity: 1;
	}

	70.922% {
		opacity: 0.079;
	}

	71.631% {
		opacity: 0.018;
	}

	72.34% {
		opacity: 1;
	}

	73.05% {
		opacity: 0.388;
	}

	73.759% {
		opacity: 0;
	}

	75.887% {
		opacity: 0.539;
	}

	79.433% {
		opacity: 0;
	}

	80.142% {
		opacity: 1;
	}

	80.851% {
		opacity: 0.63;
	}

	81.56% {
		opacity: 1;
	}

	85.106% {
		opacity: 0;
	}

	85.816% {
		opacity: 1;
	}

	86.525% {
		opacity: 0.721;
	}

	87.234% {
		opacity: 0.37;
	}

	87.943% {
		opacity: 1;
	}

	91.489% {
		opacity: 0.806;
	}

	92.199% {
		opacity: 0.739;
	}

	95.745% {
		opacity: 0.77;
	}

	96.454% {
		opacity: 0.673;
	}

	97.163% {
		opacity: 0.739;
	}

	97.872% {
		opacity: 0.303;
	}

	98.582% {
		opacity: 0;
	}

	99.291% {
		opacity: 0.673;
	}

	100% {
		opacity: 0.673;
	}
}

.header-layout .menu-btn {
	text-align: center;
	width: 45px;
	background: none;
	border: none;
	float: left;
	display: none;
	padding: 1px 6px;
}

.header-layout .menu-btn .menu-line {
	display: block;
}

.header-layout .menu-btn .menu-line span {
	background: #fff;
	border-radius: 3px;
	display: block;
	height: 4px;
	margin-bottom: 4px;
	transform: translateY(0) translateZ(0);
	transition: transform 0.35s ease 0s;
	width: 100%;
}

.header-layout .menu-btn.active .menu-line span:first-child {
	width: 22px;
	transform: translateX(-5px) translateY(1px) rotate(-45deg);
}

.header-layout .menu-btn.active .menu-line span:last-child {
	width: 22px;
	transform: translateX(-5px) translateY(-1px) rotate(45deg);
}

.header-layout .search-icon {
	float: right;
	top: -4px;
	display: none;
	border: 0;
	background-color: transparent;
	padding: 0;
}

/* -------------------------------------------------------------------------- */

/* Menu */

/* -------------------------------------------------------------------------- */

.menu-layout > ul > li {
	display: block;
	margin-bottom: 8px;
	font-size: 18px;
	text-transform: uppercase;
	font-weight: 400;
}

.menu-link,
.menu-toggle {
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
	font: inherit;
	text-transform: inherit;
	text-align: left;
	cursor: pointer;
}

.menu-layout > ul > li:hover,
.menu-layout > ul > li:focus-within,
.menu-layout > ul > li.active {
	color: #c5e2db;
}

.menu-layout > ul > li a:focus,
.menu-layout > ul > li.active > a,
.menu-layout > ul > li.active > .menu-toggle,
.menu-layout > ul > li > .menu-toggle:hover {
	color: #c5e2db;
}

.menu-list .sub-menu {
	padding-left: 22px;
	padding-top: 12px;
	display: block;
	overflow: hidden;
}

.menu-list .sub-menu[hidden] {
	display: none;
}

/* The name sits on its own line, so it keeps the regular 15px; the 150px sidebar fits "- International Work". */
.menu-list .sub-menu li {
	font-size: 15px;
	line-height: 1.25;
	text-transform: capitalize;
	margin-bottom: 12px;
	font-weight: normal;
}

/* "Prashant Issar - Recent Work": the name leads, the part after the dash sits beneath it, smaller. */
.menu-list .sub-menu .tlf-label__sub {
	display: block;
	font-size: 12px;
	margin-top: 1px;
}

.menu-list .sub-menu li:hover,
.menu-list .sub-menu li:focus-within,
.menu-list .sub-menu li.active {
	color: #c5e2db;
}

.menu-list .sub-menu li a:focus,
.menu-list .sub-menu li.active > a {
	color: #c5e2db;
}

/* -------------------------------------------------------------------------- */

/* Social links (core Social Links block styled with the original sprite) */

/* -------------------------------------------------------------------------- */

.social-link {
	position: fixed;
	right: 26px;
	top: calc(31px + var(--tlf-admin-bar));
	z-index: 10;
	display: flex;
	flex-wrap: nowrap;
	gap: 4px;
	justify-content: flex-end;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-link li {
	margin: 0;
	display: block;
	padding: 0;
	background: none;
	box-shadow: none;
}

.tlf-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 1.5px solid #89c5b5;
	border-radius: 50%;
	background: transparent;
	color: #89c5b5;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.tlf-social__link svg {
	display: block;
	width: 14px;
	height: 14px;
	fill: currentcolor;
}

.tlf-social__link:hover,
.tlf-social__link:focus-visible {
	background: #89c5b5;
	color: #10211d;
}

.tlf-social__letter {
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

/* -------------------------------------------------------------------------- */

/* Site credit: the KDC mark, lit like a tube light */

/* -------------------------------------------------------------------------- */

.tlf-credit {
	position: fixed;
	left: 26px;
	bottom: 20px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 6px;
	color: #d9dcde;
	font-size: 11px;
	line-height: 16px;
	letter-spacing: 0.04em;

	/* Only the mark wakes the credit; the hidden text must not catch the pointer. */
	pointer-events: none;
}

.tlf-credit__mark {
	display: block;
	flex: none;
	padding: 4px;
	color: #7c8389;
	pointer-events: auto;

	/* Same frame-accurate flicker as the logo, half a cycle apart. */
	animation: tlf-logo-flicker 14.1s step-end -7s infinite;
	transition: filter 0.2s ease;
}

.tlf-credit__mark svg {
	display: block;
	width: 15px;
	height: 16px;
}

.tlf-credit__panel {
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.tlf-credit__by,
.tlf-credit__legal {
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
}

.tlf-credit__by {
	font-size: 9px;
	line-height: 14px;
}

.tlf-credit__legal {
	display: flex;
}

.tlf-credit__legal li + li {
	position: relative;
	margin-left: 13px;
}

.tlf-credit__legal li + li::before {
	content: "";
	position: absolute;
	left: -8px;
	top: 50%;
	width: 3px;
	height: 3px;
	margin-top: -1px;
	border-radius: 50%;
	background: currentcolor;
	opacity: 0.6;
}

.tlf-credit a {
	color: inherit;
}

.tlf-credit__by a {
	color: #c5e2db;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.tlf-credit a:hover,
.tlf-credit a:focus-visible,
.tlf-credit a[aria-current="page"] {
	color: #c5e2db;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Hover or keyboard focus switches the mark on and reveals the text. */
.tlf-credit:hover,
.tlf-credit:focus-within {
	pointer-events: auto;
}

.tlf-credit:hover .tlf-credit__mark,
.tlf-credit:focus-within .tlf-credit__mark {
	animation: none;
	color: #b4babf;
	filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.35));
}

.tlf-credit:hover .tlf-credit__panel,
.tlf-credit:focus-within .tlf-credit__panel {
	opacity: 1;
	transform: none;
}

/* Touch screens have no hover, so the text is always shown. */
@media (hover: none) {

	.tlf-credit {
		pointer-events: auto;
	}

	.tlf-credit__panel {
		opacity: 1;
		transform: none;
	}
}

/* The text flickers on, like the tube it sits under. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {

	.tlf-credit:hover .tlf-credit__panel,
	.tlf-credit:focus-within .tlf-credit__panel {
		animation: tlf-flicker-in 0.6s step-end 1 both;
	}
}

/* -------------------------------------------------------------------------- */

/* Icons and search */

/* -------------------------------------------------------------------------- */

.icon {
	background: var(--tlf-sprite) no-repeat 0 0 transparent;
	display: inline-block;
	min-width: 24px;
	height: 24px;
}

.search-btn {
	background: transparent;
	border: none;
	float: right;
}

.search-icon {
	background-position: -62px -173px;
	width: 26px;
	height: 26px;
	position: relative;
	top: 1px;
	cursor: pointer;
	display: inline-block;
}

.search-layout {
	position: fixed;
	right: calc(var(--tlf-social-count, 3) * 30px + 50px);
	top: calc(30px + var(--tlf-admin-bar));
	height: 32px;
	width: 28px;
	transition: all 0.4s cubic-bezier(0.25, 0.5, 0.5, 0.9) 0.2s;
	z-index: 10;
}

.search-layout .user-input {
	border-bottom: 0 solid #8f9091;
	left: 0;
	padding-bottom: 5px;
	position: absolute;
	right: 0;
	top: 0;
}

.search-layout .user-input > .search-icon {
	border: 0;
	background-color: transparent;
	padding: 0;
}

.search-layout .input-group {
	left: 35px;
	position: absolute;
	right: 40px;
	top: -4px;

	/* Not focusable while the panel is collapsed. */
	visibility: hidden;
}

.search-layout .input-group input {
	background: transparent;
	border: medium none;
	border-radius: 0;
	color: #fff;
	font-size: 16px;
	height: 36px;
	outline: medium none;
	width: 100%;
	text-transform: lowercase;
}

.search-layout .input-group input::placeholder {
	color: #fff;
	opacity: 1;
}

.search-layout .search-btn {
	opacity: 0;
	visibility: hidden;
	position: absolute;
	right: 0;
	top: 0;
	transform: scale(0);
	padding: 0;
}

.search-layout .enter-icon {
	background-position: -61px -235px;
	position: relative;
	top: 3px;
	width: 26px;
	cursor: pointer;
}

/* Search active */

.search-open .search-layout {
	width: 300px;
	z-index: 13;
}

.search-open .search-layout .search-btn {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
	transition: all 0.4s ease 0.4s;
}

.search-open .search-layout .user-input {
	border-bottom: 1px solid #8f9091;
}

.search-open .search-layout .input-group {
	visibility: visible;
}

.search-open .screen-overlay {
	opacity: 1;
	visibility: visible;
	z-index: 10;
}

/* Suggestion list (replaces jQuery UI autocomplete) */

.auto-search {
	position: absolute;
	top: 100%;
	left: -35px;
	width: 300px;
	background: transparent;
	border: medium none;
	color: #fff;
	padding-top: 10px;
	font-family: Quicksand, sans-serif;
	z-index: 14;
	margin: 0;
	text-align: left;
}

.auto-search[hidden] {
	display: none;
}

.auto-search .ui-menu-item {
	padding: 5px 10px;
	position: relative;
	text-transform: lowercase;
	margin: 0;
	cursor: pointer;
	font-size: 14px;
}

.auto-search .ui-menu-item.ui-state-focus,
.auto-search .ui-menu-item:hover {
	background: #89c5b5;
	color: #10211d;
	border: none;
	padding: 5px 10px;
	margin: 0;
}

/* -------------------------------------------------------------------------- */

/* Video dialog (native <dialog> replacing the Bootstrap modal) */

/* -------------------------------------------------------------------------- */

.tlf-dialog {
	border: 0;
	padding: 0;
	margin: 0;
	background: transparent;
	color: #f5f5f5;
	max-width: none;
	max-height: none;
	width: 100%;
	height: 100%;
	inset: 0;
	position: fixed;
	z-index: 1050;
	text-align: center;
	overflow: hidden;
	display: none;
}

.tlf-dialog[open] {
	display: block;
	opacity: 1;
	transition: opacity 0.15s linear;
}

.tlf-dialog::backdrop {
	background-color: #000;
	opacity: 0.92;
}

/* Non-modal fallback (no JavaScript): draw our own backdrop. */
.tlf-dialog[open]:not(:modal) {
	background: rgba(0, 0, 0, 0.92);
}

.tlf-dialog::before {
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -4px;
}

.tlf-dialog .modal-dialog {
	display: inline-block;
	text-align: left;
	vertical-align: middle;
	position: relative;
	width: min(92vw, calc((100vh - 120px) * 16 / 9), 1200px);
	aspect-ratio: 16 / 9;
	max-width: 100%;
	transition: transform 0.3s ease-out;
	transform: translate(0, 0);
}

@starting-style {

	.tlf-dialog[open] {
		opacity: 0;
	}

	.tlf-dialog[open] .modal-dialog {
		transform: translate(0, -25%);
	}
}

.tlf-dialog .modal-dialog:focus {
	outline: none;
}

.tlf-dialog .modal-content {
	background: transparent;
	height: 100%;
}

.tlf-dialog .close {
	background-position: -57px -95px;
	background-color: transparent;
	border: medium none;
	height: 40px;
	position: absolute;
	right: -13px;
	top: -20px;
	width: 40px;
	z-index: 10;
	padding: 0;
	font-size: 0;
	color: transparent;
}

.tlf-work,
.tlf-dialog__player,
.tlf-player {
	height: 100%;
	width: 100%;
}

.tlf-player {
	position: relative;
	background: #000;
}

.tlf-player__media,
.tlf-player iframe,
.tlf-player video {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

.tlf-player video {
	object-fit: contain;
}

.tlf-player__fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	background: #000;
	font-size: 16px;
}

/* Plyr inside the fixed-size dialog: fill the box, let the media letterbox. */
.tlf-player .plyr {
	height: 100%;
	width: 100%;
	--plyr-color-main: #89c5b5;
	--plyr-video-background: #000;
	--plyr-font-family: "Quicksand", sans-serif;
	--plyr-video-control-color: #fff;
	--plyr-video-control-color-hover: #000;
	--plyr-video-control-background-hover: #89c5b5;
	--plyr-range-fill-background: #89c5b5;
}

/* The frame is 16:9, so Plyr's own embed container (240% tall, shifted up) crops the provider chrome and centres the picture exactly. */
.tlf-player .plyr__video-wrapper {
	height: 100%;
}

.tlf-player .plyr video {
	position: absolute;
	inset: 0;
	height: 100%;
	width: 100%;
}

.tlf-player .plyr__poster {
	background-size: contain;
}

/* -------------------------------------------------------------------------- */

/* Work grid */

/* -------------------------------------------------------------------------- */

.work-list-wrap {
	position: relative;
	padding-bottom: 60px;
	padding-right: 90px;
}

.work-list-wrap .title {
	font-size: 15px;
	text-transform: capitalize;
	margin-bottom: 12px;
	font-weight: normal;
}

/* Matches .page-title. The suffix uses the lighter mint because #89c5b5 only passes contrast at large sizes. */
.work-list-wrap > .title.is-page-title {
	color: #89c5b5;
	font-size: 26px;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.work-list-wrap > .title .tlf-label__sub {
	color: #c5e2db;
	font-size: 0.6em;
	white-space: nowrap;
}

.work-list__items,
.work-list .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.work-list__item,
.work-list .wp-block-post {
	position: relative;
	min-height: 1px;
	margin: 0;
	padding: 0;
}

.work-list__empty {
	padding: 20px 0;
}

.work-item,
.work-item:hover {
	display: block;
	width: 100%;
	position: relative;
	color: #f5f5f5;
	border-left: 1px solid #35383d;
	border-bottom: 1px solid #35383d;
	overflow: hidden;
}

.work-item__figure {
	width: 100%;
	background-color: #000;
	aspect-ratio: 16 / 9;
	margin: 0;
	overflow: hidden;
}

.work-item img {
	display: block;
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.work-item__placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #35383d;
}

.work-item .meta-caption {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: #89c5b5;
	padding: 16px;
	text-align: left;
	opacity: 0;
	color: #10211d;
	width: 100%;
	height: 100%;
}

.work-item:hover .meta-caption,
.work-item:focus-visible .meta-caption {
	opacity: 1;
	transition: all 0.4s ease;
}

/* The film last played keeps a mint frame, so closing the video shows where it sits in the grid. */
.work-item.is-last-watched::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 3px solid #89c5b5;
	pointer-events: none;
}

.work-item .meta-title {
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin-bottom: 15px;
	display: block;
}

.work-item .meta-caption .meta-category {
	font-size: 15px;
	text-transform: capitalize;
	margin-bottom: 16px;
	display: block;
	font-weight: 400;
}

.work-item .meta-caption .meta-author {
	font-size: 14px;
	display: block;
	font-weight: 500;
	margin-bottom: 2px;
}

.work-item .meta-caption .meta-author .dt {
	float: left;
	min-width: 85px;
	position: relative;
}

.work-item .meta-caption .meta-author .dl {
	overflow: hidden;
	display: block;
}

.work-item .tag-bg::before {
	padding-right: 6px;
	content: "-" / "";
	display: inline-block;
	font-size: 16px;
}

.work-item .meta-caption .meta-author span.dt::after {
	content: "-" / "";
	display: inline-block;
	font-size: 16px;
	position: absolute;
	right: 6px;
	top: 0;
}

/*
 * Hover captions scale with the tile, so the credits always fit inside it.
 * Tiles are 200-380px wide across desktop widths; fixed sizes clipped them.
 */
@media screen and (min-width: 1101px) {

	.work-item {
		container-type: inline-size;
	}

	.work-item .meta-caption {
		padding: clamp(12px, 8cqi, 30px);
	}

	.work-item .meta-title {
		font-size: clamp(13px, 5.8cqi, 18px);
		margin-bottom: 0.8em;
	}

	.work-item .meta-caption .meta-author {
		font-size: clamp(11px, 4.8cqi, 15px);
	}

	.work-item .meta-caption .meta-author .dt {
		min-width: 6em;
	}

	.work-item .meta-caption .meta-author span.dt::after {
		font-size: 1em;
		right: 0.4em;
	}
}

/* -------------------------------------------------------------------------- */

/* About */

/* -------------------------------------------------------------------------- */

.team-list .team-item {
	text-align: left;
	margin-bottom: 86px;
}

.team-list .team-item .team-member-figure {
	margin: 0;
}

.team-list .team-item .team-member-pic {
	width: 214px;
	height: auto;
	margin-bottom: 26px;
	display: block;
}

.team-list .team-item .team-member-name {
	font-size: 18px;
	text-transform: uppercase;
	color: #c5e2db;
}

.team-list .team-item .team-member-post {
	font-size: 15px;
	text-transform: capitalize;
	margin-bottom: 28px;
	color: #c5e2db;
}

/* Biographies read like the standard pages: same size, leading, measure and paragraph gap. */
.team-list .team-item p {
	max-width: 760px;
	font-size: 15px;
	line-height: 1.6;
}

.team-list .team-item .team-member-desc p + p {
	margin-top: 1em;
}

/* -------------------------------------------------------------------------- */

/* Contact */

/* -------------------------------------------------------------------------- */

/* Same type as the standard pages; the gap between details stays. */
.contact-wrap p {
	font-size: 15px;
	line-height: 1.6;
}

.contact-wrap .is-style-tlf-contact-label,
.is-style-tlf-contact-label {
	font-size: 15px;
	line-height: 1.6;
	color: #a5e9e9;
}

.contact-wrap .is-style-tlf-contact-text,
.is-style-tlf-contact-text {
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 28px;
}

/* 24px tap targets for stacked phone/email links without moving the text. */
.is-style-tlf-contact-text a {
	display: inline-block;
	padding: 5px 0;
	margin: -5px 0;
}

.contact-address {
	margin-bottom: 65px;
	display: block;
	font-size: 16px;
	line-height: 20px;
	text-transform: capitalize;
}

.contact-connect {
	font-size: 16px;
	margin-bottom: 65px;
	line-height: 25px;
}

.contact-map .map-title {
	font-size: 16px;
	line-height: 18px;
	text-transform: uppercase;
	margin-bottom: 18px;
	display: block;
}

.contact-map .mobile-map-title {
	display: none;
}

.contact-map .map-wrap {
	width: 83.33333333%;
}

.contact-map .map-wrap iframe {
	display: block;
	width: 100%;
	height: 450px;
	border: 0;
}

/* -------------------------------------------------------------------------- */

/* Home */

/* -------------------------------------------------------------------------- */

.main-layout.home-layout .content-layout {
	bottom: 0;
	left: 150px;
	overflow: hidden;
	padding-bottom: 0;
	padding-right: 0;
	position: absolute;
	right: -30px;
	top: -30px;
}

.home-wrap {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

/* Desktop: the wide still, pinned 50px from the top. */
.home-ani {
	position: absolute;
	left: 0;
	right: 0;
	top: 50px;
	bottom: 0;
	display: block;
}

.home-ani__image {
	width: 100%;
	height: auto;
	display: block;
}

/* -------------------------------------------------------------------------- */

/* 404 */

/* -------------------------------------------------------------------------- */

.not-found-wrap {
	padding: 20px 0;
	max-width: 560px;
}

.not-found-wrap .page-title {
	display: block;
	text-align: left;
	margin-top: 0;
}

.not-found-wrap p {
	font-size: 15px;
	line-height: 20px;
	margin-bottom: 14px;
}

.not-found-wrap a {
	color: #c5e2db;
	text-decoration: underline;
}

/* -------------------------------------------------------------------------- */

/* The tubelight quirk: a short flicker when things switch on */

/* -------------------------------------------------------------------------- */

@keyframes tlf-flicker-in {

	0% {
		opacity: 0;
	}

	8% {
		opacity: 1;
	}

	11% {
		opacity: 0.15;
	}

	20% {
		opacity: 1;
	}

	24% {
		opacity: 0.4;
	}

	30% {
		opacity: 0;
	}

	44% {
		opacity: 1;
	}

	50% {
		opacity: 0.6;
	}

	56% {
		opacity: 1;
	}

	70% {
		opacity: 0.75;
	}

	73% {
		opacity: 1;
	}

	100% {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: no-preference) {

	.is-style-tlf-flicker,
	.tlf-flicker,
	.work-list-wrap > .title {
		animation: tlf-flicker-in 1.1s step-end 1 both;
	}

	.sub-menu.is-lighting > ul > li {
		animation: tlf-flicker-in 0.7s step-end 1 both;
		animation-delay: calc(var(--tlf-i, 0) * 45ms);
	}

	.tlf-dialog[open] .tlf-dialog__player {
		animation: tlf-flicker-in 0.5s step-end 1 both;
	}

	.work-item.is-last-watched::after {
		animation: tlf-flicker-in 0.9s step-end 1 both;
	}
}

/* -------------------------------------------------------------------------- */

/* Mobile */

/* -------------------------------------------------------------------------- */

@media screen and (max-width: 1100px) {

	.page-title {
		display: block;
	}

	.content-layout > .page-title,
	.work-list-wrap > .title.is-page-title {
		text-align: center;
	}

	.main-layout {
		bottom: auto;
		left: auto;
		overflow: auto;
		position: relative;
		right: auto;
		top: auto;
	}

	.header-layout {
		background: #5a6067;
		left: 0;
		padding: 15px 10px;
		position: fixed;
		right: 0;
		text-align: center;
		top: var(--tlf-admin-bar);
		z-index: 10;
		height: 60px;
	}

	.menu-layout {
		background: #5a6067;
		bottom: 0;
		left: 0;
		position: fixed;
		right: 0;
		text-align: center;
		top: calc(60px + var(--tlf-admin-bar));
		transform: translateX(-100%);
		visibility: hidden;
		opacity: 0;
		transition: all 0.4s cubic-bezier(0.25, 0.5, 0.5, 0.9) 0s;
		width: auto;
		z-index: 10;
		overflow-y: auto;
	}

	.main-layout.menu-open .menu-layout {
		transform: translateX(0);
		visibility: visible;
		opacity: 1;
	}

	.content-layout {
		bottom: auto;
		left: auto;
		overflow-y: auto;
		padding: calc(70px + var(--tlf-admin-bar)) 16px 10px;
		position: relative;
		right: auto;
		top: auto;
	}

	.header-layout .logo {
		display: block;
		margin: 8px auto 0;
		width: 160px;
		float: none;
	}

	.header-layout .menu-btn {
		margin-top: 6px;
		display: block;
		width: 43px;
	}

	.header-layout .search-icon {
		display: block;
	}

	.menu-layout > ul > li {
		font-size: 26px;
	}

	.menu-link,
	.menu-toggle {
		text-align: center;
	}

	.menu-list {
		padding-top: 20px;
	}

	.menu-list .sub-menu {
		padding-left: 0;
		padding-top: 12px;
	}

	.menu-list .sub-menu li {
		font-size: 15px;
		line-height: 1;
	}

	.menu-list .sub-menu .line-break {
		display: inline;
	}

	.menu-list .sub-menu .tlf-label__sub {
		display: inline;
		font-size: 12px;
		margin-top: 0;
		white-space: nowrap;
	}

	/* Clears the two-line site credit beneath. */
	.social-link {
		bottom: 64px;
		left: 0;
		top: auto;
		position: fixed;
		right: 0;
		text-align: center;
		justify-content: center;
		z-index: 10;
		transform: translateY(100%);
		visibility: hidden;
		opacity: 0;
		transition: all 0.3s linear 0.2s;
		gap: 10px;
	}

	.tlf-social__link {
		width: 34px;
		height: 34px;
	}

	.tlf-social__link svg {
		width: 18px;
		height: 18px;
	}

	.main-layout.menu-open .social-link {
		transform: translateY(0);
		visibility: visible;
		opacity: 1;
	}

	/* Phone: the desktop layout, always open, centred at the foot of the open menu under the icons. */
	.tlf-credit {
		left: 0;
		right: 0;
		bottom: 12px;
		justify-content: center;
		font-size: 12px;
		z-index: 10;
		pointer-events: auto;
		transform: translateY(100%);
		visibility: hidden;
		opacity: 0;
		transition: all 0.3s linear 0.2s;
	}

	.main-layout.menu-open .tlf-credit {
		transform: translateY(0);
		visibility: visible;
		opacity: 1;
	}

	.tlf-credit__panel {
		opacity: 1;
		transform: none;
	}

	.tlf-credit__by {
		font-size: 10px;
	}

	.work-list-wrap {
		padding-bottom: 20px;
		padding-right: 0;
	}

	.work-list-wrap .title {
		text-align: center;
	}

	.work-item img {
		max-width: none;
		width: 100%;
	}

	.work-item .meta-caption {
		background: #89c5b5;
		bottom: auto;
		display: block;
		left: auto;
		opacity: 1;
		padding: 12px 16px;
		position: relative;
		right: auto;
		text-align: left;
		top: auto;
		transform: scale(1);
		height: auto;
	}

	.work-item .meta-caption span {
		display: inline-block;
		margin-bottom: 2px;
	}

	.work-item .meta-caption .meta-category {
		font-size: 16px;
		margin-bottom: 10px;
		display: inline-block;
	}

	.work-item .meta-title {
		margin-bottom: 10px;
	}

	.work-item .meta-caption .meta-author {
		font-size: 12px;
		line-height: 14px;
	}

	.team-list .team-item {
		margin-bottom: 66px;
	}

	.team-list .team-item .team-member-pic {
		margin-bottom: 16px;
		width: 100%;
		max-width: 320px;
	}

	.team-list .team-item .team-member-name {
		font-size: 16px;
		line-height: 18px;
	}

	.team-list .team-item .team-member-post {
		margin-bottom: 16px;
		font-size: 14px;
	}

	.contact-wrap {
		text-align: center;
	}

	.contact-wrap .contact-address,
	.contact-wrap .contact-connect {
		margin-bottom: 35px;
	}

	.contact-address span {
		font-size: 14px;
		line-height: 18px;
	}

	.contact-connect {
		font-size: 14px;
		line-height: 24px;
	}

	.contact-map .map-title {
		display: none;
	}

	.contact-map .mobile-map-title {
		font-size: 16px;
		line-height: 18px;
		text-transform: uppercase;
		margin-bottom: 18px;
		display: block;
	}

	.mobile-map-title .map-icon {
		background-position: -60px -7px;
		height: 36px;
		position: relative;
		top: 7px;
		width: 30px;
	}

	.map-wrap {
		display: none;
	}

	.search-layout {
		background: #89c5b5;
		bottom: 30%;
		color: #10211d;
		left: 0;
		padding: 20px;
		position: fixed;
		right: 0;
		top: var(--tlf-admin-bar);
		z-index: 11;
		height: auto;
		transform: translateY(-100%);
		visibility: hidden;
		opacity: 0;
		transition: all 0.4s cubic-bezier(0.25, 0.5, 0.5, 0.9) 0s;
		width: auto;
	}

	.search-open .search-layout {
		transform: translateY(0);
		visibility: visible;
		opacity: 1;
		width: auto;
	}

	.search-open .search-layout .user-input {
		left: 20px;
		position: absolute;
		right: 20px;
		top: 20px;
		visibility: visible;
		opacity: 1;
		width: auto;
		padding-bottom: 6px;
		border-bottom: 1px solid #10211d;
	}

	.search-open .search-layout .input-group input {
		background: transparent;
		border: none;
		color: #10211d;
		visibility: visible;
		opacity: 1;
		height: 36px;
		width: 100%;
		font-size: 16px;
		outline: none;
	}

	.search-open .search-layout .input-group input::placeholder {
		color: #10211d;
		opacity: 0.75;
	}

	.search-open .search-layout .search-icon,
	.search-open .search-layout .search-btn {
		filter: brightness(0.1);
	}

	.auto-search {
		width: auto;
		left: -55px;
		right: -40px;
		background: transparent;
		border: medium none;
		color: #10211d;
		padding-top: 15px;
	}

	.auto-search .ui-menu-item {
		padding: 7px 20px;
		position: relative;
		text-transform: lowercase;
		margin: 0;
	}

	.auto-search .ui-menu-item.ui-state-focus,
	.auto-search .ui-menu-item:hover {
		background: #fff;
		color: #10211d;
		border: none;
		padding: 7px 20px;
		margin: 0;
	}

	.tlf-dialog .modal-dialog {
		width: min(94vw, calc((100vh - 100px) * 16 / 9));
		margin: 0 auto;
	}

	.tlf-dialog .close {
		background-position: 0 -312px;
		border: medium none;
		height: 33px;
		position: absolute;
		right: -4px;
		top: -22px;
		width: 33px;
		z-index: 10;
	}

	.main-layout.home-layout {
		bottom: 0;
		left: 0;
		overflow: hidden;
		position: absolute;
		right: 0;
		top: var(--tlf-admin-bar);
	}

	.main-layout.home-layout .content-layout {
		bottom: 0;
		left: 0;
		overflow: hidden;
		padding: 0;
		position: absolute;
		right: 0;
		top: 0;
	}

	/* Phone: the square slideshow, centred at the bottom. */
	.home-ani {
		top: auto;
		bottom: 0;
		text-align: center;
	}

	.home-ani__image {
		width: 80%;
		max-width: 720px;
		margin: 0 auto;
	}
}

@media screen and (max-width: 1100px) and (orientation: landscape) {

	.home-ani {
		top: 50px;
	}

	.home-ani__image {
		width: 65%;
	}
}

/* Bootstrap grid breakpoints: col-lg-3 / col-md-4 / col-sm-6 / col-xs-12 */

@media screen and (max-width: 1199px) {

	.work-list__items,
	.work-list .wp-block-post-template {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media screen and (max-width: 991px) {

	.work-list__items,
	.work-list .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contact-map .map-wrap {
		width: 100%;
	}
}

@media screen and (min-width: 992px) {

	.team-list .team-item {
		width: 75%;
	}
}

@media screen and (max-width: 767px) {

	.work-list__items,
	.work-list .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media screen and (min-width: 1400px) {

	.main-layout.home-layout .content-layout {
		left: 180px;
	}

	.work-item .meta-caption .meta-category {
		font-size: 16px;
	}
}

/* -------------------------------------------------------------------------- */

/* Standard pages (Terms, Privacy and any page without a bespoke layout) */

/* -------------------------------------------------------------------------- */

.content-layout > .entry-content {
	padding-bottom: 40px;
}

.content-layout > .entry-content > p,
.content-layout > .entry-content > h2,
.content-layout > .entry-content > h3,
.content-layout > .entry-content > h4,
.content-layout > .entry-content > ul,
.content-layout > .entry-content > ol,
.content-layout > .entry-content > blockquote,
.content-layout > .entry-content > figure,
.content-layout > .entry-content > table {
	max-width: 760px;
	font-size: 15px;
	line-height: 1.6;
}

.content-layout > .entry-content > * + * {
	margin-top: 1em;
}

.content-layout > .entry-content > h2,
.content-layout > .entry-content > h3,
.content-layout > .entry-content > h4 {
	color: #c5e2db;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
	margin-top: 2em;
	text-transform: uppercase;
}

.content-layout > .entry-content > h3 {
	font-size: 16px;
}

.content-layout > .entry-content > h4 {
	font-size: 15px;
}

.content-layout > .entry-content > ul,
.content-layout > .entry-content > ol {
	padding-left: 1.4em;
}

.content-layout > .entry-content > ul li + li,
.content-layout > .entry-content > ol li + li {
	margin-top: 0.4em;
}

.content-layout > .entry-content > p a,
.content-layout > .entry-content > ul a,
.content-layout > .entry-content > ol a {
	color: #c5e2db;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.content-layout > .entry-content > p a:hover,
.content-layout > .entry-content > ul a:hover,
.content-layout > .entry-content > ol a:hover {
	color: #fff;
}

/* -------------------------------------------------------------------------- */

/* Add a film (front-end form) and the login form shown to visitors */

/* -------------------------------------------------------------------------- */

.tlf-add {
	max-width: 680px;
	padding-bottom: 60px;
	font-size: 15px;
	line-height: 1.5;
}

.tlf-add__intro {
	margin: 0 0 20px;
}

.tlf-add__intro a,
.tlf-add__notice a,
.tlf-add__hint a {
	color: #c5e2db;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tlf-add__notice {
	background: #4a5056;
	border-left: 3px solid #89c5b5;
	margin: 0 0 24px;
	padding: 12px 16px;
}

.tlf-add__notice p,
.tlf-add__notice ul {
	margin: 0 0 6px;
}

.tlf-add__notice ul {
	padding-left: 1.2em;
}

.tlf-add__notice--error {
	border-left-color: #ffb3a7;
}

.tlf-add__step {
	border: 0;
	border-top: 1px solid #35383d;
	margin: 0 0 6px;
	min-width: 0;
	padding: 22px 0 12px;
}

.tlf-add__step legend {
	color: #c5e2db;
	float: left;
	width: 100%;
	padding: 0 0 4px;
	font-size: 15px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tlf-add label {
	display: block;
	margin: 14px 0 6px;
}

.tlf-add__optional {
	color: #e3e6e8;
	font-size: 13px;
}

.tlf-add input[type="text"],
.tlf-add input[type="url"],
.tlf-add input[type="password"],
.tlf-add textarea {
	box-sizing: border-box;
	width: 100%;
	background: #35383d;
	border: 1px solid #474c52;
	border-radius: 3px;
	color: #f5f5f5;
	font: inherit;
	padding: 10px 12px;
}

.tlf-add input[type="text"]:focus,
.tlf-add input[type="url"]:focus,
.tlf-add input[type="password"]:focus,
.tlf-add textarea:focus {
	border-color: #89c5b5;
}

.tlf-add input[type="file"] {
	font: inherit;
	max-width: 100%;
}

.tlf-add__row {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.tlf-add__row input {
	flex: 1 1 auto;
	min-width: 0;
}

.tlf-add__button,
.tlf-add input[type="submit"] {
	background: #89c5b5;
	border: 1px solid #89c5b5;
	border-radius: 3px;
	color: #10211d;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 10px 18px;
	white-space: nowrap;
}

.tlf-add__button:hover,
.tlf-add input[type="submit"]:hover {
	background: #c5e2db;
	border-color: #c5e2db;
}

.tlf-add__button:disabled {
	cursor: wait;
	opacity: 0.6;
}

.tlf-add__button--secondary {
	background: transparent;
	color: #c5e2db;
	font-weight: 400;
}

.tlf-add__hint {
	color: #e3e6e8;
	font-size: 13px;
	line-height: 1.5;
	margin: 6px 0 0;
}

.tlf-add__status {
	color: #c5e2db;
	font-size: 13px;
	margin: 8px 0 0;
	min-height: 1.5em;
}

.tlf-add__status.is-error {
	color: #ffd6cf;
}

.tlf-add__preview[hidden] {
	display: none;
}

.tlf-add__preview {
	display: flex;
	gap: 14px;
	align-items: center;
	margin-top: 12px;
}

.tlf-add__preview img {
	width: 160px;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: #000;
	border-radius: 3px;
}

.tlf-add__preview-meta {
	margin: 0;
	font-size: 13px;
}

.tlf-add .tlf-add__choice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 8px 0 8px calc(var(--tlf-depth, 0) * 24px);
}

.tlf-add .tlf-add__choice input {
	accent-color: #89c5b5;
	flex: none;
	margin: 3px 0 0;
}

.tlf-add .tlf-add__choice--pin {
	border-top: 1px solid #35383d;
	margin-top: 16px;
	padding-top: 14px;
}

.tlf-add .tlf-add__group {
	color: #c5e2db;
	font-size: 13px;
	letter-spacing: 0.04em;
	margin: 14px 0 2px calc(var(--tlf-depth, 0) * 24px);
	text-transform: uppercase;
}

.tlf-add__actions {
	margin: 20px 0 0;
}

#tlf-login-form p {
	margin: 0 0 14px;
}

#tlf-login-form label {
	margin: 0 0 6px;
}

#tlf-login-form .login-remember label {
	display: flex;
	align-items: center;
	gap: 8px;
}

#tlf-login-form .login-remember input {
	accent-color: #89c5b5;
}

/* -------------------------------------------------------------------------- */

/* Motion and contrast preferences */

/* -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

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

	.tlf-logo--flicker,
	.tlf-credit__mark {
		animation: none !important;
		opacity: 1;
	}
}

@media (prefers-contrast: more) {

	.menu-layout > ul > li:hover,
	.menu-layout > ul > li.active,
	.menu-layout > ul > li.active > a,
	.menu-layout > ul > li.active > .menu-toggle,
	.menu-list .sub-menu li.active > a,
	.page-title,
	.work-list-wrap > .title.is-page-title,
	.work-list-wrap > .title .tlf-label__sub,
	.team-list .team-item .team-member-name,
	.team-list .team-item .team-member-post,
	.not-found-wrap a,
	a:hover {
		color: #eef7f4;
	}

	.contact-wrap .is-style-tlf-contact-label,
	.is-style-tlf-contact-label {
		color: #d7f5f5;
	}

	.work-item .meta-caption,
	.auto-search .ui-menu-item.ui-state-focus,
	.auto-search .ui-menu-item:hover {
		background: #1f3f38;
		color: #fff;
	}
}

@media print {

	.header-layout,
	.menu-layout,
	.social-link,
	.search-layout,
	.tlf-dialog {
		position: static;
	}

	.main-layout,
	.content-layout {
		position: static;
		overflow: visible;
	}
}
