/*
Theme Name: Pulsewave
Theme URI: https://example.com/pulsewave
Author: Pulsewave Studio
Description: A bold, modern, performance-focused theme for digital marketing agencies. Dark UI, gradient accents, scroll animations, case studies and a built-in lead inbox.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pulsewave
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	color-scheme: dark;
	--fg-rgb: 255, 255, 255;
	--bg-rgb: 7, 7, 12;
	--accent-ink: #d4ff3a;
	--blob-opacity: 1;
	--bg: #07070c;
	--bg-2: #0c0c14;
	--surface: #11111b;
	--surface-2: #171724;
	--line: rgba(var(--fg-rgb), 0.08);
	--line-strong: rgba(var(--fg-rgb), 0.16);
	--text: #f5f5fa;
	--muted: #9d9db5;
	--dim: #6c6c85;
	--text-soft: #d6d6e4;

	--lime: #d4ff3a;
	--violet: #7c5cff;
	--pink: #ff5ca8;
	--ocean: #2ee6d6;
	--grad: linear-gradient(100deg, var(--lime) 0%, #9bf0a0 30%, var(--violet) 65%, var(--pink) 100%);

	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Space Grotesk", "Inter", system-ui, sans-serif;

	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	--container: 1240px;
	--gutter: clamp(20px, 4vw, 40px);
	--header-h: 76px;
	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

/* Light theme: same design language, inverted surfaces. Lime stays as a fill colour;
   text accents switch to a deep green that passes contrast on white. */
:root[data-theme="light"] {
	color-scheme: light;
	--fg-rgb: 12, 12, 24;
	--bg-rgb: 248, 248, 252;
	--accent-ink: #3f6b00;
	--blob-opacity: 0.45;
	--bg: #f8f8fc;
	--bg-2: #eff0f6;
	--surface: #ffffff;
	--surface-2: #f6f7fb;
	--text: #0c0c18;
	--muted: #545470;
	--dim: #85859e;
	--text-soft: #2b2b3e;
	--grad: linear-gradient(100deg, #4d8a00 0%, #1fa37a 30%, var(--violet) 65%, #e0368a 100%);
	--shadow-lg: 0 30px 70px -28px rgba(30, 30, 80, 0.28);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

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

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

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

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.025em;
	margin: 0 0 0.5em;
}

p {
	margin: 0 0 1em;
}

ul, ol {
	margin: 0;
	padding: 0;
}

::selection {
	background: var(--lime);
	color: var(--bg);
}

:focus-visible {
	outline: 2px solid var(--accent-ink);
	outline-offset: 3px;
	border-radius: 6px;
}

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

.top-anchor {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	scroll-margin-top: 100vh; /* cancel scroll-padding so #top lands at the very top */
}

.skip-link {
	position: fixed;
	left: 16px;
	top: -100px;
	z-index: 1000;
	background: var(--lime);
	color: var(--bg);
	padding: 10px 16px;
	border-radius: var(--radius-sm);
	font-weight: 600;
}
.skip-link:focus {
	top: 16px;
}

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

.container--narrow {
	max-width: 760px;
	margin-inline: auto;
}

.muted {
	color: var(--muted);
}

.text-gradient {
	background: var(--grad);
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: grad-shift 8s ease-in-out infinite alternate;
}

@keyframes grad-shift {
	to { background-position: 100% center; }
}

.glass {
	background: linear-gradient(180deg, rgba(var(--fg-rgb), 0.07), rgba(var(--fg-rgb), 0.02));
	border: 1px solid var(--line-strong);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
}

.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

/* ==========================================================================
   3. Buttons, chips, tags
   ========================================================================== */
.btn {
	--bg-btn: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	padding: 0.85em 1.4em;
	border-radius: 999px;
	border: 1px solid transparent;
	font: 600 0.95rem/1 var(--font-body);
	letter-spacing: -0.005em;
	cursor: pointer;
	white-space: nowrap;
	transition: transform 0.35s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.35s var(--ease);
	will-change: transform;
}
.btn .icon {
	transition: transform 0.35s var(--ease);
}
.btn:hover .icon {
	transform: translateX(3px);
}
.btn .icon--arrow-ur {
	width: 1em;
	height: 1em;
}
.btn:hover .icon--arrow-ur {
	transform: translate(2px, -2px);
}

.btn--primary {
	background: var(--lime);
	color: #0a0a0f;
	box-shadow: 0 0 0 0 rgba(212, 255, 58, 0.5), 0 10px 30px -10px rgba(212, 255, 58, 0.55);
}
.btn--primary:hover {
	box-shadow: 0 0 0 6px rgba(212, 255, 58, 0.14), 0 16px 40px -12px rgba(212, 255, 58, 0.7);
}

.btn--ghost {
	border-color: var(--line-strong);
	color: var(--text);
	background: rgba(var(--fg-rgb), 0.03);
}
.btn--ghost:hover {
	border-color: rgba(var(--fg-rgb), 0.4);
	background: rgba(var(--fg-rgb), 0.07);
}

.btn--dark {
	background: #0a0a0f;
	color: #fff;
}
.btn--dark:hover {
	box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.7);
}

.btn--sm { padding: 0.65em 1.1em; font-size: 0.88rem; }
.btn--lg { padding: 1.05em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.45em 0.95em;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	background: rgba(var(--fg-rgb), 0.03);
	color: var(--muted);
	font: 500 0.8rem/1 var(--font-body);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 1.4rem;
}
.eyebrow--dark {
	color: rgba(10, 10, 15, 0.75);
	border-color: rgba(10, 10, 15, 0.2);
	background: rgba(10, 10, 15, 0.06);
}

.pulse-dot {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lime);
	flex: none;
}
.pulse-dot::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid var(--lime);
	animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
	0% { transform: scale(0.6); opacity: 1; }
	100% { transform: scale(1.8); opacity: 0; }
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
}
.tags li {
	padding: 0.35em 0.75em;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: rgba(var(--fg-rgb), 0.04);
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 500;
}
.tags--post {
	margin-top: 2.5rem;
}
.tags--post a:hover {
	color: var(--accent-ink);
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0.3em 0.7em;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 600;
}
.badge--live {
	background: rgba(212, 255, 58, 0.12);
	color: var(--accent-ink);
}
.badge--live .pulse-dot {
	width: 6px;
	height: 6px;
}

.stars {
	display: flex;
	gap: 2px;
	color: #ffc93c;
}
.stars .icon {
	width: 15px;
	height: 15px;
}

