@charset "UTF-8";
/* MEAS Events design system 1.1.0
   Self-hosted. No Tailwind, no Google Fonts, no icon font, no CDN of any kind.
   Drop the three woff2 files into meas-core/assets/fonts/ and the @font-face
   rules below pick them up. Until then the stacks fall back cleanly. */

@font-face {
	font-family: "MEAS Display";
	src: local("Space Grotesk"), url("../fonts/space-grotesk.woff2") format("woff2");
	font-weight: 500 700;
	font-display: swap;
}
@font-face {
	font-family: "MEAS Text";
	src: local("Inter"), url("../fonts/inter.woff2") format("woff2");
	font-weight: 300 700;
	font-display: swap;
}
@font-face {
	font-family: "MEAS Tech";
	src: local("JetBrains Mono"), url("../fonts/jetbrains-mono.woff2") format("woff2");
	font-weight: 400 600;
	font-display: swap;
}

:root {
	--meas-obsidian: #07070d;
	--meas-cosmic: #0f101e;
	--meas-surface: #131319;
	--meas-lowest: #0e0e14;
	--meas-container: #1f1f26;
	--meas-container-high: #2a2930;
	--meas-bright: #393840;
	--meas-cyan: #00f0ff;
	--meas-cyan-soft: #dbfcff;
	--meas-violet: #7000ff;
	--meas-fuchsia: #ff007a;
	--meas-secondary: #d1bcff;
	--meas-text: #f8fafc;
	--meas-muted: #94a3b8;
	--meas-dim: #475569;
	--meas-line: rgba(255, 255, 255, 0.08);

	--meas-display: "MEAS Display", "Space Grotesk", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
	--meas-body: "MEAS Text", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--meas-tech: "MEAS Tech", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--meas-shell: 1280px;
	--meas-r: 0.125rem;
	--meas-r-lg: 0.25rem;
	--meas-r-xl: 0.5rem;
	--meas-glow-cyan: 0 0 30px rgba(0, 240, 255, 0.45);
}

/* ------------------------------------------------------------- structure */
.meas-section {
	position: relative;
	padding: clamp(56px, 8vw, 128px) 0;
	background: var(--meas-obsidian);
	color: var(--meas-text);
	font-family: var(--meas-body);
	font-size: 15px;
	line-height: 24px;
	isolation: isolate;
	overflow: hidden;
}
.meas-tone-void { background: var(--meas-lowest); }
.meas-tone-band { background: var(--meas-obsidian); }
.meas-tone-band::before {
	content: "";
	position: absolute;
	inset: auto auto -30% -15%;
	width: 640px;
	height: 640px;
	background: rgba(112, 0, 255, 0.2);
	filter: blur(140px);
	pointer-events: none;
	z-index: -1;
}
.meas-tone-band::after {
	content: "";
	position: absolute;
	inset: -20% -20% auto auto;
	width: 420px;
	height: 420px;
	background: rgba(255, 0, 122, 0.14);
	filter: blur(120px);
	pointer-events: none;
	z-index: -1;
}
.meas-shell {
	width: min(var(--meas-shell), 100% - clamp(32px, 8vw, 128px));
	margin-inline: auto;
}
.meas-shell--narrow { width: min(880px, 100% - clamp(32px, 8vw, 128px)); }
.meas-shell--full { width: 100%; }

/* ------------------------------------------------------------ typography */
.meas-h1 {
	font-family: var(--meas-display);
	font-size: clamp(40px, 6.4vw, 72px);
	line-height: 1.06;
	letter-spacing: -0.04em;
	font-weight: 700;
	margin: 0 0 0.35em;
	color: var(--meas-text);
}
.meas-h2 {
	font-family: var(--meas-display);
	font-size: clamp(32px, 4.4vw, 48px);
	line-height: 1.14;
	letter-spacing: -0.02em;
	font-weight: 600;
	margin: 0 0 0.3em;
}
.meas-h3 { font-family: var(--meas-display); font-size: clamp(24px, 3vw, 32px); line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; margin: 0 0 0.4em; }
.meas-h4 { font-family: var(--meas-display); font-size: 20px; line-height: 28px; font-weight: 500; margin: 0 0 0.4em; }
.meas-h5 { font-family: var(--meas-display); font-size: 17px; line-height: 26px; font-weight: 500; margin: 0 0 0.4em; }
.meas-grad {
	background: linear-gradient(90deg, var(--meas-cyan-soft), var(--meas-cyan) 45%, var(--meas-fuchsia));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.meas-lead { font-size: 18px; line-height: 30px; letter-spacing: -0.01em; color: var(--meas-muted); max-width: 62ch; margin: 0 0 1.75rem; }
.meas-section p { line-height: 24px; }
.meas-prose p { color: var(--meas-muted); max-width: 66ch; }
.meas-empty { color: var(--meas-muted); grid-column: 1 / -1; }

/* eyebrow: coloured dot plus a tracked label, as in the mockup */
.meas-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--meas-display);
	font-size: 11px;
	line-height: 16px;
	letter-spacing: 0.15em;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--meas-cyan);
	margin-bottom: 12px;
}
.meas-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.meas-eyebrow--violet { color: var(--meas-secondary); }
.meas-eyebrow--fuchsia { color: var(--meas-fuchsia); }

.meas-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 16px;
	border-radius: 999px;
	background: rgba(31, 31, 38, 0.8);
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
	font-family: var(--meas-tech);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--meas-cyan-soft);
	margin-bottom: 20px;
}
.meas-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--meas-cyan); box-shadow: 0 0 10px var(--meas-cyan); animation: meas-pulse 2s ease-in-out infinite; }
@keyframes meas-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.meas-tech { font-family: var(--meas-tech); font-size: 12px; line-height: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--meas-muted); }

