/* CVW Events — theme styles */

:root {
	--cvw-navy: #003a4f;
	--cvw-text: #012330;
	--cvw-cyan: #00aeef;
	--cvw-white: #ffffff;
	--cvw-light-blue: #f5fcff;
	/* Figma 388:816 — cyan stop past 100% softens the headline gradient. */
	--cvw-text-gradient: linear-gradient(94deg, #ffffff 0.7%, #00aeef 199%);
	/* Figma 387:354 — cyan falls off by ~31% so the right side stays darker. */
	--cvw-dark-gradient: radial-gradient(
		ellipse 1125px 886px at 100% 0%,
		#00aeef 0%,
		#0091c7 8%,
		#00749f 16%,
		#005777 23%,
		#003a4f 31%,
		#01232f 69%,
		#011015 100%
	);
	--cvw-body: rgba(1, 35, 48, 0.8);
	--cvw-body-on-dark: rgba(255, 255, 255, 0.8);
	--cvw-black: #000000;
	--cvw-ink: #011015;
	--cvw-text-muted: rgba(255, 255, 255, 0.5);
	--cvw-content-max: 1210px;
	--cvw-gutter: 115px;
	--cvw-font-display: "bebas-neue", sans-serif;
	--cvw-font-body: "lato", sans-serif;
	--cvw-font-script: "lamar-pen", cursive;
}

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

html {
	font-size: 16px;
}

body {
	margin: 0;
	font-family: var(--cvw-font-body);
	font-size: 18px;
	line-height: 1.3;
	color: var(--cvw-text);
	background: var(--cvw-white);
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
	background-color: transparent;
}

a:hover,
a:focus {
	text-decoration: none;
	outline: 0;
	opacity: 0.85;
}

a.fitem-btn:hover,
a.fitem-btn:focus,
a.btn-get-in-touch:hover,
a.btn-get-in-touch:focus,
.primary-menu a:hover,
.primary-menu a:focus {
	opacity: 1;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;
	vertical-align: middle;
}

ul,
ol {
	margin-top: 0;
}

p {
	margin: 0 0 1.1em;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--cvw-font-display);
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	color: inherit;
	margin-top: 0;
	margin-bottom: 0.35em;
}

h1, .h1 { font-size: 75px; }
h2, .h2 { font-size: 48px; }
h3, .h3 { font-size: 36px; }
h4, .h4 { font-size: 28px; }
h5, .h5 { font-size: 22px; }
h6, .h6 { font-size: 18px; }

.script {
	font-family: var(--cvw-font-script);
	font-size: 32px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	text-transform: none;
}

.site {
	overflow-x: hidden;
}

.site-content {
	min-height: 40vh;
}

/* -------------------------------------------------------------------------- */
/* Bootstrap overrides — keep the grid, drop the chrome                       */
/* -------------------------------------------------------------------------- */

.container,
.container-fluid {
	width: 100% !important;
	max-width: 1440px;
	margin-right: auto;
	margin-left: auto;
	padding-left: var(--cvw-gutter) !important;
	padding-right: var(--cvw-gutter) !important;
}

.row {
	margin-left: -20px;
	margin-right: -20px;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1,
.col-xs-2, .col-sm-2, .col-md-2, .col-lg-2,
.col-xs-3, .col-sm-3, .col-md-3, .col-lg-3,
.col-xs-4, .col-sm-4, .col-md-4, .col-lg-4,
.col-xs-5, .col-sm-5, .col-md-5, .col-lg-5,
.col-xs-6, .col-sm-6, .col-md-6, .col-lg-6,
.col-xs-7, .col-sm-7, .col-md-7, .col-lg-7,
.col-xs-8, .col-sm-8, .col-md-8, .col-lg-8,
.col-xs-9, .col-sm-9, .col-md-9, .col-lg-9,
.col-xs-10, .col-sm-10, .col-md-10, .col-lg-10,
.col-xs-11, .col-sm-11, .col-md-11, .col-lg-11,
.col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
	padding-left: 20px;
	padding-right: 20px;
}

/* Flex rows used in fitems should not fight Bootstrap floats */
.fitem .row.clearfix:before,
.fitem .row.clearfix:after,
.fitem-pageheader .row.clearfix:before,
.fitem-pageheader .row.clearfix:after,
.fitem-homebanner .row.clearfix:before,
.fitem-homebanner .row.clearfix:after {
	display: none;
}

.list-inline {
	margin-left: 0;
	padding-left: 0;
}

.list-inline > li {
	padding-left: 0;
	padding-right: 0;
}

blockquote {
	padding: 0;
	margin: 0;
	font-size: inherit;
	border: 0;
}

blockquote footer,
blockquote small,
blockquote .small {
	display: block;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

blockquote footer:before,
blockquote small:before,
blockquote .small:before {
	content: none;
}

hr {
	margin-top: 24px;
	margin-bottom: 24px;
	border: 0;
	border-top: 1px solid rgba(0, 58, 79, 0.15);
}

.img-thumbnail,
.thumbnail {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.btn,
.btn:hover,
.btn:focus,
.btn:active,
.btn.active {
	border-radius: 0;
	box-shadow: none;
	text-shadow: none;
	outline: 0;
}

.nav > li > a:hover,
.nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
	background-color: transparent;
}

.navbar,
.navbar-default {
	background: transparent;
	border: 0;
	margin: 0;
	min-height: 0;
	border-radius: 0;
}

.navbar-collapse {
	padding-left: 0;
	padding-right: 0;
	border: 0;
	box-shadow: none;
}

.caret {
	border-top-color: currentColor;
}

.label,
.badge {
	border-radius: 0;
}

.well,
.panel,
.jumbotron,
.page-header {
	border-radius: 0;
	box-shadow: none;
}

@media (max-width: 1199px) {
	:root {
		--cvw-gutter: 48px;
	}
}

@media (max-width: 575px) {
	:root {
		--cvw-gutter: 24px;
	}

	h1, .h1 { font-size: 48px; }
	h2, .h2 { font-size: 36px; }
	h3, .h3 { font-size: 28px; }
	h4, .h4 { font-size: 22px; }

	body {
		font-size: 16px;
	}

	.row {
		margin-left: -12px;
		margin-right: -12px;
	}

	.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1,
	.col-xs-2, .col-sm-2, .col-md-2, .col-lg-2,
	.col-xs-3, .col-sm-3, .col-md-3, .col-lg-3,
	.col-xs-4, .col-sm-4, .col-md-4, .col-lg-4,
	.col-xs-5, .col-sm-5, .col-md-5, .col-lg-5,
	.col-xs-6, .col-sm-6, .col-md-6, .col-lg-6,
	.col-xs-7, .col-sm-7, .col-md-7, .col-lg-7,
	.col-xs-8, .col-sm-8, .col-md-8, .col-lg-8,
	.col-xs-9, .col-sm-9, .col-md-9, .col-lg-9,
	.col-xs-10, .col-sm-10, .col-md-10, .col-lg-10,
	.col-xs-11, .col-sm-11, .col-md-11, .col-lg-11,
	.col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
		padding-left: 12px;
		padding-right: 12px;
	}
}

/* -------------------------------------------------------------------------- */
/* Header                                                                     */
/* -------------------------------------------------------------------------- */

.site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: transparent;
	color: var(--cvw-white);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.site-header__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	width: 100%;
	max-width: none;
	height: 118px;
	min-height: 118px;
	margin: 0;
	/* Figma: logo top = 30px, menu top = 38px */
	padding: 30px var(--cvw-gutter) 0;
	box-sizing: border-box;
}

.site-branding {
	flex-shrink: 0;
	line-height: 0;
	margin: 0;
	padding: 0;
}

.site-logo {
	display: block;
	line-height: 0;
}

.site-logo img {
	display: block;
	width: 110px;
	height: 57px;
	object-fit: contain;
	object-position: left top;
}

