:root {
	--theme-primary: #558ed5;
	--theme-primary-rgb: 85, 143, 213;
	--theme-primary-light: #55a6d5;
	--theme-primary-dark: #556fd5;
	--gold-theme-dark: #a37939;
	--gold-theme-dark-2: #87642e;
	--red-theme-dark: #822117;
	--nav-active-bg-dark: #2d3440;
	--nav-active-bg-light: #dbe6f3;
	--nav-light-bg: rgba(248, 250, 252, 0.82);
	--nav-dark-bg: rgba(18, 24, 31, 0.82);
	--bg-one-light: #f4f7fb;
	--bg-two-light: #eaf0f7;
	--bg-three-light: #ffffff;
	--dark-bg: #0f1720;
	--bg-two-dark: #18212c;
	--bg-three-dark: #1f2935;
	--surface-light: rgba(15, 23, 42, 0.03);
	--surface-light-strong: rgba(15, 23, 42, 0.05);
	--surface-dark: rgba(255, 255, 255, 0.04);
	--surface-dark-strong: rgba(255, 255, 255, 0.07);
	--border-light: rgba(15, 23, 42, 0.10);
	--border-light-strong: rgba(15, 23, 42, 0.16);
	--border-dark: rgba(255, 255, 255, 0.10);
	--border-dark-strong: rgba(255, 255, 255, 0.16);
	--text-light: #17212b;
	--text-light-muted: rgba(23, 33, 43, 0.72);
	--text-light-soft: rgba(23, 33, 43, 0.58);
	--text-dark: #edf3fb;
	--text-dark-muted: rgba(237, 243, 251, 0.74);
	--text-dark-soft: rgba(237, 243, 251, 0.58);
	--shadow-sm: 0 10px 25px rgba(15, 23, 42, 0.05);
	--shadow-md: 0 18px 45px rgba(15, 23, 42, 0.08);
	--shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.14);
	--shadow-dark: 0 24px 70px rgba(0, 0, 0, 0.28);
	--radius-sm: 0.75rem;
	--radius-md: 1rem;
	--radius-lg: 1.35rem;
	--radius-xl: 2rem;
	--section-gradient-light: linear-gradient(180deg, rgba(7, 12, 20, 0.04) 0%, rgba(7, 12, 20, 0) 24rem);
	--section-gradient-dark: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 24rem);
	--bs-primary: var(--theme-primary);
	--bs-primary-rgb: var(--theme-primary-rgb);
	--bs-border-radius: 0.9rem;
	--bs-border-radius-lg: 1.25rem;
	--bs-border-radius-xl: 1.8rem;
	--bs-body-bg: var(--bg-one-light);
	--bs-body-color: var(--text-light);
	--bs-body-color-rgb: 23, 33, 43;
	--bs-secondary-bg: var(--bg-two-light);
	--bs-tertiary-bg: var(--bg-three-light);
	--bs-border-color: var(--border-light);
	--bs-heading-color: var(--text-light);
	--bs-link-color: var(--theme-primary);
	--bs-link-hover-color: var(--theme-primary-dark);
}

[data-bs-theme="dark"] {
	--bs-body-bg: var(--dark-bg);
	--bs-body-color: var(--text-dark);
	--bs-body-color-rgb: 237, 243, 251;
	--bs-secondary-bg: var(--bg-two-dark);
	--bs-tertiary-bg: var(--bg-three-dark);
	--bs-border-color: var(--border-dark);
	--bs-heading-color: var(--text-dark);
	--bs-link-color: #7fb5f0;
	--bs-link-hover-color: #a6cdf7;
}

* {
	transition: background-color .25s ease, border-color .25s ease, color .2s ease, box-shadow .25s ease, fill .25s ease !important;
}

html {
	scroll-behavior: smooth;
}

body {
	width: 100%;
	overflow-x: clip !important;
	font-family: 'Poppins', 'Open Sans', sans-serif !important;
	background: var(--bs-body-bg) !important;
	color: var(--bs-body-color) !important;
}

.iub__us-widget,
.iubenda-iframe-badge-container,
a.iubenda-cs-brand-badge,
[data-bs-theme="light"] [data-dark],
[data-bs-theme="dark"] [data-light] {
	display: none !important;
}

[data-href],
[data-click],
[data-local-page],
.pointer {
	cursor: pointer !important;
}

.text-theme {
	color: var(--theme-primary) !important;
}

.text-heading {
	font-family: 'Open Sans', sans-serif !important;
}

.text-white {
	color: #fff !important;
}

[data-bs-theme="light"] .text-bright {
	color: var(--text-light) !important;
}

[data-bs-theme="dark"] .text-bright {
	color: var(--text-dark) !important;
}

[data-bs-theme="light"] .text-dark-bright {
	color: var(--text-light-muted) !important;
}

[data-bs-theme="dark"] .text-dark-bright {
	color: var(--text-dark-muted) !important;
}

::-moz-selection,
::-webkit-selection,
::selection {
	color: #fff !important;
	background: rgba(var(--theme-primary-rgb), 0.7) !important;
}

