/* Small additions on top of the existing main.css design system - not part of the original template. */

/* Homepage sections stack up with the base template's 6em top/bottom wrapper
   padding on every single one - with ~10 sections that compounds into a lot
   of dead vertical space. Tighten it slightly, scoped to the homepage only. */
.home-section {
	padding-top: 4.25em;
	padding-bottom: 4.25em;
	margin-bottom: 1.5em;
}

.box {
	border: solid 2px rgba(210, 215, 217, 0.75);
	border-radius: 4px;
	padding: 1.5em;
	margin: 0 0 2em 0;
}

.validation-summary-errors ul {
	list-style: none;
	margin: 0 0 2em 0;
	padding: 1em 1.5em;
	border-radius: 4px;
	background: rgba(255, 0, 0, 0.08);
	color: #b00020;
}

.validation-message,
.field-validation-error {
	display: block;
	color: #b00020;
	font-size: 0.8em;
	margin-top: 0.35em;
}

.input-validation-error {
	border-color: #b00020 !important;
}

/* Contact form: the base template only styles text/email/password/select/textarea,
   leaving tel inputs and checkboxes with no visible box at all. Darken and unify. */
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select,
form textarea {
	background: #eef0f2;
	border: solid 1px #9aa1a9;
}

	form input[type="text"]:focus,
	form input[type="email"]:focus,
	form input[type="tel"]:focus,
	form select:focus,
	form textarea:focus {
		background: #fff;
		border-color: #df7366;
	}

form input[type="checkbox"] {
	appearance: auto;
	-webkit-appearance: auto;
	-moz-appearance: auto;
	width: 1.15em;
	height: 1.15em;
	flex: none;
	margin: 0.2em 0 0 0;
}

.consent-row {
	display: flex;
	align-items: flex-start;
	gap: 0.6em;
}

	.consent-row label {
		display: inline;
		margin: 0;
	}

.contact-form-box {
	width: 100%;
	background: #f3f4f6;
	border: solid 1px #d7dade;
	border-radius: 0.75em;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	padding: 2.5em;
}

	@media screen and (max-width: 736px) {
		.contact-form-box {
			padding: 1.5em;
		}
	}

/* ==========================================================================
   Homepage refinement pass - masthead, hero, pillars, client work, etc.
   ========================================================================== */

/* Slim global masthead: the old design put a full photo hero + tagline +
   circled CTA in #header on every page, competing with each page's own H1.
   Reduced to logo + nav only so the homepage hero below can lead visually. */
#header {
	background-image: none;
	background-color: #201b26;
	padding: 4.5em 0 1.25em 0;
	text-align: center;
}

	#header .site-title {
		display: inline-flex;
		align-items: center;
		gap: 0.6em;
		margin: 0;
		white-space: nowrap;
	}

		#header .site-title-mark {
			height: 48px;
			width: auto;
			filter: drop-shadow(0 0 6px rgba(107, 178, 255, 0.65)) drop-shadow(0 0 18px rgba(79, 168, 255, 0.4));
			transition: filter 0.3s ease-in-out;
		}

		#header .site-title-text {
			color: #fff;
			font-size: 1.3em;
			font-weight: 600;
			text-shadow: 0 0 10px rgba(107, 178, 255, 0.5);
			transition: text-shadow 0.3s ease-in-out;
		}

		#header .site-title:hover .site-title-mark {
			filter: drop-shadow(0 0 10px rgba(107, 178, 255, 0.85)) drop-shadow(0 0 26px rgba(79, 168, 255, 0.6));
		}

		#header .site-title:hover .site-title-text {
			text-shadow: 0 0 16px rgba(107, 178, 255, 0.8);
		}

		@media screen and (max-width: 736px) {
			#header .site-title-mark {
				height: 38px;
			}

			#header .site-title-text {
				font-size: 1.1em;
			}
		}

/* Home hero - full-bleed workspace photo with a real-text overlay and a
   summary "trust strip" along the bottom. */
