/* ==========================================================================
   EBJV – modern site styles (layered on Bootstrap 5 / build/main.css)
   ========================================================================== */

:root {
	--ebjv-orange: #ea6110;
	--ebjv-orange-600: #d4540a;
	--ebjv-orange-50: #fff3ec;
	--ebjv-navy: #0f1c2b;
	--ebjv-slate: #26303a;
	--ebjv-ink: #0f172a;
	--ebjv-text: #475569;
	--ebjv-muted: #64748b;
	--ebjv-line: #e2e8f0;
	--ebjv-surface: #f6f7f9;
	--ebjv-radius: 1rem;
	--ebjv-radius-lg: 1.5rem;
	--ebjv-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
	--ebjv-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.18);
	--ebjv-shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.35);
	--ebjv-font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ebjv-ease: cubic-bezier(0.22, 1, 0.36, 1);

	--bs-body-font-family: var(--ebjv-font);
	--bs-primary: #ea6110;
	--bs-primary-rgb: 234, 97, 16;
	--bs-link-color: #ea6110;
	--bs-link-color-rgb: 234, 97, 16;
	--bs-link-hover-color: #d4540a;
	--bs-link-hover-color-rgb: 212, 84, 10;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body {
	font-family: var(--ebjv-font);
	color: var(--ebjv-text);
	background: #fff;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ebjv-font);
	color: var(--ebjv-ink);
	letter-spacing: -0.02em;
}

img {
	max-width: 100%;
	height: auto;
}

::selection {
	background: var(--ebjv-orange);
	color: #fff;
}

.text-ebjv {
	color: var(--ebjv-orange);
}

.evjb-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	flex-shrink: 0;
	vertical-align: -0.125em;
}

.evjb-icon.flip {
	transform: scaleX(-1);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-weight: 600;
	background-image: none;
	box-shadow: none;
	transition: all 0.25s var(--ebjv-ease);
}

.btn .evjb-icon {
	transition: transform 0.25s var(--ebjv-ease);
}

.btn:hover .evjb-icon:not(.flip) {
	transform: translateX(3px);
}

.btn-lg {
	--bs-btn-padding-y: 0.85rem;
	--bs-btn-padding-x: 1.6rem;
	--bs-btn-font-size: 1rem;
}

.btn-ebjv {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--ebjv-orange);
	--bs-btn-border-color: var(--ebjv-orange);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: var(--ebjv-orange-600);
	--bs-btn-hover-border-color: var(--ebjv-orange-600);
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: var(--ebjv-orange-600);
	--bs-btn-active-border-color: var(--ebjv-orange-600);
	--bs-btn-focus-shadow-rgb: 234, 97, 16;
	box-shadow: 0 8px 20px -8px rgba(234, 97, 16, 0.6);
}

.btn-ebjv:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px -8px rgba(234, 97, 16, 0.7);
}

.btn-ebjv-outline {
	--bs-btn-color: var(--ebjv-ink);
	--bs-btn-border-color: var(--ebjv-line);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: var(--ebjv-ink);
	--bs-btn-hover-border-color: var(--ebjv-ink);
}

.btn-glass {
	--bs-btn-color: #fff;
	--bs-btn-bg: rgba(255, 255, 255, 0.08);
	--bs-btn-border-color: rgba(255, 255, 255, 0.35);
	--bs-btn-hover-color: var(--ebjv-ink);
	--bs-btn-hover-bg: #fff;
	--bs-btn-hover-border-color: #fff;
	backdrop-filter: blur(6px);
}

.btn-light {
	--bs-btn-color: var(--ebjv-ink);
	--bs-btn-bg: #fff;
	--bs-btn-border-color: #fff;
	--bs-btn-hover-bg: var(--ebjv-ink);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-border-color: var(--ebjv-ink);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
	color: var(--ebjv-ink);
	text-decoration: none;
	border-bottom: 2px solid var(--ebjv-orange);
	padding-bottom: 2px;
}

.link-arrow .evjb-icon {
	transition: transform 0.25s var(--ebjv-ease);
}

.link-arrow:hover {
	color: var(--ebjv-orange);
}

.link-arrow:hover .evjb-icon {
	transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ebjv-orange);
}

.eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.eyebrow--light {
	color: #ffb98f;
}

.section {
	padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--muted {
	background: var(--ebjv-surface);
}

.section-title {
	font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem);
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 1.25rem;
}

.lead-text {
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--ebjv-text);
}

.lead-text strong {
	color: var(--ebjv-ink);
}

/* --------------------------------------------------------------------------
   Top bar + header
   -------------------------------------------------------------------------- */
.topbar {
	background: var(--ebjv-navy);
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.85rem;
	padding: 0.55rem 0;
}

.topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: inherit;
	text-decoration: none;
}

.topbar__item .evjb-icon {
	color: var(--ebjv-orange);
}

a.topbar__item:hover {
	color: #fff;
}

.site-header {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
	transition: box-shadow 0.3s, background 0.3s;
}

.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 8px 30px -12px rgba(15, 23, 42, 0.2);
}

.site-header .navbar {
	padding: 0.75rem 0;
	transition: padding 0.3s;
}

.site-header.is-scrolled .navbar {
	padding: 0.4rem 0;
}

.site-logo img {
	display: block;
	width: 150px;
	height: auto;
	transition: width 0.3s;
}

.site-header.is-scrolled .site-logo img {
	width: 124px;
}

.cadstream-logo img {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	transition: transform 0.25s var(--ebjv-ease);
}

.cadstream-logo:hover img {
	transform: scale(1.06);
}

