@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400&display=swap");

:root {
	--bg-start: #000000;
	--bg-end: #404040;
	--text: rgba(255, 255, 255, 0.65);
	--heading: #ffffff;
	--muted: rgba(255, 255, 255, 0.45);
	--rule: rgba(255, 255, 255, 0.12);
	--embed-border: rgba(255, 255, 255, 0.2);
	--icon: rgba(255, 255, 255, 0.85);
	--max: 64em;
}

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

html {
	height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	margin: 0;
	min-height: 100%;
	min-height: 100vh;
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-size: 17pt;
	font-weight: 300;
	line-height: 1.65;
	color: var(--text);
	background-color: var(--bg-end);
	background-image:
		url("images/overlay.png"),
		linear-gradient(45deg, var(--bg-start) 15%, var(--bg-end) 85%);
	background-attachment: fixed;
	background-size: auto, cover;
	-webkit-text-size-adjust: none;
}

body.is-preload *,
body.is-preload *::before,
body.is-preload *::after {
	animation: none !important;
	transition: none !important;
}

@media screen and (max-width: 1680px) {
	body { font-size: 14pt; }
}

@media screen and (max-width: 1280px) {
	body { font-size: 12pt; }
}

@media screen and (max-width: 360px) {
	body { font-size: 11pt; }
}

a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px dotted;
	transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

a:hover {
	border-bottom-color: transparent;
}

h1, h2, h3 {
	color: var(--heading);
	font-weight: 300;
	line-height: 1.5;
	letter-spacing: -0.025em;
	margin: 0 0 0.7em;
}

h1 {
	font-size: 2.5em;
	line-height: 1.2;
}

h2 {
	font-size: 1.5em;
}

h3 {
	font-size: 1.15em;
	margin-bottom: 0.4em;
}

p {
	margin: 0 0 2em;
}

#wrapper {
	display: flex;
	flex-direction: column;
	flex: 1 0 auto;
	width: var(--max);
	max-width: calc(100% - 4em);
	margin: 0 auto;
}

@media screen and (max-width: 480px) {
	#wrapper { max-width: calc(100% - 2em); }
}

@media screen and (max-width: 360px) {
	#wrapper { max-width: 100%; }
}

/* Header */

#header {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1.5em 2em;
	padding: 5em 0 3em;
	text-align: left;
}

#header h1 {
	flex: 1 1 auto;
	font-size: 2.75em;
	margin: 0;
	line-height: 1.15;
	min-width: 0;
}

#header .nav-link {
	flex: 0 0 auto;
	margin-left: auto;
	font-family: inherit;
	font-size: 1.1em;
	font-weight: 300;
	line-height: 1.2;
	color: var(--heading);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	padding-bottom: 0.12em;
	white-space: nowrap;
	transition: color 0.2s ease, border-color 0.2s ease;
}

#header .nav-link:hover {
	color: var(--heading);
	border-bottom-color: rgba(255, 255, 255, 0.7);
}

#header > * {
	opacity: 1;
	transition: opacity 1.25s ease;
	transition-delay: 0.35s;
}

#header .logo {
	display: block;
	flex: 0 0 auto;
	margin: 0;
	transition: opacity 1s ease, transform 0.5s ease;
	transition-delay: 0s;
}

#header .logo img {
	display: block;
	width: 7.5rem;
	max-width: 100%;
	height: auto;
}

#header a.logo {
	border-bottom: 0;
}

body.is-preload #header > * {
	opacity: 0;
}

body.is-preload #header .logo {
	transform: scale(0.8) rotate(-30deg);
}

@media screen and (max-width: 1280px) {
	#header { padding: 4.5em 0 2.5em; }
}

@media screen and (max-width: 980px) {
	#header { padding: 4em 0 2em; }
	#header h1 { font-size: 2.25em; }
}

@media screen and (max-width: 736px) {
	#header {
		padding: 3em 0 1.5em;
		gap: 1em 1.25em;
	}

	#header .logo img {
		width: 5.5rem;
	}

	#header h1 { font-size: 1.75em; }
	h1 { font-size: 2em; }
}