#banner.home-hero {
	position: relative;
	overflow: hidden;
	padding: 0;
	text-align: left;
	color: #fff;
}

	.hero-media {
		position: absolute;
		inset: 0;
		z-index: 0;
	}

		.hero-bg-image {
			display: block;
			width: 100%;
			height: 100%;
			object-fit: cover;
			object-position: 75% 90%;
		}

		.hero-overlay {
			position: absolute;
			inset: 0;
			background: linear-gradient(100deg,
				rgba(6, 8, 14, 0.95) 0%,
				rgba(6, 8, 14, 0.86) 28%,
				rgba(6, 8, 14, 0.5) 55%,
				rgba(6, 8, 14, 0.18) 78%,
				rgba(6, 8, 14, 0.08) 100%);
		}

	.hero-content {
		position: relative;
		z-index: 1;
		max-width: 1400px;
		margin: 0 auto;
		padding: 5em 2em 3.5em 2em;
	}

		.hero-content > .hero-brand,
		.hero-content > header,
		.hero-content > footer {
			max-width: 34em;
		}

	.hero-brand {
		display: flex;
		align-items: center;
		gap: 1.5em;
		margin-bottom: 2.5em;
	}

	.hero-logo {
		font-size: 1.7em;
		line-height: 1.15em;
		margin: 0;
	}

		.hero-logo .brand-share {
			color: #fff;
			font-weight: 600;
		}

		.hero-logo .brand-dev {
			color: #4fa8ff;
			font-weight: 600;
		}

		.hero-logo .brand-sub {
			display: block;
			font-size: 0.42em;
			letter-spacing: 0.3em;
			text-transform: uppercase;
			color: rgba(255, 255, 255, 0.65);
			font-weight: 400;
			margin-top: 0.3em;
		}

	.hero-brand-divider {
		display: inline-block;
		width: 1px;
		height: 2.5em;
		background: rgba(255, 255, 255, 0.25);
	}

	.hero-motto {
		font-size: 0.72em;
		line-height: 1.7em;
		letter-spacing: 0.14em;
		text-transform: uppercase;
		color: rgba(255, 255, 255, 0.7);
		margin: 0;
	}

	#banner.home-hero h1 {
		color: #fff;
		font-size: 2.75em;
		line-height: 1.18em;
		margin-bottom: 0.5em;
	}

		#banner.home-hero h1 .accent {
			color: #4fa8ff;
		}

	#banner.home-hero .hero-sub {
		color: rgba(255, 255, 255, 0.92);
		font-size: 1.2em;
		margin: 0 0 1em 0;
	}

	#banner.home-hero .hero-entity {
		font-size: 0.95em !important;
		color: rgba(255, 255, 255, 0.62);
		margin: 0;
	}

	#banner.home-hero footer {
		margin-top: 2em;
	}

	#banner.home-hero footer .button {
		margin: 0 0.75em 0.5em 0;
	}

	#banner.home-hero footer .icon {
		margin-left: 0.4em;
	}

	.button.outline {
		background: transparent;
		border: solid 1px rgba(255, 255, 255, 0.55);
		color: #fff;
	}

		.button.outline:hover {
			background: rgba(255, 255, 255, 0.1);
			color: #fff;
		}

	@keyframes trust-strip-fade-in {
		from { opacity: 0; transform: translateY(14px); }
		to   { opacity: 1; transform: translateY(0); }
	}

	.hero-trust-strip {
		position: relative;
		z-index: 1;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 1.5em;
		background: linear-gradient(180deg,
			rgba(6, 8, 14, 0.45) 0%,
			rgba(6, 8, 14, 0.85) 45%,
			rgba(6, 8, 14, 0.92) 100%);
		padding: 2em 2em 1.5em 2em;
		animation: trust-strip-fade-in 1.8s ease-out 0.5s both;
	}

		.trust-item {
			display: flex;
			align-items: center;
			gap: 0.85em;
		}

			.trust-item .icon {
				color: #4fa8ff;
			}

				.trust-item .icon:before {
					font-size: 1.8em;
				}

			.trust-item strong {
				display: block;
				color: #fff;
				font-weight: 600;
				font-size: 0.95em;
				letter-spacing: 0.03em;
			}

			.trust-item span {
				display: block;
				color: rgba(255, 255, 255, 0.55);
				font-size: 0.75em;
				letter-spacing: 0.03em;
			}

		.trust-tagline {
			text-align: right;
			font-size: 0.72em;
			letter-spacing: 0.12em;
			text-transform: uppercase;
			color: rgba(255, 255, 255, 0.55);
			line-height: 1.6em;
			border-top: solid 2px #df7366;
			padding-top: 0.4em;
		}

			.trust-tagline span {
				display: block;
			}

	@media screen and (max-width: 960px) {
		.hero-content {
			padding: 4em 1.5em 3em 1.5em;
		}

		#banner.home-hero h1 {
			font-size: 2.25em;
		}
	}

	@media screen and (max-width: 736px) {
		.hero-overlay {
			background: rgba(6, 8, 14, 0.9);
		}

		.hero-content > .hero-brand,
		.hero-content > header,
		.hero-content > footer {
			max-width: 100%;
		}

		.hero-brand {
			flex-wrap: wrap;
			gap: 1em;
			margin-bottom: 2em;
		}

		#banner.home-hero h1 {
			font-size: 1.85em;
		}

		#banner.home-hero footer .button {
			display: block;
			width: 100%;
			max-width: 320px;
			margin: 0 0 0.75em 0;
		}

		.hero-trust-strip {
			flex-direction: column;
			align-items: flex-start;
			padding: 1.5em;
		}

		.trust-tagline {
			text-align: left;
		}
	}

