/* Keep the initial fallback layout out of view while local fonts load. */
html.fonts-loading body {
	visibility: hidden;
}

/* Local fonts / SF Pro Rounded */
@font-face {
	font-family: "SF Pro Rounded";
	src: url("../fonts/SF-Pro-Rounded-Ultralight.otf") format("opentype");
	font-style: normal;
	font-weight: 100;
	font-display: block;
}

@font-face {
	font-family: "SF Pro Rounded";
	src: url("../fonts/SF-Pro-Rounded-Thin.otf") format("opentype");
	font-style: normal;
	font-weight: 200;
	font-display: block;
}

@font-face {
	font-family: "SF Pro Rounded";
	src: url("../fonts/SF-Pro-Rounded-Light.otf") format("opentype");
	font-style: normal;
	font-weight: 300;
	font-display: block;
}

@font-face {
	font-family: "SF Pro Rounded";
	src: url("../fonts/SF-Pro-Rounded-Regular.otf") format("opentype");
	font-style: normal;
	font-weight: 400;
	font-display: block;
}

@font-face {
	font-family: "SF Pro Rounded";
	src: url("../fonts/SF-Pro-Rounded-Medium.otf") format("opentype");
	font-style: normal;
	font-weight: 500;
	font-display: block;
}

@font-face {
	font-family: "SF Pro Rounded";
	src: url("../fonts/SF-Pro-Rounded-Semibold.otf") format("opentype");
	font-style: normal;
	font-weight: 600;
	font-display: block;
}

@font-face {
	font-family: "SF Pro Rounded";
	src: url("../fonts/SF-Pro-Rounded-Bold.otf") format("opentype");
	font-style: normal;
	font-weight: 700;
	font-display: block;
}

@font-face {
	font-family: "SF Pro Rounded";
	src: url("../fonts/SF-Pro-Rounded-Heavy.otf") format("opentype");
	font-style: normal;
	font-weight: 800;
	font-display: block;
}

@font-face {
	font-family: "SF Pro Rounded";
	src: url("../fonts/SF-Pro-Rounded-Black.otf") format("opentype");
	font-style: normal;
	font-weight: 900;
	font-display: block;
}

:root {
	accent-color: var(--System-ColorBrand);
	color-scheme: light dark;
	supported-color-schemes: light dark;
	--System-ColorHeader: rgba(250, 250, 252, 0.8);
	--System-ColorBrand: rgba(255, 49, 49, 1);
	--System-ColorTrustpilot: #00B67A;
	--System-ColorRed: rgba(255, 56, 60, 1);
	--System-ColorOrange: rgba(255, 141, 40, 1);
	--System-ColorYellow: rgba(255, 204, 0, 1);
	--System-ColorGreen: rgba(52, 199, 89, 1);
	--System-ColorMint: rgba(0, 200, 179, 1);
	--System-ColorTeal: rgba(0, 195, 208, 1);
	--System-ColorCyan: rgba(0, 192, 232, 1);
	--System-ColorBlue: rgba(0, 136, 255, 1);
	--System-ColorIndigo: rgba(97, 85, 245, 1);
	--System-ColorPurple: rgba(203, 48, 224, 1);
	--System-ColorPink: rgba(255, 45, 85, 1);
	--System-ColorBrown: rgba(172, 127, 94, 1);
	--System-ColorText: rgba(0, 0, 0, 1);
	--System-ColorText2: rgba(0, 0, 0, 0.64);
	--System-ColorText3: rgba(0, 0, 0, 0.32);
	--System-ColorText4: rgba(0, 0, 0, 0.16);
	--System-ColorGray: rgba(142, 142, 147, 1);
	--System-ColorGray2: rgba(174, 174, 178, 1);
	--System-ColorGray3: rgba(199, 199, 204, 1);
	--System-ColorGray4: rgba(209, 209, 214, 1);
	--System-ColorGray5: rgba(229, 229, 234, 1);
	--System-ColorGray6: rgba(242, 242, 247, 1);
	--System-ColorBG: rgba(255, 255, 255, 1);
	--System-ColorBG2: rgba(242, 242, 247, 1);
	--System-ColorLight: rgba(255, 255, 255, 1);
	--System-ColorDark: rgba(0, 0, 0, 1);
	--System-ColorSep: rgba(229, 229, 234, 1);

	--System-Gap: 1rem;
	--System-Padding: 2rem;
	--System-PageWidth: 980px;
	--System-NarrowWidth: 768px;

	--System-Font: "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

}

/* Shared page spacing follows the viewport width. */
@media (max-width: 768px) {
	:root {
		--System-Padding: 1rem;
	}
}

@media (prefers-color-scheme: dark) {
	:root {
		--System-ColorHeader: rgba(22, 22, 23, 0.8);
		--System-ColorBrand: rgba(255, 49, 49, 1);
		--System-ColorRed: rgba(255, 66, 69, 1);
		--System-ColorOrange: rgba(255, 146, 48, 1);
		--System-ColorYellow: rgba(255, 214, 0, 1);
		--System-ColorGreen: rgba(48, 209, 88, 1);
		--System-ColorMint: rgba(0, 218, 195, 1);
		--System-ColorTeal: rgba(0, 210, 224, 1);
		--System-ColorCyan: rgba(60, 211, 254, 1);
		--System-ColorBlue: rgba(0, 145, 255, 1);
		--System-ColorIndigo: rgba(109, 124, 255, 1);
		--System-ColorPurple: rgba(219, 52, 242, 1);
		--System-ColorPink: rgba(255, 55, 95, 1);
		--System-ColorBrown: rgba(183, 138, 102, 1);
		--System-ColorText: rgba(255, 255, 255, 1);
		--System-ColorText2: rgba(255, 255, 255, 0.64);
		--System-ColorText3: rgba(255, 255, 255, 0.32);
		--System-ColorText4: rgba(255, 255, 255, 0.16);
		--System-ColorGray: rgba(142, 142, 147, 1);
		--System-ColorGray2: rgba(99, 99, 102, 1);
		--System-ColorGray3: rgba(72, 72, 74, 1);
		--System-ColorGray4: rgba(58, 58, 60, 1);
		--System-ColorGray5: rgba(44, 44, 46, 1);
		--System-ColorGray6: rgba(28, 28, 30, 1);
		--System-ColorBG: rgba(0, 0, 0, 1);
		--System-ColorBG2: rgba(28, 28, 30, 1);
		--System-ColorLight: rgba(255, 255, 255, 1);
		--System-ColorDark: rgba(0, 0, 0, 1);
		--System-ColorSep: rgba(44, 44, 46, 1);
	}
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	position: relative;
	isolation: isolate;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0;
	padding-top: 96px;
	background: var(--System-ColorBG2);
	color: var(--System-ColorText);
	font-family: var(--System-Font);
	line-height: 1;
}

/* Shared page frame; the dotfield stays outside the refracted foreground. */
.site-surface {
	display: grid;
	grid-template-rows: 1fr auto;
	min-height: calc(100vh - 96px);
	min-height: calc(100dvh - 96px);
}

