@font-face {
	font-family: "NovecentowideBold";
	src: url("../fonts/Novecentowide-Bold-webfont.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "NovecentowideLightRegular";
	src: url("../fonts/Novecentowide-Light-webfont.woff") format("woff");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

:root {
	--green: #009B77;
	--green-dark: #008F6E;
	--text: #2E2E2E;
	--paper: #fafaf7;
	--line: #2E2E2E;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: "IBM Plex Mono", monospace;
	line-height: 1.6;
}

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

.top-band {
	position: relative;
	padding: 20px 0 0 0;
	overflow: hidden;
}

.triangle {
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	opacity: 0.8;
}

.triangle-a {
	left: 7%;
	top: 44%;
	border-width: 0 44px 84px 44px;
	border-color: transparent transparent #efefef transparent;
	transform: rotate(180deg);
}

.triangle-b {
	left: 20%;
	bottom: -26%;
	border-width: 0 86px 220px 86px;
	border-color: transparent transparent #efefef transparent;
	transform: rotate(-36deg);
}

.triangle-c {
	left: 46%;
	top: 48%;
	border-width: 0 72px 130px 72px;
	border-color: transparent transparent #efefef transparent;
	transform: rotate(96deg);
}

.triangle-d {
	right: 24%;
	top: 52%;
	border-width: 0 52px 96px 52px;
	border-color: transparent transparent #efefef transparent;
	transform: rotate(152deg);
}

.triangle-e {
	right: 8%;
	top: 24%;
	border-width: 0 76px 145px 76px;
	border-color: transparent transparent #efefef transparent;
	transform: rotate(78deg);
}

.page {
	width: min(580px, calc(100% - 36px));
	margin: 0 auto;
	padding-top: 32px;
	padding-bottom: 58px;
	position: relative;
	z-index: 2;
}

.title-panel {
	width: min(580px, calc(100% - 40px));
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.title-rule {
	position: relative;
	height: 1px;
	background: transparent;
}

.title-rule::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	width: 100vw;
	height: 1px;
	background: var(--line);
	transform: translateX(-50%);
}

.title-rule-top::after {
	content: none;
}

.title-rule-bottom::before {
	content: "";
	position: absolute;
	left: 0;
	top: -2px;
	width: min(392px, 100%);
	height: 5px;
	background: var(--line);
	z-index: 1;
}

h1 {
	margin: 20px 0 16px;
	font-family: "NovecentowideBold", Arial, sans-serif;
	font-size: 76px;
	line-height: 0.86;
	letter-spacing: -5px;
	color: var(--text);
	text-transform: uppercase;
}

.intro {
	max-width: 100%;
	margin: 0 0 36px;
	font-size: 16px;
}

.links {
	width: 100%;
	margin: 0;
}

h2 {
	position: relative;
	margin: 0 0 24px;
	padding-top: 0;
	font-family: "NovecentowideLightRegular", Arial, sans-serif;
	font-size: 1.7rem;
	font-weight: 300;
	line-height: 1.18;
	letter-spacing: 0.01em;
	text-align: center;
	text-transform: uppercase;
}

h2::before {
	content: none;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

li {
	position: relative;
	display: flex;
	align-items: baseline;
	gap: 16px;
	justify-content: space-between;
	padding: 0 0 14px;
	margin: 0 0 14px;
	font-family: "NovecentowideLightRegular", Arial, sans-serif;
	font-size: 1.2rem;
	line-height: 1.22;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

li::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--line);
}

li a {
	position: relative;
	display: inline-block;
	transition: color 440ms ease;
}

li a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -16px;
	width: 100%;
	height: 5px;
	background: var(--line);
	z-index: 1;
}

li a::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -16px;
	width: 100%;
	height: 5px;
	background: var(--green);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 480ms ease;
	z-index: 2;
}

li a:hover::before {
	transform: scaleX(1);
}

li:last-child {
	margin-bottom: 0;
}

