@font-face {
	font-family: 'Geist Pixel';
	src: url('fonts/GeistPixel-Square.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	background: #fff;
	color: #1d1d1f;
}

body {
	font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}

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

sup {
	line-height: 0;
}

/* ---------- hero image ---------- */

.hero-image-desktop {
	display: none;
	position: fixed;
	right: 0;
	bottom: 0;
	width: 55%;
	height: 100vh;
	z-index: 0;
	pointer-events: none;
}

.hero-image-desktop img {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 100%;
	height: auto;
	max-height: 90vh;
	object-fit: contain;
	object-position: bottom right;
	opacity: 0;
	animation: fade-in 1.2s ease 0.3s forwards;
}

.hero-image-mobile {
	width: 100%;
	display: flex;
	justify-content: center;
	opacity: 0;
	animation: fade-in 1.2s ease 0.3s forwards;
}

.hero-image-mobile img {
	width: 100%;
	height: auto;
	max-height: 45vh;
	object-fit: contain;
}

@media (min-width: 768px) {
	.hero-image-desktop {
		display: block;
	}
	.hero-image-mobile {
		display: none;
	}
}

/* ---------- layout / main ---------- */

main {
	position: relative;
}

header,
.hero-text,
article {
	position: relative;
	z-index: 10;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

@media (min-width: 768px) {
	header,
	.hero-text,
	article {
		padding-left: 4rem;
		padding-right: 4rem;
		max-width: 50%;
	}
}

@media (min-width: 1024px) {
	header,
	.hero-text,
	article {
		padding-left: 6rem;
		padding-right: 6rem;
	}
}

header,
.hero-text {
	padding-top: 2rem;
}

@media (min-width: 768px) {
	header,
	.hero-text {
		padding-top: 4rem;
	}
}

article {
	padding-top: 3.5rem;
	font-size: 15px;
	line-height: 1.7;
	color: rgba(29, 29, 31, 0.85);
	font-weight: 300;
}

@media (min-width: 768px) {
	article {
		padding-top: 7rem;
		font-size: 17px;
	}
}

/* ---------- header / logo ---------- */

header {
	opacity: 0;
	animation: fade-in 0.8s ease forwards;
}

.logo {
	position: relative;
	display: inline-block;
	cursor: default;
}

.logo-full {
	transition: opacity 0.5s ease;
}

.logo:hover .logo-full {
	opacity: 0;
}

.logo-line {
	display: block;
	font-size: 10px;
	letter-spacing: 0.3em;
	color: #86868b;
	text-transform: uppercase;
}

.logo-line-sub {
	color: rgba(134, 134, 139, 0.6);
}

@media (min-width: 768px) {
	.logo-line {
		font-size: 11px;
	}
}

.logo-short {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.logo:hover .logo-short {
	opacity: 1;
}

.logo-short span {
	font-size: 10px;
	letter-spacing: 0.3em;
	color: #86868b;
	text-transform: uppercase;
}

@media (min-width: 768px) {
	.logo-short span {
		font-size: 11px;
	}
}

.logo-short sup {
	font-size: 8px;
}

/* ---------- hero text ---------- */

.hero-text h1 {
	margin: 0;
	font-family: 'Geist Pixel', monospace;
	font-size: 2.25rem;
	letter-spacing: -0.02em;
	line-height: 1.05;
	font-weight: 400;
	opacity: 0;
	animation: fade-in 1s ease 0.2s forwards;
}

@media (min-width: 768px) {
	.hero-text h1 {
		font-size: clamp(2rem, 5vw, 4rem);
	}
}

.tagline {
	margin: 1.5rem 0 0;
	color: #86868b;
	font-size: 1rem;
	font-weight: 300;
	max-width: 28rem;
	opacity: 0;
	animation: fade-in 0.8s ease 0.4s forwards;
}

@media (min-width: 768px) {
	.tagline {
		margin-top: 2rem;
		font-size: 1.125rem;
	}
}

/* ---------- article body ---------- */

.lead {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.lead {
		gap: 2rem;
	}
}

article > .lead:first-child {
	opacity: 0;
	animation: fade-in 0.8s ease 0.6s forwards;
}

.text-solid {
	color: #1d1d1f;
}

.font-medium {
	font-weight: 500;
}

/* ---------- section label ---------- */

.section-label {
	font-size: 10px;
	letter-spacing: 0.3em;
	color: #86868b;
	text-transform: uppercase;
	margin: 0 0 2rem;
}

@media (min-width: 768px) {
	.section-label {
		margin-bottom: 2.5rem;
	}
}

.section-label-center {
	text-align: center;
}

@media (min-width: 768px) {
	.section-label-center {
		text-align: left;
	}
}

.diagram-block {
	margin: 3.5rem 0;
}

@media (min-width: 768px) {
	.diagram-block {
		margin: 5rem 0;
	}
}

/* ---------- orchestrator diagram ---------- */

.orchestrator-wrap {
	width: 100%;
	max-width: 460px;
	margin: 0 auto;
	color: #1d1d1f;
}

#orchestrator-svg {
	width: 100%;
	height: auto;
	overflow: visible;
}

#orchestrator-svg .orbit-ring {
	opacity: 0;
	transition: opacity 1s ease 0.1s;
}

#orchestrator-svg .spoke {
	opacity: 0;
	transition: opacity 0.9s ease;
}

#orchestrator-svg .spoke-0 { transition-delay: 0.3s; }
#orchestrator-svg .spoke-1 { transition-delay: 0.42s; }
#orchestrator-svg .spoke-2 { transition-delay: 0.54s; }
#orchestrator-svg .spoke-3 { transition-delay: 0.66s; }
#orchestrator-svg .spoke-4 { transition-delay: 0.78s; }
#orchestrator-svg .spoke-5 { transition-delay: 0.9s; }

