/*
Theme Name: QUYFIN
Theme URI: https://www.quyfin.com/
Author: QUYFIN
Description: Official WordPress theme for QUYFIN - Research Observatory on Biodiversity Dynamics.
Version: 1.2.0
Text Domain: quyfin
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
*/

:root {
	--bg: #fbfbfa;
	--card: #f2f3f2;
	--soft: #edf5fb;
	--ink: #27323a;
	--muted: #7b858b;
	--line: #e2e5e4;
	--dark: #08212b;
	--accent: #eab9b6;
	--blue: #dfeef7;
	--sans: "Sora", Arial, sans-serif;
	--mono: "Sora", Arial, sans-serif;
	--container: calc(100% - 128px);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 15px;
	line-height: 1.55;
	text-rendering: optimizeLegibility;
}

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

a {
	color: inherit;
}

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

h1,
h2,
h3 {
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.05;
}

h1 {
	max-width: 780px;
	font-size: clamp(34px, 4.4vw, 68px);
}

h2 {
	font-size: clamp(28px, 2.1vw, 42px);
}

h3 {
	font-size: 17px;
}

p {
	color: var(--muted);
}

body h1,
body h2,
body h3,
body h4,
body p {
	font-weight: 300;
}

body h3 {
	font-size: clamp(20px, 1.45vw, 28px);
	line-height: 1.2;
	letter-spacing: -0.01em;
}

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

.section {
	width: var(--container);
	margin: 0 auto;
	padding: 76px 0;
}

.eyebrow,
.section__kicker {
	font-family: var(--mono);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.site-header {
	position: fixed;
	z-index: 50;
	top: 0;
	left: 0;
	right: 0;
	color: var(--ink);
}

.site-header__inner {
	width: calc(100% - 128px);
	height: 112px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(180px, 1fr) 360px 206px 236px;
	gap: 32px;
	align-items: start;
	padding-top: 48px;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transition: width 360ms ease, height 360ms ease, padding 360ms ease, border-radius 280ms ease, background 280ms ease, box-shadow 280ms ease, grid-template-columns 360ms ease;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	min-height: 58px;
	padding: 0;
	border-radius: 9px;
	background: transparent;
	box-shadow: none;
	width: auto;
	text-decoration: none;
	transition: padding 280ms ease, background 280ms ease, box-shadow 280ms ease, backdrop-filter 280ms ease;
}

.site-brand span {
	color: rgba(255, 255, 255, 0.9);
	font-size: 28px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	transition: color 280ms ease;
}

.site-header.is-scrolled .site-brand span {
	color: rgba(255, 255, 255, 0.9);
}

.site-header.is-past-hero .site-brand span {
	color: rgba(39, 50, 58, 0.72);
}

body:not(.home) .site-header .site-brand span,
body:not(.home) .site-header.is-scrolled .site-brand span {
	color: rgba(39, 50, 58, 0.78);
}

.site-header.is-past-hero .site-header__inner,
body:not(.home) .site-header.is-scrolled .site-header__inner {
	background: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(14px);
	border-radius: 9px;
	box-shadow: 0 12px 34px rgba(39, 50, 58, 0.08);
}

.site-header.is-scrolled .site-header__inner {
	width: calc(100% - 64px);
	height: 74px;
	grid-template-columns: 1fr auto;
	align-items: center;
	padding: 0 12px 0 30px;
}

body:not(.home) .site-header.is-scrolled .site-header__inner {
	width: calc(100% - 64px);
	height: 74px;
	grid-template-columns: 1fr auto;
	align-items: center;
	padding: 0 12px 0 30px;
}

.site-header.is-scrolled .site-header__tagline,
.site-header.is-scrolled .site-search {
	position: absolute;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-10px);
}

body:not(.home) .site-header:not(.is-scrolled) .site-header__tagline {
	position: absolute;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

body:not(.home) .site-header:not(.is-scrolled) .site-search {
	position: absolute;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.site-header__tagline {
	max-width: 360px;
	margin: 0;
	color: rgba(255, 255, 255, 0.94);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.18;
	opacity: 1;
	transform: translateY(0);
	transition: opacity 240ms ease, transform 240ms ease, visibility 240ms ease;
}

.site-search {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 236px;
	height: 58px;
	padding: 0 14px 0 20px;
	border: 0;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.24);
	backdrop-filter: blur(14px);
	color: rgba(255, 255, 255, 0.92);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	opacity: 1;
	transform: translateY(0);
	transition: opacity 240ms ease, transform 240ms ease, visibility 240ms ease, background 280ms ease;
}

.site-search input {
	width: 100%;
	min-width: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	outline: 0;
}

.site-search input::placeholder {
	color: rgba(255, 255, 255, 0.92);
	opacity: 1;
}

.site-search button {
	display: flex;
	flex: 0 0 38px;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.site-search__icon {
	position: relative;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.9);
	border-radius: 50%;
}

.site-search__icon::after {
	content: "";
	position: absolute;
	right: -6px;
	bottom: -4px;
	width: 9px;
	height: 2px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	transform: rotate(45deg);
	transition: background 280ms ease;
}

.primary-nav {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 55;
	width: 236px;
	min-height: 300px;
	padding: 62px 38px 34px;
	border-radius: 0 0 0 12px;
	background: linear-gradient(180deg, rgba(196, 218, 207, 0.72), rgba(151, 174, 139, 0.64) 58%, rgba(222, 215, 188, 0.9));
	backdrop-filter: blur(18px);
	opacity: 1;
	transform: translateY(0);
	transition: opacity 280ms ease, transform 280ms ease, visibility 280ms ease, background 280ms ease, top 280ms ease, right 280ms ease, border-radius 280ms ease;
}

.primary-nav__list {
	list-style: none;
	display: grid;
	gap: 11px;
	margin: 0;
	padding: 0;
}

.primary-nav a {
	font-family: var(--sans);
	font-size: 18px;
	font-weight: 400;
	line-height: 25.5px;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	color: #fff;
}

.nav-toggle {
	display: flex;
	position: fixed;
	top: 26px;
	right: 32px;
	z-index: 60;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.24);
	backdrop-filter: blur(12px);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-6px);
	transition: opacity 260ms ease 120ms, transform 260ms ease 120ms, background 280ms ease, box-shadow 280ms ease;
}

.nav-toggle__line,
.nav-toggle__line::before,
.nav-toggle__line::after {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 999px;
	background: #fff;
	transition: background 280ms ease, transform 220ms ease;
}

.nav-toggle__line {
	position: relative;
}

.nav-toggle__line::before,
.nav-toggle__line::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle__line::before {
	top: -6px;
}

.nav-toggle__line::after {
	top: 6px;
}

.site-header.is-scrolled .nav-toggle {
	position: static;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
	background: rgba(255, 255, 255, 0.24);
	box-shadow: 0 12px 34px rgba(39, 50, 58, 0.08);
}

body:not(.home) .site-header.is-scrolled .nav-toggle {
	position: static;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
	background: rgba(255, 255, 255, 0.36);
	box-shadow: none;
}

.site-header.is-scrolled .nav-toggle__line,
.site-header.is-scrolled .nav-toggle__line::before,
.site-header.is-scrolled .nav-toggle__line::after {
	background: rgba(255, 255, 255, 0.9);
}

.site-header.is-past-hero .nav-toggle {
	background: rgba(255, 255, 255, 0.36);
	box-shadow: none;
}

