:root {
	--ink: #111827;
	--muted: #5b6675;
	--cream: #f3f5f7;
	--surface: #ffffff;
	--white: #fff;
	--blue: #17446f;
	--blue-dark: #0f2d49;
	--blue-light: #dbe7f3;
	--steel: #334155;
	--slate: #e4e8ed;
	--accent: #f59e0b;
	--line: rgba(17, 24, 39, 0.16);
	--shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--cream);
	color: var(--ink);
	font-family: "Inter", Arial, sans-serif;
	line-height: 1.6;
	margin: 0;
}

a {
	color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 4px solid var(--accent);
	outline-offset: 3px;
}

.skip-link {
	background: var(--ink);
	color: var(--white);
	left: 1rem;
	padding: 0.8rem 1rem;
	position: absolute;
	top: 1rem;
	transform: translateY(-150%);
	z-index: 20;
}

.skip-link:focus {
	transform: translateY(0);
}

.concept-bar {
	background: var(--blue-dark);
	color: var(--white);
	font-size: 0.92rem;
	padding: 0.75rem 1.25rem;
	text-align: center;
}

.concept-bar p {
	margin: 0;
}

.concept-bar a {
	color: var(--accent);
	font-weight: 800;
}

.site-header {
	align-items: center;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(14px);
	border-bottom: 4px solid var(--blue);
	display: flex;
	gap: 1.5rem;
	justify-content: space-between;
	padding: 1rem clamp(1rem, 5vw, 4rem);
	position: sticky;
	top: 0;
	z-index: 10;
}

.brand {
	align-items: center;
	display: flex;
	gap: 0.9rem;
	text-decoration: none;
}

.brand-logo {
	display: block;
	height: 3.4rem;
	object-fit: cover;
	width: 3.4rem;
}

.brand strong,
.brand small {
	display: block;
}

.brand strong {
	font-family: "Fraunces", serif;
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	line-height: 1;
}

.brand small {
	color: var(--blue);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.main-nav {
	align-items: center;
	display: flex;
	gap: 0;
}

.main-nav a {
	border-left: 1px solid var(--line);
	font-weight: 800;
	padding: 0.8rem 1rem;
	text-decoration: none;
}

.main-nav a:hover {
	background: var(--blue-light);
}

.nav-cta,
.btn {
	border-radius: 0;
	display: inline-flex;
	font-weight: 900;
	justify-content: center;
	line-height: 1;
	padding: 0.95rem 1.2rem;
	text-decoration: none;
}

.nav-cta,
.btn-primary {
	background: var(--blue);
	color: var(--white);
}

.btn-secondary {
	background: var(--white);
	border: 1px solid var(--line);
	color: var(--ink);
}

.nav-toggle {
	background: var(--ink);
	border: 0;
	border-radius: 0;
	color: var(--white);
	display: none;
	font: inherit;
	font-weight: 900;
	padding: 0.75rem 1rem;
}

.hero,
.section,
.site-footer {
	margin: 0 auto;
	max-width: 1160px;
	padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
}

.hero {
	align-items: center;
	display: grid;
	gap: clamp(2rem, 4vw, 4rem);
	grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
	min-height: 78vh;
	position: relative;
}

.hero::before {
	background: var(--blue);
	content: "";
	height: 0.7rem;
	left: clamp(1rem, 5vw, 4rem);
	position: absolute;
	right: clamp(1rem, 5vw, 4rem);
	top: 2rem;
}

.eyebrow {
	color: var(--blue);
	font-weight: 900;
	letter-spacing: 0.14em;
	margin: 0 0 0.8rem;
	text-transform: uppercase;
}

h1,
h2,
h3 {
	font-family: "Fraunces", serif;
	line-height: 1.02;
	margin: 0;
}

h1 {
	font-size: clamp(3rem, 6.2vw, 5.8rem);
	letter-spacing: -0.06em;
	margin-bottom: 1.25rem;
}

h2 {
	font-size: clamp(2.25rem, 5vw, 4.4rem);
	letter-spacing: -0.045em;
	margin-bottom: 1rem;
}

h3 {
	font-size: 1.45rem;
	margin-bottom: 0.5rem;
}

.hero-copy > p:not(.eyebrow),
.section-heading > p,
.why-tim > div > p,
.quote-checklist p,
.quote-copy p {
	color: var(--muted);
	font-size: 1.08rem;
	max-width: 44rem;
}

.hero-actions,
.trust-list,
.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 1.6rem;
}