.meas-head { margin-bottom: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.meas-head__main { max-width: 44rem; }
.meas-head--center { flex-direction: column; align-items: center; text-align: center; }
.meas-head--center .meas-lead { margin-inline: auto; }
.meas-head .meas-lead { margin-bottom: 0; }

/* ------------------------------------------------------------- buttons */
.meas-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.meas-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--meas-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	padding: 16px 28px;
	border: 0;
	border-radius: var(--meas-r-lg);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.meas-btn--solid { background: var(--meas-cyan); color: var(--meas-obsidian); box-shadow: var(--meas-glow-cyan); }
.meas-btn--solid:hover { background: var(--meas-cyan-soft); box-shadow: 0 0 40px rgba(0, 240, 255, 0.8); }
.meas-btn--ghost { background: rgba(42, 41, 48, 0.6); color: var(--meas-text); }
.meas-btn--ghost:hover { background: var(--meas-bright); }
.meas-btn .meas-icon { width: 18px; height: 18px; }
.meas-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--meas-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--meas-cyan);
	text-decoration: none;
}
.meas-link:hover { color: var(--meas-cyan-soft); }
.meas-link .meas-icon { width: 18px; height: 18px; transition: transform 0.25s ease; }
.meas-link:hover .meas-icon { transform: translateX(4px); }
:where(.meas-section, .meas-hero) a:focus-visible,
.meas-btn:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
	outline: 2px solid var(--meas-cyan);
	outline-offset: 3px;
}
.meas-center { text-align: center; margin-top: 48px; }

/* ---------------------------------------------------------------- hero */
.meas-hero {
	position: relative;
	padding: clamp(56px, 8vw, 120px) 0 clamp(48px, 6vw, 96px);
	background: var(--meas-obsidian);
	color: var(--meas-text);
	font-family: var(--meas-body);
	overflow: hidden;
}
.meas-hero::before {
	content: "";
	position: absolute;
	top: -140px;
	left: 50%;
	transform: translateX(-50%);
	width: min(1000px, 120vw);
	height: 560px;
	background: linear-gradient(180deg, rgba(112, 0, 255, 0.28), rgba(0, 240, 255, 0.1) 55%, transparent);
	filter: blur(90px);
	pointer-events: none;
	z-index: 0;
}
.meas-hero__inner { position: relative; z-index: 1; width: min(var(--meas-shell), 100% - clamp(32px, 8vw, 128px)); margin-inline: auto; display: grid; gap: clamp(40px, 5vw, 64px); }
.meas-hero__text { max-width: 56rem; }
.meas-hero .meas-btns { padding-top: 8px; }

.meas-stage { position: relative; border-radius: var(--meas-r-xl); overflow: hidden; background: var(--meas-cosmic); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8); }
.meas-stage__media { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 580px; overflow: hidden; }
.meas-stage__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.meas-stage__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, var(--meas-obsidian), rgba(7, 7, 13, 0.25) 55%, transparent); }
.meas-stage__tag { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: var(--meas-r-lg); background: rgba(7, 7, 13, 0.8); backdrop-filter: blur(8px); }
.meas-stage__foot { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(16px, 3vw, 28px); display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; }
.meas-stage__foot h2 { margin: 4px 0 0; }
@media (min-width: 1024px) { .meas-stage__media { aspect-ratio: 21 / 9; } }

/* --------------------------------------------------------------- split */
.meas-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.meas-split.is-flipped .meas-split__media { order: -1; }
.meas-split__media { border-radius: var(--meas-r-xl); overflow: hidden; background: var(--meas-cosmic); }
.meas-split__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .meas-split { grid-template-columns: 1fr; } .meas-split.is-flipped .meas-split__media { order: 0; } }

/* ----------------------------------------------------------- bento grid */
.meas-grid { display: grid; gap: clamp(16px, 2vw, 32px); }
.meas-grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.meas-grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.meas-grid--4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.meas-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 28px;
	border-radius: var(--meas-r-xl);
	background: rgba(15, 16, 30, 0.8);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
	color: inherit;
	text-decoration: none;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.meas-card--service { min-height: 260px; justify-content: space-between; }
.meas-card--service:hover { background: var(--meas-container); box-shadow: 0 0 30px rgba(0, 240, 255, 0.15); }
.meas-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.meas-card__num { font-family: var(--meas-tech); font-size: 12px; letter-spacing: 0.08em; color: var(--meas-cyan); text-transform: uppercase; }
.meas-card .meas-icon { width: 26px; height: 26px; color: var(--meas-cyan); transition: transform 0.3s ease; }
.meas-card--service:hover .meas-icon { transform: rotate(45deg); }
.meas-card p { color: var(--meas-muted); font-size: 13px; line-height: 20px; margin: 0; }
.meas-card--flat { background: none; box-shadow: none; border-top: 1px solid var(--meas-line); border-radius: 0; padding: 24px 0 0; min-height: 0; }

/* accent rotation so the four cards are not identical */
.meas-card:nth-child(4n+2) .meas-card__num, .meas-card:nth-child(4n+2) .meas-icon { color: var(--meas-secondary); }
.meas-card:nth-child(4n+3) .meas-card__num, .meas-card:nth-child(4n+3) .meas-icon { color: var(--meas-fuchsia); }
.meas-card:nth-child(4n+2):hover { box-shadow: 0 0 30px rgba(112, 0, 255, 0.2); }
.meas-card:nth-child(4n+3):hover { box-shadow: 0 0 30px rgba(255, 0, 122, 0.2); }

/* ------------------------------------------------------------ projects */
.meas-project {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: var(--meas-r-xl);
	overflow: hidden;
	background: var(--meas-cosmic);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
	transition: box-shadow 0.5s ease;
}
.meas-project:hover { box-shadow: 0 0 35px rgba(0, 240, 255, 0.25); }
.meas-project__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.meas-project__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.meas-project__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s ease; }
.meas-project:hover .meas-project__media img { transform: scale(1.05); }
.meas-project__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--meas-cosmic), transparent 55%); }
.meas-project__tag { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 4px 12px; border-radius: var(--meas-r-lg); background: rgba(7, 7, 13, 0.85); backdrop-filter: blur(8px); font-family: var(--meas-tech); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--meas-cyan); }
.meas-project__where { position: absolute; right: 16px; bottom: 12px; z-index: 1; font-family: var(--meas-tech); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--meas-muted); }
.meas-project__body { display: flex; flex-direction: column; gap: 10px; padding: 28px; flex: 1; }
.meas-project__body .meas-h4 { margin: 0; transition: color 0.3s ease; }
.meas-project:hover .meas-project__body .meas-h4 { color: var(--meas-cyan-soft); }
.meas-project__caption { color: var(--meas-muted); font-size: 13px; line-height: 20px; }
.meas-project__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.meas-project__client { font-family: var(--meas-tech); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--meas-dim); }
.meas-project__foot .meas-icon { width: 20px; height: 20px; color: var(--meas-muted); transition: color 0.3s ease; }
.meas-project:hover .meas-project__foot .meas-icon { color: var(--meas-cyan); }