.nav-toggle {
	display: none;
	background: transparent;
	border: 0;
	padding: 8px;
	margin-left: auto;
	cursor: pointer;
}

.nav-toggle__bar {
	display: block;
	width: 24px;
	height: 2px;
	margin: 5px 0;
	background: var(--cvw-white);
}

.main-navigation {
	display: flex;
	align-items: flex-start;
	flex-shrink: 0;
	margin: 8px 0 0; /* 30 + 8 = 38 to match Figma menu top */
	padding: 0;
}

.main-navigation .navbar-collapse {
	display: flex !important;
	align-items: center;
	gap: 37px;
	height: auto !important;
	margin: 0;
	padding: 0 !important;
	border: 0;
	box-shadow: none;
	overflow: visible !important;
}

.main-navigation .navbar-collapse.collapse {
	display: flex !important;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: 37px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu > li {
	position: relative;
	margin: 0;
	padding: 0;
	float: none;
}

/* Invisible hover bridge so the dropdown doesn't close in the gap */
.primary-menu > li.dropdown::after,
.primary-menu > li.menu-item-has-children::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 24px;
	z-index: 1001;
}

.primary-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0 !important;
	font-family: var(--cvw-font-body);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--cvw-white);
	white-space: nowrap;
	background: transparent !important;
}

.primary-menu > li > a:hover,
.primary-menu > li > a:focus,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a {
	opacity: 1;
	color: var(--cvw-cyan);
	background: transparent !important;
}

.primary-menu .caret {
	display: inline-block;
	width: 0;
	height: 0;
	margin: 0 0 0 2px;
	border-left: 3.5px solid transparent;
	border-right: 3.5px solid transparent;
	border-top: 5px solid var(--cvw-white);
	border-bottom: 0;
	vertical-align: middle;
}

.primary-menu .dropdown-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	transform: translateX(-50%);
	min-width: 220px;
	margin: 0;
	padding: 12px 0;
	list-style: none;
	background: var(--cvw-navy);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 0;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
	display: none !important;
	float: none;
	z-index: 1002;
}

.primary-menu > li.dropdown:hover > .dropdown-menu,
.primary-menu > li.dropdown.open > .dropdown-menu,
.primary-menu > li.dropdown:focus-within > .dropdown-menu,
.primary-menu > li.menu-item-has-children:hover > .dropdown-menu,
.primary-menu > li.menu-item-has-children.open > .dropdown-menu,
.primary-menu > li.menu-item-has-children:focus-within > .dropdown-menu {
	display: block !important;
}

.primary-menu .dropdown-menu a {
	display: block;
	padding: 10px 18px !important;
	font-size: 16px;
	color: var(--cvw-white);
	white-space: nowrap;
	background: transparent !important;
}

.primary-menu .dropdown-menu a:hover,
.primary-menu .dropdown-menu a:focus {
	color: var(--cvw-cyan);
	background: transparent !important;
}

.btn-get-in-touch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 127px;
	height: 42px;
	min-height: 42px;
	margin: 0;
	padding: 7px 15px 6px;
	background: var(--cvw-white);
	color: var(--cvw-black) !important;
	font-family: var(--cvw-font-display);
	font-size: 24px;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	opacity: 0.9;
	transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.btn-get-in-touch:hover,
.btn-get-in-touch:focus {
	background: var(--cvw-cyan);
	color: var(--cvw-white) !important;
	opacity: 1;
}

/* Hide Home from the visible primary nav — logo covers that. */
.primary-menu > li.menu-item-home {
	display: none;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */

.site-footer {
	background: #012330;
	color: var(--cvw-white);
	padding: 30px var(--cvw-gutter) 28px;
}

.site-footer__inner {
	max-width: 1440px;
	margin: 0 auto;
}

.site-footer__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
}

.site-footer__brand {
	display: flex;
	align-items: flex-start;
	gap: 48px;
}

.site-footer__logo {
	display: block;
	line-height: 0;
	flex-shrink: 0;
}

.site-footer__logo img {
	display: block;
	width: 110px;
	height: auto;
}

.site-footer__address {
	font-family: var(--cvw-font-body);
	font-size: 14px;
	line-height: 1.3;
	color: var(--cvw-white);
	padding-top: 6px;
}

.site-footer__address p {
	margin: 0;
}

.site-footer__menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: right;
}

.site-footer__menu a {
	display: block;
	font-size: 14px;
	line-height: 1.3;
	color: var(--cvw-white);
	margin-bottom: 14px;
}

.site-footer__menu li:last-child a {
	margin-bottom: 0;
}

.site-footer__social {
	display: flex;
	justify-content: flex-end;
	margin-top: 36px;
}

.site-footer__social ul {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
}

.site-footer__social img {
	display: block;
	width: auto;
	height: auto;
	max-width: 30px;
	max-height: 26px;
	transition: opacity 0.2s ease;
}

.site-footer__social a:hover img,
.site-footer__social a:focus img {
	opacity: 0.7;
}

.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 36px;
}

.site-footer__copyright {
	margin: 0;
	font-size: 14px;
	line-height: 1.3;
	color: var(--cvw-text-muted);
}

.footer-legal-menu {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-legal-menu a {
	font-size: 14px;
	line-height: 1.3;
	color: var(--cvw-text-muted);
}

.footer-legal-menu a:hover,
.footer-legal-menu a:focus {
	color: var(--cvw-white);
	opacity: 1;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
	:root {
		--cvw-gutter: 48px;
	}

	.primary-menu,
	.main-navigation .navbar-collapse {
		gap: 24px;
	}
}

@media (max-width: 991px) {
	.site-header__inner {
		height: 84px;
		min-height: 84px;
		padding: 16px var(--cvw-gutter) 0;
		align-items: center;
	}

	.main-navigation {
		margin-top: 0;
	}

	.site-logo img {
		width: 90px;
		height: auto;
	}

	.primary-menu > li.dropdown::after,
	.primary-menu > li.menu-item-has-children::after {
		display: none;
	}

	.nav-toggle {
		display: block;
		position: relative;
		z-index: 1001;
		margin-top: 0;
	}

	.main-navigation {
		position: static;
	}

	.main-navigation .navbar-collapse,
	.main-navigation .navbar-collapse.collapse {
		display: none !important;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 16px var(--cvw-gutter) 28px !important;
		background: var(--cvw-navy);
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.main-navigation .navbar-collapse.in,
	.main-navigation .navbar-collapse.collapsing {
		display: flex !important;
	}

	.primary-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		width: 100%;
	}

	.primary-menu > li {
		width: 100%;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.primary-menu > li > a {
		display: flex;
		width: 100%;
		padding: 14px 0 !important;
	}

	.primary-menu .dropdown-menu {
		position: static;
		transform: none;
		display: none;
		min-width: 0;
		width: 100%;
		padding: 0 0 12px;
		border: 0;
		box-shadow: none;
		background: transparent;
	}

	.primary-menu > li.dropdown.open > .dropdown-menu {
		display: block;
	}

	.primary-menu .dropdown-menu a {
		padding: 8px 0 8px 12px !important;
		font-size: 15px;
		opacity: 0.85;
	}

	.btn-get-in-touch {
		width: auto;
		margin-top: 20px;
		align-self: flex-start;
	}

	.site-footer {
		padding: 36px var(--cvw-gutter);
	}

	.site-footer__top {
		flex-direction: column;
	}

	.site-footer__brand {
		flex-direction: column;
		gap: 20px;
	}

	.site-footer__menu ul {
		text-align: left;
	}

	.site-footer__social {
		justify-content: flex-start;
		margin-top: 28px;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 28px;
	}
}

@media (max-width: 575px) {
	:root {
		--cvw-gutter: 24px;
	}

	.site-footer__social ul {
		gap: 18px;
		flex-wrap: wrap;
	}
}

/* -------------------------------------------------------------------------- */
/* Flexible content — .fitem                                                  */
/* -------------------------------------------------------------------------- */

/* Section breadcrumbs — Event Types / Event Services / Venues children */
.cvw-breadcrumbs {
	padding: 22px 0;
	background: var(--cvw-white);
	border-bottom: 1px solid rgba(1, 35, 48, 0.08);
}

.cvw-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--cvw-font-body);
	font-size: 14px;
	line-height: 1.4;
	color: var(--cvw-body);
}

