@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@500;600;700&display=swap");

/*
	Kornea Kreations - modern cinematic theme
	Black / white with a single accent colour.
	Change --accent and --hero-image to re-theme the whole site.
*/

/* ------------------------------------------------------------------ */
/* Tokens                                                              */
/* ------------------------------------------------------------------ */

:root {
	--black: #0a0a0a;
	--ink: #0a0a0a;
	--on-accent: #ffffff;
	--panel: #141414;
	--panel-2: #1b1b1b;
	--line: rgba(255, 255, 255, 0.12);
	--text: #e8e8e8;
	--muted: #a0a0a0;
	--accent: #245567;
	--accent-strong: #3d7f93;
	--accent-soft: rgba(36, 85, 103, 0.18);
	--display: 'Oswald', 'Arial Narrow', Impact, sans-serif;
	--body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--hero-image: url("../images/Movie-making4.jpg");
	--header-h: 76px;
	--gutter: clamp(1rem, 4vw, 3rem);
	--maxw: 1200px;
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */

*, *:before, *:after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at top, rgba(36, 85, 103, 0.08), transparent 22%),
		var(--black);
	color: var(--text);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.is-loading *, body.is-loading *:before, body.is-loading *:after {
	animation: none !important;
	transition: none !important;
}

a {
	color: inherit;
	text-decoration: none;
	border: 0;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--accent-strong);
}

img {
	max-width: 100%;
	height: auto;
}

ul, ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

p {
	margin: 0 0 1.2em;
}

strong, b {
	color: #fff;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--display);
	font-weight: 600;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.1;
	margin: 0 0 0.6em;
}

::selection {
	background: var(--accent);
	color: var(--on-accent);
}

a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

#menu {
	display: none;
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

#header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-h);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0 var(--gutter);
	background: rgba(10, 10, 10, 0.88);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
	transition: background 0.3s ease, border-color 0.3s ease;
}

#header.alt {
	background: linear-gradient(180deg, rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0));
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	border-bottom-color: transparent;
}

#header h1 {
	flex: 0 0 auto;
	margin: 0;
	font-size: 1rem;
	line-height: 1;
}

#header h1 a {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	color: #fff;
	font-family: var(--display);
	font-size: clamp(0.88rem, 0.72rem + 0.6vw, 1.25rem);
	font-weight: 600;
	letter-spacing: 0.12em;
	white-space: nowrap;
	text-shadow: 0 0 16px rgba(36, 85, 103, 0.18);
}

#header h1 a img {
	float: none;
	margin: 0;
	height: 30px;
	width: auto;
	display: block;
	flex-shrink: 0;
}

#header nav {
	position: static;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 0.15rem;
	height: auto;
	font-family: var(--body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	line-height: 1;
}

#header nav a {
	position: relative;
	display: inline-block;
	padding: 0.75rem 0.9rem;
	color: rgba(255, 255, 255, 0.72);
	cursor: pointer;
	white-space: nowrap;
	background: none;
	border: 0;
	border-radius: 999px;
	transform: none;
}

#header nav a:after {
	content: '';
	position: absolute;
	left: 0.9rem;
	right: 0.9rem;
	bottom: 0.3rem;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

#header nav a:hover, #header nav a.active {
	color: #fff;
}

#header nav a:hover:after, #header nav a.active:after {
	transform: scaleX(1);
}

#header nav a:last-child {
	margin-left: 0.6rem;
	padding: 0.75rem 1.3rem;
	color: #fff;
	border: 1px solid var(--accent);
	transition: background 0.2s ease, color 0.2s ease;
}

#header nav a:last-child:after {
	display: none;
}

#header nav a:last-child:hover {
	background: var(--accent);
	color: var(--ink);
}

@media screen and (max-width: 1180px) {

	#header h1 a {
		font-size: 0;
		gap: 0;
	}

	#header nav {
		overflow-x: auto;
		scrollbar-width: none;
		letter-spacing: 0.1em;
	}

	#header nav::-webkit-scrollbar {
		display: none;
	}

	#header nav a {
		padding: 0.75rem 0.6rem;
	}

	#header nav a:after {
		left: 0.6rem;
		right: 0.6rem;
	}

	#header nav a:last-child {
		padding: 0.75rem 1rem;
	}

}

@media screen and (max-width: 760px) {

	:root {
		--header-h: 64px;
	}

	#header h1 a img {
		height: 34px;
	}

	#header nav {
		overflow-x: auto;
		scrollbar-width: none;
		max-width: calc(100vw - 5.5rem);
	}

	#header nav::-webkit-scrollbar {
		display: none;
	}

}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

