/*
Theme Name: J.C.WITT Theme
Theme URI: https://jcwitt.de
Version: 1.0
Author: Dennis Krüger
Author URI: https://mutterstern.de
Description: Bootstrap to Wordpress.
Tags: minimal, simple, responsive, light-weight
Text Domain: jcwtheme
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Oswald:wght@400;500;600;700&display=swap');

html {
	scroll-behavior: smooth;
}

/* Final JCW Relaunch Overrides */
body {
	font-family: "Inter", "Source Sans Pro", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.625;
	color: #2c3138;
	background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 16%, #f4f7fb 52%, #eef3f9 100%);
	margin: 0;
	padding-top: 0;
}

h1, h2, h3, .headline, .hero-title, .section-title, .site-footer__title {
	font-family: "Oswald", "Bebas Neue", "Arial Narrow", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	color: #0b3f7c;
	
	letter-spacing: -.015em;
}

.container {
	max-width: 1320px;
}

a {
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
}

.site-main {
	overflow: hidden;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1100;
	background: transparent;
	border-bottom: 1px solid transparent;
	box-shadow: none;
	backdrop-filter: none;
	transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.site-navbar {
	padding: .7rem 0 .5rem;
	padding: 0;
	transition: padding .25s ease;
}

.site-navbar__inner {
	display: flex;
	align-items: center;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	transform: translateY(1rem);
}

.site-brand__logo {
	width: clamp(180px, 18vw, 252px);
	height: auto;
	display: block;
	transition: width .25s ease, transform .25s ease;
}

.site-navbar__toggler {
	border: 0;
	padding: .25rem 0 .25rem .75rem;
	box-shadow: none;
}

.site-navbar__toggler:focus {
	box-shadow: none;
	outline: 0;
}

.site-navbar__toggler-line {
	display: block;
	width: 26px;
	height: 2px;
	margin: 5px 0;
	background: #16263e;
}

.site-nav {
	gap: 1rem;
}

.site-nav .nav-item:last-child {
	margin-right: 1rem;
}

.site-nav .nav-link,
.site-nav .dropdown-toggle {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	color: #16263e;
	letter-spacing: .06em;
	padding: .9rem 1.35rem;
	transition: color .25s ease;
}

.site-navbar__cta,
.btn-accent,
.btn-outline-brand,
.btn-outline-light {
	height: 52px;
	padding: 0 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	border-radius: 0;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	box-shadow: none;
	transform: none !important;
	white-space: nowrap;
}

.site-header.is-scrolled {
	background: rgba(255,255,255,.94);
	border-bottom-color: rgba(11,63,124,.08);
	box-shadow: 0 10px 30px rgba(22,38,62,.08);
	backdrop-filter: blur(10px);
}

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

.site-header.is-scrolled .site-brand {
	transform: translateY(.5rem);
}

.site-header.is-scrolled .site-brand__logo {
	width: clamp(132px, 11vw, 178px);
}

/* .site-navbar__cta::after,
.btn-accent::after,
.btn-outline-brand::after,
.btn-outline-light::after {
	content: "\2192";
	font-size: 18px;
	line-height: 1;
} */

.btn-accent,
.site-navbar__cta {
	background: #0b3f7c;
	color: #fff;
	border: 1px solid #0b3f7c;
}

.btn-outline-brand {
	background: #fff;
	color: #0b3f7c;
	border: 1px solid #0b3f7c;
}

.btn-outline-light {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,.68);
}

.section-kicker,
.eyebrow {
	font-size: 12px;
	line-height: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #0b3f7c;
}

.section-kicker::before {
	display: none;
}

.top-stage,
.bottom-stage,
.career-feature {
	padding: 22px 0 0;
}

.top-stage {
	padding: 0rem;
}

.jcw-homepage-stack {
	padding-top: 0;
}

.hero-composition--stack,
.career-feature__panel,
.content-panel {
	border-radius: 0;
	border: 0;
	box-shadow: none;
	background: transparent;
}

