@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Roboto+Condensed:wght@700;800&display=swap");

/* =========================================
   APP SHELL
========================================= */

.app-shell {
	position: fixed;
	inset: 0;
	background: var(--cream);
	isolation: isolate;
	overscroll-behavior: none;
	touch-action: none;
}

.app-shell::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(21, 21, 20, 0.18), transparent 8%, transparent 92%, rgba(21, 21, 20, 0.18)),
		radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.45), transparent 28%);
}

.scroll-container {
	position: absolute;
	inset: 0;
	z-index: 1;
	height: var(--app-height);
	overflow: hidden;
	scroll-behavior: auto;
	scrollbar-width: none;
	overscroll-behavior: none;
	touch-action: none;
	-webkit-overflow-scrolling: auto;
	outline: 0;
}

.scroll-container::-webkit-scrollbar {
	width: 0;
	height: 0;
}

/* =========================================
   SECTIONS
========================================= */

.page-section {
	position: relative;
	min-height: var(--app-height);
	padding: var(--section-pad);
	display: grid;
	align-items: center;
	background:
		linear-gradient(90deg, rgba(21, 21, 20, 0.15), transparent 11%, transparent 89%, rgba(21, 21, 20, 0.15)),
		linear-gradient(180deg, var(--cream-soft), var(--cream));
	border-bottom: 1px solid var(--line);
	overflow: hidden;
}

.page-section::before,
.page-section::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: clamp(24px, 5vw, 82px);
	pointer-events: none;
	z-index: 0;
}

.page-section::before {
	left: 0;
	background: linear-gradient(90deg, rgba(21, 21, 20, 0.28), rgba(21, 21, 20, 0.06), transparent);
}

.page-section::after {
	right: 0;
	background: linear-gradient(270deg, rgba(21, 21, 20, 0.28), rgba(21, 21, 20, 0.06), transparent);
}

.section-vignette {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 18% 18%, rgba(255, 107, 87, 0.13), transparent 30%),
		radial-gradient(circle at 82% 82%, rgba(39, 199, 212, 0.13), transparent 30%),
		linear-gradient(180deg, rgba(21, 21, 20, 0.03), transparent 24%, rgba(21, 21, 20, 0.06));
	z-index: 0;
}

.section-inner {
	position: relative;
	z-index: 2;
	max-width: 1120px;
}

.hero-physics-layer {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	visibility: hidden;
}

.hero-title__word {
	display: inline-block;
}

.hero-title[data-physics-source] {
	transition: opacity 80ms linear;
}

html.hero-physics-waiting .hero-title[data-physics-source],
body.physics-ready .hero-title[data-physics-source] {
	opacity: 0;
}

body.physics-ready .hero-physics-layer {
	visibility: visible;
}