/* Standard content fits between the innermost pair of vertical guides. */
.container {
	max-width: var(--System-NarrowWidth);
	width: 100%;
	padding-inline: var(--System-Padding);
	margin-inline: auto;
}

/* Use this class for sections whose content extends beyond the guides. */
.container-wide {
	max-width: var(--System-PageWidth);
	width: 100%;
	padding-inline: var(--System-Padding);
	margin-inline: auto;
}

/* Six page-level lines: three to the left and three to the right. */
.vertical-guides {
	position: absolute;
	z-index: -1;
	inset-block: 0;
	inset-inline: 0;
	/* Reserve 24px on each side for the outer guide lines. */
	width: min(var(--System-NarrowWidth), calc(100% - max(var(--System-Padding), 48px)));
	margin-inline: auto;
	pointer-events: none;
}

/* Shared appearance for vertical and horizontal guides. */
.guide {
	position: absolute;
	background: var(--System-ColorSep);
	opacity: 0.64;
	opacity: 0;
	pointer-events: none;
}

.vertical-guides>.guide {
	inset-block: 0;
	width: 1px;
}

.guide-horizontal {
	inset-inline: 0;
	height: 1px;
}

.guide-top {
	top: 0;
}

.guide-bottom {
	bottom: 0;
}

.guide-left.guide-inner {
	left: 0;
}

.guide-left.guide-middle {
	left: -12px;
}

.guide-left.guide-outer {
	left: -24px;
}

.guide-right.guide-inner {
	right: 0;
}

.guide-right.guide-middle {
	right: -12px;
}

.guide-right.guide-outer {
	right: -24px;
}

/* Each section contains its own top and bottom horizontal guides. */
#content>section,
.site-footer {
	position: relative;
}

#content {
	min-width: 0;
	/* Temporary height for scroll testing; remove when real sections are added. */
	min-height: 200vh;
}

/* All headings use the shared system font. */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--System-Font);
}

/* Fixed header aligned with the innermost vertical guides. */
.site-header {
	position: fixed;
	z-index: 100;
	top: var(--System-Gap);
	inset-inline: 0;
	width: calc(var(--System-NarrowWidth) - var(--System-Gap) * 2);
	max-width: calc(100% - var(--System-Padding) * 2);
	margin-inline: auto;
	height: 64px;
	min-height: 64px;
	border: 1px solid var(--System-ColorSep);
	border-radius: 100px;
	overflow: hidden;
	background: var(--System-ColorHeader);
	-webkit-backdrop-filter: saturate(256%) blur(16px);
	backdrop-filter: saturate(256%) blur(16px);
}

.site-header>.container {
	width: 100%;
	height: 100%;
	z-index: 1;
	position: relative;
	padding: 0;
}

.header-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--System-Gap);
	height: 100%;
	padding-inline: var(--System-Gap);
	font-family: var(--System-Font);
}

.header-navigation a:not(.button) {
	color: var(--System-ColorText2);
	font-size: 1.25rem;
	line-height: 1;
	font-weight: bold;
	text-decoration: none;
}

.header-navigation a:not(.button):hover {
	color: var(--System-ColorBrand);
}

.header-navigation a:not(.button):focus-visible {
	outline: 2px solid var(--System-ColorBrand);
	outline-offset: 5px;
}

@media (max-width: 480px) {
	.header-navigation {
		gap: calc(var(--System-Gap) / 2);
		padding-inline: calc(var(--System-Gap) / 2);
	}
}

/* ================================================================
   FIRST SECTION / HERO
   ================================================================ */
.hero-section {
	padding-block: calc(var(--System-Padding) * 1);
}

.hero-inner {
	padding-inline: var(--System-Padding);
}

/* Activity badge — the booking text stays unchanged. */
.hero-availability {
	display: flex;
	width: fit-content;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	max-width: 100%;
	margin: 0 0 8px;
	padding: 8px 16px;
	border: 1px solid var(--System-ColorSep);
	border-radius: 20px;
	background: linear-gradient(to bottom,
			color-mix(in srgb, var(--System-ColorBG) 88%, var(--System-ColorLight)),
			var(--System-ColorBG) 65%,
			color-mix(in srgb, var(--System-ColorBG) 96%, var(--System-ColorDark)));
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--System-ColorLight) 12%, transparent),
		inset 0 -1px 1px color-mix(in srgb, var(--System-ColorDark) 14%, transparent);
	color: var(--System-ColorText);
	font-family: var(--System-Font);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.5px
}

.activity-date {
	font-weight: 700;
}

.activity-dot {
	position: relative;
	display: inline-block;
	width: 10px;
	height: 10px;
	flex-shrink: 0;
}

.activity-dot::before,
.activity-dot::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--System-ColorGreen);
}

.activity-dot::before {
	animation: activity-dot-pulse 2s ease-out infinite;
}

.activity-dot::after {
	box-shadow: 0 0 8px color-mix(in srgb, var(--System-ColorGreen) 15%, transparent);
}

@keyframes activity-dot-pulse {
	0% {
		transform: scale(1);
		opacity: 0.5;
	}

	70%,
	100% {
		transform: scale(2.8);
		opacity: 0;
	}
}

.hero-title {
	margin: 0;
	font-family: var(--System-Font);
	font-size: 3rem;
	font-weight: 900;
	letter-spacing: 0px;
}

#contact-title span {
	color: var(--System-ColorText2);
	font-size: 2.75rem;
}

.hero-title-line {
	display: flex;
	align-items: center;
	gap: 16px;
}

.hero-title-line-bottom {
	margin-top: 8px;
}

.hero-portraits {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.hero-portraits>a {
	position: relative;
	z-index: 0;
	display: block;
	width: 64px;
	height: 64px;
	margin-left: -16px;
	flex-shrink: 0;
	transition: transform 250ms ease;
}

.hero-portraits picture {
	display: block;
	width: 100%;
	height: 100%;
}

.hero-portraits img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	filter:
		drop-shadow(0 2px 2px color-mix(in srgb, var(--System-ColorDark) 12%, transparent))
		drop-shadow(0 6px 8px color-mix(in srgb, var(--System-ColorDark) 16%, transparent));
}

.hero-portraits>a:first-child {
	margin-left: 0;
	z-index: 1;
}

.hero-portraits>a:nth-child(2) {
	z-index: 2;
}

.hero-portraits>a:nth-child(3) {
	z-index: 3;
}

.hero-portraits>a:nth-child(4) {
	z-index: 4;
}

.hero-portraits>a:hover,
.hero-portraits>a:focus-visible {
	z-index: 5;
	transform: translateY(-4px);
}

.hero-bolt {
	width: 56px;
	height: 56px;
}

/* Decorative emblem uses the shared primary button surface. */
.hero-bolt.button,
.hero-bolt.button:hover,
.hero-bolt.button:active {
	padding: 0;
	color: var(--System-ColorDark);
	cursor: inherit;
	transform: none;
}

.hero-bolt svg {
	width: auto;
	height: 32px;
}

.hero-description {
	margin-top: 16px;
	color: var(--System-ColorText2);
	font-family: var(--System-Font);
	font-size: 1.5rem;
	line-height: 1.5;
	text-align: justify;
}

.hero-description p {
	margin: 0;
}