/* ==========================================================================
   4. Header & navigation
   ========================================================================== */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	display: flex;
	align-items: center;
	transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s, transform 0.4s var(--ease);
	border-bottom: 1px solid transparent;
}
.admin-bar .site-header {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

.site-header.is-scrolled {
	background: rgba(var(--bg-rgb), 0.72);
	border-bottom-color: var(--line);
	backdrop-filter: blur(16px) saturate(160%);
	-webkit-backdrop-filter: blur(16px) saturate(160%);
}
.site-header.is-hidden {
	transform: translateY(-110%);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font: 700 1.2rem/1 var(--font-display);
	letter-spacing: -0.03em;
}
.brand__mark svg {
	width: 32px;
	height: 32px;
	transition: transform 0.6s var(--ease);
}
.brand:hover .brand__mark svg {
	transform: rotate(-12deg) scale(1.06);
}
.brand__logo {
	width: auto;
	max-height: 36px;
}

.nav {
	margin-left: auto;
}
.nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
}
.nav__list a {
	display: block;
	padding: 0.55em 0.95em;
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.93rem;
	font-weight: 500;
	transition: color 0.2s, background-color 0.2s;
}
.nav__list a:hover,
.nav__list .current-menu-item > a {
	color: var(--text);
	background: rgba(var(--fg-rgb), 0.06);
}
.nav__mobile-cta {
	display: none;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.nav-toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--line-strong);
	background: rgba(var(--fg-rgb), 0.04);
	cursor: pointer;
}
.nav-toggle__bar {
	position: absolute;
	left: 13px;
	right: 13px;
	height: 2px;
	border-radius: 2px;
	background: var(--text);
	transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle__bar:nth-child(1) { top: 17px; }
.nav-toggle__bar:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.site-header__cta { display: none; }
	.nav {
		position: fixed;
		inset: var(--header-h) 0 auto;
		height: calc(100dvh - var(--header-h));
		margin: 0;
		padding: 24px var(--gutter) 40px;
		background: rgba(var(--bg-rgb), 0.97);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		display: flex;
		flex-direction: column;
		gap: 24px;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-12px);
		transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
	}
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.nav__list a {
		padding: 18px 4px;
		border-radius: 0;
		border-bottom: 1px solid var(--line);
		font: 600 1.6rem/1.1 var(--font-display);
		color: var(--text);
	}
	.nav__list a:hover { background: none; color: var(--accent-ink); }
	.nav__mobile-cta { display: inline-flex; }
	body.nav-open { overflow: hidden; }
	.site-header.nav-is-open { background: rgba(var(--bg-rgb), 0.97); }
}

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	padding: calc(var(--header-h) + 60px) 0 90px;
	overflow: hidden;
	isolation: isolate;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	overflow: hidden;
}

.blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.55;
	animation: float 18s ease-in-out infinite alternate;
}
.blob--1 {
	width: 46vw; height: 46vw; max-width: 720px; max-height: 720px;
	top: -18%; right: -8%;
	background: radial-gradient(circle, var(--violet), transparent 65%);
}
.blob--2 {
	width: 38vw; height: 38vw; max-width: 560px; max-height: 560px;
	bottom: -22%; left: -10%;
	background: radial-gradient(circle, var(--pink), transparent 65%);
	opacity: 0.35;
	animation-duration: 22s;
	animation-delay: -6s;
}
.blob--3 {
	width: 28vw; height: 28vw; max-width: 420px; max-height: 420px;
	top: 30%; left: 38%;
	background: radial-gradient(circle, var(--lime), transparent 65%);
	opacity: 0.16;
	animation-duration: 26s;
	animation-delay: -12s;
}
@keyframes float {
	0% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(4vw, 3vh) scale(1.08); }
	100% { transform: translate(-3vw, -2vh) scale(0.96); }
}

.hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(var(--fg-rgb), 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(var(--fg-rgb), 0.045) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}


.hero__inner {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: clamp(40px, 6vw, 80px);
}

.hero__title {
	font-size: clamp(2.8rem, 6.4vw, 5.6rem);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.045em;
	margin-bottom: 1.6rem;
}
.hero__title .text-gradient {
	display: inline;
}

.hero__lead {
	font-size: clamp(1.05rem, 1.4vw, 1.22rem);
	color: var(--muted);
	max-width: 36em;
	margin-bottom: 2.2rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 2.6rem;
}

.hero__proof {
	display: flex;
	align-items: center;
	gap: 16px;
	color: var(--muted);
	font-size: 0.92rem;
}
.hero__proof p { margin: 4px 0 0; }
.hero__proof strong { color: var(--text); }

.avatars {
	display: flex;
}
.avatars span,
.avatar {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid var(--bg);
	background: linear-gradient(135deg, hsl(var(--h) 90% 65%), hsl(calc(var(--h) + 40) 80% 45%));
	color: #0a0a0f;
	font: 700 0.75rem/1 var(--font-display);
}
.avatars span + span {
	margin-left: -12px;
}

/* Dashboard visual */
.hero__visual {
	position: relative;
	perspective: 1200px;
}
.dash {
	position: relative;
	border-radius: var(--radius-lg);
	padding: 22px;
	box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(var(--fg-rgb), 0.08);
	transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg));
	transform-style: preserve-3d;
	transition: transform 0.6s var(--ease);
}
.dash::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(140deg, rgba(212, 255, 58, 0.5), transparent 35%, transparent 65%, rgba(124, 92, 255, 0.6));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}
.dash__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	font-size: 0.85rem;
	color: var(--muted);
}
.dash__dots {
	display: flex;
	gap: 6px;
}
.dash__dots i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(var(--fg-rgb), 0.14);
}
.dash__title { flex: 1; }
.dash__kpis {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 14px;
}
.dash__kpis > div {
	padding: 12px 14px;
	border-radius: 14px;
	background: rgba(var(--fg-rgb), 0.04);
	border: 1px solid var(--line);
}
.dash__label {
	display: block;
	font-size: 0.72rem;
	color: var(--dim);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.dash__kpis strong {
	display: block;
	font: 600 1.35rem/1.25 var(--font-display);
	letter-spacing: -0.02em;
}
.dash__kpis em {
	font-style: normal;
	font-size: 0.75rem;
	font-weight: 600;
}
.up { color: var(--accent-ink); }

.dash__chart {
	width: 100%;
	height: 150px;
	margin-bottom: 14px;
	overflow: visible;
}
.dash__line {
	stroke-dasharray: 520;
	stroke-dashoffset: 520;
	animation: draw 2.4s 0.6s var(--ease) forwards;
	filter: drop-shadow(0 0 8px rgba(212, 255, 58, 0.5));
}
.dash__area {
	opacity: 0;
	animation: fade-in 1.4s 1.6s var(--ease) forwards;
}
.dash__point {
	opacity: 0;
	animation: fade-in 0.4s 2.8s forwards, ping 2s 3s ease-out infinite;
	transform-origin: 320px 10px;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes ping {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.5); }
}