#banner {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 100vh;
	padding: calc(var(--header-h) + 3rem) 0 clamp(3rem, 8vw, 6rem);
	background:
		linear-gradient(180deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.3) 40%, rgba(10, 10, 10, 0.96) 100%),
		var(--hero-image) center / cover no-repeat;
	overflow: hidden;
}

#banner .inner {
	width: min(var(--maxw), calc(100% - 2 * var(--gutter)));
	margin: 0 auto;
	text-align: left;
}

#banner .logo {
	margin: 0 0 1.5rem;
	opacity: 1;
}

#banner .logo img {
	height: 64px;
	width: auto;
}

#banner .hero-eyebrow {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.2rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: #fff;
}

#banner .hero-eyebrow:before {
	content: '';
	width: 48px;
	height: 2px;
	background: var(--accent);
}

#banner h2 {
	max-width: 14ch;
	margin: 0 0 1.4rem;
	font-size: clamp(3.2rem, 11vw, 9.5rem);
	font-weight: 700;
	line-height: 0.92;
	letter-spacing: 0.01em;
	color: #fff;
	text-shadow: 0 12px 30px rgba(0, 0, 0, 0.38), 0 0 24px rgba(36, 85, 103, 0.15);
	border: 0;
	padding: 0;
}

#banner h2 span {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.26em;
	font-weight: 500;
	letter-spacing: 0.35em;
	color: #fff;
}

#banner p {
	margin: 0 0 2.2rem;
	font-size: clamp(0.9rem, 1.6vw, 1.15rem);
	font-weight: 500;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: #fff;
}

#banner .hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.cta {
	display: inline-block;
	padding: 1rem 2rem;
	font-family: var(--body);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--on-accent);
	background: var(--accent);
	border: 1px solid var(--accent);
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cta:hover {
	background: #fff;
	border-color: #fff;
	color: var(--ink);
	transform: translateY(-2px);
}

.cta.ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
}

.cta.ghost:hover {
	background: #fff;
	color: var(--ink);
}

.hero-scroll {
	position: absolute;
	right: var(--gutter);
	bottom: 2rem;
	display: flex;
	align-items: center;
	gap: 0.9rem;
	writing-mode: vertical-rl;
	font-size: 0.65rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--muted);
}

.hero-scroll:after {
	content: '';
	width: 1px;
	height: 56px;
	background: linear-gradient(var(--accent), transparent);
}

@keyframes rise {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: none; }
}

#banner .inner > * {
	animation: rise 0.9s ease both;
}

#banner .inner > :nth-child(2) { animation-delay: 0.1s; }
#banner .inner > :nth-child(3) { animation-delay: 0.2s; }
#banner .inner > :nth-child(4) { animation-delay: 0.3s; }
#banner .inner > :nth-child(5) { animation-delay: 0.4s; }

@media screen and (max-width: 760px) {

	#banner .logo img {
		height: 64px;
	}

	.hero-scroll {
		display: none;
	}

}

/* ------------------------------------------------------------------ */
/* Marquee strip                                                       */
/* ------------------------------------------------------------------ */

.marquee {
	overflow: hidden;
	white-space: nowrap;
	background: var(--accent);
	color: var(--on-accent);
}

.marquee-track {
	display: inline-flex;
	animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track {
	animation-play-state: paused;
}

.marquee-group {
	display: flex;
	flex-shrink: 0;
}

.marquee-group span {
	display: inline-flex;
	align-items: center;
	padding: 0.9rem 0;
	font-family: var(--display);
	font-size: clamp(1.1rem, 2.4vw, 1.6rem);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.marquee-group span:after {
	content: '\2726';
	margin: 0 2rem;
	font-size: 0.7em;
}

@keyframes marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* ------------------------------------------------------------------ */
/* Wrappers and sections                                               */
/* ------------------------------------------------------------------ */

#page-wrapper {
	min-height: 100vh;
}

#wrapper {
	display: block;
	counter-reset: sec;
}

.wrapper {
	position: relative;
	margin: 0;
	background: transparent;
}

.wrapper .inner {
	width: min(var(--maxw), calc(100% - 2 * var(--gutter)));
	margin: 0 auto;
	padding: 0;
}

h2.major, h3.major {
	border: 0;
	padding: 0;
}

/* Spotlight sections (home page) */

.wrapper.spotlight {
	padding: clamp(4rem, 9vw, 8rem) 0;
	border-top: 1px solid var(--line);
	counter-increment: sec;
}

#wrapper > .wrapper.spotlight:first-child {
	border-top: 0;
}

.wrapper.spotlight .inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
}