.hero-description p+p {
	margin-top: 16px;
}

.hero-description strong {
	color: var(--System-ColorText);
	font-weight: 600;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 16px;
}

/* BUTTON / Shared dimensions, typography, border and interactions. */
.button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	gap: 15px;
	min-height: 32px;
	padding: 8px 32px;
	border: 1px solid var(--System-ColorText4);
	border-radius: 100px;
	background: transparent;
	color: var(--System-ColorLight);
	font-family: var(--System-Font);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	text-decoration: none;
	cursor: pointer;
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--System-ColorLight) 28%, transparent),
		inset 0 -1px 0 color-mix(in srgb, var(--System-ColorDark) 12%, transparent),
		0 3px 8px -3px color-mix(in srgb, var(--System-ColorDark) 12%, transparent);
	transition: transform 150ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
	color: var(--System-ColorLight);
	border-color: var(--System-ColorText4);
	transform: translateY(-1px);
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--System-ColorLight) 28%, transparent),
		0 4px 10px color-mix(in srgb, var(--System-ColorDark) 16%, transparent);
}

.button:is(:focus, :active) {
	color: var(--System-ColorLight);
	transform: translateY(1px);
	box-shadow: inset 0 2px 4px color-mix(in srgb, var(--System-ColorDark) 22%, transparent),
		0 1px 0 color-mix(in srgb, var(--System-ColorLight) 10%, transparent);
}

.button:focus-visible {
	outline: 2px solid var(--System-ColorBrand);
	outline-offset: 5px;
}

/* Variants change the background only. */
.button.primary {
	background: linear-gradient(to bottom,
			color-mix(in srgb, var(--System-ColorBrand) 70%, var(--System-ColorLight)),
			color-mix(in srgb, var(--System-ColorBrand) 88%, var(--System-ColorLight)) 45%,
			var(--System-ColorBrand));
}

.button.secondary {
	color: var(--System-ColorText);
	background: linear-gradient(to bottom,
			color-mix(in srgb, var(--System-ColorBG2) 94%, var(--System-ColorLight)),
			var(--System-ColorBG2));
}

/* Dark buttons need a shaded rim, not the white Text4 separator treatment. */
@media (prefers-color-scheme: dark) {
	.button {
		background-clip: border-box;
		border-color: color-mix(in srgb, var(--System-ColorDark) 26%, transparent);
		border-bottom-color: color-mix(in srgb, var(--System-ColorDark) 38%, transparent);
		box-shadow: 0 3px 8px -3px color-mix(in srgb, var(--System-ColorDark) 45%, transparent);
	}

	.button:hover {
		border-color: color-mix(in srgb, var(--System-ColorDark) 32%, transparent);
		border-bottom-color: color-mix(in srgb, var(--System-ColorDark) 42%, transparent);
		box-shadow: 0 4px 10px -3px color-mix(in srgb, var(--System-ColorDark) 50%, transparent);
	}

	.button:is(:focus, :active) {
		border-color: color-mix(in srgb, var(--System-ColorDark) 38%, transparent);
		border-bottom-color: color-mix(in srgb, var(--System-ColorDark) 22%, transparent);
		box-shadow: inset 0 2px 4px color-mix(in srgb, var(--System-ColorDark) 36%, transparent),
			0 1px 2px color-mix(in srgb, var(--System-ColorDark) 16%, transparent);
	}

	.button.primary {
		background: linear-gradient(to bottom,
				color-mix(in srgb, var(--System-ColorBrand) 82%, var(--System-ColorLight)),
				var(--System-ColorBrand) 65%,
				color-mix(in srgb, var(--System-ColorBrand) 96%, var(--System-ColorDark)));
	}

	.button.primary:is(:focus, :active) {
		background: linear-gradient(to bottom,
				color-mix(in srgb, var(--System-ColorBrand) 90%, var(--System-ColorDark)),
				var(--System-ColorBrand) 65%,
				color-mix(in srgb, var(--System-ColorBrand) 94%, var(--System-ColorLight)));
	}

	.button.secondary:is(:focus, :active) {
		background: linear-gradient(to bottom,
				color-mix(in srgb, var(--System-ColorBG2) 88%, var(--System-ColorDark)),
				var(--System-ColorBG2) 65%,
				color-mix(in srgb, var(--System-ColorBG2) 96%, var(--System-ColorLight)));
	}
}

/* Optional trailing icon is part of the shared button, not a variant. */
.button:has(.button-arrow) {
	padding-inline-end: 6px;
}

.button-arrow {
	display: inline-grid;
	place-items: center;
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--System-ColorLight) 22%, transparent);
	line-height: 1;
}

.button-arrow svg {
	display: block;
	width: 16px;
	height: 16px;
}

.hero-rating {
	margin: 24px 0 0;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.5;
}

.hero-rating a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: inherit;
	text-decoration: none;
}

.hero-rating svg {
	width: 20px;
	height: auto;
	color: var(--System-ColorTrustpilot);
	flex-shrink: 0;
}

.hero-partners {
}

.hero-partners>p {
	margin: 0 0 16px;
	color: var(--System-ColorText3);
	font-size: 0.85rem;
}

.hero-partner-marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, var(--System-ColorLight) 5%, var(--System-ColorLight) 90%, transparent);
	mask-image: linear-gradient(to right, transparent, var(--System-ColorLight) 5%, var(--System-ColorLight) 90%, transparent);
}

.hero-partner-track {
	display: flex;
	width: max-content;
	animation: hero-partners-scroll 28s linear infinite;
}

.hero-partner-marquee:hover .hero-partner-track,
.hero-partner-marquee:focus-within .hero-partner-track {
	animation-play-state: paused;
}

.hero-partner-marquee.is-paused-offscreen .hero-partner-track,
.service-tags.is-paused-offscreen .service-tag-track {
	animation-play-state: paused !important;
}

.activity-dot.is-paused-offscreen,
.activity-dot.is-paused-offscreen::after,
.contact-section-icon.is-paused-offscreen .contact-bubble-layer {
	animation-play-state: paused !important;
}

.hero-partner-set {
	display: flex;
	align-items: center;
	gap: 40px;
	flex: 0 0 auto;
	padding-right: 40px;
}

.hero-partner-link {
	display: block;
	flex-shrink: 0;
	line-height: 0;
}

.hero-partner-link:focus-visible {
	outline: 2px solid var(--System-ColorBrand);
	outline-offset: 4px;
}

.hero-partner-logo {
	display: block;
	width: auto;
	height: 40px;
	flex-shrink: 0;
	object-fit: contain;
	opacity: 0.32;
	filter: brightness(0);
}

@media (prefers-color-scheme: dark) {
	.hero-partner-logo {
		filter: brightness(0) invert(1);
	}
}

@keyframes hero-partners-scroll {
	to {
		transform: translateX(-50%);
	}
}

@media (max-width: 760px) {
	.hero-title {
		font-size: clamp(1.75rem, 4.6vw, 2.5rem);
	}

	.hero-title-line:first-child {
		flex-wrap: wrap;
	}

	.hero-portraits>a {
		width: 45px;
		height: 45px;
		margin-left: -12px;
	}

	.hero-portraits>a:first-child {
		margin-left: 0;
	}

	.hero-bolt {
		width: 45px;
		height: 45px;
	}

	.hero-bolt svg {
		width: auto;
		height: 26px;
	}

	.hero-description {
		font-size: 1.125rem;
	}

	.hero-partner-set {
		gap: 30px;
		padding-right: 30px;
	}
}