a.nav-link,
a:not(.btn, .nav-link, .navbar-brand) {
	font-weight: 500;
	text-decoration: none !important;
}

a:not(.btn, .nav-link, .navbar-brand) {
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:not(.btn, .nav-link, .navbar-brand, .text-danger, .text-warning, .text-success, .text-info, .text-theme) {
	color: inherit !important;
}

a.button-link:not(.btn, .nav-link, .navbar-brand) {
	text-decoration: none;
}

[data-bs-theme="dark"] a:not(.btn, .nav-link, .navbar-brand, .text-danger, .text-warning, .text-success, .text-info, .text-theme):hover,
a.button-link:not(.btn, .nav-link, .navbar-brand, .text-danger, .text-warning, .text-success, .text-info, .text-theme):hover {
	color: #c7d7ea !important;
}

[data-bs-theme="light"] a:not(.btn, .nav-link, .navbar-brand, .text-danger, .text.warning, .text-success, .text-info, .text-theme):hover {
	color: var(--theme-primary-dark) !important;
}

[data-bs-theme="light"] .bg-one {
	background: var(--section-gradient-light), var(--bg-one-light) !important;
}

[data-bs-theme="dark"] .bg-one {
	background: var(--section-gradient-dark), var(--dark-bg) !important;
}

[data-bs-theme="light"] .bg-two {
	background-color: var(--bg-two-light) !important;
}

[data-bs-theme="dark"] .bg-two {
	background-color: var(--bg-two-dark) !important;
}

[data-bs-theme="light"] .bg-three {
	background-color: var(--nav-light-bg) !important;
	backdrop-filter: blur(12px);
}

[data-bs-theme="dark"] .bg-three {
	background-color: var(--nav-dark-bg) !important;
	backdrop-filter: blur(12px);
}

[data-bs-theme="light"] .bg-one.bg-transparent-05 {
	background-color: rgba(244, 247, 251, 0.5) !important;
}

[data-bs-theme="light"] .bg-two.bg-transparent-05 {
	background-color: rgba(234, 240, 247, 0.5) !important;
}

[data-bs-theme="light"] .bg-one.bg-transparent-075 {
	background-color: rgba(244, 247, 251, 0.75) !important;
}

[data-bs-theme="light"] .bg-two.bg-transparent-075 {
	background-color: rgba(234, 240, 247, 0.75) !important;
}

[data-bs-theme="dark"] .bg-one.bg-transparent-05 {
	background-color: rgba(15, 23, 32, 0.5) !important;
}

[data-bs-theme="dark"] .bg-two.bg-transparent-05 {
	background-color: rgba(24, 33, 44, 0.5) !important;
}

[data-bs-theme="dark"] .bg-one.bg-transparent-075 {
	background-color: rgba(15, 23, 32, 0.75) !important;
}

[data-bs-theme="dark"] .bg-two.bg-transparent-075 {
	background-color: rgba(24, 33, 44, 0.75) !important;
}

section.small-padding {
	padding: 2rem 0 !important;
}

section.small-padding-top {
	padding-top: 2rem !important;
}

[data-bs-theme="light"] img.text-dark {
	padding: 1rem !important;
	background: var(--bg-two-dark) !important;
	border-radius: 12px;
}

hr {
	border-color: rgba(var(--theme-primary-rgb), 0.35) !important;
}

hr.hr-start {
	margin-left: 0 !important;
	text-align: left;
}

hr.hr-end {
	margin-right: 0 !important;
	text-align: right;
}

hr.hr-wide {
	max-width: 100% !important;
}

hr.hr-med {
	max-width: 60% !important;
}

.btn {
	padding: 0.7rem 1.4rem;
	border-radius: 999px !important;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.btn-smooth {
	padding: 0.55rem 1.2rem;
	border-radius: 999px;
}

.btn-primary {
	--bs-btn-bg: var(--theme-primary) !important;
	--bs-btn-border-color: var(--theme-primary) !important;
	--bs-btn-hover-color: #ffffff !important;
	--bs-btn-hover-bg: #477ec2 !important;
	--bs-btn-hover-border-color: #477ec2 !important;
	--bs-btn-active-color: #ffffff !important;
	--bs-btn-active-bg: #3d70ad !important;
	--bs-btn-active-border-color: #3d70ad !important;
	--bs-btn-disabled-color: #ffffff !important;
	--bs-btn-disabled-bg: #8fb3de !important;
	--bs-btn-disabled-border-color: #8fb3de !important;
	--bs-btn-focus-shadow-rgb: var(--theme-primary-rgb) !important;
	color: #ffffff !important;
	background-color: var(--theme-primary) !important;
	border: 1px solid var(--theme-primary) !important;
	box-shadow: 0 10px 24px rgba(var(--theme-primary-rgb), 0.18);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
	color: #ffffff !important;
	background-color: #477ec2 !important;
	box-shadow: 0 0 0 0.2rem rgba(var(--theme-primary-rgb), 0.22) !important;
}

[data-bs-theme="light"] .btn-hollow {
	--bs-btn-color: var(--text-light);
	--bs-btn-bg: var(--bg-three-light);
	--bs-btn-border-color: var(--border-light-strong);
	--bs-btn-hover-color: var(--text-light);
	--bs-btn-hover-bg: var(--bg-two-light);
	--bs-btn-hover-border-color: var(--theme-primary);
	--bs-btn-focus-shadow-rgb: var(--theme-primary-rgb);
	--bs-btn-active-color: var(--text-light);
	--bs-btn-active-bg: var(--bg-two-light);
	--bs-btn-active-border-color: var(--theme-primary);
	--bs-btn-disabled-color: #7d8b99;
	--bs-btn-disabled-bg: #eef3f8;
	--bs-btn-disabled-border-color: #d5dee8;
}

[data-bs-theme="dark"] .btn-hollow {
	--bs-btn-color: var(--text-dark);
	--bs-btn-bg: var(--bg-two-dark);
	--bs-btn-border-color: var(--border-dark-strong);
	--bs-btn-hover-color: var(--text-dark);
	--bs-btn-hover-bg: var(--bg-three-dark);
	--bs-btn-hover-border-color: var(--theme-primary);
	--bs-btn-focus-shadow-rgb: var(--theme-primary-rgb);
	--bs-btn-active-color: var(--text-dark);
	--bs-btn-active-bg: var(--bg-three-dark);
	--bs-btn-active-border-color: var(--theme-primary);
	--bs-btn-disabled-color: #9fb0c0;
	--bs-btn-disabled-bg: var(--bg-two-dark);
	--bs-btn-disabled-border-color: var(--border-dark);
}

[data-bs-theme="light"] .btn-hollow-alt {
	--bs-btn-color: var(--text-light);
	--bs-btn-bg: var(--bg-one-light);
	--bs-btn-border-color: var(--border-light);
	--bs-btn-hover-color: var(--text-light);
	--bs-btn-hover-bg: var(--bg-two-light);
	--bs-btn-hover-border-color: var(--theme-primary);
	--bs-btn-focus-shadow-rgb: var(--theme-primary-rgb);
	--bs-btn-active-color: var(--text-light);
	--bs-btn-active-bg: var(--bg-two-light);
	--bs-btn-active-border-color: var(--theme-primary);
	--bs-btn-disabled-color: #8492a0;
	--bs-btn-disabled-bg: var(--bg-one-light);
	--bs-btn-disabled-border-color: var(--border-light);
}

[data-bs-theme="dark"] .btn-hollow-alt {
	--bs-btn-color: var(--text-dark);
	--bs-btn-bg: var(--dark-bg);
	--bs-btn-border-color: var(--border-dark);
	--bs-btn-hover-color: var(--text-dark);
	--bs-btn-hover-bg: var(--bg-two-dark);
	--bs-btn-hover-border-color: var(--theme-primary);
	--bs-btn-focus-shadow-rgb: var(--theme-primary-rgb);
	--bs-btn-active-color: var(--text-dark);
	--bs-btn-active-bg: var(--bg-two-dark);
	--bs-btn-active-border-color: var(--theme-primary);
	--bs-btn-disabled-color: #8fa0b1;
	--bs-btn-disabled-bg: var(--dark-bg);
	--bs-btn-disabled-border-color: var(--border-dark);
}

[data-bs-theme="dark"] .btn-hollow:not(.disabled) {
	color: var(--text-dark);
}

[data-bs-theme="dark"] .btn-hollow-alt:not(.disabled) {
	color: var(--text-dark-muted);
}

[data-bs-theme="light"] .btn-hollow:not(.disabled),
[data-bs-theme="light"] .btn-hollow-alt:not(.disabled) {
	color: var(--text-light);
}

.btn.btn-icon {
	width: 40px;
	height: 40px;
	padding: 0.4rem 0.6rem !important;
	border: 1px solid rgba(var(--theme-primary-rgb), 0.28) !important;
	border-radius: 12px !important;
	outline: none !important;
	vertical-align: middle !important;
	background: rgba(var(--theme-primary-rgb), 0.12) !important;
}

.card,
.dropdown-menu,
.modal-content,
.offcanvas,
.accordion-item,
.list-group-item,
.page-banner,
.bd-callout,
.badge {
	border: 1px solid var(--bs-border-color) !important;
	border-radius: var(--radius-lg) !important;
	box-shadow: var(--shadow-sm);
}

[data-bs-theme="light"] .card,
[data-bs-theme="light"] .dropdown-menu,
[data-bs-theme="light"] .modal-content,
[data-bs-theme="light"] .offcanvas,
[data-bs-theme="light"] .accordion-item,
[data-bs-theme="light"] .list-group-item,
[data-bs-theme="light"] .page-banner,
[data-bs-theme="light"] .bd-callout,
[data-bs-theme="light"] .badge {
	background-color: var(--bg-three-light) !important;
}

[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .dropdown-menu,
[data-bs-theme="dark"] .modal-content,
[data-bs-theme="dark"] .offcanvas,
[data-bs-theme="dark"] .accordion-item,
[data-bs-theme="dark"] .list-group-item,
[data-bs-theme="dark"] .page-banner,
[data-bs-theme="dark"] .bd-callout,
[data-bs-theme="dark"] .badge {
	background-color: var(--bg-three-dark) !important;
	box-shadow: var(--shadow-dark);
}

.dropdown-item {
	margin: 0 !important;
	padding: 0.75rem 0.9rem !important;
	border-radius: 0 !important;
}

.dropdown-menu li:first-child .dropdown-item {
	border-radius: calc(var(--radius-lg) - 0.3rem) calc(var(--radius-lg) - 0.3rem) 0 0 !important;
}

.dropdown-menu li:last-child .dropdown-item {
	border-radius: 0 0 calc(var(--radius-lg) - 0.3rem) calc(var(--radius-lg) - 0.3rem) !important;
}

.dropdown-menu h1,
.dropdown-menu h2,
.dropdown-menu h3,
.dropdown-menu h4,
.dropdown-menu h5,
.dropdown-menu h6,
.dropdown-menu p {
	padding: 0 !important;
	margin-bottom: 0 !important;
}

.dropdown-item.active,
.dropdown-item:active {
	font-weight: 700;
	background: transparent !important;
	color: var(--theme-primary) !important;
}

[data-bs-theme="light"] .dropdown-item:not(.active):hover {
	background: rgba(85, 143, 213, 0.08) !important;
}

[data-bs-theme="dark"] .dropdown-item:not(.active):hover {
	background: rgba(255, 255, 255, 0.06) !important;
}

.navbar-nav .nav-link {
	font-size: 1rem !important;
}

#mainNav {
	background-color: var(--nav-light-bg) !important;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

[data-bs-theme="dark"] #mainNav {
	background-color: var(--nav-dark-bg) !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
}

#mainNav .navbar-brand {
	color: var(--theme-primary) !important;
}

[data-bs-theme="light"] #mainNav .navbar-nav > li.nav-item > a.nav-link {
	color: var(--text-light) !important;
}

