/*
 * Vornyk Dental Laboratory — design system + components + sections.
 * v2: airy, light-weight editorial type, soft lavender glass accents
 * (closer to the reference — REFERENCE_ANALYSIS.md), GSAP-driven motion.
 *
 * Mobile-first, responsive 320px through 1920px+. No horizontal overflow.
 * Motion start states live under `.has-motion` (set in <head> only when
 * the user allows motion — see inc/enqueue.php), so without JS or with
 * prefers-reduced-motion everything renders in its final state.
 */

/* ---------------------------------------------------------------------
   1. Design tokens
--------------------------------------------------------------------- */
:root {
	--color-bg: #ffffff;
	--color-surface: #f4f4f7;
	--color-surface-2: #ebebf0;
	--color-text: #0e0e12;
	--color-text-soft: #4a4a52;
	--color-text-muted: #9a9aa4;
	--color-accent: #8b7bdb;
	--color-accent-strong: #6f5fd0;
	--color-accent-light: #c3baf4;
	--color-accent-soft: #efecfc;
	--color-border: #e6e6ec;
	--color-dark: #0e0e12;

	--gradient-accent: linear-gradient(135deg, #b9aff5 0%, #8b7bdb 48%, #a9c0f7 100%);
	--gradient-soft: linear-gradient(135deg, #f3f0ff 0%, #e8ecff 50%, #f7f3ff 100%);
	--glass-bg: rgba(255, 255, 255, 0.62);
	--glass-border: rgba(255, 255, 255, 0.7);

	--font-ui: 'Golos Text', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

	--space-3xs: 0.25rem;
	--space-2xs: 0.5rem;
	--space-xs: 0.75rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 4rem;
	--space-2xl: 6rem;
	--space-3xl: 9rem;

	--radius-sm: 14px;
	--radius-md: 22px;
	--radius-lg: 32px;
	--radius-xl: 44px;
	--radius-pill: 999px;

	--shadow-sm: 0 2px 12px rgba(14, 14, 18, 0.05);
	--shadow-md: 0 18px 50px rgba(14, 14, 18, 0.08);
	--shadow-lg: 0 30px 80px rgba(70, 55, 160, 0.18);
	--shadow-glow: 0 20px 60px rgba(139, 123, 219, 0.35);

	--container-width: 1320px;
	--header-h: 76px;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------------------------------------------------------------------
   2. Reset / base
--------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-ui);
	font-size: 1rem;
	line-height: 1.5;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection {
	background: var(--color-accent);
	color: #fff;
}

img,
svg {
	max-width: 100%;
	height: auto;
	display: block;
}

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

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

h1,
h2,
h3,
h4,
p,
dl,
dd {
	margin: 0;
}

button {
	font-family: inherit;
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
}

.container {
	width: 100%;
	max-width: var(--container-width);
	margin-inline: auto;
	padding-inline: var(--space-sm);
}

@media (min-width: 640px) {
	.container {
		padding-inline: var(--space-lg);
	}
}

.screen-reader-text,
.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link.screen-reader-text {
	z-index: 10000;
}

.skip-link:focus {
	position: fixed !important;
	top: var(--space-sm);
	left: var(--space-sm);
	width: auto;
	height: auto;
	padding: var(--space-2xs) var(--space-sm);
	background: var(--color-dark);
	color: #fff;
	border-radius: var(--radius-sm);
	clip: auto;
}

section {
	padding-block: var(--space-xl);
}

@media (min-width: 900px) {
	section {
		padding-block: var(--space-2xl);
	}
}

h1,
.h1 {
	font-size: clamp(2.5rem, 4.4vw + 1rem, 5.5rem);
	font-weight: 500;
	line-height: 0.98;
	letter-spacing: -0.045em;
}

h2,
.h2 {
	font-size: clamp(2.1rem, 3.4vw + 0.9rem, 4.25rem);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.04em;
}

h3,
.h3 {
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2xs);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--color-text);
	margin: 0 0 var(--space-md);
}

.eyebrow::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gradient-accent);
	box-shadow: 0 0 0 4px var(--color-accent-soft);
}

.lead-text {
	font-size: clamp(1.15rem, 1.1vw + 0.85rem, 1.6rem);
	font-weight: 400;
	color: var(--color-text);
	line-height: 1.35;
	letter-spacing: -0.02em;
	max-width: 34ch;
}

.lead-text strong {
	font-weight: 500;
	color: var(--color-accent);
}

.lead-text__muted {
	color: var(--color-text-muted);
}

/* Split-text line masks (SplitText `mask: "lines"`). */
.split-line-mask {
	padding-bottom: 0.08em;
	margin-bottom: -0.08em;
}

/* ---------------------------------------------------------------------
   3. Buttons / badges / links
--------------------------------------------------------------------- */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2xs);
	padding: 1rem 1.9rem;
	border-radius: var(--radius-pill);
	font-weight: 500;
	font-size: 0.95rem;
	letter-spacing: -0.01em;
	border: 1px solid transparent;
	overflow: hidden;
	isolation: isolate;
	transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
	white-space: nowrap;
}

/* Liquid fill that rises from the cursor side on hover. */
.btn::before {
	content: '';
	position: absolute;
	inset: -1px;
	z-index: -1;
	border-radius: inherit;
	background: var(--gradient-accent);
	transform: translateY(101%);
	transition: transform 0.55s var(--ease-out);
}

.btn:hover::before {
	transform: translateY(0);
}

/* Text roll (main.js wraps labels in .btn__roll > span[data-text]). */
.btn__roll {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
}

.btn__roll > span {
	position: relative;
	display: inline-block;
	transition: transform 0.55s var(--ease-out);
}

.btn__roll > span::after {
	content: attr(data-text);
	position: absolute;
	top: 100%;
	left: 0;
}

.btn:hover .btn__roll > span {
	transform: translateY(-100%);
}

.btn--primary {
	background: var(--color-dark);
	color: #fff;
}

.btn--primary:hover {
	box-shadow: var(--shadow-glow);
}

.btn--outline {
	background: transparent;
	color: var(--color-text);
	border-color: var(--color-border);
}

.btn--outline:hover {
	color: #fff;
	border-color: transparent;
}

.btn--glass {
	background: var(--glass-bg);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-color: var(--glass-border);
	color: var(--color-text);
}

.btn--glass:hover {
	color: #fff;
}

.btn--small {
	padding: 0.7rem 1.3rem;
	font-size: 0.85rem;
}

.btn--large {
	padding: 1.2rem 2.4rem;
	font-size: 1.05rem;
}

.badge {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	border-radius: var(--radius-pill);
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	color: var(--color-text-soft);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2xs);
	padding: 0.35rem 0.35rem 0.35rem 0.95rem;
	border-radius: var(--radius-pill);
	font-size: 0.78rem;
	font-weight: 500;
	white-space: nowrap;
	transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}

.pill--outline {
	border: 1px solid var(--color-border);
	color: var(--color-text);
	background: var(--color-bg);
}

.pill__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--color-surface);
	font-size: 0.8rem;
	transition: transform 0.45s var(--ease-out), background-color 0.35s var(--ease-out);
}

.link-arrow {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: var(--space-3xs);
	font-weight: 500;
	color: var(--color-text);
	padding-bottom: 3px;
}

.link-arrow::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: currentColor;
	transform-origin: right;
	transition: transform 0.5s var(--ease-out);
}

.link-arrow:hover::after {
	transform: scaleX(0);
	transform-origin: right;
	animation: vornyk-underline 0.6s var(--ease-out) 0.15s forwards;
}

@keyframes vornyk-underline {
	from {
		transform: scaleX(0);
		transform-origin: left;
	}

	to {
		transform: scaleX(1);
		transform-origin: left;
	}
}

/* ---------------------------------------------------------------------
   4. Global motion chrome: preloader, scroll progress, cursor
--------------------------------------------------------------------- */
.preloader {
	display: none;
}

.is-loading .preloader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: #0b0b10;
	color: #fff;
	padding: var(--space-lg) var(--space-sm);
}

.is-loading body {
	overflow: hidden;
}

.preloader__glow {
	position: absolute;
	inset: -20%;
	background:
		radial-gradient(40% 35% at 30% 35%, rgba(139, 123, 219, 0.35), transparent 70%),
		radial-gradient(35% 30% at 72% 68%, rgba(169, 192, 247, 0.22), transparent 70%);
	filter: blur(20px);
	animation: preloader-drift 6s ease-in-out infinite alternate;
}

@keyframes preloader-drift {
	to {
		transform: translate3d(3%, -4%, 0) scale(1.08);
	}
}

.preloader__center {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.preloader__tooth {
	width: clamp(56px, 7vw, 84px);
	height: auto;
	margin-bottom: var(--space-md);
	overflow: visible;
}

.preloader__tooth path {
	fill: none;
	stroke: url(#vornyk-preloader-grad);
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
}

.preloader__word {
	display: flex;
	overflow: hidden;
	margin: 0;
	font-size: clamp(3.2rem, 12vw, 9rem);
	font-weight: 500;
	letter-spacing: -0.05em;
	line-height: 0.9;
	padding-bottom: 0.06em;
}

.preloader__letter {
	display: inline-block;
	transform: translateY(110%);
	background: linear-gradient(180deg, #ffffff 30%, #c3baf4 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.preloader__tag {
	margin: var(--space-xs) 0 0;
	font-size: 0.75rem;
	letter-spacing: 0.42em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	opacity: 0;
}

.preloader__foot {
	position: absolute;
	left: var(--space-sm);
	right: var(--space-sm);
	bottom: calc(var(--space-lg) + 10px);
	display: flex;
	justify-content: space-between;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.55);
	opacity: 0;
}

.preloader__count {
	font-variant-numeric: tabular-nums;
	color: #fff;
	font-size: 1.1rem;
}

.preloader__count::after {
	content: '%';
	color: rgba(255, 255, 255, 0.55);
}

.preloader__bar {
	position: absolute;
	left: var(--space-sm);
	right: var(--space-sm);
	bottom: var(--space-lg);
	height: 2px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.12);
	overflow: hidden;
}

.preloader__bar span {
	display: block;
	height: 100%;
	background: var(--gradient-accent);
	transform: scaleX(0);
	transform-origin: left;
}

@media (min-width: 640px) {
	.preloader__foot,
	.preloader__bar {
		left: var(--space-lg);
		right: var(--space-lg);
	}
}

.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 600;
	height: 2px;
	pointer-events: none;
}

