.section-label {
	margin-bottom: var(--space-md);
	font-size: 0.72rem;
	line-height: 1;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-muted);
	font-family: var(--font-body);
	font-weight: 700;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 1.2rem;
	border: 1px solid var(--color-text);
	color: var(--color-bg);
	background: var(--color-text);
	border-radius: 999px;
	font-size: 0.93rem;
	font-weight: 700;
	transition: all var(--transition);
	position: relative;
	overflow: hidden;
}

.button:hover {
	background: transparent;
	color: var(--color-text);
	opacity: 1;
	transform: translateY(-1px);
}

.button--ghost {
	background: transparent;
	color: var(--color-text);
	border-color: var(--color-line);
}

.button--ghost:hover {
	border-color: var(--color-text);
	background: rgba(255, 255, 255, 0.03);
}

.button--small {
	min-height: 42px;
	padding: 0 1rem;
	font-size: 0.88rem;
}

.hero {
	padding: calc(var(--space-2xl) + 2rem) 0 var(--space-2xl);
	border-bottom: 1px solid var(--color-line);
	position: relative;
	isolation: isolate;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 18% 20%, rgba(139, 111, 71, 0.08), transparent 26%),
		radial-gradient(circle at 78% 28%, rgba(92, 102, 82, 0.06), transparent 24%);
	pointer-events: none;
	z-index: -2;
}

.hero__title {
	max-width: 10.8ch;
	position: relative;
	letter-spacing: -0.035em;
	line-height: 0.98;
}

.hero__text {
	max-width: 640px;
	margin-top: var(--space-md);
	font-size: 1rem;
	color: var(--color-muted);
}

.hero__actions {
	display: flex;
	gap: var(--space-sm);
	flex-wrap: wrap;
	margin-top: var(--space-lg);
}

.hero__note {
	margin-top: var(--space-md);
	font-size: 0.92rem;
	color: var(--color-muted);
}

.primary-nav__list,
.footer-menu {
	display: flex;
	gap: 1.25rem;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
}

.primary-nav__list a {
	position: relative;
	padding-bottom: 0.2rem;
	font-size: 0.95rem;
	font-weight: 600;
}

.primary-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.1rem;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--transition);
	opacity: 0.8;
}

.primary-nav__list a:hover::after {
	transform: scaleX(1);
}

.site-brand {
	display: inline-flex;
	flex-direction: column;
	gap: 0.2rem;
}

.site-brand__title {
	font-family: var(--font-heading);
	font-size: 1.15rem;
	letter-spacing: -0.02em;
}

.site-brand__tagline {
	font-size: 0.78rem;
	color: var(--color-muted);
	font-weight: 500;
}

.footer-cta {
	padding: var(--space-3xl) 0;
	border-bottom: 1px solid var(--color-line);
	position: relative;
	overflow: clip;
}

.footer-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 78% 50%, rgba(139, 111, 71, 0.08), transparent 28%),
		linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
	pointer-events: none;
}

.footer-cta__inner {
	display: grid;
	grid-template-columns: 1.5fr 0.7fr;
	gap: var(--space-xl);
	align-items: end;
	position: relative;
	z-index: 2;
}

.footer-cta__title {
	font-size: clamp(2rem, 4.2vw, 3.8rem);
	max-width: 13ch;
	line-height: 1.02;
}

.footer-cta__text {
	max-width: 620px;
	font-size: 1rem;
	color: var(--color-muted);
}

.form-message {
	margin-bottom: var(--space-md);
	padding: 1rem 1.1rem;
	border: 1px solid var(--color-line);
	font-size: 0.95rem;
	background: rgba(255,255,255,0.02);
}

.form-message--error {
	border-color: rgba(255, 120, 120, 0.45);
	color: #ffb7b7;
}

/* Reveal system */
[data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
		transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
	will-change: opacity, transform;
}

[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

[data-reveal="line"] {
	opacity: 1;
	transform: none;
	position: relative;
}

[data-reveal="line"]::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.2rem;
	width: 100%;
	height: 1px;
	background: var(--color-line-strong);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal="line"].is-visible::after {
	transform: scaleX(1);
}

[data-reveal="image"] {
	overflow: hidden;
	transform: none;
}

[data-reveal="image"] > * {
	opacity: 0;
	transform: scale(1.03);
	transition:
		opacity 900ms cubic-bezier(0.2, 0.7, 0.2, 1),
		transform 1100ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal="image"].is-visible > * {
	opacity: 1;
	transform: scale(1);
}

/* Hero title reveal */
.hero-title-reveal {
	display: inline-block;
	position: relative;
	overflow: hidden;
}

.hero-title-reveal .hero-title-line {
	display: block;
	position: relative;
	transform: translateY(110%);
	opacity: 0;
	transition:
		transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1),
		opacity 700ms ease;
}