.site-header .navbar-nav .nav-link {
	position: relative;
	padding: 0.6rem 1rem !important;
	font-weight: 600;
	font-size: 0.975rem;
	color: var(--ebjv-ink);
	border-radius: 999px;
	transition: color 0.2s, background 0.2s;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link:focus {
	color: var(--ebjv-orange);
	background: var(--ebjv-orange-50);
}

.site-header .navbar-nav .active > .nav-link,
.site-header .navbar-nav .nav-link.active,
.site-header .navbar-nav .current-menu-item > .nav-link {
	color: var(--ebjv-orange);
}

.site-header .dropdown-menu {
	border: 0;
	border-radius: var(--ebjv-radius);
	box-shadow: var(--ebjv-shadow);
	padding: 0.5rem;
}

.site-header .dropdown-item {
	border-radius: 0.6rem;
	padding: 0.55rem 0.9rem;
}

.site-header .dropdown-item:hover {
	background: var(--ebjv-orange-50);
	color: var(--ebjv-orange);
}

.site-header .navbar-toggler {
	border: 1px solid var(--ebjv-line);
	border-radius: 0.75rem;
	padding: 0.45rem 0.6rem;
	box-shadow: none;
}

.site-header .navbar-toggler-icon {
	display: inline-block;
	width: 1.3em;
	height: 1.3em;
	vertical-align: middle;
	background: no-repeat center center / 100% url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
	.site-header .navbar-collapse {
		margin-top: 0.75rem;
		padding: 0.5rem;
		border-radius: var(--ebjv-radius);
		background: #fff;
		box-shadow: var(--ebjv-shadow);
	}

	.site-header .navbar-nav .nav-link {
		border-radius: 0.6rem;
	}

	.site-logo img {
		width: 120px;
	}
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(5rem, 10vw, 8.5rem) 0 clamp(8rem, 12vw, 11rem);
	background: var(--ebjv-navy);
	color: #fff;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-size: cover;
	background-position: 70% center;
	transform: scale(1.05);
	animation: heroZoom 18s ease-out forwards;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(60% 80% at 0% 0%, rgba(234, 97, 16, 0.35), transparent 60%),
		linear-gradient(90deg, rgba(15, 28, 43, 0.97) 0%, rgba(15, 28, 43, 0.88) 45%, rgba(15, 28, 43, 0.35) 100%);
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
	-webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}

@keyframes heroZoom {
	to { transform: scale(1); }
}

.hero__title {
	color: #fff;
	font-size: clamp(2.6rem, 1.4rem + 5vw, 5rem);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.035em;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
}

.hero__lead {
	max-width: 36rem;
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.78);
	margin-bottom: 2.25rem;
}

.hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2.5rem;
	margin: 3.5rem 0 0;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__stats li {
	display: flex;
	flex-direction: column;
}

.hero__stats strong {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
}

.hero__stats span {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   Industries (cards overlapping the hero)
   -------------------------------------------------------------------------- */
.industries {
	position: relative;
	z-index: 2;
	margin-top: -5rem;
}

.industry-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.1rem;
	padding: 1.6rem 1.4rem;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: var(--ebjv-radius);
	box-shadow: var(--ebjv-shadow);
	transition: transform 0.35s var(--ebjv-ease), box-shadow 0.35s var(--ebjv-ease), opacity 0.8s var(--ebjv-ease);
}

.industry-card:hover {
	box-shadow: var(--ebjv-shadow-lg);
}

.industry-card__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--ebjv-orange), #ff8a3d);
	box-shadow: 0 10px 20px -10px rgba(234, 97, 16, 0.8);
	transition: background 0.35s;
}

.industry-card:hover .industry-card__icon {
	background: linear-gradient(135deg, var(--ebjv-navy), var(--ebjv-slate));
}

.industry-card__icon img {
	width: 32px;
	height: 32px;
}

.industry-card__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

@media (max-width: 575.98px) {
	.industries .col:last-child {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.check-list {
	display: grid;
	gap: 0.7rem;
	margin-bottom: 1.5rem;
}

.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	color: var(--ebjv-ink);
	font-weight: 500;
}

.check-list .evjb-icon {
	width: 22px;
	height: 22px;
	padding: 4px;
	margin-top: 1px;
	border-radius: 50%;
	color: var(--ebjv-orange);
	background: var(--ebjv-orange-50);
	stroke-width: 3;
}

.about-panel {
	position: relative;
	isolation: isolate;
	padding: clamp(1.75rem, 3vw, 2.75rem);
	border-radius: var(--ebjv-radius-lg);
	background: var(--ebjv-surface);
	border: 1px solid var(--ebjv-line);
}

.about-panel::before {
	content: "";
	position: absolute;
	top: -16px;
	right: -16px;
	width: 120px;
	height: 120px;
	background: radial-gradient(circle, rgba(234, 97, 16, 0.4) 2px, transparent 2.5px) 0 0 / 14px 14px;
	z-index: -1;
}

.stat-card {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.5rem 1.75rem;
	margin-bottom: 1.75rem;
	border-radius: var(--ebjv-radius);
	background: linear-gradient(135deg, var(--ebjv-navy), var(--ebjv-slate));
	color: #fff;
	box-shadow: var(--ebjv-shadow);
}

.stat-card__number {
	font-size: clamp(3rem, 2rem + 3vw, 4.25rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--ebjv-orange);
}

.stat-card__number sup {
	font-size: 0.5em;
	top: -0.8em;
}

.stat-card__label {
	max-width: 11rem;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.85);
}