.dash__channels {
	display: grid;
	gap: 8px;
}
.channel {
	display: grid;
	grid-template-columns: 64px 1fr 40px;
	align-items: center;
	gap: 10px;
	font-size: 0.8rem;
	color: var(--muted);
}
.channel b {
	text-align: right;
	color: var(--text);
	font-weight: 600;
}
.channel__bar {
	height: 6px;
	border-radius: 6px;
	background: rgba(var(--fg-rgb), 0.06);
	overflow: hidden;
}
.channel__bar i {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	animation: grow 1.6s 1s var(--ease) forwards;
}
@keyframes grow { to { width: var(--w); } }
.c-lime { background: var(--lime); }
.c-violet { background: var(--violet); }
.c-pink { background: var(--pink); }
.c-ocean { background: var(--ocean); }

.float-chip {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-radius: 16px;
	box-shadow: var(--shadow-lg);
	animation: bob 6s ease-in-out infinite;
}
.float-chip .icon {
	width: 36px;
	height: 36px;
	padding: 8px;
	border-radius: 10px;
	background: rgba(212, 255, 58, 0.14);
	color: var(--accent-ink);
}
.float-chip strong {
	display: block;
	font: 700 1.05rem/1.2 var(--font-display);
}
.float-chip span {
	font-size: 0.75rem;
	color: var(--muted);
}
.float-chip--a { top: -64px; left: -40px; }
.float-chip--b { bottom: -28px; right: -20px; animation-delay: -3s; }
.float-chip--b .icon { background: rgba(124, 92, 255, 0.18); color: #b4a3ff; }
@keyframes bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

/* ==========================================================================
   6. Logos marquee
   ========================================================================== */
.logos {
	padding: 30px 0 70px;
	border-bottom: 1px solid var(--line);
}
.logos__label {
	text-align: center;
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: 28px;
}

.marquee {
	--gap: 64px;
	--speed: 40s;
	display: flex;
	gap: var(--gap);
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
	display: flex;
	flex: none;
	align-items: center;
	gap: var(--gap);
	min-width: 100%;
	list-style: none;
	animation: scroll var(--speed) linear infinite;
}
.marquee:hover .marquee__track {
	animation-play-state: paused;
}
.marquee--reverse .marquee__track {
	animation-direction: reverse;
}
@keyframes scroll {
	to { transform: translateX(calc(-100% - var(--gap))); }
}

.logo {
	font: 700 1.6rem/1 var(--font-display);
	color: rgba(var(--fg-rgb), 0.34);
	letter-spacing: -0.03em;
	white-space: nowrap;
	transition: color 0.3s;
}
.logo:hover { color: var(--text); }
.logo--1 { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; }
.logo--2 { letter-spacing: 0.18em; font-size: 1.15rem; }
.logo--3 { font-weight: 500; text-transform: lowercase; }
.logo--4 { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.06em; }

/* ==========================================================================
   7. Sections
   ========================================================================== */
.section {
	position: relative;
	padding: clamp(80px, 11vw, 150px) 0;
}
.section--tight {
	padding: clamp(50px, 7vw, 90px) 0;
}
.section--alt {
	background:
		radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124, 92, 255, 0.1), transparent 70%),
		var(--bg-2);
	border-block: 1px solid var(--line);
}

.section-head {
	max-width: 760px;
	margin: 0 auto clamp(48px, 6vw, 72px);
	text-align: center;
}
.section-head--split {
	max-width: none;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	text-align: left;
}
.section-head--split .section-title {
	margin-bottom: 0;
}
.section-title {
	font-size: clamp(2.2rem, 4.6vw, 3.8rem);
	font-weight: 700;
	letter-spacing: -0.04em;
}
.section-lead {
	font-size: 1.1rem;
	color: var(--muted);
	max-width: 40em;
	margin-inline: auto;
}

/* Cards + spotlight hover */
.card,
.spot {
	position: relative;
	isolation: isolate;
}
.spot::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(212, 255, 58, 0.11), transparent 45%);
	opacity: 0;
	transition: opacity 0.4s;
	pointer-events: none;
}
.spot:hover::before {
	opacity: 1;
}

.card {
	padding: 30px;
	border-radius: var(--radius);
	background: linear-gradient(180deg, var(--surface), var(--bg-2));
	border: 1px solid var(--line);
	transition: border-color 0.3s, transform 0.5s var(--ease);
	overflow: hidden;
}
.card:hover {
	border-color: var(--line-strong);
	transform: translateY(-4px);
}
.card h3 {
	font-size: 1.35rem;
	margin: 22px 0 10px;
}
.card p {
	color: var(--muted);
	margin: 0;
}
.card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(212, 255, 58, 0.18), rgba(124, 92, 255, 0.18));
	border: 1px solid var(--line-strong);
	color: var(--accent-ink);
}
.card__icon .icon {
	width: 24px;
	height: 24px;
}
.card__arrow {
	position: absolute;
	top: 26px;
	right: 26px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--line);
	color: var(--muted);
	transition: all 0.35s var(--ease);
}
.card:hover .card__arrow {
	background: var(--lime);
	border-color: var(--lime);
	color: #0a0a0f;
	transform: rotate(45deg);
}
.card__arrow .icon { width: 16px; height: 16px; }