@media screen and (max-width: 480px) {
	#header {
		padding: 2.5em 0 1em;
		gap: 0.85em 1em;
		flex-wrap: wrap;
	}

	#header .logo img {
		width: 4.5rem;
	}

	#header h1 {
		font-size: 1.45em;
		flex: 1 1 calc(100% - 6rem);
	}

	#header .nav-link {
		font-size: 1.05em;
	}
}

/* Main / sections */

#main {
	padding: 0 0 3em;
}

.section {
	padding: 3em 0;
	border-top: 1px solid var(--rule);
}

.section-head {
	max-width: 36em;
	margin: 0 0 2.5em;
}

.section-head h2 {
	margin-bottom: 0.35em;
}

.section-head p {
	margin: 0;
	font-size: 1.05em;
}

.content-slot {
	margin: 0 0 2em;
}

.content-slot:empty {
	display: none;
}

/* Services */

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5em 2em;
}

.service {
	min-width: 0;
}

.service-icon {
	width: 3rem;
	height: 3rem;
	margin: 0 0 1em;
	color: var(--icon);
}

.service-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.service h3 {
	margin-bottom: 0.35em;
}

.service p {
	margin: 0;
	font-size: 0.95em;
}

@media screen and (max-width: 980px) {
	.service-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2em 1.75em;
	}
}

@media screen and (max-width: 600px) {
	.service-grid {
		grid-template-columns: 1fr;
		gap: 1.75em;
	}
}

/* Contact */

.contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2em 3em;
	max-width: 28em;
}

.contact-item h3 {
	margin-bottom: 0.25em;
}

.contact-item p {
	margin: 0;
	font-size: 1.1em;
}

@media screen and (max-width: 736px) {
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 1.75em;
	}
}

/* ClickUp embed */

.embed-wrap {
	margin: 0 0 2em;
	border: 1px solid var(--embed-border);
	border-radius: 0.25em;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.25);
	min-height: 32rem;
}

.embed-wrap iframe {
	display: block;
	width: 100%;
	min-height: 32rem;
	border: 0;
	background: transparent;
}

/* Helpdesk follow-up */

.helpdesk-disclaimer {
	margin: 0 0 2.5em;
	font-size: 0.85em;
	line-height: 1.55;
	color: var(--muted);
}

.helpdesk-disclaimer p {
	margin: 0;
}

.helpdesk-urgent {
	max-width: 40em;
}

.helpdesk-urgent h2 {
	font-size: 1.75em;
	margin-bottom: 1em;
}

.helpdesk-steps {
	margin: 0 0 2em;
	padding-left: 1.35em;
}

.helpdesk-steps li {
	margin-bottom: 0.75em;
	padding-left: 0.25em;
}

.helpdesk-steps li:last-child {
	margin-bottom: 0;
}

.helpdesk-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1em 1.5em;
}

.helpdesk-whatsapp {
	display: block;
	border-bottom: 0;
	line-height: 0;
}

.helpdesk-whatsapp img {
	display: block;
	height: 2.75rem;
	width: auto;
}

.helpdesk-phone {
	display: inline-block;
	padding: 0.55em 1.25em;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 0.3em;
	background: rgba(255, 255, 255, 0.08);
	color: var(--heading);
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.helpdesk-phone:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.55);
	border-bottom-color: rgba(255, 255, 255, 0.55);
}

@media screen and (max-width: 480px) {
	.helpdesk-urgent h2 {
		font-size: 1.45em;
	}

	.helpdesk-whatsapp img {
		height: 2.35rem;
	}
}

/* Footer — legal band only */

#footer {
	flex-shrink: 0;
	width: 100%;
	margin-top: auto;
	background: rgba(0, 0, 0, 0.55);
	border-top: 1px solid var(--rule);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.footer-inner {
	width: var(--max);
	max-width: calc(100% - 4em);
	margin: 0 auto;
	padding: 1.5em 0;
}

#footer .copyright {
	margin: 0;
	font-size: 0.6em;
	line-height: 1.6;
	text-align: left;
	color: var(--muted);
}

@media screen and (max-width: 480px) {
	.footer-inner {
		max-width: calc(100% - 2em);
		padding: 1.25em 0;
	}

	.section {
		padding: 2.25em 0;
	}
}

@media screen and (max-width: 360px) {
	.footer-inner {
		max-width: calc(100% - 1.5em);
	}
}