.hero-title-reveal.is-animated .hero-title-line {
	transform: translateY(0);
	opacity: 1;
}

.hero-title-reveal::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(243, 239, 231, 0.82), rgba(243, 239, 231, 0.55)),
		repeating-linear-gradient(
			-12deg,
			rgba(255,255,255,0.05) 0px,
			rgba(255,255,255,0.05) 6px,
			rgba(255,255,255,0.01) 6px,
			rgba(255,255,255,0.01) 12px
		);
	transform: translateX(-101%);
	transition: transform 1100ms cubic-bezier(0.2, 0.7, 0.2, 1);
	mix-blend-mode: screen;
	opacity: 0.6;
	pointer-events: none;
}

.hero-title-reveal.is-animated::before {
	transform: translateX(101%);
}

/* Ambient process background */
.process-ambient {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.process-ambient__grid {
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(
			90deg,
			transparent 0,
			transparent 119px,
			rgba(255,255,255,0.01) 119px,
			rgba(255,255,255,0.01) 120px
		),
		repeating-linear-gradient(
			180deg,
			transparent 0,
			transparent 95px,
			rgba(255,255,255,0.006) 95px,
			rgba(255,255,255,0.006) 96px
		);
	opacity: 0.26;
}

.process-ambient__dots {
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle, rgba(243,239,231,0.18) 1px, transparent 1.5px),
		radial-gradient(circle, rgba(243,239,231,0.09) 1px, transparent 1.5px);
	background-size: 140px 140px, 220px 220px;
	background-position: 18% 26%, 72% 68%;
	opacity: 0.1;
}

.process-ambient__line {
	position: absolute;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
	opacity: 0.12;
	filter: blur(0.2px);
	animation: ebAmbientLine 18s linear infinite;
}

.process-ambient__line--1 {
	top: 20%;
	left: -8%;
	width: 40%;
	animation-delay: 0s;
}

.process-ambient__line--2 {
	top: 62%;
	right: -8%;
	width: 34%;
	animation-delay: -7s;
}

.process-ambient__line--3 {
	top: 42%;
	left: 40%;
	width: 24%;
	animation-delay: -11s;
}

.process-ambient__pipe {
	position: absolute;
	border: 1px solid rgba(255,255,255,0.08);
	border-top: none;
	border-right: none;
	opacity: 0.22;
	border-radius: 0 0 0 16px;
	animation: ebAmbientFloat 16s ease-in-out infinite;
}

.process-ambient__pipe--1 {
	top: 16%;
	left: 10%;
	width: 140px;
	height: 80px;
	animation-delay: -2s;
}

.process-ambient__pipe--2 {
	bottom: 16%;
	right: 12%;
	width: 160px;
	height: 100px;
	animation-delay: -6s;
}

.process-ambient__pipe--3 {
	top: 48%;
	left: 58%;
	width: 90px;
	height: 54px;
	animation-delay: -10s;
}

.process-ambient__node {
	position: absolute;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(243, 239, 231, 0.35);
	box-shadow: 0 0 0 0 rgba(243, 239, 231, 0.12);
	animation: ebAmbientPulse 4.5s ease-out infinite;
}

.process-ambient__node::before {
	content: "";
	position: absolute;
	inset: -4px;
	border: 1px solid rgba(243, 239, 231, 0.08);
	border-radius: 50%;
}

.process-ambient__node--1 {
	top: 20%;
	left: 18%;
}

.process-ambient__node--2 {
	top: 58%;
	left: 32%;
	animation-delay: -1.7s;
}

.process-ambient__node--3 {
	top: 28%;
	right: 18%;
	animation-delay: -3.1s;
}

.process-ambient__node--4 {
	bottom: 16%;
	right: 26%;
	animation-delay: -2.3s;
}

.process-ambient__target {
	position: absolute;
	width: 78px;
	height: 78px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.08);
	opacity: 0.22;
	animation: ebAmbientFloat 14s ease-in-out infinite;
}

.process-ambient__target::before,
.process-ambient__target::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	inset: 14px;
	border: 1px solid rgba(255,255,255,0.08);
}

.process-ambient__target::after {
	inset: 29px;
	background: rgba(243,239,231,0.12);
	border-color: rgba(243,239,231,0.14);
}

.process-ambient__target--1 {
	top: 12%;
	right: 22%;
	animation-delay: -4s;
}

.process-ambient__target--2 {
	bottom: 14%;
	left: 12%;
	width: 56px;
	height: 56px;
	animation-delay: -9s;
}

.process-ambient__chart {
	position: absolute;
	width: 170px;
	height: 72px;
	opacity: 0.26;
	animation: ebAmbientCard 14s ease-in-out infinite;
}