.cvw-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
}

.cvw-breadcrumbs__item:not(:last-child)::after {
	content: "/";
	margin: 0 10px;
	color: rgba(1, 35, 48, 0.35);
}

.cvw-breadcrumbs__item a {
	color: var(--cvw-text);
	text-decoration: none;
}

.cvw-breadcrumbs__item a:hover,
.cvw-breadcrumbs__item a:focus {
	color: var(--cvw-cyan);
	opacity: 1;
}

.cvw-breadcrumbs__item [aria-current="page"] {
	color: var(--cvw-body);
}

.fitem {
	position: relative;
	padding: 80px 0;
}

.fitem-deltop {
	padding-top: 0 !important;
}

.fitem-delbottom {
	padding-bottom: 0 !important;
}

.fitem-White {
	background: var(--cvw-white);
	color: var(--cvw-text);
}

.fitem-Light {
	background: var(--cvw-light-blue);
	color: var(--cvw-text);
}

.fitem-Dark {
	position: relative;
	overflow: hidden;
	background: var(--cvw-navy);
	color: var(--cvw-white);
}

/* Smoke texture on every dark surface (solid Dark + Gradient). */
.fitem-Dark::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../images/bg-smoke.jpg") center / cover no-repeat;
	opacity: 0.12;
	pointer-events: none;
	z-index: 0;
}

.fitem-Dark > .container {
	position: relative;
	z-index: 1;
}

/* Gradient blocks also carry .fitem-Dark, so they inherit smoke and only
   override the background fill here. */
.fitem-Gradient {
	background-color: #010f15;
	background-image: var(--cvw-dark-gradient);
	color: var(--cvw-white);
}

.fitem h2 {
	margin: 0 0 24px;
	font-family: var(--cvw-font-display);
	font-size: 48px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.fitem-Dark h2 {
	color: var(--cvw-white);
}

.fitem p {
	margin: 0 0 1.1em;
	font-family: var(--cvw-font-body);
	font-size: 18px;
	line-height: 1.45;
	color: var(--cvw-body);
}

.fitem-Dark p,
.fitem-Gradient p {
	color: var(--cvw-body-on-dark);
}

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

.fitem-preheader {
	margin: 0 0 14px;
	font-family: var(--cvw-font-display);
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
}

.fitem-7 .fitem-preheader + h2 {
	margin-top: 0;
}

.fitem-buttons {
	margin-top: 28px;
}

.fitem-buttons .list-inline {
	margin: 0;
}

.fitem-buttons .list-inline > li {
	padding: 0 12px 12px 0;
	vertical-align: middle;
}

.fitem-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 47px;
	padding: 10px 20px;
	background: var(--cvw-navy);
	color: var(--cvw-white) !important;
	font-family: var(--cvw-font-body);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: 0;
	opacity: 1;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fitem-btn__arrow {
	display: block;
	width: 9px;
	height: 8px;
	flex-shrink: 0;
}

.fitem-btn:hover,
.fitem-btn:focus,
.fitem-Light .fitem-btn:hover,
.fitem-Light .fitem-btn:focus,
.fitem-White .fitem-btn:hover,
.fitem-White .fitem-btn:focus {
	background: var(--cvw-cyan) !important;
	color: var(--cvw-white) !important;
	opacity: 1;
}

.fitem-Light .fitem-btn,
.fitem-White .fitem-btn {
	background: var(--cvw-navy);
}

/* Outline buttons — transparent fill with a 1px white → cyan gradient border.
   Used by the home banner and every flexible block on a dark background. */
.fitem-btn--outline,
.fitem-Dark .fitem-btn {
	background: transparent !important;
	border: 1px solid transparent;
	border-image-source: var(--cvw-text-gradient);
	border-image-slice: 1;
	color: var(--cvw-white) !important;
}

.fitem-btn--outline .fitem-btn__arrow,
.fitem-Dark .fitem-btn .fitem-btn__arrow {
	filter: none;
}

.fitem-btn--outline:hover,
.fitem-btn--outline:focus,
.fitem-Dark .fitem-btn:hover,
.fitem-Dark .fitem-btn:focus {
	background: var(--cvw-cyan) !important;
	border-image: none;
	border-color: var(--cvw-cyan) !important;
	color: var(--cvw-white) !important;
}

/* -------------------------------------------------------------------------- */
/* Two-column fitems — Figma spacing (≈544 / 200 gap / 466 on 1210)           */
/* -------------------------------------------------------------------------- */

.fitem-1 > .container > .row,
.fitem-4 > .container > .row,
.fitem-7 > .container > .row:first-child {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	margin-left: 0;
	margin-right: 0;
}

.fitem-1 > .container > .row > [class*="col-"],
.fitem-4 > .container > .row > [class*="col-"],
.fitem-7 > .container > .row:first-child > [class*="col-"] {
	float: none;
	margin-left: 0 !important;
	padding-left: 0;
	padding-right: 0;
	width: auto;
}

/* #1 — Simple Content: 544 | 200 | 466 */
.fitem-1 > .container > .row > [class*="col-"]:first-child {
	flex: 0 1 44.958677%;
	width: 44.958677%;
	max-width: 544px;
}

.fitem-1 > .container > .row > [class*="col-"]:last-child {
	flex: 0 1 38.512397%;
	width: 38.512397%;
	max-width: 466px;
}

.fitem-1.fitem-Right > .container > .row {
	flex-direction: row-reverse;
}

/* Figma 388:775 / 388:776 — cyan (light) or white (dark) rule under the H2 */
.fitem-1 h2::after {
	content: "";
	display: block;
	width: 68px;
	height: 5px;
	margin-top: 24px;
	background: var(--cvw-cyan);
}

.fitem-1.fitem-Dark h2::after,
.fitem-1.fitem-Gradient h2::after {
	background: var(--cvw-white);
}

/* #2 — Image & Text L/R (Figma 388:811 / 388:812)
   Half-viewport bleed image; text sits in the opposite half. */
.fitem-2 {
	position: relative;
	overflow: hidden;
	padding: 0;
}

.fitem-2-media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 50%;
	overflow: hidden;
	background: #d9d9d9;
}

.fitem-2.fitem-img-Left .fitem-2-media {
	right: auto;
	left: 0;
}

.fitem-2-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.fitem-2 > .container {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	min-height: 649px;
	padding-top: 80px;
	padding-bottom: 80px;
	box-sizing: border-box;
}

.fitem-2.fitem-deltop > .container {
	padding-top: 0;
}

.fitem-2.fitem-delbottom > .container {
	padding-bottom: 0;
}

.fitem-2.fitem-img-Left > .container {
	justify-content: flex-end;
}

.fitem-2-text {
	width: 100%;
	max-width: min(544px, calc(50vw - var(--cvw-gutter) - 24px));
}

/* Cyan (light) / white (dark) rule above the H2 */
.fitem-2 h2::before {
	content: "";
	display: block;
	width: 68px;
	height: 5px;
	margin: 0 0 24px;
	background: var(--cvw-cyan);
}

.fitem-2.fitem-Dark h2::before,
.fitem-2.fitem-Gradient h2::before {
	background: var(--cvw-white);
}

/* #4 — Text & List / #7 — Gallery intro: 546 | 184 | 466 */
.fitem-4 > .container > .row > [class*="col-"]:first-child,
.fitem-7 > .container > .row:first-child > [class*="col-"]:first-child {
	flex: 0 1 45.123967%;
	width: 45.123967%;
	max-width: 546px;
}

