:root {
	--ink: #12182f;
	--muted: #4c5368;
	--blue: #a9c6f8;
	--blue-deep: #2c66d6;
	--wash: #eef3ff;
	--navy: #141833;
	--line: #e4e7f2;
	--white: #fff;
	--shadow: 0 24px 50px -32px rgba(18, 24, 47, 0.45);
	--font: "Inter", ui-sans-serif, system-ui, sans-serif;
	--wrap: 1120px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
}

img {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
p {
	margin: 0;
}

button,
input,
textarea {
	font: inherit;
}

.wrap {
	width: min(var(--wrap), calc(100% - 40px));
	margin-inline: auto;
}

.skip {
	position: absolute;
	left: 16px;
	top: 16px;
	z-index: 80;
	transform: translateY(-140%);
	background: var(--white);
	color: var(--ink);
	padding: 8px 12px;
	border-radius: 10px;
}

.skip:focus {
	transform: none;
}

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

.site-head {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
}

.topbar {
	background: var(--navy);
	color: #fff;
	font-size: 13px;
}

.topbar-inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
	min-height: 36px;
}

.topbar a {
	color: var(--blue);
	font-weight: 600;
}

.header-bar {
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 72px;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.04em;
	margin-right: auto;
}

.logo-mark {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--blue);
	color: var(--ink);
	font-size: 16px;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-link {
	font-size: 15px;
	font-weight: 500;
	color: var(--ink);
}

.nav-link:hover {
	color: var(--blue-deep);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: var(--blue);
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
	padding: 12px 18px;
	border: 0;
}

.btn:hover {
	background: #8eb4f6;
}

.btn-light {
	background: var(--white);
	color: var(--ink);
}

.btn-light:hover {
	background: var(--wash);
}

.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: var(--white);
	padding: 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.menu-toggle span {
	display: block;
	width: 16px;
	height: 2px;
	background: var(--ink);
}

.menu-panel {
	border-top: 1px solid var(--line);
	padding: 8px 20px 18px;
}

.nav-list.is-stack {
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

#services,
#work,
#about {
	scroll-margin-top: 120px;
}

.hero {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: 72px 0 0;
}

.hero-scene {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 460px;
	z-index: 0;
	pointer-events: none;
}

.hero-scene svg {
	width: 100%;
	height: 100%;
}

.hero .wrap {
	position: relative;
	z-index: 1;
}

.hero h1 {
	max-width: 14em;
	margin: 0 auto;
	text-align: center;
	font-size: clamp(2.7rem, 6.4vw, 4.5rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1.02;
}

.hero-lead {
	max-width: 38rem;
	margin: 22px auto 0;
	color: var(--muted);
	font-size: 1.125rem;
	line-height: 1.6;
}

.hero-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
	margin-top: 28px;
}

.text-link {
	font-weight: 600;
	color: var(--muted);
}

.text-link:hover {
	color: var(--ink);
}

.media-row {
	display: flex;
	gap: 16px;
	width: min(1240px, calc(100% - 24px));
	margin: 56px auto -78px;
	position: relative;
	z-index: 2;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
}

.media-card {
	display: block;
	flex: 0 0 230px;
	scroll-snap-align: start;
	margin: 0;
	border-radius: 32px;
	overflow: hidden;
	box-shadow: var(--shadow);
	background: var(--wash);
}

.media-card img {
	width: 100%;
	height: 320px;
	object-fit: cover;
	object-position: top center;
}

.wash {
	background: var(--wash);
}

.wash-overlap {
	padding: 150px 0 88px;
}

.section {
	padding: 88px 0;
}

.section-head {
	max-width: 550px;
	margin: 0 auto 48px;
	text-align: center;
}

.section-head.align-left {
	margin-left: 0;
	text-align: left;
}