[data-bs-theme="dark"] #mainNav .navbar-nav > li.nav-item > a.nav-link {
	color: var(--text-dark-muted) !important;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
	color: var(--theme-primary) !important;
}

.carousel button .text-white,
.carousel-item .carousel-caption {
	color: #fff !important;
	opacity: 1 !important;
	filter: none !important;
}

.carousel-item .backer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 400px !important;
	background: rgba(0, 0, 0, 0.6) !important;
}

.carousel-item img {
	width: 100% !important;
	height: 400px !important;
	object-fit: cover;
}

.carousel-item img.blur {
	filter: blur(5px) !important;
}

footer {
	overflow-x: hidden !important;
	background-repeat: no-repeat;
	background-size: cover;
	background-image: url('https://cdn.ghostly.cloud/tbm/assets/images/footerbubbles.png');
}

[data-bs-theme="light"] footer {
	background-color: var(--nav-light-bg) !important;
}

[data-bs-theme="dark"] footer {
	background-color: var(--nav-dark-bg) !important;
}

[data-bs-theme="light"] .gt_white_content {
	background: var(--bg-two-dark);
}

[data-bs-theme="dark"] .gt_white_content {
	background: var(--bg-two-light);
}

.gt_white_content a {
	border-bottom: 0 !important;
}