/* Client logos: pull the section closer to the hero and keep the carousel
   from dominating the page - a tasteful strip, not a huge feature block. */
.client-logos-wrapper {
	padding-top: 2.5em;
	padding-bottom: 2.5em;
}

	.client-logos-wrapper .container.special > header {
		margin-bottom: 1.5em;
	}

/* Service pillars */
.pillars {
	margin-top: 1em;
}

	.pillar {
		text-align: left;
		padding: 2em 1.75em;
		border: solid 1px rgba(72, 57, 73, 0.1);
		border-radius: 0.4em;
		background: #fff;
	}

	.pillar-icon {
		display: inline-block;
		margin-bottom: 0.6em;
		color: #df7366;
	}

		.pillar-icon:before {
			font-size: 2em;
		}

	.pillar h3 {
		margin-bottom: 0.5em;
	}

	.pillar > p {
		text-align: left;
	}

	.pillar-list {
		list-style: none;
		margin: 1em 0 1.25em 0;
		padding: 0;
		display: flex;
		flex-wrap: wrap;
		gap: 0.5em;
	}

		.pillar-list li {
			font-size: 0.8em;
			color: #6b5f6c;
			background: #f4f2f0;
			border-radius: 1em;
			padding: 0.3em 0.85em;
		}

	.pillar-link {
		display: inline-block;
		font-weight: 400;
		color: #df7366;
		border-bottom: 0;
	}

		.pillar-link:hover {
			color: #ef8376;
		}

		.pillar-link .icon {
			margin-left: 0.25em;
		}

		.pillar-link .icon:before {
			font-size: 0.9em;
		}

/* Problem-solving section */
.problem-solving header {
	max-width: 42em;
	margin-left: auto;
	margin-right: auto;
}

.solution-chips {
	list-style: none;
	margin: 2em 0 1.5em 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75em;
}

	.solution-chips li {
		background: rgba(255, 255, 255, 0.6);
		border: solid 1px rgba(72, 57, 73, 0.15);
		border-radius: 2em;
		padding: 0.5em 1.1em;
		font-size: 0.95em;
	}

		.solution-chips .icon {
			color: #df7366;
			margin-right: 0.4em;
		}

.problem-solving-footnote {
	max-width: 42em;
	margin: 0 auto;
	text-align: center;
	font-style: italic;
	color: #7d7d7d;
}