.eyebrow {
	margin-bottom: 16px;
	color: var(--muted);
	font-size: clamp(12px, 1vw, 14px);
	font-weight: 900;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

h1,
h2 {
	max-width: 12ch;
	font-size: clamp(58px, 10.5vw, 164px);
	line-height: 0.84;
	letter-spacing: -0.08em;
	text-transform: uppercase;
}

h2 {
	max-width: 13ch;
	font-size: clamp(44px, 7.8vw, 112px);
}

.section-inner p:not(.eyebrow),
.section-note,
.gate-note {
	max-width: 690px;
	margin-top: 22px;
	color: var(--ink-soft);
	font-size: clamp(19px, 2.25vw, 32px);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.04em;
}

.section-inner--copy p:not(.eyebrow) {
	font-size: clamp(31px, 4.8vw, 74px);
	line-height: 0.96;
}

.section-inner--copy p + p {
	margin-top: 10px;
}

.gate-note {
	max-width: 520px;
	font-size: clamp(15px, 1.25vw, 18px);
	line-height: 1.25;
	letter-spacing: 0;
	color: var(--muted);
}

/* =========================================
   FLAT MACHINE ASSETS
========================================= */

.flat-machine {
	position: absolute;
	z-index: 1;
	pointer-events: none;
	color: var(--ink);
	opacity: 0.92;
}

.flat-machine--hero {
	right: clamp(26px, 8vw, 128px);
	bottom: clamp(30px, 10vh, 110px);
	width: min(36vw, 460px);
	height: min(30vw, 360px);
}

.machine-block,
.machine-rail,
.machine-panel {
	position: absolute;
	display: block;
	background: currentColor;
	box-shadow: 0 18px 0 rgba(21, 21, 20, 0.08);
}

.machine-block--wide {
	left: 6%;
	bottom: 8%;
	width: 88%;
	height: 22%;
}

.machine-block--tall {
	right: 12%;
	bottom: 30%;
	width: 24%;
	height: 55%;
}

.machine-block--small {
	left: 12%;
	bottom: 38%;
	width: 36%;
	height: 18%;
}

.flat-machine--side {
	right: 8vw;
	top: 16vh;
	width: min(26vw, 320px);
	height: 68vh;
}

.machine-rail {
	right: 42%;
	top: 0;
	width: 18%;
	height: 100%;
}

.machine-panel {
	right: 0;
	top: 24%;
	width: 72%;
	height: 28%;
}

/* =========================================
   GATE / FINAL STATE
========================================= */

.section-gate {
	background:
		linear-gradient(90deg, rgba(21, 21, 20, 0.2), transparent 12%, transparent 88%, rgba(21, 21, 20, 0.2)),
		linear-gradient(180deg, #f8efe1, #eadcc6);
}

.gate-panel {
	position: absolute;
	right: var(--section-pad);
	top: clamp(74px, 14vh, 140px);
	z-index: 2;
	display: grid;
	gap: 10px;
	max-width: 270px;
}

.gate-panel span {
	display: block;
	padding: 12px 14px;
	border: 2px solid var(--ink);
	background: rgba(21, 21, 20, 0.9);
	color: var(--cream);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.16em;
	text-align: center;
	text-transform: uppercase;
}

.unlock-button {
	--liquid-button-fill: var(--ink);
	--liquid-button-edge: #37d793;
	--liquid-button-water: #27c7d4;
	position: relative;
	isolation: isolate;
	margin-top: 34px;
	padding: 18px 26px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: transparent;
	color: var(--cream);
	font-weight: 900;
	letter-spacing: -0.02em;
	overflow: visible;
	text-transform: uppercase;
	transition:
		transform 220ms var(--ease-out),
		color 220ms var(--ease-out),
		border-color 220ms var(--ease-out),
		box-shadow 220ms var(--ease-out);
}

.unlock-button::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	border-radius: inherit;
	background: var(--liquid-button-fill);
	transition:
		background 220ms var(--ease-out),
		opacity 220ms var(--ease-out);
}

.unlock-button__liquid-canvas {
	position: absolute;
	inset: -54px;
	z-index: -1;
	width: calc(100% + 108px);
	height: calc(100% + 108px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 160ms ease;
}

.unlock-button__text {
	position: relative;
	z-index: 1;
	display: inline-block;
}

.unlock-button:hover,
.unlock-button:focus-visible,
.unlock-button.is-liquid-active {
	transform: translateY(-3px);
	border-color: rgba(21, 21, 20, 0.86);
	color: var(--ink);
	box-shadow: 0 18px 32px rgba(21, 21, 20, 0.18);
}

.unlock-button:hover::before,
.unlock-button:focus-visible::before,
.unlock-button.is-liquid-active::before {
	opacity: 0.08;
}

.unlock-button:hover .unlock-button__liquid-canvas,
.unlock-button:focus-visible .unlock-button__liquid-canvas,
.unlock-button.is-liquid-active .unlock-button__liquid-canvas {
	opacity: 1;
}

.unlock-button:disabled {
	cursor: default;
	transform: none;
	border-color: rgba(111, 102, 89, 0.9);
	color: var(--cream);
	box-shadow: none;
}

.unlock-button:disabled::before {
	background: var(--muted);
	opacity: 1;
}

.unlock-button:disabled .unlock-button__liquid-canvas {
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
	.unlock-button__liquid-canvas {
		display: none;
	}

	.unlock-button:hover,
	.unlock-button:focus-visible {
		background: var(--accent-2);
	}
}

.section-final {
	min-height: 145svh;
	min-height: calc(var(--app-height) + 45svh);
	align-items: start;
	padding-top: clamp(70px, 13vh, 150px);
	background:
		linear-gradient(90deg, rgba(243, 234, 219, 0.18), transparent 13%, transparent 87%, rgba(243, 234, 219, 0.18)),
		radial-gradient(circle at 78% 18%, rgba(255, 107, 87, 0.2), transparent 26%),
		linear-gradient(180deg, #10100f, var(--ink));
	color: var(--cream);
	border-bottom: 0;
}

.section-final .eyebrow,
.section-final p {
	color: rgba(243, 234, 219, 0.78);
}

.section-inner--final > p:not(.eyebrow) {
	color: #fff;
}

.section-final h2 {
	max-width: 11ch;
	color: var(--cream);
}

.section-final::before {
	background: linear-gradient(90deg, rgba(243, 234, 219, 0.2), transparent);
}

.section-final::after {
	background: linear-gradient(270deg, rgba(243, 234, 219, 0.2), transparent);
}


.section-final__lower {
	position: absolute;
	left: var(--section-pad);
	right: var(--section-pad);
	bottom: 42px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	z-index: 2;
}

.section-final__lower span {
	padding: 10px 13px;
	border: 1px solid rgba(243, 234, 219, 0.24);
	border-radius: 999px;
	color: rgba(243, 234, 219, 0.62);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.16em;
}

body.is-section-four .section-inner--final {
	animation: finalArrive 720ms var(--ease-out) both;
}


body.is-section-four .contact-block {
	animation: contactBlockArrive 820ms var(--ease-out) 180ms both;
}

.contact-block {
	--contact-tilt-x: 0deg;
	--contact-tilt-y: 0deg;
	--contact-shift-x: 0px;
	--contact-shift-y: 0px;
	--mx: 50%;
	--my: 50%;
	--hyp: 0.32;
	--o: 0.5;
	--space: 5%;
	--angle: 133deg;
	--imgsize: 50%;
	--background-x: 50%;
	--background-y: 50%;
	--posx: 50%;
	--posy: 50%;
	--foil-line-x: 60%;
	--foil-line-y: 50%;
	--foil-line-x-inverse: 40%;
	--foil-line-y-inverse: 50%;
	--foil-image-x: 50%;
	--foil-image-y: 50%;
	--foil-texture-opacity: 0.08;
	--shine-bright: 0.75;
	--shine-after-bright: 1.2;
	--shine-before-opacity: 0.18;
	--shine-after-opacity: 0.36;
	--glare-opacity: 0.26;
	--trainerbg: url("../assets/image/trainerbg.jpg");
	position: absolute;
	right: clamp(24px, 8vw, 136px);
	top: clamp(112px, 17vh, 190px);
	z-index: 3;
	width: clamp(290px, 28vw, 430px);
	color: var(--cream);
	perspective: 900px;
	pointer-events: auto;
	opacity: 0;
	transform: translateY(36px) rotate(-1deg);
}

.contact-block__shell {
	position: relative;
	isolation: isolate;
	min-height: 300px;
	padding: clamp(22px, 3vw, 34px);
	border: 1px solid rgba(244, 234, 217, 0.34);
	border-radius: 28px;
	background: #11110f;
	box-shadow:
		0 26px 60px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(244, 234, 217, 0.22);
	overflow: hidden;
	transform:
		translate3d(var(--contact-shift-x), var(--contact-shift-y), 0)
		rotateX(var(--contact-tilt-x))
		rotateY(var(--contact-tilt-y));
	transform-style: preserve-3d;
	transition:
		transform 180ms ease,
		border-color 180ms ease,
		box-shadow 180ms ease;
}

.contact-block__art {
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
	overflow: hidden;
	pointer-events: none;
}

.contact-block__art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: grayscale(0.04) brightness(0.92) contrast(1.08) saturate(1.05);
	transform: scale(1.025);
}

.contact-block__art::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(17, 17, 15, 0.7), rgba(17, 17, 15, 0.2) 56%, rgba(17, 17, 15, 0.48)),
		linear-gradient(180deg, rgba(17, 17, 15, 0.05), rgba(17, 17, 15, 0.48));
}

