/* assets/css/main.css */

:root {
	--max-width: 1100px;
	--spacing: 1.5rem;
	--spacing-lg: 3rem;
	--text-color: #111;
	--muted: #666;
	--accent: #3A6F73;
}

.container {
	max-width: var(--max-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.ct-container,
.entry-header,
.entry-content,
.page-content,
.content-area {
	max-width: var(--max-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.section {
	margin-bottom: var(--spacing-lg);
}

.site-main > .section + .section {
	margin-top: 4rem;
}

.section-divider {
	border-top: 1px solid #eee;
	padding-top: 3rem;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--text-color);
	line-height: 1.6;
}



h1 {
	font-size: 2.25rem;
	margin-bottom: 0.5rem;
}

h2 {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

h2,
h3 {
	color: var(--accent);
}

a {
	color: #111;
	/* same as body text */
	text-decoration: underline;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--accent); 
}

.site-title a {
	text-decoration: none;
	color: inherit;
}

.button,
button,
input[type="submit"],
.cta-button {
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.cta-button:hover {
	opacity: 0.9;
}

.project-summary {
	color: var(--muted);
	font-size: 1.1rem; 
}

.project-hero-content {
	display: grid;
	gap: 1rem;
}

.project-hero-media {
	margin: 0;
}

.project-hero-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

@media (min-width: 900px) {
	.project-hero-content {
		grid-template-columns: minmax(0, 1fr) 360px;
		align-items: start;
		column-gap: 1.5rem;
	}

	.project-summary {
		grid-column: 1;
		grid-row: 1;
	}

	.project-hero-media {
		grid-column: 2;
		grid-row: 1;
	}

	.project-summary {
		margin: 0;
	}
}

.project-metrics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
}
ol.process-list {
	font-size:30px;
}
ol.process-list p {
	font-size: 1.1rem;
}
.metric {
	border: 1px solid #ececec;
	background: #fcfcfc;
	padding: 1rem 1.1rem;
	border-radius: 8px;
	display: grid;
	gap: 0.35rem;
}

.metric + .metric {
	margin-top: 0.75rem;
}

.metric-label {
	display: block;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--muted);
	opacity: 0.85;
}

.metric-value {
	font-size: clamp(1.4rem, 2.2vw, 1.9rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 2rem;
}

.project-card {
	border: 1px solid #eee;
	padding: 1rem;
	border-radius: 8px;
	transition: transform 0.1s ease;
}

.project-card:hover {
	transform: translateY(-2px); 
}

.project-meta p {
	margin: 0.25rem 0;
	font-size: 0.9rem;
	color: var(--muted); 
}

.hero {
	padding-top: 5rem;
	padding-bottom: 1rem;
}

.hero-title {
	font-size: clamp(2.6rem, 6vw, 4rem);
	line-height: 1.02;
	margin-bottom: 1rem;
}

.hero-summary {
	margin: 0;
}
.hero-proof {
	margin-top: 0.75rem;
	font-size: 0.95rem;
	color: #6b7280; 
}

.hero-divider {
	margin-top: 2rem;
	border-top: 1px solid;
	opacity: 0.2;
}

.trust-strip {
	margin-top: -1rem;
}

.trust-strip-list {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	text-align: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.trust-strip-list li {
	list-style: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: #6b7280;
}

.trust-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
}

.trust-icon svg {
	width: 20px;
	height: 20px;
	stroke-width: 1.5;
	opacity: 0.8;
}

.trust-text {
	font-size: 13px;
	text-align: center;
	line-height: 1.35;
}

@media (max-width: 900px) {
	.trust-strip-list {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 600px) {
	.trust-strip-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px 12px;
		text-align: center;
	}

	.trust-strip-list > li:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		justify-self: center;
	}

	.trust-strip-list li {
		font-size: inherit;
		line-height: normal;
	}

	.trust-text {
		font-size: 13px;
		line-height: 1.4;
	}

	.hero {
		padding: 40px 20px 0px;
	}

	.hero h1 {
		margin-bottom: 12px;
		max-width: 90%;
	}

	.hero p {
		margin-bottom: 16px;
		max-width: 90%;
	}

	.trust-strip {
		margin-top: 20px;
	}

	.project-card,
	.selected-work-card {
		padding: 20px;
	}


	.project-card a,
	.selected-work-card a {
		display: inline-block;
		margin-top: 12px;
		font-weight: 500;
	}

	.process-step {
		display: flex;
		align-items: baseline;
		gap: 8px;
	}

	.process-step-number {
		font-size: 20px;
		font-weight: 600;
	}

	.process-step h3,
	.home-process li h3 {
		font-size: 20px;
		margin: 0;
	}

	.process-step p,
	.home-process li p {
		margin-top: 8px;
	}

	.home-process ol {
		list-style: none;
		padding-left: 0;
		counter-reset: process-step;
	}

	.home-process li {
		position: relative;
		padding-left: 2rem;
		margin-bottom: 1rem;
	}

	.home-process li::before {
		content: counter(process-step);
		counter-increment: process-step;
		position: absolute;
		left: 0;
		top: 0;
		font-size: 20px;
		font-weight: 600;
		line-height: 1.2;
	}

	.contact-form input,
	.contact-form textarea,
	.contact-cta-form input,
	.contact-cta-form textarea {
		padding: 12px;
		font-size: 16px;
	}

	.contact-form label,
	.contact-cta-form label {
		margin-bottom: 4px;
		font-size: 14px;
		display: block;
	}

	.contact-form .form-group,
	.contact-form p,
	.contact-cta-form .form-group,
	.contact-cta-form p {
		margin-bottom: 14px;
	}

	.mobile-cta {
		position: fixed;
		bottom: 16px;
		left: 16px;
		right: 16px;
		z-index: 1000;
	}

	.mobile-cta a {
		display: block;
		text-align: center;
		padding: 14px;
		background: #111;
		color: #fff;
		border-radius: 8px;
		text-decoration: none;
	}
}

.home-selected-work {
	background: #fafafa;
	padding-top: 4rem;
	padding-bottom: 1rem;
}

.selected-work-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2.5rem;
	margin-top: 1.5rem;
}

.selected-work-card {
	border: 1px solid #e3e3e3;
	padding: 1.6rem;
	border-radius: 10px;
	background: #fff;
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.selected-work-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.selected-work-card h3 {
	margin-top: 0;
}
.project-card h3,
.selected-work-card h3 {
	font-size: 25px;
}

.selected-work-card h3 a {
	text-decoration: none;
}

.selected-work-card ul {
	margin: 0.75rem 0 0;
	padding-left: 1.25rem;
}

.selected-work-link-wrap {
	margin-top: 1rem;
}

.home-contact-cta {
	background: #1b1b1b;
	color: #f6f6f6;
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
	text-align: center;
}

.contact-cta-inner {
	max-width: 680px;
	margin: 0 auto;
	display: grid;
	gap: 1.15rem;
}
h2#contact-cta-title {
	color: #fff;
}
.contact-cta-inner p {
	margin: 0 auto 1rem;
}

.contact-cta-form {
	margin-top: 0.5rem;
	text-align: left;
}

.cta-button {
	display: inline-block;
	padding: 0.75rem 1.2rem;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	text-decoration: none;
	background: #f6f6f6;
	color: #1b1b1b;
	font-weight: 600;
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.cta-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.4rem;
	margin-top: 1rem;
}

.service-card {
	border: 1px solid #ececec;
	border-radius: 8px;
	padding: 1rem 1.1rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.service-card h3 {
	line-height: 1.3;
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.service-icon {
	margin-bottom: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.service-icon svg {
	width: 24px;
	height: 24px;
	stroke-width: 1.5;
	opacity: 0.85;
}

.site-main a:not(.cta-button) {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	text-decoration-color: rgba(0, 0, 0, 0.2);
	transition: text-decoration-color 0.16s ease;
}

.site-main a:not(.cta-button):hover {
	text-decoration-color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 820px) {
	.services-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.service-card {
		text-align: center;
	}
}

.mobile-cta {
	display: none;
}

.work-archive {
	padding-top: 2.5rem;
	padding-bottom: 4rem;
}

.work-archive-header {
	margin-bottom: 2.25rem;
}

.work-archive-subheadline {
	color: var(--muted);
	margin: 0;
}

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

.work-card {
	border: 1px solid #e9e9e9;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
	overflow: hidden;
}

.work-card-link {
	display: block;
	height: 100%;
	padding: 1.6rem;
	text-decoration: none;
	color: inherit;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.work-card:hover .work-card-link,
.work-card:focus-within .work-card-link {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.site-main a.work-card-link {
	text-decoration: none;
}

.work-card-category {
	margin: 0 0 0.7rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b7280;
}

.work-card-title {
	margin: 0 0 0.6rem;
	font-size: 1.2rem;
	line-height: 1.3;
	font-weight: 700;
}

.work-card-description {
	margin: 0 0 0.9rem;
	color: #52525b;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 12;
	overflow: hidden;
}

.work-card-impact {
	margin: 0;
	padding: 0.6rem 0.7rem;
	border-left: 3px solid #111;
	background: #f8f8f8;
	font-size: 0.94rem;
	display: grid;
	gap: 0.2rem;
}

.work-card-impact-label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #4b5563;
}

.work-card-impact-value {
	color: #111;
	font-weight: 700;
}

.work-card-cta {
	display: inline-block;
	margin-top: 1rem;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.work-pagination {
	margin-top: 2rem;
}

.impact-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: #e0edff;
	color: #1d4ed8;
	font-weight: 600;
	font-size: 0.85rem; 
}

@media (max-width: 1024px) {
	.work-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.work-grid {
		grid-template-columns: 1fr;
	}

	.work-card-link {
		padding: 1.35rem;
	}
}

/* =========================
   MERGED ENHANCEMENTS
========================= */

body {
	line-height: 1.6;
}

.work-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.work-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.work-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.work-card.featured {
		grid-column: span 3;
	}
}

.work-card {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 1.5rem;
	background: #ffffff;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

@media (hover: hover) {
	.work-card:hover {
		transform: translateY(-3px);
		box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
	}
}

.work-card-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.work-card-description {
	font-size: 0.95rem;
	color: #4b5563;
	margin-bottom: 1rem;
}

.work-card-impact {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: #e0edff;
	color: #1d4ed8;
	font-weight: 600;
	font-size: 0.8rem;
	margin-bottom: 0.75rem;
}

.work-card a {
	text-decoration: none;
	font-weight: 500;
}

.section-alt {
	background: #f9fafb;
	padding: 3rem 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
	text-align: left;
}

.section-centered {
	margin-left: auto;
	margin-right: auto;
}

.entry-content p {
	line-height: 1.7;
}

.entry-content > * + * {
	margin-top: 1.25rem;
}

h3 a,
h3 a:hover {
	text-decoration: none;
}

/* Override parent active-menu color treatment with underline emphasis. */
nav[class*="menu"] li[class*="current-menu-"] > .ct-menu-link,
nav[class*="menu"] li[class*="current-menu-"] > .ct-sub-menu-parent {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
}