.scroll-progress span {
	display: block;
	height: 100%;
	background: var(--gradient-accent);
	transform: scaleX(0);
	transform-origin: left;
}

.cursor {
	display: none;
}

@media (hover: hover) and (pointer: fine) {
	.has-motion .cursor {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 9000;
		display: block;
		pointer-events: none;
	}

	.cursor__dot,
	.cursor__ring {
		position: fixed;
		top: 0;
		left: 0;
		border-radius: 50%;
		pointer-events: none;
		opacity: 0;
		transition: opacity 0.3s var(--ease-out);
	}

	.cursor.is-active .cursor__dot,
	.cursor.is-active .cursor__ring {
		opacity: 1;
	}

	.cursor__dot {
		width: 6px;
		height: 6px;
		margin: -3px 0 0 -3px;
		background: var(--color-accent);
	}

	.cursor__ring {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		margin: -18px 0 0 -18px;
		border: 1px solid rgba(139, 123, 219, 0.5);
		transition: opacity 0.3s var(--ease-out), width 0.45s var(--ease-out), height 0.45s var(--ease-out), margin 0.45s var(--ease-out), background-color 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
	}

	.cursor.is-hover .cursor__ring {
		width: 60px;
		height: 60px;
		margin: -30px 0 0 -30px;
		background: rgba(139, 123, 219, 0.12);
		border-color: transparent;
	}

	.cursor.is-label .cursor__ring {
		width: 96px;
		height: 96px;
		margin: -48px 0 0 -48px;
		background: rgba(14, 14, 18, 0.85);
		backdrop-filter: blur(6px);
		border-color: transparent;
	}

	.cursor.is-label .cursor__dot {
		opacity: 0;
	}

	.cursor__label {
		font-size: 0.72rem;
		font-weight: 500;
		color: #fff;
		opacity: 0;
		transform: scale(0.6);
		transition: opacity 0.3s var(--ease-out), transform 0.45s var(--ease-out);
	}

	.cursor.is-label .cursor__label {
		opacity: 1;
		transform: scale(1);
	}
}

/* ---------------------------------------------------------------------
   5. Header / nav
--------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 500;
	transition: transform 0.6s var(--ease-out), background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(18px) saturate(1.4);
	-webkit-backdrop-filter: blur(18px) saturate(1.4);
	box-shadow: 0 1px 0 var(--color-border);
}

.site-header.is-hidden {
	transform: translateY(-100%);
}

body.is-nav-open .site-header {
	transform: none;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	min-height: var(--header-h);
	padding-block: var(--space-xs);
}

/*
 * The logo PNG carries ~60% transparent padding around the mark, so the
 * header/footer show a cropped window onto it instead of the full canvas.
 * If a tightly-trimmed logo is uploaded in Site Settings, drop the crop.
 */
.site-header__logo {
	position: relative;
	z-index: 2;
	display: block;
	width: 112px;
	transition: transform 0.5s var(--ease-out);
}

.site-header__logo-img {
	display: block;
	width: 100%;
	height: auto;
}

.site-header__logo:hover {
	transform: scale(1.04);
}

.site-nav {
	display: none;
}

.site-nav__list {
	display: flex;
	gap: var(--space-3xs);
	font-weight: 500;
	font-size: 0.88rem;
}

.site-nav__list a {
	position: relative;
	display: inline-block;
	padding: 0.5rem 0.9rem;
	border-radius: var(--radius-pill);
	transition: color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}

.site-nav__list a:hover {
	background: var(--color-surface);
	color: var(--color-accent-strong);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
}

.site-header__phone {
	display: none;
	font-weight: 500;
	font-size: 0.88rem;
}

.site-header__cta {
	display: none;
}

@media (min-width: 640px) {
	.site-header__cta {
		display: inline-flex;
	}
}

.mobile-nav-toggle {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	background: var(--color-surface);
	border: 0;
	border-radius: 50%;
	z-index: 2;
}

.mobile-nav-toggle__bar {
	display: block;
	width: 18px;
	height: 1.5px;
	background: var(--color-text);
	transition: transform 0.45s var(--ease-out), opacity 0.3s var(--ease-out);
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle__bar:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle__bar:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle__bar:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

@media (min-width: 1080px) {
	.site-nav {
		display: block;
		padding: 0.3rem;
		border-radius: var(--radius-pill);
		background: rgba(244, 244, 247, 0.8);
	}

	.site-header__phone {
		display: inline-block;
	}

	.mobile-nav-toggle {
		display: none;
	}
}

/* Mobile nav panel (JS toggles .is-nav-open on <body>) */
@media (max-width: 1079px) {
	.site-nav {
		position: fixed;
		inset: 0;
		display: flex;
		align-items: flex-end;
		background: var(--gradient-soft);
		padding: calc(var(--header-h) + var(--space-lg)) var(--space-sm) var(--space-xl);
		clip-path: circle(0 at calc(100% - 2.5rem) 2.5rem);
		visibility: hidden;
		transition: clip-path 0.8s var(--ease-in-out), visibility 0s linear 0.8s;
		overflow-y: auto;
	}

	body.is-nav-open .site-nav {
		visibility: visible;
		clip-path: circle(150% at calc(100% - 2.5rem) 2.5rem);
		transition: clip-path 0.8s var(--ease-in-out), visibility 0s;
	}

	.site-nav__list {
		flex-direction: column;
		gap: 0;
		width: 100%;
		font-size: clamp(2.2rem, 9vw, 3.5rem);
		letter-spacing: -0.04em;
		line-height: 1.1;
	}

	.site-nav__list li {
		overflow: hidden;
		border-bottom: 1px solid rgba(14, 14, 18, 0.08);
	}

	.site-nav__list a {
		display: block;
		padding: 0.6rem 0;
		border-radius: 0;
		transform: translateY(100%);
		transition: transform 0.7s var(--ease-out), color 0.3s var(--ease-out);
	}

	.site-nav__list a:hover {
		background: none;
	}

	body.is-nav-open .site-nav__list a {
		transform: translateY(0);
	}

	body.is-nav-open .site-nav__list li:nth-child(1) a { transition-delay: 0.25s; }
	body.is-nav-open .site-nav__list li:nth-child(2) a { transition-delay: 0.31s; }
	body.is-nav-open .site-nav__list li:nth-child(3) a { transition-delay: 0.37s; }
	body.is-nav-open .site-nav__list li:nth-child(4) a { transition-delay: 0.43s; }
	body.is-nav-open .site-nav__list li:nth-child(5) a { transition-delay: 0.49s; }
	body.is-nav-open .site-nav__list li:nth-child(6) a { transition-delay: 0.55s; }
}

/* ---------------------------------------------------------------------
   6. Footer
--------------------------------------------------------------------- */
.site-footer {
	position: relative;
	background: var(--color-dark);
	color: #fff;
	padding-top: var(--space-2xl);
	border-radius: var(--radius-xl) var(--radius-xl) 0 0;
	overflow: hidden;
}

.site-footer::before {
	content: '';
	position: absolute;
	top: -30%;
	right: -10%;
	width: 60vw;
	height: 60vw;
	max-width: 800px;
	max-height: 800px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139, 123, 219, 0.35), transparent 65%);
	pointer-events: none;
}

.site-footer__grid {
	position: relative;
	display: grid;
	gap: var(--space-lg);
	grid-template-columns: 1fr;
	padding-bottom: var(--space-xl);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 720px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.site-footer__grid {
		grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
	}
}

.site-footer__brand > a {
	position: relative;
	display: block;
	width: 150px;
	margin-bottom: var(--space-md);
}

.site-footer__brand img {
	display: block;
	width: 100%;
	height: auto;
	filter: brightness(0) invert(1);
}

.site-footer__tagline {
	color: rgba(255, 255, 255, 0.6);
	max-width: 32ch;
	font-size: 1.1rem;
	letter-spacing: -0.01em;
}

.site-footer__heading {
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: var(--space-sm);
}

.site-footer__nav,
.site-footer__contact,
.site-footer__socials {
	display: flex;
	flex-direction: column;
	gap: var(--space-2xs);
}

.site-footer__socials {
	flex-direction: row;
	gap: var(--space-sm);
	margin-top: var(--space-sm);
}

.site-footer__nav a,
.site-footer__contact a,
.site-footer__socials a {
	display: inline-block;
	color: rgba(255, 255, 255, 0.85);
	transition: color 0.3s var(--ease-out), transform 0.4s var(--ease-out);
}

.site-footer__nav a:hover,
.site-footer__contact a:hover,
.site-footer__socials a:hover {
	color: var(--color-accent-light);
	transform: translateX(4px);
}

.site-footer__placeholder {
	color: rgba(255, 255, 255, 0.4);
	font-style: italic;
}

.site-footer__bottom {
	position: relative;
	display: flex;
	justify-content: space-between;
	gap: var(--space-sm);
	padding-block: var(--space-md);
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.45);
}

.site-footer__top {
	color: rgba(255, 255, 255, 0.7);
	transition: color 0.3s var(--ease-out);
}

.site-footer__top:hover {
	color: #fff;
}

.site-footer__wordmark {
	display: flex;
	justify-content: space-between;
	padding-inline: var(--space-sm);
	margin-bottom: -0.18em;
	font-size: clamp(5rem, 22vw, 22rem);
	font-weight: 500;
	letter-spacing: -0.06em;
	line-height: 0.9;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(195, 186, 244, 0.9), rgba(139, 123, 219, 0.15));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	user-select: none;
}

.site-footer__wordmark span {
	display: inline-block;
}

/* ---------------------------------------------------------------------
   7. Hero
--------------------------------------------------------------------- */
.hero {
	position: relative;
	padding-top: var(--space-md);
	padding-bottom: var(--space-lg);
}