/* ------------------------------------------------------------- filters */
.meas-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.meas-chip {
	font-family: var(--meas-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	padding: 10px 18px;
	border: 0;
	border-radius: var(--meas-r-lg);
	background: rgba(31, 31, 38, 0.7);
	color: var(--meas-muted);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.meas-chip:hover { color: var(--meas-text); background: var(--meas-container-high); }
.meas-chip.is-on { background: var(--meas-cyan); color: var(--meas-obsidian); box-shadow: 0 0 20px rgba(0, 240, 255, 0.35); }
.meas-chip__n { opacity: 0.6; }

/* ------------------------------------------------------- client marquee */
.meas-logos {
	padding: 4px 0;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}
.meas-logos::-webkit-scrollbar { display: none; }
.meas-logos__head {
	width: min(var(--meas-shell), 100% - clamp(32px, 8vw, 128px));
	margin: 0 auto 22px;
	display: flex; flex-wrap: wrap; gap: 16px;
	justify-content: space-between; align-items: center;
}
.meas-logos__track { display: flex; width: max-content; animation: meas-marquee var(--speed, 52s) linear infinite; }
.meas-logos:hover .meas-logos__track, .meas-logos.is-dragging .meas-logos__track { animation-play-state: paused; }
.meas-logos__row { display: flex; gap: 16px; padding-right: 16px; }
.meas-logos__row .meas-logo { scroll-snap-align: start; }

/* On touch the loop keeps moving and you can still swipe through it. The
   script pauses the animation while a finger is down. */
@media (pointer: coarse) {
	.meas-logos { scroll-snap-type: none; }
}
@keyframes meas-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.meas-logo {
	flex: none;
	width: clamp(180px, 16vw, 240px);
	height: clamp(120px, 11vw, 160px);
	display: grid;
	place-items: center;
	padding: 10px;
	overflow: hidden;
	border-radius: var(--meas-r-xl);
	background: rgba(255, 255, 255, .93);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 26px rgba(0, 0, 0, .35);
	transition: transform .35s var(--meas-ease), box-shadow .35s var(--meas-ease);
}
.meas-logo:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 240, 255, .5); }
/* the whole image, never cropped, filling as much of the tile as it can */
.meas-logo img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.meas-logo__text {
	font-family: var(--meas-display);
	font-size: clamp(13px, 1.1vw, 15px);
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.25;
	color: #14151f;
}
/* If your logo files are transparent PNG or SVG, swap the two blocks below
   for dark tiles: comment out the light background above and use this. */
.meas-logos--dark .meas-logo { background: rgba(255, 255, 255, .05); box-shadow: var(--meas-glass-rim); }
.meas-logos--dark .meas-logo img { filter: grayscale(1) brightness(2.4); opacity: .85; }
.meas-logos--dark .meas-logo__text { color: var(--meas-muted); }

/* a short row centres itself instead of pretending to scroll */
.meas-logos.is-static .meas-logos__track { animation: none; width: max-content; min-width: 100%; justify-content: center; }
.meas-logos.is-static .meas-logos__row { padding-right: 0; }
@media (max-width: 860px) { .meas-logos.is-static .meas-logos__track { justify-content: flex-start; } }

@media (max-width: 720px) {
	.meas-logo { width: 156px; height: 104px; padding: 8px; }
	.meas-logos__row { gap: 12px; padding-right: 12px; }
}

/* --------------------------------------------------------- metric cards */
.meas-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(16px, 2vw, 32px); }
.meas-stat { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--meas-r-xl); background: rgba(15, 16, 30, 0.9); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.meas-stat .meas-icon { width: 28px; height: 28px; color: var(--meas-cyan); }
.meas-stat__v { font-family: var(--meas-display); font-size: 40px; line-height: 1; letter-spacing: -0.03em; font-weight: 700; color: var(--meas-text); }
.meas-stat__l { font-family: var(--meas-display); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--meas-muted); margin-top: 6px; display: block; }
.meas-stat:nth-child(4n+2) .meas-icon { color: var(--meas-fuchsia); }
.meas-stat:nth-child(4n+3) .meas-icon { color: var(--meas-secondary); }

/* ------------------------------------------------------------- process */
.meas-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 32px); }
.meas-step { padding: 28px; border-radius: var(--meas-r-xl); background: rgba(15, 16, 30, 0.8); }
.meas-step__n { font-family: var(--meas-tech); font-size: 12px; letter-spacing: 0.08em; color: var(--meas-cyan); display: block; margin-bottom: 14px; }
.meas-step p { color: var(--meas-muted); font-size: 13px; line-height: 20px; margin: 0; }