.contact-block__shine,
.contact-block__shine::before,
.contact-block__shine::after,
.contact-block__glare {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	border-radius: inherit;
	pointer-events: none;
}

.contact-block__shine {
	display: grid;
	overflow: hidden;
	background-image:
		var(--trainerbg),
		repeating-linear-gradient(
			0deg,
			rgb(255, 119, 115) calc(var(--space) * 1),
			rgba(255, 237, 95, 1) calc(var(--space) * 2),
			rgba(168, 255, 95, 1) calc(var(--space) * 3),
			rgba(131, 255, 247, 1) calc(var(--space) * 4),
			rgba(120, 148, 255, 1) calc(var(--space) * 5),
			rgb(216, 117, 255) calc(var(--space) * 6),
			rgb(255, 119, 115) calc(var(--space) * 7)
		),
		repeating-linear-gradient(
			var(--angle),
			#0e152e 0%,
			hsl(180, 10%, 60%) 3.8%,
			hsl(180, 29%, 66%) 4.5%,
			hsl(180, 10%, 60%) 5.2%,
			#0e152e 10%,
			#0e152e 12%
		),
		radial-gradient(
			farthest-corner circle at var(--mx) var(--my),
			rgba(0, 0, 0, 0.1) 12%,
			rgba(0, 0, 0, 0.15) 20%,
			rgba(0, 0, 0, 0.25) 120%
		);
	background-blend-mode: difference, hue, hard-light;
	background-position:
		center,
		0% var(--posy),
		var(--posx) var(--posy),
		var(--posx) var(--posy);
	background-size:
		var(--imgsize),
		200% 700%,
		300% 300%,
		200% 200%;
	filter: brightness(var(--shine-bright)) contrast(2.5) saturate(0.75);
	mix-blend-mode: color-dodge;
	opacity: calc(var(--o) * 0.72);
	transform: translateZ(1px);
	transition: opacity 180ms ease, filter 180ms ease;
}

.contact-block__shine::before,
.contact-block__shine::after {
	content: "";
	grid-area: 1 / 1;
}

.contact-block__shine::before {
	background-image:
		var(--trainerbg),
		radial-gradient(
			farthest-corner circle at var(--mx) var(--my),
			rgba(255, 255, 255, 0.95) 0%,
			rgba(255, 255, 255, 0.55) 18%,
			rgba(255, 255, 255, 0.18) 42%,
			rgba(255, 255, 255, 0) 76%
		);
	background-blend-mode: hard-light;
	background-position:
		var(--foil-image-x) var(--foil-image-y),
		center;
	background-size:
		135% 135%,
		100% 100%;
	filter: brightness(1.55) contrast(2.35) saturate(1.15);
	mix-blend-mode: screen;
	opacity: var(--foil-texture-opacity);
	-webkit-mask-image: radial-gradient(
		farthest-corner circle at var(--mx) var(--my),
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0.85) 22%,
		rgba(0, 0, 0, 0.34) 50%,
		rgba(0, 0, 0, 0) 78%
	);
	mask-image: radial-gradient(
		farthest-corner circle at var(--mx) var(--my),
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0.85) 22%,
		rgba(0, 0, 0, 0.34) 50%,
		rgba(0, 0, 0, 0) 78%
	);
	z-index: 1;
}

