/* ==========================================================================
   Imersum 2026 — main styles
   Breakpoints (from the design): ≤560 mobile, 561–1024 tablet, ≤900 collapsed nav
   ========================================================================== */

/* ---------- Tokens & base ---------- */
:root {
	--ink: #0E0C14;
	--bg: #F4F2F7;
	--violet: #9A44CE;
	--violet-d: #7B2DAE;
	--violet-dd: #5f1f8a;
	--violet-l: #C28BE6;
	--lilac: #F1E6F8;
	--soft: #F4F2F7;
	--muted: #444;
	--muted-2: #555;
	--line: #d9d2e3;
	--ft-muted: #bdb6c9;
	--ft-line: #2a2438;
	--font: Montserrat, "Helvetica Neue", Arial, sans-serif;
	--font-disp: Unbounded, Montserrat, sans-serif;
	--gutter: clamp(16px, 4vw, 48px);
	/* Text size: all font sizes are in rem (relative to <html>).
	   An accessibility menu can enlarge text with e.g. html { font-size: 112.5%; --fs-scale: 1.125; }
	   (--fs-scale also scales the fluid vw part of clamp() font sizes). */
	--fs-scale: 1;
	--t: .3s ease; /* hover transition */
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--ink); -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--font);
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; transition: color var(--t); }

button { font-family: inherit; }

.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 16px; top: -100px;
	z-index: 100;
	padding: 12px 20px;
	border-radius: 100px;
	background: var(--violet);
	color: #fff;
	font-weight: 600;
}
.skip-link:focus { top: 16px; color: #fff; }

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

.wrap {
	max-width: 1600px;
	margin: 0 auto;
	padding-inline: var(--gutter);
	box-sizing: border-box;
}

/* ---------- Typography ---------- */
.disp {
	font-family: var(--font-disp);
	font-weight: 500;
	letter-spacing: -.02em;
	text-transform: uppercase;
	margin: 0;
}

.h2 { font-size: clamp(2rem, calc(4vw * var(--fs-scale)), 3.75rem); line-height: 1; }
.h3 { font-size: 1.625rem; line-height: 1.2; margin-bottom: 16px; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--violet-d);
}
.eyebrow::before {
	content: "";
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--violet);
}
.eyebrow-w { color: #fff; }
.eyebrow-l { color: var(--violet-l); }

.text-muted { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--muted); max-width: 32.95em; }

/* ---------- Buttons & chips ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 56px;
	padding: 0 30px;
	border-radius: 100px;
	background: var(--violet);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: .02em;
	border: 0;
	cursor: pointer;
	font-family: inherit;
	text-align: center;
	transition: background-color var(--t), color var(--t), border-color var(--t);
}
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.has-chip { padding-right: 8px; }
.btn.has-play { padding-left: 8px; }

.chip {
	width: 44px; height: 44px;
	flex: 0 0 44px;
	border-radius: 50%;
	background: #fff;
	color: var(--ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.btn:not(.dark):not(.ghost):not(.btn-light) .chip,
.chip-v { color: var(--violet); }

.btns { display: flex; gap: 12px; flex-wrap: wrap; }

.tag {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 14px;
	border-radius: 100px;
	border: 1px solid rgba(255,255,255,.35);
	font-size: 0.8125rem;
	font-weight: 500;
}
.tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* text fields that come as HTML (ACF "Automatically add paragraphs") */
div.hero-text > *, div.text-muted > *, div.sec-note > *, div.contact-text > * { margin: 0; }
div.hero-text > * + *, div.text-muted > * + *, div.sec-note > * + * { margin-top: .8em; }

/* ---------- Section helpers ---------- */
.sec-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
}
.sec-title-col { display: flex; flex-direction: column; gap: 20px; }
.sec-note { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--muted-2); max-width: 26.25em; }
.sec-stack { display: flex; flex-direction: column; gap: 48px; }

.row-between {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.hd {
	position: sticky;
	top: 16px;
	z-index: 20;
	padding-inline: var(--gutter);
	margin-bottom: -88px;
}
.admin-bar .hd { top: 48px; }

.hd .pill {
	max-width: 1600px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 28px;
	flex-wrap: wrap;
	min-height: 72px;
	padding: 8px 8px 8px 28px;
	background: rgba(255,255,255,.92);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-radius: 100px;
	box-shadow: 0 10px 40px rgba(0,0,0,.18);
	color: var(--ink);
	transition: border-radius var(--t);
}
/* Mobile menu open: the pill becomes a panel, so the pill radius is too big for it. */
.hd .pill.is-menu-open { border-radius: 30px; }

.hd-logo img { display: block; height: 20px; width: auto; }

.nav {
	display: flex;
	align-items: center;
	gap: 2px 6px;
	flex-wrap: wrap;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.nav > a,
.dd > a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 100px;
	transition: background-color var(--t), color var(--t);
}
.nav [aria-current="page"],
.dd:focus-within > a,
.dd.is-open > a { background: var(--lilac); color: var(--violet-dd); }
.dd > a svg { transition: transform var(--t); }
.dd.is-open > a svg { transform: rotate(180deg); }

.dd { position: relative; }
.dd .menu {
	display: flex;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 320px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 16px 40px rgba(0,0,0,.16);
	padding: 10px;
	flex-direction: column;
	text-transform: none;
	font-weight: 500;
	letter-spacing: 0;
	z-index: 30;
}
.dd .menu a { padding: 12px 16px; border-radius: 12px; transition: background-color var(--t), color var(--t); }
.dd .menu a[aria-current="page"],
.dd .menu a:focus-visible { background: var(--soft); color: var(--violet-dd); }
.dd:focus-within .menu,
.dd.is-open .menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.hd-actions { display: flex; align-items: center; gap: 4px; }

.ico {
	display: inline-flex;
	width: 44px; height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--violet-d);
	transition: background-color var(--t), color var(--t);
}
.ico.lang { font-size: 0.875rem; font-weight: 600; color: var(--ink); }

.hd .btn.top { min-height: 56px; margin-left: 6px; }

/* search */
.srch { position: relative; }
.srch > summary { list-style: none; cursor: pointer; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.burger { transition: background-color var(--t); }
.srch > summary::-webkit-details-marker { display: none; }
.srch[open] > summary { background: var(--lilac); color: var(--violet-dd); }
.spanel {
	position: absolute;
	top: calc(100% + 14px);
	right: -60px;
	width: min(440px, calc(100vw - 32px));
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0;
	background: #fff;
	border-radius: 22px;
	padding: 8px 8px 8px 18px;
	box-shadow: 0 18px 50px rgba(14,12,20,.22);
	z-index: 40;
}
.spanel input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	font: inherit;
	font-size: 1rem;
	padding: 12px 0;
	background: transparent;
	color: var(--ink);
}
.spanel .btn { min-height: 48px; padding: 0 20px; }

/* burger + mobile nav */
.burger {
	display: none;
	width: 52px; height: 52px;
	border-radius: 50%;
	border: 0;
	background: var(--ink);
	color: #fff;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	margin-left: 4px;
}
.mnav {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 4px 14px 14px 0;
	font-size: 1.125rem;
	font-weight: 600;
}
.mnav[hidden] { display: none; }
.mnav a { padding: 14px 0; border-bottom: 1px solid #eee; }
.mnav .sub { font-size: 0.9375rem; font-weight: 500; padding: 10px 0 10px 18px; color: var(--muted); }
.mnav [aria-current="page"] { color: var(--violet-d); }
.mnav .btn { margin-top: 14px; border-bottom: 0; padding: 0 30px; }

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
	position: relative;
	min-height: 860px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: #fff;
	background: #0b2230 center / cover no-repeat;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(10,8,20,.55);
}
.hero-video {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}
.hero-wrap {
	position: relative;
	z-index: 2;
	width: 100%;
	padding-top: 180px;
	display: flex;
	flex-direction: column;
	gap: 56px;
}
.hero-main { display: flex; flex-direction: column; gap: 32px; max-width: 1100px; }
.hero-title { font-size: clamp(3rem, calc(8.4vw * var(--fs-scale)), 8.25rem); line-height: .95; }
.hero-row { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; }
.hero-text { margin: 0; font-size: 1.25rem; line-height: 1.5; max-width: 24em; }

/* service links at the bottom of the hero */
.svc {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	border-top: 1px solid rgba(255,255,255,.25);
}
.svc a {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 26px 24px 30px 0;
	border-right: 1px solid rgba(255,255,255,.18);
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	line-height: 1.3;
	color: #fff;
}
.svc a + a { padding-left: 24px; }
.svc a:last-child { border-right: 0; }
.svc-num { display: flex; justify-content: space-between; font-size: 0.8125rem; color: var(--violet-l); transition: color .35s ease; }

.hero .svc a {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 26px 24px 30px;
	border-radius: 18px;
	transition: color .35s ease, border-color .35s ease, background-color .35s ease;
}
.hero .svc a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--violet);
	border-radius: inherit;
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.hero .svc a:focus-visible::before { transform: scaleY(1); }
.hero .svc a:focus-visible { color: #fff; border-right-color: transparent; }
.hero .svc a:focus-visible > span { color: #fff; }
.hero .svc a svg { transition: transform .35s ease; }

/* ---------- Marquee ---------- */
.mq {
	background: var(--violet);
	color: #fff;
	overflow: hidden;
	white-space: nowrap;
	padding-block: 18px;
}
.mq .t {
	display: inline-flex;
	gap: 40px;
	padding-right: 40px;
	font-family: var(--font-disp);
	font-size: 1.375rem;
	text-transform: uppercase;
	animation: mq 30s linear infinite;
}
@keyframes mq { to { transform: translateX(-50%); } }

/* ==========================================================================
   Home sections
   ========================================================================== */
.sec-about {
	padding-block: clamp(80px, 9vw, 140px);
	display: flex;
	flex-direction: column;
	gap: 48px;
}
.lead-disp {
	font-size: clamp(1.625rem, calc(3.2vw * var(--fs-scale)), 3rem);
	line-height: 1.2;
	text-transform: none;
	font-weight: 400;
	max-width: 27em; /* = 1240px at the 1440px design width; grows with the font so line breaks match the design */
}
.lead-disp span { color: var(--violet); }

/* solutions bento */
.sec-solutions {
	padding-bottom: clamp(80px, 9vw, 140px);
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 280px;
	gap: 16px;
}
.tile {
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	display: block;
	color: #fff;
	background: #222;
}
.tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: saturate(1.15) brightness(1.06);
	transition: transform .6s ease;
}
.tile .ov {
	position: absolute;
	inset: 0;
	background: rgba(10,8,20,.26);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 28px 28px 40px 40px;
}
.tile .n {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: .1em;
	background: rgba(255,255,255,.18);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-radius: 100px;
	padding: 8px 14px;
	align-self: flex-start;
}
.tile-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tile h3 {
	margin: 0;
	font-family: var(--font-disp);
	font-weight: 500;
	font-size: 1.375rem;
	text-transform: uppercase;
	line-height: 1.2;
	text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.big { grid-column: span 2; grid-row: span 2; }
.big h3 { font-size: clamp(1.625rem, calc(2.6vw * var(--fs-scale)), 2.5rem); }
.wide { grid-column: span 2; }

/* cases (dark) */
.sec-cases {
	background: var(--ink);
	color: #fff;
	padding-block: clamp(80px, 9vw, 140px);
	border-radius: 40px 40px 0 0;
}
.cases-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
	gap: 56px 32px;
}
.cases-grid > .cs:nth-child(even) { margin-top: clamp(0px, 6vw, 96px); }

.cs { display: flex; flex-direction: column; gap: 18px; color: #fff; transition: color var(--t); }
.cs .im {
	position: relative;
	display: block;
	border-radius: 28px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #222;
}
.cs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .6s ease;
}
.cs-title { font-size: clamp(1.375rem, calc(2vw * var(--fs-scale)), 1.875rem); line-height: 1.15; }

/* light card with partners / reviews / seo+faq */
.sec-light-wrap { background: var(--ink); padding-bottom: clamp(16px, 2vw, 24px); }
.sec-light-wrap.no-dark-top { background: linear-gradient(var(--bg) 50%, var(--ink) 50%); }
.sec-light-card {
	background: var(--bg);
	border-radius: 40px;
	padding-block: clamp(80px, 9vw, 120px);
}

.partners-block {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding-bottom: clamp(56px, 7vw, 104px);
	border-bottom: 1px solid var(--line);
}
.plogos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 16px;
}
.plogos > div {
	background: #fff;
	border-radius: 28px;
	height: 160px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .3s ease, box-shadow .3s ease;
}
.plogos img { max-width: 62%; max-height: 38px; width: auto; display: block; object-fit: contain; }