.hero-composition--stack {
	overflow: hidden;
	position: relative;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	background: #16263e;
}

.hero-composition__content {
	display: block;
}

.hero-composition--stack .hero-composition__content {
	padding: 0;
	position: relative;
	z-index: 2;
}

.hero-background {
	position: absolute;
	inset: 0 0 108px 0;
	background: url('./img/JCWitt_Hero5.jpg') no-repeat top center / cover;
	z-index: 0;
}

.hero-background::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(246,248,251,.97) 0%, rgba(255,255,255,.93) 42%, rgba(244,247,251,.9) 100%);
	background: linear-gradient(180deg, rgba(246,248,251,.97) 0%, rgba(255,255,255,.93) 100%, rgba(244,247,251,.9) 100%);
	clip-path: polygon(0 0, 50% 0, 25% 100%, 0 100%);
	z-index: 1;
}

.hero-background::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,.04) 34%, rgba(22,38,62,.08) 100%);
	z-index: 2;
}

.hero-copy-panel {
	padding: 12rem 2rem 8.1rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	position: relative;
	background: transparent;
	/* max-width: 760px; */
	padding-left: max(3.5rem, calc((100vw - 1320px) / 2 + 1rem));
}

.hero-title span {
	display: block;
}

.hero-title--layout2 {
	font-size: 72px;
	line-height: 78px;
	margin-bottom: 1.25rem;
}

.hero-title__muted {
	color: #aeb5bf;
}

.hero-title__dark {
	color: #16263e;
}

.hero-copy {
	max-width: 360px;
	margin-bottom: 1.6rem;
	font-size: 18px;
	line-height: 1.7;
	color: #16263e;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 0;
}

.hero-actions-layer {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2.5rem;
	z-index: 3;
	padding-left: max(3.5rem, calc((100vw - 1320px) / 2 + 1rem));
	padding-right: 2rem;
}

.hero-actions .btn::after {
	content: "\2192";
	font-size: 18px;
	line-height: 1;
	margin-left: .1rem;
}

.hero-stats-bar {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 0 30px;
	height: 108px;
	background: #16263e;
	align-items: center;
	width: 100%;
	position: relative;
	z-index: 3;
	box-shadow: 0 -1px 0 rgba(255,255,255,.08), 0 18px 38px rgba(22,38,62,.16);
}

.hero-stat {
	display: grid;
	grid-template-columns: 52px auto;
	column-gap: 18px;
	row-gap: 4px;
	padding: 0 28px;
	height: 100%;
	align-content: center;
	align-items: center;
	border-right: 1px solid rgba(255,255,255,.14);
	background: transparent;
}

.hero-stat:last-child {
	border-right: 0;
}

.hero-stat i {
	grid-row: 1 / span 2;
	font-size: 2rem;
	color: #ffffff;
	opacity: .92;
}

.hero-stat strong {
	font-size: 28px;
	line-height: 1;
	color: #fff;
	font-weight: 800;
}

.hero-stat span {
	font-size: 12px;
	line-height: 16px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: rgba(255,255,255,.94);
}

.content-panel {
	padding: 44px 0 0;
}

.services-panel,
.projects-panel,
.crew-panel,
.jobs-panel {
	padding-bottom: 24px;
}

.section-heading-wrap {
	padding: 0 10px;
	margin-bottom: 26px;
}

.section-heading-wrap--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
}

.section-title {
	/* font-size: 40px; */
	line-height: 46px;
	max-width: 460px;
	margin: 0;
}

.row > [class*="col-"] {
	margin-bottom: 18px;
}

.service-card,
.project-card,
.crew-card,
.history-card {
	position: relative;
	width: 100%;
}

.service-card--layout2,
.project-card--compact,
.job-card,
.crew-card--layout2 {
	border: 0;
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba(22, 38, 62, .10);
	overflow: hidden;
	background: #fff;
}

.service-card__media {
	position: relative;
	overflow: hidden;
}

.service-card__media--compact {
	min-height: 166px;
	border-radius: 0;
}

