
:root {
	--bg: #f6efe3;
	--surface: rgba(255, 252, 247, 0.82);
	--surface-strong: #fffaf2;
	--ink: #14213d;
	--muted: #5b6475;
	--line: rgba(20, 33, 61, 0.12);
	--accent: #0d3b66;
	--accent-strong: #8d3b12;
	--accent-soft: #f0d5b6;
	--shadow: 0 24px 60px rgba(20, 33, 61, 0.14);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Manrope", "Segoe UI", sans-serif;
	color: var(--ink);
	background:
		radial-gradient(circle at top left, rgba(240, 213, 182, 0.9), transparent 28%),
		radial-gradient(circle at top right, rgba(13, 59, 102, 0.14), transparent 22%),
		linear-gradient(180deg, #f8f2e8 0%, #f2eadf 100%);
}

a {
	color: inherit;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -3rem;
	z-index: 10;
	padding: 0.75rem 1rem;
	background: var(--ink);
	color: #fff;
	border-radius: 999px;
	text-decoration: none;
}

.skip-link:focus {
	top: 1rem;
}

.page-shell {
	width: min(1120px, calc(100% - 2rem));
	margin: 0 auto;
	padding: 1.25rem 0 2.5rem;
}

.site-header,
.section,
.hero,
.site-footer {
	backdrop-filter: blur(12px);
}

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1rem 1.25rem;
	margin: 0.75rem 0 1.5rem;
	background: var(--surface);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 24px;
	box-shadow: var(--shadow);
}

.brand-block {
	max-width: 34rem;
}

.brand-copy,
.hero-text,
.about-copy,
.contact-section p,
.service-card p,
.approach-grid p {
	color: var(--muted);
	line-height: 1.7;
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.site-nav a {
	text-decoration: none;
	font-weight: 700;
	color: var(--accent);
}

.eyebrow,
.panel-kicker {
	margin: 0 0 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.78rem;
	font-weight: 800;
	color: var(--accent-strong);
}

.hero,
.section,
.site-footer {
	background: var(--surface);
	border: 1px solid rgba(255, 255, 255, 0.55);
	box-shadow: var(--shadow);
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
	gap: 1.5rem;
	padding: 2rem;
	border-radius: 36px;
}

.hero h1,
.section h2,
.approach-grid h3,
.service-card h3 {
	margin: 0;
	font-family: "Fraunces", Georgia, serif;
	line-height: 1.05;
}

.hero h1 {
	font-size: clamp(2.6rem, 5vw, 5rem);
	max-width: 10ch;
}

.hero-text {
	max-width: 44rem;
	margin: 1.25rem 0 0;
	font-size: 1.06rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-top: 1.5rem;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.8rem 1.2rem;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 800;
	transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
	transform: translateY(-2px);
}

.button-primary {
	background: var(--accent);
	color: #fff;
}

.button-secondary {
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.5);
	color: var(--ink);
}

.hero-panel,
.contact-card,
.service-card,
.approach-grid article,
.chatbot-panel,
.chatbot-toggle {
	border-radius: 24px;
}

.hero-panel {
	align-self: end;
	padding: 1.4rem;
	background: linear-gradient(180deg, rgba(13, 59, 102, 0.96), rgba(9, 39, 68, 0.96));
	color: #f8f3eb;
}

.panel-list {
	margin: 0;
	padding-left: 1.1rem;
	line-height: 1.8;
}

.section {
	padding: 1.8rem;
	margin-top: 1.5rem;
	border-radius: 32px;
}

.section-contrast {
	background: linear-gradient(180deg, rgba(13, 59, 102, 0.95), rgba(28, 52, 79, 0.92));
	color: #f7efe3;
}

.section-contrast .eyebrow,
.section-contrast p,
.section-contrast .step-index {
	color: rgba(247, 239, 227, 0.82);
}

.section-heading {
	max-width: 44rem;
	margin-bottom: 1.5rem;
}

.section h2 {
	font-size: clamp(2rem, 3vw, 3.2rem);
}

.card-grid,
.approach-grid,
.contact-section,
.metrics-grid,
.fit-grid,
.lead-form {
	display: grid;
	gap: 1rem;
}

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

.service-card,
.metric-card,
.fit-card,
.approach-grid article,
.contact-card {
	padding: 1.4rem;
	background: var(--surface-strong);
	border: 1px solid var(--line);
}

.metric-card strong,
.fit-card h3 {
	display: block;
	margin-bottom: 0.65rem;
	font-family: "Fraunces", Georgia, serif;
	font-size: 1.3rem;
}