.contact-block__shine::after {
	background-image:
		var(--trainerbg),
		repeating-linear-gradient(
			0deg,
			rgb(255, 119, 115) calc(var(--space) * 1),
			rgba(255, 237, 95, 1) calc(var(--space) * 2),
			rgba(168, 255, 95, 1) calc(var(--space) * 3),
			rgba(131, 255, 247, 1) calc(var(--space) * 4),
			rgba(120, 148, 255, 1) calc(var(--space) * 5),
			rgb(216, 117, 255) calc(var(--space) * 6),
			rgb(255, 119, 115) calc(var(--space) * 7)
		),
		repeating-linear-gradient(
			var(--angle),
			#0e152e 0%,
			hsl(180, 10%, 60%) 3.8%,
			hsl(180, 29%, 66%) 4.5%,
			hsl(180, 10%, 60%) 5.2%,
			#0e152e 10%,
			#0e152e 12%
		),
		radial-gradient(
			farthest-corner circle at var(--mx) var(--my),
			rgba(0, 0, 0, 0.1) 12%,
			rgba(0, 0, 0, 0.15) 20%,
			rgba(0, 0, 0, 0.25) 120%
		);
	background-blend-mode: difference, hue, hard-light;
	background-position:
		center,
		0% var(--posy),
		var(--foil-line-x-inverse) var(--foil-line-y-inverse),
		var(--posx) var(--posy);
	background-size:
		var(--imgsize),
		200% 400%,
		195% 195%,
		200% 200%;
	filter: brightness(var(--shine-after-bright)) contrast(1) saturate(1.75);
	mix-blend-mode: exclusion;
	opacity: var(--shine-after-opacity);
}

.contact-block__glare {
	z-index: 2;
	background-image:
		radial-gradient(
			farthest-corner circle at var(--mx) var(--my),
			rgba(255, 255, 255, 0.96) 4%,
			rgba(190, 210, 215, 0.34) 32%,
			rgba(44, 38, 52, 0.68) 105%
		),
		linear-gradient(
			115deg,
			rgba(255, 255, 255, 0) 0%,
			rgba(255, 255, 255, 0.16) 36%,
			rgba(255, 255, 255, 0.04) 48%,
			rgba(255, 255, 255, 0.26) 58%,
			rgba(255, 255, 255, 0) 78%
		);
	background-position: center center, var(--background-x) var(--background-y);
	background-size: 130% 150%, 220% 220%;
	filter: brightness(1.28) contrast(1.35) saturate(1.05);
	mix-blend-mode: hard-light;
	opacity: var(--glare-opacity);
	transition: opacity 180ms ease;
}

.contact-block:hover,
.contact-block:focus-within {
	--hyp: 0.82;
	--o: 1;
	--foil-texture-opacity: 0.68;
	--shine-before-opacity: 0.62;
	--shine-after-opacity: 0.9;
	--glare-opacity: 0.78;
}

.contact-block:hover .contact-block__shell,
.contact-block:focus-within .contact-block__shell {
	border-color: rgba(244, 234, 217, 0.56);
	box-shadow:
		0 32px 70px rgba(0, 0, 0, 0.34),
		inset 0 1px 0 rgba(244, 234, 217, 0.3);
}

.contact-block__status,
.contact-block__name,
.contact-block__phone,
.contact-block__email-row,
.contact-block__hint {
	position: relative;
	z-index: 4;
}

.contact-block__status {
	display: inline-block;
	margin-bottom: 16px;
	padding: 8px 10px;
	border: 1px solid rgba(39, 199, 212, 0.46);
	border-radius: 999px;
	background: rgba(17, 17, 15, 0.34);
	color: rgba(244, 234, 217, 0.78);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	backdrop-filter: blur(7px);
}

.contact-block__name {
	max-width: 8ch;
	margin: 0;
	color: var(--cream);
	font-size: clamp(38px, 4.7vw, 72px);
	font-weight: 900;
	line-height: 0.84;
	letter-spacing: -0.08em;
	text-shadow: 0 3px 16px rgba(0, 0, 0, 0.28);
	text-transform: uppercase;
}

.contact-block__phone,
.contact-block__email-link {
	position: relative;
	display: grid;
	width: 100%;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: end;
	gap: 14px;
	margin-top: 18px;
	padding: 14px 0;
	border: 0;
	border-top: 1px solid rgba(244, 234, 217, 0.24);
	background: transparent;
	color: rgba(244, 234, 217, 0.88);
	font-weight: 900;
	line-height: 1;
	text-align: left;
	text-decoration: none;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
}

.contact-block__email-row {
	border-top: 1px solid rgba(244, 234, 217, 0.24);
}

.contact-block__email-link {
	min-width: 0;
	margin-top: 0;
	border-top: 0;
}

.contact-block__phone::after,
.contact-block__email-link::after {
	content: "↗";
	color: rgba(39, 199, 212, 0.9);
	font-size: 18px;
	transition: transform 180ms var(--ease-out);
}

.contact-block__phone:hover::after,
.contact-block__phone:focus-visible::after,
.contact-block__email-link:hover::after,
.contact-block__email-link:focus-visible::after {
	transform: translate(4px, -4px);
}

.contact-block__phone:focus-visible,
.contact-block__email-link:focus-visible,
.contact-block__copy:focus-visible {
	outline: 2px solid rgba(39, 199, 212, 0.72);
	outline-offset: 5px;
	border-radius: 8px;
}