.bento {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.bento__feature {
	grid-row: span 2;
	display: flex;
	flex-direction: column;
	background:
		radial-gradient(ellipse 90% 60% at 100% 100%, rgba(124, 92, 255, 0.22), transparent 60%),
		radial-gradient(ellipse 70% 50% at 0% 0%, rgba(212, 255, 58, 0.1), transparent 60%),
		var(--surface);
}
.bento__feature h3 {
	font-size: 1.8rem;
}
.bento__feature .tags {
	margin-top: 20px;
}

.bento__wide {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 26px;
	padding-right: 90px;
	background:
		radial-gradient(ellipse 50% 120% at 100% 50%, rgba(46, 230, 214, 0.12), transparent 60%),
		linear-gradient(180deg, var(--surface), var(--bg-2));
}
.bento__wide .card__icon {
	flex: none;
}
.bento__wide .card__text {
	flex: 1;
}
.bento__wide h3 {
	margin-top: 0;
}
.bento__wide-tags {
	flex: none;
	max-width: 280px;
	justify-content: flex-end;
}
.bento__wide .card__arrow {
	top: 50%;
	margin-top: -19px;
}
@media (max-width: 720px) {
	.bento__wide { flex-direction: column; align-items: flex-start; padding-right: 30px; }
	.bento__wide-tags { justify-content: flex-start; max-width: none; }
	.bento__wide .card__arrow { top: 26px; margin-top: 0; }
}

.mini-bars {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	height: 150px;
	margin-top: auto;
	padding-top: 30px;
}
.mini-bars i {
	flex: 1;
	height: var(--h);
	border-radius: 6px 6px 2px 2px;
	background: linear-gradient(180deg, var(--lime), rgba(212, 255, 58, 0.15));
	transform-origin: bottom;
	transform: scaleY(0.05);
	transition: transform 1s var(--ease);
	transition-delay: calc(var(--i) * 60ms);
}
.is-visible .mini-bars i,
html:not(.js) .mini-bars i {
	transform: scaleY(1);
}
.mini-bars i:nth-child(n+8) {
	background: linear-gradient(180deg, #e9ff8f, var(--lime));
	box-shadow: 0 0 20px rgba(212, 255, 58, 0.35);
}

/* Stats */
.stats {
	padding: 70px 0;
	border-block: 1px solid var(--line);
	background: linear-gradient(90deg, rgba(212, 255, 58, 0.04), rgba(124, 92, 255, 0.06), rgba(255, 92, 168, 0.04));
}
.stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.stat {
	text-align: center;
	padding: 10px;
	position: relative;
}
.stat + .stat::before {
	content: "";
	position: absolute;
	left: -12px;
	top: 15%;
	bottom: 15%;
	width: 1px;
	background: var(--line);
}
.stat__num {
	display: block;
	font: 700 clamp(2.6rem, 5vw, 4rem)/1 var(--font-display);
	letter-spacing: -0.05em;
	margin-bottom: 10px;
	font-variant-numeric: tabular-nums;
	background: linear-gradient(180deg, var(--text) 30%, rgba(var(--fg-rgb), 0.55));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.stat__label {
	color: var(--muted);
	font-size: 0.95rem;
}

/* Work / case studies */
.work-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}
.case {
	border-radius: var(--radius-lg);
	background: var(--surface);
	border: 1px solid var(--line);
	overflow: hidden;
	transition: border-color 0.3s, transform 0.5s var(--ease);
}
.case:hover {
	border-color: var(--line-strong);
	transform: translateY(-6px);
}
.case__link {
	display: block;
	height: 100%;
}
.case__cover {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	display: grid;
	place-items: center;
}
.case__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}
.case:hover .case__img,
.case:hover .case__client-mark {
	transform: scale(1.05);
}
.case__orb {
	position: absolute;
	width: 70%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, rgba(var(--fg-rgb), 0.55), transparent 55%);
	filter: blur(30px);
	opacity: 0.55;
	animation: float 14s ease-in-out infinite alternate;
}
.case__client-mark {
	position: relative;
	font: 700 clamp(2rem, 4.5vw, 3.6rem)/1 var(--font-display);
	letter-spacing: -0.05em;
	color: rgba(10, 10, 15, 0.82);
	transition: transform 0.8s var(--ease);
	text-align: center;
	padding: 0 20px;
}
.case__metric {
	position: absolute;
	left: 18px;
	bottom: 18px;
	padding: 12px 16px;
	border-radius: 14px;
	background: rgba(var(--bg-rgb), 0.6);
	border-color: rgba(var(--fg-rgb), 0.18);
}
.case__metric strong {
	display: block;
	font: 700 1.5rem/1.1 var(--font-display);
	color: var(--accent-ink);
}
.case__metric span {
	font-size: 0.75rem;
	color: rgba(var(--fg-rgb), 0.75);
}
.case__body {
	padding: 26px 28px 30px;
}
.case__title {
	font-size: 1.45rem;
	margin: 16px 0 10px;
}
.case__excerpt {
	color: var(--muted);
	font-size: 0.97rem;
}
.case__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--accent-ink);
	font-weight: 600;
	font-size: 0.92rem;
}
.case__more .icon {
	width: 16px;
	transition: transform 0.35s var(--ease);
}
.case:hover .case__more .icon {
	transform: translateX(4px);
}