/* Recent Client Work */
.work-card {
	display: flex;
	flex-direction: column;
	border: solid 1px rgba(72, 57, 73, 0.1);
	border-radius: 0.4em;
	overflow: hidden;
	background: #fff;
	margin-bottom: 2em;
}

	.work-card-media {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 190px;
		padding: 1em;
		background: #f4f2f0;
		overflow: hidden;
	}

		.work-card-media img {
			width: auto;
			height: auto;
			max-width: 100%;
			max-height: 100%;
			object-fit: contain;
		}

	/* Cards backed by a real project screenshot instead of just a logo. */
	.work-card-media-screenshot {
		padding: 0;
		display: block;
	}

		.work-card-media-screenshot > img:first-child {
			width: 100%;
			height: 100%;
			max-width: none;
			max-height: none;
			object-fit: cover;
			object-position: top center;
		}

		.work-card-badge {
			position: absolute;
			left: 0.75em;
			bottom: 0.75em;
			max-width: 40%;
			max-height: 42px;
			padding: 0.35em 0.6em;
			background: rgba(255, 255, 255, 0.92);
			border-radius: 0.3em;
			box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
		}

	.work-card-media-placeholder {
		color: #9a9a9a;
		font-size: 0.85em;
		font-style: italic;
	}

	.work-card-body {
		padding: 1.1em 1.25em;
	}

		.work-card-body h3 {
			font-size: 1.1em;
			margin-bottom: 0.5em;
		}

	.work-card-tags {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-wrap: wrap;
		gap: 0.5em;
	}

		.work-card-tags li {
			font-size: 0.75em;
			color: #6b5f6c;
			background: #f4f2f0;
			border-radius: 1em;
			padding: 0.25em 0.75em;
		}

/* EmployEase spotlight - kept intentionally compact */
.employease-row {
	align-items: center;
}

.employease-copy .employease-note {
	color: #7d7d7d;
	font-style: italic;
}

.employease-media {
	text-align: center;
}

	.employease-media img {
		max-width: 260px;
		width: 100%;
		border-radius: 0.5em;
	}

	@media screen and (max-width: 736px) {
		.employease-media {
			margin-top: 2em;
		}

		.employease-media img {
			max-width: 200px;
		}
	}

/* Product cards */
.product-card {
	text-align: left;
}

	.product-card-media {
		display: block;
		aspect-ratio: 4 / 3;
		border-radius: 0.4em;
		overflow: hidden;
		margin-bottom: 1em;
	}

		.product-card-media img {
			width: 100%;
			height: 100%;
			object-fit: cover;
		}

	.product-card h3 {
		margin-bottom: 0.25em;
	}

	.product-tagline {
		margin-bottom: 0.5em;
		font-style: italic;
		color: #6b5f6c;
	}

	.product-category {
		display: inline-block;
		font-size: 0.75em;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		color: #df7366;
	}

/* Testimonial / pull-quote */
.testimonial-section header {
	margin-bottom: 1.5em;
}

.featured-quote {
	max-width: 42em;
	margin: 0 auto;
	border-left: 0;
	padding: 0;
	font-style: normal;
	text-align: center;
}

	.featured-quote .icon {
		color: #df7366;
	}

		.featured-quote .icon:before {
			font-size: 2em;
		}

	.featured-quote p {
		font-size: 1.35em;
		line-height: 1.6em;
		color: #483949;
		text-align: center;
		margin: 0.5em 0 1em 0;
	}

	.featured-quote cite {
		font-style: normal;
		color: #7d7d7d;
	}

/* GEO / local relevance section */
.geo-section {
	max-width: 46em;
	margin: 0 auto;
	text-align: left;
}

	.geo-section header {
		text-align: left;
	}

	.geo-section h2 .icon {
		color: #df7366;
		margin-right: 0.3em;
	}

	.geo-section p {
		text-align: left;
	}

/* Clean footer */
.footer-grid {
	margin-bottom: 2em;
}

.footer-logo {
	font-size: 1.4em;
	color: #fff;
	margin-bottom: 0.5em;
}

.footer-about p,
.footer-nav p {
	text-align: left;
}

.footer-nav h4,
.footer-connect h4 {
	color: #fff;
	margin-bottom: 1em;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Shrink the Connect icon row so all five icons stay on one line at every
   breakpoint, instead of wrapping to a second row on narrower columns. */
.footer-connect .icons {
	font-size: 0.55em;
	white-space: nowrap;
	padding-left: 0.5em;
	padding-right: 0.5em;
}

	.footer-links li {
		margin-bottom: 0.6em;
	}

	.footer-links a {
		color: rgba(255, 255, 255, 0.75);
	}

		.footer-links a:hover {
			color: #fff;
		}

/* Respect reduced-motion preferences for the subtle glow/entrance effects
   already defined in main.css. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}