.contact-block__field-label {
	color: rgba(244, 234, 217, 0.52);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.contact-block__field-value {
	min-width: 0;
	overflow-wrap: anywhere;
	color: rgba(244, 234, 217, 0.9);
	font-size: clamp(14px, 1.15vw, 18px);
	letter-spacing: -0.035em;
	text-align: right;
	white-space: nowrap;
}

.contact-block__copy {
	display: flex;
	width: fit-content;
	margin: -2px 0 0 auto;
	padding: 9px 12px;
	border: 1px solid rgba(39, 199, 212, 0.62);
	border-radius: 999px;
	background: rgba(17, 17, 15, 0.3);
	color: rgba(244, 234, 217, 0.84);
	cursor: pointer;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.14em;
	line-height: 1;
	text-transform: uppercase;
	transition:
		background 180ms var(--ease-out),
		border-color 180ms var(--ease-out),
		color 180ms var(--ease-out),
		transform 180ms var(--ease-out);
	backdrop-filter: blur(7px);
}

.contact-block__copy:hover {
	border-color: rgba(39, 199, 212, 0.9);
	background: rgba(39, 199, 212, 0.18);
	color: var(--cream);
	transform: translateY(-2px);
}

.contact-block__hint {
	min-height: 1em;
	margin-top: 10px;
	color: rgba(244, 234, 217, 0.62);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-align: right;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
	text-transform: uppercase;
}

.contact-block__chip {
	position: absolute;
	z-index: 5;
	display: block;
	border-radius: 999px;
	background: rgba(244, 234, 217, 0.72);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
	pointer-events: none;
}

.contact-block__chip--one {
	right: 26px;
	top: 28px;
	width: 52px;
	height: 12px;
	animation: contactChipFloat 4.8s ease-in-out infinite;
}

.contact-block__chip--two {
	right: 66px;
	bottom: 34px;
	width: 18px;
	height: 18px;
	background: rgba(255, 107, 87, 0.76);
	animation: contactChipFloat 5.4s ease-in-out 400ms infinite reverse;
}

.contact-block__chip--three {
	left: 28px;
	bottom: 32px;
	width: 38px;
	height: 10px;
	background: rgba(39, 199, 212, 0.76);
	animation: contactChipFloat 4.2s ease-in-out 900ms infinite;
}

@keyframes contactBlockArrive {
	from {
		opacity: 0;
		transform: translateY(42px) rotate(-3deg) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) rotate(0deg) scale(1);
	}
}


@keyframes contactChipFloat {
	0%,
	100% {
		transform: translate3d(0, 0, 0) rotate(0deg);
	}
	50% {
		transform: translate3d(8px, -10px, 0) rotate(5deg);
	}
}

@keyframes finalArrive {
	from {
		opacity: 0;
		transform: translateY(28px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}


/* =========================================
   HERO PHYSICS WORDS
========================================= */

.hero-physics-layer {
	pointer-events: none;
	visibility: hidden;
}

.hero-physics-word {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	color: var(--ink);
	font-size: clamp(58px, 10.5vw, 164px);
	font-weight: 900;
	line-height: 0.84;
	letter-spacing: -0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	transform-origin: 50% 50%;
	user-select: none;
	-webkit-user-select: none;
	touch-action: none;
	pointer-events: none;
	cursor: default;
	opacity: 0;
	will-change: transform, left, top, opacity;
}

body.physics-ready .hero-physics-word {
	opacity: 1;
}


body.machine-pool-drag-ready .hero-physics-word {
	pointer-events: auto;
	cursor: grab;
}

body.physics-ready .hero-physics-word.is-dragging {
	cursor: grabbing;
}


/* =========================================
   FALLING LETTER PASS
========================================= */

.falling-letter-source {
	display: inline-block;
	visibility: hidden;
}

.falling-letter {
	position: absolute;
	display: inline-block;
	z-index: 5;
	pointer-events: none;
	white-space: pre;
	transform-origin: center;
	will-change: transform;
}

.section-inner--copy h2 {
	max-width: 12ch;
	font-size: clamp(58px, 10.5vw, 164px);
	line-height: 0.84;
	letter-spacing: -0.08em;
}

.section-inner--copy p:not(.eyebrow) {
	max-width: 690px;
	margin-top: 22px;
	color: var(--ink-soft);
	font-size: clamp(19px, 2.25vw, 32px);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.04em;
}

.section-inner--copy p + p {
	margin-top: 8px;
}


/* =========================================
   MEASURED MATTER GEARS
========================================= */

.falling-matter-gear {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 6;
	display: block;
	width: var(--matter-gear-size, 96px);
	height: var(--matter-gear-size, 96px);
	overflow: visible;
	pointer-events: none;
	color: #8f8a7f;
	filter: drop-shadow(1px 4px 5px rgba(21, 21, 20, 0.30));
	transform-origin: 50% 50%;
	will-change: transform;
}

.falling-matter-gear .gear-shell,
.falling-matter-gear .gear-body {
	fill: currentColor;
}

.falling-matter-gear .gear-body {
	stroke: rgba(248, 239, 225, 0.46);
	stroke-width: 5;
}

.falling-matter-gear .gear-hole {
	fill: var(--cream);
	stroke: rgba(21, 21, 20, 0.34);
	stroke-width: 6;
}

.falling-matter-gear .gear-spokes {
	fill: none;
	stroke: rgba(248, 239, 225, 0.70);
	stroke-width: 8;
	stroke-linecap: round;
}


/* =========================================
   PATCH 96 TEXT STRAIGHTEN + READABILITY
========================================= */

.hero-title {
	max-width: 15.5ch;
	letter-spacing: -0.055em;
}

.hero-title__word {
	display: inline-block;
	white-space: nowrap;
}

.hero-title__word + .hero-title__word {
	margin-left: 0.14em;
}

.section-note,
.section-inner--copy p:not(.eyebrow) {
	max-width: clamp(720px, 64vw, 980px);
	line-height: 1.14;
	letter-spacing: -0.025em;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: manual;
	text-wrap: pretty;
	transform: none;
	transform-origin: left center;
	transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), letter-spacing 280ms ease;
}

.section-inner--copy p:not(.eyebrow) {
	font-size: clamp(20px, 2.35vw, 34px);
}

.falling-letter-word {
	display: inline;
	white-space: nowrap;
}

.falling-letter-source {
	display: inline-block;
	visibility: hidden;
	white-space: nowrap;
}

body.machine-triggered .section-note {
	transform: rotate(-0.75deg) translateX(-2px);
	letter-spacing: -0.035em;
}

body.machine-triggered .section-inner--copy p:not(.eyebrow):nth-of-type(2) {
	transform: rotate(0.85deg) translateX(4px);
	letter-spacing: -0.035em;
}

body.machine-triggered .section-inner--copy p:not(.eyebrow):nth-of-type(3) {
	transform: rotate(-0.65deg) translateX(-3px);
	letter-spacing: -0.035em;
}


/* =========================================
   PATCH 97 GOOGLE FONT TEST
========================================= */


.hero-title,
.section-inner--copy h2,
#section-4 h2 {
	font-family: "Archivo Black", Arial, Helvetica, sans-serif;
	font-weight: 400;
}