.g-lime { background: linear-gradient(135deg, #d4ff3a, #7ef0b0 55%, #2ee6d6); }
.g-violet { background: linear-gradient(135deg, #b4a3ff, #7c5cff 50%, #3b2bbd); }
.g-violet .case__client-mark, .g-violet .post-card__glyph { color: rgba(var(--fg-rgb), 0.9); }
.g-pink { background: linear-gradient(135deg, #ffc1dc, #ff5ca8 50%, #b62a8b); }
.g-ocean { background: linear-gradient(135deg, #a7fff3, #2ee6d6 45%, #1f6fff); }

/* Process */
.process {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	list-style: none;
	counter-reset: step;
	position: relative;
}
.process::before {
	content: "";
	position: absolute;
	top: 34px;
	left: 6%;
	right: 6%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--lime), var(--violet), var(--pink), transparent);
	opacity: 0.5;
}
.process__step {
	position: relative;
	padding: 0 6px;
}
.process__num {
	position: relative;
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: var(--bg-2);
	border: 1px solid var(--line-strong);
	font: 700 1.2rem/1 var(--font-display);
	margin-bottom: 24px;
	box-shadow: 0 0 0 8px var(--bg-2);
	transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.process__step:hover .process__num {
	background: var(--lime);
	border-color: var(--lime);
	color: #0a0a0f;
}
.process__when {
	display: block;
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--accent-ink);
	margin-bottom: 8px;
}
.process__step h3 {
	font-size: 1.4rem;
}
.process__step p {
	color: var(--muted);
	font-size: 0.97rem;
}

/* Testimonials */
.testimonials .section-head {
	margin-bottom: 48px;
}
.marquee--quotes {
	--gap: 18px;
	--speed: 70s;
	margin-bottom: 18px;
}
.quote {
	width: 400px;
	flex: none;
	margin: 0;
	padding: 26px;
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.quote blockquote {
	margin: 0;
	flex: 1;
}
.quote blockquote p {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.6;
}
.quote figcaption {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.88rem;
}
.quote figcaption strong {
	display: block;
}
.quote figcaption em {
	font-style: normal;
	color: var(--muted);
}

/* Pricing */
.billing-toggle {
	position: relative;
	display: inline-flex;
	padding: 5px;
	margin-top: 1.6rem;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	background: rgba(var(--fg-rgb), 0.03);
}
.billing-toggle button {
	position: relative;
	z-index: 1;
	padding: 0.65em 1.3em;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--muted);
	font: 600 0.9rem/1 var(--font-body);
	cursor: pointer;
	transition: color 0.3s;
}
.billing-toggle button[aria-pressed="true"] {
	color: #0a0a0f;
}
.billing-toggle .save {
	margin-left: 4px;
	padding: 2px 6px;
	border-radius: 999px;
	background: rgba(212, 255, 58, 0.18);
	color: var(--accent-ink);
	font-size: 0.72rem;
	transition: background 0.3s, color 0.3s;
}
.billing-toggle button[aria-pressed="true"] .save {
	background: rgba(10, 10, 15, 0.15);
	color: #0a0a0f;
}
.billing-toggle__thumb {
	position: absolute;
	top: 5px;
	bottom: 5px;
	left: 5px;
	width: var(--tw, 50%);
	transform: translateX(var(--tx, 0));
	border-radius: 999px;
	background: var(--lime);
	transition: transform 0.45s var(--ease), width 0.45s var(--ease);
}

.pricing {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	align-items: stretch;
}
.plan {
	display: flex;
	flex-direction: column;
	padding: 34px 30px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	border: 1px solid var(--line);
	transition: transform 0.5s var(--ease), border-color 0.3s;
}
.plan:hover {
	transform: translateY(-6px);
	border-color: var(--line-strong);
}
.plan--featured {
	background:
		radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 255, 58, 0.16), transparent 70%),
		var(--surface-2);
	border-color: rgba(212, 255, 58, 0.45);
	box-shadow: 0 30px 80px -30px rgba(212, 255, 58, 0.3);
}
.plan__badge {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--lime);
	color: #0a0a0f;
	font-size: 0.75rem;
	font-weight: 700;
	white-space: nowrap;
}
.plan__name {
	font-size: 1.4rem;
	margin-bottom: 8px;
}
.plan__desc {
	color: var(--muted);
	font-size: 0.95rem;
	min-height: 3.2em;
}
.plan__price {
	display: flex;
	align-items: baseline;
	gap: 2px;
	margin: 10px 0 26px;
}
.plan__currency {
	font: 600 1.5rem/1 var(--font-display);
	color: var(--muted);
	align-self: flex-start;
	margin-top: 8px;
}
.plan__amount {
	font: 700 3.4rem/1 var(--font-display);
	letter-spacing: -0.05em;
	font-variant-numeric: tabular-nums;
	transition: opacity 0.2s, transform 0.2s;
}
.plan__amount.is-swapping {
	opacity: 0;
	transform: translateY(-8px);
}
.plan__per {
	color: var(--muted);
	margin-left: 4px;
}
.plan__features {
	list-style: none;
	display: grid;
	gap: 12px;
	margin-top: 28px;
	padding-top: 26px;
	border-top: 1px solid var(--line);
}
.plan__features li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 0.95rem;
}
.plan__features .icon {
	width: 20px;
	height: 20px;
	padding: 3px;
	border-radius: 50%;
	background: rgba(212, 255, 58, 0.14);
	color: var(--accent-ink);
	margin-top: 2px;
}

/* FAQ */
.faq {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: clamp(40px, 6vw, 90px);
	align-items: start;
}
.faq__head {
	text-align: left;
	margin: 0;
	position: sticky;
	top: calc(var(--header-h) + 40px);
}
.faq__head .section-lead {
	margin-inline: 0;
}
.faq__list {
	display: grid;
	gap: 12px;
}
.faq__item {
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--surface);
	transition: border-color 0.3s, background-color 0.3s;
}
.faq__item[open] {
	border-color: var(--line-strong);
	background: var(--surface-2);
}
.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 24px;
	font: 600 1.1rem/1.35 var(--font-display);
	cursor: pointer;
	list-style: none;
}
.faq__item summary::-webkit-details-marker {
	display: none;
}
.faq__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: none;
	border-radius: 50%;
	border: 1px solid var(--line-strong);
	transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.faq__icon .icon {
	width: 16px;
	height: 16px;
}
.faq__item[open] .faq__icon {
	transform: rotate(45deg);
	background: var(--lime);
	color: #0a0a0f;
	border-color: var(--lime);
}
.faq__answer {
	padding: 0 24px 22px;
	color: var(--muted);
}
.faq__answer p {
	margin: 0;
}

/* CTA band */
.cta-band {
	padding: clamp(60px, 8vw, 110px) 0;
}
.cta-band__inner {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 80px);
	border-radius: 36px;
	background: var(--lime);
	color: #0a0a0f;
	text-align: center;
}
.cta-band__bg span {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	filter: blur(60px);
	animation: float 16s ease-in-out infinite alternate;
}
.cta-band__bg span:first-child {
	width: 50%;
	aspect-ratio: 1;
	top: -40%;
	left: -10%;
	background: #2ee6d6;
	opacity: 0.55;
}
.cta-band__bg span:last-child {
	width: 45%;
	aspect-ratio: 1;
	bottom: -45%;
	right: -10%;
	background: var(--violet);
	opacity: 0.45;
	animation-delay: -8s;
}
.cta-band__title {
	font-size: clamp(2.3rem, 5.4vw, 4.6rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	max-width: 14em;
	margin: 0 auto 1.2rem;
}
.cta-band__title em {
	font-style: italic;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	letter-spacing: -0.03em;
}
.cta-band__lead {
	font-size: 1.12rem;
	max-width: 36em;
	margin: 0 auto 2.2rem;
	color: rgba(10, 10, 15, 0.72);
}
.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px;
}
.cta-band__note {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	color: rgba(10, 10, 15, 0.7);
}

/* ==========================================================================
   8. Footer
   ========================================================================== */
.site-footer {
	padding: 80px 0 30px;
	border-top: 1px solid var(--line);
	background: var(--bg-2);
	overflow: hidden;
}
.site-footer__top {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 0.8fr 1.3fr;
	gap: 40px;
}
.site-footer__intro .brand {
	margin-bottom: 18px;
}
.site-footer__intro p {
	max-width: 22em;
	font-size: 0.95rem;
}
.site-footer__heading {
	font: 600 0.82rem/1 var(--font-body);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: 18px;
}
.site-footer__col ul {
	list-style: none;
	display: grid;
	gap: 10px;
}
.site-footer__col a {
	color: var(--muted);
	font-size: 0.95rem;
	transition: color 0.2s;
}
.site-footer__col a:hover {
	color: var(--text);
}
.site-footer__newsletter p {
	font-size: 0.95rem;
}