/* -------------------------------------------------------- testimonials */
.meas-quotes {
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	margin-inline: calc(-1 * clamp(8px, 1vw, 16px));
}
.meas-quotes::-webkit-scrollbar { display: none; }
.meas-quotes .meas-quote { scroll-snap-align: start; }
@media (pointer: coarse) {
	.meas-quotes { scroll-snap-type: none; }
}
.meas-quotes__track { display: flex; width: max-content; animation: meas-marquee var(--speed, 46s) linear infinite; }
.meas-quotes:hover .meas-quotes__track, .meas-quotes.is-dragging .meas-quotes__track { animation-play-state: paused; }
.meas-quotes__row { display: flex; gap: clamp(14px, 1.6vw, 22px); padding-right: clamp(14px, 1.6vw, 22px); }
.meas-quotes .meas-quote {
	flex: none;
	width: clamp(280px, calc((var(--meas-shell) - 66px) / 4), 320px);
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 26px;
	border-radius: var(--meas-r-xl);
}
.meas-quote__mark {
	font-family: var(--meas-display);
	font-size: 46px;
	line-height: .6;
	color: var(--meas-cyan);
	opacity: .5;
}
.meas-quotes .meas-quote blockquote { margin: 0; font-size: 15px; line-height: 25px; letter-spacing: 0; color: var(--meas-text); }
.meas-quotes .meas-quote blockquote p { margin: 0; }
.meas-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.meas-quote figcaption > span { display: grid; }
.meas-quote figcaption strong { font-family: var(--meas-display); font-size: 14px; font-weight: 600; }
.meas-quote figcaption span span { font-family: var(--meas-tech); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--meas-dim); }
.meas-quote__avatar {
	width: 42px; height: 42px; flex: none;
	border-radius: 50%; overflow: hidden;
	display: grid; place-items: center;
	background: rgba(255, 255, 255, .06);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.meas-quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.meas-quote__avatar--letter {
	font-family: var(--meas-display);
	font-size: 17px; font-weight: 700;
	background: linear-gradient(140deg, rgba(0, 240, 255, .22), rgba(255, 0, 122, .22));
	color: var(--meas-text);
}
@media (max-width: 1100px) { .meas-quotes .meas-quote { width: 300px; } }
@media (max-width: 560px) { .meas-quotes .meas-quote { width: 82vw; padding: 22px; } }
@media (prefers-reduced-motion: reduce) { .meas-quotes__track, .meas-logos__track { animation: none; } }

/* ------------------------------------------------------------------ cta */
.meas-cta { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.meas-cta__glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(700px, 100%); height: 380px; background: linear-gradient(90deg, rgba(0, 240, 255, 0.16), rgba(112, 0, 255, 0.22), rgba(255, 0, 122, 0.16)); filter: blur(140px); pointer-events: none; z-index: -1; }
.meas-cta .meas-h2 { max-width: 20ch; }
.meas-cta p { color: var(--meas-muted); max-width: 58ch; margin: 0; }

/* -------------------------------------------------------------- contact */
.meas-contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.meas-contactlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.meas-contactlist li { display: flex; gap: 14px; align-items: center; }
.meas-contactlist a { color: var(--meas-text); text-decoration: none; }
.meas-contactlist a:hover { color: var(--meas-cyan); }
.meas-contactlist .meas-icon { width: 22px; height: 22px; color: var(--meas-cyan); flex: none; }
@media (max-width: 900px) { .meas-contact { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- forms */
.meas-form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 36px); border-radius: var(--meas-r-xl); background: rgba(15, 16, 30, 0.85); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4); }
.meas-field { display: grid; gap: 8px; }
.meas-field label, .meas-field legend { font-family: var(--meas-tech); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--meas-muted); }
.meas-field input, .meas-field textarea, .meas-field select {
	font-family: var(--meas-body);
	font-size: 15px;
	width: 100%;
	padding: 14px 16px;
	background: var(--meas-obsidian);
	border: 1px solid var(--meas-line);
	border-radius: var(--meas-r-lg);
	color: var(--meas-text);
}
.meas-field input:focus, .meas-field textarea:focus { border-color: rgba(0, 240, 255, 0.5); }
.meas-field textarea { resize: vertical; }
.meas-field--2 { grid-template-columns: 1fr 1fr; gap: 16px; }
.meas-field--2 span { display: grid; gap: 8px; }
.meas-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.meas-check { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--meas-text); }
.meas-check input { width: auto; }
.meas-form fieldset { border: 0; padding: 0; margin: 0; }
.meas-form__status { margin: 0; font-family: var(--meas-tech); font-size: 12px; letter-spacing: 0.06em; }
.meas-form__status.is-ok { color: var(--meas-cyan); }
.meas-form__status.is-bad { color: var(--meas-fuchsia); }
.meas-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* -------------------------------------------------------------- gallery */
.meas-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(16px, 2vw, 32px); }
.meas-gallery figure, .meas-gallery span {
	margin: 0;
	border-radius: var(--meas-r-xl);
	overflow: hidden;
	background: var(--meas-cosmic);
	aspect-ratio: 4 / 3;
	transition: transform .4s var(--meas-ease), box-shadow .4s var(--meas-ease);
}
.meas-gallery figure:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(0, 0, 0, .5); }
.meas-gallery img { transition: transform .7s var(--meas-ease); }
.meas-gallery figure:hover img { transform: scale(1.05); }
@media (max-width: 600px) { .meas-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.meas-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------------------------------------------------------- case study */
.meas-case__hero { border-radius: var(--meas-r-xl); overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: clamp(24px, 4vw, 48px); background: var(--meas-cosmic); }
.meas-case__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.meas-case__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.meas-case__facts li { padding: 22px; border-radius: var(--meas-r-xl); background: rgba(15, 16, 30, 0.8); }
.meas-case__facts strong { display: block; font-family: var(--meas-tech); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--meas-dim); font-weight: 400; margin-bottom: 8px; }
.meas-case__body { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(32px, 4vw, 56px); }
.meas-case__body h3 { color: var(--meas-cyan); }

/* ----------------------------------------------------------- utilities */
.meas-icon { width: 24px; height: 24px; flex: none; }
.meas-sticky {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 9989;
	display: none;
	gap: 10px;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
	background: rgba(7, 7, 13, 0.95);
	border-top: 1px solid var(--meas-line);
	backdrop-filter: blur(10px);
}
.meas-sticky .meas-btn { flex: 1; padding: 14px 12px; }
@media (max-width: 720px) { .meas-sticky { display: flex; } body { padding-bottom: 72px; } }

.meas-whatsapp {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9988;
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--meas-cyan);
	color: var(--meas-obsidian);
	box-shadow: 0 0 30px rgba(0, 240, 255, 0.7);
	transition: transform 0.3s ease, background-color 0.3s ease;
}
.meas-whatsapp:hover { transform: scale(1.06); background: var(--meas-cyan-soft); }
.meas-whatsapp svg { width: 28px; height: 28px; }
@media (max-width: 720px) { .meas-whatsapp { bottom: 88px; } }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
	*, .meas-logos__track { animation: none !important; transition-duration: 0.01ms !important; }
}

body.meas-dark { background: var(--meas-obsidian); }
body.meas-dark .jupiterx-main, body.meas-dark #jupiterx-main, body.meas-dark .site-content { background: var(--meas-obsidian); }