.rvs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
	gap: 24px;
}
.rv {
	margin: 0;
	background: #fff;
	border-radius: 28px;
	padding: clamp(24px, 3vw, 40px);
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.rv .quote { color: var(--violet); flex: 0 0 auto; }
.rv blockquote { margin: 0; font-size: 1.1875rem; line-height: 1.6; }
.rv blockquote p { margin: 0 0 .8em; }
.rv blockquote p:last-child { margin-bottom: 0; }
/* Long reviews: clamped to --rv-lines lines with a fade, "read more" expands (JS). */
.rv { --rv-lines: 9; }
.rv-q.is-clamped {
	max-height: calc(var(--rv-lines) * 1.6em);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(#000 calc(100% - 3.2em), transparent);
	mask-image: linear-gradient(#000 calc(100% - 3.2em), transparent);
}
.rv-more { align-self: flex-start; margin-top: -12px; }
.rv figcaption {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: auto;
	border-top: 1px solid #eee;
	padding-top: 24px;
}
.rv-ava { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; object-fit: cover; display: block; }
.rv-name { display: block; font-weight: 600; font-size: 1rem; }
.rv-pos { font-size: 0.875rem; color: var(--muted-2); }

/* SEO text + FAQ */
.seo-faq {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
	gap: 48px 80px;
	align-items: start;
	margin-top: 48px;
}
.seo { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.seo .h3 { margin-bottom: 0; }
.seo-text { font-size: 1rem; line-height: 1.65; color: var(--muted); }
.seo-text > *,
.more-rest-in > * { margin: 0; }
.seo-text > * + *,
.more-rest-in > * + * { margin-top: 14px; }
.seo-text > .more-rest { margin-top: 0; }
.more-rest-in { padding-top: 14px; }

.more-rest[hidden] { display: none; }
.seo-text h2, .seo-text h3, .seo-text h4 { font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.more-btn {
	background: none;
	border: 0;
	padding: 0;
	min-height: 44px;
	cursor: pointer;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--violet-d);
	text-decoration: underline;
	text-underline-offset: 5px;
	transition: color var(--t), text-underline-offset var(--t);
}

.fq { border-top: 1px solid #ddd; }
.fq button {
	all: unset;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 24px 0;
	font-size: 1.125rem;
	font-weight: 600;
	box-sizing: border-box;
}
.fq button:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.fq-sign {
	flex: 0 0 auto;
	width: 44px; height: 44px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;
	background: #fff;
	color: var(--ink);
	transition: transform .3s ease, background .3s ease, color .3s ease;
}
.fq.open .fq-sign { background: var(--violet); color: #fff; transform: rotate(45deg); }
.fq-a { font-size: 1rem; line-height: 1.65; color: var(--muted); max-width: 51.25em; }
.fq-a[hidden] { display: none; }
.fq-a > div { padding-bottom: 24px; } /* padding, not margin: it is part of the animated height */
.fq-a p { margin: 0 0 .8em; }
.fq-a p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Contact section + CF7
   ========================================================================== */
.sec-contact {
	background: var(--ink);
	padding-inline: clamp(16px, 2vw, 24px);
	padding-top: clamp(48px, 6vw, 96px);
	padding-bottom: clamp(16px, 2vw, 24px);
}
.contact-card {
	background: var(--violet);
	color: #fff;
	border-radius: 40px;
	padding-block: clamp(64px, 8vw, 112px);
}
.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
	gap: 48px 80px;
	align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info .eyebrow::before { background: #fff; }
.contact-title { font-size: clamp(2.25rem, calc(5vw * var(--fs-scale)), 4.75rem); line-height: .98; }
.contact-text { margin: 0; font-size: 1.125rem; line-height: 1.55; max-width: 25.55em; }

.cf {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.cf > *,
.cf .wpcf7-form-control-wrap { min-width: 0; }
.cf .cf-full,
.cf .wpcf7-form-control-wrap:has(.cf-full),
.cf > .btn,
.cf > .wpcf7-submit { grid-column: 1 / -1; }
.cf .wpcf7-form-control-wrap { display: block; }
.cf > .btn,
.cf > .wpcf7-submit { justify-self: start; }
.cf .btn { padding-right: 8px; }

.fin {
	font: inherit;
	font-size: 1rem;
	padding: 16px 22px;
	background: rgba(255,255,255,.14);
	border: 1px solid rgba(255,255,255,.35);
	border-radius: 100px;
	color: #fff;
	width: 100%;
	min-height: 56px;
}
.fin::placeholder { color: rgba(255,255,255,.85); }
.fin:focus { outline: 2px solid #fff; outline-offset: 2px; }
textarea.fin { border-radius: 24px; resize: vertical; }

.wpcf7-not-valid-tip { display: block; margin: 6px 0 0 22px; font-size: 0.8125rem; color: #fff; }
.fin.wpcf7-not-valid { border-color: #fff; }
.contact-form .wpcf7-response-output {
	margin: 18px 0 0 !important;
	padding: 14px 22px !important;
	border: 1px solid rgba(255,255,255,.5) !important;
	border-radius: 20px;
	font-size: 0.9375rem;
}
.contact-form .wpcf7-spinner { display: none; }
.contact-form form.submitting .btn { opacity: .7; pointer-events: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.ft { background: var(--ink); color: #fff; padding-block: 64px 32px; }
.ft-wrap { display: flex; flex-direction: column; gap: 56px; }
.fgrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 40px;
}
.ft-about { display: flex; flex-direction: column; gap: 20px; }
.ft-about img { height: 48px; width: auto; display: block; }
.ft-about p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--ft-muted); }
.ft-col { display: flex; flex-direction: column; gap: 12px; font-size: 0.9375rem; }
.ft-soc-col { gap: 14px; }
.ft-lbl { font-size: 0.75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ft-muted); }
.fsoc { display: flex; gap: 10px; flex-wrap: wrap; }
.fsoc a {
	width: 44px; height: 44px;
	border-radius: 50%;
	border: 1px solid #3a3348;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.ft-word {
	font-family: var(--font-disp);
	font-weight: 600;
	font-size: clamp(2.5rem, calc(13vw * var(--fs-scale)), 14.375rem);
	line-height: .8;
	letter-spacing: -.04em;
	color: var(--violet);
	text-transform: uppercase;
}
.ft-bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 0.875rem;
	color: var(--ft-muted);
	border-top: 1px solid var(--ft-line);
	padding-top: 24px;
}
.ft-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ==========================================================================
   Inner pages: hero with breadcrumbs
   ========================================================================== */
.page-hero { min-height: 620px; }
.page-hero::before { background: rgba(10,8,20,.6); }
.page-hero-wrap {
	padding-bottom: clamp(56px, 6vw, 88px);
	gap: 32px;
}
.page-title { font-size: clamp(2.5rem, calc(6.8vw * var(--fs-scale)), 7rem); line-height: .98; }
.page-hero-text { margin: 0; font-size: clamp(1.125rem, calc(1.6vw * var(--fs-scale)), 1.375rem); line-height: 1.5; max-width: 28.2em; }
div.page-hero-text > * { margin: 0; }
div.page-hero-text > * + * { margin-top: .8em; }

.crumbs {
	align-self: flex-start;
	max-width: 100%;
	/* always one line: long trails scroll horizontally inside the pill */
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	border-radius: 100px;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.18);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: .02em;
}
.crumbs::-webkit-scrollbar { display: none; }
.crumbs ol { display: flex; flex-wrap: nowrap; align-items: center; gap: 0; width: max-content; margin: 0; padding: 5px; list-style: none; } /* padding here, not on .crumbs: it scrolls with the trail, so the end keeps its gap */
.crumbs li { display: inline-flex; align-items: center; flex: 0 0 auto; white-space: nowrap; }
.crumbs li + li::before {
	content: "";
	flex: 0 0 auto;
	width: 6px; height: 6px;
	margin: 0 8px; /* equal gaps; the -1.5px shift compensates the rotated corner sticking out to the right */
	border-top: 1.5px solid rgba(255,255,255,.55);
	border-right: 1.5px solid rgba(255,255,255,.55);
	transform: translateX(-1.5px) rotate(45deg);
}
.crumbs a,
.crumbs [aria-current] {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 14px;
	border-radius: 100px;
	color: #fff;
	transition: background-color var(--t), color var(--t);
}
.crumbs [aria-current] { padding: 0 16px; background: #fff; color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Contacts
   ========================================================================== */
.sec-contacts {
	padding-block: clamp(80px, 9vw, 140px);
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.cc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 16px;
}
.cc {
	background: #fff;
	border-radius: 28px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 22px;
	color: var(--ink);
	transition: background-color var(--t), color var(--t);
}
.ci {
	width: 56px; height: 56px;
	border-radius: 50%;
	background: var(--lilac);
	color: var(--violet-d);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color var(--t), color var(--t);
}
.cc-body { display: flex; flex-direction: column; gap: 10px; }
.lb {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted-2);
	transition: color var(--t);
}
.val {
	font-family: var(--font-disp);
	font-weight: 500;
	font-size: clamp(1.0625rem, calc(1.4vw * var(--fs-scale)), 1.25rem);
	line-height: 1.3;
	overflow-wrap: anywhere;
}
.soc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.soc-lbl {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted-2);
	margin-right: 12px;
}
.soc { display: flex; flex-wrap: wrap; gap: 10px; }
.soc a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding: 0 24px;
	border-radius: 100px;
	background: #fff;
	font-weight: 600;
	font-size: 0.9375rem;
	transition: background-color var(--t), color var(--t);
}

/* ==========================================================================
   About
   ========================================================================== */
.page-hero-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px 48px;
}
.page-hero-lg .page-title { font-size: clamp(3rem, calc(8.4vw * var(--fs-scale)), 8.25rem); line-height: .95; }

.sec-who {
	padding-block: clamp(80px, 9vw, 140px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 32px 80px;
	align-items: start;
}
.who-body { grid-column: span 2; display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.sec-who .lead-disp { font-size: clamp(1.625rem, calc(3.2vw * var(--fs-scale)), 2.875rem); max-width: none; }
.who-text { margin: 0; font-size: 1.0625rem; line-height: 1.7; color: var(--muted); max-width: 44.7em; }
div.who-text > * { margin: 0; }
div.who-text > * + * { margin-top: .8em; }

.sec-block {
	padding-bottom: clamp(80px, 9vw, 140px);
	display: flex;
	flex-direction: column;
	gap: 40px;
}
/* a light block right after the hero, the running line or a dark band starts with its own space */
.hero + .sec-block,
.mq + .sec-block,
.sec-dark + .sec-block,
.sec-light-wrap + .sec-block { padding-top: clamp(80px, 9vw, 140px); }

/* directions */
.dirs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 16px;
}
.dir {
	background: #fff;
	border-radius: 28px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-height: 200px;
	color: var(--ink);
	transition: background-color var(--t), color var(--t);
}
.num {
	align-self: flex-start;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: .1em;
	border: 1px solid #cfc7da;
	border-radius: 100px;
	padding: 8px 14px;
	color: var(--violet-d);
	transition: color var(--t), border-color var(--t);
}
.dir h3 {
	margin: auto 0 0;
	font-family: var(--font-disp);
	font-weight: 500;
	font-size: 1.375rem;
	text-transform: uppercase;
	line-height: 1.2;
}
.dir > p,
.dir > div { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--muted-2); transition: color var(--t); }
.dir > div > * { margin: 0; }

/* selected cases */
.strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 16px;
}
.strip a {
	position: relative;
	display: block;
	border-radius: 28px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	color: #fff;
	background: #222;
	isolation: isolate;
}
/* gradients cannot be animated: base layer (::before) + hover layer (::after) that fades in */
.strip a::before,
.strip a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}
.strip a::before { background: linear-gradient(180deg, rgba(14,12,20,0) 30%, rgba(40,14,64,.55) 62%, rgba(122,45,174,.94) 100%); }
.strip a::after { background: linear-gradient(180deg, rgba(14,12,20,0) 10%, rgba(60,20,90,.6) 50%, rgba(154,68,206,.96) 100%); opacity: 0; transition: opacity .4s ease; }
.strip img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: saturate(1.15);
	transition: transform .6s ease;
}
.strip .ov {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 14px;
	padding: 32px 32px 36px;
	z-index: 2;
	font-family: var(--font-disp);
	font-weight: 500;
	font-size: clamp(1.25rem, calc(1.9vw * var(--fs-scale)), 1.75rem);
	text-transform: uppercase;
	line-height: 1.15;
	text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.strip .ov::before { content: ""; width: 44px; height: 4px; border-radius: 4px; background: var(--violet-l); }

/* partner logos */
.logos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 16px;
}
.logo { background: #fff; border-radius: 28px; height: 180px; display: flex; align-items: center; justify-content: center; }
.logo img { max-width: 70%; max-height: 40px; width: auto; display: block; object-fit: contain; }

/* press (dark) */
.sec-press {
	background: var(--ink);
	color: #fff;
	padding-block: clamp(80px, 9vw, 140px);
	border-radius: 40px 40px 0 0;
}
.press a {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr) 44px;
	gap: 16px 32px;
	align-items: center;
	padding: 28px 0;
	border-top: 1px solid rgba(255,255,255,.18);
	color: #fff;
}
.press a:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.press .src { font-size: 0.875rem; color: var(--ft-muted); }
.press .tt { font-size: clamp(1.125rem, calc(1.6vw * var(--fs-scale)), 1.5rem); font-weight: 500; line-height: 1.35; }
@media (max-width: 700px) {
	.press a { grid-template-columns: minmax(0, 1fr) 44px; }
	.press .src { grid-column: 1 / -1; }
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.sec-reviews {
	padding-block: clamp(48px, 5vw, 80px) clamp(80px, 9vw, 140px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr));
	gap: 24px;
	align-items: stretch;
}
.rv2 {
	background: #fff;
	border-radius: 32px;
	padding: clamp(24px, 3vw, 40px);
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.rv2-h { display: flex; align-items: center; gap: 20px; }
.rv2-a { width: 96px; height: 96px; flex: 0 0 96px; border-radius: 50%; object-fit: cover; display: block; }
.rv2-ph { display: flex; align-items: center; justify-content: center; background: #E7E1EE; color: #8a7f99; }
.rv2-p { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rv2-n {
	margin: 0;
	font-family: var(--font-disp);
	font-weight: 500;
	font-size: clamp(1.25rem, calc(1.7vw * var(--fs-scale)), 1.5rem);
	line-height: 1.2;
	text-transform: uppercase;
}
.rv2-r { font-size: 0.9375rem; color: var(--muted-2); }
.rv2-h .quote { flex: 0 0 auto; align-self: flex-start; width: 44px; height: 34px; color: var(--violet); }
.rv2-q { margin: 0; display: flex; flex-direction: column; gap: 14px; font-size: 1.0625rem; line-height: 1.65; color: #2a2438; }
.rv2-q p { margin: 0; }
.rv2-f {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	border-top: 1px solid #eee;
	padding-top: 24px;
}

/* ==========================================================================
   Cases list (page + term archives)
   ========================================================================== */
.sec-cases-list { background: var(--ink); color: #fff; padding-block: clamp(64px, 7vw, 112px); }
.flt-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.flt { position: relative; display: flex; gap: 10px; flex-wrap: wrap; }
.flt a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 10px 0 24px;
	border-radius: 100px;
	border: 1px solid rgba(255,255,255,.3);
	font-size: 0.9375rem;
	font-weight: 600;
	color: #fff;
	transition: background-color var(--t), border-color var(--t), color var(--t);
}
.flt a[aria-current] { background: var(--violet); border-color: var(--violet); }
.flt-n {
	min-width: 32px;
	height: 32px;
	padding: 0 8px;
	border-radius: 100px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8125rem;
	background: rgba(255,255,255,.12);
	color: #fff;
	transition: background-color var(--t), color var(--t);
}
.flt a[aria-current] .flt-n { background: #fff; color: var(--violet-d); }
.flt-shown { font-size: 0.875rem; color: var(--ft-muted); }
.cs .go { position: absolute; top: 20px; right: 20px; }

.pg { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.pg .page-numbers {
	min-width: 56px;
	height: 56px;
	border-radius: 100px;
	border: 1px solid rgba(255,255,255,.3);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	color: #fff;
	transition: background-color var(--t), border-color var(--t), color var(--t);
}
.pg .current { background: var(--violet); border-color: var(--violet); }
.pg .prev,
.pg .next { padding: 0 28px; }
.pg .dots { border-color: transparent; min-width: 24px; }

/* ==========================================================================
   Single case
   ========================================================================== */
.page-hero-case .page-title { font-size: clamp(2.375rem, calc(6.4vw * var(--fs-scale)), 6.5rem); line-height: .98; max-width: 11.6em; }
.page-hero-case .page-hero-wrap { gap: 26px; }
.tech {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 16px;
	border-radius: 100px;
	border: 1px solid rgba(255,255,255,.3);
	font-size: 0.8125rem;
	font-weight: 600;
	color: #fff;
}
.share-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.share-row span { font-size: 0.9375rem; font-weight: 600; margin-left: 6px; }
.btn.btn-ico { flex: 0 0 auto; width: 56px; height: 56px; min-height: 0; padding: 0; } /* round icon button */

.sec-facts {
	padding-block: clamp(36px, 4vw, 56px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 16px;
}
.cap {
	background: #fff;
	border-radius: 28px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	transition: background-color var(--t), color var(--t);
}
.cap h3 {
	margin: 0;
	font-family: var(--font-disp);
	font-weight: 500;
	font-size: 1.25rem;
	text-transform: uppercase;
	line-height: 1.25;
}
.lbl {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--violet-d);
	transition: color var(--t);
}

.sec-steps2 { padding-bottom: clamp(44px, 5vw, 72px); display: flex; flex-direction: column; }
.step2 {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
	gap: 16px 64px;
	padding: 28px 0;
	border-top: 1px solid var(--line);
}
.step2:last-child { border-bottom: 1px solid var(--line); }
/* design patch "s2": the step label is a display heading */
.step2 .eyebrow {
	align-self: start;
	padding-top: 4px;
	font-family: var(--font-disp);
	font-size: clamp(1rem, calc(1.4vw * var(--fs-scale)), 1.375rem);
	font-weight: 500;
	letter-spacing: .04em;
	line-height: 1.2;
}
.step2 .eyebrow::before { width: 10px; height: 10px; }
.step2 > p,
.step2 > div { margin: 0; font-size: clamp(1.125rem, calc(1.6vw * var(--fs-scale)), 1.375rem); line-height: 1.6; }
.step2 > div > * { margin: 0; }
.step2 > div > * + * { margin-top: .8em; }
@media (max-width: 800px) { .step2 { grid-template-columns: minmax(0, 1fr); } }

/* photo mosaic (content_gallery): pattern big 2x2, wide 2x1, small, small — repeated */
.galg {
	padding-bottom: clamp(48px, 5vw, 80px);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 220px;
	gap: 16px;
}
.gal { display: block; border-radius: 28px; overflow: hidden; background: #e4dfea; cursor: zoom-in; }
.gal img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.gal-big { grid-column: span 2; grid-row: span 2; }
.gal-wide { grid-column: span 2; }
.gal-full { grid-column: 1 / -1; grid-row: span 2; }
@media (max-width: 700px) {
	/* phones: the first photo is wide, the rest go two per row; a single last photo takes the full row */
	.galg { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 10px; }
	.galg > * { grid-column: auto; grid-row: auto; }
	.galg > :first-child,
	.galg > :last-child:nth-child(even) { grid-column: 1 / -1; }
}

/* dark sections: frames + video, client review */
.sec-dark { background: var(--ink); color: #fff; padding-block: clamp(56px, 6vw, 96px); }
.sec-dark-first { border-radius: 40px 40px 0 0; }
.sec-frames + .sec-review { padding-top: 0; }
.sec-frames + .sec-review .case-review { border-top: 1px solid rgba(255,255,255,.14); padding-top: clamp(48px, 5vw, 80px); max-width: none; }
.sec-note-dark { color: var(--ft-muted); }

.gstrip {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 10px;
	scrollbar-width: thin;
	scrollbar-color: var(--violet) #221d2e;
}
.gfr {
	position: relative;
	flex: 0 0 min(420px, 78%);
	aspect-ratio: 16 / 10;
	margin: 0;
	border-radius: 22px;
	overflow: hidden;
	background: #221d2e;
	scroll-snap-align: start;
}
.gfr .lb-link { position: absolute; inset: 0; cursor: zoom-in; }
.gfr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gfr figcaption { pointer-events: none; }
.gfr figcaption {
	position: absolute;
	left: 14px;
	bottom: 14px;
	padding: 6px 12px;
	border-radius: 100px;
	background: rgba(14,12,20,.65);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
}

.gvid { position: relative; display: block; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 7; background: #221d2e; color: #fff; }
.gvid img,
.gvid video { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .45; pointer-events: none; }
.gplay {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: var(--violet);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 14px rgba(154,68,206,.25);
	transition: background-color var(--t), box-shadow var(--t);
}
.gvt { position: absolute; left: 24px; bottom: 22px; font-size: 0.875rem; color: #ddd6e8; }

.case-review { margin: 0; display: flex; flex-direction: column; gap: 28px; max-width: 1100px; }
.case-review blockquote {
	margin: 0;
	font-size: clamp(1.375rem, calc(2.4vw * var(--fs-scale)), 2.25rem);
	line-height: 1.3;
	text-transform: none;
	font-weight: 400;
}
.case-review blockquote p { margin: 0 0 .6em; }
.case-review blockquote p:last-child { margin-bottom: 0; }
.case-review figcaption { display: flex; align-items: center; gap: 16px; }
.case-review-ava { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 50%; object-fit: cover; display: block; }
.case-review-name { display: block; font-weight: 600; font-size: 1.0625rem; }
.case-review-pos { font-size: 0.9375rem; color: var(--ft-muted); }

/* case cards with the title over the photo (design patch "k1"): other cases, examples */
.cs-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px 16px; }
.cs-ov {
	position: relative;
	display: block;
	border-radius: 28px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: #221d2e;
	color: #fff;
	isolation: isolate;
}
.cs-ov .im { position: absolute; inset: 0; display: block; }
.cs-ov img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.12); transition: transform .6s ease; }
/* gradients cannot be animated: base layer (::before) + hover layer (::after) that fades in */
.cs-ov::before,
.cs-ov::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}
.cs-ov::before { background: linear-gradient(180deg, rgba(14,12,20,0) 32%, rgba(40,14,64,.55) 64%, rgba(122,45,174,.94) 100%); }
.cs-ov::after { background: linear-gradient(180deg, rgba(14,12,20,0) 12%, rgba(60,20,90,.6) 52%, rgba(154,68,206,.96) 100%); opacity: 0; transition: opacity .4s ease; }
.cs-ov h3 {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	margin: 0;
	padding: 0 32px 34px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	font-size: clamp(1.375rem, calc(2vw * var(--fs-scale)), 1.875rem);
	line-height: 1.15;
	color: #fff;
	text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.cs-ov h3::before { content: ""; width: 44px; height: 4px; border-radius: 4px; background: var(--violet-l); }

/* ==========================================================================
   Solutions / services: list cards and page blocks
   ========================================================================== */
/* list of solutions (design + patch "k1": alternating sides) */
.sec-sols { padding-block: clamp(56px, 6vw, 96px); display: flex; flex-direction: column; gap: 24px; }
.sol {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 56px;
	background: #fff;
	border-radius: 40px;
	padding: clamp(16px, 2vw, 24px);
	color: var(--ink);
}
.sol:nth-child(even) { flex-direction: row-reverse; }
.sol .im { position: relative; flex: 1.25 1 420px; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; background: #ddd; }
.sol .im img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.sol .tx { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; justify-content: center; padding: clamp(4px, 2vw, 24px); }
.sol h2 { font-size: clamp(1.875rem, calc(3.4vw * var(--fs-scale)), 3.25rem); line-height: 1.02; }
.sol .tx > p,
.sol .tx > div { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--muted); }
.sol .tx > div > * { margin: 0; }
.sol .num { font-size: 0.875rem; }
.sol .btn { align-self: flex-start; }

/* block "intro" */
.sec-intro .lead-disp { font-size: clamp(1.5rem, calc(2.8vw * var(--fs-scale)), 2.5rem); line-height: 1.25; }
.sec-intro .who-body { gap: 28px; }

/* block "partner" (patch "e1") */
.emp {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 32px 64px;
	background: var(--violet);
	color: #fff;
	border-radius: 40px;
	padding: clamp(28px, 4vw, 64px);
}
.emp-l { flex: 1 1 220px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 6px; }
.emp-l .eyebrow { color: #fff; opacity: .9; }
.emp-l .eyebrow::before { background: #fff; }
.emp-l img { height: 30px; width: auto; display: block; filter: brightness(0) invert(1); }
.emp-r { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.emp-title { margin: 0; font-size: clamp(1.375rem, calc(2.4vw * var(--fs-scale)), 2.25rem); line-height: 1.25; text-transform: none; font-weight: 400; }
.emp-title span { color: #E7CCF7; }
.emp-text { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: rgba(255,255,255,.88); }
div.emp-text > * { margin: 0; }
.emp .btn { align-self: flex-start; }
.btn.btn-light { background: #fff; color: var(--violet-d); }
.btn.btn-light .chip { background: var(--violet); color: #fff; }

/* block "cards": numbered cards */
.caps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.cap-card { min-height: 260px; }
.cap-card h3 { margin-top: auto; }
.cap > p,
.cap > div { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--muted-2); transition: color var(--t); }
.cap > div > * { margin: 0; }
.cap .num { transition: color var(--t), border-color var(--t); }

/* block "gallery" (design ".sgal"): big 2x2 + four small, repeated; a tile with a title and a line */
.sgal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 16px; }
.sg { position: relative; display: block; margin: 0; border-radius: 28px; overflow: hidden; background: #221d2e; color: #fff; }
a.sg { cursor: zoom-in; }
.sg.big { grid-column: span 2; grid-row: span 2; }
.sg.wide { grid-column: span 2; }
.sg.full { grid-column: 1 / -1; }
.sg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease; }
.sg-cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 60px 22px 20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	background: linear-gradient(0deg, rgba(7,6,11,.82), rgba(7,6,11,0));
	pointer-events: none;
}
.sg-cap b { font-family: var(--font-disp); font-weight: 500; font-size: clamp(1rem, calc(1.3vw * var(--fs-scale)), 1.25rem); text-transform: uppercase; line-height: 1.2; }
.sg-cap span { font-size: 0.875rem; color: #ddd6e8; }
.sec-note-wide { max-width: 28.25em; }

/* block "faq": title left, accordion right */
.faq-split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
	gap: 48px 80px;
	align-items: start;
}
.faq-title { font-size: clamp(1.625rem, calc(3vw * var(--fs-scale)), 2.75rem); line-height: 1.1; }

/* block "text" */
.entry { font-size: 1.0625rem; line-height: 1.7; color: var(--muted); max-width: 48em; }

/* hero with the 3D room (patch "ss1") */
.shero { background: #07060b; }
.shero::before {
	background: linear-gradient(90deg, rgba(7,6,11,.86) 0%, rgba(7,6,11,.55) 48%, rgba(7,6,11,.2) 100%),
		linear-gradient(0deg, rgba(7,6,11,.75), rgba(7,6,11,0) 45%);
}
.sroom { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.sroom .w { position: absolute; inset: 0; overflow: hidden; }
.sroom .w img { position: absolute; inset: -6%; width: 112%; height: 112%; max-width: none; object-fit: cover; animation: sdrift 22s ease-in-out infinite alternate; }
.sroom .ceil { clip-path: polygon(0 0, 100% 0, 74% 20%, 26% 20%); background: #0b0912; }
.sroom .back { clip-path: polygon(26% 20%, 74% 20%, 74% 70%, 26% 70%); }
.sroom .left { clip-path: polygon(0 0, 26% 20%, 26% 70%, 0 100%); filter: brightness(.7); }
.sroom .right { clip-path: polygon(100% 0, 74% 20%, 74% 70%, 100% 100%); filter: brightness(.7); }
.sroom .floor { clip-path: polygon(0 100%, 26% 70%, 74% 70%, 100% 100%); filter: brightness(.55) saturate(1.3); }
.sroom .right img { animation-delay: -7s; }
.sroom .floor img { animation-delay: -14s; }
.sroom .beam {
	position: absolute;
	top: 0;
	width: 26%;
	height: 72%;
	background: linear-gradient(180deg, rgba(194,139,230,.35), rgba(194,139,230,0));
	clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%);
	mix-blend-mode: screen;
	opacity: .55;
}
.sroom .b1 { left: 18%; }
.sroom .b2 { left: 44%; }
.sroom .b3 { right: 14%; }
.sroom .ppl { position: absolute; bottom: 16%; width: 1.6%; aspect-ratio: 1 / 3.2; background: #07060b; border-radius: 40% 40% 12% 12% / 18% 18% 6% 6%; }
.sroom .ppl::before { content: ""; position: absolute; left: 50%; top: -30%; width: 72%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #07060b; }
.sroom .p1 { left: 58%; }
.sroom .p2 { left: 63%; bottom: 14%; width: 1.9%; }
.sroom .p3 { left: 70%; bottom: 18%; width: 1.3%; }
@keyframes sdrift { to { transform: translate(-3%, -2%) scale(1.04); } }

/* ==========================================================================
   Services: list page, page blocks "steps" / "formats", joined bands, hero with the side room
   ========================================================================== */
.sec-services { padding-block: clamp(56px, 6vw, 96px); display: flex; flex-direction: column; gap: 48px; }
.svc-dev-head { margin-top: 40px; }
/* directions: rows */
.svl a {
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr) 44px;
	gap: 12px 32px;
	align-items: center;
	padding: 28px 0;
	border-top: 1px solid var(--line);
	color: var(--ink);
}
.svl a:last-child { border-bottom: 1px solid var(--line); }
.svl .n { font-size: 0.875rem; font-weight: 600; color: var(--violet-d); }
.svl .t { font-family: var(--font-disp); font-weight: 500; font-size: clamp(1.375rem, calc(2.6vw * var(--fs-scale)), 2.5rem); text-transform: uppercase; line-height: 1.1; transition: color var(--t); }
.svl .d { font-size: 1rem; color: #555; }
/* development: photo tiles */
.tiles5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.tile-svc { aspect-ratio: 4 / 5; }
.tile-svc .ov { background: rgba(10,8,20,.42); padding: 24px; }
.tile-svc h3 { font-size: clamp(1.125rem, calc(1.5vw * var(--fs-scale)), 1.375rem); }

/* dark blocks in a row: one band with a line between them */
.sec-dark-join { padding-top: 0; }
.sec-dark-join > .wrap { border-top: 1px solid rgba(255,255,255,.14); padding-top: clamp(56px, 6vw, 96px); }
/* light cards in a row ("cases" + "faq"): one card */
.sec-light-wrap.join-next { padding-bottom: 0; }
.join-next .sec-light-card { border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; }
.join-prev .sec-light-card { border-top-left-radius: 0; border-top-right-radius: 0; padding-top: clamp(64px, 7vw, 112px); }

/* block "steps" */
.sec-steps-wrap { gap: 56px; }
.tech-block { display: flex; flex-direction: column; gap: 24px; }
.tech.tech-lg { min-height: 48px; padding: 0 22px; font-size: 0.9375rem; }
.steps { list-style: none; margin: 0; padding: 0; }
.step {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 16px 40px;
	align-items: start;
	padding: 32px 0;
	border-top: 1px solid rgba(255,255,255,.18);
}
.step:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.step .n { font-family: var(--font-disp); font-size: 2.5rem; color: var(--violet); line-height: 1; }
.step h3 { margin: 0; font-family: var(--font-disp); font-weight: 500; font-size: 1.375rem; text-transform: uppercase; line-height: 1.2; }
.step > p,
.step > div { margin: 0; font-size: 1rem; line-height: 1.6; color: #bdb6c9; }
.step > div > * { margin: 0; }

/* block "formats" */
.cs-row-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }

/* hero with the 3D room in a frame (patch "r1") */
.ihero { background: #07060b; }
.ihero::before { background: radial-gradient(60% 70% at 75% 50%, rgba(154,68,206,.35), rgba(7,6,11,0) 70%); }
.ihero-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
	gap: 40px 64px;
	align-items: center;
}
.ihero-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; container-type: inline-size; }
/* the title fits its column (a long word must not run under the room): ~8.5em per 10 letters */
.ihero .page-title { font-size: clamp(2rem, min(calc(5.6vw * var(--fs-scale)), 11.5cqi), 5.75rem); overflow-wrap: break-word; }
.ihero .page-hero-row { flex-direction: column; align-items: flex-start; gap: 28px; }
.ihero .page-hero-text { font-size: clamp(1.125rem, calc(1.5vw * var(--fs-scale)), 1.3125rem); line-height: 1.55; max-width: 26.7em; }
.room {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 28px;
	overflow: hidden;
	background: #07060b;
	box-shadow: 0 30px 80px rgba(154,68,206,.25), inset 0 0 0 1px rgba(255,255,255,.08);
}
.room .w { position: absolute; inset: 0; overflow: hidden; }
.room .w img { position: absolute; inset: -8%; width: 116%; height: 116%; max-width: none; object-fit: cover; animation: rdrift 18s ease-in-out infinite alternate; }
.room .ceil { clip-path: polygon(0 0, 100% 0, 80% 16%, 20% 16%); background: #0d0b14; }
.room .back { clip-path: polygon(20% 16%, 80% 16%, 80% 72%, 20% 72%); }
.room .left { clip-path: polygon(0 0, 20% 16%, 20% 72%, 0 100%); filter: brightness(.78); }
.room .right { clip-path: polygon(100% 0, 80% 16%, 80% 72%, 100% 100%); filter: brightness(.78); }
.room .floor { clip-path: polygon(0 100%, 20% 72%, 80% 72%, 100% 100%); filter: brightness(.62) saturate(1.2); }
.room .right img { animation-delay: -6s; }
.room .floor img { animation-delay: -12s; }
.room .beam {
	position: absolute;
	top: 0;
	width: 34%;
	height: 80%;
	background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0));
	clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
	mix-blend-mode: screen;
	opacity: .5;
	pointer-events: none;
}
.room .b1 { left: 12%; }
.room .b2 { right: 12%; }
.room .person { position: absolute; left: 47%; bottom: 13%; width: 6%; aspect-ratio: 1 / 3; background: #07060b; border-radius: 40% 40% 10% 10% / 18% 18% 6% 6%; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.room .person::before { content: ""; position: absolute; left: 50%; top: -34%; width: 70%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #07060b; }
.room .rtag {
	position: absolute;
	padding: 8px 14px;
	border-radius: 100px;
	background: rgba(14,12,20,.72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	border: 1px solid rgba(255,255,255,.18);
}
.room .t1 { top: 6%; left: 50%; transform: translateX(-50%); }
.room .t2 { bottom: 5%; left: 50%; transform: translateX(-50%); }
.room .t3 { top: 44%; right: 4%; }
@keyframes rdrift { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.06); } }

/* ==========================================================================
   Ideas: list, category filter, card, single idea (patches "i1", "b1")
   ========================================================================== */
.sec-ideas { padding-block: clamp(44px, 5vw, 72px) clamp(64px, 7vw, 112px); display: flex; flex-direction: column; gap: 32px; }
/* filter on a light page */
.flt-light a { min-height: 48px; padding: 0 22px; border-color: var(--line); background: #fff; color: var(--ink); }
.flt-light a[aria-current] { background: var(--violet); border-color: var(--violet); color: #fff; }
.pg-light .page-numbers { border-color: var(--line); background: #fff; color: var(--ink); }
.pg-light .current { background: var(--violet); border-color: var(--violet); color: #fff; }
.pg-light .dots { background: transparent; }

/* card pieces shared by ideas (and later the blog) */
.bmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 0.8125rem; color: #6b6178; }
.bcat {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 12px;
	border-radius: 100px;
	background: var(--lilac);
	color: var(--violet-d);
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-size: 0.75rem;
}
.bim { display: block; overflow: hidden; background: #ddd; }
.bim img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.btt { font-family: var(--font-disp); font-weight: 500; font-size: clamp(1.1875rem, calc(1.6vw * var(--fs-scale)), 1.4375rem); line-height: 1.2; text-transform: uppercase; }
.bex { font-size: 1rem; line-height: 1.6; color: #555; }

/* idea card */
.idgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 20px; }
.idc {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	background: #fff;
	border-radius: 32px;
	padding: 14px 14px 26px;
	color: var(--ink);
	transition: transform .4s ease, box-shadow .4s ease;
}
.idc .bim { aspect-ratio: 16 / 10; border-radius: 22px; }
.idc .idn {
	position: absolute;
	top: 26px;
	left: 26px;
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	border-radius: 100px;
	background: #fff;
	font-family: var(--font-disp);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--violet-d);
}
.idc .ib { display: flex; flex-direction: column; gap: 12px; padding: 0 12px; }
.idc .btt { font-size: clamp(1.1875rem, calc(1.5vw * var(--fs-scale)), 1.375rem); }
.idc .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9375rem; color: var(--violet-d); margin-top: 4px; }
.idc .more svg { width: 16px; height: 16px; transition: transform var(--t); }
.idc.dk { background: #1b1724; color: #fff; }
.idc.dk .idn { background: var(--ink); color: var(--violet-l); }
.idc.dk .more { color: var(--violet-l); }
.idc.dk .bcat { background: rgba(255,255,255,.1); color: #fff; }
.idc.dk .bmeta { color: #bdb6c9; }

/* blog: "Популярні" + "Усі статті" */
.sec-blog { gap: 40px; }
.blog-group { display: flex; flex-direction: column; gap: 24px; }
.blog-h { font-size: clamp(1.5rem, calc(2.4vw * var(--fs-scale)), 2.25rem); line-height: 1.1; }
/* [center] shortcode of the old articles */
:is(.art, .entry) .center-column { width: 80%; margin: 0 auto 18px; clear: both; }

/* single idea */
.page-hero-idea .page-title { font-size: clamp(2.125rem, calc(5vw * var(--fs-scale)), 5rem); line-height: 1; max-width: 13.75em; }
.page-hero-idea .page-hero-wrap { gap: 24px; }
.idhero-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.idhero-n { font-family: var(--font-disp); font-weight: 500; font-size: clamp(0.9375rem, calc(1.2vw * var(--fs-scale)), 1.125rem); letter-spacing: .08em; text-transform: uppercase; color: #E7CCF7; }
.bcat.bcat-w { background: rgba(255,255,255,.16); color: #fff; }
.sec-idfacts { padding-top: clamp(36px, 4vw, 56px); }
.idfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.idfacts .cap { min-height: 0; }
.sec-article { padding-block: clamp(44px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 40px 80px; align-items: flex-start; }
.aside { flex: 1 1 240px; max-width: 300px; display: flex; flex-direction: column; gap: 28px; position: sticky; top: 120px; }
.admin-bar .aside { top: 152px; }
.toc { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid #E7CCF7; padding-left: 18px; }
.toc .lbl { margin-bottom: 8px; }
.toc a { font-size: 0.9375rem; padding: 6px 0; color: #444; transition: color var(--t); }
.share .lbl { display: block; margin-bottom: 10px; }
.share-btns { display: flex; gap: 8px; }
.share .ico { background: #fff; }
button.ico { border: 0; padding: 0; font: inherit; cursor: pointer; }
.share .ico.is-copied { background: var(--violet); color: #fff; }
.art { flex: 999 1 560px; min-width: 0; max-width: 45.5em; font-size: 1.125rem; line-height: 1.75; color: #2a2438; }
.art .lead { font-size: clamp(1.25rem, calc(1.8vw * var(--fs-scale)), 1.5rem); line-height: 1.55; color: var(--ink); margin: 0 0 32px; }
/* Text from the editor: ideas, default pages, the "Текст" block, the blog (.art / .entry) */
:is(.art, .entry) > :first-child { margin-top: 0; }
:is(.art, .entry) > :last-child { margin-bottom: 0; }
:is(.art, .entry)::after { content: ""; display: table; clear: both; } /* floated images */
:is(.art, .entry) h2,
:is(.art, .entry) h3,
:is(.art, .entry) h4,
:is(.art, .entry) h5,
:is(.art, .entry) h6 { color: var(--ink); scroll-margin-top: 120px; }
:is(.art, .entry) h2 { font-family: var(--font-disp); font-weight: 500; font-size: clamp(1.375rem, calc(2.2vw * var(--fs-scale)), 2rem); line-height: 1.2; text-transform: uppercase; margin: 48px 0 16px; }
:is(.art, .entry) h3 { font-family: var(--font-disp); font-weight: 500; font-size: 1.25rem; line-height: 1.25; text-transform: uppercase; margin: 36px 0 12px; }
:is(.art, .entry) h4 { font-size: 1.125rem; font-weight: 700; line-height: 1.35; margin: 28px 0 10px; }
:is(.art, .entry) h5,
:is(.art, .entry) h6 { font-size: 0.9375rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; margin: 24px 0 8px; }
:is(.art, .entry) p { margin: 0 0 18px; }
:is(.art, .entry) ul,
:is(.art, .entry) ol { margin: 0 0 18px; padding-left: 22px; }
:is(.art, .entry) li { margin-bottom: 8px; }
:is(.art, .entry) li::marker { color: var(--violet); }
:is(.art, .entry) ol > li::marker { font-weight: 600; }
:is(.art, .entry) li > ul,
:is(.art, .entry) li > ol { margin: 8px 0 0; }
:is(.art, .entry) dl { margin: 0 0 18px; }
:is(.art, .entry) dt { font-weight: 700; color: var(--ink); }
:is(.art, .entry) dd { margin: 0 0 12px; }
:is(.art, .entry) strong,
:is(.art, .entry) b { font-weight: 700; color: var(--ink); }
:is(.art, .entry) a:not(.btn) { color: var(--violet-d); text-decoration: underline; text-underline-offset: 2px; transition: color var(--t); }
:is(.art, .entry) mark { background: #E7CCF7; color: var(--ink); border-radius: 4px; padding: 0 3px; }
:is(.art, .entry) sub,
:is(.art, .entry) sup { font-size: .75em; line-height: 0; }
:is(.art, .entry) abbr[title] { text-decoration: underline dotted; cursor: help; }
:is(.art, .entry) code,
:is(.art, .entry) kbd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .875em; background: var(--lilac); color: var(--violet-dd); border-radius: 6px; padding: .1em .4em; }
:is(.art, .entry) pre { margin: 0 0 24px; padding: 20px 24px; border-radius: 18px; background: var(--ink); color: #e9e4f0; font-size: 0.875rem; line-height: 1.6; overflow-x: auto; }
:is(.art, .entry) pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
:is(.art, .entry) hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
:is(.art, .entry) blockquote { margin: 32px 0; padding: 24px 28px; border-radius: 24px; background: var(--lilac); font-family: var(--font-disp); font-size: clamp(1.125rem, calc(1.6vw * var(--fs-scale)), 1.375rem); line-height: 1.45; color: #3d1d58; }
:is(.art, .entry) blockquote p { margin: 0; }
:is(.art, .entry) blockquote p + p { margin-top: .6em; }
:is(.art, .entry) blockquote cite { display: block; margin-top: 12px; font-family: var(--font); font-size: 0.875rem; font-style: normal; font-weight: 600; color: var(--violet-d); }
/* images, captions, alignment */
:is(.art, .entry) img { max-width: 100%; height: auto; border-radius: 24px; display: block; }
:is(.art, .entry) figure { margin: 32px 0; max-width: 100%; }
:is(.art, .entry) .wp-caption { width: auto !important; } /* WordPress sets the image width inline */
:is(.art, .entry) figure img { width: 100%; }
:is(.art, .entry) a.lb-link { cursor: zoom-in; }
:is(.art, .entry) figcaption { font-size: 0.875rem; line-height: 1.5; color: #6b6178; margin-top: 10px; }
:is(.art, .entry) .alignleft { float: left; max-width: 50%; margin: 6px 32px 16px 0; }
:is(.art, .entry) .alignright { float: right; max-width: 50%; margin: 6px 0 16px 32px; }
:is(.art, .entry) .aligncenter { margin-left: auto; margin-right: auto; }
:is(.art, .entry) img.aligncenter { display: block; }
:is(.art, .entry) .wp-caption.alignleft,
:is(.art, .entry) .wp-caption.alignright { width: 50% !important; }
/* [gallery] shortcode */
:is(.art, .entry) .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 32px 0; }
:is(.art, .entry) .gallery-columns-1 { grid-template-columns: minmax(0, 1fr); }
:is(.art, .entry) .gallery-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:is(.art, .entry) .gallery-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
:is(.art, .entry) .gallery-columns-5,
:is(.art, .entry) .gallery-columns-6,
:is(.art, .entry) .gallery-columns-7,
:is(.art, .entry) .gallery-columns-8,
:is(.art, .entry) .gallery-columns-9 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
:is(.art, .entry) .gallery-item { margin: 0; }
:is(.art, .entry) .gallery-icon img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
:is(.art, .entry) .gallery-caption { font-size: 0.8125rem; margin-top: 6px; }
/* tables (wrapped in .tbl by main.js so wide ones scroll) */
:is(.art, .entry) .tbl { margin: 0 0 24px; overflow-x: auto; }
:is(.art, .entry) table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
:is(.art, .entry) th,
:is(.art, .entry) td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
:is(.art, .entry) th { font-weight: 700; color: var(--ink); background: var(--lilac); }
:is(.art, .entry) thead th:first-child { border-top-left-radius: 12px; }
:is(.art, .entry) thead th:last-child { border-top-right-radius: 12px; }
/* embeds: YouTube / Vimeo, [video], [audio] */
:is(.art, .entry) iframe { display: block; max-width: 100%; border: 0; border-radius: 18px; margin: 32px 0; }
:is(.art, .entry) iframe[src*="youtube"],
:is(.art, .entry) iframe[src*="youtu.be"],
:is(.art, .entry) iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
:is(.art, .entry) video { display: block; max-width: 100%; height: auto; border-radius: 18px; }
:is(.art, .entry) .wp-video { width: 100% !important; max-width: 100%; margin: 32px 0; }
:is(.art, .entry) audio,
:is(.art, .entry) .wp-audio-shortcode { width: 100%; margin: 0 0 24px; }
.acta { margin-top: 48px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 28px; padding: 28px 32px; }
.acta-title { font-size: clamp(1.25rem, calc(2vw * var(--fs-scale)), 1.75rem); line-height: 1.2; }
.idnav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.14); padding-top: 28px; }
.idnav a { display: flex; flex-direction: column; gap: 6px; color: #fff; max-width: 26.25em; transition: color var(--t); }
.idnav small { font-size: 0.8125rem; letter-spacing: .1em; text-transform: uppercase; color: #bdb6c9; }
.idnav .r { text-align: right; margin-left: auto; }

/* ==========================================================================
   Search (patch "q1")
   ========================================================================== */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.page-hero-search .page-title { font-size: clamp(2.25rem, calc(5.4vw * var(--fs-scale)), 5.25rem); }
.page-hero-search .page-hero-wrap { gap: 28px; }
.sbig {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 55rem;
	background: #fff;
	border-radius: 100px;
	padding: 6px 6px 6px 22px;
	color: var(--ink);
	box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.sbig svg { flex: 0 0 auto; color: var(--violet-d); }
.sbig input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1.125rem; padding: 14px 4px; background: transparent; color: var(--ink); }
.sbig input::-webkit-search-cancel-button { cursor: pointer; }
.sbig:focus-within { box-shadow: 0 20px 50px rgba(0,0,0,.25), 0 0 0 3px var(--violet-l); }
.sbig .btn { min-height: 52px; }
.sfound { margin: 0; font-size: 1.0625rem; color: #ddd6e8; }
.sfound b { color: #fff; }

.sec-search { padding-block: clamp(48px, 5vw, 80px) clamp(80px, 9vw, 140px); display: flex; flex-direction: column; gap: 32px; }
.flt-light.flt-count a { padding: 0 8px 0 20px; }
.flt-light .flt-n { min-width: 30px; height: 30px; background: var(--lilac); color: var(--violet-d); }
.flt-light a[aria-current] .flt-n { background: #fff; color: var(--violet-d); }
.sres { display: flex; flex-direction: column; }
.srow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 180px;
	gap: 20px 40px;
	align-items: center;
	padding: 28px 0;
	border-top: 1px solid var(--line);
	color: var(--ink);
}
.srow:last-child { border-bottom: 1px solid var(--line); }
.stx { display: flex; flex-direction: column; gap: 10px; min-width: 0; grid-column: 1; }
.stype { align-self: flex-start; font-size: 0.75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--violet-d); background: var(--lilac); border-radius: 100px; padding: 6px 12px; }
.stt { font-family: var(--font-disp); font-weight: 500; font-size: clamp(1.25rem, calc(1.8vw * var(--fs-scale)), 1.625rem); line-height: 1.2; text-transform: uppercase; overflow-wrap: anywhere; transition: color var(--t); }
.sex { font-size: 1rem; line-height: 1.6; color: #444; }
.sex mark { background: #E7CCF7; color: var(--ink); border-radius: 4px; padding: 0 3px; }
.surl { font-size: 0.8125rem; color: #7a7088; overflow-wrap: anywhere; }
.sim { width: 180px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #ddd; }
.sim img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg.pg-left { justify-content: flex-start; margin-top: 0; }
.snone { display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: flex-start; background: #fff; border-radius: 28px; padding: clamp(24px, 3vw, 40px); margin-top: 24px; }
.snone-text { display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: 999 1 420px; }
.snone-title { font-size: clamp(1.375rem, calc(2.4vw * var(--fs-scale)), 2.125rem); line-height: 1.15; }
.snone-text p { margin: 0; font-size: 1rem; line-height: 1.6; color: #555; }
.snone-links { display: flex; gap: 10px; flex-wrap: wrap; flex: 1 1 320px; align-content: flex-start; }
.spop { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 100px; background: var(--lilac); color: var(--violet-dd); font-weight: 600; font-size: 0.875rem; transition: background-color var(--t), color var(--t); }
@media (max-width: 640px) {
	.srow { grid-template-columns: minmax(0, 1fr) 88px; gap: 12px 16px; padding: 20px 0; }
	.sim { width: 88px; border-radius: 12px; }
	.sex { font-size: 0.875rem; }
	.stt { font-size: 1.0625rem; }
	.sbig { padding-left: 16px; }
	.sbig input { font-size: 1rem; }
	.sbig .btn { padding: 0 18px; }
}

/* ==========================================================================
   Default page (design "Policy")
   ========================================================================== */
.page-hero-doc .page-title { font-size: clamp(2.125rem, calc(5vw * var(--fs-scale)), 4.75rem); line-height: 1; max-width: 15em; }
.page-hero-doc .page-hero-wrap { gap: 24px; }
.doc-updated { margin: 0; font-size: 1rem; color: #ddd6e8; }
.sec-doc { padding-block: clamp(56px, 6vw, 96px) clamp(80px, 9vw, 140px); }

/* ==========================================================================
   404 (design "NotFound")
   ========================================================================== */
.hero-404 .ihero-main { gap: 26px; }
.hero-404 .page-title { font-size: clamp(2.125rem, calc(4.6vw * var(--fs-scale)), 4.5rem); line-height: 1; }
.hero-404 .page-hero-text { font-size: 1.125rem; line-height: 1.55; max-width: 28.9em; }
.hero-404 .sbig { max-width: 35rem; }
.n404 {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .04em;
	font-family: var(--font-disp);
	font-weight: 500;
	font-size: clamp(7.5rem, calc(19vw * var(--fs-scale)), 18.75rem);
	line-height: .9;
	-webkit-user-select: none;
	user-select: none;
}
.n404 .d {
	background: linear-gradient(180deg, #fff 0%, #E7CCF7 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 18px 40px rgba(154,68,206,.35));
}
.n404 .o {
	position: relative;
	flex: 0 0 auto;
	width: .7em;
	height: .7em;
	margin-inline: .03em;
	border-radius: 50%;
	background: conic-gradient(from 210deg, #E7CCF7, #9A44CE, #5f1f8a, #C28BE6, #E7CCF7);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - .09em), #000 calc(100% - .085em));
	mask: radial-gradient(farthest-side, transparent calc(100% - .09em), #000 calc(100% - .085em));
	filter: drop-shadow(0 0 30px rgba(154,68,206,.7));
	animation: n4spin 9s linear infinite;
}
.n404 .o::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 70px rgba(154,68,206,.5); }
@keyframes n4spin { to { transform: rotate(360deg); } }
.sec-404 { padding-block: clamp(64px, 7vw, 112px); display: flex; flex-direction: column; gap: 32px; }
.caps-404 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.cap-link { min-height: 180px; color: var(--ink); transition: background-color var(--t), color var(--t); }
.cap-link h3 { margin-top: auto; }

/* ==========================================================================
   App (patch "b1": stores, phone)
   ========================================================================== */
.page-hero-app .page-title { font-size: clamp(2.5rem, calc(6vw * var(--fs-scale)), 6rem); line-height: .96; }
.page-hero-app .page-hero-text { font-size: clamp(1.125rem, calc(1.5vw * var(--fs-scale)), 1.3125rem); line-height: 1.55; max-width: 25.7em; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 60px;
	padding: 0 22px;
	border-radius: 18px;
	background: #fff;
	color: var(--ink);
	font-weight: 600;
	font-size: 1.0625rem;
	line-height: 1.2;
	transition: background-color var(--t), color var(--t);
}
.store svg { flex: 0 0 auto; }
.store small { display: block; font-size: 0.6875rem; font-weight: 500; color: #6b6178; }
.phone {
	justify-self: center;
	width: min(300px, 70%);
	aspect-ratio: 9 / 19;
	border-radius: 44px;
	background: var(--ink);
	padding: 12px;
	box-shadow: 0 30px 80px rgba(154,68,206,.35), inset 0 0 0 2px rgba(255,255,255,.12);
}
.ph-scr { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #221d2e; }
.ph-scr img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-ar { position: absolute; top: 18px; left: 18px; padding: 6px 12px; border-radius: 100px; background: var(--violet); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: .1em; }
.ph-bar { position: absolute; left: 50%; bottom: 14px; width: 40%; height: 5px; border-radius: 5px; background: rgba(255,255,255,.7); transform: translateX(-50%); }

/* ==========================================================================
   AR: folders, models, <model-viewer> (single-ar.php, [ar_viewer])
   ========================================================================== */
.sec-ar { padding-block: clamp(56px, 6vw, 96px) clamp(80px, 9vw, 140px); display: flex; flex-direction: column; gap: 32px; }

.arv { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.arv model-viewer { display: block; width: 100%; height: 100%; outline: none; --poster-color: transparent; background: radial-gradient(70% 70% at 50% 45%, #2a2238 0%, #0E0C14 75%); }
.ar-btn { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); white-space: nowrap; box-shadow: 0 16px 40px rgba(154,68,206,.45); }
.ar-btn svg { flex: 0 0 auto; }

/* annotation points */
.hotspot { position: relative; display: block; width: 0; height: 0; padding: 0; border: 0; background: none; cursor: pointer; --min-hotspot-opacity: .25; }
.hs-dot {
	position: absolute;
	left: -16px;
	top: -16px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--violet-d);
	font-size: 0.8125rem;
	font-weight: 700;
	box-shadow: 0 0 0 6px rgba(154,68,206,.35);
	transition: background-color var(--t), color var(--t), box-shadow var(--t);
}
.hotspot.is-active .hs-dot { background: var(--violet); color: #fff; box-shadow: 0 0 0 8px rgba(154,68,206,.35); }
.annotation {
	position: absolute;
	left: 24px;
	top: 24px;
	width: max-content;
	max-width: min(280px, 70vw);
	padding: 12px 16px;
	border-radius: 16px;
	background: rgba(14,12,20,.85);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: #fff;
	font-size: 0.875rem;
	line-height: 1.45;
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--t), visibility var(--t);
}
.annotation > * { margin: 0; }
.hotspot.is-active .annotation { opacity: 1; visibility: visible; }
.hs-nav { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 100px; background: rgba(14,12,20,.75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hs-nav[hidden] { display: none; }
.hs-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color var(--t), border-color var(--t); }
.hs-num { min-width: 3.5em; text-align: center; font-size: 0.875rem; font-weight: 600; }

/* full-screen model page */
body.ar-full { background: var(--ink); overflow: hidden; }
.ar-page { position: fixed; inset: 0; }
.arv-full { position: absolute; inset: 0; }
.ar-top { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: clamp(16px, 2.5vw, 32px) var(--gutter); pointer-events: none; }
.ar-top > * { pointer-events: auto; }
.ar-back { gap: 8px; padding: 0 22px 0 16px; background: rgba(14,12,20,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ar-title { flex: 1; min-width: 0; margin: 0; font-family: var(--font-disp); font-weight: 500; font-size: clamp(1rem, calc(1.6vw * var(--fs-scale)), 1.5rem); text-transform: uppercase; line-height: 1.2; color: #fff; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.ar-info { background: rgba(14,12,20,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.admin-bar .ar-page { top: 32px; }

/* [ar_viewer] in a text: a cover with the AR icon, the model opens on click */
.arv-inline { height: 80vh; max-height: 720px; margin: 32px 0; border-radius: 24px; }
.arv-inline .ar-btn { display: none; }
.arv-inline.is-open .ar-btn { display: inline-flex; }
.arv-cover { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; border: 0; background: rgba(14,12,20,.55); cursor: pointer; }
.arv-cover[hidden] { display: none; }
.arv-cover-ico { width: 120px; height: 120px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--violet); color: #fff; box-shadow: 0 0 0 14px rgba(154,68,206,.25); transition: transform var(--t), box-shadow var(--t); }

/* dialogs: QR for computers, model description */
.ar-dialog {
	width: min(440px, calc(100vw - 32px));
	max-height: calc(100dvh - 48px);
	padding: 40px 32px 32px;
	border: 0;
	border-radius: 28px;
	background: #fff;
	color: var(--ink);
	text-align: center;
	overflow-y: auto;
}
.ar-dialog::backdrop { background: rgba(10,8,20,.75); }
.ar-dialog[open] { animation: vmodal-in .3s ease; }
.ar-dialog-text-wide { width: min(720px, calc(100vw - 32px)); text-align: left; }
.ar-dialog .art { max-width: none; font-size: 1rem; }
.ar-dialog-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--lilac); color: var(--violet-dd); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color var(--t), color var(--t); }
.ar-dialog-title { margin: 0 0 10px; font-size: 1.375rem; line-height: 1.2; text-transform: uppercase; }
.ar-dialog-text { margin: 0 0 20px; font-size: 1rem; line-height: 1.55; color: #555; }
.ar-qr { display: flex; justify-content: center; }
.ar-qr img, .ar-qr canvas { max-width: 220px; height: auto; }
.ar-url { font-size: 0.875rem; color: var(--violet-d); overflow-wrap: anywhere; }

/* ==========================================================================
   Video modal (links to a YouTube / Vimeo video or an .mp4 file)
   ========================================================================== */
.vmodal {
	width: min(1100px, 92vw, calc((100dvh - 140px) * 16 / 9));
	max-width: none;
	max-height: none;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
}
.vmodal::backdrop { background: rgba(10,8,20,.88); }
.vmodal[open] { animation: vmodal-in .3s ease; }
@keyframes vmodal-in { from { opacity: 0; transform: scale(.96); } }
.vmodal-frame {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 20px;
	overflow: hidden;
	background: #000;
}
.vmodal-frame iframe,
.vmodal-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.vmodal-close {
	position: absolute;
	top: -60px;
	right: 0;
	width: 48px; height: 48px;
	border-radius: 50%;
	border: 0;
	background: #fff;
	color: var(--ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color var(--t), color var(--t);
}
html.vmodal-lock { overflow: hidden; }

/* gallery lightbox */
.lbox {
	width: 100vw;
	height: 100dvh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: hidden;
}
.lbox::backdrop { background: rgba(10,8,20,.94); }
.lbox[open] { display: flex; align-items: center; justify-content: center; animation: vmodal-in .3s ease; }
.lbox-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: calc(100vw - 200px); }
.lbox-img { display: block; max-width: 100%; max-height: calc(100dvh - 160px); width: auto; height: auto; border-radius: 16px; object-fit: contain; user-select: none; }
.lbox-cap { color: #ddd6e8; font-size: 0.9375rem; text-align: center; }
.lbox-cap:empty { display: none; }
.lbox-close { position: fixed; top: 24px; right: 24px; }
.lbox-nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,.4);
	background: transparent;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color var(--t), color var(--t), border-color var(--t);
}
.lbox-prev { left: 24px; }
.lbox-prev svg { transform: rotate(180deg); }
.lbox-next { right: 24px; }
.lbox-nav[hidden] { display: none; }
.lbox-count { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 0.875rem; font-weight: 600; letter-spacing: .08em; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
	.aside { position: static; max-width: none; flex-basis: 100%; }
	.toc { display: none; }
	.sec-doc .aside { display: none; } /* only the table of contents there */
	.hd .nav,
	.hd .btn.top { display: none; }
	.burger { display: inline-flex; }
	/* Fixed in-flow height = closed pill, so the open mobile menu overlays the page instead of pushing it down. */
	.hd { top: 10px; height: 64px; margin-bottom: -82px; }
	/* max-height is set by JS from the real position of the menu (admin bar, scroll). */
	.mnav { overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid #eee; }
	.hd .pill { border-radius: 30px; padding: 6px 6px 6px 18px; min-height: 64px; column-gap: 8px; }
	.hd-logo img { height: 15px; }
	.hd-actions { flex-wrap: nowrap; gap: 2px; }
	.hd .ico { width: 40px; }

	.svc a, .svc a + a { padding: 18px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
	.cases-grid > .cs:nth-child(even) { margin-top: 0; }
	.hero { min-height: 0; }
	.who-body { grid-column: auto; }
	.cap-card { min-height: 0; }
	.sgal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }

	/* filters: one scrollable row, edge to edge (the active one is scrolled to the left edge by JS) */
	.flt-row { display: block; }
	.flt {
		flex-wrap: nowrap;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		margin-inline: -32px;
		padding-inline: 32px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.flt::-webkit-scrollbar { display: none; }
	.flt a { flex: 0 0 auto; white-space: nowrap; }
	.flt-shown { display: block; margin-top: 16px; }
	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
}

/* tablet */
@media (min-width: 561px) and (max-width: 1024px) {
	.wrap { padding-inline: 32px; }
	.cases-grid,
	.rvs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; gap: 10px; }
	.hero .svc a,
	.hero .svc a + a {
		padding: 18px 18px 20px;
		border: 1px solid rgba(255,255,255,.22);
		border-radius: 18px;
		background: rgba(14,12,20,.35);
	}
	.hero-wrap { padding-top: 140px; }
	.h2 { font-size: clamp(1.875rem, calc(4.6vw * var(--fs-scale)), 2.75rem); }
	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 230px; }
	.bento .big { grid-column: span 2; grid-row: span 1; }
	.bento .wide { grid-column: span 1; }
	.contact-card { border-radius: 28px; }
	.press a { grid-template-columns: 150px minmax(0, 1fr) 44px; }
	.sol .im { flex-basis: 100%; aspect-ratio: 16 / 9; }
	.step { grid-template-columns: 72px minmax(0, 1fr); gap: 8px 24px; }
	.step > p, .step > div { grid-column: 2; }
}
@media (max-width: 800px) {
	.svl a { grid-template-columns: minmax(0, 1fr) 44px; gap: 6px 16px; }
	.svl .n { grid-column: 1; grid-row: 1; }
	.svl .t { grid-column: 1; grid-row: 2; overflow-wrap: anywhere; }
	.svl .d { grid-column: 1; grid-row: 3; font-size: 0.875rem; }
	.svl .chip { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}

/* mobile */
@media (max-width: 560px) {
	.hd { top: 8px; height: 48px; margin-bottom: -56px; padding-inline: 12px; }
	.admin-bar .hd { top: 8px; }
	.hd .pill { min-height: 48px; padding: 4px 4px 4px 16px; border-radius: 24px; box-shadow: 0 4px 18px rgba(0,0,0,.14); }
	.hd .pill.is-menu-open { border-radius: 24px; }
	.hd-logo img { height: 13px; }
	.hd .ico { width: 36px; height: 36px; font-size: 0.75rem; }
	.hd .ico svg { width: 16px; height: 16px; }
	.burger { width: 40px; height: 40px; margin-left: 2px; }
	.burger svg { width: 18px; height: 18px; }
	.mnav { font-size: 1rem; }
	.mnav a { padding: 11px 0; }
	.mnav .sub { font-size: 0.875rem; padding: 8px 0 8px 16px; }
	.spanel { position: fixed; top: 72px; left: 12px; right: 12px; width: auto; }

	.hero-wrap { padding-top: 80px; padding-bottom: 26px; gap: 22px; }
	.hero-title,
	.page-title,
	.page-hero-lg .page-title { font-size: 2rem; line-height: 1.04; letter-spacing: -.01em; }
	.page-hero-text { font-size: 1rem; }
	.page-hero-wrap { gap: 22px; }
	.hero-text { font-size: 1rem; }
	.hero .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border-top: 0; margin-top: 4px; }
	.hero .svc a,
	.hero .svc a + a {
		padding: 12px 12px 14px;
		border: 1px solid rgba(255,255,255,.22);
		border-radius: 16px;
		background: rgba(14,12,20,.35);
		font-size: 0.75rem;
		gap: 14px;
		line-height: 1.25;
	}

	.h2 { font-size: 1.5rem; line-height: 1.1; }
	.contact-title { font-size: 1.875rem; }
	.lead-disp { font-size: 1.25rem; line-height: 1.35; }
	.eyebrow { font-size: 0.6875rem; }

	.sec-about,
	.sec-cases,
	.sec-light-card,
	.contact-card { padding-block: 40px; }
	.hero + .mq + .sec-about,
	.hero + .sec-about,
	.hero + .sec-contacts { padding-top: 26px; }
	.sec-contacts { padding-block: 40px; gap: 22px; }
	.hero + .mq + .sec-who { padding-top: 26px; }
	.sec-who, .sec-press { padding-block: 40px; }
	.sec-who { gap: 22px; }
	.sec-block { padding-bottom: 40px; gap: 22px; }
	.sec-dark + .sec-block,
	.sec-light-wrap + .sec-block { padding-top: 40px; }
	.hero + .sec-block,
	.hero + .mq + .sec-block { padding-top: 26px; }
	.sec-reviews { padding-block: 26px 40px; gap: 12px; }
	.sec-cases-list { padding-block: 40px; }
	.sec-sols { padding-block: 26px 40px; gap: 12px; }
	.sol, .sol:nth-child(even) { flex-direction: column; border-radius: 18px; padding: 10px; gap: 14px; }
	.sol .im { flex-basis: auto; aspect-ratio: 16 / 10; border-radius: 14px; }
	.sol .tx { flex-basis: auto; gap: 10px; padding: 4px 8px 10px; }
	.sol h2 { font-size: 1.5rem; }
	.sol .tx > p, .sol .tx > div { font-size: 0.9375rem; line-height: 1.5; }
	.sol .btn { min-height: 44px; }
	.emp { border-radius: 18px; gap: 18px; padding: 22px; }
	.emp-l { flex-basis: 100%; flex-direction: row; justify-content: space-between; align-items: center; padding-top: 0; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.25); }
	.emp-l img { height: 22px; }
	.emp-title { font-size: 1.1875rem; }
	.cap h3 { font-size: 1.0625rem; }
	/* numbered cards: a horizontal scroll row on phones (design) */
	.caps {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 10px;
		margin-inline: calc(-1 * var(--gutter));
		padding: 0 var(--gutter) 6px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.caps::-webkit-scrollbar { display: none; }
	.caps > .cap { flex: 0 0 78%; scroll-snap-align: start; scroll-margin-left: var(--gutter); min-height: 170px; }
	.sgal { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 200px; gap: 10px; }
	.sg.big, .sg.wide { grid-column: auto; grid-row: auto; }
	.sg { border-radius: 18px; }
	.sroom .ppl { display: none; }
	.sec-ideas { padding-block: 26px 40px; gap: 22px; }
	.sec-search { padding-block: 26px 40px; gap: 22px; }
	.sec-ar { padding-block: 26px 40px; gap: 22px; }
	.ar-back span { display: none; }
	.ar-back { width: 48px; padding: 0; }
	.ar-btn { bottom: 16px; }
	.hs-nav { bottom: 80px; }
	.arv-inline { height: 60vh; border-radius: 14px; }
	.arv-cover-ico { width: 72px; height: 72px; }
	.arv-cover-ico svg { width: 30px; height: 30px; }
	.ar-dialog { padding: 36px 20px 24px; border-radius: 20px; }
	.sec-blog { gap: 28px; }
	.blog-group { gap: 16px; }
	:is(.art, .entry) .center-column { width: 100%; }
	.page-hero-app .page-title { font-size: 2.25rem; }
	.page-hero-doc .page-title { font-size: 1.875rem; }
	.hero-404 .page-title { font-size: 1.875rem; }
	.hero-404 .page-hero-text { font-size: 1rem; }
	.sec-404 { padding-block: 32px 40px; gap: 22px; }
	.sec-doc { padding-block: 32px 40px; }
	.store { min-height: 54px; font-size: 0.9375rem; }
	.phone { width: 62%; border-radius: 36px; padding: 10px; }
	.ph-scr { border-radius: 28px; }
	.snone { border-radius: 18px; margin-top: 8px; }
	.flt-light a { min-height: 44px; padding: 0 18px; }
	.idgrid { gap: 12px; }
	.idc { border-radius: 20px; padding: 10px 10px 20px; }
	.idc .bim { border-radius: 14px; }
	.idc .idn { top: 20px; left: 20px; min-height: 30px; font-size: 0.75rem; }
	.idc .ib { padding: 0 8px; }
	.page-hero-idea .page-title { font-size: 1.75rem; }
	.sec-idfacts { padding-top: 26px; }
	.idfacts { gap: 10px; }
	.sec-article { padding-block: 32px 40px; gap: 24px; }
	.art { font-size: 1rem; }
	:is(.art, .entry) h2 { font-size: 1.25rem; margin-top: 36px; }
	:is(.art, .entry) h3 { font-size: 1.0625rem; }
	:is(.art, .entry) img,
	:is(.art, .entry) iframe,
	:is(.art, .entry) video { border-radius: 14px; }
	:is(.art, .entry) blockquote { border-radius: 16px; padding: 18px 20px; }
	:is(.art, .entry) .alignleft,
	:is(.art, .entry) .alignright,
	:is(.art, .entry) .wp-caption.alignleft,
	:is(.art, .entry) .wp-caption.alignright { float: none; max-width: 100%; width: auto !important; margin: 24px 0; }
	:is(.art, .entry) .gallery:not(.gallery-columns-1) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	:is(.art, .entry) .gallery-icon img { border-radius: 12px; }
	:is(.art, .entry) th,
	:is(.art, .entry) td { padding: 10px 12px; }
	.acta { border-radius: 18px; padding: 20px; }
	.idnav .r { text-align: left; margin-left: 0; }
	.sec-services { padding-block: 26px 40px; gap: 22px; }
	.svc-dev-head { margin-top: 18px; }
	.svl a { padding: 18px 0; }
	.svl .t { font-size: 1.25rem; }
	.tile-svc { aspect-ratio: 16 / 10; border-radius: 14px; }
	.tile-svc .ov { padding: 16px; }
	.tile-svc h3 { font-size: 1.0625rem; }
	.sec-dark-join > .wrap { padding-top: 40px; }
	.join-prev .sec-light-card { padding-top: 40px; }
	.sec-steps-wrap { gap: 22px; }
	.tech-block { gap: 16px; }
	.tech.tech-lg { min-height: 40px; padding: 0 16px; font-size: 0.8125rem; }
	.step { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 22px 0; }
	.step .n { font-size: 1.625rem; }
	.step h3 { font-size: 1.125rem; }
	.cs-row-4 { gap: 12px; }
	.room { border-radius: 18px; }
	.room .rtag { font-size: 0.625rem; padding: 6px 10px; }
	.page-hero-case .page-title { font-size: 2rem; }
	.sec-facts { padding-block: 26px; gap: 10px; }
	.cap { padding: 20px; gap: 12px; }
	.cap h3 { font-size: 1.0625rem; }
	.sec-steps2 { padding-bottom: 40px; }
	.step2 { padding: 22px 0; gap: 10px; }
	.step2 > p, .step2 > div { font-size: 1.0625rem; }
	.galg { padding-bottom: 40px; }
	.sec-dark { padding-block: 40px; }
	.sec-frames + .sec-review .case-review { padding-top: 32px; }
	.gfr { border-radius: 14px; }
	.gvid { aspect-ratio: 4 / 3; border-radius: 16px; }
	.gplay { width: 68px; height: 68px; }
	.case-review blockquote { font-size: 1.25rem; }
	.cs-row { gap: 12px; }
	.cs-ov { aspect-ratio: 4 / 3; border-radius: 16px; }
	.cs-ov h3 { padding: 0 18px 20px; font-size: 1.1875rem; gap: 10px; }
	.step2 .eyebrow { font-size: 0.9375rem; padding-top: 0; }
	.flt a { min-height: 44px; padding: 0 8px 0 18px; font-size: 0.875rem; }
	.flt { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
	.flt-n { min-width: 28px; height: 28px; }
	.cs .go { top: 12px; right: 12px; }
	.pg .page-numbers { min-width: 44px; height: 44px; }
	.pg .prev, .pg .next { padding: 0 18px; }
	.rv2 { border-radius: 18px; padding: 20px; gap: 20px; }
	.rv2-a { width: 72px; height: 72px; flex-basis: 72px; }
	.rv2-h { gap: 14px; }
	.rv2-h .quote { display: none; }
	.rv2-q { font-size: 1rem; }
	.dir { min-height: 0; gap: 10px; padding: 18px; }
	.dir h3 { margin-top: 6px; font-size: 1.0625rem; }
	.strip a { aspect-ratio: 16 / 10; }
	.strip .ov { font-size: 1.125rem; padding: 18px 18px 22px; }
	.logo { height: 110px; }
	.press a { padding: 20px 0; }
	.press .tt { font-size: 1.0625rem; }
	.cc { padding: 20px; }
	.sec-solutions { padding-bottom: 40px; }
	.sec-contact { padding-top: 32px; }
	.sec-light-wrap { padding-bottom: 12px; }
	.sec-about, .sec-solutions, .sec-stack, .ft-wrap { gap: 22px; }
	.seo-faq { margin-top: 28px; }

	.btn { min-height: 48px; font-size: 0.875rem; padding: 0 22px; }
	.btn.btn-ico { width: 48px; height: 48px; padding: 0; }
	.btn.has-chip { padding-right: 6px; }
	.btn.has-play { padding-left: 6px; }
	.chip { width: 38px; height: 38px; flex-basis: 38px; }

	.mq { padding-block: 12px; }
	.mq .t { font-size: 0.9375rem; gap: 24px; }

	.cs .im { aspect-ratio: 16 / 9; }
	.cs-title { font-size: 1.125rem; }
	.cs { gap: 12px; }
	.cases-grid { gap: 40px; }

	.bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 180px; gap: 10px; }
	.big, .wide { grid-column: auto; grid-row: auto; }
	.tile .ov { padding: 16px; }
	.tile h3 { font-size: 1.0625rem; }

	.plogos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.plogos > div { height: 96px; }
	.plogos > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.plogos img { max-height: 24px; }

	.rv { gap: 16px; padding: 20px; }
	.rv blockquote { font-size: 0.9375rem; }
	.rv { --rv-lines: 8; }
	.rv-more { margin-top: -6px; }
	.rvs {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 12px;
		margin-inline: -16px;
		padding: 0 16px 6px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.rvs::-webkit-scrollbar { display: none; }
	.rvs > .rv { flex: 0 0 84%; scroll-snap-align: start; scroll-margin-left: 16px; }
	.rvs { align-items: flex-start; } /* an expanded review does not stretch its neighbours */

	.fq button { font-size: 1rem; padding: 18px 0; }

	.cf { grid-template-columns: minmax(0, 1fr); }
	.cf > * { grid-column: auto; }

	.ft { padding-block: 44px 24px; }
	.fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
	.fgrid > :first-child,
	.fgrid > :last-child { grid-column: 1 / -1; }
	.fgrid .ft-col { font-size: 0.875rem; }

	/* radii */
	.sec-cases { border-radius: 20px 20px 0 0; }
	.sec-light-card, .contact-card { border-radius: 20px; }
	.cs .im, .tile, .plogos > div, .cc, .dir, .strip a, .logo { border-radius: 14px; }
	.sec-press, .sec-dark-first { border-radius: 20px 20px 0 0; }
	.gal, .cap { border-radius: 14px; }
	.rv { border-radius: 18px; }
	.fin { border-radius: 14px; }
	.vmodal-frame { border-radius: 14px; }
	.lbox-fig { max-width: calc(100vw - 24px); }
	.lbox-img { max-height: calc(100dvh - 200px); border-radius: 12px; }
	.lbox-nav { top: auto; bottom: 16px; transform: none; width: 48px; height: 48px; }
	.lbox-prev { left: 16px; }
	.lbox-next { right: 16px; }
	.lbox-count { bottom: 30px; }
	.lbox-close { top: 16px; right: 16px; }
	.vmodal-close { top: -56px; width: 44px; height: 44px; }
}

/* ==========================================================================
   Hover states — only on devices with a real pointer (mouse / trackpad).
   On touch screens hover would "stick" after a tap, so there is none.
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
	a:hover { color: var(--violet-l); }

	.btn:hover { background: var(--violet-d); color: #fff; }
	.btn.ghost:hover { background: #fff; color: var(--ink); }
	.btn.dark:hover { background: #2a2438; color: #fff; }
	.burger:hover { background: #2a2438; }

	.hd a:hover { color: var(--violet-dd); }
	.hd .btn:hover { color: #fff; }
	.nav > a:hover,
	.dd > a:hover { background: var(--lilac); color: var(--violet-dd); }
	.dd .menu a:hover { background: var(--soft); color: var(--violet-dd); }
	.dd:hover .menu {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}
	.ico:hover,
	.srch > summary:hover { background: var(--lilac); color: var(--violet-dd); }

	.svc a:hover { color: var(--violet-l); }
	.hero .svc a:hover::before { transform: scaleY(1); }
	.hero .svc a:hover { color: #fff; border-right-color: transparent; }
	.hero .svc a:hover > span { color: #fff; }
	.hero .svc a:hover svg { transform: translate(4px,-4px); }

	.tile:hover { color: #fff; }
	.tile:hover img { transform: scale(1.05); }
	.sec-cases .btn:hover,
	.sec-works .btn:hover { color: #fff; }
	.cs:hover { color: var(--violet-l); }
	.cs:hover img { transform: scale(1.04); }
	.plogos > div:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(60,20,90,.12); }

	.more-btn:hover { color: var(--violet-dd); text-underline-offset: 7px; }
	.fq button:hover .fq-sign { background: var(--lilac); color: var(--violet-dd); }
	.fq.open button:hover .fq-sign { background: var(--violet-d); color: #fff; }

	.crumbs a:hover { background: rgba(255,255,255,.16); color: #fff; }
	.dir:hover { background: var(--violet); color: #fff; }
	.dir:hover .num { color: #fff; border-color: rgba(255,255,255,.6); }
	.dir:hover > p,
	.dir:hover > div { color: #fff; }
	.strip a:hover { color: #fff; }
	.strip a:hover img { transform: scale(1.05); }
	.strip a:hover::after { opacity: 1; }
	.press a:hover { color: var(--violet-l); }
	.cap:hover { background: var(--violet); color: #fff; }
	.cap:hover .lbl { color: #fff; }
	.cap:hover > p,
	.cap:hover > div { color: #fff; }
	.cap:hover .num { color: #fff; border-color: rgba(255,255,255,.6); }
	.sol:hover { color: var(--ink); }
	.sol:hover .im img { transform: scale(1.04); }
	.btn.btn-light:hover { background: var(--ink); color: #fff; }
	.svl a:hover { color: var(--ink); }
	.srow:hover { color: var(--ink); }
	.srow:hover .stt { color: var(--violet-d); }
	.spop:hover { background: var(--violet); color: #fff; }
	.hs-nav button:hover { background: #fff; border-color: #fff; color: var(--ink); }
	.arv-cover:hover .arv-cover-ico { transform: scale(1.06); box-shadow: 0 0 0 20px rgba(154,68,206,.25); }
	.ar-dialog-close:hover { background: var(--violet); color: #fff; }
	.store:hover { background: var(--lilac); color: var(--ink); }
	.flt.flt-light a:not([aria-current]):hover .flt-n { background: var(--lilac); color: var(--violet-d); }
	.flt.flt-light a:not([aria-current]):hover { background: #fff; border-color: var(--violet); color: var(--violet-d); }
	.pg-light a.page-numbers:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
	.idc:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(91,31,138,.45); }
	.idc.dk:hover { color: #fff; }
	.idc:hover img { transform: scale(1.04); }
	.idc:hover .more svg { transform: translateX(4px); }
	.toc a:hover { color: var(--violet-d); }
	:is(.art, .entry) a:not(.btn):hover { color: var(--violet); }
	.idnav a:hover { color: var(--violet-l); }
	.svl a:hover .t { color: var(--violet); }
	.gvid:hover { color: #fff; }
	.gvid:hover .gplay { background: var(--violet-d); box-shadow: 0 0 0 18px rgba(154,68,206,.25); }
	a.cs-ov:hover { color: #fff; }
	a.cs-ov:hover img { transform: scale(1.04); }
	a.cs-ov:hover::after { opacity: 1; }
	.sg:hover img,
	.gal:hover img,
	.gfr:hover img { transform: scale(1.04); }
	.lbox-nav:hover { background: #fff; border-color: #fff; color: var(--ink); }
	.flt a:not([aria-current]):hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); color: #fff; }
	.pg a.page-numbers:hover { background: #fff; border-color: #fff; color: var(--ink); }
	.vmodal-close:hover { background: var(--violet); color: #fff; }
	a.cc:hover { background: var(--violet); color: #fff; }
	a.cc:hover .ci { background: #fff; color: var(--violet-d); }
	a.cc:hover .lb { color: #fff; }
	.soc a:hover { background: var(--ink); color: #fff; }

	.ft a:hover { color: var(--violet-l); }
	.fsoc a:hover { background: var(--violet); border-color: var(--violet); color: #fff; }
}


@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
	.mq .t { animation: none; }
	.sroom .w img,
	.room .w img { animation: none; }
	.idc:hover { transform: none; }
	.n404 .o { animation: none; }
}
