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

* {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	background: #ffffff;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a:focus-visible,
button:focus-visible {
	outline: 2px solid #1d1d1f;
	outline-offset: 3px;
	border-radius: 2px;
}

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

p {
	margin: 0;
}

/* ---------- keyframes ---------- */
@keyframes fade-in {
	0% { opacity: 0; transform: translateY(8px); }
	100% { opacity: 1; transform: translateY(0); }
}

.fade-in {
	opacity: 0;
	animation-name: fade-in;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
}

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

.hero-img {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 100%;
	height: auto;
	max-height: 90vh;
	object-fit: contain;
	object-position: bottom right;
}

.hero-bg-mobile {
	width: 100%;
	display: flex;
	justify-content: center;
}

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

/* ---------- layout ---------- */
.main {
	position: relative;
	color: #1d1d1f;
	font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.header {
	position: relative;
	z-index: 10;
	padding: 0 1.5rem;
	padding-top: 2rem;
}

.hero {
	position: relative;
	z-index: 10;
	padding: 0 1.5rem;
	padding-top: 2rem;
}

.article {
	position: relative;
	z-index: 10;
	padding: 0 1.5rem;
	padding-top: 3.5rem;
	font-size: 15px;
	line-height: 1.7;
	color: rgba(29, 29, 31, 0.85);
	font-weight: 300;
}

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

.logo-default {
	transition: opacity 0.5s;
}

.logo-link:hover .logo-default {
	opacity: 0;
}

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

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

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

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

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

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

/* ---------- hero text ---------- */
.headline {
	font-size: 2.25rem;
	letter-spacing: -0.02em;
	line-height: 1.05;
	font-family: 'Geist Pixel', monospace;
	margin: 0;
	font-weight: 400;
}

.subhead {
	margin-top: 1.5rem;
	color: #86868b;
	font-size: 1rem;
	font-weight: 300;
	max-width: 28rem;
}

/* ---------- prose ---------- */
.prose {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.prose .lead {
	color: #1d1d1f;
}

.strong {
	font-weight: 500;
}

.closing {
	color: #1d1d1f;
	font-weight: 500;
}

.prose-tail {
	padding-bottom: 1rem;
}

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

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

.eyebrow-center {
	text-align: center;
}

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

.orchestrator-svg {
	width: 100%;
	height: auto;
}

.orb-orbit,
.orb-line {
	opacity: 0;
}

.orb-node,
.orb-center {
	opacity: 0;
	transform: scale(0);
}

.orchestrator-wrap.in-view .orb-orbit,
.orchestrator-wrap.in-view .orb-line {
	opacity: 1;
}

.orchestrator-wrap.in-view .orb-node,
.orchestrator-wrap.in-view .orb-center {
	opacity: 1;
	transform: scale(1);
}

.orb-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;
}

.orchestrator-wrap.in-view .orb-tags {
	opacity: 1;
}

/* ---------- timeline ---------- */
.timeline-wrap {
	width: 100%;
	max-width: 28rem;
}

.timeline {
	position: relative;
}

.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-item {
	position: relative;
	padding-left: 2.5rem;
	padding-bottom: 1.75rem;
}

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

.node {
	position: absolute;
	left: 0;
	top: 0.25rem;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: white;
	border: 1px solid #1d1d1f;
	display: block;
	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);
}

.node.visible {
	transform: scale(1);
}

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

.dot.visible {
	opacity: 1;
}

.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);
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

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

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

/* ---------- footer ---------- */
.footer-spacer {
	height: 11rem;
}

.footer {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 20;
	pointer-events: none;
}

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

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

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

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

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

/* ---------- responsive ---------- */
@media (min-width: 768px) {
	.hero-bg-desktop {
		display: block;
	}
	.hero-bg-mobile {
		display: none;
	}
	.header,
	.hero,
	.article {
		padding-left: 4rem;
		padding-right: 4rem;
		max-width: 50%;
	}
	.header,
	.hero {
		padding-top: 4rem;
	}
	.article {
		padding-top: 7rem;
		font-size: 17px;
	}
	.logo-line {
		font-size: 11px;
	}
	.logo-mc2 {
		font-size: 11px;
	}
	.headline {
		font-size: clamp(2rem, 5vw, 4rem);
	}
	.subhead {
		margin-top: 2rem;
		font-size: 1.125rem;
	}
	.diagram-block {
		margin: 5rem 0;
	}
	.eyebrow {
		margin-bottom: 2.5rem;
	}
	.orb-tags {
		gap: 0.5rem 1.75rem;
		font-size: 10px;
	}
	.item-title {
		font-size: 16px;
	}
	.item-desc {
		font-size: 14px;
	}
	.footer-spacer {
		height: 12rem;
	}
	.footer-inner {
		max-width: 50%;
	}
	.footer-content {
		padding-left: 4rem;
		padding-right: 4rem;
		padding-bottom: 2.5rem;
		gap: 1.5rem;
	}
	.footer-text {
		font-size: 15px;
	}
	.contact-btn {
		padding: 0.625rem 1.25rem;
		font-size: 13px;
	}
}

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

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.fade-in {
		animation: none !important;
		opacity: 1 !important;
	}
	.orb-orbit,
	.orb-line,
	.orb-node,
	.orb-center,
	.orb-tags {
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
	.timeline-line {
		transition: none !important;
		transform: scaleY(1) !important;
	}
	.node,
	.dot,
	.reveal {
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
	.contact-btn {
		transition: none !important;
	}
}