.section-note,
.section-inner--copy p,
.eyebrow {
	font-family: "Roboto Condensed", "Arial Narrow", "Helvetica Neue Condensed", "Liberation Sans Narrow", "Nimbus Sans Narrow", Arial, Helvetica, sans-serif;
	font-weight: 800;
}

.hero-title,
.section-inner--copy h2 {
	text-transform: uppercase;
	line-height: 0.86;
	letter-spacing: -0.045em;
}

.section-inner--copy h2 {
	font-size: clamp(58px, 10.5vw, 164px);
	max-width: 12ch;
}

.section-note,
.section-inner--copy p:not(.eyebrow) {
	font-size: clamp(20px, 2.35vw, 34px);
	line-height: 1.12;
	letter-spacing: -0.018em;
}

.hero-title__word + .hero-title__word {
	margin-left: 0.16em;
}


/* =========================================
   PATCH 98 FONT LOAD + SECTION 3 CLEAN
========================================= */

:root {
	--font-heading: "Archivo Black", Arial Black, Impact, sans-serif;
	--font-body-strong: "Roboto Condensed", "Arial Narrow", "Helvetica Neue Condensed", "Liberation Sans Narrow", "Nimbus Sans Narrow", Arial, Helvetica, sans-serif;
}

.hero-title,
.hero-physics-word,
.section-inner--copy h2,
#section-4 h2 {
	font-family: var(--font-heading);
	font-weight: 400;
	font-synthesis: none;
	text-transform: uppercase;
	line-height: 0.86;
	letter-spacing: -0.045em;
}

.hero-title,
.section-inner--copy h2 {
	font-size: clamp(58px, 10.5vw, 164px);
}

.section-inner--copy h2 {
	max-width: 12ch;
}

.section-note,
.section-inner--copy p,
.eyebrow {
	font-family: var(--font-body-strong);
	font-weight: 800;
	font-synthesis: none;
}

.section-note,
.section-inner--copy p:not(.eyebrow) {
	font-size: clamp(20px, 2.35vw, 34px);
	line-height: 1.12;
	letter-spacing: -0.018em;
}

.hero-title__word + .hero-title__word {
	margin-left: 0.16em;
}

/* Section 3 should only show the centre button */
#section-3 .eyebrow,
#section-3 h2,
#section-3 p,
#section-3 .section-note,
#section-3 .section-title,
#section-3 .section-copy {
	display: none !important;
}

#section-3 .section-inner {
	min-height: 100vh;
	display: grid;
	place-items: center;
	text-align: center;
}

#section-3 button,
#section-3 .button,
#section-3 .section-button,
#section-3 .trigger-button,
#section-3 a[class*="button"] {
	justify-self: center;
	align-self: center;
}


/* =========================================
   PATCH 99 SECTION 3 BUTTON ONLY
========================================= */

#section-3 .gate-panel {
	display: none !important;
}

#section-3 {
	padding: 0;
	display: grid;
	place-items: center;
}

#section-3 .section-vignette {
	inset: 0;
}

#section-3 .section-inner--gate {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	min-height: var(--app-height);
	margin: 0;
	padding: 0;
	display: grid;
	place-items: center;
	text-align: center;
}

#section-3 .unlock-button {
	margin: 0;
	justify-self: center;
	align-self: center;
}


/* =========================================
   PATCH 100 PARAGRAPH OFFSET
========================================= */

#section-1 .section-note,
#section-2 .section-inner--copy p:not(.eyebrow) {
	transform: translateX(40px);
}

body.machine-triggered #section-1 .section-note {
	transform: translateX(40px) rotate(-0.75deg) translateX(-2px);
}

body.machine-triggered #section-2 .section-inner--copy p:not(.eyebrow):nth-of-type(2) {
	transform: translateX(40px) rotate(0.85deg) translateX(4px);
}

body.machine-triggered #section-2 .section-inner--copy p:not(.eyebrow):nth-of-type(3) {
	transform: translateX(40px) rotate(-0.65deg) translateX(-3px);
}


/* =========================================
   PATCH 102 HERO TEXT GLASS ONLY
========================================= */

.hero-title__word,
.hero-physics-word {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	color: rgba(214, 252, 255, 0.92);
	mix-blend-mode: screen;
	text-shadow:
		0 1px 0 rgba(255, 255, 255, 0.45),
		0 0 9px rgba(85, 226, 255, 0.32),
		0 0 24px rgba(255, 255, 255, 0.20);
	filter:
		drop-shadow(0 4px 0 rgba(21, 21, 20, 0.10))
		drop-shadow(0 0 9px rgba(112, 232, 255, 0.38))
		drop-shadow(0 0 22px rgba(255, 255, 255, 0.18));
}