.wrapper.spotlight.alt .inner {
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}

.wrapper.spotlight.alt .image {
	order: 2;
}

.wrapper.spotlight .image {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	margin: 0;
	border: 0;
	cursor: default;
}

.wrapper.spotlight .image:before {
	content: '';
	position: absolute;
	inset: 18px -18px -18px 18px;
	border: 2px solid var(--accent);
	z-index: 0;
	transition: inset 0.4s ease;
}

.wrapper.spotlight.alt .image:before {
	inset: 18px 18px -18px -18px;
}

.wrapper.spotlight .image:hover:before {
	inset: 10px -10px -10px 10px;
}

.wrapper.spotlight.alt .image:hover:before {
	inset: 10px 10px -10px -10px;
}

.wrapper.spotlight .image img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	filter: grayscale(0.7) contrast(1.05);
	transition: filter 0.5s ease;
}

.wrapper.spotlight .image:hover img {
	filter: none;
}

.wrapper.spotlight .content:before {
	content: '0' counter(sec);
	display: block;
	margin-bottom: 0.1em;
	font-family: var(--display);
	font-size: clamp(4rem, 10vw, 8rem);
	font-weight: 700;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
}

.wrapper.spotlight .content h2.major {
	margin: 0 0 1.4rem;
	font-size: clamp(2rem, 5vw, 3.6rem);
	font-weight: 700;
}

.wrapper.spotlight .content h2.major:after {
	content: '';
	display: block;
	width: 56px;
	height: 4px;
	margin-top: 1rem;
	background: var(--accent);
}

.wrapper.spotlight .content p {
	font-size: 1.05rem;
	line-height: 1.85;
	color: var(--muted);
}

.client-strip {
	margin-top: 1.75rem;
	padding: 1rem 1rem 0.75rem;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--line);
	border-radius: 1rem;
}

.client-strip-title {
	margin-bottom: 0.9rem;
	font-family: var(--body);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--accent);
}

.client-marquee {
	overflow: hidden;
	white-space: nowrap;
	padding-top: 0.25rem;
}

.client-marquee-track {
	display: inline-flex;
	width: max-content;
	animation: client-marquee 30s linear infinite;
}

.client-marquee:hover .client-marquee-track {
	animation-play-state: paused;
}

.client-marquee-group {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	padding-right: 1rem;
	gap: 0.9rem;
}

.client-marquee-group img {
	display: block;
	height: 72px;
	width: auto;
	max-width: 170px;
	object-fit: contain;
	padding: 0.55rem 0.85rem;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 0.8rem;
	filter: brightness(1.04) contrast(1.02);
}

@keyframes client-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@media screen and (max-width: 700px) {
	.client-marquee-group img {
		height: 60px;
		max-width: 140px;
	}
}

/* Crew section */

#three .inner {
	grid-template-columns: 1fr;
	gap: clamp(2rem, 5vw, 4rem);
}

#three .image {
	aspect-ratio: 21 / 8;
}

#three .image:before {
	inset: 14px -14px -14px 14px;
}

#three .content > .row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 2rem 0 0;
	padding: 0;
}

#three .content > .row:before, #three .content > .row:after {
	display: none;
}

#three .content > .row > .column {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--panel);
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
}

#three .column h3 {
	margin: 1.4rem 0 0.3rem;
	padding-top: 1.4rem;
	border-top: 1px solid var(--line);
	font-family: var(--body);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.24em;
	color: var(--accent);
}

#three .column h3:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

#three .column p {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(1.2rem, 2.2vw, 1.55rem);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
}

#three .column p a {
	display: inline-block;
	cursor: pointer;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

#three .column p a:hover {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

@media screen and (max-width: 900px) {

	.wrapper.spotlight .inner, .wrapper.spotlight.alt .inner {
		grid-template-columns: 1fr;
	}

	.wrapper.spotlight.alt .image {
		order: 0;
	}

	.wrapper.spotlight .image {
		aspect-ratio: 16 / 10;
		max-width: 560px;
	}

	#three .image {
		max-width: none;
		aspect-ratio: 16 / 9;
	}

}

@media screen and (max-width: 700px) {

	#three .content > .row {
		grid-template-columns: 1fr;
	}

}

/* ------------------------------------------------------------------ */
/* Inner pages: titles, cards, tabs                                    */
/* ------------------------------------------------------------------ */

#wrapper > #four {
	padding: calc(var(--header-h) + 4rem) 0 clamp(3rem, 7vw, 6rem);
}

#four h2.major {
	margin: 0 0 clamp(2rem, 5vw, 3.5rem);
	font-size: clamp(2.8rem, 9vw, 7rem);
	font-weight: 700;
	line-height: 0.95;
	color: #fff;
}