.about-panel__text {
	font-size: 1.025rem;
	line-height: 1.75;
	margin-bottom: 1.75rem;
}

.awards {
	padding-top: 1.5rem;
	border-top: 1px solid var(--ebjv-line);
}

.awards__label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--ebjv-ink);
}

.awards__label .evjb-icon {
	color: var(--ebjv-orange);
	width: 1.2em;
	height: 1.2em;
}

.awards__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.awards__logos img {
	width: auto;
	height: 76px;
	padding: 0.6rem;
	border-radius: 0.9rem;
	background: #fff;
	box-shadow: var(--ebjv-shadow-sm);
	transition: transform 0.3s var(--ebjv-ease);
}

.awards__logos img:hover {
	transform: translateY(-3px) rotate(-2deg);
}

/* --------------------------------------------------------------------------
   Projects
   -------------------------------------------------------------------------- */
.project-card {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--ebjv-radius-lg);
	background: var(--ebjv-slate);
	color: #fff;
	text-decoration: none;
	box-shadow: var(--ebjv-shadow);
	isolation: isolate;
	transition: transform 0.4s var(--ebjv-ease), box-shadow 0.4s var(--ebjv-ease), opacity 0.8s var(--ebjv-ease);
}

.project-card:hover {
	color: #fff;
	box-shadow: var(--ebjv-shadow-lg);
}

.project-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	transition: transform 0.8s var(--ebjv-ease);
}

.project-card:hover .project-card__img {
	transform: scale(1.08);
}

.project-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(15, 28, 43, 0) 35%, rgba(15, 28, 43, 0.92) 100%);
}

.project-card__tag {
	position: absolute;
	top: 1.1rem;
	left: 1.1rem;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.project-card__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
}

.project-card__title {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.project-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: #ffb98f;
	transition: gap 0.3s var(--ebjv-ease), color 0.3s;
}

.project-card:hover .project-card__cta {
	gap: 0.7rem;
	color: #fff;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonials__media {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 520px;
	padding-top: 2rem;
	border-radius: var(--ebjv-radius-lg);
	background-size: cover;
	background-position: center right;
	overflow: hidden;
	isolation: isolate;
}

.testimonials__media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(15, 28, 43, 0.1), rgba(234, 97, 16, 0.55));
}

.testimonials__media img {
	width: auto;
	height: 100%;
	object-fit: contain;
	object-position: bottom;
	filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
}

.testimonial-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	padding: 2rem;
	border-radius: var(--ebjv-radius-lg);
	background: #fff;
	border: 1px solid var(--ebjv-line);
	box-shadow: var(--ebjv-shadow-sm);
}

.testimonial-card__text {
	flex: 1;
	margin: 0 0 1.5rem;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--ebjv-text);
}

.testimonial-card__text p {
	margin-bottom: 0.6rem;
}

.testimonial-card__author {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--ebjv-line);
}

.testimonial-card__avatar {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	border-radius: 50%;
	font-weight: 700;
	font-size: 0.95rem;
	color: #fff;
	background: linear-gradient(135deg, var(--ebjv-orange), #ff8a3d);
}

.testimonial-card__name {
	display: block;
	font-weight: 700;
	color: var(--ebjv-ink);
}

.testimonial-card__position {
	display: block;
	font-size: 0.875rem;
	color: var(--ebjv-muted);
}

.carousel-btn {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--ebjv-line);
	background: #fff;
	color: var(--ebjv-ink);
	transition: all 0.25s var(--ebjv-ease);
}

.carousel-btn:hover {
	background: var(--ebjv-orange);
	border-color: var(--ebjv-orange);
	color: #fff;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
	padding-bottom: clamp(4rem, 8vw, 6rem);
}

.cta-band__inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: clamp(2rem, 5vw, 3.5rem);
	border-radius: var(--ebjv-radius-lg);
	overflow: hidden;
	isolation: isolate;
	color: #fff;
	background: linear-gradient(120deg, var(--ebjv-orange) 0%, #f2782f 55%, #ff9a52 100%);
	box-shadow: 0 30px 60px -25px rgba(234, 97, 16, 0.65);
}

.cta-band__inner::after {
	content: "";
	position: absolute;
	right: -60px;
	top: -60px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	border: 40px solid rgba(255, 255, 255, 0.12);
	z-index: -1;
}

.cta-band__title {
	color: #fff;
	font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.cta-band__text {
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Gallery strip
   -------------------------------------------------------------------------- */
.gallery-strip__tile {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--ebjv-slate);
}

.gallery-strip__tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.85);
	transition: transform 0.8s var(--ebjv-ease), filter 0.5s;
}

.gallery-strip__tile:hover img {
	transform: scale(1.07);
	filter: saturate(1.1);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
#footer.site-footer {
	background: var(--ebjv-navy);
	color: rgba(255, 255, 255, 0.65);
	padding: clamp(3.5rem, 6vw, 5rem) 0 1.5rem;
	font-size: 0.95rem;
}

#footer p {
	margin-top: 0;
}

.footer-top {
	padding-bottom: 3rem;
}

.footer-logo {
	width: 190px;
	margin-bottom: 1.25rem;
}

.footer-about {
	max-width: 22rem;
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

.footer-title {
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
}

.footer-text {
	line-height: 1.6;
	margin-bottom: 1.25rem;
}

.footer-icon {
	color: var(--ebjv-orange);
	margin-top: 0.25rem;
}

.footer-links li + li {
	margin-top: 0.5rem;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	transition: color 0.2s, padding 0.2s;
}

.footer-links a:hover {
	color: #fff;
	padding-left: 4px;
}

.contact-card {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	height: 100%;
	padding: 1.25rem;
	border-radius: var(--ebjv-radius);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: border-color 0.3s, background 0.3s;
}

.contact-card:hover {
	border-color: rgba(234, 97, 16, 0.5);
	background: rgba(255, 255, 255, 0.06);
}

.contact-card__name {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--ebjv-orange);
}