.img-flex img {
	width: 30%;
	border-radius: var(--radius-lg);
}

.img-flex .item {
	width: 65%;
}

.accordion-button {
	font-weight: 500;
}

.accordion-button:not(.collapsed) {
	font-weight: 600;
	background-color: var(--theme-primary);
	color: #fff;
}

.accordion-button:focus,
.form-control:focus,
.form-select:focus {
	box-shadow: none !important;
}

.accordion-button::after {
	display: none;
}

.accordion-button .arrow {
	flex-shrink: 0;
	width: var(--bs-accordion-btn-icon-width);
	height: var(--bs-accordion-btn-icon-width);
	margin-left: auto;
	transition: var(--bs-accordion-btn-icon-transition) !important;
}

.accordion-button:not(.collapsed) .arrow {
	transform: rotate(180deg);
	color: #fff !important;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
	border-color: var(--theme-primary) !important;
}

.form-check-input:checked {
	background-color: var(--theme-primary);
	border-color: var(--theme-primary);
}

.form-check-input:focus {
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(var(--theme-primary-rgb), .25);
}

.form-floating > label,
.form-floating > label::after {
	background-color: transparent !important;
	transition: transform .25s !important;
}

.form-select option {
	padding-left: 1rem !important;
	padding-right: 1rem !important;
	cursor: pointer !important;
}

.form-select option:first-child {
	padding-top: 2rem !important;
}

.form-select option:last-child {
	padding-bottom: 2rem !important;
}

.table thead,
.table tbody,
.table tr,
.table th,
.table td,
.table *:not(.btn) {
	background-color: inherit !important;
}

.table .btn * {
	background-color: transparent !important;
}