.process-ambient__chart svg {
	width: 100%;
	height: 100%;
}

.process-ambient__chart--1 {
	top: 16%;
	left: 4%;
	animation-delay: -3s;
}

.process-ambient__chart--2 {
	bottom: 18%;
	right: 8%;
	animation-delay: -8s;
}

.process-ambient__panel {
	position: absolute;
	width: 150px;
	height: 90px;
	border: 1px solid rgba(255,255,255,0.08);
	background: rgba(255,255,255,0.012);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	opacity: 0.16;
	animation: ebAmbientCard 16s ease-in-out infinite;
}

.process-ambient__panel::before {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	top: 18px;
	height: 1px;
	background: rgba(255,255,255,0.08);
	box-shadow:
		0 18px 0 rgba(255,255,255,0.05),
		0 36px 0 rgba(255,255,255,0.05);
}

.process-ambient__panel::after {
	content: "";
	position: absolute;
	left: 14px;
	top: 52px;
	width: 74px;
	height: 20px;
	border-left: 1px solid rgba(255,255,255,0.08);
	border-bottom: 1px solid rgba(255,255,255,0.08);
	transform: skewX(-28deg);
}

.process-ambient__panel--1 {
	top: 34%;
	right: 8%;
	animation-delay: -5s;
}

.process-ambient__panel--2 {
	bottom: 8%;
	left: 40%;
	animation-delay: -10s;
}

.process-ambient__code-strip {
	position: absolute;
	width: 90px;
	height: 220px;
	opacity: 0.12;
	background:
		repeating-linear-gradient(
			180deg,
			rgba(243,239,231,0.14) 0 1px,
			transparent 1px 12px
		);
	mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,1) 12%, rgba(0,0,0,1) 88%, transparent);
	-webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,1) 12%, rgba(0,0,0,1) 88%, transparent);
	animation: ebAmbientCode 13s linear infinite;
}

.process-ambient__code-strip--1 {
	top: 8%;
	right: 3%;
	animation-delay: -2s;
}

.process-ambient__code-strip--2 {
	bottom: 10%;
	left: 2%;
	animation-delay: -8s;
}

.process-ambient__vignette {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 20% 18%, rgba(139, 111, 71, 0.05), transparent 22%),
		radial-gradient(circle at 80% 72%, rgba(92, 102, 82, 0.04), transparent 24%),
		linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.08));
	opacity: 0.9;
}

.process-ambient + * {
	position: relative;
	z-index: 2;
}

.process-ambient--subtle .process-ambient__panel,
.process-ambient--subtle .process-ambient__chart {
	opacity: 0.12;
}

.process-ambient--dense .process-ambient__grid {
	opacity: 0.34;
}

@keyframes ebAmbientFloat {
	0%, 100% {
		transform: translate3d(0, 0, 0);
	}
	50% {
		transform: translate3d(0, -10px, 0);
	}
}

@keyframes ebAmbientCard {
	0%, 100% {
		transform: translate3d(0, 0, 0);
		opacity: 0.18;
	}
	50% {
		transform: translate3d(0, -8px, 0);
		opacity: 0.28;
	}
}

@keyframes ebAmbientPulse {
	0% {
		transform: scale(0.9);
		box-shadow: 0 0 0 0 rgba(243, 239, 231, 0.14);
		opacity: 0.55;
	}
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 18px rgba(243, 239, 231, 0);
		opacity: 0.9;
	}
	100% {
		box-shadow: 0 0 0 0 rgba(243, 239, 231, 0);
		opacity: 0.3;
	}
}

@keyframes ebAmbientLine {
	0% {
		transform: translateX(0);
		opacity: 0.07;
	}
	50% {
		opacity: 0.18;
	}
	100% {
		transform: translateX(8%);
		opacity: 0.07;
	}
}

@keyframes ebAmbientCode {
	0% {
		transform: translateY(0);
		opacity: 0.08;
	}
	50% {
		opacity: 0.16;
	}
	100% {
		transform: translateY(14px);
		opacity: 0.08;
	}
}

@media (max-width: 960px) {
	.process-ambient__panel--2,
	.process-ambient__chart--2,
	.process-ambient__code-strip--2,
	.process-ambient__pipe--3 {
		display: none;
	}
}

@media (max-width: 720px) {
	.hero__title {
		letter-spacing: -0.02em;
		line-height: 1.01;
	}

	.process-ambient__panel,
	.process-ambient__chart,
	.process-ambient__target--2,
	.process-ambient__line--3,
	.process-ambient__pipe--2,
	.process-ambient__code-strip {
		display: none;
	}

	.process-ambient__grid {
		opacity: 0.16;
	}
}