/* ------------------------------------------------------------------- RTL */
[dir="rtl"] .meas-whatsapp { right: auto; left: 20px; }
[dir="rtl"] .meas-project__tag { left: auto; right: 16px; }
[dir="rtl"] .meas-project__where { right: auto; left: 16px; }
[dir="rtl"] .meas-stage__tag { left: auto; right: 16px; }
[dir="rtl"] .meas-link:hover .meas-icon { transform: translateX(-4px); }

/* optional tick list, used only when bullets are filled in */
.meas-ticks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.meas-ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--meas-muted); }
.meas-ticks .meas-icon { width: 20px; height: 20px; color: var(--meas-cyan); margin-top: 2px; }

/* =========================================================== 1.2.0 ==== */
/* Scroll reveal. One transition per element, delayed by its --i index.    */
@media (prefers-reduced-motion: no-preference) {
	html.meas-js [data-reveal] > * {
		opacity: 0;
		transform: translateY(20px);
		transition: opacity 0.7s var(--meas-ease, cubic-bezier(0.22, 0.8, 0.28, 1)), transform 0.7s var(--meas-ease, cubic-bezier(0.22, 0.8, 0.28, 1));
	}
	html.meas-js [data-reveal].is-in > * { opacity: 1; transform: none; }
	html.meas-js [data-reveal] .meas-card,
	html.meas-js [data-reveal] .meas-project,
	html.meas-js [data-reveal] .meas-stat,
	html.meas-js [data-reveal] .meas-step,
	html.meas-js [data-reveal] .meas-quote,
	html.meas-js [data-reveal] .meas-gallery figure {
		opacity: 0;
		transform: translateY(24px) scale(0.99);
		transition: opacity 0.65s var(--meas-ease, cubic-bezier(0.22, 0.8, 0.28, 1)), transform 0.65s var(--meas-ease, cubic-bezier(0.22, 0.8, 0.28, 1));
		transition-delay: calc(var(--i, 0) * 70ms);
	}
	html.meas-js [data-reveal].is-in .meas-card,
	html.meas-js [data-reveal].is-in .meas-project,
	html.meas-js [data-reveal].is-in .meas-stat,
	html.meas-js [data-reveal].is-in .meas-step,
	html.meas-js [data-reveal].is-in .meas-quote,
	html.meas-js [data-reveal].is-in .meas-gallery figure { opacity: 1; transform: none; }
}

:root { --meas-ease: cubic-bezier(0.22, 0.8, 0.28, 1); }

/* Slow gradient drift on every gradient word. */
.meas-grad {
	background-size: 220% 100%;
	animation: meas-drift 9s ease-in-out infinite;
}
@keyframes meas-drift {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) { .meas-grad { animation: none; } }

/* Cards: hairline border, lift and a soft gradient edge on hover. */
.meas-card, .meas-project, .meas-stat, .meas-quote, .meas-step, .meas-form {
	border: 1px solid var(--meas-line);
	transition: transform 0.4s var(--meas-ease), border-color 0.35s var(--meas-ease), box-shadow 0.4s var(--meas-ease), background-color 0.35s var(--meas-ease);
}
.meas-card--service:hover, .meas-stat:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.16); }
.meas-project:hover { transform: translateY(-5px); }
.meas-card--flat { border: 0; border-top: 1px solid var(--meas-line); }

/* Buttons gain a sheen sweep. */
.meas-btn { position: relative; overflow: hidden; }
.meas-btn--solid::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 -60%;
	width: 45%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
	transform: skewX(-18deg);
	transition: left 0.6s var(--meas-ease);
}
.meas-btn--solid:hover::after { left: 120%; }
@media (prefers-reduced-motion: reduce) { .meas-btn--solid::after { display: none; } }

/* Compact form, used on the contact page. */
.meas-form--compact { gap: 14px; padding: clamp(20px, 2.4vw, 28px); max-width: 520px; }
.meas-form--compact .meas-field label { font-size: 10px; }
.meas-form--compact .meas-field input,
.meas-form--compact .meas-field textarea,
.meas-form--compact .meas-field select { padding: 11px 14px; font-size: 14px; }
.meas-form--compact .meas-btn { padding: 14px 26px; }
@media (max-width: 560px) { .meas-field--2 { grid-template-columns: 1fr; } }

/* Contact: info column carries more weight, form stays tight. */
.meas-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: start; }
.meas-contact__info .meas-h2 { max-width: 15ch; }
.meas-contactlist li { padding: 14px 16px; border-radius: var(--meas-r-lg); background: rgba(15, 16, 30, 0.55); border: 1px solid var(--meas-line); transition: border-color 0.25s var(--meas-ease), transform 0.25s var(--meas-ease); }
.meas-contactlist li:hover { border-color: rgba(0, 240, 255, 0.35); transform: translateX(3px); }
@media (max-width: 1000px) { .meas-contact { grid-template-columns: 1fr; } .meas-form--compact { max-width: none; } }

/* Section rhythm, a touch airier. */
.meas-section { padding: clamp(64px, 8.5vw, 140px) 0; }
.meas-head { margin-bottom: clamp(36px, 4.5vw, 64px); }

/* =========================================================== 1.3.0 ==== */
/* Liquid glass. Three layers per panel: a tinted translucent body, a rim   */
/* light that catches the edge, and a specular highlight that follows the   */
/* pointer. Backdrop blur is reserved for elements that actually sit over   */
/* moving colour, so the GPU cost stays low.                                */

:root {
	--meas-glass-tint: linear-gradient(148deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.022) 42%, rgba(255, 255, 255, 0.05));
	--meas-glass-rim: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
	--meas-glass-drop: 0 22px 48px rgba(0, 0, 0, 0.45), 0 2px 10px rgba(0, 0, 0, 0.3);
	--meas-grain: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.meas-glass,
.meas-card,
.meas-project,
.meas-stat,
.meas-quote,
.meas-step,
.meas-form,
.meas-contactlist li,
.meas-split__media,
.meas-stage,
.meas-gallery figure,
.meas-case__facts li {
	position: relative;
	background-color: rgba(15, 16, 30, 0.55);
	background-image: var(--meas-glass-tint);
	border: 1px solid rgba(255, 255, 255, 0.07);
	box-shadow: var(--meas-glass-rim), var(--meas-glass-drop);
	isolation: isolate;
}

