:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 3px;
}

:root {
	--blue: #0000ff;
	--blue-ink: #0000c2;
	--ink: #121316;
	--muted: #5c6168;
	--paper: #f3f4f6;
	--white: #ffffff;
	--line: rgba(18, 19, 22, 0.12);
	--serif: "Cormorant Garamond", Georgia, serif;
	--sans: "Outfit", "Segoe UI", sans-serif;
	--max: 1120px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--white);
	font-family: var(--sans);
	font-size: 1.05rem;
	line-height: 1.65;
	font-weight: 400;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea {
	font: inherit;
}

h1, h2, h3, p {
	margin: 0;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wrap {
	width: min(var(--max), calc(100% - 40px));
	margin-inline: auto;
}

.eyebrow {
	margin-bottom: 12px;
	color: var(--blue);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.eyebrow-light {
	color: #c8c8ff;
}

.hero .eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #fff;
}

.hero .eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--blue);
}

h1, h2, .footer-brand {
	font-family: var(--serif);
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 0.96;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: var(--white);
	box-shadow: 0 1px 0 var(--line);
}

.topbar {
	background: var(--ink);
	color: #d5d7db;
	font-size: 0.82rem;
}

.topbar-inner,
.nav-bar,
.footer-base,
.cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.topbar-inner {
	min-height: 38px;
}

.topbar a:hover {
	color: #fff;
}

.topbar p {
	display: flex;
	align-items: center;
	gap: 10px;
}

.dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--blue);
}

.nav-bar {
	min-height: 92px;
}

.brand {
	display: flex;
	align-items: center;
}

.brand img {
	height: 84px;
	width: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 6px;
}

.site-nav a {
	padding: 8px 12px;
	border-radius: 999px;
	color: var(--ink);
	font-size: 0.95rem;
	font-weight: 500;
}

.site-nav a:hover,
.site-nav a.is-active {
	color: var(--blue);
}

.site-nav a.nav-cta,
.site-nav a.nav-cta:hover,
.site-nav a.nav-cta.is-active {
	background: var(--blue);
	color: #fff;
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta.is-active {
	background: var(--blue-ink);
}

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 18px;
	height: 1.5px;
	margin: 4px auto;
	background: var(--ink);
}

.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(540px, 84vh, 780px);
	overflow: hidden;
	color: #fff;
	background: #111;
}

.hero-slides,
.hero-slide,
.hero-shade {
	position: absolute;
	inset: 0;
}

.hero-slide {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.8s ease;
}

.hero-slide.is-active {
	opacity: 1;
}

.hero-shade {
	background:
		linear-gradient(90deg, rgba(8, 8, 12, 0.82) 0%, rgba(8, 8, 12, 0.42) 52%, rgba(8, 8, 12, 0.12) 100%);
}

.hero-copy {
	position: relative;
	z-index: 1;
	padding: 72px 0 88px;
}

.hero h1 {
	max-width: 11em;
	font-size: clamp(3.1rem, 7vw, 5.6rem);
}

.lede {
	max-width: 38rem;
	margin-top: 18px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.12rem;
	font-weight: 300;
}

.hero-actions,
.cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.hero-controls {
	position: absolute;
	right: 24px;
	bottom: 24px;
	z-index: 2;
	display: flex;
	gap: 8px;
}

.hero-controls button,
.lightbox-close {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.28);
	color: #fff;
	cursor: pointer;
}

.hero-controls svg {
	width: 22px;
	height: 22px;
}

.hero-controls button:hover,
.lightbox-close:hover {
	background: var(--blue);
	border-color: var(--blue);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--blue);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.btn:hover {
	background: var(--blue-ink);
	color: #fff;
}

.btn-ghost {
	background: transparent;
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
	background: #fff;
	color: var(--ink);
}

.btn-dark {
	background: var(--ink);
}

.btn-dark:hover {
	background: var(--blue);
}

.intro {
	padding: 88px 0 36px;
}

.intro-grid,
.feature,
.contact-layout,
.about-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 48px;
	align-items: start;
}

.intro h2,
.section-head h2,
.cta-inner h2,
.page-hero h1 {
	font-size: clamp(2.4rem, 4.5vw, 4rem);
}

.intro-copy p + p,
.feature p + p,
.prose p + p,
.service-card p + p {
	margin-top: 14px;
}

.intro-copy,
.feature p,
.prose,
.service-card p,
.reason p,
.contact-panel p {
	color: var(--muted);
}

.stats-band {
	padding: 28px 0 8px;
}

.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.stats li {
	padding: 22px 18px;
}

.stats li + li {
	box-shadow: inset 1px 0 0 var(--line);
}

.stats strong {
	display: block;
	font-family: var(--serif);
	font-size: 1.8rem;
	font-weight: 600;
	line-height: 1;
}

.stats span {
	display: block;
	margin-top: 6px;
	color: var(--muted);
	font-size: 0.92rem;
}

.section {
	padding: 72px 0;
}

.section-follow {
	padding-top: 12px;
}

.section-paper {
	background: var(--paper);
}

.section-head {
	max-width: 640px;
	margin-bottom: 36px;
}