.hero__grid {
	display: grid;
	gap: var(--space-lg);
	align-items: start;
}

.hero__content {
	position: relative;
	z-index: 2;
}

.hero__heading {
	margin-block: 0 var(--space-md);
	max-width: 13ch;
}

.hero__subheading {
	color: var(--color-text-soft);
	font-size: 1.05rem;
	max-width: 42ch;
	margin-bottom: var(--space-lg);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs);
}

.hero__visual {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--gradient-soft);
}

.hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: inherit;
}

.hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform-origin: 50% 40%;
}

.hero__orb {
	position: absolute;
	z-index: 1;
	border-radius: 50%;
	pointer-events: none;
	background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(185, 175, 245, 0.6) 40%, rgba(139, 123, 219, 0.2) 70%, transparent 72%);
	filter: blur(0.5px);
	mix-blend-mode: screen;
}

.hero__orb--1 {
	width: 120px;
	height: 120px;
	top: 12%;
	left: 8%;
}

.hero__orb--2 {
	width: 64px;
	height: 64px;
	bottom: 28%;
	right: 12%;
}

@media (min-width: 960px) {
	.hero {
		padding-top: var(--space-lg);
		padding-bottom: var(--space-xl);
	}

	.hero__grid {
		grid-template-columns: 0.95fr 1.05fr;
		gap: var(--space-xl);
		align-items: stretch;
		min-height: min(78vh, 760px);
	}

	.hero__content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding-block: var(--space-lg);
	}

	.hero__visual {
		aspect-ratio: auto;
		min-height: 560px;
		border-radius: var(--radius-xl);
	}
}

.hero__scroll-hint {
	position: absolute;
	z-index: 2;
	bottom: var(--space-md);
	right: var(--space-md);
	display: flex;
	align-items: center;
	gap: var(--space-2xs);
	background: var(--glass-bg);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--glass-border);
	padding: 0.55rem 1rem 0.55rem 0.6rem;
	border-radius: var(--radius-pill);
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--color-text);
}

.hero__scroll-dot {
	position: relative;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--color-dark);
}

.hero__scroll-dot::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 6px;
	width: 2px;
	height: 6px;
	margin-left: -1px;
	border-radius: 2px;
	background: #fff;
	animation: vornyk-scroll-dot 1.8s var(--ease-in-out) infinite;
}

@keyframes vornyk-scroll-dot {
	0% {
		transform: translateY(-2px);
		opacity: 0;
	}

	40% {
		opacity: 1;
	}

	100% {
		transform: translateY(6px);
		opacity: 0;
	}
}

/*
 * Cool blue-violet photo mood — a subtle wrapper overlay (not a filter
 * on the photo itself, which distorted skin tones into an unnatural
 * blue) that nudges warm/neutral stock photography toward the
 * reference's cool, premium color grade without desaturating faces.
 * Requires a `.photo-tone-wrap` ancestor with position:relative.
 */
.photo-tone {
	filter: saturate(0.9) contrast(1.02) brightness(1.03);
}

.photo-tone-wrap {
	position: relative;
	isolation: isolate;
}

.photo-tone-wrap::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(120, 140, 240, 0.2), rgba(185, 175, 245, 0.14) 55%, rgba(255, 255, 255, 0.06));
	mix-blend-mode: soft-light;
	pointer-events: none;
	border-radius: inherit;
}

.hero__info-strip {
	position: relative;
	z-index: 2;
	display: grid;
	gap: var(--space-2xs) var(--space-md);
	grid-template-columns: auto 1fr;
	align-items: start;
	margin-top: var(--space-md);
	padding: var(--space-md);
	background: var(--color-surface);
	border-radius: var(--radius-lg);
}

.hero__info-index {
	grid-row: 1 / 3;
	font-size: clamp(2rem, 3vw, 3rem);
	font-weight: 400;
	letter-spacing: -0.05em;
	line-height: 1;
	background: var(--gradient-accent);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero__info-title {
	font-weight: 500;
	font-size: 1.05rem;
	letter-spacing: -0.015em;
}

.hero__info-desc {
	grid-column: 2;
	color: var(--color-text-muted);
	font-size: 0.9rem;
	max-width: 60ch;
}

@media (min-width: 960px) {
	.hero__info-strip {
		grid-template-columns: auto 1fr 1.2fr;
		align-items: center;
		padding: var(--space-md) var(--space-lg);
		margin-top: var(--space-lg);
	}

	.hero__info-index {
		grid-row: auto;
	}

	.hero__info-desc {
		grid-column: 3;
	}
}

/* ---------------------------------------------------------------------
   8. Marquee
--------------------------------------------------------------------- */
.marquee {
	overflow: hidden;
	padding-block: clamp(1rem, 2.5vw, 2rem);
	user-select: none;
}

.marquee__track {
	display: flex;
	width: max-content;
	animation: vornyk-marquee 40s linear infinite;
	will-change: transform;
}

/* GSAP takes over the loop once ready (see main.js initMarquees). */
.motion-ready .marquee__track {
	animation: none;
}

.marquee__group {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.marquee__item {
	font-size: clamp(2rem, 6vw, 5.5rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.05em;
	color: var(--color-text);
	white-space: nowrap;
}

.marquee__plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(1.4rem, 2.2vw, 2rem);
	height: clamp(1.4rem, 2.2vw, 2rem);
	margin-inline: clamp(0.6rem, 1.2vw, 1rem);
	border: 1px solid var(--color-border);
	border-radius: 50%;
	color: var(--color-text-muted);
	flex-shrink: 0;
	align-self: flex-start;
	margin-top: 0.3em;
}

.marquee__slash {
	font-size: clamp(2rem, 6vw, 5.5rem);
	font-weight: 300;
	color: var(--color-text);
	margin-inline-end: clamp(0.8rem, 1.6vw, 1.5rem);
}

.marquee--accent .marquee__item,
.marquee--accent .marquee__slash {
	background: linear-gradient(90deg, #c3baf4, #8b7bdb);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.marquee--accent .marquee__plus {
	color: var(--color-accent);
	border-color: var(--color-accent-light);
}

.marquee--outline .marquee__item {
	color: transparent;
	-webkit-text-stroke: 1px var(--color-text);
}

@keyframes vornyk-marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

/* ---------------------------------------------------------------------
   9. Mission + stats + radial diagram
--------------------------------------------------------------------- */
.mission__top {
	display: grid;
	gap: var(--space-xl);
	align-items: center;
}

@media (min-width: 960px) {
	.mission__top {
		grid-template-columns: 1fr 1fr;
		gap: var(--space-2xl);
	}
}

.mission__statement h2 {
	margin-bottom: var(--space-md);
	font-size: clamp(1.9rem, 2.6vw + 0.9rem, 3.25rem);
	max-width: 16ch;
}

.stats-bar {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-lg) var(--space-md);
	margin-top: var(--space-xl);
}

.stats-bar__item {
	display: flex;
	flex-direction: column-reverse;
	gap: var(--space-2xs);
	padding-top: var(--space-sm);
	border-top: 1px solid var(--color-border);
}

.stats-bar__value {
	font-size: clamp(2.75rem, 4.5vw, 4.5rem);
	font-weight: 400;
	letter-spacing: -0.06em;
	line-height: 0.95;
	font-variant-numeric: tabular-nums;
}

.stats-bar__label {
	font-size: 0.82rem;
	color: var(--color-text-muted);
}

.process-diagram {
	position: relative;
	display: grid;
	justify-items: center;
	gap: var(--space-lg);
}

.process-diagram__caption {
	justify-self: start;
	font-size: 0.8rem;
	color: var(--color-text-muted);
}

.process-diagram__rings {
	width: min(460px, 86vw);
	overflow: visible;
}

.process-diagram__disc {
	fill: var(--color-surface);
	opacity: 0.6;
}

.process-diagram__disc--2 {
	fill: #f0eff6;
}

.process-diagram__disc--3 {
	fill: var(--color-accent-soft);
}

.process-diagram__ring {
	fill: none;
	stroke: var(--color-border);
	stroke-width: 1;
}

.process-diagram__progress {
	fill: none;
	stroke: url(#vornyk-ring-grad);
	stroke-width: 2;
	stroke-linecap: round;
	transform: rotate(-90deg);
	transform-origin: 200px 200px;
	stroke-dasharray: 1194;
	stroke-dashoffset: 1194;
}

.process-diagram__orbit {
	transform-origin: 200px 200px;
}

.process-diagram__node {
	fill: var(--color-accent);
	stroke: #fff;
	stroke-width: 3;
}

.process-diagram__core {
	fill: url(#vornyk-ring-grad);
}

.process-diagram__legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-2xs);
	font-size: 0.8rem;
	color: var(--color-text-muted);
}

.process-diagram__legend li {
	display: flex;
	align-items: center;
	gap: var(--space-2xs);
	padding: 0.4rem 0.8rem;
	border-radius: var(--radius-pill);
	border: 1px solid var(--color-border);
	transition: color 0.4s var(--ease-out), background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.process-diagram__legend li.is-active {
	color: var(--color-text);
	background: var(--color-accent-soft);
	border-color: var(--color-accent-light);
}

.process-diagram__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-border);
	flex-shrink: 0;
	transition: background-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.process-diagram__legend li.is-active .process-diagram__dot {
	background: var(--color-accent);
	transform: scale(1.4);
}

/* ---------------------------------------------------------------------
   10. Trust / value props
--------------------------------------------------------------------- */
.trust-layout {
	display: grid;
	gap: var(--space-md);
}

@media (min-width: 900px) {
	.trust-layout {
		grid-template-columns: 1.05fr 1fr 0.8fr;
		grid-template-areas:
			'main intro side'
			'main list list';
		gap: var(--space-md) var(--space-lg);
	}

	.trust-layout__photo--main { grid-area: main; }
	.trust-layout__intro { grid-area: intro; }
	.trust-layout__photo--side { grid-area: side; }
	.trust-values__grid { grid-area: list; }
}

.trust-layout__photo {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--color-surface);
}

.trust-layout__photo img {
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	transform: scale(1.15);
}

.trust-layout__photo--main {
	aspect-ratio: 4 / 5;
}

.trust-layout__photo--side {
	aspect-ratio: 1;
}

@media (min-width: 900px) {
	.trust-layout__photo--main {
		aspect-ratio: auto;
		min-height: 620px;
	}
}

.trust-layout__float-card {
	position: absolute;
	z-index: 2;
	left: var(--space-md);
	bottom: var(--space-md);
	display: grid;
	gap: var(--space-2xs);
	max-width: 220px;
	padding: var(--space-sm);
	border-radius: var(--radius-md);
	background: var(--glass-bg);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--glass-border);
	box-shadow: var(--shadow-md);
	rotate: -4deg;
	transition: rotate 0.6s var(--ease-out), translate 0.6s var(--ease-out);
}

