/* ==========================================================
   MillionClix — Design System
   Bold & confident, heavy sans, color blocks
   ========================================================== */

@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600&family=Geist+Mono:wght@400;500&display=swap");

:root {
	/* Color */
	--ink: #0e0e10;
	--ink-2: #1a1a1e;
	--ink-3: #2a2a30;
	--paper: #e7e6e3; /* tan/beige base canvas */
	--paper-2: #ffffff; /* white panel sections */
	--paper-3: #d8d7d3; /* darker tan for tiles/borders */
	--rule: rgba(14, 14, 16, 0.12);
	--rule-light: rgba(255, 255, 255, 0.14);
	--muted: #6b6b72;
	--muted-light: rgba(255, 255, 255, 0.55);

	/* Brand blues */
	--blue: #2b4cf6;
	--blue-cyan: #8aa1ff;
	--blue-deep: #1b31c4;
	--blue-mid: #4a66f8;

	/* Type */
	--sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
	--serif: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

	/* Layout */
	--gutter: 32px;
	--col: 80px;
	--rad: 0px;
	--nav-h: 76px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html,
body {
	background: var(--paper);
	color: var(--ink);
}
body {
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img,
svg {
	display: block;
	max-width: 100%;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	font: inherit;
	cursor: pointer;
	border: none;
	background: none;
	color: inherit;
}

/* ---------- Layout ---------- */
.wrap {
	max-width: 1680px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.wrap-narrow {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* ---------- Type scale ---------- */
.eyebrow {
	font-family: var(--mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
}
.eyebrow.on-dark {
	color: var(--muted-light);
}
/* .eyebrow .dot {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	background: var(--blue);
	margin-right: 10px;
	transform: none;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7L17 17M17 7L7 17' stroke='black' stroke-width='4.2' stroke-linecap='round'/%3E%3C/svg%3E")
		center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7L17 17M17 7L7 17' stroke='black' stroke-width='4.2' stroke-linecap='round'/%3E%3C/svg%3E")
		center / contain no-repeat;
} */

.eyebrow .dot {
	display: inline-block;
	width: 12px;
	height: 13px;
	border-radius: 0;
	box-shadow: none;
	animation: none;
	-webkit-mask: none;
	mask: none;
	margin-right: 9px;
	margin-left: 3px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 130'%3E%3Crect x='2' y='66' width='28' height='62' rx='14' fill='%23a5b8ff'/%3E%3Crect x='46' y='38' width='28' height='90' rx='14' fill='%236686ff'/%3E%3Crect x='90' y='6' width='28' height='122' rx='14' fill='%231e4dff'/%3E%3C/svg%3E")
		no-repeat center / contain !important;
}
/* kill the ✕ glyph if it's drawn via pseudo-element */
.eyebrow .dot::before,
.eyebrow .dot::after {
	content: none !important;
}

.display {
	font-family: var(--sans);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 0.95;
}
.display .it {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 500;
	letter-spacing: -0.01em;
}

h1.display {
	font-size: clamp(64px, 11vw, 200px);
}
h2.display {
	font-size: clamp(48px, 7.5vw, 130px);
}
h3.display {
	font-size: clamp(32px, 4.5vw, 72px);
}

p.lead {
	font-size: clamp(18px, 1.5vw, 24px);
	line-height: 1.4;
	max-width: 60ch;
	color: var(--ink-2);
}
p {
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink-2);
}

/* ---------- Nav ---------- */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--nav-h);
	z-index: 100;
	display: flex;
	align-items: center;
	padding: 0 var(--gutter);
	background: rgba(231, 230, 227, 0.72);
	backdrop-filter: blur(20px) saturate(160%);
	-webkit-backdrop-filter: blur(20px) saturate(160%);
	border-bottom: 1px solid var(--rule);
	transition: background 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease,
		border-color 0.4s ease, box-shadow 0.4s ease;
}
.nav.over-hero {
	background: transparent;
	border-bottom-color: transparent;
	color: #fff;
}
.nav.over-hero .nav-logo span {
	color: #fff;
}
.nav.over-hero .nav-logo .mark rect {
	fill: #fff;
}
.nav.over-hero .nav-links a {
	color: #fff;
}
.nav.over-hero .nav-links a:hover {
	background: rgba(255, 255, 255, 0.14);
}
.nav.over-hero .nav-links a.active {
	color: #fff;
	background: rgba(255, 255, 255, 0.2);
}
.nav.over-hero .nav-cta {
	background: #fff;
	color: var(--ink);
}
.nav.over-hero .nav-cta:hover {
	background: var(--ink);
	color: #fff;
}
.nav.dark {
	background: rgba(14, 14, 16, 0.72);
	border-bottom-color: var(--rule-light);
	color: var(--paper);
}
.nav.dark.over-hero {
	background: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	border-bottom-color: transparent;
	box-shadow: none;
}
.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 1680px;
	margin: 0 auto;
}
.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 19px;
	letter-spacing: -0.02em;
}
.nav-logo .logo-img {
	height: 44px;
	width: auto;
	display: block;
}
.nav-logo .logo-dark {
	display: none;
}
.nav.over-hero .nav-logo .logo-light,
.nav.dark .nav-logo .logo-light {
	display: none;
}
.nav.over-hero .nav-logo .logo-dark,
.nav.dark .nav-logo .logo-dark {
	display: block;
}
.nav-logo .mark {
	width: 22px;
	height: 22px;
}
.nav-links {
	display: flex;
	gap: 4px;
	align-items: center;
}
.nav-links a {
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.005em;
	border-radius: 999px;
	transition: background 0.2s;
	position: relative;
}
.nav-links a:hover {
	background: rgba(10, 10, 11, 0.06);
}
.nav.dark .nav-links a:hover {
	background: rgba(244, 242, 238, 0.08);
}
.nav-links a.active {
	color: #fff;
	background: var(--blue);
}
.nav.dark .nav-links a.active {
	color: #fff;
	/* background: transparent; */
	/* border: 1px solid var(--blue); */
	border: 1px solid rgba(138, 161, 255, 0.32);
	background: rgba(110, 134, 255, 0.08);
}
.nav-cta {
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: transform 0.2s;
}
.nav.dark .nav-cta {
	background: var(--paper);
	color: var(--ink);
}
.nav-cta:hover {
	background: var(--blue);
	color: white;
	transform: translateY(-1px);
}
.nav.dark .nav-cta:hover {
	background: var(--blue);
	color: white;
}
.nav-cta .arrow {
	transition: transform 0.2s;
}
.nav-cta:hover .arrow {
	transform: translate(2px, -2px);
}
.nav-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.nav-login {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--ink-2);
	white-space: nowrap;
	transition: color 0.2s, background 0.2s;
}
.nav-login .lock {
	opacity: 0.85;
}
.nav-login:hover {
	color: var(--ink);
	background: rgba(14, 14, 16, 0.05);
}
.nav.dark .nav-login {
	color: rgba(255, 255, 255, 0.78);
}
.nav.dark .nav-login:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
}
.nav.over-hero .nav-login {
	color: rgba(255, 255, 255, 0.85);
}
.nav.over-hero .nav-login:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
}
.nav-mobile-login {
	display: flex;
	align-items: center;
	font-size: 17px;
	font-weight: 500;
	padding: 6px 0;
	color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 24px;
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
	border-radius: 999px;
	letter-spacing: -0.005em;
	transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
	border: 1px solid transparent;
}
.btn-primary {
	background: var(--ink);
	color: var(--paper);
}
.btn-primary:hover {
	background: var(--blue);
	transform: translateY(-2px);
}
.btn-ghost {
	border-color: var(--rule);
	color: var(--ink);
}
.btn-ghost:hover {
	border-color: var(--ink);
}
.btn-blue {
	background: var(--blue);
	color: white;
}
.btn-blue:hover {
	background: var(--blue-deep);
}
.btn .arrow {
	display: inline-block;
	width: 14px;
	height: 14px;
	transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn:hover .arrow {
	transform: translate(3px, -3px);
}

/* ---------- Sections ---------- */
section {
	position: relative;
}
.section-pad {
	padding: 120px 0;
}
.section-pad-sm {
	padding: 80px 0;
}
.dark-section {
	background: var(--ink);
	color: var(--paper);
}
.dark-section p {
	color: var(--muted-light);
}
.blue-section {
	background: var(--blue);
	color: white;
}
.white-section {
	background: var(--paper-2);
	color: var(--ink);
}

/* Deep navy section — for the numbers band */
.deep-section {
	background: #081427;
	color: #fff;
	position: relative;
	overflow: hidden;
}
.deep-section::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse 70% 60% at 12% 0%, rgba(44, 111, 230, 0.3), transparent 60%),
		radial-gradient(ellipse 60% 70% at 92% 100%, rgba(44, 111, 230, 0.18), transparent 65%);
}
.deep-section::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(rgba(90, 155, 255, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(90, 155, 255, 0.06) 1px, transparent 1px);
	background-size: 58px 58px;
	-webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000, transparent 82%);
	mask-image: radial-gradient(ellipse at 60% 40%, #000, transparent 82%);
}
.deep-section > * {
	position: relative;
	z-index: 1;
}
.deep-section p {
	color: rgba(255, 255, 255, 0.7);
}

