/* Hero */
.hero {
	position: relative;
	height: calc(100svh - var(--header));
	min-height: 480px;
	overflow: hidden;
	background: var(--night);
}
.hero::after {
	content: "";
	position: absolute;
	inset: 50% 0 0;
	background: linear-gradient(to top, rgb(0 0 0 / 0.4), transparent);
}
/* Centered, just below the subjects' hands in the featured frame. */
.hero-title {
	position: absolute;
	margin: 0;
	z-index: 1;
	left: var(--gutter);
	right: var(--gutter);
	bottom: 22%;
	text-align: center;
	color: #fff;
	font-size: clamp(30px, 5vw, 72px);
	line-height: 1.1;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 300;
	text-shadow: 0 1px 24px rgb(0 0 0 / 0.35);
}
.hero-empty {
	display: grid;
	place-items: center;
	color: #fff;
}

/* Why us */
.why-us {
	max-width: 1040px;
	margin: 0 auto;
	text-align: center;
}

/* Services */
.services {
	background: var(--night);
	color: #e9eeee;
}
.services-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: clamp(40px, 6vw, 96px);
}
.services .section-title {
	grid-column: 1 / -1;
	color: #7fc3cf;
}
.services-copy p {
	margin: 0 0 1.2em;
	color: #c3cccd;
}
.services-list {
	list-style: none;
	counter-reset: s;
	margin: 0;
	padding: 0;
	align-self: start;
}
.services-list li {
	counter-increment: s;
	display: flex;
	gap: 20px;
	align-items: baseline;
	padding: 22px 0;
	border-top: 1px solid rgb(255 255 255 / 0.14);
	font-size: 15px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.services-list li:last-child {
	border-bottom: 1px solid rgb(255 255 255 / 0.14);
}
.services-list li::before {
	content: counter(s, decimal-leading-zero);
	font-family: var(--serif);
	font-style: italic;
	font-size: 18px;
	letter-spacing: 0;
	color: #7fc3cf;
}

.service-icon {
	flex: none;
	width: 32px;
	height: 32px;
	align-self: center;
	fill: currentColor;
	color: #7fc3cf;
}

/* Work */
.work {
	max-width: 1440px;
	margin: 0 auto;
}
.work .section-title {
	text-align: center;
}
.filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 48px;
}
.filter {
	font: italic 300 17px / 1 var(--serif);
	color: var(--muted);
	background: none;
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 10px 18px;
	cursor: pointer;
}
.filter:hover {
	color: var(--ink);
}
.filter.is-active {
	color: var(--ink);
	border-color: var(--ink);
}
.work-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
	gap: 56px 28px;
}
.work-item[hidden] {
	display: none;
}
.work-item figure {
	margin: 0 0 18px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--line);
}
.work-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.work-item a:hover img {
	transform: scale(1.04);
}
.work-item a {
	display: block;
	text-align: center;
}
.work-item h3 {
	font-size: 15px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 400;
}

@media (max-width: 860px) {
	.services-inner {
		grid-template-columns: 1fr;
	}
}