.trust-layout__float-card:hover {
	rotate: 0deg;
	translate: 0 -4px;
}

.trust-layout__float-avatars {
	display: flex;
}

.trust-layout__float-avatars span {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: var(--gradient-accent);
}

.trust-layout__float-avatars span + span {
	margin-left: -8px;
}

.trust-layout__float-avatars span:nth-child(2) {
	background: linear-gradient(135deg, #e3dcff, #a99cf0);
}

.trust-layout__float-avatars span:nth-child(3) {
	background: linear-gradient(135deg, #cfd9ff, #8b7bdb);
}

.trust-layout__float-text {
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.3;
}

.trust-layout__float-btn {
	justify-self: start;
	font-size: 0.72rem;
	padding: 0.35rem 0.8rem;
	border-radius: var(--radius-pill);
	background: var(--color-dark);
	color: #fff;
}

.trust-layout__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-md);
	padding-block: var(--space-sm);
}

.trust-layout__heading {
	font-size: clamp(1.75rem, 2vw + 0.9rem, 2.6rem);
}

.trust-layout__text {
	color: var(--color-text-soft);
	max-width: 34ch;
}

.trust-layout__caption {
	position: absolute;
	z-index: 2;
	left: var(--space-sm);
	right: var(--space-sm);
	bottom: var(--space-sm);
	padding: var(--space-sm);
	border-radius: var(--radius-md);
	background: var(--glass-bg);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--glass-border);
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.35;
}

.trust-values__grid {
	display: grid;
	gap: var(--space-sm);
	align-content: end;
}

@media (min-width: 720px) {
	.trust-values__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.trust-values__item {
	padding: var(--space-md);
	background: var(--color-surface);
	border-radius: var(--radius-md);
	transition: background-color 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.trust-values__item:hover {
	background: var(--color-accent-soft);
	transform: translateY(-4px);
}

.trust-values__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	color: var(--color-accent);
	margin-bottom: var(--space-md);
	transition: transform 0.6s var(--ease-out), background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

.trust-values__item:hover .trust-values__icon {
	transform: rotate(90deg);
	background: var(--color-accent);
	color: #fff;
	border-color: transparent;
}

.trust-values__title {
	font-size: 1.05rem;
	margin-bottom: var(--space-2xs);
}

.trust-values__description {
	color: var(--color-text-muted);
	font-size: 0.88rem;
}

/* ---------------------------------------------------------------------
   11. Featured service (tilt card over accent marquee)
--------------------------------------------------------------------- */
.featured-service {
	position: relative;
	overflow: hidden;
	padding-block: var(--space-2xl);
}

.featured-service__marquee-bg {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	z-index: 0;
	pointer-events: none;
}

.featured-service__marquee-bg .marquee {
	width: 100%;
	padding-block: 0;
}

.featured-service__marquee-bg .marquee__item,
.featured-service__marquee-bg .marquee__slash {
	font-size: clamp(2.5rem, 7vw, 6.5rem);
	opacity: 0.6;
}

.featured-service__container {
	position: relative;
	z-index: 1;
	perspective: 1200px;
}

.featured-service__card {
	position: relative;
	max-width: 420px;
	margin-inline: auto;
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-lg);
	padding: var(--space-md);
	box-shadow: var(--shadow-lg);
	rotate: -4deg;
	transform-style: preserve-3d;
}

.featured-service__card::before {
	content: '';
	position: absolute;
	inset: -14px;
	z-index: -1;
	border-radius: calc(var(--radius-lg) + 10px);
	background: var(--gradient-accent);
	opacity: 0.35;
	filter: blur(2px);
	transform: rotate(5deg);
}

.featured-service__arrow {
	position: absolute;
	z-index: 2;
	top: var(--space-md);
	right: var(--space-md);
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.5s var(--ease-out), background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

.featured-service__card:hover .featured-service__arrow {
	transform: rotate(45deg);
	background: var(--color-dark);
	color: #fff;
}

.featured-service__card .badge {
	margin-bottom: var(--space-md);
}

.featured-service__card .featured-service__image {
	margin-bottom: var(--space-md);
}

.featured-service__image-wrap {
	display: block;
	border-radius: var(--radius-md);
	overflow: hidden;
	margin-bottom: var(--space-md);
	position: relative;
}

.featured-service__image {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--radius-md);
	transition: transform 1.2s var(--ease-out);
}

.featured-service__card:hover .featured-service__image {
	transform: scale(1.06);
}

.featured-service__title {
	margin-bottom: var(--space-2xs);
}

.featured-service__description {
	color: var(--color-text-soft);
	font-size: 0.92rem;
	margin-bottom: var(--space-md);
}

/* ---------------------------------------------------------------------
   12. Process stepper (pinned + scrubbed on desktop, see main.js)
--------------------------------------------------------------------- */
.process-stepper {
	position: relative;
}

.process-stepper__header {
	display: grid;
	gap: var(--space-md);
	margin-bottom: var(--space-xl);
}

@media (min-width: 900px) {
	.process-stepper__header {
		grid-template-columns: 1fr 1fr;
		align-items: end;
		gap: var(--space-2xl);
	}

	.process-stepper__header .lead-text {
		justify-self: end;
	}
}

.process-stepper__header h2 {
	max-width: 12ch;
}

.stepper {
	display: grid;
	gap: var(--space-lg);
}

.stepper__rail {
	display: none;
}

@media (min-width: 900px) {
	.stepper__rail {
		position: relative;
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		align-items: center;
		height: 14px;
	}

	.stepper__line {
		position: absolute;
		left: 0;
		right: 0;
		top: 50%;
		height: 1px;
		background: var(--color-border);
		transform: translateY(-50%);
	}

	.stepper__line-fill {
		position: absolute;
		inset: 0;
		background: var(--gradient-accent);
		transform: scaleX(0);
		transform-origin: left;
	}

	.stepper__dot {
		position: relative;
		z-index: 1;
		width: 12px;
		height: 12px;
		border-radius: 50%;
		background: var(--color-bg);
		border: 1px solid var(--color-border);
		transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
	}

	.stepper__dot.is-active,
	.stepper__dot.is-done {
		background: var(--color-accent);
		border-color: var(--color-accent);
	}

	.stepper__dot.is-active {
		transform: scale(1.35);
		box-shadow: 0 0 0 6px var(--color-accent-soft);
	}
}

.stepper__list {
	display: grid;
	gap: var(--space-sm);
}

@media (min-width: 900px) {
	.stepper__list {
		grid-template-columns: repeat(5, 1fr);
		gap: var(--space-md);
	}
}

.stepper__item {
	padding: var(--space-md);
	background: var(--color-surface);
	border-radius: var(--radius-md);
	transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out), background-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

@media (min-width: 900px) {
	.stepper__item {
		padding: 0 var(--space-sm) 0 0;
		background: none;
		opacity: 0.22;
	}

	.stepper__item.is-active {
		opacity: 1;
		transform: translateY(-6px);
	}

	.stepper__item.is-done {
		opacity: 0.55;
	}
}

.stepper__number {
	display: block;
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--color-accent);
	margin-bottom: var(--space-sm);
}

.stepper__title {
	font-size: clamp(1.15rem, 1vw + 0.8rem, 1.45rem);
	margin-bottom: var(--space-2xs);
}

.stepper__text {
	color: var(--color-text-soft);
	font-size: 0.88rem;
}

/* ---------------------------------------------------------------------
   13. Advantages
--------------------------------------------------------------------- */
.advantages__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-sm);
	margin-bottom: var(--space-xl);
}

.advantages__kicker {
	font-size: 0.85rem;
	color: var(--color-text-soft);
}

.advantages__header h2 {
	max-width: 14ch;
	text-align: right;
}

@media (max-width: 719px) {
	.advantages__header h2 {
		text-align: left;
	}
}

.advantages__grid {
	display: grid;
	gap: var(--space-sm);
	perspective: 1400px;
}

@media (min-width: 720px) {
	.advantages__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.advantage-card {
	position: relative;
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	padding: var(--space-md);
	display: flex;
	flex-direction: column;
	min-height: 380px;
	overflow: hidden;
	transform-style: preserve-3d;
	transition: background-color 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.advantage-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--gradient-soft);
	opacity: 0;
	transition: opacity 0.6s var(--ease-out);
}

.advantage-card:hover {
	box-shadow: var(--shadow-md);
}

.advantage-card:hover::before {
	opacity: 1;
}

.advantage-card > * {
	position: relative;
}

.advantage-card__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: var(--space-xl);
}

.advantage-card__arrow {
	width: 44px;
	height: 44px;
	color: var(--color-accent-light);
	transition: transform 0.6s var(--ease-out), color 0.4s var(--ease-out);
}

.advantage-card:hover .advantage-card__arrow {
	transform: translate(4px, -4px);
	color: var(--color-accent);
}

.advantage-card__title {
	font-size: 1.35rem;
	margin-bottom: var(--space-2xs);
	max-width: 14ch;
}

.advantage-card__description {
	color: var(--color-text-soft);
	font-size: 0.9rem;
	max-width: 30ch;
}

.advantage-card__bottom {
	margin-top: auto;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-sm);
	margin-bottom: calc(-1 * var(--space-md));
}