.section-head {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 48px;
	align-items: end;
	margin-bottom: 56px;
}
.dark-section .section-head {
}

/* ---------- Tickers ---------- */
.ticker-track {
	display: inline-flex;
	gap: 60px;
	padding-right: 60px;
	animation: ticker 40s linear infinite;
	will-change: transform; /* GPU layer */
	transform: translateZ(0); /* force compositing */
	backface-visibility: hidden;
}
.ticker-track > * {
	flex-shrink: 0;
}
@keyframes ticker {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}
/* .ticker-track {
	display: inline-flex;
	gap: 60px;
	padding-right: 60px;
	animation: ticker 40s linear infinite;
	will-change: transform;
}
.ticker-track > * {
	flex-shrink: 0;
}
@keyframes ticker {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
} */

/* ---------- Reveal ---------- */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
	opacity: 1;
	transform: none;
}
.reveal.delay-1 {
	transition-delay: 0.08s;
}
.reveal.delay-2 {
	transition-delay: 0.16s;
}
.reveal.delay-3 {
	transition-delay: 0.24s;
}
.reveal.delay-4 {
	transition-delay: 0.32s;
}

/* Frozen-clock / no-JS-animation fallback — content must never be stuck hidden */
html.no-anim .reveal {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}
.no-js .reveal {
	opacity: 1;
	transform: none;
}