.fitem-4 > .container > .row > [class*="col-"]:last-child,
.fitem-7 > .container > .row:first-child > [class*="col-"]:last-child {
	flex: 0 1 38.429752%;
	width: 38.429752%;
	max-width: 466px;
}

/* #3 — Image Carousel */
.fitem-3 {
	padding: 0;
}

.fitem-3-carousel {
	outline: none;
}

.fitem-3-carousel:not(.flickity-enabled) {
	display: flex;
	overflow: hidden;
}

.fitem-3-slide {
	width: 1210px;
	max-width: calc(100vw - 230px);
	height: 585px;
	margin-right: 0;
	position: relative;
	cursor: pointer;
}

.fitem-3-slide.is-selected {
	cursor: default;
}

.fitem-3-slide__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* 1px gradient separators between center slide and peeks (Figma 126:118) */
.fitem-3-slide__media::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.22) 100%) left top / 1px 100% no-repeat,
		linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.22) 100%) right top / 1px 100% no-repeat;
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
	z-index: 2;
}

.fitem-3-slide.is-selected .fitem-3-slide__media::before {
	opacity: 1;
}

.fitem-3-slide__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	opacity: 1;
	transition: opacity 0.35s ease;
	pointer-events: none;
	z-index: 1;
}

.fitem-3-slide.is-selected .fitem-3-slide__media::after {
	opacity: 0;
}

.fitem-3 .flickity-viewport {
	overflow: hidden;
	height: 585px !important;
}

.fitem-3 .flickity-page-dots {
	bottom: 34px;
	z-index: 3;
}

.fitem-3 .flickity-page-dots .dot {
	width: 18px;
	height: 18px;
	margin: 0 7.5px;
	background: #fff;
	opacity: 0.5;
	border: 0;
	border-radius: 50%;
}