.site-header.is-past-hero .nav-toggle__line,
.site-header.is-past-hero .nav-toggle__line::before,
.site-header.is-past-hero .nav-toggle__line::after {
	background: rgba(39, 50, 58, 0.78);
}

body:not(.home) .site-header.is-scrolled .nav-toggle__line,
body:not(.home) .site-header.is-scrolled .nav-toggle__line::before,
body:not(.home) .site-header.is-scrolled .nav-toggle__line::after {
	background: rgba(39, 50, 58, 0.78);
}

.site-header.is-scrolled .primary-nav {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-10px) scale(0.985);
	top: 0;
	right: 0;
	width: 236px;
	min-height: auto;
	padding: 62px 38px 34px;
	border-radius: 0 0 0 12px;
}

body:not(.home) .site-header.is-scrolled .primary-nav {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-10px) scale(0.985);
	top: 82px;
	right: 32px;
	width: 236px;
	min-height: auto;
	padding: 30px 34px;
	border-radius: 10px;
}

.site-header.is-scrolled .primary-nav.is-open,
body:not(.home) .site-header.is-scrolled .primary-nav.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	top: 82px;
	right: 32px;
	padding: 30px 34px;
	border-radius: 10px;
	transform: translateY(0);
}

.site-main {
	overflow: hidden;
}

.marity-hero {
	position: relative;
	min-height: 690px;
	height: 100svh;
	background: #d8dcda;
	overflow: hidden;
}

.marity-hero__image {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 1;
	filter: none;
}

.marity-hero__wash {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(18, 23, 26, 0.34), rgba(18, 23, 26, 0.12) 42%, rgba(18, 23, 26, 0.03) 72%),
		linear-gradient(180deg, rgba(18, 23, 26, 0.18), rgba(18, 23, 26, 0.04) 46%, rgba(18, 23, 26, 0.2));
}

.marity-orb {
	position: absolute;
	display: none;
	top: -8vw;
	width: 54vw;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 42% 35%, #eef0ef 0, #d3d7d5 54%, #aeb6b3 100%);
	box-shadow: inset -42px -60px 90px rgba(83, 95, 99, 0.22), 0 30px 80px rgba(40, 50, 58, 0.12);
	opacity: 0.93;
}

.marity-orb--left {
	left: -5vw;
}

.marity-orb--right {
	right: -7vw;
}

.marity-hero__content {
	position: absolute;
	top: 46%;
	left: 6.5vw;
	z-index: 4;
	width: min(780px, 52vw);
	transform: translateY(-50%);
}

.marity-hero__content h1 {
	max-width: 860px;
	margin-bottom: 28px;
	color: #fff;
	font-size: clamp(34px, 3.4vw, 58px);
	font-weight: 300;
	letter-spacing: 0;
	line-height: 1.1;
	text-shadow: 0 1px 22px rgba(39, 50, 58, 0.28);
}

.marity-hero__content p {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.35;
}

.marity-hero__content p::before {
	content: "*";
	margin-right: 1px;
	color: rgba(255, 255, 255, 0.88);
}

.marity-hero__marker {
	position: absolute;
	left: 0;
	bottom: -1px;
	z-index: 6;
	display: flex;
	align-items: center;
	gap: 26px;
	width: min(58vw, 1120px);
	height: 76px;
	padding: 0 34px 0 0;
	background: #f7f7f7;
	border-radius: 0 22px 0 0;
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ink);
}

.marity-hero__marker-icon {
	position: relative;
	display: grid;
	place-items: center;
	flex: 0 0 76px;
	align-self: stretch;
	background: linear-gradient(135deg, rgba(158, 179, 145, 0.46), rgba(190, 213, 196, 0.38) 58%, rgba(231, 184, 180, 0.18));
}

.marity-hero__marker-icon img {
	width: 56px;
	height: 56px;
	object-fit: contain;
	filter: none;
	opacity: 1;
}

.marity-intro {
	position: relative;
	z-index: 8;
	width: 100%;
	margin: 0;
	background:
		radial-gradient(circle, rgba(39, 50, 58, 0.08) 1px, transparent 1.5px) calc(100% - 580px) 58px / 34px 34px no-repeat,
		var(--bg);
}

.marity-intro__card {
	position: relative;
	min-height: 700px;
	background: transparent;
}

.marity-intro__copy {
	width: min(58vw, 1120px);
	min-height: 700px;
	padding: 76px 7vw 76px 6vw;
	background: #f7f7f7;
}

.marity-intro__copy h2 {
	max-width: 760px;
	margin-bottom: 68px;
	font-size: clamp(28px, 2.1vw, 42px);
	font-weight: 300;
	letter-spacing: -0.02em;
	line-height: 1.18;
}

.marity-service-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 56px 68px;
	max-width: 830px;
}

.marity-service-list h3 {
	margin-bottom: 18px;
	font-size: clamp(20px, 1.45vw, 28px);
	font-weight: 300;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.marity-service-list p {
	max-width: 330px;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.55;
}

.marity-intro__visual {
	position: absolute;
	z-index: 2;
	top: 218px;
	left: 52vw;
	right: 72px;
	margin: 0;
	transform: none;
	background: #111;
}

.marity-intro__visual img {
	width: 100%;
	aspect-ratio: 16 / 10.5;
	object-fit: cover;
	filter: grayscale(1) brightness(0.48) contrast(1.08);
}

.marity-intro__visual span {
	position: absolute;
	top: 22px;
	left: 22px;
	font-family: var(--mono);
	font-size: 10px;
	color: #fff;
	letter-spacing: 0.1em;
}

.marity-heading-row {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 30px;
	border-top: 1px solid var(--line);
	padding-top: 30px;
}

.marity-plans .marity-heading-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 34px;
	margin-bottom: 58px;
	border-top: 0;
	padding-top: 0;
}

.marity-plans .marity-heading-row>div:first-child {
	display: contents;
}

.marity-plans .eyebrow {
	grid-column: 1 / -1;
	margin: 0;
	padding-bottom: 26px;
	border-bottom: 1px solid #cfd5d3;
	color: var(--ink);
	font-size: 15px;
	font-weight: 300;
	letter-spacing: 0.02em;
}

.marity-plans .marity-heading-row h2 {
	grid-column: 1;
	margin: 0;
	font-size: clamp(28px, 2.1vw, 42px);
	font-weight: 300;
	letter-spacing: -0.02em;
	line-height: 1.18;
}

.marity-arrows {
	display: flex;
	gap: 8px;
}

.marity-plans .marity-arrows {
	grid-column: 2;
	grid-row: 2;
	align-self: start;
	gap: 12px;
}

.marity-arrows button {
	width: 38px;
	height: 38px;
	border: 1px solid #c8cfcd;
	background: transparent;
	color: var(--ink);
	font-size: 22px;
	cursor: pointer;
}

.marity-plans .marity-arrows button {
	width: 74px;
	height: 74px;
	border-color: var(--ink);
	border-radius: 8px;
	color: var(--ink);
	font-size: 34px;
	font-weight: 300;
	line-height: 1;
}

.marity-project-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.marity-project-row:has(> .marity-plan-card:nth-child(2):last-child) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.marity-plan-card a {
	display: block;
	text-decoration: none;
}

.marity-plan-card {
	position: relative;
}

.marity-plan-card a {
	outline-offset: 6px;
}

.marity-plan-card__media {
	position: relative;
	display: block;
	overflow: hidden;
}

.marity-plan-card__media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(18, 23, 26, 0);
	pointer-events: none;
	transition: background 850ms ease;
}