.socials {
	display: flex;
	gap: 10px;
	list-style: none;
	margin-top: 22px;
}
.socials a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--line-strong);
	color: var(--muted);
	transition: all 0.3s var(--ease);
}
.socials a:hover {
	background: var(--lime);
	border-color: var(--lime);
	color: #0a0a0f;
	transform: translateY(-3px);
}
.socials .icon {
	width: 18px;
	height: 18px;
}

.newsletter {
	display: flex;
	gap: 6px;
	padding: 6px;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	background: rgba(var(--fg-rgb), 0.03);
	transition: border-color 0.3s;
}
.newsletter:focus-within {
	border-color: var(--lime);
}
.newsletter input {
	flex: 1;
	min-width: 0;
	padding: 0 14px;
	border: 0;
	background: none;
	color: var(--text);
	font: inherit;
	font-size: 0.92rem;
	outline: none;
}

.site-footer__wordmark {
	font: 700 clamp(4rem, 17vw, 15rem)/0.8 var(--font-display);
	letter-spacing: -0.06em;
	text-align: center;
	margin: 70px 0 30px;
	background: linear-gradient(180deg, rgba(var(--fg-rgb), 0.1), rgba(var(--fg-rgb), 0));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	user-select: none;
	white-space: nowrap;
}
.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 26px;
	border-top: 1px solid var(--line);
	color: var(--dim);
	font-size: 0.88rem;
}
.site-footer__bottom p {
	margin: 0;
}
.to-top:hover {
	color: var(--accent-ink);
}

/* ==========================================================================
   9. Inner pages, blog, prose
   ========================================================================== */
.page-hero {
	position: relative;
	padding: calc(var(--header-h) + clamp(70px, 10vw, 130px)) 0 clamp(50px, 7vw, 80px);
	overflow: hidden;
	isolation: isolate;
	text-align: center;
	border-bottom: 1px solid var(--line);
}
.page-hero .blob { opacity: 0.35; }
.page-hero__inner {
	max-width: 900px;
}
.page-hero__title {
	font-size: clamp(2.5rem, 6vw, 4.8rem);
	font-weight: 700;
	letter-spacing: -0.045em;
}
.single .page-hero__title {
	font-size: clamp(2.2rem, 4.8vw, 3.8rem);
}
.page-hero__lead {
	font-size: 1.15rem;
	color: var(--muted);
	max-width: 38em;
	margin: 0 auto;
}
.page-hero__meta {
	margin-top: 24px;
}
.page-hero--404 {
	min-height: 80vh;
	display: grid;
	place-items: center;
	border: 0;
}
.page-hero--404 .hero__actions {
	justify-content: center;
	margin-top: 2rem;
}
.big-404 {
	font: 700 clamp(7rem, 22vw, 15rem)/0.9 var(--font-display);
	letter-spacing: -0.07em;
	margin: 0;
}

.meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 16px;
	color: var(--muted);
	font-size: 0.88rem;
	margin: 0;
}
.meta span + span::before {
	content: "•";
	margin-right: 16px;
	color: var(--dim);
}
.meta__cat {
	color: var(--accent-ink);
	font-weight: 600;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.post-card {
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--surface);
	overflow: hidden;
	transition: transform 0.5s var(--ease), border-color 0.3s;
}
.post-card:hover {
	transform: translateY(-6px);
	border-color: var(--line-strong);
}
.post-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.post-card__cover {
	position: relative;
	aspect-ratio: 16 / 10;
	display: grid;
	place-items: center;
	overflow: hidden;
}
.post-card__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.post-card__glyph {
	position: relative;
	font: 700 6rem/1 var(--font-display);
	color: rgba(10, 10, 15, 0.8);
	letter-spacing: -0.06em;
	transition: transform 0.8s var(--ease);
}
.post-card:hover .post-card__glyph {
	transform: scale(1.12) rotate(-6deg);
}
.post-card__body {
	padding: 22px 24px 28px;
}
.post-card .meta {
	justify-content: flex-start;
	font-size: 0.8rem;
	margin-bottom: 12px;
}
.post-card .meta span + span::before {
	margin-right: 10px;
}
.post-card .meta {
	gap: 4px 10px;
}
.post-card__title {
	font-size: 1.3rem;
	margin-bottom: 10px;
	transition: color 0.2s;
}
.post-card:hover .post-card__title {
	color: var(--accent-ink);
}
.post-card__excerpt {
	color: var(--muted);
	font-size: 0.95rem;
	margin: 0;
}

.pagination {
	margin-top: 50px;
}
.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
}
.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	color: var(--muted);
}
.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	background: var(--lime);
	border-color: var(--lime);
	color: #0a0a0f;
}

.empty {
	text-align: center;
	padding: 40px 0;
}
.search-form {
	display: flex;
	gap: 8px;
	max-width: 420px;
	margin: 20px auto 0;
}
.search-form label { flex: 1; }
.search-field,
.search-submit {
	width: 100%;
	padding: 12px 16px;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	background: rgba(var(--fg-rgb), 0.04);
	color: var(--text);
	font: inherit;
}
.search-submit {
	width: auto;
	background: var(--lime);
	color: #0a0a0f;
	font-weight: 600;
	cursor: pointer;
}

.progress {
	position: fixed;
	inset: 0 0 auto;
	height: 3px;
	z-index: 200;
}
.admin-bar .progress { top: 32px; }
.progress span {
	display: block;
	height: 100%;
	width: 100%;
	background: var(--grad);
	transform-origin: left;
	transform: scaleX(var(--p, 0));
}

.feature-image {
	margin: 0 0 40px;
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.prose {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--text-soft);
}
.prose > * + * {
	margin-top: 1.3em;
}
.prose p { margin: 0; }
.prose h2 {
	font-size: 2rem;
	margin: 2em 0 0.6em;
	color: var(--text);
}
.prose h3 {
	font-size: 1.45rem;
	margin: 1.8em 0 0.5em;
	color: var(--text);
}
.prose a {
	color: var(--accent-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.prose ul,
.prose ol {
	padding-left: 1.3em;
}
.prose li + li {
	margin-top: 0.5em;
}
.prose li::marker {
	color: var(--accent-ink);
}
.prose blockquote {
	margin: 2em 0;
	padding: 6px 0 6px 26px;
	border-left: 3px solid var(--lime);
	font: 500 1.4rem/1.5 var(--font-display);
	color: var(--text);
}
.prose blockquote p { margin: 0; }
.prose code {
	padding: 0.15em 0.4em;
	border-radius: 6px;
	background: var(--surface-2);
	font-size: 0.9em;
}
.prose pre {
	padding: 20px;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--line);
	overflow-x: auto;
}
.prose img,
.prose figure {
	border-radius: var(--radius);
}
.prose hr {
	border: 0;
	height: 1px;
	background: var(--line-strong);
	margin: 3em 0;
}
.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}
.prose th,
.prose td {
	padding: 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}