.metrics-grid,
.fit-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.step-index {
	display: inline-block;
	margin-bottom: 1rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.contact-section {
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	align-items: start;
}

.lead-form {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
}

.lead-form label {
	display: grid;
	gap: 0.5rem;
	font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
	width: 100%;
	padding: 0.9rem 1rem;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.86);
	color: var(--ink);
	font: inherit;
}

.lead-form textarea {
	resize: vertical;
	min-height: 9rem;
}

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

.lead-form-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.form-note {
	margin: 0;
	max-width: 42rem;
	color: var(--muted);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.contact-card a:not(.button) {
	color: var(--accent);
	font-weight: 800;
}

.site-footer {
	margin-top: 1.5rem;
	padding: 1.25rem 1.5rem;
	border-radius: 24px;
	text-align: center;
	color: var(--muted);
}

.chatbot-shell {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 20;
	display: grid;
	justify-items: end;
	gap: 0.75rem;
	width: min(100vw - 1.5rem, 24rem);
}

.chatbot-toggle {
	display: grid;
	gap: 0.2rem;
	padding: 0.95rem 1.1rem;
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: linear-gradient(180deg, rgba(13, 59, 102, 0.98), rgba(9, 39, 68, 0.98));
	color: #fff;
	box-shadow: var(--shadow);
	cursor: pointer;
	text-align: left;
}

.chatbot-toggle-label,
.chatbot-header h2 {
	font-family: "Fraunces", Georgia, serif;
	font-size: 1.15rem;
}

.chatbot-toggle-status,
.chatbot-eyebrow,
.chatbot-message-meta {
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 800;
	color: rgba(247, 239, 227, 0.78);
}

.chatbot-panel {
	width: 100%;
	padding: 1rem;
	background: rgba(20, 33, 61, 0.96);
	color: #f7efe3;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: var(--shadow);
	backdrop-filter: blur(14px);
}

.chatbot-header {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.9rem;
}

.chatbot-header h2,
.chatbot-eyebrow {
	margin: 0;
}

.chatbot-close {
	padding: 0.55rem 0.8rem;
	border: 1px solid rgba(247, 239, 227, 0.16);
	border-radius: 999px;
	background: transparent;
	color: #f7efe3;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}

.chatbot-messages {
	display: grid;
	gap: 0.8rem;
	max-height: 21rem;
	overflow-y: auto;
	padding-right: 0.2rem;
	margin-bottom: 0.9rem;
}

.chatbot-message {
	display: grid;
	gap: 0.35rem;
}

.chatbot-message-bubble {
	padding: 0.85rem 0.95rem;
	border-radius: 18px;
	line-height: 1.6;
}

.chatbot-message-assistant .chatbot-message-bubble {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.chatbot-message-user {
	justify-items: end;
}

.chatbot-message-user .chatbot-message-bubble {
	background: var(--accent-soft);
	color: var(--ink);
	max-width: 90%;
}

.chatbot-message-links {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.chatbot-message-links a {
	padding: 0.45rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 700;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.chatbot-prompts {
	display: flex;
	gap: 0.55rem;
	flex-wrap: wrap;
	margin-bottom: 0.9rem;
}

.chatbot-prompts button {
	padding: 0.5rem 0.7rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.04);
	color: #f7efe3;
	font: inherit;
	font-size: 0.92rem;
	cursor: pointer;
}

.chatbot-form {
	display: grid;
	gap: 0.5rem;
}

.chatbot-label {
	font-size: 0.92rem;
	font-weight: 700;
	color: rgba(247, 239, 227, 0.78);
}

.chatbot-input-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.65rem;
	align-items: center;
}

.chatbot-input-row input {
	width: 100%;
	padding: 0.85rem 0.95rem;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font: inherit;
}

.chatbot-input-row input::placeholder {
	color: rgba(247, 239, 227, 0.6);
}

.reveal-on-scroll {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 500ms ease, transform 500ms ease;
}

.reveal-on-scroll.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 860px) {
	.site-header,
	.hero,
	.contact-section,
	.metrics-grid,
	.fit-grid,
	.card-grid,
	.approach-grid,
	.lead-form {
		grid-template-columns: 1fr;
	}

	.site-header {
		display: grid;
	}

	.hero {
		padding: 1.5rem;
	}

	.card-grid,
	.approach-grid {
		display: grid;
	}
}

@media (max-width: 640px) {
	.page-shell {
		width: min(100% - 1rem, 1120px);
	}

	.site-header,
	.section,
	.hero,
	.site-footer {
		border-radius: 22px;
	}

	.hero h1 {
		max-width: none;
	}

	.site-nav {
		gap: 0.75rem 1rem;
	}

	.chatbot-shell {
		left: 0.75rem;
		right: 0.75rem;
		width: auto;
	}

	.chatbot-input-row {
		grid-template-columns: 1fr;
	}
}
