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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 2rem;
}

body {
	margin: 0;
	background: var(--laio-background);
	color: var(--laio-text);
	font-family: var(--laio-body-font);
	font-size: clamp(0.96rem, 1.2vw, 1.05rem);
	font-weight: 300;
	line-height: 2;
	overflow-x: hidden;
}

body.dialog-open {
	overflow: hidden;
}

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

a {
	color: inherit;
}

button,
input,
textarea {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
.eyebrow,
.button,
.contact-form button {
	font-family: var(--laio-heading-font);
}

h1,
h2,
h3,
p,
figure {
	margin-top: 0;
}

h1,
h2 {
	font-size: clamp(2.35rem, 3.2vw, 4rem);
	line-height: 1.5;
}

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

.screen-reader-text:focus {
	top: 1rem;
	left: 1rem;
	z-index: 9999;
	width: auto;
	height: auto;
	clip: auto;
	padding: 0.75rem 1rem;
	background: #fff;
	color: #000;
}

.site-header {
	display: grid;
	grid-template-columns: 1fr minmax(15rem, 25rem) 1fr;
	align-items: start;
	min-height: clamp(9rem, 11.5vw, 10.5rem);
	padding: 1.7% 5% 2%;
}

.site-logo {
	display: block;
	justify-self: center;
	width: min(100%, 20rem);
}

.site-logo img {
	width: 100%;
	height: auto;
}

.site-nav {
	justify-self: end;
	text-align: right;
}

.site-nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	display: block;
	font-family: var(--laio-heading-font);
	font-size: clamp(1rem, 1.5vw, 1.35rem);
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: 0.13em;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
	color: var(--laio-accent);
	transform: translateX(-0.3rem);
}

.overlap-block {
	display: grid;
	grid-template-columns: 61% 39%;
	align-items: center;
	padding-inline: 8%;
}

.overlap-block--hero {
	padding-bottom: 8%;
}

.overlap-block--about {
	grid-template-columns: 64% 36%;
	padding-bottom: 4%;
}

.overlap-block__panel {
	z-index: 1;
	min-width: 0;
	padding: 14% 24% 14% 17%;
}

.overlap-block__panel--primary {
	background: var(--laio-primary);
}

.overlap-block__panel--secondary {
	background: var(--laio-secondary);
	padding-block: 13%;
}

.overlap-block__panel h1 {
	max-width: 11ch;
	margin-bottom: 1.15em;
	font-weight: 300;
	text-transform: uppercase;
}

.overlap-block__panel h2 {
	margin-bottom: 0.45em;
	font-weight: 600;
	text-transform: uppercase;
}

.overlap-block__panel .rich-text {
	max-width: 35rem;
}

.overlap-block__media {
	z-index: 2;
	margin: 0 0 0 -27%;
}

.overlap-block__media--landscape {
	aspect-ratio: 1.5 / 1;
}

.overlap-block__media--portrait {
	aspect-ratio: 2 / 3;
}

.cover-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 13.4rem;
	border: 0;
	border-radius: 0;
	padding: 0.82em 2.8em;
	background: var(--laio-button);
	color: var(--laio-button-text);
	font-size: clamp(1rem, 1.5vw, 1.35rem);
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible,
.contact-form button:hover,
.contact-form button:focus-visible {
	background: var(--laio-accent);
	color: #fff;
	transform: translateY(-0.18rem);
}

.rich-text > *:last-child {
	margin-bottom: 0;
}

.rich-text p {
	margin-bottom: 0.75em;
}

.rich-text ul,
.rich-text ol {
	margin: 2.4rem 0;
	padding-left: 2.4rem;
}

.services {
	padding: 0 9% 8%;
}

.section-heading,
.services__list,
.services__outro,
.services > .rule {
	max-width: 76rem;
	margin-inline: auto;
}

.eyebrow {
	margin-bottom: 0.55em;
	color: #707070;
	font-size: clamp(1.75rem, 2.35vw, 2.2rem);
	font-weight: 600;
	line-height: 1.2;
}

.rule {
	width: 100%;
	height: 1px;
	margin-block: 2rem;
	background: currentColor;
}

.section-heading h2 {
	margin-bottom: 0.35em;
	font-weight: 300;
}

.services__intro {
	max-width: 70rem;
}

.service {
	padding-top: clamp(2.4rem, 5vw, 4.8rem);
}

.service h3 {
	margin-bottom: 0.5em;
	color: var(--laio-accent);
	font-size: clamp(1.65rem, 2.3vw, 2.2rem);
	font-weight: 300;
	line-height: 1.3;
}

.services__outro {
	margin-top: clamp(2.7rem, 5vw, 5rem);
}

.services > .rule {
	margin-top: 3.2rem;
}

.contact {
	display: grid;
	grid-template-columns: 43% 57%;
	align-items: center;
	padding: 0 8% 11%;
}

.contact__media {
	z-index: 2;
	margin: 0;
	aspect-ratio: 1.5 / 1;
}

.contact__panel {
	margin-left: -23%;
	padding: 14% 13% 14% 40%;
	background: var(--laio-primary);
}

.contact__panel h2 {
	margin-bottom: 0.55em;
	font-weight: 600;
	text-align: right;
	text-transform: uppercase;
}

.contact-form {
	display: grid;
	gap: 0.65rem;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
	width: 100%;
	border: 1px solid transparent;
	border-radius: 0;
	padding: 0.72rem 1rem;
	background: #1d1d1d;
	color: #fff;
	font-size: 0.95rem;
	line-height: 1.25;
	outline: none;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
	min-height: 12rem;
	resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-color: var(--laio-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--laio-accent) 30%, transparent);
}