li span {
	display: block;
	margin-left: auto;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.92rem;
	font-style: italic;
	font-weight: 500;
	text-align: right;
	text-transform: none;
}

li a:hover,
.contact:hover {
	color: var(--green);
}

.contact {
	display: table;
	margin: 38px auto 0;
	padding: 12px 0 10px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	font-family: "NovecentowideLightRegular", Arial, sans-serif;
	font-size: 1.2rem;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	transition: border-color 440ms ease, color 440ms ease;
}

.contact:hover {
	border-color: var(--green);
}

.contact-page {
	padding-top: 32px;
}

.contact-top-band h1 {
	font-size: 68px;
}

.contact-top-band .title-rule-bottom::before {
	width: min(300px, 100%);
}

.back-home {
	display: table;
	margin: 0 0 30px;
	padding: 10px 0 8px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	font-family: "NovecentowideLightRegular", Arial, sans-serif;
	font-size: 1rem;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	transition: border-color 440ms ease, color 440ms ease;
}

.back-home:hover {
	color: var(--green);
	border-color: var(--green);
}

.contact-intro {
	margin-bottom: 32px;
}

.contact-form {
	margin: 0;
}

.field {
	position: relative;
	margin: 0 0 24px;
	padding-bottom: 18px;
}

.field::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--line);
}

.label {
	display: inline-block;
	position: relative;
	margin: 0 0 10px;
	font-family: "NovecentowideLightRegular", Arial, sans-serif;
	font-size: 1.05rem;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.label::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -14px;
	width: 100%;
	height: 5px;
	background: var(--line);
}

input,
textarea {
	width: 100%;
	padding: 13px 0 11px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--text);
	font: 15px/1.6 "IBM Plex Mono", monospace;
	outline: 0;
}

textarea {
	min-height: 150px;
	resize: vertical;
}

input::placeholder,
textarea::placeholder {
	color: rgba(46, 46, 46, 0.46);
}

input:focus,
textarea:focus {
	color: var(--green);
}

.g-recaptcha {
	margin: 10px 0 26px;
}

#mail-status {
	display: none;
	margin: 0 0 24px;
	padding: 12px 14px;
	font-family: "IBM Plex Mono", monospace;
	font-size: 14px;
}

.error {
	border-top: 1px solid #c45f1e;
	border-bottom: 1px solid #c45f1e;
	color: #c45f1e;
}

.success {
	border-top: 1px solid var(--green);
	border-bottom: 1px solid var(--green);
	color: var(--green);
}

button {
	display: table;
	margin: 0 auto;
	padding: 12px 0 10px;
	border: 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: transparent;
	color: var(--text);
	font-family: "NovecentowideLightRegular", Arial, sans-serif;
	font-size: 1.2rem;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	cursor: pointer;
	transition: border-color 440ms ease, color 440ms ease;
}

button:hover {
	color: var(--green);
	border-color: var(--green);
}

#loader-icon {
	margin-top: 24px;
	text-align: center;
}

@media (max-width: 860px) {
	.top-band {
		padding: 20px 0 0 0;
	}

	.title-panel {
		width: min(580px, calc(100% - 36px));
	}

	h1 {
		font-size: 58px;
		letter-spacing: -3px;
	}

	.title-rule-bottom::before {
		width: min(308px, 100%);
	}

	.intro {
		margin-left: 0;
		font-size: 15px;
	}

	h2 {
		margin-bottom: 28px;
		font-size: 1.22rem;
	}

	li {
		padding: 0 0 8px;
	}

	li span {
		display: block;
		text-align: right;
		font-size: 9px;
	}

	li a::after {
		bottom: -10px;
	}

	li a::before {
		bottom: -10px;
	}

	.contact {
		margin-left: auto;
		margin-right: auto;
	}

	.contact-top-band h1 {
		font-size: 54px;
	}

	.back-home {
		font-size: 0.92rem;
	}

	.label {
		font-size: 1rem;
	}

	input,
	textarea {
		font-size: 14px;
	}
}