.reasons {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.reasons li {
	padding-top: 16px;
	border-top: 2px solid var(--blue);
}

.reasons h3,
.service-card h2,
.panel h2 {
	margin-bottom: 8px;
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.feature-list {
	display: grid;
	gap: 72px;
}

.feature {
	align-items: center;
}

.feature img,
.service-card img,
.gallery-item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 18px;
	background: #ddd;
}

.feature-reverse img {
	order: 2;
}

.feature h2 {
	margin-bottom: 14px;
	font-size: clamp(2.1rem, 3vw, 3.1rem);
}

.text-link {
	display: inline-flex;
	margin-top: 18px;
	color: var(--blue);
	font-weight: 600;
}

.text-link::after {
	content: " →";
}

.text-link:hover {
	color: var(--blue-ink);
}

.cta-band {
	background:
		linear-gradient(120deg, rgba(0, 0, 255, 0.18), transparent 42%),
		var(--ink);
	color: #fff;
	padding: 72px 0;
}

.cta-inner {
	align-items: end;
}

.cta-inner h2 {
	max-width: 14em;
}

.page-hero {
	padding: 72px 0 28px;
	background:
		linear-gradient(180deg, rgba(0, 0, 255, 0.06), transparent 70%),
		var(--paper);
}

.page-hero p:last-child {
	max-width: 40rem;
	margin-top: 16px;
	color: var(--muted);
}

.service-grid,
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.gallery-grid {
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	padding-bottom: 80px;
}

.service-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: #fff;
}

.service-card img {
	border-radius: 0;
}

.service-card div {
	padding: 22px 22px 26px;
}

.prose {
	max-width: 760px;
}

.prose h2 {
	margin: 36px 0 12px;
	font-size: 2.4rem;
}

.mission-list {
	display: grid;
	gap: 10px;
	margin-top: 8px;
}

.mission-list li {
	padding-left: 16px;
	border-left: 2px solid var(--blue);
	color: var(--muted);
}

.about-grid {
	margin-top: 48px;
}

.panel {
	padding: 28px;
	border-radius: 20px;
	background: var(--paper);
}

.contact-layout {
	padding-bottom: 88px;
}

.contact-panel {
	padding: 28px;
	border-radius: 20px;
	background: var(--ink);
	color: #fff;
}

.contact-panel a {
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.contact-panel .detail + .detail {
	margin-top: 22px;
}

.contact-panel .label {
	display: block;
	margin-bottom: 4px;
	color: #c8c8ff;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

form {
	display: grid;
	gap: 12px;
}

label {
	display: grid;
	gap: 6px;
	font-size: 0.92rem;
	font-weight: 500;
}

input,
textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	color: var(--ink);
}

input:focus,
textarea:focus {
	outline: 2px solid var(--blue);
	border-color: transparent;
}

textarea {
	min-height: 160px;
	resize: vertical;
}

.form-error {
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff1f1;
	color: #8d1212;
}

.success-panel {
	max-width: 640px;
	margin: 48px auto 96px;
	padding: 36px;
	border-radius: 20px;
	background: var(--paper);
}

.success-panel h1 {
	font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.success-panel p {
	margin: 14px 0 22px;
	color: var(--muted);
}

.site-footer {
	background: #0d0e11;
	color: #c8cbd1;
	padding-top: 56px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
	gap: 32px;
	padding-bottom: 36px;
}

.footer-brand {
	color: #fff;
	font-size: 2rem;
}

.footer-note,
.footer-grid p {
	margin-top: 10px;
}

.footer-label {
	color: #c8c8ff;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.footer-links {
	display: grid;
	gap: 6px;
}

.footer-grid a:hover,
.footer-links a:hover {
	color: #fff;
}

.footer-base {
	padding: 16px 0 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: #8d9198;
	font-size: 0.85rem;
}

.footer-base a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.footer-base a:hover {
	color: #fff;
}

.to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 35;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(0, 0, 80, 0.28);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.to-top svg {
	width: 22px;
	height: 22px;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
}

.to-top:hover {
	background: var(--blue-ink);
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(8, 8, 12, 0.88);
}

.lightbox[hidden] {
	display: none;
}

.lightbox img {
	max-width: min(1100px, 100%);
	max-height: calc(100vh - 80px);
	border-radius: 12px;
	object-fit: contain;
}

.lightbox-close {
	position: absolute;
	top: 18px;
	right: 18px;
	font-size: 1.4rem;
}

body.lightbox-open {
	overflow: hidden;
}

@media (max-width: 980px) {
	.reasons,
	.stats,
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.stats li:nth-child(odd) {
		box-shadow: none;
	}

	.gallery-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 800px) {
	.nav-toggle {
		display: block;
	}

	.nav-bar {
		position: relative;
	}

	.site-nav {
		display: none;
		position: absolute;
		top: calc(100% + 8px);
		right: 0;
		left: 0;
		flex-direction: column;
		align-items: stretch;
		padding: 12px;
		border: 1px solid var(--line);
		border-radius: 16px;
		background: #fff;
		box-shadow: 0 16px 40px rgba(18, 19, 22, 0.12);
	}

	.site-nav.is-open {
		display: flex;
	}

	.intro-grid,
	.feature,
	.contact-layout,
	.about-grid,
	.service-grid,
	.cta-inner,
	.topbar-inner {
		grid-template-columns: 1fr;
		display: grid;
	}

	.feature-reverse img {
		order: 0;
	}

	.topbar-inner {
		align-items: flex-start;
		padding: 8px 0;
	}

	.brand img {
		height: 68px;
	}

	.hero-shade {
		background: linear-gradient(180deg, rgba(8, 8, 12, 0.2), rgba(8, 8, 12, 0.82));
	}
}

@media (max-width: 640px) {
	.reasons,
	.stats,
	.footer-grid,
	.gallery-grid {
		grid-template-columns: 1fr;
	}

	.stats li + li {
		box-shadow: inset 0 1px 0 var(--line);
	}

	.footer-base,
	.hero-actions,
	.cta-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.wrap {
		width: min(var(--max), calc(100% - 28px));
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.hero-slide {
		transition: none;
	}
}