/* layer 1: fine grain, so the glass reads as a material and not a flat wash */
.meas-glass::before,
.meas-card::before,
.meas-project::before,
.meas-stat::before,
.meas-quote::before,
.meas-step::before,
.meas-form::before,
.meas-stage::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background-image: var(--meas-grain);
	opacity: 0.035;
	mix-blend-mode: overlay;
	pointer-events: none;
	z-index: 0;
}

/* layer 2: specular highlight, parked top-centre until a pointer moves over */
.meas-glass::after,
.meas-card::after,
.meas-project::after,
.meas-stat::after,
.meas-quote::after,
.meas-step::after,
.meas-form::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background:
		radial-gradient(220px circle at var(--mx, 50%) var(--my, -10%), rgba(255, 255, 255, 0.16), transparent 62%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 32%);
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 0.45s var(--meas-ease);
	z-index: 0;
}
.meas-glass:hover::after,
.meas-card:hover::after,
.meas-project:hover::after,
.meas-stat:hover::after,
.meas-form:focus-within::after { opacity: 1; }

/* keep real content above both decorative layers */
.meas-card > *, .meas-project > *, .meas-stat > *, .meas-quote > *, .meas-step > *, .meas-form > *, .meas-stage > * { position: relative; z-index: 1; }

/* the project card keeps its media flush, so the grain sits over the image */
.meas-project::before { z-index: 2; }

/* --------------------------------------------- true blur where it counts */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.meas-badge,
	.meas-chip,
	.meas-sticky,
	.meas-stage__tag,
	.meas-project__tag,
	.meas-btn--ghost {
		-webkit-backdrop-filter: blur(16px) saturate(180%);
		backdrop-filter: blur(16px) saturate(180%);
		background-color: rgba(255, 255, 255, 0.05);
		box-shadow: var(--meas-glass-rim);
	}
	.meas-sticky { background-color: rgba(10, 11, 22, 0.62); }
}

/* ------------------------------------------------ liquid colour beneath */
.meas-tone-band::before { animation: meas-float-a 22s ease-in-out infinite; }
.meas-tone-band::after { animation: meas-float-b 28s ease-in-out infinite; }
.meas-hero::after {
	content: "";
	position: absolute;
	inset: auto -12% -40% auto;
	width: 44vw;
	height: 44vw;
	max-width: 620px;
	max-height: 620px;
	background: radial-gradient(circle, rgba(0, 240, 255, 0.16), transparent 62%);
	filter: blur(90px);
	pointer-events: none;
	z-index: 0;
	animation: meas-float-b 26s ease-in-out infinite;
}
@keyframes meas-float-a {
	0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
	33% { transform: translate3d(6%, -8%, 0) scale(1.12); }
	66% { transform: translate3d(-5%, 6%, 0) scale(0.95); }
}
@keyframes meas-float-b {
	0%, 100% { transform: translate3d(0, 0, 0) scale(1.05); }
	40% { transform: translate3d(-7%, 7%, 0) scale(0.92); }
	75% { transform: translate3d(5%, -6%, 0) scale(1.1); }
}

/* --------------------------------------------- rotating rim on the hero */
.meas-stage { overflow: hidden; }
.meas-stage::after {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1px;
	background: conic-gradient(from var(--meas-spin, 0deg), transparent 0deg, rgba(0, 240, 255, 0.55) 70deg, rgba(255, 0, 122, 0.45) 150deg, transparent 220deg, transparent 360deg);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	z-index: 3;
	animation: meas-spin 14s linear infinite;
}
@keyframes meas-spin { to { --meas-spin: 360deg; } }
@property --meas-spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

/* -------------------------------------------------------- glass buttons */
.meas-btn--ghost { border: 1px solid rgba(255, 255, 255, 0.1); }
.meas-btn--ghost:hover { background-color: rgba(255, 255, 255, 0.1); }
.meas-chip { border: 1px solid rgba(255, 255, 255, 0.08); }
.meas-chip.is-on { box-shadow: 0 0 24px rgba(0, 240, 255, 0.35), var(--meas-glass-rim); }

/* form fields read as recessed glass rather than flat boxes */
.meas-field input, .meas-field textarea, .meas-field select {
	background: rgba(0, 0, 0, 0.28);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

@media (prefers-reduced-motion: reduce) {
	.meas-tone-band::before, .meas-tone-band::after, .meas-hero::after, .meas-stage::after { animation: none; }
	.meas-glass::after, .meas-card::after, .meas-project::after, .meas-stat::after { transition: none; }
}

/* Phones: drop the blur radius and the grain. Same look, far less GPU. */
@media (max-width: 720px) {
	.meas-glass::before, .meas-card::before, .meas-project::before, .meas-stat::before, .meas-quote::before, .meas-step::before, .meas-form::before, .meas-stage::before { display: none; }
	.meas-badge, .meas-chip, .meas-sticky, .meas-btn--ghost { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}

/* =========================================================== 1.4.0 ==== */
/* Section rhythm: 40px per section on desktop, so two stacked sections    */
/* leave 80px between content. Change --meas-sec-y to retune everything.   */
:root {
	--meas-sec-y: clamp(28px, 4vw, 40px);
	--meas-sec-y-lead: clamp(40px, 6vw, 72px);
}
.meas-section { padding: var(--meas-sec-y) 0; }
.meas-section:first-of-type { padding-top: var(--meas-sec-y-lead); }
.meas-section:last-of-type { padding-bottom: var(--meas-sec-y-lead); }
.meas-head { margin-bottom: clamp(20px, 2.6vw, 32px); }
.meas-hero { padding: clamp(40px, 6vw, 80px) 0 var(--meas-sec-y); }
.meas-center { margin-top: 28px; }

/* ------------------------------------------------------- contact cards */
.meas-card--contact { min-height: 0; gap: 10px; text-decoration: none; }
.meas-card__label { font-family: var(--meas-tech); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--meas-muted); }
.meas-card__value { font-family: var(--meas-display); font-size: 18px; font-weight: 600; letter-spacing: -.01em; word-break: break-word; }
a.meas-card--contact:hover { border-color: rgba(0, 240, 255, .35); }
a.meas-card--contact .meas-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; }
a.meas-card--contact .meas-card__more .meas-icon { width: 16px; height: 16px; }