.advantage-card__number {
	overflow: hidden;
	font-size: clamp(6rem, 10vw, 9.5rem);
	font-weight: 300;
	letter-spacing: -0.08em;
	line-height: 0.72;
	color: var(--color-text);
	margin: 0 0 0 -0.06em;
	height: 0.6em;
}

.advantage-card__number span {
	display: inline-block;
}

.advantage-card .pill {
	margin-bottom: calc(var(--space-md) + 0.3rem);
}

.advantage-card:hover .pill {
	background: var(--color-dark);
	color: #fff;
	border-color: transparent;
}

.advantage-card:hover .pill__icon {
	background: var(--color-accent);
	transform: rotate(45deg);
}


/* ---------------------------------------------------------------------
   13b. Lab reel (looping clips of real lab footage)
--------------------------------------------------------------------- */
.lab-reel__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-md);
	margin-bottom: var(--space-xl);
}

.lab-reel__header h2 {
	max-width: 16ch;
}

.lab-reel__intro {
	max-width: 34ch;
	color: var(--color-text-soft);
}

.lab-reel__grid {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 72%;
	gap: var(--space-sm);
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.lab-reel__grid::-webkit-scrollbar {
	display: none;
}

.lab-reel__item {
	scroll-snap-align: start;
}

@media (min-width: 720px) {
	.lab-reel__grid {
		grid-auto-flow: row;
		grid-template-columns: repeat(3, 1fr);
		gap: var(--space-md);
		overflow: visible;
	}

	/* Offset the middle column for a staggered, editorial rhythm. On the
	   figure, not the <li>: main.js animates the <li>'s transform. */
	.lab-reel__item:nth-child(3n + 2) .lab-reel__figure {
		transform: translateY(var(--space-xl));
	}

	.lab-reel__grid {
		padding-bottom: var(--space-xl);
	}
}

.lab-reel__figure {
	margin: 0;
}

.lab-reel__media {
	position: relative;
	aspect-ratio: 3 / 4;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--color-surface);
}

.lab-reel__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease-out);
}

.lab-reel__figure:hover .lab-reel__video {
	transform: scale(1.04);
}

.lab-reel__caption {
	display: flex;
	align-items: baseline;
	gap: var(--space-2xs);
	margin-top: var(--space-xs);
	font-weight: 500;
	letter-spacing: -0.01em;
}

.lab-reel__index {
	font-size: 0.75rem;
	color: var(--color-accent);
	font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------
   14. Equipment band
--------------------------------------------------------------------- */
.equipment-band {
	overflow: hidden;
}

.equipment-band__frame {
	position: relative;
	border-radius: var(--radius-xl);
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--color-surface);
}

@media (min-width: 720px) {
	.equipment-band__frame {
		aspect-ratio: 16 / 8;
	}
}

.equipment-band__frame--photo::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(14, 14, 18, 0.05) 40%, rgba(14, 14, 18, 0.35) 100%), linear-gradient(135deg, rgba(120, 140, 240, 0.22), rgba(185, 175, 245, 0.12) 60%);
	pointer-events: none;
}

.equipment-band__image {
	position: absolute;
	inset: -10% 0;
	width: 100%;
	height: 120%;
	object-fit: cover;
}

.equipment-band__card {
	position: absolute;
	z-index: 2;
	left: var(--space-md);
	bottom: var(--space-md);
	background: var(--glass-bg);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-md);
	padding: var(--space-md);
	max-width: 280px;
}

.equipment-band__pulse {
	position: absolute;
	top: var(--space-md);
	right: var(--space-md);
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--color-accent);
}

.equipment-band__pulse::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--color-accent);
	animation: vornyk-pulse 2s var(--ease-out) infinite;
}

@keyframes vornyk-pulse {
	from {
		transform: scale(1);
		opacity: 0.6;
	}

	to {
		transform: scale(3.2);
		opacity: 0;
	}
}

.equipment-band__label {
	font-size: 0.75rem;
	color: var(--color-text-soft);
	margin-bottom: var(--space-sm);
	padding-right: var(--space-md);
}

.equipment-band__value {
	font-weight: 400;
	font-size: clamp(1.5rem, 2vw + 0.8rem, 2.25rem);
	letter-spacing: -0.04em;
	line-height: 1.05;
}

.equipment-band__cta {
	position: absolute;
	z-index: 2;
	top: var(--space-md);
	right: var(--space-md);
}

/* ---------------------------------------------------------------------
   15. Team grid / cards
--------------------------------------------------------------------- */
.team-teaser__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: var(--space-sm);
	margin-bottom: var(--space-lg);
}

.team-teaser__empty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-sm);
	padding: var(--space-lg);
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	color: var(--color-text-muted);
}

.team-grid {
	display: grid;
	gap: var(--space-sm);
	grid-template-columns: 1fr;
}

@media (min-width: 620px) {
	.team-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.team-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.team-card {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: var(--color-surface);
	cursor: pointer;
}

.team-card__photo-layer {
	position: absolute;
	inset: 0;
	z-index: 2;
	transform-origin: 20% 100%;
	transition: transform 0.8s var(--ease-out);
	box-shadow: var(--shadow-md);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.team-card__photo-layer img,
.team-card__photo-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team-card__photo-fallback {
	background: var(--gradient-accent);
}

.team-card__info-layer {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--gradient-accent);
	color: #fff;
	padding: var(--space-md);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.team-card__name {
	font-size: 1.3rem;
}

.team-card__role {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.85rem;
	margin-bottom: var(--space-2xs);
}

.team-card__bio {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.9);
}

@media (hover: hover) {
	.team-card:hover .team-card__photo-layer,
	.team-card:focus-within .team-card__photo-layer {
		transform: translateY(-16%) rotate(-7deg) scale(0.9);
	}
}

.team-card.is-revealed .team-card__photo-layer {
	transform: translateY(-16%) rotate(-7deg) scale(0.9);
}

/* ---------------------------------------------------------------------
   16. CTA band (soft gradient + drifting blobs)
--------------------------------------------------------------------- */
.cta-band {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--gradient-soft);
	border-radius: var(--radius-xl);
	margin-inline: var(--space-sm);
	padding-block: var(--space-2xl);
}

@media (min-width: 640px) {
	.cta-band {
		margin-inline: var(--space-lg);
		padding-block: var(--space-3xl);
	}
}

.cta-band__blob {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	filter: blur(50px);
	opacity: 0.75;
	pointer-events: none;
}

.cta-band__blob--1 {
	width: 42vw;
	height: 42vw;
	max-width: 520px;
	max-height: 520px;
	top: -20%;
	left: -8%;
	background: #c9bff8;
}

.cta-band__blob--2 {
	width: 34vw;
	height: 34vw;
	max-width: 440px;
	max-height: 440px;
	bottom: -25%;
	right: -6%;
	background: #b4c6fb;
}

.cta-band__blob--3 {
	width: 22vw;
	height: 22vw;
	max-width: 280px;
	max-height: 280px;
	top: 30%;
	left: 55%;
	background: #e7c8f5;
}

.cta-band__inner {
	max-width: 820px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-md);
}

.cta-band p {
	color: var(--color-text-soft);
	max-width: 46ch;
}

/* ---------------------------------------------------------------------
   17. Brand moment
--------------------------------------------------------------------- */
.brand-moment {
	padding-block: var(--space-xl);
	padding-inline: var(--space-sm);
}

@media (min-width: 640px) {
	.brand-moment {
		padding-inline: var(--space-lg);
	}
}

.brand-moment__frame {
	position: relative;
	max-width: var(--container-width);
	margin-inline: auto;
	overflow: hidden;
	border-radius: var(--radius-xl);
	aspect-ratio: 4 / 5;
	background: var(--gradient-soft);
}

@media (min-width: 720px) {
	.brand-moment__frame {
		aspect-ratio: 16 / 9;
	}
}

.brand-moment__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.55;
	mix-blend-mode: luminosity;
}

.brand-moment__frame::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.6), transparent 60%), linear-gradient(135deg, rgba(201, 191, 248, 0.55), rgba(180, 198, 251, 0.35) 50%, rgba(255, 236, 214, 0.4));
	pointer-events: none;
}

.brand-moment__bubble {
	position: absolute;
	z-index: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 32% 28%, #fff 0%, #b9c4fb 25%, #6f7fe0 60%, #3d4bb8 100%);
	box-shadow: inset -6px -8px 16px rgba(30, 30, 90, 0.35);
}

.brand-moment__bubble--1 { width: 64px; height: 64px; top: 18%; left: 14%; }
.brand-moment__bubble--2 { width: 26px; height: 26px; top: 64%; left: 30%; }
.brand-moment__bubble--3 { width: 90px; height: 90px; top: 58%; right: 16%; filter: blur(3px); }
.brand-moment__bubble--4 { width: 34px; height: 34px; top: 16%; right: 30%; }

.brand-moment__wordmark {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.75);
	font-size: clamp(3.5rem, 15vw, 15rem);
	font-weight: 500;
	letter-spacing: -0.05em;
	line-height: 1;
	mix-blend-mode: overlay;
}

.brand-moment__wordmark span {
	display: inline-block;
}

/* ---------------------------------------------------------------------
   18. Contact section
--------------------------------------------------------------------- */
.contact-section {
	overflow: hidden;
}

.contact-section__heading-wrap {
	position: relative;
	margin-bottom: var(--space-xl);
}

.contact-section__outline-heading {
	font-size: clamp(3rem, 10.5vw, 10rem);
	font-weight: 500;
	text-transform: uppercase;
	color: var(--color-text);
	letter-spacing: -0.06em;
	line-height: 0.9;
	margin: 0;
	word-break: break-word;
}

.contact-section__float-card {
	position: absolute;
	z-index: 2;
	left: 50%;
	top: 50%;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: var(--space-md);
	border-radius: var(--radius-md);
	background: linear-gradient(135deg, rgba(185, 175, 245, 0.85), rgba(139, 123, 219, 0.8));
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	color: #fff;
	font-size: 0.82rem;
	line-height: 1.45;
	box-shadow: var(--shadow-glow);
	max-width: 260px;
	translate: -50% -50%;
	rotate: -3deg;
}

.contact-section__float-name {
	font-weight: 600;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 0.3rem;
}