/* ---------- Marquee headline (for crop-to-edge type) ---------- */
.edge-display {
	font-family: var(--sans);
	font-weight: 700;
	letter-spacing: -0.05em;
	font-size: clamp(80px, 18vw, 320px);
	line-height: 0.85;
	white-space: nowrap;
}

/* ---------- Footer ---------- */
.footer {
	background: var(--ink);
	color: var(--paper);
	padding: 72px 0 32px;
}
.footer .mark {
	height: 26px;
	width: 17px;
}
.footer .edge-display {
	color: var(--paper);
}

/* ---------- Cursor pulse on links ---------- */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.link-arrow .arrow {
	transition: transform 0.2s;
}
.link-arrow:hover .arrow {
	transform: translate(3px, -3px);
}

/* ---------- Page wrapper to offset fixed nav ---------- */
.page {
	padding-top: 0;
}

/* ---------- Asterisk spinner ---------- */
.spin {
	display: inline-block;
	animation: spin 8s linear infinite;
	transform-origin: center;
}
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* ---------- Scrollbars (subtle) ---------- */
::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}
::-webkit-scrollbar-track {
	background: transparent;
}
::-webkit-scrollbar-thumb {
	background: rgba(10, 10, 11, 0.2);
	border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
	background: rgba(10, 10, 11, 0.4);
}

/* ---------- Selection ---------- */
::selection {
	background: var(--blue);
	color: white;
}

/* ---------- Utility ---------- */
.row {
	display: flex;
}
.col {
	display: flex;
	flex-direction: column;
}
.gap-8 {
	gap: 8px;
}
.gap-16 {
	gap: 16px;
}
.gap-24 {
	gap: 24px;
}
.gap-32 {
	gap: 32px;
}
.gap-48 {
	gap: 48px;
}
.between {
	justify-content: space-between;
}
.center {
	align-items: center;
}
.text-blue {
	color: var(--blue);
}
.text-muted {
	color: var(--muted);
}
.on-dark .text-muted {
	color: var(--muted-light);
}
.uppercase {
	text-transform: uppercase;
}
.mono {
	font-family: var(--mono);
}
.italic-serif {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 500;
}

/* hidden until JS sets up */
.no-fouc {
	visibility: hidden;
}
.no-fouc.ready {
	visibility: visible;
}