#four h2.major:after {
	content: '';
	display: block;
	width: 96px;
	height: 6px;
	margin-top: 1.3rem;
	background: var(--accent);
}

#four .tab-content > .tab-pane {
	padding: 0;
}

.features {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
}

.features article {
	display: flex;
	flex-direction: column;
	width: auto;
	margin: 0 !important;
	padding: 0;
	background: linear-gradient(180deg, rgba(20, 20, 20, 0.96), rgba(12, 12, 12, 0.94));
	border: 1px solid var(--line);
	border-radius: 0;
	box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
	overflow: hidden;
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.features article:hover {
	transform: translateY(-6px);
	border-color: rgba(36, 85, 103, 0.7);
	box-shadow: 0 26px 48px rgba(0, 0, 0, 0.26);
}

.features article .image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 260px;
	margin: 0;
	border: 0;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.06);
}

.features article .image img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
	object-position: center;
	transition: transform 0.6s ease;
}

.features article:hover .image img {
	transform: scale(1.05);
}

/* YouTube thumbnails carry black bars; crop them to a clean 16:9 */
.features article .image:has(img[src*="img.youtube.com"]) {
	aspect-ratio: 16 / 9;
}

.features article .image img[src*="img.youtube.com"] {
	height: 100%;
	object-fit: cover;
}

.features article:has(.special) .image:after {
	content: '\f04b';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: FontAwesome;
	font-size: 2rem;
	color: #fff;
	background: rgba(10, 10, 10, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.features article:hover:has(.special) .image:after {
	opacity: 1;
}

.features h3.major {
	margin: 0;
	padding: 1.1rem 1.25rem 0;
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0.03em;
}

.features a.special {
	display: block;
	margin: 0;
	padding: 0.7rem 1.25rem 1.3rem;
	font-family: var(--body);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent);
	border: 0;
}

.features a.special:after {
	content: '  \2192';
}

.features a.special:hover {
	color: #fff;
}

/* Language tabs inside cards */

#wrapper .pc-tab {
	width: 100%;
	max-width: none;
	margin: 0;
}

#wrapper .pc-tab nav {
	padding: 1rem 1.1rem 0.25rem;
}

#wrapper .pc-tab ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

#wrapper .pc-tab ul li label {
	float: none;
	display: block;
	margin: 0;
	padding: 0.45rem 0.9rem;
	font-family: var(--body);
	font-size: 0.66rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 999px;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease;
}

#wrapper .pc-tab ul li label:hover {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
	background: transparent;
}

#tab1:checked ~ nav .tab1 label, #tab2:checked ~ nav .tab2 label,
#tab3:checked ~ nav .tab3 label, #tab4:checked ~ nav .tab4 label,
#tab5:checked ~ nav .tab5 label, #tab6:checked ~ nav .tab6 label,
#tab7:checked ~ nav .tab7 label, #tab8:checked ~ nav .tab8 label {
	background: var(--accent) !important;
	border-color: var(--accent) !important;
	color: var(--on-accent) !important;
}

#tab1:checked ~ nav .tab1 label:after, #tab2:checked ~ nav .tab2 label:after,
#tab3:checked ~ nav .tab3 label:after, #tab4:checked ~ nav .tab4 label:after,
#tab5:checked ~ nav .tab5 label:after, #tab6:checked ~ nav .tab6 label:after,
#tab7:checked ~ nav .tab7 label:after, #tab8:checked ~ nav .tab8 label:after {
	display: none !important;
}

#wrapper .pc-tab section {
	clear: both;
	font-family: var(--body);
}

#wrapper .pc-tab section div {
	width: 100%;
	padding: 0;
	line-height: inherit;
	letter-spacing: inherit;
	color: inherit;
}

#wrapper .pc-tab nav + section > div .image {
	margin-top: 0.75rem;
}

/* ------------------------------------------------------------------ */
/* Footer / contact                                                    */
/* ------------------------------------------------------------------ */

#footer {
	position: relative;
	padding: clamp(4rem, 8vw, 7rem) 0 2rem;
	background: var(--ink);
	border-top: 1px solid var(--line);
}

#footer .inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
	width: min(var(--maxw), calc(100% - 2 * var(--gutter)));
	margin: 0 auto;
	padding: 0;
}

#footer .inner > * {
	width: auto;
}

#footer .inner > h2.major, #footer .footer-head {
	grid-column: 1 / -1;
	margin: 0 0 1rem;
}

#footer .section-tag {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--accent);
}