.contact-card a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: 0.9rem;
	overflow-wrap: anywhere;
}

.contact-card a .evjb-icon {
	color: rgba(255, 255, 255, 0.45);
}

.contact-card a:hover {
	color: #fff;
}

.social-icons .list-inline-item:not(:last-child) {
	margin-right: 0.5rem;
}

.social-icon {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	transition: background 0.25s, transform 0.25s var(--ebjv-ease);
}

.social-icon:hover {
	color: #fff;
	background: var(--ebjv-orange);
	transform: translateY(-2px);
}

.footer-bottom {
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.875rem;
}

.security-seal {
	width: 120px;
	opacity: 0.85;
}

.back-to-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 1030;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	color: #fff;
	background: var(--ebjv-orange);
	box-shadow: 0 10px 25px -8px rgba(234, 97, 16, 0.7);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: all 0.3s var(--ebjv-ease);
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.back-to-top:hover {
	color: #fff;
	background: var(--ebjv-orange-600);
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.js [data-animate] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.8s var(--ebjv-ease), transform 0.8s var(--ebjv-ease);
}

.js [data-animate].is-animated {
	opacity: 1;
	transform: none;
}

.js .industry-card.is-animated:hover,
.js .project-card.is-animated:hover,
.industry-card:hover,
.project-card:hover {
	transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.js [data-animate] {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.hero__bg {
		animation: none;
	}
}

/* Small fixes */
.link-arrow {
	align-self: flex-start;
}

@media (min-width: 768px) {
	.link-arrow {
		align-self: auto;
	}
}

.project-card__tag {
	background: rgba(15, 28, 43, 0.55);
	border-color: rgba(255, 255, 255, 0.2);
}

#footer .footer-links .menu-item a[aria-current="page"],
#footer .footer-links .current-menu-item > a {
	color: var(--ebjv-orange);
}

.contact-card a .evjb-icon {
	flex-shrink: 0;
}

@media (min-width: 992px) and (max-width: 1399.98px) {
	.contact-card a {
		font-size: 0.85rem;
	}
}

/* --------------------------------------------------------------------------
   Inner page hero (projects archive + single)
   -------------------------------------------------------------------------- */
.page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
	background: var(--ebjv-navy);
	color: #fff;
}

.page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-size: cover;
	background-position: center;
	transform: scale(1.04);
	animation: heroZoom 18s ease-out forwards;
}

.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(60% 90% at 0% 0%, rgba(234, 97, 16, 0.35), transparent 60%),
		linear-gradient(90deg, rgba(15, 28, 43, 0.96) 0%, rgba(15, 28, 43, 0.82) 55%, rgba(15, 28, 43, 0.5) 100%);
}

.page-hero__title {
	max-width: 52rem;
	color: #fff;
	font-size: clamp(2.2rem, 1.3rem + 3.5vw, 3.75rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin-bottom: 1rem;
}

.page-hero__lead {
	max-width: 40rem;
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.78);
}

.page-hero__crumbs {
	--bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.4);
	--bs-breadcrumb-item-active-color: rgba(255, 255, 255, 0.85);
	margin-bottom: 1.75rem;
	font-size: 0.875rem;
}

.page-hero__crumbs a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
}

.page-hero__crumbs a:hover {
	color: #fff;
}

.page-hero__crumbs .breadcrumb-item.active {
	max-width: 22rem;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   Single project
   -------------------------------------------------------------------------- */
.project-single__feature {
	overflow: hidden;
	border-radius: var(--ebjv-radius-lg);
	box-shadow: var(--ebjv-shadow);
	background: var(--ebjv-surface);
}

.project-single__feature img {
	display: block;
	width: 100%;
	transition: transform 0.8s var(--ebjv-ease);
}

.project-single__feature a:hover img {
	transform: scale(1.03);
}

.project-content {
	font-size: 1.075rem;
	line-height: 1.85;
	color: var(--ebjv-text);
}

.project-content > p:first-child {
	font-size: 1.2rem;
	line-height: 1.75;
	color: var(--ebjv-ink);
}

.project-content h2,
.project-content h3 {
	margin: 2.5rem 0 1rem;
	font-weight: 700;
}

.project-content ul {
	padding-left: 1.2rem;
}

.project-content ul li::marker {
	color: var(--ebjv-orange);
}

.project-content .wp-block-gallery {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem !important;
	margin: 2.5rem 0 0;
}

.project-content .wp-block-gallery .wp-block-image {
	width: auto !important;
	margin: 0 !important;
	overflow: hidden;
	border-radius: 0.85rem;
	aspect-ratio: 4 / 3;
	background: var(--ebjv-surface);
}

.project-content .wp-block-gallery .wp-block-image a,
.project-content .wp-block-gallery .wp-block-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.project-content .wp-block-gallery .wp-block-image img {
	transition: transform 0.6s var(--ebjv-ease), filter 0.4s;
}

.project-content .wp-block-gallery .wp-block-image a:hover img {
	transform: scale(1.06);
	filter: brightness(0.9);
}

@media (max-width: 575.98px) {
	.project-content .wp-block-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.project-aside {
	position: sticky;
	top: 110px;
	display: grid;
	gap: 1.5rem;
}

.project-aside__card {
	padding: 1.75rem;
	border-radius: var(--ebjv-radius-lg);
	border: 1px solid var(--ebjv-line);
	background: var(--ebjv-surface);
}

.project-aside__title {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 1.25rem;
}

.project-aside__card--cta {
	border: 0;
	color: rgba(255, 255, 255, 0.8);
	background: linear-gradient(135deg, var(--ebjv-navy), var(--ebjv-slate));
	box-shadow: var(--ebjv-shadow);
}

.project-nav {
	margin-top: clamp(3rem, 6vw, 4.5rem);
	padding-top: 2rem;
	border-top: 1px solid var(--ebjv-line);
}

.project-nav__link {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	height: 100%;
	padding: 1.25rem 1.5rem;
	border-radius: var(--ebjv-radius);
	border: 1px solid var(--ebjv-line);
	text-decoration: none;
	transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ebjv-ease);
}

.project-nav__link:hover {
	border-color: var(--ebjv-orange);
	box-shadow: var(--ebjv-shadow);
	transform: translateY(-2px);
}

.project-nav__dir {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ebjv-orange);
}

