:root {
	--navy: #07142b;
	--navy-2: #10264d;
	--ink: #142033;
	--muted: #5d6b7c;
	--line: #e4eaf1;
	--bg: #f4f7fb;
	--white: #ffffff;
	--red: #e10600;
	--red-deep: #b10500;
	--shadow: 0 18px 50px rgba(7, 20, 43, 0.08);
	--radius: 18px;
	--header: 84px;
	--font: "Manrope", "Segoe UI", sans-serif;
	--display: "Outfit", "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--white);
	font-family: var(--font);
	font-size: 16.5px;
	line-height: 1.65;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

h1, h2, h3 {
	font-family: var(--display);
	line-height: 1.15;
	letter-spacing: -0.03em;
	margin: 0 0 0.6rem;
}

h1 {
	font-size: clamp(2.4rem, 5vw, 4.4rem);
	font-weight: 700;
}

h2 {
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	font-weight: 700;
}

h3 {
	font-size: 1.2rem;
}

p {
	margin: 0 0 1rem;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.container {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
}

.eyebrow {
	margin: 0 0 0.75rem;
	color: var(--red);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(7, 20, 43, 0.06);
}

.header-bar {
	min-height: var(--header);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand img {
	width: auto;
	height: 74px;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-links a {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	border-radius: 999px;
	color: var(--navy);
	font-weight: 700;
	font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.is-active {
	background: #f3f6fb;
}

.nav-cta,
.nav-links a.nav-cta {
	background: var(--navy);
	color: var(--white);
}

.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.is-active {
	background: var(--red);
	color: var(--white);
}

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--white);
	padding: 0;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	margin: 4px auto;
	background: var(--navy);
}

.hero {
	position: relative;
	min-height: 640px;
	display: flex;
	align-items: flex-end;
	color: var(--white);
	background: var(--navy);
	overflow: hidden;
}

.hero-slides,
.hero-shade {
	position: absolute;
	inset: 0;
}

.hero-slides img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	animation: heroFade 25s infinite;
}

.hero-slides img:nth-child(2) { animation-delay: 5s; }
.hero-slides img:nth-child(3) { animation-delay: 10s; }
.hero-slides img:nth-child(4) { animation-delay: 15s; }
.hero-slides img:nth-child(5) { animation-delay: 20s; }

.hero-shade {
	background:
		linear-gradient(90deg, rgba(7, 20, 43, 0.92) 0%, rgba(7, 20, 43, 0.72) 48%, rgba(7, 20, 43, 0.28) 100%),
		linear-gradient(180deg, rgba(7, 20, 43, 0.15), rgba(7, 20, 43, 0.55));
}

.hero-copy {
	position: relative;
	z-index: 1;
	padding: 120px 0 72px;
	max-width: 760px;
}

.hero .eyebrow {
	color: #ffb4b0;
}

.hero .lede {
	max-width: 58ch;
	font-size: 1.12rem;
	color: rgba(255, 255, 255, 0.86);
}

.hero-actions,
.hero-actions + .btn {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	border-radius: 999px;
	border: 0;
	font-family: inherit;
	font-weight: 800;
	font-size: 0.95rem;
	cursor: pointer;
}

.btn-primary {
	background: var(--red);
	color: var(--white);
}

.btn-primary:hover {
	background: var(--red-deep);
}

.btn-ghost {
	background: transparent;
	color: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
	background: var(--white);
	color: var(--navy);
	border: 1px solid var(--line);
	margin-top: 8px;
}

.btn-outline:hover {
	border-color: var(--navy);
}

.stats {
	background: var(--white);
	border-bottom: 1px solid var(--line);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.stats-grid div {
	padding: 28px 18px;
	border-right: 1px solid var(--line);
}

.stats-grid div:last-child {
	border-right: 0;
}

.stats-grid strong {
	display: block;
	font-family: var(--display);
	font-size: 1.8rem;
	letter-spacing: -0.04em;
	color: var(--navy);
}

.stats-grid span {
	color: var(--muted);
	font-size: 0.92rem;
}

.section {
	padding: 84px 0;
}

.section-muted {
	background: var(--bg);
}

.section-head {
	max-width: 680px;
	margin-bottom: 32px;
}

.section-head p:last-child {
	color: var(--muted);
}

.split {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr;
	gap: 36px;
	align-items: start;
}

.prose p,
.prose-page p,
.panel p,
.service-copy li,
.contact-card p {
	color: #314155;
}

.panel {
	background: var(--navy);
	color: var(--white);
	border-radius: var(--radius);
	padding: 32px;
	box-shadow: var(--shadow);
}

.panel h3,
.panel p {
	color: var(--white);
}

.panel p {
	color: rgba(255, 255, 255, 0.82);
}

.text-link {
	display: inline-flex;
	margin-top: 8px;
	color: #ffb4b0;
	font-weight: 800;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.service-card {
	display: flex;
	flex-direction: column;
	min-height: 220px;
	padding: 24px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 1px 0 rgba(7, 20, 43, 0.02);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.card-index {
	color: var(--red);
	font-weight: 800;
	letter-spacing: 0.08em;
}

.service-card h3 {
	margin-top: 18px;
}

.service-card p {
	margin: 0;
	color: var(--muted);
}

.narrow {
	max-width: 760px;
}

.prose ol,
.service-copy ol {
	margin: 0 0 1rem;
	padding-left: 1.2rem;
}

.prose li,
.service-copy li {
	margin-bottom: 0.45rem;
}

.cta-band {
	background: var(--navy);
	color: var(--white);
}

.cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 48px 0;
}

.cta-inner p {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
}

.page-hero {
	background:
		radial-gradient(circle at top right, rgba(225, 6, 0, 0.28), transparent 32%),
		linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
	color: var(--white);
	padding: 72px 0 64px;
}

.page-hero p:last-of-type {
	max-width: 62ch;
	color: rgba(255, 255, 255, 0.82);
}

.page-hero .eyebrow {
	color: #ffb4b0;
}

.page-hero .btn {
	margin-top: 12px;
}

.prose-page {
	display: grid;
	gap: 22px;
}

.story,
.info-grid article,
.pillar-grid article,
.values {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
}

.info-grid,
.pillar-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}

.values ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.values li {
	padding: 10px 14px;
	border-radius: 999px;
	background: #f7f1f1;
	color: var(--navy);
	font-weight: 800;
}

.service-list {
	display: grid;
	gap: 28px;
}

.service-row {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 28px;
	align-items: center;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--white);
}

.service-row:nth-child(even) .service-media {
	order: 2;
}

.service-media {
	overflow: hidden;
	border-radius: 18px;
	min-height: 280px;
	background: var(--bg);
}

.service-media img {
	width: 100%;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
}

.service-copy {
	padding: 12px 12px 12px 8px;
}

.service-copy ol {
	margin-bottom: 0;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.gallery-card {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	min-height: 240px;
	background: var(--navy);
}

.gallery-card img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.gallery-card span {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 14px;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(7, 20, 43, 0.82);
	color: var(--white);
	font-weight: 800;
}

.gallery-card:hover img {
	transform: scale(1.04);
}

.contact-layout {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 24px;
	align-items: start;
}

.contact-card,
.contact-form {
	border: 1px solid var(--line);
	border-radius: 24px;
	padding: 28px;
	background: var(--white);
}

.contact-card {
	background: var(--navy);
	color: var(--white);
}

.contact-card p,
.contact-card a {
	color: rgba(255, 255, 255, 0.86);
}

.contact-card ul {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.contact-card li {
	padding: 14px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-card span {
	display: block;
	color: #ffb4b0;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.contact-form {
	display: grid;
	gap: 14px;
}

.contact-form label {
	display: grid;
	gap: 6px;
	font-weight: 700;
	font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 1px solid #d5deea;
	border-radius: 12px;
	padding: 14px 16px;
	font: inherit;
	color: var(--ink);
	background: #fbfcfe;
}

.contact-form textarea {
	min-height: 150px;
	resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid rgba(225, 6, 0, 0.35);
	border-color: var(--red);
}

.form-error {
	margin: 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff1f0;
	color: var(--red-deep);
	font-weight: 700;
}

.site-footer {
	background: #06101f;
	color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 0.8fr;
	gap: 32px;
	padding: 56px 0 36px;
}

.footer-name {
	margin: 0 0 8px;
	color: var(--white);
	font-family: var(--display);
	font-size: 1.4rem;
	font-weight: 700;
}

.site-footer h2 {
	color: var(--white);
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer li {
	margin-bottom: 8px;
}

.site-footer a:hover {
	color: var(--white);
}

.footer-bar {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bar-inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	font-size: 0.9rem;
}

.footer-bar a {
	color: #ffb4b0;
}

@keyframes heroFade {
	0% { opacity: 0; }
	6% { opacity: 1; }
	20% { opacity: 1; }
	26% { opacity: 0; }
	100% { opacity: 0; }
}

@media (max-width: 900px) {
	.nav-toggle {
		display: block;
		position: relative;
		z-index: 30;
	}

	.site-nav {
		display: none;
	}

	body.nav-open .site-nav {
		display: block;
		position: absolute;
		top: calc(var(--header) - 8px);
		left: 20px;
		right: 20px;
		padding: 12px;
		background: var(--white);
		border: 1px solid var(--line);
		border-radius: 18px;
		box-shadow: var(--shadow);
	}

	.nav-links {
		flex-direction: column;
		align-items: stretch;
	}

	.nav-links a,
	.nav-links a.nav-cta {
		justify-content: center;
	}

	.stats-grid,
	.card-grid,
	.gallery-grid,
	.split,
	.info-grid,
	.pillar-grid,
	.contact-layout,
	.footer-grid,
	.service-row,
	.service-row:nth-child(even) {
		grid-template-columns: 1fr;
	}

	.service-row:nth-child(even) .service-media {
		order: 0;
	}

	.stats-grid div {
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.cta-inner,
	.footer-bar-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.hero {
		min-height: 560px;
	}

	.hero-copy {
		padding-top: 90px;
	}
}

@media (max-width: 640px) {
	.container {
		width: min(1120px, calc(100% - 28px));
	}

	.section {
		padding: 56px 0;
	}

	.brand img {
		width: 168px;
		height: 48px;
	}
}

.to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--navy);
	color: var(--white);
	box-shadow: 0 14px 30px rgba(7, 20, 43, 0.28);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(18px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease;
}

.to-top svg {
	width: 24px;
	height: 24px;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.to-top:hover,
.to-top:focus-visible {
	background: var(--red);
	outline: none;
}

.js-motion .fly-in {
	opacity: 0;
	transform: translateY(46px);
	transition: opacity 0.7s ease, transform 0.75s cubic-bezier(0.16, 0.84, 0.3, 1);
	will-change: opacity, transform;
}

.js-motion .fly-in.fly-left {
	transform: translateX(-64px);
}

.js-motion .fly-in.fly-right {
	transform: translateX(64px);
}

.js-motion .fly-in.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.to-top,
	.js-motion .fly-in,
	.js-motion .fly-in.fly-left,
	.js-motion .fly-in.fly-right {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}
}