.section-head h2,
.cta h2,
.page-title {
	font-size: clamp(2.2rem, 4.6vw, 3.5rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.05;
}

.section-head p,
.lede {
	margin-top: 16px;
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.6;
}

.services {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

.service h3 {
	margin-top: 18px;
	font-size: 1.35rem;
	letter-spacing: -0.03em;
}

.service p {
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.55;
}

.index {
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -0.04em;
	color: var(--blue-deep);
}

.stats {
	background: var(--navy);
	color: #fff;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	padding: 72px 0;
	text-align: center;
}

.stats-grid strong {
	display: block;
	font-size: clamp(3rem, 6vw, 4.75rem);
	letter-spacing: -0.05em;
	line-height: 1;
}

.stats-grid span {
	display: block;
	margin-top: 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.section-tools {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 36px;
}

.section-tools .section-head {
	margin: 0;
}

.features {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 18px;
}

.feature {
	margin: 0;
}

.feature img {
	width: 100%;
	height: 460px;
	object-fit: cover;
	object-position: top;
	border-radius: 32px;
	background: var(--wash);
}

.feature figcaption {
	margin-top: 16px;
}

.feature h3 {
	font-size: 1.6rem;
	letter-spacing: -0.03em;
}

.feature p {
	margin-top: 6px;
	color: var(--muted);
}

.shot-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 28px;
}

.shot {
	margin: 0;
}

.shot img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	object-position: top;
	border-radius: 24px;
	background: var(--wash);
}

.shot figcaption {
	margin-top: 10px;
	font-size: 0.95rem;
	font-weight: 600;
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.step {
	background: var(--white);
	border-radius: 28px;
	padding: 28px;
	min-height: 220px;
	list-style: none;
}

.step .index {
	margin: 0;
	color: var(--blue-deep);
}

.step h3 {
	margin-top: 28px;
	font-size: 1.45rem;
	letter-spacing: -0.03em;
}

.step p {
	margin-top: 8px;
	color: var(--muted);
}

.places {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.places img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	border-radius: 32px;
}

.about {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 48px;
	align-items: center;
}

.about-photo {
	background: var(--wash);
	border-radius: 36px;
	padding: 18px;
}

.about-photo img {
	width: 100%;
	height: 460px;
	object-fit: cover;
	object-position: center 18%;
	border-radius: 28px;
}

.about-copy h2 {
	font-size: clamp(2.2rem, 4vw, 3.4rem);
	letter-spacing: -0.04em;
	line-height: 1.05;
}

.about-copy p {
	margin-top: 16px;
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.65;
}

.about-action {
	margin-top: 24px;
}

.flush-top {
	padding-top: 0;
}

.cta {
	background: var(--navy);
	color: #fff;
	text-align: center;
	padding: 88px 0;
}

.cta p {
	max-width: 34rem;
	margin: 16px auto 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 1.05rem;
}

.cta .btn {
	margin-top: 28px;
}

.site-footer {
	border-top: 1px solid var(--line);
	padding: 36px 0 48px;
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 32px;
	align-items: flex-end;
	justify-content: space-between;
}

.footer-name {
	font-weight: 700;
	letter-spacing: -0.03em;
}

.footer-note,
.footer-copy {
	color: var(--muted);
	font-size: 0.95rem;
}

.footer-note {
	margin-top: 4px;
}

.footer-links {
	display: flex;
	gap: 22px;
	font-weight: 600;
}

.footer-links a:hover {
	color: var(--blue-deep);
}

.page-wrap,
.post-wrap {
	width: min(760px, calc(100% - 40px));
	margin: 0 auto;
	padding: 64px 0 88px;
}

.page-title {
	margin-bottom: 28px;
}

.entry {
	color: #2c3348;
	font-size: 1.05rem;
	line-height: 1.7;
}

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

.entry h2,
.entry h3 {
	letter-spacing: -0.03em;
	line-height: 1.2;
	margin-top: 2rem;
}

.entry a {
	color: var(--blue-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry img {
	border-radius: 20px;
	height: auto;
}

.entry ul,
.entry ol {
	padding-left: 1.2rem;
}

.contact-page .lede {
	max-width: 38rem;
	color: var(--muted);
}

.contact-form {
	display: grid;
	gap: 16px;
	margin-top: 32px;
}

.contact-form label {
	display: grid;
	gap: 8px;
	color: var(--ink);
	font-size: 0.92rem;
	font-weight: 600;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: #f7f9ff;
	color: var(--ink);
	padding: 13px 14px;
	font-weight: 400;
}

.contact-form textarea {
	min-height: 168px;
	resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--blue-deep);
	background: var(--white);
	box-shadow: 0 0 0 4px rgba(169, 198, 248, 0.45);
}

.contact-form .btn {
	justify-self: start;
	margin-top: 4px;
	cursor: pointer;
}

.form-direct {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
}

.form-direct a {
	color: var(--blue-deep);
	font-weight: 600;
}

.form-note {
	margin-top: 22px;
	padding: 14px 16px;
	border-radius: 14px;
	background: var(--wash);
	color: var(--ink);
}

.form-note-bad {
	background: #fff1f0;
	color: #8a2b24;
}

.hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.post-list {
	display: grid;
	gap: 28px;
}

.post-list article h2 {
	font-size: 1.6rem;
	letter-spacing: -0.03em;
}

.post-list article h2 a:hover {
	color: var(--blue-deep);
}

.post-meta,
.post-list p {
	color: var(--muted);
}

.pager {
	display: flex;
	justify-content: space-between;
	margin-top: 36px;
	font-weight: 600;
}

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}

.narrow {
	width: min(860px, calc(100% - 40px));
}

.project-hero {
	margin: 28px 0;
}

.project-card img,
.project-hero img {
	width: 100%;
	border-radius: 28px;
	object-fit: cover;
	background: var(--wash);
}

.project-card img {
	height: 280px;
	object-position: top;
}

.project-card h2 {
	margin-top: 14px;
	font-size: 1.45rem;
	letter-spacing: -0.03em;
}

.project-card p {
	margin-top: 6px;
	color: var(--muted);
}

.project-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 36px;
	font-weight: 600;
}

.project-nav a:hover,
.post-list a:hover {
	color: var(--blue-deep);
}

@media (min-width: 980px) {
	.media-row {
		overflow: visible;
	}

	.media-card {
		flex: 1 1 0;
	}
}

@media (max-width: 979px) {
	.desktop-nav,
	.header-cta {
		display: none;
	}

	.menu-toggle {
		display: flex;
	}

	.services,
	.steps,
	.shot-grid,
	.places,
	.features,
	.about,
	.stats-grid,
	.portfolio-grid {
		grid-template-columns: 1fr 1fr;
	}

	.features,
	.about {
		grid-template-columns: 1fr;
	}

	.feature img,
	.about-photo img {
		height: 320px;
	}
}

@media (max-width: 680px) {
	.wrap {
		width: min(var(--wrap), calc(100% - 28px));
	}

	.topbar-inner p {
		display: none;
	}

	.services,
	.steps,
	.shot-grid,
	.places,
	.stats-grid,
	.portfolio-grid {
		grid-template-columns: 1fr;
	}

	.hero {
		padding-top: 40px;
	}

	.hero-scene {
		display: none;
	}

	.media-card {
		flex-basis: 78vw;
	}

	.media-card img {
		height: 260px;
	}

	.section-tools {
		flex-direction: column;
		align-items: flex-start;
	}

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