.project-nav__title {
	font-weight: 700;
	color: var(--ebjv-ink);
}

/* Lightbox */
.lightbox .modal-content {
	position: relative;
	background: transparent;
	border: 0;
}

.lightbox .carousel-item img {
	max-height: 82vh;
	max-width: 100%;
	border-radius: 0.75rem;
}

.lightbox__close {
	position: absolute;
	top: -2.5rem;
	right: 0;
	z-index: 5;
	opacity: 0.9;
}

.lightbox__counter {
	margin-top: 0.75rem;
	text-align: center;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.9rem;
}

.lightbox--single .carousel-control-prev,
.lightbox--single .carousel-control-next,
.lightbox--single .lightbox__counter {
	display: none;
}

.modal-backdrop.show {
	opacity: 0.9;
}

/* Pagination */
.ebjv-pagination {
	--bs-pagination-color: var(--ebjv-ink);
	--bs-pagination-border-color: var(--ebjv-line);
	--bs-pagination-hover-color: var(--ebjv-orange);
	--bs-pagination-hover-bg: var(--ebjv-orange-50);
	--bs-pagination-active-bg: var(--ebjv-orange);
	--bs-pagination-active-border-color: var(--ebjv-orange);
	--bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(234, 97, 16, 0.25);
	gap: 0.4rem;
}

.ebjv-pagination .page-link {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	border-radius: 999px !important;
}

.ebjv-pagination .active .page-link,
.ebjv-pagination .page-link.current {
	color: #fff;
	background: var(--ebjv-orange);
	border-color: var(--ebjv-orange);
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.page-hero__lead p:last-child {
	margin-bottom: 0;
}

.contact-details {
	position: relative;
	z-index: 2;
	margin-top: -3rem;
}

.info-card {
	height: 100%;
	padding: 2rem 1.75rem;
	border-radius: var(--ebjv-radius-lg);
	border: 1px solid rgba(15, 23, 42, 0.06);
	background: #fff;
	box-shadow: var(--ebjv-shadow);
	transition: transform 0.35s var(--ebjv-ease), box-shadow 0.35s var(--ebjv-ease), opacity 0.8s var(--ebjv-ease);
}

.info-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ebjv-shadow-lg);
}

.info-card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 1.25rem;
	border-radius: 14px;
	font-size: 1.3rem;
	color: #fff;
	background: linear-gradient(135deg, var(--ebjv-orange), #ff8a3d);
	box-shadow: 0 10px 20px -10px rgba(234, 97, 16, 0.8);
}

.info-card__title {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.info-card__text {
	line-height: 1.7;
}

.info-card__links li + li {
	margin-top: 0.35rem;
}

.info-card__links a {
	font-weight: 600;
	color: var(--ebjv-ink);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.info-card__links a:hover {
	color: var(--ebjv-orange);
}

.form-card {
	height: 100%;
	padding: clamp(1.75rem, 4vw, 3rem);
	border-radius: var(--ebjv-radius-lg);
	border: 1px solid var(--ebjv-line);
	background: var(--ebjv-surface);
}

.contact-form .form-control {
	border-radius: 0.85rem;
	border-color: var(--ebjv-line);
	background-color: #fff;
	box-shadow: none;
}

.contact-form .form-control:focus {
	border-color: var(--ebjv-orange);
	box-shadow: 0 0 0 0.25rem rgba(234, 97, 16, 0.15);
}

.contact-form .form-floating > label {
	color: var(--ebjv-muted);
}

.form-card .alert {
	border-radius: 0.85rem;
}

.map-card {
	position: relative;
	height: 100%;
	min-height: 420px;
	overflow: hidden;
	border-radius: var(--ebjv-radius-lg);
	box-shadow: var(--ebjv-shadow);
	background: var(--ebjv-surface);
}

.map-card iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.map-card__link {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1rem;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ebjv-ink);
	text-decoration: none;
	background: #fff;
	box-shadow: var(--ebjv-shadow);
}

.map-card__link .evjb-icon:first-child {
	color: var(--ebjv-orange);
}

.map-card__link:hover {
	color: var(--ebjv-orange);
}

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */
.service-card {
	position: relative;
	height: 100%;
	padding: 2rem;
	border-radius: var(--ebjv-radius-lg);
	border: 1px solid var(--ebjv-line);
	background: #fff;
	overflow: hidden;
	transition: transform 0.35s var(--ebjv-ease), box-shadow 0.35s var(--ebjv-ease), border-color 0.35s, opacity 0.8s var(--ebjv-ease);
}

.service-card::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--ebjv-orange), #ff9a52);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s var(--ebjv-ease);
}