/* ==========================================================
   Hamburger menu (hidden on desktop)
   ========================================================== */
.nav-toggle {
	display: none;
	background: none;
	border: none;
	padding: 0;
}
.nav-mobile {
	display: none;
}

/* ============== TESTIMONIAL SLIDER (gradient card) ============== */
.proof-slider {
	max-width: 920px;
	margin: 0 auto;
}

/* the card frame stays put; quotes swap inside it */
.proof-card {
	position: relative;
	border-radius: 26px;
	overflow: hidden;
	background: linear-gradient(155deg, #16307a 0%, #0c1430 74%);
	border: 1px solid rgba(110, 134, 255, 0.4);
	padding: clamp(36px, 4vw, 64px);
}
.proof-card::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse 70% 60% at 90% 6%, rgba(110, 134, 255, 0.28), transparent 60%);
}

/* fixed height, content vertically centered, long quotes scroll instead of pushing */
.proof-track {
	position: relative;
	height: 360px;
}

.proof-q {
	position: absolute;
	inset: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.5s ease, transform 0.5s ease;
	pointer-events: none;
	overflow-y: auto;
}
.proof-q.on {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
/* subtle scrollbar for very long quotes */
.proof-q::-webkit-scrollbar {
	width: 4px;
}
.proof-q::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.18);
	border-radius: 4px;
}

.proof-mark {
	font-family: var(--sans);
	font-weight: 700;
	font-size: 56px;
	line-height: 0.5;
	color: var(--blue-cyan, #6e86ff);
	opacity: 0.6;
	display: block;
	height: 28px;
	margin-bottom: 18px;
}

.proof-text {
	font-family: var(--sans);
	font-size: clamp(17px, 1.5vw, 19px);
	font-weight: 300;
	letter-spacing: -0.015em;
	line-height: 1.5;
	max-width: 60ch;
	margin: 0;
	color: #fff;
}

.proof-attr {
	display: flex;
	gap: 13px;
	align-items: center;
	margin-top: 30px;
}
.proof-badge {
	width: 46px;
	height: 46px;
	flex: 0 0 auto;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--mono);
	font-size: 13px;
	letter-spacing: 0.04em;
	border-radius: 11px;
}
.proof-who {
	display: flex;
	flex-direction: column;
}
.proof-name {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: #fff;
}
.proof-role {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
	margin-top: 2px;
}

.proof-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 32px;
}
.proof-arrow {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--rule);
	background: transparent;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ink);
	transition: background 0.2s, border-color 0.2s, color 0.2s;
	flex: 0 0 auto;
}
.proof-arrow:hover {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}
.proof-dots {
	display: flex;
	gap: 8px;
}
.proof-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(14, 14, 16, 0.18);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
}
.proof-dot.on {
	background: var(--blue);
	transform: scale(1.3);
}
.proof-company {
	font-family: var(--mono);
	font-size: 18px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: white;
	display: block;
	margin-bottom: 14px;
}

.booking-badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 22px;
	padding: 10px 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.22);
	backdrop-filter: blur(8px);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.01em;
}
.booking-badge strong {
	font-weight: 700;
}
.booking-badge .booking-note {
	color: rgba(255, 255, 255, 0.6);
	font-weight: 400;
}
.booking-pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #4ade80; /* green = available signal */
	box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
	animation: booking-pulse 2s infinite;
}
@keyframes booking-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
	}
	70% {
		box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
	}
}

@media (max-width: 680px) {
	.proof-track {
		height: 440px;
	}
}

/* ==========================================================
   Responsive / mobile
   ========================================================== */