.service-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-card__badge {
	position: absolute;
	width: 68px;
	height: 68px;
	left: 0;
	bottom: 0;
	border-radius: 0;
	background: rgba(11,63,124,.96);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 1.5rem;
}

.service-card__body {
	padding: 18px 18px 16px;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.service-card h3,
.project-card h3,
.job-card h3 {
	font-size: 24px;
	line-height: 30px;
}

.service-card__link,
.text-link,
.project-card__link {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	color: #0b3f7c;
}

.service-card__link::after,
.text-link::after,
.project-card__link::after {
	content: "\2192";
	font-size: 18px;
	line-height: 1;
}

.project-card--compact {
	min-height: 220px;
}

.project-card--compact img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-card--compact .project-card__overlay {
	min-height: 220px;
	padding: 18px;
	justify-content: flex-end;
}

.project-card__overlay {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	background: linear-gradient(180deg, rgba(22,38,62,.08), rgba(22,38,62,.9));
}

.project-card__location,
.project-card h3,
.project-card__link {
	color: #fff;
}

.career-feature__panel {
	padding: 30px 0;
}

.career-feature__panel .row > [class*="col-"] {
	margin-bottom: 0;
}

.career-feature__panel .row {
	align-items: stretch !important;
}

.career-feature__title {
	font-size: 64px;
	line-height: 68px;

}

.career-feature__subline {
	font-size: 32px;
	line-height: 36px;
	margin-bottom: 1.5rem;
}

.benefit-list,
.crew-card__skills,
.job-card__meta,
.contact-card__list,
.site-footer__links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.benefit-list {
	display: grid;
	gap: .95rem;
	margin-bottom: 2rem;
}

.benefit-list li,
.job-card__meta li,
.contact-card__list li {
	display: flex;
	align-items: center;
	gap: .75rem;
}

.benefit-list li {
	font-size: 15px;
	font-weight: 600;
}

.benefit-list i {
	width: 24px;
	color: #8d99a6;
	font-size: 1.15rem;
	text-align: center;
}

.career-feature__media {
	position: relative;
	min-height: 560px;
	border-radius: 8px;
	overflow: hidden;
	background: #d9dee4;
}

.career-feature__media > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.career-feature__note {
	font-size: 28px;
	position: absolute;
	left: 14%;
	bottom: 14%;
	z-index: 2;
	font-family: "Oswald", "Bebas Neue", "Arial Narrow", sans-serif;
	line-height: 1.05;
	color: #ffffff;
	max-width: 180px;
	transform: rotate(-8deg);
	text-shadow: 0 8px 26px rgba(22,38,62,.35);
}

.career-feature__mark {
	width: 160px;
	opacity: .85;
	position: absolute;
	right: -18px;
	bottom: -12px;
	z-index: 2;
}

.career-feature__mark img {
	width: 100%;
	height: auto;
}

.video-preview-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 110px;
	height: 110px;
	border-radius: 50%;
	border: 3px solid rgba(255,255,255,.9);
	background: rgba(22,38,62,.24);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	z-index: 3;
	backdrop-filter: blur(3px);
}

.crew-slider--grid {
	display: grid;
	gap: 1.2rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.crew-card__visual {
	position: absolute;
	inset: 0;
}

.crew-card__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	
}

.crew-card--layout2 {
	min-height: 470px;
}

.crew-card__overlay {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: linear-gradient(180deg, rgba(22,38,62,.04) 0%, rgba(11,63,124,.78) 62%, rgba(11,63,124,.96) 100%);
}

.crew-card__overlay.people-1 {}

.crew-card__overlay.people-2 {}

.crew-card__overlay.people-3 {}

.crew-card__overlay.people-4 {}

.crew-card--layout2 .crew-card__overlay {
	padding: 18px 16px 12px;
}

.crew-card--layout2 h3 {
	font-size: 28px;
	line-height: 30px;
	color: #fff;
	margin-bottom: 4px;
}

.crew-card__roleline {
	font-size: 15px;
	color: rgba(255,255,255,.94);
	margin-bottom: 1rem;
}