.service-card:hover {
	transform: translateY(-6px);
	border-color: transparent;
	box-shadow: var(--ebjv-shadow-lg);
}

.service-card:hover::after {
	transform: scaleX(1);
}

.service-card__num {
	position: absolute;
	top: 1.25rem;
	right: 1.5rem;
	font-size: 2.75rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--ebjv-surface);
	-webkit-text-stroke: 1px var(--ebjv-line);
}

.service-card__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 1.5rem;
	border-radius: 14px;
	font-size: 1.6rem;
	color: var(--ebjv-orange);
	background: var(--ebjv-orange-50);
	transition: background 0.35s, color 0.35s;
}

.service-card:hover .service-card__icon {
	color: #fff;
	background: linear-gradient(135deg, var(--ebjv-orange), #ff8a3d);
}

.service-card__title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	padding-right: 3rem;
}

.service-card__text {
	line-height: 1.7;
	margin-bottom: 1.25rem;
}

.check-list--sm {
	gap: 0.45rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--ebjv-line);
}

.check-list--sm li {
	font-size: 0.925rem;
}

.check-list--sm .evjb-icon {
	width: 20px;
	height: 20px;
}

/* Why EBJV (dark band) */
.section--dark {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--ebjv-navy);
	color: rgba(255, 255, 255, 0.75);
}

.section--dark::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(50% 70% at 100% 0%, rgba(234, 97, 16, 0.25), transparent 60%),
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px;
}

.why__text {
	font-size: 1.075rem;
	line-height: 1.75;
	margin-bottom: 1.75rem;
}

.check-list--light li {
	color: rgba(255, 255, 255, 0.9);
}

.check-list--light .evjb-icon {
	background: rgba(234, 97, 16, 0.18);
}

.why-stat {
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.75rem;
	border-radius: var(--ebjv-radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(6px);
}

.why-stat strong {
	font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--ebjv-orange);
}

.why-stat strong sup {
	font-size: 0.5em;
	top: -0.8em;
}

.why-stat span {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
}

.tool-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.tool-chips li {
	padding: 0.45rem 0.95rem;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
}

/* Process */
.process__steps {
	counter-reset: none;
}

.step {
	position: relative;
	height: 100%;
	padding: 2rem 1.75rem;
	border-radius: var(--ebjv-radius-lg);
	background: var(--ebjv-surface);
	border: 1px solid var(--ebjv-line);
	transition: opacity 0.8s var(--ebjv-ease), transform 0.8s var(--ebjv-ease);
}

.step__num {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 1.25rem;
	border-radius: 50%;
	font-weight: 800;
	color: #fff;
	background: var(--ebjv-ink);
	box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--ebjv-line);
}

.step__title {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 0.6rem;
}

.step__text {
	line-height: 1.7;
}

@media (min-width: 992px) {
	.process__steps .col:not(:last-child) .step::after {
		content: "";
		position: absolute;
		top: 3.35rem;
		right: -1.5rem;
		width: 1.5rem;
		border-top: 2px dashed var(--ebjv-line);
	}
}

.cta-band--spaced {
	padding-top: clamp(4rem, 8vw, 6rem);
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */
.about-stats {
	position: relative;
	z-index: 2;
	margin-top: -3rem;
}

.about-stats__inner {
	border-radius: var(--ebjv-radius-lg);
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.06);
	box-shadow: var(--ebjv-shadow);
	overflow: hidden;
}

.about-stat {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	height: 100%;
	padding: 1.75rem 1.5rem;
	text-align: center;
	border-right: 1px solid var(--ebjv-line);
	border-bottom: 1px solid var(--ebjv-line);
}

.about-stat strong {
	font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--ebjv-orange);
}

.about-stat strong sup {
	font-size: 0.5em;
	top: -0.8em;
}

.about-stat span {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ebjv-muted);
}

@media (min-width: 992px) {
	.about-stats .col:last-child .about-stat {
		border-right: 0;
	}

	.about-stat {
		border-bottom: 0;
	}
}

@media (max-width: 991.98px) {
	.about-stats .col:nth-child(2n) .about-stat {
		border-right: 0;
	}

	.about-stats .col:nth-child(n+3) .about-stat {
		border-bottom: 0;
	}
}

.about-collage {
	position: relative;
	padding: 0 12% 18% 0;
}

.about-collage__main {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--ebjv-radius-lg);
	box-shadow: var(--ebjv-shadow);
}

.about-collage__sub {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 52%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--ebjv-radius);
	border: 6px solid #fff;
	background: #fff;
	box-shadow: var(--ebjv-shadow-lg);
}

.about-collage__badge {
	position: absolute;
	left: 1.25rem;
	bottom: 8%;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.9rem 1.2rem;
	border-radius: var(--ebjv-radius);
	color: #fff;
	background: linear-gradient(135deg, var(--ebjv-orange), #ff8a3d);
	box-shadow: 0 15px 30px -12px rgba(234, 97, 16, 0.7);
}

.about-collage__badge strong {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
}

.about-collage__badge strong sup {
	font-size: 0.5em;
	top: -0.8em;
}

.about-collage__badge span {
	max-width: 7.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.3;
}

.value-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 2rem;
	border-radius: var(--ebjv-radius-lg);
	background: #fff;
	border: 1px solid var(--ebjv-line);
	transition: transform 0.35s var(--ebjv-ease), box-shadow 0.35s var(--ebjv-ease), opacity 0.8s var(--ebjv-ease);
}