@media (max-width: 480px) {
	.hero-section {
		padding-block: calc(var(--System-Padding) * 1.5);
	}

	.hero-title-line {
		gap: 10px;
	}

	.hero-title-line-bottom {
		align-items: flex-start;
		margin-top: 16px;
	}

	.hero-title-line-bottom>span:last-child {
		flex: 1;
		min-width: 0;
	}

	.hero-description {
		font-size: 1rem;
		line-height: 1.65;
	}

	.hero-actions {
		margin-top: 32px;
		gap: 10px;
	}

}

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

	.button,
.hero-portraits>a {
		transition: none;
	}
}

/* END FIRST SECTION / HERO */

/* HEADER TEXT / LETTER-BY-LETTER ROLLOVER */
.header-navigation .nav-roll {
	display: inline-flex;
	overflow: hidden;
	height: 1.5em;
	vertical-align: top;
}

.header-navigation .nav-letter {
	display: block;
	flex-shrink: 0;
	height: 1.5em;
	line-height: 1.5em;
	white-space: pre;
	text-shadow: 0 1.5em 0 currentColor;
	backface-visibility: hidden;
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: calc(var(--letter-index) * 25ms);
}

.header-navigation a:hover .nav-letter,
.header-navigation a:focus-visible .nav-letter {
	transform: translateY(-100%);
}

@media (max-width: 480px) {
	.hero-availability {
		padding-inline: 15px;
		font-size: 1rem;
		line-height: 1.25;
	}
}

@media (prefers-reduced-motion: reduce) {
	.activity-dot::before {
		animation: none;
		opacity: 0;
	}

	.header-navigation .nav-letter {
		transition: none;
		transform: none;
	}
}

/* CURSOR / CACHED CANVAS PARTICLE TRAIL */
.cursor-sparkles {
	display: block;
	width: 100%;
	height: 100%;
	color: var(--System-ColorBrand);
	position: fixed;
	z-index: 9999;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	contain: strict;
}

.cursor-sparkles[hidden],
.site-dotfield[hidden] {
	display: none;
}

@media (prefers-reduced-motion: reduce),
(any-hover: none) {
	.cursor-sparkles {
		display: none;
	}
}

/* HEADER / LEFT LOGO, CENTER LINKS, RIGHT CONTACT BUTTON */
.header-navigation .header-logo {
	position: relative;
	display: block;
	width: auto;
	height: 32px;
	flex-shrink: 0;
	margin-left: 8px;
}

.header-logo img {
	display: block;
	width: auto;
	height: 32px;
}

.header-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--System-Gap);
	margin-inline: auto;
	min-width: 0;
}

.header-links a {
	flex-shrink: 0;
}

.header-contact {
	padding: 0 16px;
	font-size: 1rem;

}

@media (max-width: 568px) {
	.header-navigation {
		gap: 16px;
	}

	.header-links {
		gap: 16px;
		flex: 1;
		overflow-x: auto;
		scrollbar-width: none;

		& a {
			font-size: 1rem !important;

			&:last-child {
				display: none;
			}
		}
	}

	.header-links::-webkit-scrollbar {
		display: none;
	}
}

@media (max-width: 480px) {
	.header-navigation {
		gap: 16px;
		padding-inline: var(--System-Gap);
	}
}

@media (max-width: 420px) {
	.header-links {
		gap: 16px;
	}
	.header-contact {
		display: none;
	}

	.header-links {
		justify-content: flex-end;
		padding-right: var(--System-Padding);
	}
}

/* Shared brand accents. */

::selection {
	background: var(--System-ColorBrand);
	color: var(--System-ColorLight);
}

/* CONTACT PAGE */
.contact-page #content {
	min-height: 0;
}

/* ================================================================
   CONTACT / Intro and project form
   ================================================================ */

.contact-section {
	padding-block: calc(var(--System-Padding) * 1);
}

.contact-section .hero-description {
	text-align: left;
	text-align-last: left;
}

.contact-inner {
	padding-inline: var(--System-Padding);
}

.contact-eyebrow,
.section-eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	color: var(--System-ColorBrand);
	font-size: 1.25rem;
	font-weight: 500;
}

.contact-eyebrow svg,
.section-eyebrow svg {
	width: 28px;
	height: auto;
	flex-shrink: 0;
}

/* Typography is shared with the home hero above. */

/* Measurements follow Apple's current apple.com/feedback/safari form.
   Form colors use system tokens; focus and selections retain our brand. */
.contact-form {
	display: grid;
	gap: 24px;
}

.contact-field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.contact-control {
	min-width: 0;
}

.contact-field,
.contact-message {
	position: relative;
	border: 1px solid var(--System-ColorSep);
	border-radius: 12px;
	background: color-mix(in srgb, var(--System-ColorBG) 80%, transparent);
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.contact-field input,
.contact-field select,
.contact-message textarea {
	display: block;
	width: 100%;
	min-width: 0;
	margin: 0;
	border: 0;
	border-radius: inherit;
	background: transparent;
	color: var(--System-ColorText);
	font-family: var(--System-Font);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.23536;
	letter-spacing: -0.022em;
	appearance: none;
	-webkit-appearance: none;
}

.contact-field input,
.contact-field select {
	height: 54px;
	padding: 18px 16px 0;
}

.contact-field-label {
	position: absolute;
	top: 17px;
	left: 16px;
	right: 16px;
	color: var(--System-ColorText2);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.23536;
	letter-spacing: -0.022em;
	pointer-events: none;
	transition: top 120ms ease, font-size 120ms ease, line-height 120ms ease;
}

.contact-field input:focus+.contact-field-label,
.contact-field input:not(:placeholder-shown)+.contact-field-label,
.contact-field input:autofill+.contact-field-label,
.contact-field-select .contact-field-label,
.contact-message textarea:focus+.contact-field-label,
.contact-message textarea:not(:placeholder-shown)+.contact-field-label {
	top: 9px;
	font-size: 12px;
	line-height: 1.33337;
	letter-spacing: -0.01em;
}

.contact-field select {
	padding-right: 40px;
	cursor: pointer;
}

.contact-field select option {
	background: var(--System-ColorBG);
	color: var(--System-ColorText);
}

.contact-select-chevron {
	position: absolute;
	top: 19px;
	right: 16px;
	width: 16px;
	height: 16px;
	color: var(--System-ColorText2);
	pointer-events: none;
}

.contact-field:focus-within,
.contact-message:focus-within {
	border-color: var(--System-ColorBrand);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--System-ColorBrand) 60%, transparent);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-message textarea:focus {
	outline: none;
}

.contact-message {
	padding: 0;
}

.contact-message textarea {
	min-height: 180px;
	padding: 32px 16px 10px;
	border-radius: 12px;
	resize: vertical;
	line-height: 1.5;
}