.prose .wp-block-button__link {
	background: var(--lime);
	color: #0a0a0f;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
}

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 60px;
	padding-top: 30px;
	border-top: 1px solid var(--line);
}
.post-nav a {
	display: block;
	padding: 20px 22px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--surface);
	font: 600 1.05rem/1.35 var(--font-display);
	transition: border-color 0.3s;
	height: 100%;
}
.post-nav a:hover {
	border-color: var(--lime);
}
.post-nav span {
	display: block;
	margin-bottom: 6px;
	font: 500 0.78rem/1 var(--font-body);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dim);
}
.post-nav__next {
	grid-column: 2;
	text-align: right;
}

.case-facts {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 40px;
	max-width: 960px;
	margin: 0 auto 60px;
	padding: 32px 36px;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	background: var(--surface);
}
.case-facts__metric strong {
	display: block;
	font: 700 clamp(3rem, 7vw, 5rem)/1 var(--font-display);
	letter-spacing: -0.05em;
}
.case-facts__metric span {
	color: var(--muted);
}
.case-facts dl {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 0;
}
.case-facts dt {
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: 4px;
}
.case-facts dd {
	margin: 0;
	font-weight: 600;
}

/* ==========================================================================
   10. Contact & forms
   ========================================================================== */
.contact {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(28px, 4vw, 50px);
	align-items: start;
}
.contact__card {
	padding: 30px;
	border-radius: var(--radius-lg);
	margin-bottom: 22px;
}
.contact__card h2 {
	font-size: 1.4rem;
	margin-bottom: 22px;
}
.contact__steps {
	list-style: none;
	display: grid;
	gap: 20px;
}
.contact__steps li {
	display: flex;
	gap: 16px;
}
.contact__steps li > span {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: none;
	border-radius: 50%;
	background: var(--lime);
	color: #0a0a0f;
	font-weight: 700;
	font-size: 0.9rem;
}
.contact__steps p {
	margin: 2px 0 0;
	color: var(--muted);
	font-size: 0.93rem;
}
.contact__info {
	list-style: none;
	display: grid;
	gap: 12px;
}
.contact__info li {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--surface);
}
.contact__info .icon {
	width: 40px;
	height: 40px;
	padding: 9px;
	border-radius: 12px;
	background: rgba(212, 255, 58, 0.12);
	color: var(--accent-ink);
}
.contact__info span {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--dim);
}
.contact__info p,
.contact__info a {
	margin: 0;
	font-weight: 600;
}
.contact__info a:hover {
	color: var(--accent-ink);
}
.contact__form-wrap {
	padding: clamp(26px, 4vw, 44px);
	border-radius: var(--radius-lg);
}

.form {
	display: grid;
	gap: 20px;
}
.form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.field {
	display: grid;
	gap: 8px;
	border: 0;
	padding: 0;
	margin: 0;
	min-width: 0;
}
.field label,
.field legend {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text-soft);
	padding: 0;
	margin-bottom: 8px;
}
.field > label > span[aria-hidden] {
	color: var(--accent-ink);
}
.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid var(--line-strong);
	background: rgba(var(--bg-rgb), 0.55);
	color: var(--text);
	font: inherit;
	font-size: 0.97rem;
	transition: border-color 0.25s, box-shadow 0.25s;
	appearance: none;
}
.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239d9db5' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}
.field select option {
	background: var(--surface);
}
.field textarea {
	resize: vertical;
	min-height: 140px;
}
.field input::placeholder,
.field textarea::placeholder {
	color: var(--dim);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--lime);
	box-shadow: 0 0 0 4px rgba(212, 255, 58, 0.12);
}
.field.is-invalid input,
.field.is-invalid textarea {
	border-color: var(--pink);
	box-shadow: 0 0 0 4px rgba(255, 92, 168, 0.14);
}
.field__error {
	color: var(--pink);
	font-size: 0.82rem;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.chip {
	position: relative;
	cursor: pointer;
}
.chip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.chip span {
	display: inline-block;
	padding: 0.6em 1em;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	color: var(--muted);
	font-size: 0.88rem;
	font-weight: 500;
	transition: all 0.25s var(--ease);
	user-select: none;
}
.chip:hover span {
	border-color: rgba(var(--fg-rgb), 0.4);
	color: var(--text);
}
.chip input:checked + span {
	background: var(--lime);
	border-color: var(--lime);
	color: #0a0a0f;
}
.chip input:focus-visible + span {
	outline: 2px solid var(--accent-ink);
	outline-offset: 3px;
}

.form__fine {
	font-size: 0.8rem;
	color: var(--dim);
	text-align: center;
	margin: 0;
}

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

.notice {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	border-radius: 12px;
	margin-bottom: 20px;
	font-size: 0.93rem;
	font-weight: 500;
}
.notice--success {
	background: rgba(212, 255, 58, 0.12);
	border: 1px solid rgba(212, 255, 58, 0.4);
	color: var(--accent-ink);
}
.notice--error {
	background: rgba(255, 92, 168, 0.12);
	border: 1px solid rgba(255, 92, 168, 0.4);
	color: #ff9cc9;
}

/* ==========================================================================
   10b. Clickable service cards
   ========================================================================== */
.card__stretch {
	color: inherit;
}
.card__stretch::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}
.card:has(.card__stretch:focus-visible) {
	outline: 2px solid var(--accent-ink);
	outline-offset: 3px;
}
.card__stretch:focus-visible {
	outline: none;
}
.card:hover h3 {
	color: var(--accent-ink);
}
.card h3 {
	transition: color 0.25s;
}
.bento__feature .card__arrow {
	top: 30px;
	right: 30px;
}

/* ==========================================================================
   10c. Theme toggle + light theme overrides
   ========================================================================== */