.hero-title__word::before,
.hero-title__word::after,
.hero-physics-word::before,
.hero-physics-word::after {
	content: none !important;
	display: none !important;
}

.hero-title__word + .hero-title__word {
	margin-left: 0.18em;
}


/* =========================================
   PATCH 103 HERO WORD COLOURS + DROP SHADOW
========================================= */

.hero-title__word[data-word="THE"],
.hero-physics-word[data-word-index="0"] {
	color: rgba(33, 74, 148, 0.96);
}

.hero-title__word[data-word="MAKER"],
.hero-physics-word[data-word-index="1"] {
	color: rgba(42, 172, 110, 0.96);
}

.hero-title__word[data-word="OF"],
.hero-physics-word[data-word-index="2"] {
	color: rgba(239, 133, 42, 0.97);
}

.hero-title__word[data-word="THINGS"],
.hero-physics-word[data-word-index="3"] {
	color: rgba(220, 48, 45, 0.97);
}

/* Hard white backing while the hero is still locked */
html:not(.physics-released) .hero-title__word,
body:not(.physics-released) .hero-physics-word {
	text-shadow:
		3px 3px 0 rgba(255, 255, 255, 0.96),
		-3px 3px 0 rgba(255, 255, 255, 0.96),
		3px -3px 0 rgba(255, 255, 255, 0.96),
		-3px -3px 0 rgba(255, 255, 255, 0.96),
		0 0 11px rgba(255, 255, 255, 0.42);
	filter:
		drop-shadow(0 4px 0 rgba(21, 21, 20, 0.12))
		drop-shadow(0 0 10px rgba(255, 255, 255, 0.18));
}

/* Once the trigger fires and words fall, remove only the hard white backing */
body.physics-released .hero-physics-word,
body.machine-triggered .hero-physics-word,
body.machine-triggered .hero-title__word {
	text-shadow:
		0 1px 0 rgba(255, 255, 255, 0.26),
		0 0 9px rgba(85, 226, 255, 0.24),
		0 0 20px rgba(255, 255, 255, 0.14);
	filter:
		drop-shadow(0 4px 0 rgba(21, 21, 20, 0.10))
		drop-shadow(0 0 9px rgba(112, 232, 255, 0.28));
}


/* =========================================
   PATCH 114 POOL BUOYANCY TINT
========================================= */

.hero-physics-word.is-pool-wet,
.falling-letter.is-pool-wet,
.falling-matter-gear.is-pool-wet {
	filter:
		saturate(0.82)
		brightness(0.9)
		contrast(0.9)
		hue-rotate(154deg)
		drop-shadow(0 0 8px rgba(43, 177, 216, 0.18)) !important;
	opacity: 0.92;
}

.hero-physics-word.is-pool-underwater,
.falling-letter.is-pool-underwater,
.falling-matter-gear.is-pool-underwater {
	filter:
		saturate(0.62)
		brightness(0.72)
		contrast(0.82)
		hue-rotate(178deg)
		blur(0.25px)
		drop-shadow(0 0 11px rgba(43, 177, 216, 0.25)) !important;
	opacity: 0.78;
}


/* =========================================
   PATCH 117 REMOVE WORD-BASED WATER MASKING
========================================= */

.hero-physics-word.is-pool-wet,
.hero-physics-word.is-pool-underwater,
.falling-letter.is-pool-wet,
.falling-letter.is-pool-underwater {
	filter: none !important;
	opacity: 1 !important;
}

.falling-matter-gear.is-pool-wet {
	filter:
		saturate(0.72)
		brightness(0.78)
		contrast(0.84)
		hue-rotate(170deg)
		drop-shadow(0 0 8px rgba(43, 177, 216, 0.22)) !important;
	opacity: 0.82;
}

.falling-matter-gear.is-pool-underwater {
	filter:
		saturate(0.45)
		brightness(0.56)
		contrast(0.76)
		hue-rotate(188deg)
		blur(0.35px)
		drop-shadow(0 0 12px rgba(43, 177, 216, 0.30)) !important;
	opacity: 0.68;
}

/* =========================================
   PATCH 126 POOL-ONLY THINGS SOFTENING
========================================= */

.hero-physics-word[data-word-index="3"].is-pool-wet,
.hero-physics-word[data-word-index="3"].is-pool-underwater,
body.machine-pool-active .hero-physics-word[data-word-index="3"],
body.machine-pool-active .hero-title__word[data-word="THINGS"] {
	filter: blur(0.6px) !important;
}

/* =========================================
   SECTION 2 HEADLINE COLOR + BROKEN STATE
========================================= */

#section-2 .section-inner--copy h2 {
	color: #37d793;
	text-shadow:
		2px 2px 0 rgba(255, 248, 235, 0.78),
		-2px 2px 0 rgba(255, 248, 235, 0.70),
		2px -2px 0 rgba(255, 248, 235, 0.62),
		0 7px 18px rgba(21, 21, 20, 0.18);
	filter: drop-shadow(0 3px 0 rgba(21, 21, 20, 0.10));
	transition:
		color 360ms ease,
		text-shadow 360ms ease,
		filter 360ms ease;
}

.section-break-heading__word {
	display: inline-block;
	transform-origin: 50% 58%;
	transition:
		transform 560ms cubic-bezier(0.16, 1, 0.3, 1),
		color 360ms ease;
	will-change: transform;
}