.contact-field-error {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin: 8px 0 0;
	color: var(--System-ColorRed);
	font-size: 12px;
	line-height: 1.4;
}

.contact-field-error[hidden] {
	display: none;
}

.contact-field-error::before {
	content: '!';
	display: inline-grid;
	place-items: center;
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	border: 1px solid currentColor;
	border-radius: 50%;
	font-size: 9px;
	font-weight: 700;
}

.contact-control.has-error .contact-field,
.contact-control.has-error .contact-message {
	border-color: var(--System-ColorRed);
	background: color-mix(in srgb, var(--System-ColorRed) 3%, var(--System-ColorBG));
}

.contact-control.has-error .contact-field-label {
	color: var(--System-ColorRed);
}

.contact-options {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.contact-options legend {
	padding: 0;
	margin-bottom: 14px;
	color: var(--System-ColorText);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.47;
}

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

.contact-choice {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	min-height: 56px;
	padding: 14px 16px;
	border: 1px solid var(--System-ColorSep);
	border-radius: 12px;
	background: color-mix(in srgb, var(--System-ColorBG) 80%, transparent);
	cursor: pointer;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.contact-choice:has(input:checked),
.contact-choice:focus-within {
	border-color: var(--System-ColorBrand);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--System-ColorBrand) 60%, transparent);
}

.contact-choice input {
	position: relative;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	margin: 0;
	border: 1px solid var(--System-ColorSep);
	border-radius: 3px;
	background: color-mix(in srgb, var(--System-ColorBG) 80%, transparent);
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.contact-choice input[type='radio'] {
	border-radius: 50%;
}

.contact-choice span {
	color: var(--System-ColorText);
	font-size: 17px;
	line-height: 1.47;
	letter-spacing: -0.022em;
}

.contact-choice input:checked {
	border-color: var(--System-ColorBrand);
	background: var(--System-ColorBrand);
}

.contact-choice input[type='checkbox']:checked::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 5px;
	width: 4px;
	height: 8px;
	border: solid var(--System-ColorDark);
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg);
}

.contact-choice input[type='radio']:checked::after {
	content: '';
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	background: var(--System-ColorDark);
}

.contact-choice input:focus-visible {
	outline: none;
}

.contact-choice:has(input:disabled) {
	cursor: default;
}

.contact-choice input:disabled {
	opacity: 0.4;
	cursor: default;
}

.contact-choice:has(input:disabled) span {
	color: var(--System-ColorText2);
}

.contact-submit {
    position: relative;
    width: 100%;
    min-height: 64px;
    font-size: 2rem;
}

.contact-honeypot {
 position: absolute;
 width: 1px;
 height: 1px;
 overflow: hidden;
 clip-path: inset(50%);
 white-space: nowrap;
}
/* Trim the widget's native frame, including the bottom border and corner pixels. */
.contact-verification {
    width: 100%;
    max-width: 320px;
    min-width: 0;
    margin-inline: auto;
    justify-self: center;
    line-height: 0;
    border-radius: 12px;
    overflow: hidden;
    clip-path: inset(2px round 12px);
    background: var(--System-ColorBG2);
}

.contact-submit:disabled { opacity: .65; cursor: wait; pointer-events: none; }
.contact-form-status {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--System-ColorSep);
    border-radius: 12px;
    background: var(--System-ColorBG2);
    color: var(--System-ColorText);
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
}

.contact-form-status[hidden] { display: none; }

.contact-form-status[data-state='success'] {
    border-color: color-mix(in srgb, var(--System-ColorGreen) 40%, var(--System-ColorSep));
    background: color-mix(in srgb, var(--System-ColorGreen) 10%, var(--System-ColorBG));
}

.contact-form-status[data-state='success']::before {
    content: "";
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    background: var(--System-ColorGreen);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m7.5 12 3 3 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-form-status[data-state='error'] {
    border-color: color-mix(in srgb, var(--System-ColorRed) 40%, var(--System-ColorSep));
    background: color-mix(in srgb, var(--System-ColorRed) 10%, var(--System-ColorBG));
}

.contact-form-status[data-state='error']::before {
    content: "";
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    background: var(--System-ColorRed);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M12 7v6' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='16.5' r='1'/%3E%3C/svg%3E") center / contain no-repeat;
}


@media (max-width: 600px) {
	.contact-section {
		padding-block: calc(var(--System-Padding) * 1.5);
	}

	.contact-field-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

}

@media (prefers-reduced-motion: reduce) {

	.contact-field,
.contact-message,
.contact-choice,
.contact-field-label,
.contact-submit {
		transition: none;
	}
}

/* END CONTACT */

/* CONTACT / Original SF Symbol SVG with a continuous layered pulse. */

.contact-bubble-layer {
	transform-box: fill-box;
	transform-origin: center;
	animation: contact-bubble-pulse 2.4s ease-in-out infinite;
}

.contact-bubble-front {
	animation-delay: 0.3s;
}

@keyframes contact-bubble-pulse {

	0%,
	65%,
	100% {
		opacity: 1;
		transform: scale(1);
	}

	30% {
		opacity: 0.4;
		transform: scale(0.96);
	}
}

@media (prefers-reduced-motion: reduce) {
	.contact-bubble-layer {
		animation: none;
	}
}

@media (max-width: 480px) {
	.contact-choices {
		grid-template-columns: 1fr;
	}
}

/* ================================================================
   HOME HERO / Bungee-style continuous media ticker
   ================================================================ */
.hero-showcase {
	position: relative;
	width: 100%;
	height: calc(512px + var(--System-Gap) * 4);
	margin: var(--System-Gap) auto 0;
	padding-block: calc(var(--System-Gap) * 2);
	overflow: hidden;
	isolation: isolate;
}

/* Fade media into the background color instead of revealing the dot field. */
.hero-showcase::before,
.hero-showcase::after {
	content: '';
	position: absolute;
	z-index: 1;
	inset-block: 0;
	width: 13.3%;
	pointer-events: none;
}

.hero-showcase::before {
	left: 0;
	background: linear-gradient(to right, var(--System-ColorBG2), transparent);
}

.hero-showcase::after {
	right: 0;
	background: linear-gradient(to left, var(--System-ColorBG2), transparent);
}

.hero-showcase-track {
	display: flex;
	width: max-content;
	height: 100%;
	animation: hero-showcase-scroll var(--showcase-duration, 25.4667s) linear infinite reverse;
	will-change: transform;
}

.hero-showcase-set {
	display: flex;
	flex-shrink: 0;
    gap: var(--System-Gap);
	padding-right: var(--System-Gap);
}

.hero-slide {
	position: relative;
	display: grid;
	place-items: center;
	flex: 0 0 180px;
	width: 180px;
	height: 512px;
	margin: 0;
	border-radius: 128px 16px 128px 16px;
	border: 1px solid var(--System-ColorSep);
	background: var(--System-ColorBG2);
	overflow: hidden;
	box-shadow:
		0 2px 4px color-mix(in srgb, var(--System-ColorDark) 8%, transparent),
		0 10px 18px color-mix(in srgb, var(--System-ColorDark) 14%, transparent);
}

@media (prefers-color-scheme: dark) {
	.hero-slide {
		box-shadow:
			0 2px 4px color-mix(in srgb, var(--System-ColorDark) 24%, transparent),
			0 10px 18px color-mix(in srgb, var(--System-ColorDark) 36%, transparent);
	}
}

.hero-slide:nth-child(even) {
	border-radius: 16px 128px 16px 128px;
}

.hero-slide img,
.hero-slide video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	flex-shrink: 0;
}