#orchestrator-svg .node-group {
	opacity: 0;
	transform: scale(0);
	transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

#orchestrator-svg .node-0 { transform-origin: 180px 50px; transition-delay: 0.3s; }
#orchestrator-svg .node-1 { transform-origin: 292.583px 100px; transition-delay: 0.42s; }
#orchestrator-svg .node-2 { transform-origin: 292.583px 200px; transition-delay: 0.54s; }
#orchestrator-svg .node-3 { transform-origin: 180px 250px; transition-delay: 0.66s; }
#orchestrator-svg .node-4 { transform-origin: 67.417px 200px; transition-delay: 0.78s; }
#orchestrator-svg .node-5 { transform-origin: 67.417px 100px; transition-delay: 0.9s; }

#orchestrator-svg .hub-group {
	opacity: 0;
	transform: scale(0);
	transform-origin: 180px 150px;
	transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

#orchestrator-svg.run .orbit-ring,
#orchestrator-svg.run .spoke,
#orchestrator-svg.run .node-group,
#orchestrator-svg.run .hub-group {
	opacity: 1;
}

#orchestrator-svg.run .node-group,
#orchestrator-svg.run .hub-group {
	transform: scale(1);
}

.orchestrator-tags {
	margin-top: 1rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.25rem;
	font-size: 9px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: #86868b;
	opacity: 0;
	transition: opacity 0.8s ease 1.2s;
}

.orchestrator-tags.run {
	opacity: 1;
}

@media (min-width: 768px) {
	.orchestrator-tags {
		margin-top: 1.5rem;
		gap: 0.5rem 1.75rem;
		font-size: 10px;
	}
}

/* ---------- timeline ---------- */

.timeline-wrap {
	position: relative;
	width: 100%;
	max-width: 28rem;
}

.timeline {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

.timeline-line {
	position: absolute;
	left: 7px;
	top: 0.375rem;
	bottom: 0.375rem;
	width: 1px;
	background: rgba(29, 29, 31, 0.2);
	transform-origin: top;
	transform: scaleY(0);
	transition: transform 1100ms ease-out;
}

.timeline li {
	position: relative;
	padding-left: 2.5rem;
	padding-bottom: 1.75rem;
}

.timeline li:last-child {
	padding-bottom: 0;
}

.timeline .node {
	position: absolute;
	left: 0;
	top: 0.25rem;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #1d1d1f;
	transform: scale(0);
	transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
	transition-delay: calc(var(--i, 0) * 0.08s + 0.2s);
}

.timeline .dot {
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: #1d1d1f;
	opacity: 0;
	transition: opacity 0.4s ease;
	transition-delay: calc(var(--i, 0) * 0.08s + 0.45s);
}

.timeline .reveal {
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.5s ease, transform 0.5s ease;
	transition-delay: calc(var(--i, 0) * 0.08s + 0.28s);
}

.timeline-wrap.in-view .timeline-line {
	transform: scaleY(1);
}

.timeline-wrap.in-view .node {
	transform: scale(1);
}

.timeline-wrap.in-view .dot {
	opacity: 1;
}

.timeline-wrap.in-view .reveal {
	opacity: 1;
	transform: translateY(0);
}

.step-title {
	margin: 0 0 0.25rem;
	font-size: 15px;
	font-weight: 500;
	color: #1d1d1f;
	letter-spacing: -0.01em;
}

@media (min-width: 768px) {
	.step-title {
		font-size: 16px;
	}
}

.step-desc {
	margin: 0;
	font-size: 13px;
	color: #86868b;
	font-weight: 300;
	line-height: 1.6;
}

@media (min-width: 768px) {
	.step-desc {
		font-size: 14px;
	}
}

/* ---------- closing ---------- */

article > .lead:last-of-type {
	padding-bottom: 1rem;
}

.footer-spacer {
	height: 11rem;
}

@media (min-width: 768px) {
	.footer-spacer {
		height: 12rem;
	}
}

/* ---------- footer ---------- */

footer {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 20;
	pointer-events: none;
	opacity: 0;
	animation: fade-in 1s ease 1s forwards;
}

.footer-clip {
	background: linear-gradient(to top, #fff 60%, transparent 100%);
}

@media (min-width: 768px) {
	.footer-clip {
		max-width: 50%;
	}
}

.footer-inner {
	padding: 2.5rem 1.5rem 1.25rem;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
}

@media (min-width: 768px) {
	.footer-inner {
		padding: 2.5rem 4rem 2.5rem;
		gap: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.footer-inner {
		padding-left: 6rem;
		padding-right: 6rem;
	}
}

.footer-tagline {
	pointer-events: auto;
	margin: 0;
	font-size: 12px;
	color: #1d1d1f;
	font-weight: 300;
	line-height: 1.5;
	letter-spacing: -0.01em;
}

@media (min-width: 768px) {
	.footer-tagline {
		font-size: 15px;
	}
}

.contact-btn {
	pointer-events: auto;
	flex-shrink: 0;
	padding: 0.5rem 1rem;
	background: #1d1d1f;
	color: #fff;
	font-size: 12px;
	border-radius: 999px;
	transition: background-color 0.2s ease;
}

.contact-btn:hover {
	background: #000;
}

@media (min-width: 768px) {
	.contact-btn {
		padding: 0.625rem 1.25rem;
		font-size: 13px;
	}
}

/* ---------- animation ---------- */

@keyframes fade-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-delay: 0s !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}
}