@media (max-width: 860px) {
	:root {
		--gutter: 22px;
		--nav-h: 64px;
	}

	/* nav → hamburger */
	.nav-links,
	.nav-inner > .nav-actions {
		display: none;
	}
	.nav-toggle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 5px;
		width: 44px;
		height: 44px;
		margin-right: -8px;
		border-radius: 10px;
		cursor: pointer;
	}
	.nav-toggle span {
		display: block;
		width: 22px;
		height: 2px;
		background: var(--ink);
		border-radius: 2px;
	}
	.nav.over-hero .nav-toggle span {
		background: #fff;
	}
	.nav.dark .nav-toggle span {
		background: var(--paper);
	}
	.nav.nav-open .nav-toggle span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}
	.nav.nav-open .nav-toggle span:nth-child(2) {
		opacity: 0;
	}
	.nav.nav-open .nav-toggle span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	/* when the menu is open the bar is solid regardless of hero */
	.nav.nav-open {
		background: var(--paper);
		border-bottom-color: var(--rule);
	}
	.nav.nav-open .nav-logo span {
		color: var(--ink);
	}
	.nav.nav-open .nav-logo .logo-light {
		display: block;
	}
	.nav.nav-open .nav-logo .logo-dark {
		display: none;
	}
	.nav.nav-open .nav-logo .mark rect {
		fill: var(--blue);
	}
	.nav.nav-open .nav-logo .mark rect:first-child {
		fill: #8aa1ff;
	}
	.nav.nav-open .nav-logo .mark rect:last-child {
		fill: #1b31c4;
	}
	.nav.nav-open .nav-toggle span {
		background: var(--ink);
	}

	.nav-mobile {
		display: flex;
		flex-direction: column;
		gap: 2px;
		position: fixed;
		top: var(--nav-h);
		left: 0;
		right: 0;
		background: var(--paper);
		padding: 12px var(--gutter) 28px;
		border-bottom: 1px solid var(--rule);
		max-height: calc(100vh - var(--nav-h));
		overflow-y: auto;
		transform: translateY(-100%);
		pointer-events: none;
		visibility: hidden;
	}
	.nav.nav-open .nav-mobile {
		transform: none;
		pointer-events: auto;
		visibility: visible;
	}
	.nav-mobile a {
		font-size: 22px;
		font-weight: 600;
		letter-spacing: -0.02em;
		color: var(--ink);
		padding: 14px 0;
		border-bottom: 1px solid var(--rule);
	}
	.nav-mobile a:last-of-type {
		border-bottom: none;
	}
	.nav-mobile .nav-mobile-cta {
		margin-top: 16px;
		background: var(--ink);
		color: var(--paper);
		border-radius: 999px;
		text-align: center;
		padding: 16px;
		border-bottom: none;
		font-size: 16px;
	}

	/* spacing + structure */
	.section-pad {
		padding: 76px 0;
	}
	.section-pad-sm {
		padding: 52px 0;
	}
	.section-head {
		grid-template-columns: 1fr;
		gap: 18px;
		margin-bottom: 40px;
	}
	.numbers {
		grid-template-columns: 1fr 1fr;
	}

	/* footer collapses */
	.footer .wrap > div:first-child {
		grid-template-columns: 1fr 1fr !important;
		gap: 32px !important;
	}

	/* generic multi-column grids written as inline styles → collapse */
	[style*="1fr 2fr"],
	[style*="2fr 1fr"],
	[style*="1fr 1fr"],
	[style*="1fr 3fr"],
	[style*="1.05fr"],
	[style*="1.4fr"],
	[style*="1.5fr"],
	[style*="1.6fr"],
	[style*="1.1fr"],
	[style*="120px 1fr 2fr"] {
		grid-template-columns: 1fr !important;
	}
	[style*="repeat(3"],
	[style*="repeat(4"],
	[style*="repeat(5"] {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	[style*="repeat(12"] {
		grid-template-columns: 1fr !important;
	}

	/* wide index table scrolls horizontally (restore its column template the generic rule would collapse) */
	#work-table {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	#work-table > * {
		min-width: 620px;
		grid-template-columns: 60px 2fr 1fr 2fr 1fr 1.4fr 40px !important;
	}
}

@media (max-width: 560px) {
	.footer .wrap > div:first-child {
		grid-template-columns: 1fr !important;
	}
	.footer .wrap > div:last-child {
		flex-direction: column;
		gap: 10px;
		align-items: flex-start;
	}
	.numbers {
		grid-template-columns: 1fr;
	}
	[style*="repeat(3"],
	[style*="repeat(4"],
	[style*="repeat(5"] {
		grid-template-columns: 1fr !important;
	}
	.btn {
		padding: 14px 20px;
	}

	/* let the card grow with the quote instead of scrolling inside a fixed box */
	.proof-track {
		height: auto;
		min-height: 360px;
	}
	.proof-q {
		position: relative; /* take it out of the absolute stack so it sizes the track */
		overflow-y: visible;
	}
	/* keep only the active quote in the flow; hide the rest */
	.proof-q:not(.on) {
		display: none;
	}
}