.nav-link:not(.dropdown-item, .dropdown-nav-link),
a:not(.dropdown-item, .dropdown-nav-link, .btn) {
	color: var(--theme-primary) !important;
	transition: color .12s ease !important;
}

.dropdown-nav-link {
	transition: color .12s ease !important;
}

[data-bs-theme="dark"] .nav-link:not(.dropdown-item, .dropdown-nav-link):hover,
[data-bs-theme="dark"] a:not(.dropdown-item, .dropdown-nav-link, .btn):hover {
	color: var(--theme-primary-light) !important;
}

[data-bs-theme="light"] .nav-link:not(.dropdown-item, .dropdown-nav-link):hover,
[data-bs-theme="light"] a:not(.dropdown-item, .dropdown-nav-link, .btn):hover {
	color: var(--theme-primary-dark) !important;
}

.nav-pills .nav-link:not(.active) {
	color: var(--theme-primary);
}

[data-bs-theme="dark"] .nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
	background-color: var(--nav-active-bg-dark);
}

[data-bs-theme="light"] .nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
	background-color: var(--nav-active-bg-light);
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: 0 5px;
	border-radius: 50%;
	background-color: rgba(var(--theme-primary-rgb), 0.08);
	color: var(--theme-primary);
}

.team-member img {
	width: 200px;
	height: 200px;
	object-fit: cover;
	border-radius: 50%;
	border: 4px solid rgba(var(--theme-primary-rgb), 0.75);
}

.section-title::after {
	content: "";
	display: block;
	width: 50px;
	height: 3px;
	margin: 20px auto;
	background: rgba(var(--theme-primary-rgb), 0.55);
}

.section-modern {
	position: relative;
	padding: clamp(3rem, 5vw, 5rem) 0;
}

[data-bs-theme="light"] .section-modern {
	background: var(--section-gradient-light), var(--bg-one-light) !important;
}

[data-bs-theme="dark"] .section-modern {
	background: var(--section-gradient-dark), var(--dark-bg) !important;
}

.section-shell {
	max-width: 1180px;
}

.section-hero,
.panel-surface {
	position: relative;
	overflow: hidden;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--bs-border-color);
	border-radius: var(--radius-xl);
	background: radial-gradient(circle at top right, rgba(var(--theme-primary-rgb), 0.12), transparent 24rem), var(--surface-light);
	box-shadow: var(--shadow-md);
	backdrop-filter: blur(10px);
}

[data-bs-theme="dark"] .section-hero,
[data-bs-theme="dark"] .panel-surface {
	background: radial-gradient(circle at top right, rgba(var(--theme-primary-rgb), 0.18), transparent 24rem), var(--surface-dark);
	box-shadow: var(--shadow-dark);
}

.section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	border: 1px solid var(--border-light);
	background: var(--surface-light-strong);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-light-soft);
}

[data-bs-theme="dark"] .section-kicker {
	border-color: var(--border-dark);
	background: var(--surface-dark-strong);
	color: var(--text-dark-soft);
}

.section-title-modern {
	margin-bottom: 1rem;
	font-size: clamp(2.4rem, 5vw, 4.6rem);
	line-height: 1;
	letter-spacing: -0.04em;
}

.section-intro {
	max-width: 52rem;
	margin-bottom: 0;
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	line-height: 1.8;
}

[data-bs-theme="light"] .section-intro,
[data-bs-theme="light"] .story-copy p,
[data-bs-theme="light"] .home-copy-muted,
[data-bs-theme="light"] .home-team-role,
[data-bs-theme="light"] .home-caption,
[data-bs-theme="light"] .home-partner-copy p {
	color: var(--text-light-muted);
}

[data-bs-theme="dark"] .section-intro,
[data-bs-theme="dark"] .story-copy p,
[data-bs-theme="dark"] .home-copy-muted,
[data-bs-theme="dark"] .home-team-role,
[data-bs-theme="dark"] .home-caption,
[data-bs-theme="dark"] .home-partner-copy p {
	color: var(--text-dark-muted);
}

.story-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 1.5rem;
}

.story-card {
	grid-column: span 12;
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.9fr);
	gap: clamp(1.25rem, 2vw, 2rem);
	align-items: stretch;
	padding: clamp(1.35rem, 2vw, 1.8rem);
	border: 1px solid var(--bs-border-color);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	background: var(--surface-light);
}

[data-bs-theme="dark"] .story-card {
	background: var(--surface-dark);
	box-shadow: var(--shadow-dark);
}

.story-card-full {
	grid-template-columns: minmax(0, 1fr);
}

.story-card-accent {
	background: linear-gradient(135deg, rgba(var(--theme-primary-rgb), 0.12), transparent 60%), var(--surface-light) !important;
}

[data-bs-theme="dark"] .story-card-accent {
	background: linear-gradient(135deg, rgba(var(--theme-primary-rgb), 0.18), transparent 60%), var(--surface-dark) !important;
}

.story-copy {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 0;
}