.fitem-3 .flickity-page-dots .dot.is-selected {
	/* Figma 126:120 — white → #00AEEF */
	background: linear-gradient(64deg, #ffffff 0%, #00aeef 100%);
	opacity: 1;
}

.fitem-3 .flickity-prev-next-button {
	width: 67px;
	height: 67px;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	border: 0;
	z-index: 4;
}

.fitem-3 .flickity-prev-next-button:focus {
	outline: none;
	box-shadow: none;
}

.fitem-3 .flickity-prev-next-button.previous {
	left: 22px;
}

.fitem-3 .flickity-prev-next-button.next {
	right: 22px;
}

.fitem-3 .flickity-prev-next-button .flickity-button-icon {
	display: none;
}

.fitem-3 .flickity-prev-next-button::before {
	content: "";
	position: absolute;
	inset: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 67px 67px;
	opacity: 0.95;
	transition: opacity 0.2s ease;
}

.fitem-3 .flickity-prev-next-button.previous::before {
	background-image: url("../images/carousel-arrow-prev.png");
	background-image: image-set(
		url("../images/carousel-arrow-prev.png") 1x,
		url("../images/carousel-arrow-prev@2x.png") 2x
	);
}

.fitem-3 .flickity-prev-next-button.next::before {
	background-image: url("../images/carousel-arrow.png");
	background-image: image-set(
		url("../images/carousel-arrow.png") 1x,
		url("../images/carousel-arrow@2x.png") 2x
	);
}

.fitem-3 .flickity-button:hover {
	background: transparent;
}

.fitem-3 .flickity-prev-next-button:hover::before {
	opacity: 1;
}

.fitem-3 .flickity-button:disabled {
	opacity: 0.35;
}

/* #4 — Text & Bulleted List */
/* Figma 388:872 / 388:737 — cyan (light) or white (dark) rule above the H2 */
.fitem-4 h2::before {
	content: "";
	display: block;
	width: 68px;
	height: 5px;
	margin: 0 0 24px;
	background: var(--cvw-cyan);
}

.fitem-4.fitem-Dark h2::before,
.fitem-4.fitem-Gradient h2::before {
	background: var(--cvw-white);
}

.fitem-4-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fitem-4-list > li {
	display: flex;
	gap: 18px;
	margin-bottom: 36px;
}

.fitem-4-list > li:last-child {
	margin-bottom: 0;
}

.fitem-4-icon {
	flex: 0 0 41px;
	width: 41px;
	height: 41px;
	position: relative;
	overflow: hidden;
	background: none;
	border-radius: 0;
	line-height: 0;
}

.fitem-4-icon::after {
	display: none;
}

.fitem-4-icon img {
	display: block;
	width: 41px;
	height: 41px;
	object-fit: contain;
	object-position: left top;
}

.fitem-4-icon__dark {
	display: none;
}

.fitem-Dark .fitem-4-icon__light {
	display: none;
}

.fitem-Dark .fitem-4-icon__dark {
	display: block;
}

.fitem-4-item h4 {
	margin: 0 0 8px;
	font-family: var(--cvw-font-display);
	font-size: 28px;
	text-transform: uppercase;
	line-height: 1;
	color: var(--cvw-text);
}

.fitem-4-item p {
	color: var(--cvw-body);
}

.fitem-Dark .fitem-4-item p {
	color: var(--cvw-body-on-dark);
}

/* #5 — Stat Bar */
.fitem-5 {
	overflow: hidden;
}

.fitem-5-stats {
	display: flex;
	flex-wrap: wrap;
	margin-left: -15px;
	margin-right: -15px;
}

.fitem-5 h2 {
	margin-bottom: 40px;
	text-align: center;
}

.fitem-5-stat {
	flex: 1 1 20%;
	min-width: 140px;
	padding: 0 15px;
	text-align: center;
}

.fitem-5-number {
	display: inline-block;
	font-family: var(--cvw-font-display);
	font-size: 75px;
	line-height: 1;
	margin-bottom: 6px;
	color: var(--cvw-text);
	-webkit-text-fill-color: var(--cvw-text);
	background: none;
}

.fitem-5-caption {
	font-size: 18px;
	line-height: 1.3;
	max-width: 167px;
	margin: 0 auto;
}

/* #6 — Testimonials (Figma 241:348 — always light blue) */
.fitem-6 {
	overflow: hidden;
	background: var(--cvw-light-blue);
	color: var(--cvw-text);
}

/* Quote column is a fixed 585px, centered — keeps clear of the collage */
.fitem-6 > .container > .row > [class*="col-"],
.fitem-6-slide > .container > .row > [class*="col-"] {
	float: none;
	width: 100%;
	max-width: 585px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
}

.fitem-6-quote {
	margin: 0 0 30px;
	padding: 0;
	border: 0;
	font-family: var(--cvw-font-body);
	font-size: 18px;
	line-height: 1.3;
	font-style: normal;
	text-align: center;
	color: var(--cvw-body);
}

.fitem-6-attribution {
	text-align: center;
}

.fitem-6-name {
	font-family: var(--cvw-font-display);
	font-size: 28px;
	line-height: 1;
	text-transform: uppercase;
	margin-bottom: 1px;
}

.fitem-6-title {
	font-family: var(--cvw-font-display);
	font-size: 22px;
	line-height: 1;
	text-transform: uppercase;
}

.fitem-6-collage {
	min-height: 448px;
}

/* Collage is positioned against a centered 1440 frame so px offsets match Figma */
.fitem-6-images {
	position: absolute;
	top: 0;
	left: 50%;
	width: 1440px;
	height: 100%;
	transform: translateX(-50%);
	pointer-events: none;
	z-index: 0;
}

.fitem-6-collage .container {
	position: relative;
	z-index: 1;
}

.fitem-6-img {
	position: absolute;
	display: block;
	background-size: cover;
	background-position: center;
	box-shadow: 5px 4px 14px rgba(0, 0, 0, 0.1), 18px 18px 25px rgba(0, 0, 0, 0.09);
}

.fitem-6-img-1 { left: -57px; top: 158px; width: 254px; height: 143px; opacity: 0.5; }
.fitem-6-img-2 { right: -49px; top: 44px; width: 254px; height: 143px; opacity: 0.5; }
.fitem-6-img-3 { right: 50px; top: 172px; width: 311px; height: 175px; }
.fitem-6-img-4 { left: 58px; top: 30px; width: 295px; height: 166px; }
.fitem-6-img-5 { left: 108px; top: 274px; width: 254px; height: 143px; }

/* #6 v2 — multiple testimonials */
.fitem-6-carousel:not(.flickity-enabled) .fitem-6-slide:not(:first-child) {
	display: none;
}

.fitem-6-slide {
	width: 100%;
}

.fitem-6-slider .fitem-6-carousel {
	outline: none;
	margin-bottom: 8px;
}

.fitem-6-slider .fitem-6-images {
	opacity: 0;
	transition: opacity 0.45s ease;
}

.fitem-6-slider .fitem-6-images.is-active {
	opacity: 1;
}

/* Height follows the tallest quote, so the dots do not jump between slides. */
.fitem-6-slider .flickity-page-dots {
	bottom: -36px;
	z-index: 2;
}

.fitem-6-slider .flickity-page-dots .dot {
	width: 12px;
	height: 12px;
	margin: 0 6px;
	background: var(--cvw-navy);
	opacity: 0.25;
	border: 0;
}

.fitem-6-slider .flickity-page-dots .dot.is-selected {
	background: linear-gradient(64deg, var(--cvw-navy) 0%, var(--cvw-cyan) 100%);
	opacity: 1;
}

/* #7 — Project Gallery */
.fitem-7 {
	overflow: hidden;
}

.fitem-7-carousel {
	margin-top: 80px;
	outline: none;
}

.fitem-7-carousel:not(.flickity-enabled) {
	display: flex;
	overflow: hidden;
}

.fitem-7-slide {
	width: 377px;
	margin-right: 39px;
	transition: transform 0.35s ease, opacity 0.35s ease;
}

/* Off-viewport slides shrink toward the gallery and fade (Figma 210:480) */
.fitem-7-carousel.flickity-enabled .fitem-7-slide {
	transform: scale(0.6605);
	opacity: 0.5;
}

.fitem-7-slide.is-before {
	transform-origin: right center;
}

.fitem-7-slide.is-after {
	transform-origin: left center;
}

.fitem-7-carousel.flickity-enabled .fitem-7-slide.is-inview {
	transform: scale(1);
	opacity: 1;
}

.fitem-7-slide img {
	display: block;
	width: 100%;
	height: 251px;
	object-fit: cover;
}

/* Peeked slides spill past the container and clip at the section edge */
.fitem-7 .flickity-viewport {
	overflow: visible;
}

.fitem-7-progress {
	position: relative;
	height: 10px;
	margin-top: 80px;
	border-radius: 29px;
	background: var(--cvw-white);
	cursor: pointer;
}

.fitem-7-progress__bar {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	border-radius: 29px;
	background: var(--cvw-navy);
}

/* Dark mode — Figma 241:365 */
.fitem-7.fitem-Dark .fitem-7-progress {
	background: rgba(255, 255, 255, 0.2);
}

.fitem-7.fitem-Dark .fitem-7-progress__bar {
	background: var(--cvw-text-gradient);
}

/* #8 — CTA */
.fitem-8 .fitem-buttons {
	display: flex;
	justify-content: center;
}

/* #9 — Item List (Figma 406:303) */
.fitem-9 {
	overflow: hidden;
}

.fitem-9 h2 {
	margin: 0;
	text-align: left;
}

.fitem-9 h2::after {
	content: "";
	display: block;
	width: 68px;
	height: 5px;
	margin-top: 24px;
	background: var(--cvw-cyan);
}

.fitem-9-carousel {
	margin-top: 68px;
	outline: none;
}

.fitem-9-carousel:not(.flickity-enabled) {
	display: flex;
	overflow: hidden;
}

.fitem-9-slide {
	width: 272px;
	margin-right: 41px;
}

.fitem-9-card {
	display: block;
	color: inherit;
	text-decoration: none;
}

a.fitem-9-card:hover,
a.fitem-9-card:focus {
	opacity: 1;
	color: inherit;
}

a.fitem-9-card:hover .fitem-9-name,
a.fitem-9-card:focus .fitem-9-name {
	color: var(--cvw-cyan);
}

.fitem-9-thumb {
	width: 100%;
	height: 195px;
	overflow: hidden;
	background: #d9d9d9;
}

.fitem-9-thumb--empty {
	background: #d9d9d9;
}

.fitem-Dark .fitem-9-thumb--empty,
.fitem-Gradient .fitem-9-thumb--empty {
	background: rgba(255, 255, 255, 0.12);
}

.fitem-9-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fitem-9-name {
	margin: 30px 0 0;
	font-family: var(--cvw-font-display);
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	color: var(--cvw-text);
}

.fitem-Dark .fitem-9-name,
.fitem-Gradient .fitem-9-name {
	color: var(--cvw-white);
}

.fitem-Dark a.fitem-9-card:hover .fitem-9-name,
.fitem-Dark a.fitem-9-card:focus .fitem-9-name,
.fitem-Gradient a.fitem-9-card:hover .fitem-9-name,
.fitem-Gradient a.fitem-9-card:focus .fitem-9-name {
	color: var(--cvw-cyan);
}

.fitem-9-progress {
	position: relative;
	height: 10px;
	margin-top: 104px;
	border-radius: 29px;
	background: var(--cvw-white);
	cursor: pointer;
}

.fitem-9-progress__bar {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	border-radius: 29px;
	background: var(--cvw-navy);
}

.fitem-9.fitem-Dark .fitem-9-progress,
.fitem-9.fitem-Gradient .fitem-9-progress {
	background: rgba(255, 255, 255, 0.2);
}

.fitem-9.fitem-Dark .fitem-9-progress__bar,
.fitem-9.fitem-Gradient .fitem-9-progress__bar {
	background: var(--cvw-text-gradient);
}

.fitem-9.fitem-White .fitem-9-progress {
	background: var(--cvw-light-blue);
}

/* #10 — Basic Text */
.fitem-10 h2 {
	margin-bottom: 20px;
}

/* -------------------------------------------------------------------------- */
/* Our Team + Bio                                                             */
/* -------------------------------------------------------------------------- */

.fitem-team {
	padding-top: 80px;
	padding-bottom: 80px;
}

.bio-section + .bio-section {
	margin-top: 80px;
}

.fitem .bio-section__title {
	margin: 0 0 35px;
	font-family: var(--cvw-font-display);
	font-size: 48px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	color: var(--cvw-text);
}

.bio-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 40px;
	row-gap: 65px;
}

.bio-card {
	margin: 0;
}

.bio-card__link {
	display: flex;
	flex-direction: column;
	gap: 30px;
	color: var(--cvw-text) !important;
	text-decoration: none !important;
}

.bio-card__media {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: rgba(0, 58, 79, 0.08);
}

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

.bio-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.bio-card__name {
	margin: 0;
	font-family: var(--cvw-font-display);
	font-size: 36px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	color: var(--cvw-text);
}

.fitem .bio-card__title {
	margin: 2px 0 0;
	font-family: var(--cvw-font-display);
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	color: var(--cvw-text);
}

.bio-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 21px;
	font-family: var(--cvw-font-body);
	font-size: 18px;
	line-height: 1.3;
	color: var(--cvw-text);
	transition: color 0.2s ease;
}

.bio-card__arrow {
	display: block;
	width: 11px;
	height: 8px;
	transition: transform 0.2s ease;
}

.bio-card__link:hover .bio-card__cta,
.bio-card__link:focus .bio-card__cta {
	color: var(--cvw-cyan);
}

.bio-card__link:hover .bio-card__arrow,
.bio-card__link:focus .bio-card__arrow {
	transform: translateX(3px);
	filter: invert(48%) sepia(97%) saturate(1800%) hue-rotate(166deg) brightness(97%) contrast(101%);
}