.marity-plan-card img {
	width: 100%;
	aspect-ratio: 1.28 / 1;
	object-fit: cover;
	filter: saturate(0.78);
	transform: scale(1);
	transform-origin: center;
	transition: transform 1400ms cubic-bezier(0.19, 1, 0.22, 1), filter 900ms ease;
}

.marity-plans .marity-plan-card img {
	aspect-ratio: 1.46 / 1;
}

.marity-plan-card:hover img,
.marity-plan-card:focus-within img {
	filter: saturate(0.92) contrast(1.04);
	transform: scale(1.045);
}

.marity-plan-card:hover .marity-plan-card__media::before,
.marity-plan-card:focus-within .marity-plan-card__media::before {
	background: rgba(18, 23, 26, 0.12);
}

.marity-plan-card h3 {
	margin: 14px 0 2px;
	font-size: 15px;
	letter-spacing: -0.02em;
}

.marity-plans .marity-plan-card h3 {
	margin: 28px 0 8px;
	font-size: clamp(24px, 1.75vw, 34px);
	font-weight: 300;
	line-height: 1.18;
	letter-spacing: -0.015em;
}

.marity-plan-card p {
	margin: 0;
	font-family: var(--mono);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.marity-plans .marity-plan-card p {
	font-size: 13px;
	font-weight: 300;
	letter-spacing: 0.04em;
}

.marity-feature-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.marity-feature-cards article {
	position: relative;
	min-height: 520px;
	padding: clamp(44px, 4.4vw, 72px);
	display: grid;
	align-content: space-between;
	background: #f7f5f3;
	border-radius: 30px;
	overflow: hidden;
}

.marity-feature-cards article:nth-child(2) {
	background: var(--soft);
}

.marity-feature-cards p,
.marity-feature-cards li {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.55;
}

.marity-feature-cards ul {
	margin: 20px 0 0;
	padding-left: 18px;
	color: var(--muted);
}

.radial-map {
	position: absolute;
	top: 48px;
	right: 54px;
	width: min(28vw, 252px);
	aspect-ratio: 1;
	opacity: 0.08;
	object-fit: contain;
	pointer-events: none;
}

.radial-map--blue {
	opacity: 0.075;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 10px 20px;
	border: 1px solid #bbc4c1;
	background: transparent;
	color: var(--ink);
	font-family: var(--mono);
	font-size: 10px;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	width: fit-content;
}

.marity-feature-cards .button {
	justify-self: end;
	min-width: 224px;
	min-height: 72px;
	padding: 0 42px;
	border-color: rgba(39, 50, 58, 0.78);
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.06em;
	transition: background 260ms ease, color 260ms ease, border-color 260ms ease;
}

.marity-feature-cards .button:hover,
.marity-feature-cards .button:focus-visible {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.marity-about {
	padding-top: 58px;
}

.marity-tabs {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	margin-bottom: clamp(72px, 8vw, 126px);
	border-bottom: 1px solid #d4dbd8;
	padding-top: 0;
}

.marity-tabs button {
	width: clamp(210px, 15.5vw, 270px);
	height: 72px;
	margin-bottom: -1px;
	padding: 0 26px 0 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border: 1px solid transparent;
	border-bottom-color: #d4dbd8;
	border-radius: 8px 8px 0 0;
	background: transparent;
	color: #8d989d;
	font-family: var(--mono);
	font-size: 15px;
	font-weight: 300;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.marity-tabs button span {
	color: #aeb5b8;
	font-weight: 300;
}

.marity-tabs button strong {
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.05em;
}

.marity-tabs button.is-active {
	border-color: #d4dbd8;
	border-bottom-color: var(--bg);
	background: var(--bg);
	color: var(--ink);
}

.marity-tabs button:focus-visible {
	outline: 2px solid rgba(39, 50, 58, 0.35);
	outline-offset: 3px;
}

.marity-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.42fr) minmax(420px, 0.58fr);
	gap: clamp(36px, 6vw, 90px);
	align-items: center;
}

.marity-tab-panel[hidden] {
	display: none;
}

.marity-tab-panel {
	animation: aboutPanelIn 360ms ease both;
}

.marity-tab-panel .eyebrow {
	margin-bottom: 18px;
	color: #8d989d;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: 0.14em;
}

.marity-tab-panel h2 {
	margin-bottom: 26px;
	font-size: clamp(28px, 2.1vw, 42px);
	font-weight: 300;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.marity-about__grid p {
	max-width: 560px;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.55;
}

.marity-about .button {
	min-width: 178px;
	min-height: 58px;
	margin-top: 26px;
	border-color: rgba(39, 50, 58, 0.78);
	border-radius: 8px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.07em;
	transition: background 260ms ease, color 260ms ease, border-color 260ms ease;
}

.marity-about .button:hover,
.marity-about .button:focus-visible {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.marity-about__grid figure {
	position: relative;
	margin: 0;
}

.marity-about__grid img {
	width: 100%;
	aspect-ratio: 1.6 / 1;
	object-fit: cover;
}

.marity-about__data {
	position: absolute;
	left: 7%;
	right: 6%;
	bottom: 7%;
	min-height: 132px;
	display: grid;
	grid-template-columns: 132px 1fr;
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
	padding: 26px clamp(30px, 4vw, 56px);
	border-radius: 9px;
	background: rgba(28, 32, 35, 0.52);
	backdrop-filter: blur(18px);
	color: rgba(255, 255, 255, 0.88);
}

.marity-about__ring {
	width: 132px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: conic-gradient(#eef9f8 0 26%, #ffffff 26% 62%, #efd1cf 62% 88%, #d9f2f4 88% 100%);
	position: relative;
}

.marity-about__ring::after {
	content: "";
	position: absolute;
	inset: 34%;
	border-radius: 50%;
	background: rgba(39, 50, 58, 0.72);
	backdrop-filter: blur(8px);
}

.marity-about__data ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 18px;
}

.marity-about__data li {
	position: relative;
	min-height: 22px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	border-top: 1px solid rgba(255, 255, 255, 0.28);
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(15px, 1.2vw, 20px);
	font-weight: 300;
	line-height: 1.2;
	text-transform: lowercase;
}

.marity-about__data li::before {
	content: "";
	position: absolute;
	top: -5px;
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #fff;
}

.marity-about__data li:nth-child(2)::before {
	background: #efd1cf;
}

.marity-about__data li:nth-child(3)::before {
	background: #d9f2f4;
}

.marity-about__grid figcaption {
	position: absolute;
	right: 20px;
	top: 20px;
	max-width: 220px;
	padding: 14px;
	background: transparent;
	color: #fff;
	font-size: 12px;
}

@keyframes aboutPanelIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

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

.marity-story-grid article {
	min-height: 430px;
	display: grid;
	grid-template-rows: auto 1fr auto;
	align-content: space-between;
	gap: 42px;
	padding: 36px;
	background: #f4f5f4;
	border-radius: 30px;
}

.marity-stories .marity-heading-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 34px;
	margin-bottom: 58px;
	border-top: 0;
	padding-top: 0;
}

.marity-stories .marity-heading-row>div:first-child {
	display: contents;
}

.marity-stories .eyebrow {
	grid-column: 1 / -1;
	margin: 0;
	padding-bottom: 26px;
	border-bottom: 1px solid #cfd5d3;
	color: var(--ink);
	font-size: 15px;
	font-weight: 300;
	letter-spacing: 0.02em;
}

.marity-stories .marity-heading-row h2 {
	grid-column: 1;
	margin: 0;
	font-size: clamp(28px, 2.1vw, 42px);
	font-weight: 300;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.marity-stories .marity-heading-row .button {
	grid-column: 2;
	grid-row: 2;
	align-self: start;
	min-width: 190px;
	min-height: 68px;
	border-color: rgba(39, 50, 58, 0.78);
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.06em;
	transition: background 260ms ease, color 260ms ease, border-color 260ms ease;
}

.marity-stories .marity-heading-row .button:hover,
.marity-stories .marity-heading-row .button:focus-visible {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.marity-story-card__meta,
.marity-story-card__footer,
.marity-story-card__terms {
	display: flex;
	align-items: center;
}

.marity-story-card__meta {
	gap: 14px;
	color: #9ba3a8;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.2;
	white-space: nowrap;
}

.marity-story-card__meta span {
	font-family: var(--mono);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.marity-story-card__meta strong,
.marity-story-card__meta time {
	color: var(--ink);
	font-size: 15px;
	font-weight: 300;
}

.marity-story-card__meta i {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #e5b9b6;
}

.marity-story-card__body {
	align-self: start;
	padding-top: 28px;
}

.marity-story-card__terms {
	gap: 8px;
	margin-bottom: 26px;
}

.marity-story-card__terms span {
	min-width: 72px;
	padding: 8px 13px;
	border-radius: 999px;
	background: #c7cedf;
	color: #fff;
	font-size: 12px;
	font-weight: 300;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.marity-story-card__terms .term-2 {
	background: #9dbba9;
}

.marity-story-grid h3 {
	margin: 0;
}

.marity-story-grid h3 a {
	color: var(--ink);
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	text-decoration: none;
}

.marity-story-card__footer {
	justify-content: space-between;
	gap: 18px;
	color: #9ba3a8;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.2;
	text-transform: uppercase;
}

.marity-story-card__footer a {
	position: relative;
	padding-right: 18px;
	color: var(--ink);
	font-size: 14px;
	font-weight: 300;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.marity-story-card__footer a::after {
	content: "↗";
	position: absolute;
	right: 0;
	top: -2px;
	font-size: 18px;
	line-height: 1;
}

.marity-what__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.42fr) minmax(420px, 0.58fr);
	gap: clamp(36px, 6vw, 90px);
	align-items: start;
}

.accordion-look {
	border-top: 1px solid var(--line);
}

.accordion-look div {
	display: flex;
	justify-content: space-between;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
	font-family: var(--mono);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.accordion-look p {
	margin-top: 26px;
	font-size: 13px;
}

.marity-what figure {
	position: relative;
	margin: 0;
}

.marity-what img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	filter: brightness(1.07) saturate(0.75);
}

.marity-what figure div {
	position: absolute;
	bottom: 0;
	width: 170px;
	padding: 20px;
	background: rgba(39, 50, 58, 0.42);
	color: #fff;
}

.marity-what figure div:first-of-type {
	left: 45%;
}

.marity-what figure div:last-of-type {
	right: 0;
}

.marity-what strong {
	display: block;
	font-size: 26px;
	font-weight: 400;
}

.marity-what span {
	font-family: var(--mono);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.marity-data__grid {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 36px;
	align-items: stretch;
}

.marity-data aside {
	padding: 42px;
	background: #f2f4f4;
	border-radius: 8px;
}

.marity-data aside h3 {
	margin-bottom: 26px;
}

.marity-data li {
	margin-bottom: 12px;
	font-size: 13px;
	color: var(--muted);
}

.bar-chart {
	min-height: 360px;
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	align-items: end;
	gap: 22px;
	padding: 30px 46px;
	border: 1px solid var(--line);
	background:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 100% 25%, 12.5% 100%;
}

.bar-chart span {
	height: var(--h);
	background: #cfd7da;
}

.bar-chart span:nth-child(even) {
	background: #ead6d4;
}

.marity-team-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.marity-team-grid img {
	width: 100%;
	aspect-ratio: 4 / 4.4;
	object-fit: cover;
}

.marity-team-grid h3 {
	margin: 14px 0 2px;
	font-size: 15px;
}

.marity-team-grid p {
	margin: 0;
	font-family: var(--mono);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.founders-section {
	width: var(--container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	padding: 34px 0 110px;
	border-top: 1px solid var(--line);
}

.founder img {
	width: 100%;
	aspect-ratio: 4 / 3.1;
	object-fit: cover;
}

.founder>div {
	padding-top: 34px;
}

.founder .eyebrow {
	margin-bottom: 16px;
	font-size: 11px;
	font-weight: 300;
	color: var(--muted);
}

.founder h2 {
	margin-bottom: 12px;
	font-size: clamp(28px, 2.1vw, 42px);
	font-weight: 300;
	line-height: 1.16;
	letter-spacing: -0.02em;
}

.founder p:not(.eyebrow) {
	max-width: 560px;
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.65;
}

.marity-scientists .marity-heading-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 34px;
	margin-bottom: 58px;
	border-top: 0;
	padding-top: 0;
}

.marity-scientists .marity-heading-row>div:first-child {
	display: contents;
}

.marity-scientists .eyebrow {
	grid-column: 1 / -1;
	margin: 0;
	padding-bottom: 26px;
	border-bottom: 1px solid #cfd5d3;
	color: var(--ink);
	font-size: 15px;
	font-weight: 300;
	letter-spacing: 0.02em;
}

.marity-scientists .marity-heading-row h2 {
	grid-column: 1;
	margin: 0;
	font-size: clamp(28px, 2.1vw, 42px);
	font-weight: 300;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.marity-scientists .marity-arrows {
	grid-column: 2;
	grid-row: 2;
	align-self: start;
	gap: 12px;
}

.marity-scientists .marity-arrows button {
	width: 74px;
	height: 74px;
	border-color: var(--ink);
	border-radius: 8px;
	color: var(--ink);
	font-size: 34px;
	font-weight: 300;
	line-height: 1;
}

.marity-partner-strip {
	--ticker-gap: 84px;
	--ticker-slot: clamp(240px, 18vw, 320px);
	overflow: hidden;
	padding-top: 42px;
	padding-bottom: 42px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marity-partner-strip__track {
	display: flex;
	width: max-content;
	animation: partnerTicker 26s linear infinite;
	transform: translate3d(0, 0, 0);
	will-change: transform;
}

.marity-partner-strip:hover .marity-partner-strip__track {
	animation-play-state: paused;
}

.marity-partner-strip__group {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.marity-partner-strip__group div {
	flex: 0 0 calc(var(--ticker-slot) + var(--ticker-gap));
	width: calc(var(--ticker-slot) + var(--ticker-gap));
	padding-inline: calc(var(--ticker-gap) / 2);
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 92px;
	overflow: hidden;
	contain: layout paint;
}

.marity-partner-strip img {
	display: block;
	max-width: min(188px, 100%);
	max-height: 58px;
	width: auto;
	height: auto;
	object-fit: contain;
	opacity: 0.42;
	filter: grayscale(1);
	transition: opacity 260ms ease, filter 260ms ease, transform 260ms ease;
}

.partner-logo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 180px));
	gap: 16px;
	margin-top: 22px;
}

.partner-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 2.4 / 1;
	padding: 18px 22px;
	border: 1px solid var(--line);
	background: #fff;
}

.partner-logo img {
	display: block;
	max-width: 128px;
	max-height: 48px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.marity-partner-strip__group div:hover img,
.marity-partner-strip__group div:focus-within img {
	opacity: 1;
	filter: grayscale(0);
	transform: translateY(-2px);
}

@keyframes partnerTicker {
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.marity-partner-strip__track {
		animation: none;
	}
}

.site-footer {
	background: var(--dark);
	color: #fff;
}

.site-footer__grid {
	width: var(--container);
	margin: 0 auto;
	padding: 76px 0;
	display: grid;
	grid-template-columns: 1.3fr 0.7fr 0.8fr;
	gap: 60px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__brand {
	width: 98px;
	display: block;
	margin-bottom: 24px;
	filter: brightness(0) invert(1);
}

.site-footer p,
.site-footer .eyebrow {
	color: rgba(255, 255, 255, 0.64);
}

.site-footer__address {
	font-style: normal;
	margin-top: 10px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 13px;
	line-height: 1.5;
}

.site-footer a {
	color: #fff;
}

.site-footer__bottom {
	width: var(--container);
	margin: 0 auto;
	padding: 22px 0 28px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	font-size: 12px;
}

.site-footer__bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.64);
}

.site-footer__produced-by {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.64);
	font-size: 12px;
	font-weight: 300;
	letter-spacing: 0.03em;
}

.site-footer__produced-by span {
	line-height: 1;
}

.site-footer__produced-by a {
	display: inline-flex;
	align-items: center;
	line-height: 1;
	transition: opacity 180ms ease, transform 180ms ease;
}

.site-footer__produced-by a:hover,
.site-footer__produced-by a:focus-visible {
	opacity: 0.82;
	transform: translateY(-1px);
}

.site-footer__produced-by img {
	width: 128px;
	height: auto;
	display: block;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	color: rgba(255, 255, 255, 0.64);
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 300;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-footer__legal a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
	transition: color 180ms ease;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
	color: #fff;
}

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

.page-hero,
.project-hero {
	width: var(--container);
	margin: 0 auto;
	padding: 125px 0 60px;
}

.page-hero h1,
.project-hero h1 {
	max-width: 1024px;
}

.page-hero p:not(.eyebrow),
.project-hero__content p:not(.eyebrow),
.prose p {
	max-width: 720px;
	font-size: 15px;
	line-height: 1.65;
}

.page-hero--image>div {
	padding-top: 34px;
}

.project-hero,
.project-overview,
.case-study__row,
.contact-section,
.collaboration-audiences {
	width: var(--container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 0.58fr) minmax(320px, 0.42fr);
	gap: 64px;
	padding: 70px 0;
	border-top: 1px solid var(--line);
}

.project-hero img {
	width: 100%;
	aspect-ratio: 16 / 11;
	object-fit: cover;
}

.project-single .project-hero {
	grid-template-columns: minmax(0, 0.52fr) minmax(420px, 0.48fr);
	align-items: start;
	gap: clamp(48px, 7vw, 110px);
	padding: 125px 0 54px;
	border-top: 0;
}

.project-hero__overview {
	margin-top: clamp(54px, 6.5vw, 96px);
	padding-top: 34px;
	border-top: 1px solid var(--line);
}

.project-hero__overview .project-overview__intro h2 {
	max-width: 720px;
	margin-bottom: 0;
}

.project-hero__overview .project-data {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 28px;
	margin-top: 34px;
}

.project-data {
	border-top: 1px solid var(--line);
}

.project-data div {
	display: grid;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}

.project-data span,
.case-study__row .eyebrow {
	font-family: var(--mono);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--muted);
}

.project-single .case-study__row {
	grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr);
	gap: clamp(40px, 6vw, 96px);
	padding: 48px 0;
}

.contact-section {
	align-items: start;
	grid-template-columns: minmax(240px, 0.32fr) minmax(0, 0.68fr);
	gap: clamp(54px, 8vw, 132px);
}

.contact-aside {
	position: sticky;
	top: 130px;
}

.contact-aside .eyebrow {
	margin-bottom: 28px;
	color: var(--ink);
	font-size: 12px;
	font-weight: 300;
}

.contact-address {
	font-style: normal;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
	margin: -14px 0 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--line);
}

.contact-address strong {
	color: var(--ink);
	font-weight: 500;
}

.contact-aside ul {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-aside li {
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.5;
}

.contact-form {
	display: grid;
	gap: 24px;
	width: 100%;
	padding: clamp(34px, 4vw, 58px);
	border: 1px solid var(--line);
	border-radius: 24px;
	background: #f6f7f6;
}

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

.contact-form label {
	display: grid;
	gap: 10px;
	margin: 0;
}

.contact-form label span {
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 300;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	border: 1px solid #cfd5d3;
	border-radius: 8px;
	background: #fff;
	color: var(--ink);
	font: 300 15px/1.45 var(--sans);
	outline: 0;
	transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input,
.contact-form select {
	height: 56px;
	padding: 0 16px;
}

.contact-form textarea {
	min-height: 180px;
	resize: vertical;
	padding: 16px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	border-color: var(--ink);
	box-shadow: 0 0 0 3px rgba(39, 50, 58, 0.08);
	background: #fff;
}

.form-field--full {
	grid-column: 1 / -1;
}

.contact-form .button {
	min-width: 190px;
	min-height: 52px;
	border-color: rgba(39, 50, 58, 0.72);
	border-radius: 8px;
	font-weight: 500;
	transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.contact-form .button:hover,
.contact-form .button:focus-visible {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.form-message {
	margin: 0;
	padding: 14px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 300;
}

.form-message--success {
	background: #eaf4ef;
	color: #244536;
}

.form-message--error {
	background: #f4e4e2;
	color: #6a2926;
}

.search-results-section {
	width: var(--container);
	margin: 0 auto;
	padding: 70px 0 110px;
	border-top: 1px solid var(--line);
}

.search-results-form {
	display: grid;
	grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
	gap: clamp(34px, 6vw, 88px);
	align-items: end;
	margin-bottom: 58px;
}

.search-results-form label {
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 300;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--muted);
}

.search-results-form>div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 14px;
}

.search-results-form input {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border: 1px solid #cfd5d3;
	border-radius: 8px;
	background: #fff;
	color: var(--ink);
	font: 300 15px/1.45 var(--sans);
	outline: 0;
}

.search-results-list {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--line);
}

.search-result-card {
	display: grid;
	grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
	gap: clamp(34px, 6vw, 88px);
	padding: 38px 0;
	border-bottom: 1px solid var(--line);
}

.search-result-card h2 {
	margin-bottom: 14px;
	font-size: clamp(28px, 2.1vw, 42px);
	font-weight: 300;
	line-height: 1.16;
	letter-spacing: -0.02em;
}

.search-result-card h2 a {
	text-decoration: none;
}

.search-result-card p:not(.eyebrow),
.search-empty p {
	max-width: 680px;
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.65;
}

.search-empty {
	padding: 46px 0;
	border-top: 1px solid var(--line);
}

.honeypot,
.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	white-space: nowrap !important;
	clip-path: inset(50%) !important;
}

.collaboration-audiences {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.collaboration-card {
	position: relative;
	display: flex;
	min-height: 640px;
	flex-direction: column;
	padding: clamp(34px, 4.2vw, 70px);
	border-radius: 32px;
	overflow: hidden;
}

.collaboration-card::after {
	content: "";
	position: absolute;
	right: clamp(24px, 4vw, 70px);
	bottom: clamp(24px, 4vw, 70px);
	width: min(26vw, 330px);
	aspect-ratio: 1;
	background: url("assets/images/logo.svg") center / contain no-repeat;
	opacity: 0.045;
	pointer-events: none;
}

.collaboration-card--research {
	background: #f3f4f2;
}

.collaboration-card--land {
	background: #eaf4ef;
}

.collaboration-card__meta {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: clamp(48px, 6vw, 92px);
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(39, 50, 58, 0.18);
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 300;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.collaboration-card .eyebrow {
	margin-bottom: 20px;
	color: var(--ink);
	font-size: 12px;
	font-weight: 300;
}

.collaboration-card h2 {
	max-width: 680px;
	margin-bottom: 34px;
	font-size: clamp(28px, 2.1vw, 42px);
	font-weight: 300;
	line-height: 1.16;
	letter-spacing: -0.02em;
}

.collaboration-card__copy {
	display: grid;
	gap: 14px;
	max-width: 780px;
	color: var(--muted);
}

.collaboration-card__copy p {
	margin: 0;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.72;
}

.collaboration-card__tags {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
	padding-top: clamp(42px, 5vw, 78px);
}

.collaboration-card__tags span {
	padding: 10px 14px;
	border: 1px solid rgba(39, 50, 58, 0.22);
	border-radius: 8px;
	font-family: var(--mono);
	font-size: 10px;
	font-weight: 300;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
	background: rgba(255, 255, 255, 0.34);
}

.process-section {
	width: var(--container);
	margin: 0 auto;
	padding: 86px 0 104px;
	border-top: 1px solid var(--line);
}

.process-heading {
	display: grid;
	grid-template-columns: minmax(0, 0.62fr) minmax(300px, 0.38fr);
	gap: 64px;
	margin-bottom: 74px;
}

.process-heading .eyebrow {
	grid-column: 1 / -1;
	margin: 0;
	padding-bottom: 24px;
	border-bottom: 1px solid #cfd5d3;
	color: var(--ink);
	font-size: 15px;
	font-weight: 300;
	letter-spacing: 0.02em;
}

.process-heading h2 {
	margin: 0;
	font-size: clamp(28px, 2.1vw, 42px);
	font-weight: 300;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.process-heading p:not(.eyebrow) {
	max-width: 560px;
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.7;
}

.process-flow {
	position: relative;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0;
	margin-bottom: 54px;
	padding-top: 34px;
}

.process-flow::before {
	content: "";
	position: absolute;
	top: 67px;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(39, 50, 58, 0.16), rgba(39, 50, 58, 0.46), rgba(39, 50, 58, 0.16));
}

.process-step {
	position: relative;
	display: grid;
	grid-template-rows: auto auto auto 1fr;
	min-height: 280px;
	padding: 0 26px 0 0;
}

.process-step__number {
	margin-bottom: 24px;
	font-size: 11px;
	font-weight: 300;
	letter-spacing: 0.14em;
	color: var(--muted);
}

.process-step__node {
	position: relative;
	z-index: 1;
	width: 18px;
	height: 18px;
	margin-bottom: 30px;
	border: 1px solid rgba(39, 50, 58, 0.48);
	border-radius: 50%;
	background: var(--bg);
	box-shadow: 0 0 0 10px var(--bg);
}

.process-step h3 {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.18;
	letter-spacing: -0.01em;
}

.process-step p {
	max-width: 220px;
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	font-weight: 300;
	line-height: 1.65;
}

.approach-item {
	width: var(--container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 60px;
	padding: 54px 0;
	border-top: 1px solid var(--line);
}

.approach-item__number {
	font-family: var(--mono);
	font-size: 42px;
	color: var(--muted);
}

.manifesto-band {
	display: grid;
	grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
	gap: clamp(42px, 6vw, 92px);
	align-items: start;
}

.manifesto-band img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.manifesto-band>div {
	padding-top: 34px;
}

.manifesto-band .eyebrow {
	margin-bottom: 24px;
}

.manifesto-band h2 {
	margin-bottom: 28px;
}

.manifesto-band p:not(.eyebrow) {
	max-width: 760px;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.65;
}

.archive-projects__grid,
.project-strip {
	width: var(--container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.project-card {
	min-height: 420px;
	background: var(--card);
}

.project-card a {
	display: grid;
	text-decoration: none;
}

.project-card img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.project-card__content {
	padding: 28px;
}

.project-card--archive .project-card__content {
	padding-top: 54px;
}

.project-card--archive h2 {
	margin-bottom: 22px;
}

.project-card--archive .project-meta-line {
	margin-bottom: 18px;
}

@media (max-width: 1060px) {
	.primary-nav {
		position: absolute;
		top: 84px;
		right: 24px;
		display: none;
		width: min(280px, calc(100vw - 48px));
		min-height: auto;
		padding: 28px;
	}

	.nav-toggle {
		display: flex;
		position: static;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		border: 0;
		border-radius: 8px;
		background: rgba(255, 255, 255, 0.24);
		backdrop-filter: blur(12px);
		cursor: pointer;
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}

	body:not(.home) .site-header .nav-toggle {
		background: rgba(39, 50, 58, 0.08);
	}

	body:not(.home) .site-header .nav-toggle__line,
	body:not(.home) .site-header .nav-toggle__line::before,
	body:not(.home) .site-header .nav-toggle__line::after {
		background: rgba(39, 50, 58, 0.85);
	}

	.page-hero,
	.project-hero,
	.single-post-hero {
		padding: 100px 0 40px;
	}

	.nav-toggle__line,
	.nav-toggle__line::before,
	.nav-toggle__line::after {
		display: block;
		width: 20px;
		height: 2px;
		border-radius: 999px;
		background: #fff;
	}

	.nav-toggle__line {
		position: relative;
	}

	.nav-toggle__line::before,
	.nav-toggle__line::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.nav-toggle__line::before {
		top: -6px;
	}

	.nav-toggle__line::after {
		top: 6px;
	}

	.primary-nav.is-open {
		display: block;
	}

	.site-header__inner {
		width: calc(100% - 48px);
		grid-template-columns: 1fr auto;
		height: 84px;
		padding-top: 24px;
	}

	.site-header__tagline,
	.site-search {
		display: none;
	}

	.marity-intro__card,
	.marity-project-row,
	.marity-feature-cards,
	.marity-about__grid,
	.marity-story-grid,
	.manifesto-band,
	.marity-what__grid,
	.marity-data__grid,
	.marity-team-grid,
	.founders-section,
	.site-footer__grid,
	.project-hero,
	.project-overview,
	.case-study__row,
	.contact-section,
	.collaboration-audiences,
	.archive-projects__grid,
	.project-strip {
		grid-template-columns: 1fr;
	}

	.marity-feature-cards .button {
		justify-self: start;
		align-self: start;
		min-width: 0;
		width: fit-content;
		padding: 16px 36px;
		min-height: 54px;
		margin-top: 24px;
	}

	.project-single .project-hero,
	.project-single .project-overview,
	.project-single .case-study__row {
		grid-template-columns: 1fr;
	}

	.collaboration-card {
		min-height: 0;
	}

	.contact-aside {
		position: static;
	}

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

	.process-heading {
		grid-template-columns: 1fr;
		gap: 30px;
		margin-bottom: 56px;
	}

	.process-flow {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 44px;
	}

	.process-flow::before {
		display: none;
	}

	.process-step {
		min-height: 0;
		padding-right: 28px;
	}

	.project-single .project-hero {
		padding-top: 180px;
	}

	.marity-intro__visual {
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		margin-top: 0;
		transform: none;
	}

	.marity-hero__marker {
		width: calc(100% - 48px);
		height: 72px;
		border-radius: 0 16px 0 0;
	}

	.marity-intro__card {
		min-height: 0;
	}

	.marity-intro__copy {
		width: 100%;
		min-height: 0;
		padding: 72px 24px 54px;
	}

	.marity-intro__copy h2 {
		margin-bottom: 46px;
	}

	.marity-tabs {
		overflow-x: auto;
		margin-bottom: 54px;
	}

	.marity-tabs button {
		flex: 0 0 220px;
		width: 220px;
	}

	.marity-about__data {
		left: 5%;
		right: 5%;
		grid-template-columns: 106px 1fr;
		gap: 24px;
		padding: 22px 26px;
	}

	.marity-about__ring {
		width: 106px;
	}
}

@media (max-width: 760px) {
	:root {
		--container: calc(100% - 30px);
	}

	h1 {
		font-size: 38px;
	}

	h2 {
		font-size: 28px;
	}

	.site-header__inner {
		height: 76px;
	}

	.site-brand span {
		font-size: 22px;
		letter-spacing: 0.22em;
	}

	.marity-hero {
		min-height: 620px;
		height: 82svh;
	}

	.marity-orb {
		width: 80vw;
		top: -10vw;
	}

	.marity-orb--left {
		left: -36vw;
	}

	.marity-orb--right {
		right: -42vw;
	}

	.marity-hero__content {
		top: auto;
		left: 24px;
		right: 24px;
		bottom: 118px;
		width: auto;
		transform: none;
	}

	.marity-hero__content h1 {
		font-size: clamp(28px, 8.5vw, 44px);
		line-height: 1.12;
	}

	.marity-hero__content p {
		font-size: 16px;
	}

	.project-single .project-hero {
		padding-top: 100px;
		padding-bottom: 32px;
	}

	.project-hero__overview {
		margin-top: 42px;
		padding-top: 28px;
	}

	.project-hero__overview .project-data {
		grid-template-columns: 1fr;
		margin-top: 28px;
	}

	.project-single .project-overview,
	.project-single .case-study__row {
		padding: 36px 0;
	}

	.collaboration-card {
		padding: 30px 24px;
		border-radius: 22px;
	}

	.contact-form {
		padding: 28px 22px;
		border-radius: 18px;
	}

	.search-results-form,
	.search-results-form>div,
	.search-result-card {
		grid-template-columns: 1fr;
	}

	.collaboration-card__meta {
		margin-bottom: 42px;
	}

	.collaboration-card h2 {
		margin-bottom: 26px;
	}

	.process-section {
		padding: 58px 0 74px;
	}

	.process-flow {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0;
		padding-top: 0;
		border-top: 1px solid var(--line);
	}

	.process-step {
		grid-template-columns: 46px 1fr;
		grid-template-rows: auto auto;
		column-gap: 22px;
		padding: 26px 0;
		border-bottom: 1px solid var(--line);
	}

	.process-step__number {
		grid-column: 1;
		grid-row: 1 / span 2;
		margin: 0;
	}

	.process-step__node {
		display: none;
	}

	.process-step h3,
	.process-step p {
		grid-column: 2;
	}

	.process-step p {
		max-width: none;
	}

	.marity-intro {
		margin-top: 0;
		width: 100%;
	}

	.marity-intro__copy,
	.marity-feature-cards article {
		padding: 34px 24px;
	}

	.marity-tabs {
		margin-bottom: 42px;
	}

	.marity-tabs button {
		flex-basis: 184px;
		width: 184px;
		height: 62px;
		padding: 0 18px;
		font-size: 12px;
	}

	.marity-tabs button strong {
		font-size: 11px;
	}

	.marity-tab-panel h2 {
		font-size: 28px;
	}

	.marity-about__grid p {
		font-size: 16px;
	}

	.marity-about__data {
		position: relative;
		left: auto;
		right: auto;
		bottom: auto;
		grid-template-columns: 72px 1fr;
		min-height: 0;
		padding: 18px;
		border-radius: 0 0 8px 8px;
		background: rgba(28, 32, 35, 0.86);
	}

	.marity-about__ring {
		width: 72px;
	}

	.marity-about__data ul {
		gap: 12px;
	}

	.marity-about__data li {
		font-size: 12px;
	}

	.founders-section {
		padding-bottom: 70px;
	}

	.founder>div {
		padding-top: 26px;
	}

	.marity-partner-strip {
		--ticker-gap: 48px;
		--ticker-slot: 190px;
		width: 100%;
		padding-top: 32px;
		padding-bottom: 32px;
	}

	.marity-partner-strip__group div {
		min-height: 76px;
	}

	.marity-partner-strip img {
		max-width: min(142px, 100%);
		max-height: 44px;
	}

	.partner-logo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.marity-service-list {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.bar-chart {
		min-height: 260px;
		padding: 24px;
		gap: 12px;
	}

	.site-footer__bottom {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		gap: 16px;
	}

	.site-footer__legal {
		justify-content: center;
	}
}

/* ==========================================================================
   Single Post & Blog Layouts
   ========================================================================== */

.single-post-article {
	width: 100%;
}

.single-post-hero {
	width: var(--container);
	margin: 0 auto;
	padding: 125px 0 40px;
}

.single-post-hero__inner {
	max-width: 860px;
	margin: 0 auto;
}

.single-post-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	margin-bottom: 24px;
}

.single-post-hero__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.term-badge {
	display: inline-block;
	min-width: 68px;
	padding: 6px 14px;
	border-radius: 999px;
	background: #c7cedf;
	color: #fff;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
	transition: opacity 180ms ease, transform 180ms ease;
}

.term-badge:hover {
	opacity: 0.88;
	transform: translateY(-1px);
}

.term-badge--2 {
	background: #9dbba9;
}

.term-badge--3 {
	background: #eab9b6;
	color: var(--ink);
}

.single-post-hero__details {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--muted);
	font-weight: 300;
	letter-spacing: 0.02em;
}

.single-post-hero__sep {
	opacity: 0.5;
}

.single-post-hero__title {
	max-width: 860px;
	margin: 0 0 24px;
	font-size: clamp(32px, 4vw, 54px);
	line-height: 1.12;
	font-weight: 400;
	letter-spacing: -0.03em;
	color: var(--ink);
}

.single-post-hero__excerpt {
	margin-top: 16px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.single-post-hero__excerpt p {
	font-size: clamp(16px, 1.4vw, 20px);
	line-height: 1.6;
	color: var(--ink);
	font-weight: 300;
}

.single-post-hero__media {
	max-width: 1060px;
	margin: 48px auto 0;
	padding: 0;
}

.single-post-hero__image {
	width: 100%;
	max-height: 600px;
	object-fit: cover;
	display: block;
	background: var(--card);
}

.single-post-hero__caption {
	margin-top: 12px;
	font-size: 12px;
	color: var(--muted);
	font-style: italic;
	text-align: center;
}

.single-post-body {
	padding: 60px 0 100px;
}

.single-post-body__container {
	max-width: 860px;
	margin: 0 auto;
}

/* Rich Prose & Entry Content Typography */
.entry-content,
.prose {
	color: var(--ink);
	font-size: 16px;
	line-height: 1.8;
}

.prose p {
	max-width: 100%;
	font-size: 16px;
	line-height: 1.8;
	margin: 0 0 24px;
	color: #3b4750;
}

.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
	color: var(--ink);
	margin: 48px 0 18px;
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.prose h2 {
	font-size: clamp(24px, 2.2vw, 32px);
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

.prose h3 {
	font-size: clamp(20px, 1.7vw, 24px);
}

.prose h4 {
	font-size: 18px;
}

.prose a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 180ms ease;
}

.prose a:hover {
	color: #0b6070;
}

.prose blockquote {
	margin: 36px 0;
	padding: 20px 28px;
	border-left: 3px solid var(--ink);
	background: var(--card);
	font-style: italic;
	color: var(--ink);
}

.prose blockquote p {
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
}

.prose ul,
.prose ol {
	margin: 0 0 28px;
	padding-left: 24px;
	color: #3b4750;
}

.prose li {
	margin-bottom: 10px;
	line-height: 1.7;
}

.prose li::marker {
	color: var(--muted);
}

.prose figure {
	margin: 40px 0;
}

.prose figure img,
.prose img {
	max-width: 100%;
	height: auto;
	display: block;
}

.prose figcaption {
	margin-top: 10px;
	font-size: 13px;
	color: var(--muted);
	text-align: center;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 32px 0;
	font-size: 14px;
}

.prose th,
.prose td {
	padding: 12px 16px;
	border: 1px solid var(--line);
	text-align: left;
}

.prose th {
	background: var(--card);
	font-weight: 500;
	color: var(--ink);
}

.prose hr {
	margin: 48px 0;
	border: 0;
	border-top: 1px solid var(--line);
}

.prose pre {
	background: #111a1e;
	color: #e2e8f0;
	padding: 20px;
	overflow-x: auto;
	border-radius: 4px;
	font-family: monospace;
	font-size: 14px;
	margin: 28px 0;
}

.prose code {
	font-family: monospace;
	font-size: 0.9em;
	background: var(--card);
	padding: 2px 6px;
	border-radius: 3px;
}

.prose pre code {
	background: transparent;
	padding: 0;
}

/* Single Post Tags */
.single-post-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.single-post-tags__label {
	font-family: var(--mono);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted);
}

.single-post-tags__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.single-post-tag {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--card);
	color: var(--ink);
	font-size: 12px;
	text-decoration: none;
	transition: background 180ms ease, color 180ms ease;
}

.single-post-tag:hover {
	background: var(--ink);
	color: #fff;
}

/* Single Post Navigation */
.single-post-navigation {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}

.single-post-navigation__prev,
.single-post-navigation__next {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.single-post-navigation__next {
	text-align: right;
	align-items: flex-end;
}

.single-post-navigation a {
	font-size: 15px;
	color: var(--ink);
	text-decoration: none;
	font-weight: 400;
	transition: color 180ms ease;
}

.single-post-navigation a:hover {
	color: #0b6070;
}

/* Multi-page links */
.page-links {
	margin: 28px 0;
	display: flex;
	gap: 8px;
	align-items: center;
}

.page-links .page-number {
	padding: 6px 12px;
	background: var(--card);
	border-radius: 3px;
	font-size: 13px;
}

/* Archive Cards & Story Grid */
.archive-posts {
	width: var(--container);
	margin: 0 auto;
	padding: 20px 0 100px;
}

.archive-story-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 24px;
}

.marity-story-card {
	display: flex;
	flex-direction: column;
	background: var(--card);
	padding: 28px;
	text-decoration: none;
}

.marity-story-card__image {
	margin: -28px -28px 24px -28px;
	overflow: hidden;
}

.marity-story-card__image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 300ms ease;
}

.marity-story-card:hover .marity-story-card__image img {
	transform: scale(1.03);
}

.marity-story-card__excerpt {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--muted);
}

/* Pagination */
.navigation.pagination {
	margin-top: 60px;
	text-align: center;
}

.navigation.pagination .nav-links {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.navigation.pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	background: var(--card);
	color: var(--ink);
	text-decoration: none;
	font-size: 13px;
	border-radius: 3px;
	transition: background 180ms ease, color 180ms ease;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
	background: var(--ink);
	color: #fff;
}

@media (max-width: 768px) {
	.single-post-hero {
		padding: 160px 0 30px;
	}

	.single-post-navigation {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.single-post-navigation__next {
		text-align: left;
		align-items: flex-start;
	}
}

/* ==========================================================================
   Minimal Linear SVG Butterfly Cursor Follower
   ========================================================================== */

.cursor-butterfly {
	--butterfly-color: var(--ink);
	--butterfly-subtle: var(--muted);
	--butterfly-shadow: rgba(39, 50, 58, 0.14);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 44px;
	height: 44px;
	margin-left: -22px;
	margin-top: -22px;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	will-change: transform, opacity;
	transition: opacity 360ms ease, visibility 360ms ease;
}

.cursor-butterfly.is-inverted {
	--butterfly-color: #ffffff;
	--butterfly-subtle: rgba(255, 255, 255, 0.72);
	--butterfly-shadow: rgba(0, 0, 0, 0.5);
}

.cursor-butterfly.is-visible {
	opacity: 0.88;
	visibility: visible;
}

.cursor-butterfly__svg {
	width: 100%;
	height: 100%;
	overflow: visible;
	filter: drop-shadow(0 2px 6px var(--butterfly-shadow));
	transition: filter 260ms ease;
}

.butterfly__wings {
	perspective: 600px;
	transform-style: preserve-3d;
}

.butterfly__wing {
	transform-origin: 32px 32px;
	transform-style: preserve-3d;
}

.butterfly__wing--left {
	animation: butterflyFlapLeft 480ms ease-in-out infinite alternate;
}

.butterfly__wing--right {
	animation: butterflyFlapRight 480ms ease-in-out infinite alternate;
}

.cursor-butterfly.is-flying .butterfly__wing--left {
	animation-duration: 190ms;
}

.cursor-butterfly.is-flying .butterfly__wing--right {
	animation-duration: 190ms;
}

@keyframes butterflyFlapLeft {
	0% {
		transform: rotateY(0deg) rotateZ(0deg);
	}

	50% {
		transform: rotateY(-38deg) rotateZ(-6deg);
	}

	100% {
		transform: rotateY(-74deg) rotateZ(-12deg);
	}
}

@keyframes butterflyFlapRight {
	0% {
		transform: rotateY(0deg) rotateZ(0deg);
	}

	50% {
		transform: rotateY(38deg) rotateZ(6deg);
	}

	100% {
		transform: rotateY(74deg) rotateZ(12deg);
	}
}

.butterfly__stroke {
	stroke: var(--butterfly-color);
	stroke-width: 1.25px;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
	transition: stroke 260ms ease;
}

.butterfly__stroke--subtle {
	stroke: var(--butterfly-subtle);
	stroke-width: 0.85px;
	opacity: 0.7;
	transition: stroke 260ms ease, opacity 260ms ease;
}

.butterfly__stroke--body {
	stroke: var(--butterfly-color);
	stroke-width: 1.75px;
	transition: stroke 260ms ease;
}

.butterfly__stroke--antenna {
	stroke: var(--butterfly-color);
	stroke-width: 0.95px;
	transition: stroke 260ms ease;
}

.butterfly__head {
	fill: var(--butterfly-color);
	stroke: none;
	transition: fill 260ms ease;
}

body h1,
body h2,
body h3,
body h4,
body p {
	font-weight: 300;
}

@media (prefers-reduced-motion: reduce) {
	.cursor-butterfly {
		display: none !important;
	}

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