.value-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ebjv-shadow);
}

.value-card__title {
	font-size: 1.25rem;
	font-weight: 700;
}

.value-card__text {
	line-height: 1.7;
	margin-bottom: 1.25rem;
}

.value-card__quote {
	margin-top: auto;
	padding: 1rem 1.25rem;
	border-left: 3px solid var(--ebjv-orange);
	border-radius: 0 0.75rem 0.75rem 0;
	background: var(--ebjv-surface);
}

.value-card__quote p {
	margin-bottom: 0.35rem;
	font-style: italic;
	color: var(--ebjv-ink);
	line-height: 1.6;
}

.value-card__quote cite {
	font-size: 0.85rem;
	font-style: normal;
	font-weight: 600;
	color: var(--ebjv-muted);
}

.team-card {
	height: 100%;
	padding: 2rem 1.75rem;
	border-radius: var(--ebjv-radius-lg);
	border: 1px solid var(--ebjv-line);
	background: #fff;
	box-shadow: var(--ebjv-shadow-sm);
	transition: transform 0.35s var(--ebjv-ease), box-shadow 0.35s var(--ebjv-ease), opacity 0.8s var(--ebjv-ease);
}

.team-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ebjv-shadow);
}

.team-card__avatar {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin-bottom: 1.25rem;
	border-radius: 50%;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
	background: linear-gradient(135deg, var(--ebjv-navy), var(--ebjv-slate));
	box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--ebjv-orange);
}

.team-card__name {
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 0.15rem;
}

.team-card__company {
	display: block;
	margin-bottom: 1.25rem;
	font-size: 0.875rem;
	color: var(--ebjv-muted);
}

.team-card__links {
	display: grid;
	gap: 0.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--ebjv-line);
}

.team-card__links a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.925rem;
	font-weight: 600;
	color: var(--ebjv-ink);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.team-card__links a .evjb-icon {
	color: var(--ebjv-orange);
}

.team-card__links a:hover {
	color: var(--ebjv-orange);
}

.award-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: 1.75rem 1rem;
	text-align: center;
	border-radius: var(--ebjv-radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.04);
}

.award-card__img {
	display: grid;
	place-items: center;
	width: 112px;
	height: 112px;
	border-radius: 50%;
	background: #fff;
}

.award-card__img img {
	max-width: 80px;
	max-height: 80px;
	width: auto;
	height: auto;
}

.award-card figcaption {
	font-size: 0.9rem;
	font-weight: 600;
	color: #fff;
}

/* --------------------------------------------------------------------------
   Testimonial slider (scroll-snap)
   -------------------------------------------------------------------------- */
.t-slider {
	--t-gap: 1.5rem;
	--t-per-view: 1;
	position: relative;
}

@media (min-width: 768px) {
	.t-slider {
		--t-per-view: 2;
	}
}

.t-slider__track {
	display: flex;
	gap: var(--t-gap);
	padding: 0.5rem 0.25rem 1.75rem;
	margin: -0.5rem -0.25rem 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.t-slider__track::-webkit-scrollbar {
	display: none;
}

.t-slider__track:focus-visible {
	outline: 2px solid var(--ebjv-orange);
	outline-offset: 4px;
	border-radius: var(--ebjv-radius-lg);
}

.t-slider__slide {
	flex: 0 0 calc((100% - (var(--t-per-view) - 1) * var(--t-gap)) / var(--t-per-view));
	min-width: 0;
	scroll-snap-align: start;
}

.t-slider__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.t-slider__dots {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.t-slider__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #cbd5e1;
	cursor: pointer;
	transition: width 0.3s var(--ebjv-ease), background-color 0.3s;
}

.t-slider__dot:hover {
	background: #94a3b8;
}

.t-slider__dot.is-active {
	width: 28px;
	background: var(--ebjv-orange);
}

.t-slider--static .t-slider__controls {
	display: none;
}

/* Card refinements */
.testimonial-card {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 2rem;
	border-radius: var(--ebjv-radius-lg);
	background: #fff;
	border: 1px solid var(--ebjv-line);
	box-shadow: var(--ebjv-shadow-sm);
	transition: box-shadow 0.3s var(--ebjv-ease), border-color 0.3s;
}

.testimonial-card:hover {
	border-color: rgba(234, 97, 16, 0.35);
	box-shadow: var(--ebjv-shadow);
}

.testimonial-card__quote {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 1.25rem;
	border-radius: 12px;
	color: var(--ebjv-orange);
	background: var(--ebjv-orange-50);
}

.testimonial-card__quote svg {
	width: 18px;
	height: 14px;
}

.testimonial-card__text {
	flex: 1 1 auto;
}

.testimonial-card__text p:last-child {
	margin-bottom: 0;
}
/* Equal-height testimonial cards */
.t-slider__track > .testimonial-card {
	height: auto;
	align-self: stretch;
}

/* Large gutters overflow the container padding on small phones (horizontal scroll) */
@media (max-width: 575.98px) {
	.row.g-5,
	.row.gx-5 {
		--bs-gutter-x: 1.5rem;
	}
}

/* Hero sits flush under the header (starter theme adds #main { margin-top: 1rem }) */
#main.site-main--full {
	margin-top: 0;
}

/* Standing engineer in the hero (desktop) */
.hero__content {
	z-index: 1;
}

.hero__person {
	position: absolute;
	right: clamp(2rem, 14vw, 16rem);
	bottom: 0;
	z-index: 0;
	height: 92%;
	max-height: 680px;
	aspect-ratio: 496 / 850;
	pointer-events: none;
	animation: heroPersonIn 1.1s var(--ebjv-ease) 0.25s both;
}