/* Match the source's image magnification inside each narrow crop. */
.hero-slide img {
	position: absolute;
	max-width: none;
}

.hero-slide:nth-child(2) img {
	width: 530px;
	height: 530px;
}

.hero-slide:nth-child(4) img {
	width: 366px;
	height: 528px;
}

.hero-slide:nth-child(5) img,
.hero-slide:nth-child(7) img {
	width: 494px;
	height: 656px;
}

.hero-slide:nth-child(6) img {
	width: 849px;
	height: 1200px;
}

.hero-slide:nth-child(8) img {
	width: 368px;
	height: 520px;
}

.hero-showcase:hover .hero-showcase-track,
.hero-showcase:focus-within .hero-showcase-track,
.hero-showcase.is-offscreen .hero-showcase-track {
	animation-play-state: paused;
}

.hero-showcase:focus-visible {
	outline: 2px solid var(--System-ColorBrand);
	outline-offset: 4px;
}

@keyframes hero-showcase-scroll {
	to {
		transform: translateX(calc(-1 * var(--showcase-distance, 1528px)));
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-showcase {
		overflow-x: auto;
	}

	.hero-showcase-track {
		animation: none;
		will-change: auto;
	}

	.hero-showcase-set[aria-hidden='true'] {
		display: none;
	}
}

/* END HOME HERO MEDIA TICKER */

/* PAGE / Refractive glass at the physical viewport edges. */
.glass-content {
    position: relative;
    min-width: 0;
    width: 100%;
    z-index: 0;
    isolation: isolate;
}

#content {
	position: relative;
	z-index: 0;
	isolation: isolate;
}

/* Native content and GPU glass share a neutral 12px transition. */
.glass-source {
	clip-path: inset(var(--glass-top, 0px) 0 var(--glass-bottom, 0px) 0);
	mask-image: linear-gradient(to bottom,
			transparent var(--glass-fade-top-start),
			var(--System-ColorDark) var(--glass-fade-top-end),
			var(--System-ColorDark) var(--glass-fade-bottom-start),
			rgb(0 0 0 / var(--glass-bottom-native-alpha, 0)) var(--glass-fade-bottom-end));
}

.site-surface.glass-composite {
	isolation: isolate;
}

.edge-glass {
	position: fixed;
	left: 0;
	width: 100%;
	height: 128px;
	z-index: 3;
	pointer-events: none;
	mix-blend-mode: plus-lighter;
}

.glass-top {
	top: 0;
}

.glass-bottom {
	bottom: 0;
}

/* FOOTER / Centered contact and copyright. */
.site-footer {
 z-index: 4;
 padding-block: calc(var(--System-Padding) + 64px) var(--System-Padding);
}
.footer-inner { text-align: center;
    max-width: var(--System-PageWidth);}
.footer-label {
    margin: 0 0 16px;
    color: var(--System-ColorText3);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase; }
.footer-contact-link { display: inline-flex; align-items: center; justify-content: center; gap: 20px; color: var(--System-ColorText); font-size: clamp(2rem, 8vw, 4rem); font-weight: 900; line-height: 1.1; letter-spacing: -.04em; text-decoration: none; }
.footer-contact-arrow { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; color: var(--System-ColorText3); transform: rotate(45deg); transition: transform 500ms ease, color 500ms ease; }
.footer-contact-arrow svg { width: 100%; height: 100%; }
.footer-contact-link:hover .footer-contact-arrow { transform: rotate(24deg) translate(8px, -8px) scale(1.16); color: var(--System-ColorBrand); }
.footer-contact-link:focus-visible { outline: 2px solid var(--System-ColorBrand); outline-offset: 5px; border-radius: 4px; }
/* Social links sit above the divider, aligned with the footer navigation. */
.footer-socials {
 display: flex;
 align-items: center;
 justify-content: flex-start;
 gap: 16px;
 margin-top: calc(var(--System-Padding) + 64px);
 margin-bottom: 12px;
}
.footer-socials a {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 min-height: 24px;
 color: var(--System-ColorText2);
 font-size: 1rem;
 line-height: 1.2;
 text-decoration: none;
 transition: color 180ms ease;
}
.footer-socials svg { width: 22px; height: 22px; }
.footer-socials a:hover { color: var(--System-ColorText); }
.footer-socials a:focus-visible {
 outline: 2px solid var(--System-ColorBrand);
 outline-offset: 4px;
 border-radius: 4px;
}
.footer-socials + .footer-divider { margin-top: 0; }
.footer-divider {     margin: calc(var(--System-Padding) + 64px) 0 16px ; border: 0; border-top: 1px solid var(--System-ColorSep); }
.footer-copyright { margin: 0; color: var(--System-ColorText2);
    font-size: 1rem;
    line-height: 1; }
.footer-copyright strong { color: var(--System-ColorText); font-weight: 700; }
.footer-copyright a { color: inherit; text-decoration: none; }
.footer-copyright a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-copyright a:focus-visible { outline: 2px solid var(--System-ColorBrand); outline-offset: 3px; }
.footer-inner { container: footer / inline-size; }
.footer-bottom {
 display: flex;
 align-items: center;
 justify-content: space-between;
    gap: 16px 16px;
}
.footer-copyright { text-align: right; }
.footer-links {
 display: flex;
 align-items: center;
 flex-wrap: wrap;
 justify-content: flex-start;
    gap: 16px 0;
}
.footer-links a { padding-inline: 12px; color: var(--System-ColorText2); font-size: 1rem; line-height: 1.2; text-decoration: none; }
.footer-links a:first-child { padding-left: 0; }
.footer-links a:last-child { padding-right: 0; }
.footer-links a + a { border-left: 1px solid var(--System-ColorSep); }
.footer-links a:hover { color: var(--System-ColorText); }
.footer-links a:focus-visible { outline: 2px solid var(--System-ColorBrand); outline-offset: 3px; }
/* Stack before the navigation and copyright can collide. */
@container footer (max-width: 56rem) {
 .footer-bottom { flex-direction: column; }
 .footer-links,
 .footer-copyright { width: 100%; text-align: center; }
 .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
 .footer-contact-link { gap: 12px; }
 .footer-contact-arrow { width: 32px; height: 32px; }

}
@media (prefers-reduced-motion: reduce) {
 .footer-contact-arrow { transition: none; }
}

/* ================================================================
   SHARED SECTIONS / Keep hero typography for every section heading.
   ================================================================ */
.page-section {
	padding-block: calc(var(--System-Padding) * 1);
}

.section-inner {
	padding-inline: var(--System-Padding);
}

.section-heading {
	margin-bottom: 40px;
}

.section-heading>.hero-description {
	margin-bottom: 0;
}

/* WHAT WE DO / Expandable service cards, image reveals, and tag tickers. */
.services-list {
	display: grid;
	gap: 8px;
}