.crew-card__skills {
	display: grid;
	gap: .45rem;
	margin-bottom: .5rem;
}

.crew-card__skills li {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: .75rem;
}

.crew-card__skills li {
	font-size: 12px;
}

.crew-card__skills span {
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.crew-card__skills em {
	display: inline-block;
	width: 84px;
	height: 10px;
	background:
		repeating-linear-gradient(
			90deg,
			rgba(255,255,255,.98) 0,
			rgba(255,255,255,.98) 11px,
			transparent 11px,
			transparent 16px
		);
}

.crew-card__since {
	font-size: 12px;
	text-transform: uppercase;
	text-align: center;
	padding-top: 8px;
	margin: 0;
	color: rgba(255,255,255,.9);
}

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

.job-card {
	min-height: 310px;
	padding: 18px 16px 14px;
	display: flex;
	flex-direction: column;
}

.job-card h3 {
	font-size: 22px;
	line-height: 28px;
	margin-bottom: 16px;
}

.job-card__meta {
	display: grid;
	gap: .55rem;
}

.job-card__meta {
	margin-bottom: auto;
}

.job-card__icon {
	font-size: 3.2rem;
	color: rgba(141,153,166,.7);
	margin: 1.5rem 0 1.25rem;
	text-align: right;
}

.job-card--cta {
	background: #0b3f7c;
	justify-content: space-between;
}

.job-card--cta h3,
.job-card--cta p {
	color: #fff;
}

.side-bottom-grid {
	display: grid;
	gap: 0;
	grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
	align-items: stretch;
	margin-top: 1.5rem;
}

.side-bottom-grid .content-panel {
	padding-top: 0;
}

.history-card {
	display: grid;
	grid-template-columns: minmax(280px, .52fr) minmax(0, .48fr);
	background: #ffffff;
	box-shadow: 0 18px 44px rgba(22,38,62,.08);
}

.history-card__copy,
.contact-card {
	min-height: 440px;
}

.history-card__copy {
	padding: 3.35rem 3rem 3rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(245,246,247,.96) 100%);
}

.history-card__copy .section-kicker {
	margin-bottom: .9rem;
}

.history-card__copy .section-title {
	max-width: 8ch;
	margin-bottom: 1.6rem;
}

.history-card__copy p:not(.section-kicker) {
	max-width: 290px;
	margin-bottom: 2rem;
}

.history-card__image {
	border-radius: 0;
}