.trust-list {
	list-style: none;
	padding: 0;
}

.trust-list li {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 0;
	font-weight: 800;
	padding: 0.55rem 0.9rem;
}

.hero-panel {
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	overflow: hidden;
	padding: 1rem;
}

.tool-card {
	background: var(--blue-dark);
	color: var(--white);
	padding: 1.25rem;
}

.tool-card p,
.tool-card span {
	color: rgba(255, 255, 255, 0.78);
	display: block;
	margin: 0;
}

.tool-card strong {
	display: block;
	font-family: "Fraunces", serif;
	font-size: clamp(2rem, 4vw, 3.2rem);
	line-height: 1;
	margin: 0.5rem 0;
}

.hero-photo {
	display: block;
	height: 28rem;
	margin-top: 1rem;
	object-fit: cover;
	width: 100%;
}

.section-heading {
	margin-bottom: 2rem;
}

.service-grid,
.reason-grid,
.review-grid {
	display: grid;
	gap: 1.25rem;
}

.service-grid {
	grid-template-columns: repeat(3, 1fr);
}

.service-card,
.reason-grid article,
.work-card,
blockquote,
.quote-form,
.contact-card {
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: 0 16px 45px rgba(24, 33, 38, 0.08);
	padding: 1.4rem;
}

.service-icon {
	align-items: center;
	background: var(--blue-light);
	color: var(--blue);
	display: inline-flex;
	font-size: 1.45rem;
	font-weight: 900;
	height: 3rem;
	justify-content: center;
	margin-bottom: 1rem;
	width: 3rem;
}

.service-card p,
.reason-grid p,
.work-card p,
blockquote p {
	color: var(--muted);
}

.service-card a {
	color: var(--blue);
	font-weight: 900;
}

.why-tim,
.trust-platforms,
.quote-feature,
.quote {
	align-items: start;
	display: grid;
	gap: 2rem;
	grid-template-columns: 0.9fr 1.1fr;
}

.reason-grid {
	grid-template-columns: 1fr;
}

.reason-grid strong {
	align-items: center;
	background: var(--blue);
	border-radius: 0;
	color: var(--white);
	display: inline-flex;
	height: 2.4rem;
	justify-content: center;
	margin-bottom: 0.8rem;
	width: 2.4rem;
}

.trust-platforms {
	background: var(--slate);
	border: 1px solid var(--line);
	margin-top: 3rem;
}

.trust-platforms p {
	color: var(--muted);
	max-width: 42rem;
}

.platform-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, 1fr);
}

.platform-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 0.45rem solid var(--blue);
	box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
	display: grid;
	gap: 0.35rem;
	padding: 1.25rem;
	text-decoration: none;
}

.platform-card span {
	color: var(--muted);
	font-size: 0.85rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.platform-card strong {
	color: var(--blue);
	font-family: "Fraunces", serif;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	line-height: 1;
}

.platform-card small {
	color: var(--muted);
	font-weight: 800;
}

.filter-btn {
	background: var(--white);
	border: 1px solid var(--line);
	cursor: pointer;
	font: inherit;
	font-weight: 900;
	padding: 0.75rem 1rem;
}

.filter-btn.active {
	background: var(--blue);
	color: var(--white);
}

.work-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 1.5rem;
}

.featured-before-after {
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
	margin-top: 2rem;
	padding: 1rem;
}

.featured-before-after[hidden] {
	display: none;
}

.before-after-slider {
	--slider-position: 50%;
	aspect-ratio: 16 / 10;
	background: var(--slate);
	overflow: hidden;
	position: relative;
}

.before-after-img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.before-layer {
	clip-path: inset(0 calc(100% - var(--slider-position)) 0 0);
	inset: 0;
	position: absolute;
}

.ba-label,
.after-badge {
	background: var(--blue);
	color: var(--white);
	font-size: 0.8rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	padding: 0.45rem 0.65rem;
	position: absolute;
	text-transform: uppercase;
}

.ba-label-before {
	left: 1rem;
	top: 1rem;
}

.ba-label-after {
	right: 1rem;
	top: 1rem;
}

.ba-range {
	appearance: none;
	background: transparent;
	cursor: ew-resize;
	inset: 0;
	margin: 0;
	position: absolute;
	width: 100%;
}