.theme-toggle {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 50%;
	border: 1px solid var(--line-strong);
	background: rgba(var(--fg-rgb), 0.04);
	color: var(--text);
	cursor: pointer;
	transition: background-color 0.25s, border-color 0.25s, transform 0.5s var(--ease);
}
.theme-toggle:hover {
	border-color: rgba(var(--fg-rgb), 0.4);
	transform: rotate(-20deg);
}
.theme-toggle .icon {
	position: absolute;
	width: 20px;
	height: 20px;
	transition: opacity 0.3s, transform 0.5s var(--ease);
}
.theme-toggle .icon--moon,
[data-theme="light"] .theme-toggle .icon--sun {
	opacity: 0;
	transform: rotate(-90deg) scale(0.5);
}
[data-theme="light"] .theme-toggle .icon--moon {
	opacity: 1;
	transform: none;
}

/* Smooth cross-fade only while switching, so normal hovers stay snappy. */
.theme-switching,
.theme-switching *,
.theme-switching *::before,
.theme-switching *::after {
	transition: background-color 0.45s ease, border-color 0.45s ease, color 0.45s ease, fill 0.45s ease, box-shadow 0.45s ease !important;
}

/* Elements that sit on coloured covers keep their dark-glass look in both themes. */
.case__orb {
	background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.55), transparent 55%);
}
.case__metric {
	background: rgba(7, 7, 12, 0.6);
	border-color: rgba(255, 255, 255, 0.18);
}
.case__metric strong {
	color: var(--lime);
}
.case__metric span {
	color: rgba(255, 255, 255, 0.78);
}
.g-violet .case__client-mark,
.g-violet .post-card__glyph {
	color: rgba(255, 255, 255, 0.92);
}
.dash__gridlines {
	stroke: rgba(var(--fg-rgb), 0.07);
}

[data-theme="light"] .blob {
	opacity: 0.28;
}
[data-theme="light"] .blob--3 {
	opacity: 0.22;
}
[data-theme="light"] .page-hero .blob {
	opacity: 0.2;
}
[data-theme="light"] .glass {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7));
	border-color: rgba(12, 12, 24, 0.1);
}
[data-theme="light"] .case__metric.glass {
	background: rgba(7, 7, 12, 0.62);
	border-color: rgba(255, 255, 255, 0.18);
}
[data-theme="light"] .dash,
[data-theme="light"] .float-chip,
[data-theme="light"] .quote {
	box-shadow: var(--shadow-lg);
}
[data-theme="light"] .float-chip--b .icon {
	color: var(--violet);
}
[data-theme="light"] .card,
[data-theme="light"] .plan,
[data-theme="light"] .case,
[data-theme="light"] .post-card,
[data-theme="light"] .faq__item {
	box-shadow: 0 1px 2px rgba(12, 12, 24, 0.04), 0 12px 32px -18px rgba(30, 30, 80, 0.18);
}
[data-theme="light"] .card {
	background: var(--surface);
}
[data-theme="light"] .bento__feature {
	background:
		radial-gradient(ellipse 90% 60% at 100% 100%, rgba(124, 92, 255, 0.12), transparent 60%),
		radial-gradient(ellipse 70% 50% at 0% 0%, rgba(160, 210, 0, 0.12), transparent 60%),
		var(--surface);
}
[data-theme="light"] .bento__wide {
	background:
		radial-gradient(ellipse 50% 120% at 100% 50%, rgba(46, 230, 214, 0.12), transparent 60%),
		var(--surface);
}
[data-theme="light"] .mini-bars i {
	background: linear-gradient(180deg, #8fc400, rgba(143, 196, 0, 0.15));
}
[data-theme="light"] .mini-bars i:nth-child(n+8) {
	background: linear-gradient(180deg, #b5e61d, #8fc400);
	box-shadow: 0 0 18px rgba(143, 196, 0, 0.35);
}
[data-theme="light"] .spot::before {
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 92, 255, 0.08), transparent 45%);
}
[data-theme="light"] .card__icon {
	background: linear-gradient(135deg, rgba(160, 210, 0, 0.18), rgba(124, 92, 255, 0.14));
}
[data-theme="light"] .plan--featured {
	background:
		radial-gradient(ellipse 80% 50% at 50% 0%, rgba(180, 230, 20, 0.22), transparent 70%),
		var(--surface);
	border-color: rgba(110, 160, 0, 0.55);
}
[data-theme="light"] .section--alt {
	background:
		radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124, 92, 255, 0.08), transparent 70%),
		var(--bg-2);
}
[data-theme="light"] .site-header.is-scrolled {
	box-shadow: 0 8px 30px -20px rgba(30, 30, 80, 0.25);
}
[data-theme="light"] .btn--primary {
	box-shadow: 0 10px 26px -12px rgba(110, 160, 0, 0.6);
}
[data-theme="light"] .notice--error {
	color: #b3125f;
}
[data-theme="light"] ::selection {
	background: #c6f03a;
	color: #0c0c18;
}

/* ==========================================================================
   11. Reveal animations
   ========================================================================== */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
	transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   12. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { max-width: 560px; margin: 30px auto 0; width: 100%; }
	.hero__copy { text-align: center; }
	.hero__lead { margin-inline: auto; }
	.hero__actions, .hero__proof { justify-content: center; }
	.bento { grid-template-columns: 1fr 1fr; }
	.bento__feature { grid-row: auto; grid-column: span 2; }
	.process { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
	.process::before { display: none; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.post-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.pricing { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
	.faq { grid-template-columns: 1fr; }
	.faq__head { position: static; text-align: center; }
	.faq__head .section-lead { margin-inline: auto; }
	.stats__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.stat:nth-child(3)::before { display: none; }
	.contact { grid-template-columns: 1fr; }
	.case-facts { grid-template-columns: 1fr; text-align: center; }
	.case-facts dl { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	:root { --header-h: 68px; }
	.bento, .work-grid, .post-grid, .process { grid-template-columns: 1fr; }
	.bento__feature { grid-column: auto; }
	.section-head--split { flex-direction: column; align-items: flex-start; }
	.float-chip--a { display: none; }
	.float-chip--b { right: -6px; }
	.hero__proof { flex-direction: column; gap: 10px; text-align: center; }
	.hero__proof .stars { justify-content: center; }
	.dash { padding: 16px; transform: none; }
	.dash__kpis strong { font-size: 1.05rem; }
	.quote { width: 300px; }
	.form__row { grid-template-columns: 1fr; }
	.site-footer__top { grid-template-columns: 1fr; }
	.site-footer__bottom { flex-direction: column; align-items: center; text-align: center; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav__next { grid-column: auto; }
	.hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.marquee__track { animation: none !important; }
	.marquee { flex-wrap: wrap; justify-content: center; }
	.marquee__track[aria-hidden="true"] { display: none; }
}