/* Single bio — Figma: 377 | 146 gap | 585 */
.fitem-bio {
	padding-top: 70px;
	padding-bottom: 80px;
}

.bio-single {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	margin-left: 0;
	margin-right: 0;
}

.bio-single > [class*="col-"] {
	float: none;
	margin-left: 0 !important;
	padding-left: 0;
	padding-right: 0;
	width: auto;
}

.bio-single__profile {
	flex: 0 1 31.157%;
	width: 31.157%;
	max-width: 377px;
}

.bio-single__content {
	flex: 0 1 48.347%;
	width: 48.347%;
	max-width: 585px;
}

.bio-single__media {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: rgba(0, 58, 79, 0.08);
	margin-bottom: 21px;
}

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

.fitem .bio-single__contact {
	margin: 0 0 21px;
	font-family: var(--cvw-font-body);
	font-size: 18px;
	line-height: 1.3;
	color: var(--cvw-text);
}

.fitem .bio-single__contact:last-child {
	margin-bottom: 0;
}

.bio-single__contact a {
	color: inherit !important;
	text-decoration: none !important;
}

.bio-single__contact a:hover,
.bio-single__contact a:focus {
	color: var(--cvw-cyan) !important;
}

.fitem .bio-single__name {
	margin: 0;
	font-family: var(--cvw-font-display);
	font-size: 75px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	color: var(--cvw-text);
}

.fitem .bio-single__title {
	margin: 2px 0 0;
	font-family: var(--cvw-font-display);
	font-size: 36px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	color: var(--cvw-text);
}

.bio-single__body {
	margin-top: 45px;
	font-size: 18px;
	line-height: 1.3;
	color: var(--cvw-body);
}

.fitem .bio-single__body p {
	margin: 0 0 1.3em;
	font-size: inherit;
	line-height: 1.3;
}

.fitem .bio-single__body p:last-child {
	margin-bottom: 0;
}

.fitem .bio-single__back {
	margin: 35px 0 0;
}

.bio-single__back a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--cvw-font-body);
	font-size: 18px;
	line-height: 1.3;
	color: var(--cvw-text) !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.bio-single__back-arrow {
	display: block;
	width: 11px;
	height: 8px;
	transition: transform 0.2s ease;
}

.bio-single__back a:hover,
.bio-single__back a:focus {
	color: var(--cvw-cyan) !important;
}

.bio-single__back a:hover .bio-single__back-arrow,
.bio-single__back a:focus .bio-single__back-arrow {
	transform: translateX(-3px);
	filter: invert(48%) sepia(97%) saturate(1800%) hue-rotate(166deg) brightness(97%) contrast(101%);
}

/* -------------------------------------------------------------------------- */
/* Page header + home banner                                                  */
/* -------------------------------------------------------------------------- */

.fitem-pageheader,
.fitem-homebanner {
	position: relative;
	overflow: hidden;
	color: var(--cvw-white);
	background: #010f15;
}

.fitem-pageheader {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	/* 330px banner; 55px under header bar (118+55); 55px under H1 */
	min-height: 330px;
	padding: 173px 0 55px;
	text-align: center;
	box-sizing: border-box;
}

.fitem-pageheader__bg,
.fitem-homebanner__bg {
	position: absolute;
	inset: 0;
	background-color: #010f15;
	/* Figma 387:354 — cyan falls off by ~31% so the right side stays darker. */
	background-image: radial-gradient(
		ellipse 1125px 886px at 100% 0%,
		#00aeef 0%,
		#0091c7 8%,
		#00749f 16%,
		#005777 23%,
		#003a4f 31%,
		#01232f 69%,
		#011015 100%
	);
	z-index: 0;
}

.fitem-pageheader__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	/* Smoke texture — page banners only (not the homepage). */
	background-image: url("../images/bg-smoke.jpg");
	background-size: cover;
	background-position: center;
	opacity: 0.12;
	mix-blend-mode: normal;
	pointer-events: none;
}

.fitem-homebanner__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--cvw-pageheader-photo, none);
	background-size: cover;
	background-position: bottom center;
	opacity: 0.5;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.fitem-pageheader .container,
.fitem-homebanner .container {
	position: relative;
	z-index: 2;
}