.service-card {
	min-width: 0;
	padding: 0 0 8px;
	border-bottom: 1px solid var(--System-ColorSep);
	border-radius: 0;
	transition: padding 350ms ease, background 350ms ease, border-radius 350ms ease;
}

.service-card:last-child {
	border-bottom: 0;
}

.service-card.is-open {
	padding: 16px;
	border-bottom-color: transparent;
	border-radius: 32px;
	background: var(--System-ColorBG);
}

.service-heading {
	margin: 0;
}

.service-toggle {
	display: flex;
	align-items: center;
	gap: 15px;
	width: 100%;
	padding: 10px 0;
	border: 0;
	background: transparent;
	color: var(--System-ColorText);
	font-family: var(--System-Font);
	text-align: left;
	cursor: pointer;
}

.service-card.is-open .service-toggle {
	padding: 0;
	color: var(--System-ColorBrand);
}

.service-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border: 1px solid var(--System-ColorSep);
	border-radius: 16px;
	background: var(--System-ColorBG);
	transition: border-color 250ms ease, background 250ms ease;
}

.service-icon svg {
	width: 24px;
	height: 24px;
}

.service-card.is-open .service-icon {
	border-color: var(--System-ColorBrand);
	background: color-mix(in srgb, var(--System-ColorBrand) 10%, var(--System-ColorBG));
}

.service-name {
	flex: 1;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -0.02em;
}

.service-chevron {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--System-ColorText3);
	transform: rotate(180deg);
	transition: transform 350ms ease;
}

.service-card.is-open .service-chevron {
	transform: rotate(0);
}

.service-toggle:focus-visible {
	outline: 2px solid var(--System-ColorBrand);
	outline-offset: 6px;
	border-radius: 8px;
}

.service-panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card.is-open .service-panel {
	grid-template-rows: 1fr;
}

.service-reveal {
	min-height: 0;
	overflow: hidden;
}

.service-copy {
	padding-left: 56px;
}

.service-contact {
    padding: 0 16px;
    font-size: 1rem;
}

.service-description {
	margin: 0 0 16px;
	color: var(--System-ColorText2);
	font-size: 16px;
	line-height: 1.7;
}

.service-word {
	display: inline-block;
}

.service-card.is-open .service-word {
	animation: service-word-reveal 450ms ease both;
	animation-delay: calc(var(--word-index) * 18ms);
}

.service-images {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--System-Gap);
	margin-top: 32px;
}

.service-images img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	border-radius: 32px;
	object-fit: cover;
}

.service-child {
	position: relative;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	border-radius: 32px;
	isolation: isolate;
	border: 1px solid var(--System-ColorSep);
	container-type: inline-size;
}

.service-child img {
	filter: blur(8px);
}

.service-child-shade {
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--System-ColorDark) 64%, transparent);
	pointer-events: none;
}

.service-child figcaption {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: grid;
	place-items: center;
	margin: 0;
	padding: clamp(4px, 5cqi, 12px);
	min-width: 0;
	overflow-wrap: anywhere;
	color: var(--System-ColorLight);
	font-size: clamp(0.75rem, 10cqi, 1.5rem);
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
	letter-spacing: 0;
}

.service-card.is-open .service-images img {
	animation: service-image-reveal 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.service-child:nth-child(2) img {
	animation-delay: 70ms;
}

.service-child:nth-child(3) img {
	animation-delay: 140ms;
}

.service-tags {
	margin-top: 32px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, var(--System-ColorDark) 8%, var(--System-ColorDark) 92%, transparent);
	mask-image: linear-gradient(to right, transparent, var(--System-ColorDark) 8%, var(--System-ColorDark) 92%, transparent);
}

.service-tag-track {
	display: flex;
	width: max-content;
	animation: service-tags-scroll var(--service-tags-duration, 8s) linear infinite;
	animation-play-state: paused;
}

.service-card.is-open .service-tag-track {
	animation-play-state: running;
}

.service-tags:hover .service-tag-track,
.service-tags:focus-within .service-tag-track {
	animation-play-state: paused;
}

.service-tag-set {
	display: flex;
	flex-shrink: 0;
	gap: 10px;
	margin: 0;
	padding: 0 10px 0 0;
	list-style: none;
}

.service-tag-set li {
	padding: 8px 16px;
	border: 1px solid var(--System-ColorSep);
	border-radius: 100px;
	background: var(--System-ColorBG2);
	color: var(--System-ColorText2);
	font-size: 14px;
	line-height: 1.4;
	white-space: nowrap;
}

@keyframes service-tags-scroll {
	to {
		transform: translateX(calc(-1 * var(--service-tags-distance, 50%)));
	}
}

@keyframes service-word-reveal {
	from {
		opacity: 0;
		transform: translateY(5px);
	}

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

@keyframes service-image-reveal {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.95);
		border-radius: 50%;
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
		border-radius: 30px;
	}
}

@media (max-width: 480px) {
	.page-section {
		padding-block: calc(var(--System-Padding) * 1.5);
	}

	.service-card.is-open {
		padding: 16px;
		border-radius: 24px;
	}

	.service-toggle {
		gap: 12px;
	}

	.service-name {
		font-size: 20px;
	}

	.service-copy {
		padding-left: 0;
		padding-top: 16px;
	}

	.service-images {
		margin-top: 30px;
		margin-left: 0;
	}

	.service-child {
		border-radius: 20px;
	}

	.service-images img {
		border-radius: 20px;
	}

	.service-card.is-open .service-images img {
		animation-name: service-image-reveal-mobile;
	}
}