.meas-socials { display: flex; gap: 10px; margin-top: 24px; }
.meas-social {
	width: 46px; height: 46px;
	display: grid; place-items: center;
	border-radius: 14px;
	background: rgba(255, 255, 255, .05);
	color: var(--meas-muted);
	box-shadow: var(--meas-glass-rim);
	transition: color .25s var(--meas-ease), transform .25s var(--meas-ease);
}
.meas-social:hover { color: var(--meas-cyan); transform: translateY(-2px); }
.meas-social .meas-icon { width: 20px; height: 20px; }

/* ------------------------------------------------- carousels on mobile */
.meas-more { display: none; margin-top: 20px; }
.meas-more .meas-btn { width: 100%; justify-content: center; }

@media (max-width: 860px) {
	.meas-carousel {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 82%;
		/* important, because a later stylesheet setting a template here puts
		   the first card in that track and spills the rest off screen */
		grid-template-columns: none !important;
		gap: 14px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		/* bleed to the screen edge so the next card peeks */
		margin-inline: calc(-1 * clamp(14px, 3.5vw, 48px));
		padding-inline: clamp(14px, 3.5vw, 48px);
		padding-bottom: 6px;
	}
	.meas-carousel::-webkit-scrollbar { display: none; }
	.meas-carousel > * { scroll-snap-align: start; }
	.meas-more { display: block; }
	.meas-dots { display: flex; }
}
@media (max-width: 480px) { .meas-carousel { grid-auto-columns: 86%; } }

/* swipe indicator dots, added by the theme script */
.meas-dots { display: none; justify-content: center; gap: 7px; margin-top: 16px; }
.meas-dot {
	width: 7px; height: 7px;
	border: 0; padding: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .22);
	transition: width .3s var(--meas-ease), background-color .3s var(--meas-ease);
}
.meas-dot.is-on { width: 22px; border-radius: 4px; background: var(--meas-cyan); }

/* the client marquee stays a loop, but you can grab and drag it */
/* touch-action stays at its default so the browser handles the horizontal
   swipe itself. Setting pan-y here blocked it outright. */
.meas-logos.is-dragging .meas-logos__track,
.meas-logos.is-paused .meas-logos__track,
.meas-quotes.is-dragging .meas-quotes__track,
.meas-quotes.is-paused .meas-quotes__track { animation-play-state: paused; }

/* =========================================================== 1.5.0 ==== */
/* Services, the positioning ticker, and a fuller motion layer.            */

/* --------------------------------------------------------- service card */
.meas-services .meas-card--service { min-height: 0; }
.meas-subs { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 7px; }
.meas-subs li {
	position: relative;
	padding-left: 18px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--meas-muted);
}
.meas-subs li::before {
	content: "";
	position: absolute;
	left: 0; top: .62em;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--meas-cyan);
	opacity: .7;
	transition: transform .3s var(--meas-ease), opacity .3s var(--meas-ease);
}
.meas-card--service:hover .meas-subs li::before { transform: scale(1.35); opacity: 1; }

/* --------------------------------------------------- full service blocks */
.meas-svcblocks { display: grid; gap: clamp(16px, 2vw, 28px); }
.meas-svc {
	display: grid;
	grid-template-columns: 108px minmax(0, 1fr);
	gap: clamp(16px, 3vw, 40px);
	padding: clamp(24px, 3vw, 40px);
	border-radius: var(--meas-r-xl);
	position: relative;
	overflow: hidden;
	background-color: rgba(15, 16, 30, .55);
	background-image: var(--meas-glass-tint);
	border: 1px solid rgba(255, 255, 255, .07);
	box-shadow: var(--meas-glass-rim), var(--meas-glass-drop);
	transition: transform .45s var(--meas-ease), border-color .35s ease, box-shadow .45s var(--meas-ease);
}
.meas-svc:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .15); }
.meas-svc::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background: radial-gradient(400px circle at var(--mx, 15%) var(--my, 0%), rgba(0, 240, 255, .1), transparent 60%);
	opacity: 0;
	transition: opacity .5s var(--meas-ease);
}
.meas-svc:hover::after { opacity: 1; }
.meas-svc__head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.meas-svc__num {
	font-family: var(--meas-display);
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.04em;
	background: linear-gradient(160deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .05));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.meas-svc__icon {
	width: 54px; height: 54px;
	display: grid; place-items: center;
	border-radius: 16px;
	color: var(--meas-cyan);
	background: rgba(0, 240, 255, .08);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
	transition: transform .45s var(--meas-ease), background-color .35s ease;
}
.meas-svc:hover .meas-svc__icon { transform: rotate(-8deg) scale(1.06); background: rgba(0, 240, 255, .16); }
.meas-svc__icon .meas-icon { width: 26px; height: 26px; }
.meas-svc__body .meas-h3 { margin-bottom: .3em; }
.meas-svc__body .meas-lead { font-size: 16px; line-height: 26px; margin-bottom: 20px; }
.meas-svc__list {
	list-style: none; margin: 0 0 22px; padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 10px 24px;
}
.meas-svc__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--meas-muted); font-size: 15px; }
.meas-svc__list .meas-icon { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--meas-cyan); }
.meas-svc__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
@media (max-width: 720px) {
	.meas-svc { grid-template-columns: 1fr; gap: 18px; }
	.meas-svc__head { flex-direction: row; align-items: center; gap: 16px; }
	.meas-svc__num { font-size: 30px; }
	.meas-svc__list { grid-template-columns: 1fr; }
	.meas-svc__foot .meas-btn { width: 100%; justify-content: center; }
}

/* ------------------------------------------------------------- ticker */
.meas-ticker {
	position: relative;
	overflow: hidden;
	padding: 18px 0;
	border-block: 1px solid var(--meas-line);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.meas-ticker__track { display: flex; width: max-content; animation: meas-ticker var(--speed, 40s) linear infinite; }
.meas-ticker:hover .meas-ticker__track { animation-play-state: paused; }
.meas-ticker__row { display: flex; align-items: center; }
.meas-ticker__item {
	font-family: var(--meas-display);
	font-size: clamp(18px, 2.4vw, 30px);
	font-weight: 600;
	letter-spacing: -.02em;
	text-transform: uppercase;
	white-space: nowrap;
	padding: 0 clamp(16px, 2vw, 28px);
	color: rgba(248, 250, 252, .72);
	transition: color .3s ease;
}
.meas-ticker__item:hover { color: var(--meas-cyan); }
.meas-ticker__sep { width: 8px; height: 8px; border-radius: 50%; background: var(--meas-fuchsia); flex: none; }
@keyframes meas-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .meas-ticker__track { animation: none; } }