body.machine-triggered #section-2 .section-inner--copy h2 {
	color: rgba(220, 219, 213, 0.94);
	text-shadow:
		1px 1px 0 rgba(255, 255, 255, 0.26),
		0 8px 18px rgba(21, 21, 20, 0.12);
	filter: drop-shadow(0 2px 0 rgba(21, 21, 20, 0.08));
}

body.machine-triggered .section-break-heading__word:nth-child(1) {
	transform: rotate(-2.4deg) translateY(2px);
}

body.machine-triggered .section-break-heading__word:nth-child(2) {
	transform: rotate(1.6deg) translateY(-3px);
}

body.machine-triggered .section-break-heading__word:nth-child(3) {
	transform: rotate(-3.2deg) translateY(4px);
}

body.machine-triggered .section-break-heading__word:nth-child(4) {
	transform: rotate(2.3deg) translateY(-1px);
}

body.machine-triggered .section-break-heading__word:nth-child(5) {
	transform: rotate(-1.5deg) translateY(3px);
}

body.machine-triggered .section-break-heading__word:nth-child(6) {
	transform: rotate(3deg) translateY(-2px);
}

body.machine-triggered .section-break-heading__word:nth-child(7) {
	transform: rotate(-2deg) translateY(5px);
}

body.machine-triggered .section-break-heading__word:nth-child(8) {
	transform: rotate(1.4deg) translateY(-3px);
}

body.machine-triggered .section-break-heading__word:nth-child(9) {
	transform: rotate(-2.8deg) translateY(2px);
}


/* =========================================
   IPHONE / TOUCH UNDERWATER READABILITY
   Safari's clipped backdrop-filter path can fail; apply a light
   per-object underwater blur only on touch/mobile pool states.
========================================= */

@media (hover: none) and (pointer: coarse), (max-width: 540px) {
	body.machine-pool-active .hero-physics-word.is-pool-wet,
	body.machine-pool-active .falling-letter.is-pool-wet {
		filter:
			blur(0.22px)
			saturate(0.82)
			brightness(0.92)
			contrast(0.94)
			hue-rotate(154deg)
			drop-shadow(0 0 7px rgba(60, 205, 232, 0.22)) !important;
		opacity: 0.94 !important;
	}

	body.machine-pool-active .hero-physics-word.is-pool-underwater,
	body.machine-pool-active .falling-letter.is-pool-underwater {
		filter:
			blur(0.48px)
			saturate(0.68)
			brightness(0.82)
			contrast(0.88)
			hue-rotate(176deg)
			drop-shadow(0 0 10px rgba(60, 205, 232, 0.34)) !important;
		opacity: 0.86 !important;
	}

	body.machine-pool-active .falling-matter-gear.is-pool-wet,
	body.machine-pool-active .falling-matter-gear.is-pool-underwater {
		filter:
			blur(0.35px)
			saturate(0.62)
			brightness(0.72)
			contrast(0.82)
			hue-rotate(184deg)
			drop-shadow(0 0 10px rgba(60, 205, 232, 0.32)) !important;
		opacity: 0.78 !important;
	}
}

/* =========================================
   IPHONE POOL OBJECT BLUR FALLBACK
   Safari can ignore unprefixed filter/backdrop-filter when mixed with
   transformed physics nodes. Use -webkit-filter and remove blend mode
   only while objects are actually wet/underwater.
========================================= */

html.machine-ios-pool-device body.machine-pool-active .hero-physics-word.is-pool-wet,
html.machine-ios-pool-device body.machine-pool-active .falling-letter.is-pool-wet {
	-webkit-filter:
		blur(0.55px)
		saturate(0.78)
		brightness(0.9)
		contrast(0.92)
		hue-rotate(158deg)
		drop-shadow(0 0 7px rgba(60, 205, 232, 0.24)) !important;
	filter:
		blur(0.55px)
		saturate(0.78)
		brightness(0.9)
		contrast(0.92)
		hue-rotate(158deg)
		drop-shadow(0 0 7px rgba(60, 205, 232, 0.24)) !important;
	opacity: 0.92 !important;
	mix-blend-mode: normal !important;
}

html.machine-ios-pool-device body.machine-pool-active .hero-physics-word.is-pool-underwater,
html.machine-ios-pool-device body.machine-pool-active .falling-letter.is-pool-underwater {
	-webkit-filter:
		blur(1.15px)
		saturate(0.58)
		brightness(0.76)
		contrast(0.84)
		hue-rotate(182deg)
		drop-shadow(0 0 10px rgba(60, 205, 232, 0.34)) !important;
	filter:
		blur(1.15px)
		saturate(0.58)
		brightness(0.76)
		contrast(0.84)
		hue-rotate(182deg)
		drop-shadow(0 0 10px rgba(60, 205, 232, 0.34)) !important;
	opacity: 0.82 !important;
	mix-blend-mode: normal !important;
}

html.machine-ios-pool-device body.machine-pool-active .falling-matter-gear.is-pool-wet,
html.machine-ios-pool-device body.machine-pool-active .falling-matter-gear.is-pool-underwater {
	-webkit-filter:
		blur(0.85px)
		saturate(0.56)
		brightness(0.68)
		contrast(0.8)
		hue-rotate(188deg)
		drop-shadow(0 0 10px rgba(60, 205, 232, 0.32)) !important;
	filter:
		blur(0.85px)
		saturate(0.56)
		brightness(0.68)
		contrast(0.8)
		hue-rotate(188deg)
		drop-shadow(0 0 10px rgba(60, 205, 232, 0.32)) !important;
	opacity: 0.76 !important;
}