.story-label {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

[data-bs-theme="light"] .story-label {
	color: var(--text-light-soft);
}

[data-bs-theme="dark"] .story-label {
	color: var(--text-dark-soft);
}

.story-heading {
	margin: 0;
	font-size: clamp(1.5rem, 2.2vw, 2.2rem);
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.story-copy p {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.85;
}

.story-copy a {
	color: inherit;
	font-weight: 600;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

.story-copy a:hover,
.story-copy a:focus-visible {
	color: var(--theme-primary) !important;
}

.story-media {
	position: relative;
	min-height: 100%;
	overflow: hidden;
	border-radius: calc(var(--radius-lg) - 0.35rem);
}

[data-bs-theme="light"] .story-media {
	border: 1px solid var(--border-light-strong);
	background: var(--surface-light-strong);
}

[data-bs-theme="dark"] .story-media {
	border: 1px solid var(--border-dark-strong);
	background: var(--surface-dark-strong);
}

.story-media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
}

.story-pull {
	display: inline-block;
	padding-left: 1rem;
	border-left: 3px solid rgba(var(--theme-primary-rgb), 0.35);
	font-weight: 600;
}

[data-bs-theme="light"] .story-pull {
	color: var(--text-light);
}

[data-bs-theme="dark"] .story-pull {
	color: var(--text-dark);
}

.story-statline {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.35rem;
}

.story-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 0.85rem;
	border-radius: 999px;
	font-size: 0.92rem;
}

[data-bs-theme="light"] .story-chip {
	border: 1px solid var(--border-light);
	background: var(--surface-light-strong);
	color: var(--text-light);
}

[data-bs-theme="dark"] .story-chip {
	border: 1px solid var(--border-dark);
	background: var(--surface-dark-strong);
	color: var(--text-dark);
}

.timeline-stack {
	position: relative;
	display: grid;
	gap: 1.5rem;
}

.timeline-stack::before {
	content: "";
	position: absolute;
	top: 0.75rem;
	bottom: 0.75rem;
	left: 1rem;
	width: 2px;
	background: linear-gradient(180deg, rgba(var(--theme-primary-rgb), 0.28), rgba(var(--theme-primary-rgb), 0.08));
	pointer-events: none;
}

.timeline-item {
	position: relative;
	padding-left: 3rem;
}

.timeline-marker {
	position: absolute;
	top: 1.4rem;
	left: 0.35rem;
	z-index: 1;
	width: 1.3rem;
	height: 1.3rem;
	border: 4px solid var(--bs-body-bg);
	border-radius: 999px;
	background: var(--theme-primary);
	box-shadow: 0 0 0 6px rgba(var(--theme-primary-rgb), 0.12);
}

.timeline-date {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 0.75rem;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

[data-bs-theme="light"] .timeline-date {
	border: 1px solid rgba(var(--theme-primary-rgb), 0.14);
	background: rgba(var(--theme-primary-rgb), 0.08);
	color: var(--theme-primary-dark);
}

[data-bs-theme="dark"] .timeline-date {
	border: 1px solid rgba(var(--theme-primary-rgb), 0.22);
	background: rgba(var(--theme-primary-rgb), 0.14);
	color: #cfe4fb;
}

.timeline-item .story-card {
	margin: 0;
}

.timeline-item--feature .story-card {
	box-shadow: var(--shadow-md);
}

.home-banner-shell {
	position: relative;
	isolation: isolate;
}

.home-banner-shell::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: linear-gradient(to bottom, rgba(12, 16, 20, 0.58), rgba(12, 16, 20, 0.72)), url('https://cdn.ghostly.cloud/tbm/assets/images/bannerblurbubbles.webp');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}

.home-banner-shell::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 9rem;
	z-index: -1;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--bs-body-bg));
}

.home-hero {
	padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
}

.home-hero-grid,
.home-intro-grid,
.home-universe-grid,
.home-cta-panel,
.home-partner-card,
.media-grid-split {
	display: grid;
	gap: clamp(1.25rem, 3vw, 2rem);
}

.home-hero-grid {
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.7fr);
	align-items: end;
}

.home-intro-grid {
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	padding: 2rem 0;
	border-top: 1px solid var(--bs-border-color);
	border-bottom: 1px solid var(--bs-border-color);
}

.home-universe-grid {
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
	align-items: center;
}

.home-cta-panel {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	padding-top: 1.75rem;
	border-top: 1px solid var(--bs-border-color);
}

.home-hero-copy {
	max-width: 43rem;
}

.home-intro-copy {
	max-width: 42rem;
}

.home-universe-copy {
	max-width: 40rem;
}

.home-hero-title {
	margin-bottom: 1.25rem;
	font-size: clamp(2.35rem, 5.4vw, 4.9rem);
	line-height: 0.98;
	letter-spacing: -0.05em;
}

.home-banner-shell .section-kicker,
.home-banner-shell .home-hero-title,
.home-banner-shell .lead,
.home-banner-shell .home-summary-label,
.home-banner-shell .home-summary p {
	color: #fff !important;
}