.contact-form button {
	border: 0;
	border-radius: 0;
	padding: 0.45em 1em;
	background: #4e4e4e;
	color: #fff;
	font-size: clamp(1.65rem, 2.1vw, 2rem);
	font-weight: 500;
	cursor: pointer;
	transition: background 180ms ease, transform 180ms ease;
}

.contact-form__consent {
	display: flex;
	gap: 0.55rem;
	align-items: flex-start;
	font-size: 0.78rem;
	line-height: 1.45;
}

.contact-form__consent input {
	margin-top: 0.2rem;
}

.honeypot {
	position: absolute;
	left: -10000px;
}

.form-status {
	margin-bottom: 0.7rem;
	font-size: 0.9rem;
	line-height: 1.5;
}

.site-footer {
	padding: 1rem 8% 0;
	text-align: center;
}

.site-footer p {
	margin-bottom: 0.15rem;
	font-size: 0.9rem;
	line-height: 1.55;
}

.site-footer a {
	color: color-mix(in srgb, var(--laio-accent) 65%, #d43d62);
}

.site-footer__logo {
	width: min(18rem, 65vw);
	margin: 2.5rem auto 0;
}

.site-footer__logo img {
	width: 100%;
	height: auto;
}

.social-links {
	display: flex;
	justify-content: center;
	gap: 0.6rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.8rem;
	height: 2.8rem;
	border-radius: 50%;
	padding-inline: 0.75rem;
	background: var(--laio-accent);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 500;
	text-decoration: none;
	text-transform: uppercase;
}

.content-dialog {
	width: min(48rem, calc(100% - 2rem));
	max-height: calc(100dvh - 2rem);
	border: 0;
	padding: clamp(2rem, 7vw, 6rem);
	background: var(--laio-secondary);
	color: var(--laio-text);
	box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.18);
}

.content-dialog::backdrop {
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(7px);
}

.content-dialog__close {
	position: absolute;
	top: 0.65rem;
	right: 0.8rem;
	border: 0;
	padding: 0.1rem 0.65rem;
	background: transparent;
	color: currentColor;
	font-size: 2.2rem;
	cursor: pointer;
}

.basic-page {
	width: min(76rem, 82%);
	min-height: 60vh;
	margin-inline: auto;
	padding-block: 5rem;
}

.basic-page h1 {
	font-weight: 400;
}

[data-reveal] {
	opacity: 0;
	transform: translateY(1.5rem);
	transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

.cursor-glow {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9998;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 50%;
	background: var(--laio-accent);
	box-shadow: 0 0 1.3rem 0.55rem color-mix(in srgb, var(--laio-accent) 38%, transparent);
	pointer-events: none;
	opacity: 0;
	transform: translate3d(-50%, -50%, 0);
	transition: width 160ms ease, height 160ms ease, opacity 160ms ease;
}

.cursor-glow.is-active {
	opacity: 0.75;
}

.cursor-glow.is-hovering {
	width: 1.8rem;
	height: 1.8rem;
}

@media (max-width: 1024px) {
	body {
		font-size: 0.9rem;
	}

	.site-header {
		grid-template-columns: 1fr minmax(13rem, 20rem) 1fr;
	}

	.overlap-block__panel {
		padding-right: 20%;
	}

	.contact__panel {
		padding-right: 10%;
	}
}

@media (max-width: 767px) {
	html {
		scroll-padding-top: 1rem;
	}

	body {
		font-size: 0.95rem;
		line-height: 1.75;
	}

	h1,
	h2 {
		font-size: clamp(2rem, 9vw, 3rem);
		line-height: 1.3;
	}

	.site-header {
		grid-template-columns: 1fr auto;
		align-items: center;
		min-height: 7rem;
		padding: 1.2rem 6%;
	}

	.site-header__spacer {
		display: none;
	}

	.site-logo {
		justify-self: start;
		width: min(13rem, 58vw);
	}

	.site-nav a {
		font-size: 0.8rem;
		line-height: 1.65;
	}

	.overlap-block,
	.overlap-block--about {
		display: flex;
		flex-direction: column;
		padding: 0;
	}

	.overlap-block__panel {
		width: 100%;
		padding: 14% 9% 18%;
	}

	.overlap-block__panel h1 {
		max-width: 13ch;
	}

	.overlap-block__media {
		width: 88%;
		margin: -10% 0 0 auto;
	}

	.overlap-block__media--portrait {
		width: 82%;
		margin-top: -8%;
	}

	.overlap-block--about {
		padding-top: 4rem;
	}

	.overlap-block--about .overlap-block__panel {
		padding-top: 16%;
	}

	.button {
		min-width: 11rem;
	}

	.services {
		padding: 5.5rem 7% 5rem;
	}

	.eyebrow {
		font-size: 1.7rem;
	}

	.service h3 {
		font-size: 1.65rem;
	}

	.rich-text ul,
	.rich-text ol {
		margin-block: 1.6rem;
		padding-left: 1.5rem;
	}

	.contact {
		display: flex;
		flex-direction: column;
		padding: 0 0 6rem;
	}

	.contact__media {
		z-index: 2;
		width: 88%;
		margin: 0 auto -8%;
	}

	.contact__panel {
		width: 100%;
		margin: 0;
		padding: 19% 9% 14%;
	}

	.contact__panel h2 {
		text-align: left;
	}

	.site-footer {
		padding-inline: 7%;
	}

	.cursor-glow {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	[data-reveal] {
		opacity: 1;
		transform: none;
	}
}