#footer .section-tag:before {
	content: '';
	width: 48px;
	height: 2px;
	background: var(--accent);
}

#footer h2.major {
	margin: 0 0 1rem;
	font-size: clamp(3rem, 10vw, 8rem);
	font-weight: 700;
	line-height: 0.9;
	color: #fff;
}

#footer h2.major:after {
	content: '.';
	color: var(--accent);
}

#footer .footer-head p {
	max-width: 40rem;
	margin: 0;
	font-size: 1.05rem;
	color: var(--muted);
}

#footer form, #footer .contact-form,
#footer .contact-info, #footer .inner > ul.contact {
	position: relative;
	margin: 0;
	padding: clamp(1.25rem, 3vw, 2.25rem);
	background: linear-gradient(180deg, rgba(20, 20, 20, 1), rgba(12, 12, 12, 1));
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

#footer form:before, #footer .inner > ul.contact:before, #footer .panel-title {
	content: 'Send us a message';
	display: block;
	margin: 0 0 1.75rem;
	font-family: var(--body);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--accent);
}

#footer .inner > ul.contact:before {
	content: 'Find us';
}

#footer .field {
	margin: 0 0 1.5rem;
}

#footer label {
	display: block;
	margin: 0 0 0.35rem;
	font-family: var(--body);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
}

#footer input[type="text"],
#footer input[type="email"],
#footer textarea {
	display: block;
	width: 100%;
	height: auto;
	padding: 0.7rem 0;
	font: inherit;
	color: #fff;
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 0;
	outline: 0;
	box-shadow: none;
	transition: border-color 0.2s ease;
}

#footer textarea {
	min-height: 7rem;
	resize: vertical;
}

#footer input[type="text"]:focus,
#footer input[type="email"]:focus,
#footer textarea:focus {
	border-bottom-color: var(--accent);
	background: transparent;
	color: #fff;
}

#footer ul.actions {
	margin: 2rem 0 0;
	padding: 0;
}

#footer ul.actions li {
	display: block;
	padding: 0;
}

#footer input[type="submit"] {
	display: block;
	width: 100%;
	height: auto;
	padding: 1.05rem 1.5rem;
	font-family: var(--body);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--on-accent) !important;
	background: linear-gradient(135deg, var(--accent), var(--accent-strong));
	border: 0;
	border-radius: 0;
	box-shadow: 0 16px 30px rgba(36, 85, 103, 0.2);
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

#footer input[type="submit"]:hover {
	background: #fff;
}

#footer ul.contact {
	list-style: none;
}

#footer ul.contact li {
	position: relative;
	min-height: 2.5rem;
	margin: 0 0 1.25rem !important;
	padding: 0.2rem 0 0 3.5rem;
	line-height: 1.6;
	color: var(--text);
	overflow-wrap: anywhere;
}

#footer ul.contact li:last-child {
	margin-bottom: 0 !important;
}

#footer ul.contact li:before {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	font-family: FontAwesome;
	font-size: 1rem;
	line-height: 1;
	color: var(--accent);
	border: 1px solid var(--line);
	border-radius: 0;
	transition: background 0.2s ease, color 0.2s ease;
}

#footer ul.contact li:hover:before {
	background: var(--accent);
	border-color: var(--accent);
	color: #0a0a0a;
}

#footer ul.contact li a {
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#footer ul.contact li a:hover {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

#footer ul.copyright {
	grid-column: 1 / -1;
	margin: 2rem 0 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--line);
	list-style: none;
}

#footer ul.copyright li {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 0.85rem;
	color: var(--muted);
}

@media screen and (max-width: 900px) {

	#footer .inner {
		grid-template-columns: 1fr;
	}

}

/* ------------------------------------------------------------------ */
/* Team pop-ups (Bootstrap modals on the home page)                    */
/* ------------------------------------------------------------------ */

.modal-content {
	background: var(--panel);
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	border-radius: 0;
	color: var(--text);
}

.modal-body {
	padding: 1.75rem;
	background: var(--panel);
	color: var(--text);
	font-family: var(--body);
	font-size: 0.95rem;
	line-height: 1.75;
	text-align: left;
}

.modal-body img {
	padding: 0;
	margin: 0 auto;
	max-width: 100%;
	height: 250px;
	width: auto;
	border: 2px solid var(--accent);
}

h4.modal-title {
	padding: 1rem 0;
	font-size: 1.1rem;
	text-align: center;
	color: #fff;
}

.modal-dialog {
	margin: 8vh auto 0;
}

/* ------------------------------------------------------------------ */
/* Motion preferences                                                  */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	*, *:before, *:after {
		animation: none !important;
		transition: none !important;
	}

}