.home-hero-copy .lead,
.home-intro p,
.home-universe-copy p,
.home-feature-list li,
.home-cta-copy p {
	font-size: clamp(1rem, 1.5vw, 1.1rem);
	line-height: 1.85;
}

.home-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-top: 2rem;
}

.home-summary {
	padding: 1rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.home-summary:first-child {
	padding-top: 0;
	border-top: 0;
}

.home-summary-label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.home-summary-link {
	display: block;
	color: inherit;
	text-decoration: none;
	transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.home-summary-link:hover {
	transform: translateY(-2px);
}

.home-summary-link:hover .home-summary-label,
.home-summary-link:hover p {
	opacity: 1;
}

.home-summary-link p::after {
	content: " →";
	display: inline;
	opacity: 0.72;
}

.home-intro,
.home-collabs,
.home-partners,
.home-team,
.home-universe,
.home-cta {
	position: relative;
	padding: clamp(2.5rem, 5vw, 4rem) 0;
	background: var(--bs-body-bg);
}

.home-photo-card {
	overflow: hidden;
	border: 1px solid var(--bs-border-color);
	border-radius: var(--radius-xl);
	background: var(--surface-light);
}

[data-bs-theme="dark"] .home-photo-card {
	background: var(--surface-dark);
}

.home-photo-card img,
.home-universe-visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-photo-card img {
	min-height: 220px;
}

.home-universe-visual img {
	min-height: 18rem;
	border-radius: calc(var(--radius-xl) - 0.4rem);
}

.home-logo-cloud,
.home-team-cards,
.home-game-grid,
.home-collabs-grid,
.card-grid {
	display: grid;
	gap: 1rem;
}

.home-logo-cloud {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
}

.home-logo-cloud a,
.home-collabs-grid a {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-logo-cloud a {
	min-height: 84px;
	padding: 1rem;
	border: 1px solid var(--bs-border-color);
	border-radius: 1rem;
	background: var(--bs-tertiary-bg);
}

.home-logo-cloud a:hover,
.home-collabs-grid a:hover,
.home-partner-card:hover {
	transform: translateY(-2px);
}

.home-logo-cloud img {
	max-width: 100%;
	max-height: 42px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.home-team-head,
.home-collabs-head,
.home-partners-head,
.home-universe-head {
	margin-bottom: 1.75rem;
}

.home-team-cards {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.home-team-cards .team-card {
	padding: 1.5rem 1.25rem;
	border: 1px solid var(--bs-border-color);
	border-radius: var(--radius-lg);
	background: var(--bs-tertiary-bg);
	text-align: center;
}

.home-team-cards .team-card img {
	width: 88px;
	height: 88px;
	margin: 0 auto 1rem;
	border-radius: 999px;
	object-fit: cover;
}

.home-team-cards .team-card h3,
.home-partner-copy h3 {
	margin-bottom: 0.35rem;
}

.home-universe-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: end;
	gap: 1rem;
}

.home-feature-list {
	margin: 1rem 0 0;
	padding-left: 1.1rem;
}

.home-feature-list li + li {
	margin-top: 0.55rem;
}

.home-game-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-game-card {
	display: block;
	overflow: hidden;
	border: 1px solid var(--bs-border-color);
	border-radius: 1rem;
	background: var(--bs-tertiary-bg);
	color: inherit;
	text-decoration: none;
}

.home-game-card img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.home-game-card h3 {
	margin: 0;
	padding: 0 1rem 1rem;
	font-size: 1rem;
	line-height: 1.3;
}

.home-game-meta {
	display: inline-block;
	padding: 0.85rem 1rem 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	opacity: 0.7;
}

.home-collabs-head {
	max-width: 56rem;
}

.home-collabs-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	align-items: stretch;
}

.home-collabs-grid a {
	min-height: 150px;
	padding: 0.75rem 0.6rem;
}

.home-collabs-grid img {
	display: block;
	max-width: 100%;
	max-height: 100px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.home-partners-head {
	max-width: 42rem;
}

.home-partners-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.home-partner-card {
	grid-template-columns: 140px minmax(0, 1fr);
	align-items: center;
	padding: 1.25rem;
	border: 1px solid var(--bs-border-color);
	border-radius: var(--radius-lg);
	background: var(--bs-tertiary-bg);
	color: inherit;
	text-decoration: none;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-partner-card img {
	display: block;
	width: 100%;
	max-width: 140px;
	border-radius: 1rem;
	object-fit: cover;
}

.home-partner-copy p,
.home-caption,
.home-team-role,
.home-summary p,
.home-feature-list {
	margin: 0;
}

.bd-callout-success,
.banner-success,
.badge-success {
	--bd-callout-color: var(--bs-success-text-emphasis);
	--bd-callout-bg: var(--bs-success-bg-subtle);
	--bd-callout-border: var(--bs-success-border-subtle);
}

.bd-callout-warning,
.banner-warning,
.badge-warning {
	--bd-callout-color: var(--bs-warning-text-emphasis);
	--bd-callout-bg: var(--bs-warning-bg-subtle);
	--bd-callout-border: var(--bs-warning-border-subtle);
}

.bd-callout-danger,
.banner-danger,
.badge-danger {
	--bd-callout-color: var(--bs-danger-text-emphasis);
	--bd-callout-bg: var(--bs-danger-bg-subtle);
	--bd-callout-border: var(--bs-danger-border-subtle);
}

.bd-callout-info,
.banner-info,
.badge-info {
	--bd-callout-color: var(--bs-info-text-emphasis);
	--bd-callout-bg: var(--bs-info-bg-subtle);
	--bd-callout-border: var(--bs-info-border-subtle);
}

.bd-callout {
	--bs-link-color-rgb: var(--bd-callout-link);
	--bs-code-color: var(--bd-callout-code-color);
	padding: 1.25rem;
	margin-top: 1.25rem;
	margin-bottom: 1.25rem;
	color: var(--bd-callout-color, inherit);
	background-color: var(--bd-callout-bg, var(--bs-gray-100));
	border-left: 0.25rem solid var(--bd-callout-border, var(--bs-gray-300));
}

.badge {
	--bs-link-color-rgb: var(--bd-callout-link);
	--bs-code-color: var(--bd-callout-code-color);
	color: var(--bd-callout-color, inherit);
	background-color: var(--bd-callout-bg, var(--bs-gray-100));
	border: 0.1rem solid var(--bd-callout-border, var(--bs-gray-300));
}

@media (max-width: 991.98px) {
	.text-center-sm,
	hr.hr-start.text-center-sm {
		margin-left: auto !important;
		margin-right: auto !important;
		text-align: center !important;
	}

	.img-flex img {
		width: 20%;
	}

	.img-flex .item {
		width: 75%;
	}

	.img-flex .item.sm-fill {
		width: 100%;
	}

	.sm-hide {
		display: none !important;
	}

	.story-card,
	.home-hero-grid,
	.home-intro-grid,
	.home-universe-grid,
	.home-cta-panel {
		grid-template-columns: 1fr;
	}

	.home-team-cards,
	.home-game-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.home-banner-shell::before {
		background-attachment: scroll;
	}

	.story-media {
		min-height: 18rem;
	}
}

@media (max-width: 767.98px) {
	.section-modern {
		padding: 2rem 0;
	}

	.section-shell {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.section-hero,
	.panel-surface,
	.story-card,
	.home-universe-visual img {
		border-radius: 1.25rem;
	}

	.story-copy p {
		font-size: 0.98rem;
		line-height: 1.75;
	}

	.story-media {
		min-height: 15rem;
	}

	.timeline-stack::before {
		left: 0.8rem;
	}

	.timeline-item {
		padding-left: 2.5rem;
	}

	.timeline-marker {
		left: 0.15rem;
	}

	.home-banner-shell::after {
		height: 6rem;
	}

	.home-hero {
		padding-top: 2.75rem;
		padding-bottom: 2.5rem;
	}

	.home-hero-title {
		font-size: clamp(2.1rem, 10vw, 3.4rem);
		line-height: 1.02;
	}

	.home-actions,
	.home-cta-panel .home-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.home-logo-cloud,
	.home-team-cards,
	.home-game-grid,
	.home-partners-grid {
		grid-template-columns: 1fr;
	}

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

	.home-collabs-grid a {
		min-height: 84px;
		padding: 1rem 0.85rem;
	}

	.home-partner-card {
		grid-template-columns: 1fr;
	}

	.home-partner-card img {
		max-width: 120px;
	}
}

.section-band {
	position: relative;
	padding: clamp(2.75rem, 5vw, 4.5rem) 0;
}

.section-band + .section-band::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: min(92%, 1100px);
	height: 1px;
	background: var(--bs-border-color);
	opacity: 0.7;
}

.section-band--plain {
	background: transparent;
}

.section-band--panel .section-inner {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--bs-border-color);
	border-radius: var(--radius-xl);
	background: var(--bs-tertiary-bg);
	box-shadow: var(--shadow-sm);
}

.section-band--soft {
	background:
		linear-gradient(180deg, rgba(var(--theme-primary-rgb), 0.06), transparent 18rem),
		var(--bs-body-bg);
}

[data-bs-theme="dark"] .section-band--soft {
	background:
		linear-gradient(180deg, rgba(var(--theme-primary-rgb), 0.10), transparent 18rem),
		var(--bs-body-bg);
}

.section-band--feature .section-inner {
	padding: clamp(1.75rem, 3vw, 2.5rem);
	border: 1px solid var(--bs-border-color);
	border-radius: var(--radius-xl);
	background:
		radial-gradient(circle at top right, rgba(var(--theme-primary-rgb), 0.14), transparent 24rem),
		var(--surface-light);
	box-shadow: var(--shadow-md);
}

[data-bs-theme="dark"] .section-band--feature .section-inner {
	background:
		radial-gradient(circle at top right, rgba(var(--theme-primary-rgb), 0.18), transparent 24rem),
		var(--surface-dark);
	box-shadow: var(--shadow-dark);
}