@media (max-width: 640px) {
	.contact-section__float-card {
		position: relative;
		left: auto;
		top: auto;
		translate: none;
		rotate: -2deg;
		margin-top: var(--space-md);
		max-width: none;
	}
}

.contact-section__grid {
	display: grid;
	gap: var(--space-md);
	padding: var(--space-md);
	background: var(--color-surface);
	border-radius: var(--radius-lg);
}

@media (min-width: 900px) {
	.contact-section__grid {
		grid-template-columns: 0.7fr 2fr;
		padding: var(--space-lg);
		gap: var(--space-xl);
	}
}

.contact-section__details h3 {
	font-size: 1.1rem;
}

.contact-section__details ul {
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
	margin-top: var(--space-sm);
	color: var(--color-text-soft);
	font-size: 0.92rem;
}

.contact-section__details a {
	transition: color 0.3s var(--ease-out);
}

.contact-section__details a:hover {
	color: var(--color-accent);
}

.contact-form {
	display: grid;
	gap: var(--space-md);
}

@media (min-width: 720px) {
	.contact-form {
		grid-template-columns: repeat(3, 1fr) 180px;
		grid-template-rows: auto auto;
		gap: var(--space-md) var(--space-lg);
	}

	.contact-form .form-field:nth-of-type(4) {
		grid-column: 1 / 4;
	}

	.contact-form__submit {
		grid-column: 4;
		grid-row: 1 / 3;
	}
}

.form-field {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--space-2xs);
}

.form-field label {
	font-weight: 400;
	font-size: 0.8rem;
	color: var(--color-text-soft);
}

.form-field input,
.form-field textarea {
	font-family: inherit;
	font-size: 1rem;
	padding: 0.6rem 0;
	border: 0;
	border-bottom: 1px solid #d6d6de;
	border-radius: 0;
	background: transparent;
	color: var(--color-text);
	resize: vertical;
	transition: border-color 0.4s var(--ease-out);
}

.form-field textarea {
	min-height: 96px;
}

.form-field::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--gradient-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.6s var(--ease-out);
	pointer-events: none;
}

.form-field:focus-within::after {
	transform: scaleX(1);
}

.form-field input:focus,
.form-field textarea:focus {
	outline: none;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
	outline: none;
}

.form-field--honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-field--honeypot::after {
	content: none;
}

.contact-form__submit {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	gap: var(--space-lg);
	min-height: 120px;
	padding: var(--space-md);
	border: 0;
	border-radius: var(--radius-md);
	background: var(--gradient-accent);
	background-size: 200% 200%;
	color: #fff;
	font-size: 1.05rem;
	font-weight: 500;
	text-align: left;
	overflow: hidden;
	transition: background-position 0.8s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.contact-form__submit:hover {
	background-position: 100% 100%;
	box-shadow: var(--shadow-glow);
}

.contact-form__submit-icon {
	width: 32px;
	height: 32px;
	transition: transform 0.6s var(--ease-out);
}

.contact-form__submit:hover .contact-form__submit-icon {
	transform: translate(6px, -6px);
}

.form-notice {
	padding: var(--space-sm) var(--space-md);
	border-radius: var(--radius-sm);
	margin-bottom: var(--space-md);
	font-weight: 500;
}

.form-notice--success {
	background: #e5f6ec;
	color: #17663b;
}

.form-notice--error {
	background: #fdeceb;
	color: #9c2b23;
}

/* ---------------------------------------------------------------------
   19. Generic content templates (page/single/archive/404)
--------------------------------------------------------------------- */
.page-content,
.single-content,
.service-single,
.team-single,
.error-404 {
	padding-block: var(--space-xl);
	max-width: 900px;
}

.page-content__title,
.single-content h1,
.service-single h1,
.team-single h1 {
	margin-bottom: var(--space-md);
}

.page-content__thumbnail img,
.single-content__thumbnail img,
.service-single__image img {
	border-radius: var(--radius-lg);
}

.entry-content {
	line-height: 1.7;
	color: var(--color-text-soft);
}

.entry-content > * + * {
	margin-top: var(--space-md);
}

.entry-content h2,
.entry-content h3 {
	color: var(--color-text);
}

.entry-content ul {
	list-style: disc;
	padding-left: 1.4em;
}

.entry-content ul li + li {
	margin-top: var(--space-3xs);
}

/*
 * Native <details>/<summary> accordion — zero JS. Used both for the
 * FAQ page and for nested sub-category breakdowns inside service
 * `details` content.
 */
.entry-content details,
.faq-item {
	border-radius: var(--radius-md);
	padding: var(--space-md);
	background: var(--color-surface);
	transition: background-color 0.4s var(--ease-out);
}

.entry-content details:hover,
.faq-item:hover,
.faq-item[open] {
	background: var(--color-accent-soft);
}

.entry-content details + details,
.faq-item + .faq-item {
	margin-top: var(--space-xs);
}

.entry-content details summary,
.faq-item__question {
	cursor: pointer;
	font-weight: 500;
	font-size: 1.05rem;
	color: var(--color-text);
	list-style: none;
	position: relative;
	padding-right: var(--space-lg);
}

.entry-content details summary::-webkit-details-marker,
.faq-item__question::-webkit-details-marker {
	display: none;
}

.entry-content details summary::after,
.faq-item__question::after {
	content: '+';
	position: absolute;
	right: 0;
	top: -0.1rem;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--color-bg);
	font-size: 1.1rem;
	font-weight: 400;
	color: var(--color-accent);
	transition: transform 0.5s var(--ease-out);
}

.entry-content details[open] summary::after,
.faq-item[open] .faq-item__question::after {
	transform: rotate(45deg);
}

.entry-content details > *:not(summary),
.faq-item__answer {
	margin-top: var(--space-sm);
	color: var(--color-text-soft);
}

.faq-list {
	max-width: 820px;
	margin-top: var(--space-lg);
}

.faq-page__cta {
	margin-top: var(--space-xl);
}

.archive-header {
	max-width: 60ch;
	margin-bottom: var(--space-xl);
}

.archive-header__lead {
	color: var(--color-text-muted);
	margin-top: var(--space-sm);
}

.service-archive__grid,
.team-grid--archive {
	display: grid;
	gap: var(--space-sm);
	grid-template-columns: 1fr;
}

@media (min-width: 620px) {
	.service-archive__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.service-archive__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.team-grid--archive {
		grid-template-columns: repeat(4, 1fr);
	}
}

.service-card {
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), background-color 0.4s var(--ease-out);
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-md);
	background: var(--color-accent-soft);
}

.service-card__link {
	display: block;
	padding: var(--space-md);
}

.service-card__image {
	border-radius: var(--radius-md);
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin-bottom: var(--space-sm);
	transition: transform 1s var(--ease-out);
}

.service-card:hover .service-card__image {
	transform: scale(1.03);
}

.service-card__title {
	margin-bottom: var(--space-2xs);
}

.service-card__description {
	color: var(--color-text-soft);
	font-size: 0.9rem;
	margin-bottom: var(--space-sm);
}

.team-single__grid {
	display: grid;
	gap: var(--space-lg);
}

@media (min-width: 720px) {
	.team-single__grid {
		grid-template-columns: 300px 1fr;
	}
}

.team-single__photo {
	border-radius: var(--radius-lg);
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.team-single__role {
	color: var(--color-accent);
	font-weight: 500;
	margin-block: var(--space-2xs) var(--space-sm);
}

.error-404 {
	margin-inline: auto;
	text-align: center;
	padding-block: var(--space-3xl);
}

.error-404__title {
	margin-bottom: var(--space-sm);
}

.error-404__text {
	color: var(--color-text-muted);
	margin-bottom: var(--space-lg);
}

/* ---------------------------------------------------------------------
   20. Motion start states (only while .has-motion is on <html>)
   main.js animates these to their final state with GSAP. Without JS,
   with reduced motion, or if scripts fail (4s failsafe in <head>), the
   class is absent and all content renders normally.
--------------------------------------------------------------------- */
.has-motion [data-hero-item],
.has-motion .reveal,
.has-motion [data-stagger-item],
.has-motion [data-featured-card],
.has-motion .contact-section__float-card {
	opacity: 0;
}

.has-motion [data-hero-heading],
.has-motion [data-split],
.has-motion [data-contact-heading] {
	visibility: hidden;
}

.has-motion [data-hero-visual],
.has-motion [data-clip-reveal] {
	clip-path: inset(100% 0% 0% 0%);
}

/* ---------------------------------------------------------------------
   21. Reduced motion
--------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	.marquee__track {
		animation: none;
	}

	.trust-layout__photo img {
		transform: none;
	}
}


/* ---------------------------------------------------------------------
   22. Content blocks (v2.1): shared heads, chips, breadcrumbs, hero
       chips, services bento, materials, terms bento, audience,
       onboarding steps, homepage FAQ, long-form copy, service page
--------------------------------------------------------------------- */
.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-md) var(--space-lg);
	margin-bottom: var(--space-xl);
}

.section-head h2 {
	max-width: 15ch;
}

.section-head__aside {
	max-width: 38ch;
	color: var(--color-text-soft);
	display: grid;
	gap: var(--space-sm);
	justify-items: start;
}

.section-head--center {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.section-head--center h2 {
	max-width: 18ch;
}

.eyebrow--light {
	color: #fff;
}

.chip {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.75rem;
	border-radius: var(--radius-pill);
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	font-size: 0.78rem;
	line-height: 1.2;
	color: var(--color-text-soft);
	white-space: nowrap;
}

.btn--light {
	background: #fff;
	color: var(--color-dark);
}

.btn--light:hover {
	box-shadow: var(--shadow-glow);
}

/* Breadcrumbs */
.breadcrumbs {
	padding-block: var(--space-sm) var(--space-md);
	font-size: 0.82rem;
	color: var(--color-text-muted);
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumbs li + li::before {
	content: '/';
	margin-right: 0.4rem;
	color: var(--color-border);
}

.breadcrumbs a {
	color: var(--color-text-soft);
	text-decoration: none;
	transition: color 0.3s var(--ease-out);
}

.breadcrumbs a:hover {
	color: var(--color-accent-strong);
}

.breadcrumbs [aria-current] {
	color: var(--color-text);
}

/* Hero additions */
.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.2s var(--ease-out);
}

.hero__video.is-playing {
	opacity: 1;
}

.hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs) var(--space-md);
	margin: var(--space-lg) 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.85rem;
	color: var(--color-text-soft);
}