.fitem-pageheader__title,
.fitem-homebanner__title {
	margin: 0;
	font-family: var(--cvw-font-display);
	font-size: 75px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

/* -------------------------------------------------------------------------- */
/* Gradient text — H1s, plus any title or stat number on a dark background     */
/* -------------------------------------------------------------------------- */

/* Dark blocks: flat white. Only H1s and gradient blocks get the gradient. */
.fitem-Dark :is(h2, h3, h4, .fitem-5-number) {
	color: var(--cvw-white);
	-webkit-text-fill-color: var(--cvw-white);
	background: none;
}

.fitem-pageheader__title,
.fitem-homebanner__title,
.fitem-Gradient :is(h2, h3, h4, .fitem-5-number) {
	display: inline-block;
	max-width: 100%;
	background-color: var(--cvw-white);
	background-image: var(--cvw-text-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	-webkit-text-fill-color: transparent;
}

/* Block #4 list titles stay flat white on dark/gradient (Figma 388:737). */
.fitem-4.fitem-Dark .fitem-4-item h4,
.fitem-4.fitem-Gradient .fitem-4-item h4 {
	display: block;
	color: var(--cvw-white) !important;
	-webkit-text-fill-color: var(--cvw-white);
	background: none;
	-webkit-background-clip: border-box;
	background-clip: border-box;
}

.fitem-homebanner {
	min-height: 857px;
	padding: 254px 0 120px;
}

.fitem-homebanner__cutout {
	position: absolute;
	right: -2%;
	bottom: 0;
	top: auto;
	width: min(876px, 62vw);
	z-index: 1;
	pointer-events: none;
	line-height: 0;
}

.fitem-homebanner__cutout img {
	display: block;
	width: 100%;
	height: auto;
	transform: scaleX(-1);
	vertical-align: bottom;
}

.fitem-homebanner__fade {
	position: absolute;
	top: 0;
	right: 0;
	width: 182px;
	height: 100%;
	/* Must stay horizontal — any tilt darkens the top corner ahead of the
	   bottom, which reads as a shadow over the brightest part of the glow. */
	background: linear-gradient(90deg, rgba(1, 15, 21, 0) 6%, rgb(1, 15, 21) 90%);
	z-index: 1;
	pointer-events: none;
}

.fitem-homebanner__content {
	position: relative;
	z-index: 2;
	max-width: 712px;
}

.fitem-homebanner__title {
	max-width: 829px;
	margin-bottom: 22px;
}

.fitem-homebanner__body {
	max-width: 533px;
	margin-bottom: 90px;
}

.fitem-homebanner__body p {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
	color: var(--cvw-body-on-dark);
}

.fitem-homebanner .fitem-buttons {
	margin-top: 0;
}

.fitem-buttons--outline .list-inline > li {
	padding-right: 29px;
}

@media (max-width: 991px) {
	.fitem-pageheader {
		/* 84px site header + ~55px gap above H1; 55px below H1 */
		min-height: 240px;
		padding: 139px 0 55px;
	}

	.fitem-pageheader__title,
	.fitem-homebanner__title {
		font-size: 48px;
	}

	.fitem-homebanner {
		min-height: 0;
		padding: 140px 0 80px;
	}

	.fitem-homebanner__fade {
		display: none;
	}

	.fitem-homebanner__body {
		margin-bottom: 40px;
	}

	.fitem-buttons--outline .list-inline > li {
		display: block;
		padding-right: 0;
		margin-bottom: 12px;
	}
}

@media (max-width: 991px) {
	.fitem {
		padding: 56px 0;
	}

	.fitem.fitem-3 {
		padding: 0;
	}

	.fitem h2 {
		font-size: 36px;
	}

	.fitem-1 > .container > .row,
	.fitem-4 > .container > .row,
	.fitem-7 > .container > .row:first-child {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
	}

	/* Must also match :first-child/:last-child, or the desktop column
	   widths outrank this reset and the stacked columns stay narrow. */
	.fitem-1 > .container > .row > [class*="col-"],
	.fitem-1 > .container > .row > [class*="col-"]:first-child,
	.fitem-1 > .container > .row > [class*="col-"]:last-child,
	.fitem-4 > .container > .row > [class*="col-"],
	.fitem-4 > .container > .row > [class*="col-"]:first-child,
	.fitem-4 > .container > .row > [class*="col-"]:last-child,
	.fitem-7 > .container > .row:first-child > [class*="col-"],
	.fitem-7 > .container > .row:first-child > [class*="col-"]:first-child,
	.fitem-7 > .container > .row:first-child > [class*="col-"]:last-child {
		width: 100%;
		max-width: none;
		flex: none;
	}

	.fitem-1.fitem-Right > .container > .row {
		flex-direction: column;
	}

	/* Block #2: text first, full-width image below — no section padding under the image. */
	.fitem-2 {
		padding: 0;
	}

	.fitem-2 > .container {
		display: block;
		min-height: 0;
		padding-top: 56px;
		padding-bottom: 40px;
	}

	.fitem-2.fitem-img-Left > .container {
		justify-content: flex-start;
	}

	.fitem-2-text {
		width: 100%;
		max-width: none;
	}

	.fitem-2-media {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		width: 100%;
		height: auto;
		aspect-ratio: 700 / 649;
		margin: 0;
	}

	.fitem-2.fitem-img-Left .fitem-2-media {
		left: auto;
		right: auto;
	}

	.bio-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 24px;
		row-gap: 40px;
	}

	.bio-card__name {
		font-size: 28px;
	}

	.bio-single {
		display: block;
	}

	.bio-single__profile,
	.bio-single__content {
		width: 100%;
		max-width: none;
		flex: none;
	}

	.bio-single__content {
		margin-top: 40px;
	}

	.fitem .bio-single__name {
		font-size: 48px;
	}

	.fitem .bio-single__title {
		font-size: 28px;
	}

	.fitem-3-slide {
		width: 92vw;
		max-width: none;
		height: 360px;
	}

	.fitem-3 .flickity-viewport {
		height: 360px !important;
	}

	.fitem-3 .flickity-prev-next-button {
		width: 48px;
		height: 48px;
	}

	.fitem-3 .flickity-prev-next-button.previous {
		left: 8px;
	}

	.fitem-3 .flickity-prev-next-button.next {
		right: 8px;
	}

	.fitem-3 .flickity-prev-next-button::before {
		background-size: 48px 48px;
	}

	.fitem-5-stat {
		flex: 1 1 45%;
		margin-bottom: 28px;
	}

	.fitem-6-images {
		display: none;
	}

	.fitem-6-collage {
		min-height: 0;
	}

	.fitem-9-carousel {
		margin-top: 48px;
	}

	.fitem-9-slide {
		width: min(272px, calc(100vw - (2 * var(--cvw-gutter))));
		margin-right: 24px;
	}

	.fitem-9-thumb {
		height: auto;
		aspect-ratio: 272 / 195;
	}

	.fitem-9-progress {
		margin-top: 48px;
	}
}

@media (max-width: 575px) {
	.fitem-5-stat {
		width: 100%;
		flex-basis: 100%;
	}

	.bio-grid {
		grid-template-columns: 1fr;
	}

	.fitem .bio-single__name {
		font-size: 40px;
	}
}

/* -------------------------------------------------------------------------- */
/* Responsive hardening                                                       */
/* -------------------------------------------------------------------------- */

/* Keep dynamic/WYSIWYG content from creating horizontal page scroll. */
.fitem,
.fitem-pageheader,
.fitem-homebanner,
.fitem-team,
.fitem-bio {
	overflow-wrap: anywhere;
}

.fitem iframe,
.fitem video,
.fitem embed,
.fitem object {
	max-width: 100%;
}

.fitem table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

@media (max-width: 991px) {
	/* Long mobile menus remain usable in short and landscape viewports. */
	.main-navigation .navbar-collapse.in,
	.main-navigation .navbar-collapse.collapsing {
		max-height: calc(100dvh - 84px);
		overflow-y: auto !important;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.admin-bar .main-navigation .navbar-collapse.in,
	.admin-bar .main-navigation .navbar-collapse.collapsing {
		max-height: calc(100dvh - 130px);
	}

	.primary-menu .dropdown-menu a {
		white-space: normal;
		overflow-wrap: anywhere;
	}

	/* Scale the top-right glow to the shallower tablet headers. */
	.fitem-pageheader__bg,
	.fitem-homebanner__bg {
		background-image: radial-gradient(
			ellipse 820px 650px at 115% -5%,
			#00aeef 0%,
			#0091c7 8%,
			#00749f 16%,
			#005777 23%,
			#003a4f 31%,
			#01232f 69%,
			#011015 100%
		);
	}

	:root {
		--cvw-dark-gradient: radial-gradient(
			ellipse 820px 650px at 115% -5%,
			#00aeef 0%,
			#0091c7 8%,
			#00749f 16%,
			#005777 23%,
			#003a4f 31%,
			#01232f 69%,
			#011015 100%
		);
	}

	.fitem-homebanner__bg::after {
		background-position: 60% bottom;
	}

	.fitem-6 > .container > .row {
		margin-left: 0;
		margin-right: 0;
	}

	/* Stack two-column blocks predictably while preserving content-first order. */
	.fitem-1 > .container > .row,
	.fitem-4 > .container > .row,
	.fitem-7 > .container > .row:first-child,
	.fitem-1.fitem-Right > .container > .row {
		display: flex;
		flex-direction: column;
	}

	.fitem-btn {
		max-width: 100%;
		white-space: normal;
		overflow-wrap: anywhere;
		text-align: center;
	}

	/* Image carousel stays edge-to-edge so it doesn't show a white frame. */
	.fitem-3-slide {
		width: 100vw;
		height: min(360px, 56.25vw);
	}

	.fitem-3 .flickity-viewport {
		height: min(360px, 56.25vw) !important;
	}

	.fitem-3 .flickity-page-dots {
		bottom: 22px;
		padding: 0 72px;
	}

	.fitem-3 .flickity-page-dots .dot {
		width: 14px;
		height: 14px;
		margin: 0 5px;
	}

	/* Gallery cells fit within the viewport instead of remaining 377px wide. */
	.fitem-7-carousel {
		margin-top: 48px;
	}

	.fitem-7-slide {
		width: min(377px, calc(100vw - (2 * var(--cvw-gutter))));
		margin-right: 24px;
	}

	.fitem-7-slide img {
		height: auto;
		aspect-ratio: 377 / 251;
	}

	.fitem-7-progress {
		margin-top: 48px;
	}

	.fitem-5-number {
		max-width: 100%;
		font-size: clamp(48px, 10vw, 75px);
		overflow-wrap: anywhere;
	}

	/* Keep the stacked profile image at its intended source/design size. */
	.bio-single__profile {
		width: 100%;
		max-width: 377px;
	}

	.bio-single__contact,
	.bio-single__name,
	.bio-card__name,
	.bio-card__title,
	.fitem-9-name {
		overflow-wrap: anywhere;
	}
}

@media (max-width: 767px) {
	.fitem {
		padding: 48px 0;
	}

	.fitem-2 {
		padding: 0;
	}

	.fitem-2 > .container {
		padding-top: 48px;
		padding-bottom: 32px;
	}

	.fitem-pageheader {
		min-height: 200px;
		padding: 139px 0 55px;
	}

	.fitem-homebanner {
		padding: 124px 0 64px;
	}

	.fitem.fitem-3 {
		padding: 0;
	}

	.fitem-homebanner__content,
	.fitem-homebanner__body {
		max-width: 100%;
	}

	/* Phone: full-bleed hero image under an 80% mask. */
	.fitem-homebanner__cutout {
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

	.fitem-homebanner__cutout img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center top;
		transform: none;
	}

	.fitem-homebanner__cutout::after {
		content: "";
		position: absolute;
		inset: 0;
		background: rgba(1, 15, 21, 0.8);
	}

	.fitem-4-list > li {
		gap: 14px;
		margin-bottom: 28px;
	}

	.fitem-8 .fitem-buttons,
	.fitem-8 .fitem-buttons .list-inline {
		width: 100%;
	}

	.bio-section + .bio-section {
		margin-top: 56px;
	}

	.fitem-team,
	.fitem-bio {
		padding-top: 48px;
		padding-bottom: 56px;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.fitem-homebanner {
		padding-top: 168px;
	}

	.fitem-homebanner__title {
		padding-top: 28px;
	}

	.fitem-homebanner__content {
		max-width: 56%;
	}

	.fitem-homebanner__body {
		max-width: none;
	}

	/* Image on the right, faded before it meets the copy. */
	.fitem-homebanner__cutout {
		top: 0;
		right: 0;
		bottom: 0;
		left: auto;
		width: min(520px, 58%);
		height: 100%;
	}

	.fitem-homebanner__cutout img {
		width: 100%;
		height: 100%;
		object-fit: contain;
		object-position: right bottom;
		transform: scaleX(-1);
	}

	.fitem-homebanner__cutout::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(
			90deg,
			#010f15 0%,
			rgba(1, 15, 21, 0.96) 34%,
			rgba(1, 15, 21, 0.55) 58%,
			rgba(1, 15, 21, 0) 82%
		);
	}
}

@media (max-width: 575px) {
	/* A smaller glow keeps cyan away from centered, multi-line headings. */
	.fitem-pageheader__bg,
	.fitem-homebanner__bg {
		background-image: radial-gradient(
			ellipse 600px 500px at 130% -10%,
			#00aeef 0%,
			#0091c7 8%,
			#00749f 16%,
			#005777 23%,
			#003a4f 31%,
			#01232f 69%,
			#011015 100%
		);
	}

	:root {
		--cvw-dark-gradient: radial-gradient(
			ellipse 600px 500px at 130% -10%,
			#00aeef 0%,
			#0091c7 8%,
			#00749f 16%,
			#005777 23%,
			#003a4f 31%,
			#01232f 69%,
			#011015 100%
		);
	}

	.fitem-homebanner__bg::after {
		background-position: 65% bottom;
	}

	.fitem-pageheader__title,
	.fitem-homebanner__title {
		font-size: clamp(38px, 12vw, 46px);
	}

	.fitem h2,
	.fitem .bio-section__title {
		font-size: clamp(34px, 10vw, 40px);
	}

	.fitem p,
	.fitem-homebanner__body p,
	.bio-single__body,
	.fitem .bio-single__contact {
		font-size: 17px;
	}

	.fitem-buttons .list-inline > li,
	.fitem-buttons--outline .list-inline > li {
		display: block;
		width: 100%;
		padding: 0 0 12px;
	}

	.fitem-buttons .list-inline {
		margin-left: 0;
	}

	.fitem-btn {
		width: 100%;
	}

	.fitem-3-slide {
		width: 100vw;
		height: 56.25vw;
	}

	.fitem-3 .flickity-viewport {
		height: 56.25vw !important;
	}

	.fitem-3 .flickity-prev-next-button {
		width: 38px;
		height: 38px;
	}

	.fitem-3 .flickity-prev-next-button::before {
		background-size: 38px 38px;
	}

	.fitem-3 .flickity-page-dots {
		bottom: 14px;
		padding: 0 48px;
	}

	.fitem-3 .flickity-page-dots .dot {
		width: 10px;
		height: 10px;
		margin: 0 4px;
	}

	.fitem-4-icon {
		flex-basis: 34px;
		width: 34px;
		height: 34px;
	}

	.fitem-4-icon img {
		width: 34px;
		height: 34px;
	}

	.fitem-5-stats {
		margin-left: 0;
		margin-right: 0;
	}

	.fitem-5-stat {
		padding: 0;
	}

	.fitem-7-carousel {
		margin-top: 36px;
	}

	.fitem-7-slide {
		margin-right: 16px;
	}

	.fitem-7-progress {
		height: 8px;
		margin-top: 36px;
	}

	.fitem-9-carousel {
		margin-top: 36px;
	}

	.fitem-9-slide {
		margin-right: 16px;
	}

	.fitem-9-progress {
		height: 8px;
		margin-top: 36px;
	}

	.bio-card__link {
		gap: 22px;
	}

	.bio-single__profile {
		max-width: 100%;
	}

	.bio-single__body {
		margin-top: 36px;
	}

	.footer-legal-menu {
		flex-wrap: wrap;
		gap: 12px 20px;
	}

	.footer-legal-menu a {
		overflow-wrap: anywhere;
	}
}

/* -------------------------------------------------------------------------- */
/* Contact page form (Gravity Forms)                                         */
/* -------------------------------------------------------------------------- */

.fitem-10 .gform_wrapper {
	/* Keep Gravity's layout from fighting our theme typography. */
	font-family: var(--cvw-font-body);
	color: var(--cvw-text);
}

/* Labels/legends are getting bold via plugin/Bootstrap defaults. */
.fitem-10 .gform_wrapper .gfield_label,
.fitem-10 .gform_wrapper legend.gfield_label,
.fitem-10 .gform_wrapper .gform-field-label {
	font-family: var(--cvw-font-body);
	font-size: 18px;
	line-height: 1.3;
	font-weight: 400 !important;
	color: var(--cvw-text);
	text-transform: none;
}

.fitem-10 .gform_wrapper .gfield_required_text {
	font-weight: 400 !important;
}

/* Inputs / textarea */
.fitem-10 .gform_wrapper input[type="text"],
.fitem-10 .gform_wrapper input[type="email"],
.fitem-10 .gform_wrapper input[type="tel"],
.fitem-10 .gform_wrapper textarea {
	font-family: var(--cvw-font-body);
	font-size: 18px;
	line-height: 1.3;
	font-weight: 400 !important;
	color: var(--cvw-text);

	width: 100% !important;
	background: transparent;
	border: 1px solid rgba(0, 58, 79, 0.25);
	border-radius: 0;
	box-shadow: none;

	padding: 12px 14px;
}

.fitem-10 .gform_wrapper textarea {
	padding-top: 14px;
}

.fitem-10 .gform_wrapper input[type="text"]:focus,
.fitem-10 .gform_wrapper input[type="email"]:focus,
.fitem-10 .gform_wrapper input[type="tel"]:focus,
.fitem-10 .gform_wrapper textarea:focus {
	outline: none;
	border-color: var(--cvw-cyan);
}

/* Checkbox inline labels */
.fitem-10 .gform_wrapper .gform-field-label--type-inline {
	font-family: var(--cvw-font-body);
	font-size: 18px;
	line-height: 1.3;
	font-weight: 400 !important;
	color: var(--cvw-text);
	text-transform: none;
}

/* Submit button to match site buttons */
.fitem-10 .gform_wrapper .gform_footer .gform_button,
.fitem-10 .gform_wrapper input.gform_button.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;

	min-height: 47px;
	padding: 10px 20px;

	background: var(--cvw-navy) !important;
	color: var(--cvw-white) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;

	font-family: var(--cvw-font-body);
	font-size: 18px;
	font-weight: 400 !important;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: 0;

	transition: background 0.2s ease, color 0.2s ease;
}

.fitem-10 .gform_wrapper .gform_footer .gform_button:hover,
.fitem-10 .gform_wrapper input.gform_button.button:hover,
.fitem-10 .gform_wrapper .gform_footer .gform_button:focus,
.fitem-10 .gform_wrapper input.gform_button.button:focus {
	background: var(--cvw-cyan) !important;
	color: var(--cvw-white) !important;
}