.history-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.contact-card {
	background: linear-gradient(135deg, #0b3f7c 0%, #123a73 46%, #0a2d59 100%);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: stretch;
	box-shadow: 0 18px 44px rgba(11,63,124,.16);
}

.contact-card__content {
	padding: 3.45rem 3rem 3rem;
	position: relative;
	z-index: 1;
	max-width: 470px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.contact-card__content .section-title {
	/* max-width: 9ch; */
	margin-bottom: 1.5rem;
}

.contact-card__content > p {
	max-width: 320px;
	font-size: 1.15rem;
	line-height: 1.6;
}

.contact-card__mark {
	width:1040px;
	height: 800px;
	opacity: .82;
	position: absolute;
	right: -364px;
	bottom: -48px;
}

.contact-card__mark img {
	width: 100%;
	height: auto;
}

.section-title--light,
.contact-card,
.contact-card a,
.contact-card p,
.contact-card li {
	color: #ffffff;
}

.contact-card__list {
	display: grid;
	gap: 1.15rem;
	margin: 2rem 0 2.4rem;
}

.contact-card__list li {
	font-size: 1.05rem;
}

.contact-card__list i {
	width: 24px;
	font-size: 1.2rem;
	text-align: center;
}

.site-footer {
	padding: 40px 0;
}

.site-footer__grid {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	background: transparent;
}

.site-footer__brandline,
.site-footer__meta,
.site-footer__links {
	display: flex;
}

.site-footer__brandline {
	align-items: center;
	gap: 1rem;
}

.site-footer__meta {
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(11,63,124,.12);
	margin-top: 1.5rem;
}

.site-footer__links {
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
}

.site-footer__subtitle,
.site-footer__copy,
.site-footer__links a {
	color: #2c3138;
}

.site-footer__mark {
	background: transparent;
	box-shadow: none;
	padding: 0;
	width: 54px;
	height: 54px;
}

@media (max-width: 991px) {
	.site-navbar {
		padding: .85rem 0;
	}

	.site-navbar__inner {
		align-items: flex-start;
	}

	.site-navbar .navbar-collapse {
		margin-top: .75rem;
		padding: 1rem 1.1rem 1.2rem;
		background: rgba(255,255,255,.96);
		backdrop-filter: blur(10px);
		box-shadow: 0 16px 40px rgba(22,38,62,.10);
	}

	.site-nav {
		padding-bottom: .75rem;
	}

	.site-nav .nav-link,
	.site-nav .dropdown-toggle {
		padding: .65rem 0;
	}

	.hero-actions {
		gap: .75rem;
	}

	.hero-stat {
		grid-template-columns: 44px auto;
		padding: 0 18px;
	}

	.career-feature__panel .row > [class*="col-"] {
		margin-bottom: 1.5rem;
	}

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

	.history-card__copy,
	.contact-card__content {
		padding: 2.25rem 2rem;
	}

	.contact-card__mark {
		width: 300px;
		right: -36px;
		bottom: -42px;
	}

	.site-footer__meta {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 1199px) {
	.hero-composition--stack {
		margin-left: 0;
		margin-right: 0;
		width: auto;
	}

	.hero-copy-panel {
		padding: 7rem 1.25rem 6.4rem;
		max-width: none;
		padding-left: 1.25rem;
	}

	.hero-actions-layer {
		bottom: 1.75rem;
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.hero-background {
		inset: 0 0 108px 0;
	}

	.hero-stat i {
		font-size: 1.7rem;
	}

	.hero-stats-bar,
	.jobs-grid,
	.crew-slider--grid,
	.side-bottom-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.career-feature__title,
	.hero-title--layout2 {
		font-size: 56px;
		line-height: 62px;
	}
}

@media (max-width: 767px) {
	.top-stage,
	.bottom-stage,
	.career-feature {
		padding-top: 12px;
	}

	.top-stage {
		padding-top: 0;
	}

	.hero-title--layout2,
	.career-feature__title {
		font-size: 42px;
		line-height: 46px;
	}

	.section-title {
		font-size: 30px;
		line-height: 36px;
	}

	.section-heading-wrap--split,
	.hero-actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.hero-stats-bar,
	.jobs-grid,
	.crew-slider--grid,
	.side-bottom-grid {
		grid-template-columns: 1fr;
	}

	.history-card__copy,
	.contact-card {
		min-height: 0;
	}

	.history-card__copy {
		padding: 2rem 1.5rem;
	}

	.contact-card__content {
		padding: 2.2rem 1.5rem 8rem;
	}

	.hero-stats-bar {
		height: auto;
		padding: 0;
	}

	.hero-stat {
		grid-template-columns: 42px auto;
		border-right: 0;
		border-bottom: 1px solid rgba(255,255,255,.14);
		min-height: 94px;
		padding: 1rem 1.25rem;
	}

	.hero-stat:last-child {
		border-bottom: 0;
	}

	.career-feature__media {
		min-height: 300px;
	}

	.hero-copy-panel {
		padding: 6.2rem 1rem 8.25rem;
	}

	.hero-actions-layer {
		bottom: 1.5rem;
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.site-brand__logo {
		width: 190px;
	}

	.site-header.is-scrolled .site-brand__logo {
		width: 160px;
	}

	.video-preview-button {
		width: 84px;
		height: 84px;
		font-size: 1.5rem;
	}

	.career-feature__note {
		left: 10%;
		bottom: 10%;
		font-size: 22px;
	}

	.contact-card__mark {
		width: 220px;
		right: -26px;
		bottom: -26px;
	}
}