.hero__facts li {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.hero__facts li::before {
	content: '';
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--color-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%236f5fd0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.hero__chip {
	position: absolute;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.7rem 1rem;
	border-radius: var(--radius-md);
	background: var(--glass-bg);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--glass-border);
	box-shadow: var(--shadow-md);
}

.hero__chip--top {
	top: var(--space-md);
	left: var(--space-md);
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.hero__chip--bottom {
	left: var(--space-md);
	bottom: var(--space-md);
	max-width: calc(100% - 2 * var(--space-md) - 150px);
}

.hero__chip-value {
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: -0.04em;
	line-height: 1;
	background: var(--gradient-accent);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero__chip-label {
	font-size: 0.78rem;
	line-height: 1.3;
	color: var(--color-text);
}

.hero__chip-dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #4ade80;
	box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2);
}

@media (max-width: 559px) {
	.hero__chip--bottom {
		display: none;
	}
}

/* Services bento */
.services-grid__list {
	display: grid;
	gap: var(--space-sm);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 720px) {
	.services-grid__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.services-grid__list {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--space-md);
	}

	.service-tile--lead {
		grid-column: span 2;
		grid-row: span 2;
	}
}

.service-tile {
	min-width: 0;
}

.service-tile__link {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	transition: box-shadow 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.service-tile__link:hover,
.service-tile__link:focus-visible {
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px);
}

.service-tile__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.service-tile__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease-out);
}

.service-tile__link:hover .service-tile__image {
	transform: scale(1.06);
}

.service-tile__body {
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
	flex: 1;
	padding: var(--space-md);
}

.service-tile__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.service-tile__index {
	font-size: 0.8rem;
	color: var(--color-accent-strong);
	font-variant-numeric: tabular-nums;
}

.service-tile__arrow {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--color-bg);
	transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out), transform 0.6s var(--ease-out);
}

.service-tile__link:hover .service-tile__arrow {
	background: var(--color-dark);
	color: #fff;
	transform: rotate(45deg);
}

.service-tile__title {
	font-size: 1.3rem;
	margin: 0;
}

.service-tile__desc {
	color: var(--color-text-soft);
	font-size: 0.92rem;
}

.service-tile__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: auto;
	padding-top: var(--space-xs);
}

@media (min-width: 1024px) {
	.service-tile--lead .service-tile__link {
		background: var(--color-dark);
		color: #fff;
	}

	.service-tile--lead .service-tile__media {
		aspect-ratio: auto;
		flex: 1;
		min-height: 320px;
	}

	.service-tile--lead .service-tile__body {
		flex: none;
	}

	.service-tile--lead .service-tile__title {
		font-size: clamp(1.8rem, 2.4vw, 2.6rem);
		letter-spacing: -0.03em;
	}

	.service-tile--lead .service-tile__desc {
		color: rgba(255, 255, 255, 0.7);
		max-width: 52ch;
	}

	.service-tile--lead .service-tile__index {
		color: var(--color-accent-light);
	}

	.service-tile--lead .service-tile__arrow {
		background: rgba(255, 255, 255, 0.1);
	}

	.service-tile--lead .chip {
		background: rgba(255, 255, 255, 0.08);
		border-color: rgba(255, 255, 255, 0.14);
		color: rgba(255, 255, 255, 0.85);
	}
}

@media (min-width: 1024px) {
	.service-tile--lead ~ .service-tile:nth-child(7):last-child,
	.services-grid__list--archive .service-tile:last-child:nth-child(3n + 1) {
		grid-column: 1 / -1;
	}

	.service-tile--lead ~ .service-tile:nth-child(7):last-child .service-tile__link,
	.services-grid__list--archive .service-tile:last-child:nth-child(3n + 1) .service-tile__link {
		flex-direction: row;
	}

	.service-tile--lead ~ .service-tile:nth-child(7):last-child .service-tile__media,
	.services-grid__list--archive .service-tile:last-child:nth-child(3n + 1) .service-tile__media {
		flex: 0 0 38%;
		aspect-ratio: auto;
		min-height: 260px;
	}

	.service-tile--lead ~ .service-tile:nth-child(7):last-child .service-tile__body,
	.services-grid__list--archive .service-tile:last-child:nth-child(3n + 1) .service-tile__body {
		justify-content: center;
		padding: var(--space-lg);
	}
}

.services-grid__list--archive {
	margin-top: var(--space-lg);
	margin-bottom: var(--space-xl);
}

/* Materials */
.materials__layout {
	display: grid;
	gap: var(--space-xl);
}

@media (min-width: 960px) {
	.materials__layout {
		grid-template-columns: 1fr 1.15fr;
		align-items: start;
	}

	.materials__intro {
		position: sticky;
		top: calc(var(--header-h) + var(--space-md));
	}
}

.materials__text {
	color: var(--color-text-soft);
	max-width: 44ch;
	margin-block: var(--space-md) var(--space-lg);
}

.materials__brands {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2xs);
	margin: 0;
	padding: 0;
	list-style: none;
}

.materials__brands li {
	padding: 0.7rem 1.2rem;
	border-radius: var(--radius-pill);
	background: var(--gradient-soft);
	border: 1px solid var(--color-accent-soft);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.materials__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--color-border);
}

.material-row {
	display: grid;
	grid-template-columns: 2.5rem 1fr;
	gap: 0.25rem var(--space-sm);
	padding: var(--space-md) 0;
	border-bottom: 1px solid var(--color-border);
	transition: padding-left 0.5s var(--ease-out), background-color 0.5s var(--ease-out);
}

.material-row:hover {
	padding-left: var(--space-xs);
	background: linear-gradient(90deg, var(--color-accent-soft), transparent 70%);
}

@media (min-width: 640px) {
	.material-row {
		grid-template-columns: 2.5rem 1fr 1.2fr;
		align-items: baseline;
	}
}

.material-row__index {
	font-size: 0.8rem;
	color: var(--color-accent-strong);
	font-variant-numeric: tabular-nums;
}

.material-row__name {
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: -0.02em;
}

.material-row__use {
	grid-column: 2;
	color: var(--color-text-soft);
	font-size: 0.9rem;
}

@media (min-width: 640px) {
	.material-row__use {
		grid-column: auto;
	}
}

/* Terms bento */
.terms__bento {
	display: grid;
	gap: var(--space-sm);
}

@media (min-width: 720px) {
	.terms__bento {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.terms__bento {
		grid-template-columns: repeat(4, 1fr);
		gap: var(--space-md);
	}

	.term-card--wide {
		grid-column: span 2;
	}
}

.term-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
	min-height: 220px;
	padding: var(--space-md);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	overflow: hidden;
}

.term-card__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--color-bg);
	color: var(--color-accent-strong);
	margin-bottom: auto;
}

.term-card__title {
	margin: var(--space-md) 0 0;
	font-size: 1.25rem;
}

.term-card__text {
	color: var(--color-text-soft);
	font-size: 0.92rem;
	margin: 0;
}

.term-card__label {
	margin: 0 0 auto;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.55);
}

.term-card__big {
	margin: var(--space-lg) 0 0;
	font-size: 1.3rem;
	color: rgba(255, 255, 255, 0.8);
}

.term-card__big span {
	display: block;
	font-size: clamp(4rem, 8vw, 6.5rem);
	font-weight: 400;
	letter-spacing: -0.06em;
	line-height: 0.9;
	background: linear-gradient(180deg, #fff 20%, var(--color-accent-light));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.term-card--dark {
	background: var(--color-dark);
	color: #fff;
}

.term-card--dark .term-card__text {
	color: rgba(255, 255, 255, 0.65);
	max-width: 40ch;
}

.term-card__timeline {
	display: flex;
	gap: 6px;
	margin-top: var(--space-sm);
}

.term-card__timeline span {
	flex: 1;
	height: 6px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.12);
	overflow: hidden;
	position: relative;
}

.term-card__timeline span::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--gradient-accent);
	transform: scaleX(0);
	transform-origin: left;
	animation: term-fill 4s var(--ease-in-out) infinite;
}

.term-card__timeline span:nth-child(2)::after { animation-delay: 0.3s; }
.term-card__timeline span:nth-child(3)::after { animation-delay: 0.6s; }
.term-card__timeline span:nth-child(4)::after { animation-delay: 0.9s; }
.term-card__timeline span:nth-child(5)::after { animation-delay: 1.2s; }

@keyframes term-fill {
	0%, 10% { transform: scaleX(0); }
	40%, 80% { transform: scaleX(1); }
	100% { transform: scaleX(1); opacity: 0; }
}

.term-card--accent {
	background: var(--gradient-accent);
	color: #fff;
}

.term-card--accent .term-card__icon {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.term-card--accent .term-card__text {
	color: rgba(255, 255, 255, 0.85);
}

.term-card__routes {
	display: grid;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--color-text-soft);
	font-size: 0.92rem;
}

.term-card__routes strong {
	display: inline-block;
	min-width: 5.5rem;
	color: var(--color-text);
	font-weight: 500;
}

/* Audience */
.audience__grid {
	display: grid;
	gap: var(--space-sm);
	margin: 0;
	padding: 0;
	list-style: none;
	perspective: 1400px;
}

@media (min-width: 900px) {
	.audience__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--space-md);
	}
}

.audience-card {
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
	min-height: 320px;
	padding: var(--space-lg) var(--space-md) var(--space-md);
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, var(--color-surface), var(--color-bg));
	border: 1px solid var(--color-border);
	transition: border-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.audience-card:hover {
	border-color: var(--color-accent-light);
	box-shadow: var(--shadow-lg);
}

.audience-card__kicker {
	margin: 0;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--color-accent-strong);
}

.audience-card__title {
	margin: 0;
	font-size: 1.6rem;
	letter-spacing: -0.03em;
}