.hero__person::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 8%;
	width: 120%;
	aspect-ratio: 1;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(234, 97, 16, 0.35) 0%, rgba(234, 97, 16, 0.12) 40%, transparent 68%);
	z-index: -1;
}

.hero__person img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: bottom center;
	filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.45));
}

@keyframes heroPersonIn {
	from { opacity: 0; transform: translateY(40px); }
	to { opacity: 1; transform: none; }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.hero__person {
		right: 1rem;
		height: 78%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__person {
		animation: none;
	}
}

/* Engineer: larger, with more breathing room on the right */
.hero__person {
	right: clamp(4rem, 17vw, 22rem);
	height: 100%;
	max-height: 860px;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
	.hero__person {
		right: 7vw;
		height: 96%;
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.hero__person {
		right: 3rem;
		height: 82%;
	}
}

/* Keep a little headroom above the hard hat */
@media (min-width: 1400px) {
	.hero__person {
		height: calc(100% - 2rem);
	}
}

/* Engineer: realistic shadows
   1) cast shadow – blurred silhouette thrown back/right onto the steelwork
   2) contact shadow – tight + soft drop shadows around the outline
   3) ambient occlusion – dark pool at the base where he meets the cards */
.hero__person::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(5, 10, 18, 0.7);
	-webkit-mask: url("../images/wc1.webp") no-repeat bottom center / contain;
	mask: url("../images/wc1.webp") no-repeat bottom center / contain;
	transform-origin: bottom center;
	transform: translateX(9%) skewX(-14deg) scaleY(0.97);
	filter: blur(14px);
	opacity: 0.85;
}

.hero__person img {
	position: relative;
	filter:
		drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45))
		drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35))
		drop-shadow(-6px 18px 28px rgba(0, 0, 0, 0.45))
		saturate(0.94) contrast(1.04) brightness(0.97);
}

.hero__person::before {
	bottom: -14%;
	width: 150%;
	aspect-ratio: 2.2 / 1;
	border-radius: 50%;
	background:
		radial-gradient(closest-side, rgba(3, 8, 15, 0.75), rgba(3, 8, 15, 0.35) 55%, transparent 100%),
		radial-gradient(circle at 50% 0%, rgba(234, 97, 16, 0.18), transparent 70%);
	filter: blur(6px);
}

/* Softer, closer cast shadow (distant background = diffuse shadow) */
.hero__person::after {
	transform: translateX(4.5%) translateY(1%) skewX(-7deg) scaleY(0.985);
	filter: blur(22px);
	opacity: 0.55;
}

/* Faded cast shadow: strongest at the base, dissolving toward the top */
.hero__person::after {
	-webkit-mask:
		url("../images/wc1.webp") no-repeat bottom center / contain,
		linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.55) 35%, rgba(0, 0, 0, 0.15) 65%, transparent 90%);
	-webkit-mask-composite: source-in;
	mask:
		url("../images/wc1.webp") no-repeat bottom center / contain,
		linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.55) 35%, rgba(0, 0, 0, 0.15) 65%, transparent 90%);
	mask-composite: intersect;
	filter: blur(26px);
	opacity: 0.45;
}

/* Cast shadow falls to the LEFT (light from the front-right) */
.hero__person::after {
	transform: translateX(-4.5%) translateY(1%) skewX(7deg) scaleY(0.985);
}

.hero__person img {
	filter:
		drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45))
		drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35))
		drop-shadow(-10px 18px 28px rgba(0, 0, 0, 0.45))
		saturate(0.94) contrast(1.04) brightness(0.97);
}

/* Left shadow: a touch more offset + strength so it reads against the darker left side */
.hero__person::after {
	transform: translateX(-8%) translateY(1%) skewX(10deg) scaleY(0.98);
	background: rgba(2, 6, 12, 0.85);
	opacity: 0.7;
}

/* Horizontal fade: darkest beside the body, dissolving toward the left */
.hero__person::after {
	-webkit-mask:
		url("../images/wc1.webp") no-repeat bottom center / contain,
		linear-gradient(to left, #000 0%, #000 50%, rgba(0, 0, 0, 0.45) 72%, rgba(0, 0, 0, 0.12) 88%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask:
		url("../images/wc1.webp") no-repeat bottom center / contain,
		linear-gradient(to left, #000 0%, #000 50%, rgba(0, 0, 0, 0.45) 72%, rgba(0, 0, 0, 0.12) 88%, transparent 100%);
	mask-composite: intersect;
	transform: translateX(-13%) translateY(1%) skewX(8deg) scaleY(0.98);
	filter: blur(22px);
	opacity: 0.75;
}

/* Straighter, softer horizontal shadow (no ghost head) */
.hero__person::after {
	transform: translateX(-9%) translateY(1%) skewX(2deg);
	filter: blur(30px);
}

/* Shadow fade, right -> left: 100%, 82%, 40%, 10% (evenly spaced stops) */
.hero__person::after {
	-webkit-mask:
		url("../images/wc1.webp") no-repeat bottom center / contain,
		linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.82) 33.333%, rgba(0, 0, 0, 0.4) 66.667%, rgba(0, 0, 0, 0.1) 100%);
	-webkit-mask-composite: source-in;
	mask:
		url("../images/wc1.webp") no-repeat bottom center / contain,
		linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.82) 33.333%, rgba(0, 0, 0, 0.4) 66.667%, rgba(0, 0, 0, 0.1) 100%);
	mask-composite: intersect;
	opacity: 1;
}