/* ==================================================== motion layer ==== */

/* headings wipe up behind a mask */
@media (prefers-reduced-motion: no-preference) {
	html.meas-js [data-reveal] :is(.meas-h1, .meas-h2, .meas-h3) {
		clip-path: inset(0 0 110% 0);
		transform: translateY(14px);
		transition: clip-path .85s var(--meas-ease), transform .85s var(--meas-ease), opacity .6s ease;
	}
	html.meas-js [data-reveal].is-in :is(.meas-h1, .meas-h2, .meas-h3) { clip-path: inset(0 0 -20% 0); transform: none; }

	/* lists and sub-items cascade */
	html.meas-js [data-reveal] :is(.meas-subs li, .meas-svc__list li, .meas-list li, .meas-ticks li, .meas-contactlist li) {
		opacity: 0;
		transform: translateY(10px);
		transition: opacity .5s var(--meas-ease), transform .5s var(--meas-ease);
		transition-delay: calc(var(--i, 0) * 55ms + 120ms);
	}
	html.meas-js [data-reveal].is-in :is(.meas-subs li, .meas-svc__list li, .meas-list li, .meas-ticks li, .meas-contactlist li) { opacity: 1; transform: none; }

	/* media scales in rather than sliding */
	html.meas-js [data-reveal] :is(.meas-split__media, .meas-stage, .meas-gallery figure) {
		opacity: 0;
		transform: scale(.97);
		transition: opacity .8s var(--meas-ease), transform .8s var(--meas-ease);
	}
	html.meas-js [data-reveal].is-in :is(.meas-split__media, .meas-stage, .meas-gallery figure) { opacity: 1; transform: none; }

	/* service blocks come in one after another */
	html.meas-js [data-reveal] .meas-svc {
		opacity: 0;
		transform: translateY(28px);
		transition: opacity .7s var(--meas-ease), transform .7s var(--meas-ease);
		transition-delay: calc(var(--i, 0) * 90ms);
	}
	html.meas-js [data-reveal].is-in .meas-svc { opacity: 1; transform: none; }
}

/* scroll-driven parallax and section tint, where the browser supports it */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.meas-project__media img,
		.meas-split__media img,
		.meas-case__hero img {
			animation: meas-parallax linear both;
			animation-timeline: view();
			animation-range: entry 0% exit 100%;
		}
		@keyframes meas-parallax {
			from { transform: scale(1.12) translateY(-2%); }
			to { transform: scale(1.12) translateY(2%); }
		}
		.meas-ticker__item {
			animation: meas-tickfade linear both;
			animation-timeline: view(inline);
		}
		@keyframes meas-tickfade {
			0%, 100% { opacity: .45; }
			50% { opacity: 1; }
		}
	}
}

/* links draw an underline from the left */
.meas-link { position: relative; }
.meas-link::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -3px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform .35s var(--meas-ease);
}
.meas-link:hover::after { transform: scaleX(1); }

/* icons in cards drift on hover */
.meas-card__icon { transition: transform .45s var(--meas-ease); }
.meas-card:hover .meas-card__icon { transform: translateY(-3px) rotate(-6deg); }

/* chips and buttons press in */
.meas-chip:active, .meas-btn:active { transform: translateY(1px) scale(.985); }

/* the badge dot breathes rather than blinks */
.meas-badge__dot { animation: meas-breathe 2.6s ease-in-out infinite; }
@keyframes meas-breathe {
	0%, 100% { transform: scale(1); box-shadow: 0 0 10px var(--meas-cyan); }
	50% { transform: scale(1.35); box-shadow: 0 0 18px var(--meas-cyan); }
}

/* =========================================================== 2.2.0 ==== */
/* Contact cards in one line, a client grid with load more, topbar.       */

.meas-grid--row {
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	grid-template-columns: none;
	gap: clamp(12px, 1.4vw, 20px);
}
.meas-grid--row .meas-card--contact { padding: 22px; }
.meas-grid--row .meas-card__value { font-size: 16px; }
/* two rows on anything narrow */
@media (max-width: 1000px) {
	.meas-grid--row {
		grid-auto-flow: row;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 420px) {
	.meas-grid--row .meas-card--contact { padding: 16px; }
	.meas-grid--row .meas-card__value { font-size: 14px; }
}

/* ---------------------------------------------------------- client grid */
.meas-clientgrid { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.meas-clientgrid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.meas-clientgrid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.meas-clientgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.meas-logo--tile {
	width: auto;
	height: clamp(120px, 11vw, 165px);
	text-decoration: none;
	animation: meas-tile-in .5s var(--meas-ease) both;
	animation-delay: calc(var(--i, 0) * 26ms);
}
@keyframes meas-tile-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.meas-logo--tile[hidden] { display: none; }
@media (max-width: 1100px) { .meas-clientgrid--6, .meas-clientgrid--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .meas-clientgrid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 480px) { .meas-clientgrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .meas-logo--tile { height: 104px; } }
.meas-loadmore[hidden] { display: none; }

/* a short set of quotes sits still instead of pretending to loop */
.meas-quotes.is-static .meas-quotes__track { animation: none; width: 100%; }
.meas-quotes.is-static .meas-quotes__row { flex-wrap: wrap; padding-right: 0; }

/* ------------------------------------------------------- event editions */
.meas-editions { display: grid; gap: clamp(40px, 6vw, 88px); }
.meas-edition { display: grid; gap: clamp(20px, 3vw, 36px); scroll-margin-top: 110px; }
.meas-edition__gallery .meas-gallery { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.meas-edition .meas-split__media { align-self: start; }
.meas-edition .meas-prose p { margin-top: 0; }
@media (max-width: 600px) {
	.meas-edition__gallery .meas-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