.audience-card__text {
	margin: 0;
	color: var(--color-text-soft);
	font-size: 0.95rem;
}

.audience-card__figure {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin: auto 0 0;
	padding-top: var(--space-md);
	border-top: 1px solid var(--color-border);
}

.audience-card__figure span {
	font-size: 2.6rem;
	letter-spacing: -0.05em;
	line-height: 1;
}

.audience-card__figure small {
	font-size: 0.82rem;
	color: var(--color-text-muted);
}

/* Onboarding steps */
.start__panel {
	position: relative;
	display: grid;
	gap: var(--space-xl);
	padding: var(--space-xl) var(--space-md);
	border-radius: var(--radius-xl);
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(139, 123, 219, 0.45), transparent 60%),
		radial-gradient(50% 70% at 0% 100%, rgba(169, 192, 247, 0.25), transparent 60%),
		var(--color-dark);
	color: #fff;
	overflow: hidden;
}

@media (min-width: 900px) {
	.start__panel {
		grid-template-columns: 0.9fr 1.4fr;
		padding: var(--space-2xl) var(--space-xl);
	}
}

.start__head h2 {
	margin-bottom: var(--space-lg);
	max-width: 12ch;
}

.start__steps {
	display: grid;
	gap: var(--space-sm);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

@media (min-width: 640px) {
	.start__steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

.start-step {
	padding: var(--space-md);
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: background-color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}

.start-step:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(195, 186, 244, 0.5);
}

.start-step__num {
	display: block;
	margin-bottom: var(--space-md);
	font-size: 2.4rem;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1;
	background: linear-gradient(180deg, #fff, var(--color-accent-light));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.start-step__title {
	margin: 0 0 0.4rem;
	font-size: 1.2rem;
}

.start-step__text {
	margin: 0;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.68);
}

/* Homepage FAQ */
.faq-home__layout {
	display: grid;
	gap: var(--space-xl);
}

@media (min-width: 960px) {
	.faq-home__layout {
		grid-template-columns: 0.85fr 1.15fr;
		align-items: start;
	}

	.faq-home__intro {
		position: sticky;
		top: calc(var(--header-h) + var(--space-md));
	}
}

.faq-home__text {
	color: var(--color-text-soft);
	max-width: 38ch;
	margin-block: var(--space-md) var(--space-lg);
}

.faq-list--home {
	margin: 0;
}

/* Long-form copy */
.seo-text__layout {
	display: grid;
	gap: var(--space-lg);
	padding-top: var(--space-xl);
	border-top: 1px solid var(--color-border);
}

@media (min-width: 960px) {
	.seo-text__layout {
		grid-template-columns: 0.8fr 1.2fr;
	}
}

.seo-text__heading {
	font-size: clamp(1.5rem, 1.6vw + 0.9rem, 2.2rem);
	line-height: 1.12;
	letter-spacing: -0.03em;
	max-width: 20ch;
}

.seo-text__body {
	color: var(--color-text-soft);
	max-width: 70ch;
}

.seo-text__body a {
	color: var(--color-text);
	text-decoration: underline;
	text-decoration-color: var(--color-accent-light);
	text-underline-offset: 3px;
}

.seo-text__body h3 {
	color: var(--color-text);
	font-size: 1.1rem;
	margin-top: var(--space-md);
}

.entry-content details.seo-text__more {
	background: none;
	padding: 0;
	border: 0;
}

.entry-content details.seo-text__more > summary {
	display: inline-flex;
	padding: 0.6rem 1.2rem;
	border-radius: var(--radius-pill);
	border: 1px solid var(--color-border);
	font-size: 0.9rem;
	cursor: pointer;
}

.entry-content details.seo-text__more > *:not(summary) {
	padding: 0;
}

/* Service page (full-width layout; overrides the generic 900px column) */
.service-single {
	max-width: none;
	padding: 0;
}

.service-hero__grid {
	display: grid;
	gap: var(--space-lg);
	align-items: center;
	padding-bottom: var(--space-xl);
}

@media (min-width: 900px) {
	.service-hero__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.service-single__title {
	margin-block: var(--space-sm) var(--space-md);
	max-width: 16ch;
}

.service-single__lead {
	font-size: 1.1rem;
	color: var(--color-text-soft);
	max-width: 46ch;
}

.service-hero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: var(--space-md) 0;
	padding: 0;
	list-style: none;
}

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

.service-hero__media {
	margin: 0;
	border-radius: var(--radius-xl);
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.service-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-body {
	display: grid;
	gap: var(--space-xl);
	padding-block: var(--space-xl);
	border-top: 1px solid var(--color-border);
}

@media (min-width: 960px) {
	.service-body {
		grid-template-columns: 1fr 340px;
		align-items: start;
	}

	.service-body__aside {
		position: sticky;
		top: calc(var(--header-h) + var(--space-md));
	}
}

.service-body__main h2 {
	font-size: clamp(1.6rem, 1.5vw + 1rem, 2.3rem);
	margin-top: var(--space-lg);
}

.service-body__main h2:first-child {
	margin-top: 0;
}

.service-steps {
	display: grid;
	gap: var(--space-xs);
	padding-left: 1.2rem;
}

.service-steps li::marker {
	color: var(--color-accent-strong);
	font-weight: 600;
}

.service-facts {
	padding: var(--space-md);
	border-radius: var(--radius-lg);
	background: var(--gradient-soft);
	border: 1px solid var(--color-accent-soft);
}

.service-facts__title {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--color-accent-strong);
	margin-bottom: var(--space-sm);
}

.service-facts dl {
	margin: 0 0 var(--space-md);
}

.service-facts dl > div {
	display: flex;
	justify-content: space-between;
	gap: var(--space-sm);
	padding: 0.7rem 0;
	border-bottom: 1px solid rgba(139, 123, 219, 0.18);
	font-size: 0.9rem;
}

.service-facts dt {
	color: var(--color-text-soft);
}

.service-facts dd {
	margin: 0;
	text-align: right;
	font-weight: 500;
}

.related-services {
	padding-block: var(--space-xl);
}

.related-services__heading {
	font-size: clamp(1.6rem, 1.5vw + 1rem, 2.3rem);
	margin-bottom: var(--space-md);
}

.related-services__list {
	display: grid;
	gap: var(--space-2xs);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 720px) {
	.related-services__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

.related-services__list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-sm);
	padding: var(--space-sm) var(--space-md);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	color: var(--color-text);
	text-decoration: none;
	transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

.related-services__list a:hover {
	background: var(--color-dark);
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.preloader__glow,
	.term-card__timeline span::after {
		animation: none;
	}

	.term-card__timeline span::after {
		transform: scaleX(1);
	}

	.service-tile__link,
	.service-tile__image,
	.material-row {
		transition: none;
	}
}

/* ---------------------------------------------------------------------
   AI visibility: service answer block + freshness date
   (inc/ai-visibility.php)
--------------------------------------------------------------------- */
.service-summary {
	padding: var(--space-md);
	border-left: 3px solid var(--color-accent);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
	background: var(--color-accent-soft);
	color: var(--color-text);
	font-size: 1.05rem;
	line-height: 1.6;
}

.updated-date {
	margin-top: var(--space-lg);
	font-size: 0.82rem;
	color: var(--color-text-muted);
}

/* ---------------------------------------------------------------------
   Cases (inc/cases.php): cards, demo labels, single-case extras
--------------------------------------------------------------------- */
.cases__grid {
	display: grid;
	gap: var(--space-sm);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 720px) {
	.cases__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1080px) {
	.cases__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

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

.case-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	transition: box-shadow 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.case-card__link:hover,
.case-card__link:focus-visible {
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px);
}

.case-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--gradient-soft);
}

.case-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease-out);
}

.case-card__link:hover .case-card__image {
	transform: scale(1.06);
}

.case-card__body {
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
	flex: 1;
	padding: var(--space-md);
}

.case-card__kicker {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--color-accent-strong);
}

.case-card__title {
	font-size: 1.25rem;
	margin: 0;
}

.case-card__desc {
	color: var(--color-text-soft);
	font-size: 0.92rem;
}

.case-card__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: auto;
	padding-top: var(--space-xs);
}

.case-card__more {
	font-size: 0.88rem;
	font-weight: 500;
	transition: color 0.3s var(--ease-out);
}

.case-card__link:hover .case-card__more {
	color: var(--color-accent-strong);
}

.case-demo-badge {
	position: absolute;
	top: var(--space-sm);
	left: var(--space-sm);
	z-index: 2;
	padding: 0.3rem 0.75rem;
	border-radius: var(--radius-pill);
	background: rgba(14, 14, 18, 0.78);
	color: #fff;
	font-size: 0.72rem;
	letter-spacing: 0.04em;
}

.case-demo-notice {
	margin: 0 0 var(--space-md);
	padding: var(--space-xs) var(--space-md);
	border-radius: var(--radius-md);
	background: #fff6e0;
	color: #7a5300;
	font-size: 0.88rem;
}

.case-compare {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--space-sm);
	margin-block: var(--space-lg);
}

.case-compare__item {
	position: relative;
	margin: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.case-compare__item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.case-compare__item figcaption {
	position: absolute;
	left: var(--space-sm);
	bottom: var(--space-sm);
	padding: 0.3rem 0.8rem;
	border-radius: var(--radius-pill);
	background: var(--glass-bg);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--color-text);
}

.case-quote {
	margin: var(--space-xl) 0 0;
	padding: var(--space-lg);
	border-radius: var(--radius-lg);
	background: var(--gradient-soft);
}

.case-quote p {
	font-size: clamp(1.15rem, 0.8vw + 0.95rem, 1.45rem);
	line-height: 1.45;
	letter-spacing: -0.015em;
	color: var(--color-text);
}

.case-quote footer {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 0.6rem;
	margin-top: var(--space-md);
	font-size: 0.88rem;
	color: var(--color-text-soft);
}

.case-quote cite {
	font-style: normal;
	font-weight: 500;
	color: var(--color-text);
}

.service-facts dd a {
	color: var(--color-accent-strong);
}