@keyframes service-image-reveal-mobile {
	from {
		opacity: 0;
		transform: translateY(8px);
		border-radius: 50%;
	}

	to {
		opacity: 1;
		transform: translateY(0);
		border-radius: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.service-card,
.service-icon,
.service-chevron,
.service-panel {
		transition: none;
	}

	.service-card.is-open .service-word,
.service-card.is-open .service-images img,
.service-tag-track {
		animation: none;
	}

	.service-tag-set[aria-hidden='true'] {
		display: none;
	}

	.service-tags {
		overflow-x: auto;
	}
}

/* END WHAT WE DO */

/* ================================================================
   HOW IT WORKS / Alternating text and visuals across six stages
   ================================================================ */
.process-steps {
	margin: 0;
	padding: 0;
	list-style: none;
}

.process-step {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: 24px;
	min-height: 320px;
}

.process-copy {
	padding-inline: 32px 0;
}

.process-step:nth-child(even) .process-copy {
	grid-column: 2;
	grid-row: 1;
}

.process-step:nth-child(even) .process-illustration {
	grid-column: 1;
	grid-row: 1;
}

.process-step-symbol {
	position: relative;
	width: 38px;
	height: 38px;
	margin-bottom: 18px;
	color: var(--System-ColorBrand);
}

.process-step-symbol>svg {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 26px;
	height: 26px;
}

.process-step-symbol>span {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 14px;
	font-weight: 700;
}

.process-copy h3 {
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

.process-copy p {
	margin: 0;
	color: var(--System-ColorText2);
	font-size: 16px;
	line-height: 1.6;
}

.process-illustration {
	position: relative;
	width: 100%;
	max-width: 320px;
	height: 300px;
	margin-inline: auto;
	pointer-events: none;
}

.process-idea-visual,
.process-research-visual,
.process-design-visual,
.process-development-visual,
.process-launch-visual,
.process-support-visual {
	display: flex;
	align-items: center;
	justify-content: center;
}

.process-idea-visual img,
.process-research-visual img,
.process-design-visual img,
.process-development-visual img,
.process-launch-visual img,
.process-support-visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Transparent process artwork needs silhouette shadows, not box shadows. */
.process-illustration > img {
 filter:
  drop-shadow(0 4px 4px color-mix(in srgb, var(--System-ColorDark) 16%, transparent))
  drop-shadow(0 16px 16px color-mix(in srgb, var(--System-ColorDark) 16%, transparent));
}
@media (prefers-color-scheme: dark) {
 .process-illustration > img {
  filter:
   drop-shadow(0 4px 4px color-mix(in srgb, var(--System-ColorDark) 32%, transparent))
   drop-shadow(0 16px 16px color-mix(in srgb, var(--System-ColorDark) 32%, transparent));
 }
}

@media (max-width: 600px) {
	.process-step {
		grid-template-columns: 1fr;
		gap: 16px;
		padding-block: 24px;
	}

	.process-copy {
		padding-inline: 0;
	}

	.process-step:nth-child(even) .process-copy,
.process-step:nth-child(even) .process-illustration {
		grid-column: auto;
		grid-row: auto;
	}

	.process-step-symbol {
		margin-bottom: 14px;
	}

	.process-copy h3 {
		font-size: 22px;
	}

}

/* END HOW IT WORKS */

/* ================================================================
   WORKS / Full-size project grid beneath the Hero
   ================================================================ */
.work-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--System-Gap);
}

.work-card {
	min-width: 0;
}

.work-card-dara,
.work-card-mirazh {
	grid-column: 1 / -1;
}

.work-image {
	position: relative;
	display: block;
	height: 448px;
	overflow: hidden;
	isolation: isolate;
	border: 1px solid var(--System-ColorSep);
	border-radius: 32px;
	background: var(--System-ColorDark);
	color: var(--System-ColorLight);
	text-decoration: none;
}

.work-card-dara .work-image {
	height: 512px;
}

.work-cover {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(0);
	transition: transform 150ms cubic-bezier(.22, 1, .36, 1), filter 200ms cubic-bezier(.44, 0, .56, 1);
}

.work-image::before {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	pointer-events: none;
	background: var(--System-ColorDark);
    opacity: .16;
	transition: opacity 200ms cubic-bezier(.44, 0, .56, 1);
}

.work-card:hover .work-image::before {
	opacity: .32;
}

.work-image::after {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--System-ColorDark) 12%, transparent), transparent 35%, color-mix(in srgb, var(--System-ColorDark) 62%, transparent));
}

.work-index {
	position: absolute;
	z-index: 2;
	left: 16px;
	top: 16px;
	font-size: 1rem;
	opacity: .8;
}

.work-caption {
	position: absolute;
	z-index: 2;
	bottom: 16px;
	left: 16px;
	right: 96px;
	display: grid;
	justify-items: start;
	gap: 0;
}

.work-project-icon {
	position: absolute;
	z-index: 2;
	bottom: 16px;
	right: 16px;
}

.work-client-logo {
	display: block;
    width: 64px;
    height: 64px;
	object-fit: contain;
}

.work-caption h3 {
	margin: 0;
	font-size: 2rem;
	font-weight: 500;
	line-height: 1.2;
}

.work-subtitle {
	margin: 0;
	font-size: 1rem;
	line-height: 1.2;
    color: var(--System-ColorLight);
    opacity: 0.64;
}

.work-indicator {
	position: absolute;
	z-index: 2;
	right: 16px;
	top: 16px;
	display: grid;
	place-items: center;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--System-ColorBrand);
	transition: width 320ms ease, height 320ms ease;
}

.work-indicator svg {
	width: 20px;
	height: 20px;
	opacity: 0;
	transition: opacity 320ms ease;
}

.work-card:hover .work-cover {
	transform: scale(1.04);
	filter: blur(2px);
}

.work-card:hover .work-indicator {
	width: 40px;
	height: 40px;
}

.work-card:hover .work-indicator svg {
	opacity: 1;
}

.work-image:focus-visible {
	outline: 2px solid var(--System-ColorBrand);
	outline-offset: 5px;
}

/* HAPPY CLIENTS / Cards extend slightly past the narrow content guides. */
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--System-Gap);
}

.testimonial-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: 24px;
	border: 1px solid var(--System-ColorSep);
	border-radius: 16px;
	background: var(--System-ColorBG);
	box-shadow: 0 5px 14px color-mix(in srgb, var(--System-ColorDark) 5%, transparent);
}

.testimonial-quote-icon {
	width: 28px;
	height: 28px;
	margin-bottom: 20px;
	color: var(--System-ColorText);
}

.testimonial-quote-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.testimonial-card blockquote {
	margin: 0 0 24px;
	color: var(--System-ColorText);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.75;
}

.testimonial-card figcaption {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-top: 20px;
	border-top: 1px solid var(--System-ColorSep);
}

.testimonial-card figcaption img {
	display: block;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 50%;
	object-fit: cover;
}

.testimonial-name {
	display: block;
	font-size: 17px;
	line-height: 1.4;
}

.testimonial-role {
	display: block;
	margin-top: 4px;
	color: var(--System-ColorText2);
	font-size: 12px;
	line-height: 1.5;
}

@media (max-width: 768px) {
	.work-grid {
        grid-template-columns: 1fr;
	}
	.work-card-dara .work-image {
		height: 448px;
	}

}

@media (max-width: 568px) {
	.work-card-dara,
.work-card-mirazh {
		grid-column: auto;
	}

	.work-grid,
.testimonials-grid { grid-template-columns: 1fr; }

	.work-image {
		border-radius: 24px;
		height: 320px !important;
	}

	.work-card:first-child .work-image {
		min-height: 320px;
	}

	.testimonial-card {
		padding: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.work-cover,
.work-image::before,
.work-indicator,
.work-indicator svg,
.work-image {
		transition: none;
	}
}

/* END WORKS AND HAPPY CLIENTS */

/* GLOBAL BACKGROUND / Unmasked interactive dot field. */
.site-dotfield {
	position: fixed;
	z-index: -2;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
	color: var(--System-ColorSep);
	opacity: 0.32;

	@media (prefers-color-scheme: dark) {
		& {
			opacity: 0.16;
		}
	}
}

/* One-page destinations leave room for the fixed navigation and edge glass. */
#works,
#services,
#pricing {
	scroll-margin-top: 96px;
}

/* Refractive viewport edges are desktop-only; mobile content stays native. */
@media (max-width: 768px) {
 .edge-glass { display: none; }
 .glass-source { clip-path: none; mask-image: none; }
 .site-surface.glass-composite { isolation: auto; }
}

/* Keep the hero heading focused on text on small phones. */
@media (width < 568px) {
 .hero-portraits,
 .hero-bolt.button { display: none; }
}