.ba-range::-webkit-slider-runnable-track {
	background: linear-gradient(90deg, transparent calc(var(--slider-position) - 1px), var(--white) 0, var(--white) calc(var(--slider-position) + 1px), transparent 0);
	height: 100%;
}

.ba-range::-webkit-slider-thumb {
	appearance: none;
	background: var(--white);
	border: 4px solid var(--blue);
	box-shadow: 0 0 0 999px rgba(17, 24, 39, 0);
	height: 2.75rem;
	margin-top: calc(20% - 1.375rem);
	width: 1.25rem;
}

.ba-range::-moz-range-track {
	background: transparent;
	height: 100%;
}

.ba-range::-moz-range-thumb {
	background: var(--white);
	border: 4px solid var(--blue);
	border-radius: 0;
	height: 2.75rem;
	width: 1.25rem;
}

.featured-work-copy {
	align-self: center;
	padding: 1rem;
}

.featured-work-copy > span {
	color: var(--blue);
	font-size: 0.84rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.featured-work-copy p {
	color: var(--muted);
}

.work-card {
	display: grid;
	gap: 1rem;
	padding: 1rem;
}

.work-card[hidden] {
	display: none;
}

.work-card span {
	color: var(--blue);
	font-size: 0.84rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.work-image {
	aspect-ratio: 4 / 3;
	position: relative;
	overflow: hidden;
}

.work-image img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
	width: 100%;
}

.work-card:hover .work-image img {
	transform: scale(1.04);
}

.after-badge {
	left: 0.8rem;
	top: 0.8rem;
}

.quote-feature {
	background: var(--blue-dark);
	color: var(--white);
	margin-top: 4rem;
}

.quote-feature .eyebrow,
.quote-feature p {
	color: rgba(255, 255, 255, 0.8);
}

.checklist {
	display: grid;
	gap: 0.85rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.checklist li {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	font-weight: 900;
	padding: 1rem;
}

.checklist li::before {
	color: var(--accent);
	content: "✓ ";
}

.review-grid {
	grid-template-columns: repeat(2, 1fr);
}

blockquote {
	margin: 0;
}

cite {
	color: var(--blue);
	font-style: normal;
	font-weight: 900;
}

.contact-card {
	display: grid;
	gap: 0.5rem;
	margin-top: 1.5rem;
}

.contact-card a {
	color: var(--blue);
	font-weight: 900;
}

.quote-form {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, 1fr);
}

.form-full {
	grid-column: 1 / -1;
}

label {
	display: block;
	font-weight: 900;
	margin-bottom: 0.4rem;
}

input,
select,
textarea {
	background: var(--surface);
	border: 1px solid var(--line);
	font: inherit;
	padding: 0.9rem 1rem;
	width: 100%;
}

textarea {
	resize: vertical;
}

.form-help {
	color: var(--muted);
	font-size: 0.9rem;
	margin: 0.4rem 0 0;
}

.form-response {
	background: #e9f8ef;
	border: 1px solid #9fd8b7;
	color: #15552f;
	font-weight: 800;
	margin: 0;
	padding: 1rem;
}

.site-footer {
	align-items: center;
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
}

.site-footer p {
	margin: 0;
}

.site-footer a {
	color: var(--blue);
	font-weight: 900;
}

@media (max-width: 68em) {
	.hero {
		grid-template-columns: 1fr;
	}

	.hero-panel {
		max-width: 42rem;
	}
}

@media (max-width: 930px) {
	.nav-toggle {
		display: inline-flex;
	}

	.main-nav {
		background: var(--white);
		border: 1px solid var(--line);
		box-shadow: var(--shadow);
		display: none;
		flex-direction: column;
		left: 1rem;
		padding: 1rem;
		position: absolute;
		right: 1rem;
		top: calc(100% + 0.5rem);
	}

	.main-nav a {
		border-left: 0;
		border-bottom: 1px solid var(--line);
		width: 100%;
	}

	.site-header.nav-open .main-nav {
		display: flex;
	}

	.hero,
	.featured-before-after,
	.why-tim,
	.trust-platforms,
	.quote-feature,
	.quote {
		grid-template-columns: 1fr;
	}

	.service-grid,
	.platform-grid,
	.work-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.brand small {
		display: none;
	}

	.service-grid,
	.platform-grid,
	.work-grid,
	.review-grid,
	.quote-form {
		grid-template-columns: 1fr;
	}

	.hero-photo {
		height: 22rem;
	}
}
