/* ============================================
   GRADIA THEME - Main Stylesheet
   Soft Corporate / Modern SaaS Style
   ============================================ */

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

:root {
	/* Brand - Orange Sunset */
	--c-orange: #f97316;
	--c-amber: #f59e0b;
	--c-red: #ef4444;
	--c-pink: #ec4899;
	--c-yellow: #fbbf24;
	--c-coral: #fb7185;

	/* Gradients - Sunset / Fire */
	--g-primary: linear-gradient(135deg, #f59e0b 0%, #f97316 35%, #ef4444 70%, #ec4899 100%);
	--g-primary-soft: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(249, 115, 22, 0.1) 50%, rgba(239, 68, 68, 0.08) 100%);
	--g-accent: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
	--g-warm: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
	--g-cool: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
	--g-sunset: linear-gradient(135deg, #fbbf24 0%, #f97316 50%, #ec4899 100%);
	--g-fire: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
	--g-mesh:
		radial-gradient(at 27% 37%, hsla(28, 100%, 60%, 0.18) 0px, transparent 50%),
		radial-gradient(at 97% 21%, hsla(351, 89%, 60%, 0.12) 0px, transparent 50%),
		radial-gradient(at 52% 99%, hsla(14, 100%, 60%, 0.14) 0px, transparent 50%),
		radial-gradient(at 10% 29%, hsla(40, 100%, 60%, 0.12) 0px, transparent 50%),
		radial-gradient(at 33% 50%, hsla(28, 100%, 60%, 0.12) 0px, transparent 50%);

	/* Soft Surfaces */
	--bg: #fafaf5;
	--bg-soft: #f5efe6;
	--surface: #ffffff;
	--surface-elev: #fff7ed;
	--surface-hi: #fef3e8;
	--ink: #1c1917;
	--ink-2: #44403c;
	--muted: #78716c;
	--muted-2: #a8a29e;
	--line: rgba(28, 25, 23, 0.08);
	--line-strong: rgba(28, 25, 23, 0.14);

	/* Effects */
	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 22px;
	--radius-xl: 28px;
	--shadow-sm: 0 2px 8px rgba(28, 25, 23, 0.04);
	--shadow: 0 8px 24px -8px rgba(249, 115, 22, 0.12);
	--shadow-lg: 0 20px 50px -15px rgba(249, 115, 22, 0.18);
	--shadow-color: 0 20px 50px -15px rgba(239, 68, 68, 0.15);

	/* Layout */
	--container: 1240px;
	--pad: 24px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Plus Jakarta Sans", "Inter", sans-serif;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { cursor: text; }
ul { list-style: none; }
::selection { background: var(--c-orange); color: white; }

/* ---------- Layout ---------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--pad);
}

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--g-primary-soft);
	color: var(--c-orange);
	border: 1px solid rgba(249, 115, 22, 0.2);
}
.eyebrow--dark {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.25);
	color: white;
}

.section-title { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title h2 { margin-top: 14px; }
.section-title p { margin-top: 16px; font-size: 1.05rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 24px;
	border-radius: 12px;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: -0.005em;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
	white-space: nowrap;
	position: relative;
	border: 0;
	cursor: pointer;
}
.btn-primary {
	background: var(--g-primary);
	color: white;
	box-shadow: 0 8px 20px -8px rgba(249, 115, 22, 0.5);
}
.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -8px rgba(249, 115, 22, 0.6);
}
.btn-ghost {
	background: var(--surface);
	color: var(--ink);
	border: 1px solid var(--line-strong);
	box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
	background: var(--surface-elev);
	border-color: rgba(249, 115, 22, 0.3);
	color: var(--c-orange);
	transform: translateY(-2px);
}
.btn-outline {
	background: transparent;
	color: var(--ink);
	border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: white; }
.btn-light {
	background: white;
	color: var(--ink);
}
.btn-light:hover { background: var(--surface-elev); transform: translateY(-2px); }
.btn-glass {
	background: rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.22); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; border-radius: 10px; }
.btn-lg { padding: 17px 32px; font-size: 1rem; border-radius: 14px; }
.btn-arrow svg { transition: transform 0.25s var(--ease); }
.btn-arrow:hover svg { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	transition: all 0.3s var(--ease);
	padding: 18px 0;
}
.nav.scrolled {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--line);
	padding: 12px 0;
	box-shadow: 0 4px 20px -8px rgba(28, 25, 23, 0.08);
}
.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 1.3rem;
	letter-spacing: -0.03em;
	color: var(--ink);
	font-family: "Plus Jakarta Sans", sans-serif;
}
.logo-mark {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--g-primary);
	display: grid;
	place-items: center;
	color: white;
	font-weight: 800;
	font-size: 1rem;
	box-shadow: 0 6px 16px -4px rgba(249, 115, 22, 0.4);
	flex-shrink: 0;
}
/* Custom logo (image upload) */
.logo img,
.custom-logo {
	max-height: 42px;
	width: auto;
	height: auto;
	display: block;
}
.footer-brand .logo img {
	max-height: 36px;
}
.nav-links {
	display: flex;
	align-items: center;
	gap: 6px;
}
.nav-links a, .nav-links .menu-item a {
	padding: 8px 14px;
	border-radius: 10px;
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--ink-2);
	transition: all 0.2s var(--ease);
}
.nav-links a:hover, .nav-links .menu-item a:hover { background: var(--bg-soft); color: var(--c-orange); }
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a { color: var(--c-orange); background: rgba(249, 115, 22, 0.08); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-burger {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: var(--surface);
	border: 1px solid var(--line);
	align-items: center;
	justify-content: center;
	position: relative;
}
.nav-burger span {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--ink);
	position: relative;
}
.nav-burger span::before,
.nav-burger span::after {
	content: "";
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	background: var(--ink);
	transition: transform 0.3s var(--ease);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav.open .nav-burger span { background: transparent; }
.nav.open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
	position: relative;
	padding: 160px 0 90px;
	overflow: hidden;
}
.hero-bg-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.6;
	z-index: 0;
	animation: blob 18s infinite alternate;
}
.hero-bg-blob.b1 {
	width: 480px; height: 480px;
	background: var(--g-fire);
	top: -120px; left: -120px;
}
.hero-bg-blob.b2 {
	width: 420px; height: 420px;
	background: var(--g-warm);
	bottom: -100px; right: -100px;
	animation-delay: -6s;
}
.hero-bg-blob.b3 {
	width: 360px; height: 360px;
	background: var(--g-sunset);
	top: 40%; left: 50%;
	transform: translateX(-50%);
	animation-delay: -12s;
	opacity: 0.3;
}
@keyframes blob {
	0% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(40px, -30px) scale(1.08); }
	100% { transform: translate(-30px, 40px) scale(0.95); }
}
.hero-inner {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 60px;
	align-items: center;
	position: relative;
	z-index: 1;
}
.hero-content .eyebrow { margin-bottom: 20px; }
.hero h1 {
	margin-bottom: 24px;
}
.grad {
	background: var(--g-primary);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	display: inline-block;
}
.hero-sub {
	font-size: 1.15rem;
	color: var(--muted);
	margin-bottom: 28px;
	max-width: 540px;
	min-height: 60px;
}
.digital-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 36px;
}
.digital-tags span {
	font-family: "JetBrains Mono", monospace;
	font-size: 0.78rem;
	padding: 6px 12px;
	border-radius: 8px;
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--ink-2);
	font-weight: 500;
}
.hero-cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 0;
}

/* Code cards */
.hero-visual {
	position: relative;
	display: grid;
	gap: 20px;
}
.code-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px;
	box-shadow: var(--shadow-lg);
	position: relative;
}
.code-card.main {
	background: linear-gradient(180deg, #1c1917 0%, #292524 100%);
	border-color: rgba(249, 115, 22, 0.3);
	color: #f5f5f4;
}
.dot-row { display: flex; gap: 6px; margin-bottom: 14px; }
.dot-row i {
	width: 10px; height: 10px; border-radius: 50%;
	display: inline-block;
}
.dot-row i:nth-child(1) { background: #ef4444; }
.dot-row i:nth-child(2) { background: #f59e0b; }
.dot-row i:nth-child(3) { background: #22c55e; }
.code-card pre {
	font-family: "JetBrains Mono", monospace;
	color: #e7e5e4;
	white-space: pre-wrap;
	word-break: break-word;
	min-height: 240px;
}
.code-card .comment { color: #71717a; font-style: italic; }
.code-card .keyword { color: #f472b6; }
.code-card .var { color: #fbbf24; }
.code-card .string { color: #86efac; }
.code-card .number { color: #fb923c; }
.code-card .fn { color: #60a5fa; }

/* Code card tab + live indicator */
.code-card { overflow: hidden; }
.code-card .code-card-tab {
	display: inline-block;
	position: absolute;
	top: 14px;
	left: 64px;
	font-family: "JetBrains Mono", monospace;
	font-size: 0.72rem;
	color: rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.06);
	padding: 3px 10px;
	border-radius: 6px;
}
.code-card .code-line {
	display: block;
	min-height: 1.5em;
	opacity: 0;
	transform: translateX(-4px);
}
.code-card .code-line.visible {
	opacity: 1;
	transform: translateX(0);
	transition: opacity 0.25s ease, transform 0.4s var(--ease);
}
.code-card .code-cursor {
	display: inline-block;
	width: 8px;
	height: 1.05em;
	background: var(--c-orange);
	margin-left: 2px;
	vertical-align: text-bottom;
	animation: code-blink 0.9s steps(2) infinite;
	box-shadow: 0 0 8px rgba(249, 115, 22, 0.6);
}
@keyframes code-blink {
	50% { opacity: 0; }
}

/* Live indicator pill on hero-visual */
.hero-live-pill {
	position: absolute;
	top: -12px;
	right: -12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(16, 185, 129, 0.12);
	border: 1px solid rgba(16, 185, 129, 0.4);
	color: #10b981;
	font-family: "JetBrains Mono", monospace;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	z-index: 4;
	backdrop-filter: blur(10px);
}
.hero-live-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
	animation: live-pulse 1.5s infinite;
}
@keyframes live-pulse {
	50% {
		box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.05);
		opacity: 0.7;
	}
}

.float-card {
	position: absolute;
	background: var(--surface);
	border-radius: var(--radius);
	padding: 12px 16px;
	box-shadow: var(--shadow-lg);
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 0.85rem;
	z-index: 2;
	border: 1px solid var(--line);
}
.float-card .ico {
	width: 36px; height: 36px;
	border-radius: 10px;
	display: grid; place-items: center;
	color: white;
	flex-shrink: 0;
}
.float-card .float-card-label {
	font-size: 0.7rem;
	color: var(--muted);
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.float-card .float-card-value {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 800;
	font-size: 1.05rem;
	color: var(--ink);
	line-height: 1.1;
}
.float-card.roi {
	top: 30px;
	right: -36px;
	animation: float-a 5s ease-in-out infinite;
}
.float-card.roi .ico { background: var(--g-fire); }
.float-card.growth {
	bottom: 110px;
	left: -36px;
	animation: float-b 6s ease-in-out infinite;
}
.float-card.growth .ico { background: var(--g-warm); }
.float-card.build {
	bottom: 30px;
	right: -10px;
	animation: float-c 7s ease-in-out infinite;
}
.float-card.build .ico { background: var(--g-cool); }
.float-card .build-status {
	color: var(--c-orange);
	font-family: "JetBrains Mono", monospace;
	font-weight: 600;
	font-size: 0.85rem;
	position: relative;
	padding-right: 14px;
}
.float-card .build-status::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c-orange);
	animation: status-blink 1.2s infinite;
}
@keyframes status-blink {
	0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
	50% { opacity: 0.3; transform: translateY(-50%) scale(0.7); }
}
@keyframes float-a {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-12px) rotate(1.5deg); }
}
@keyframes float-b {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-10px) rotate(-1.5deg); }
}
@keyframes float-c {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	33% { transform: translateY(-6px) rotate(0.5deg); }
	66% { transform: translateY(-14px) rotate(-0.5deg); }
}
.float-card:hover {
	transform: translateY(-4px) scale(1.04);
	z-index: 5;
}
.float-card.roi:hover { animation-play-state: paused; }

/* ---------- Trust ---------- */
.trust {
	padding: 32px 0 56px;
	text-align: center;
}
.trust-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 48px;
	font-family: "JetBrains Mono", monospace;
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.08em;
	color: var(--muted-2);
	text-transform: uppercase;
	opacity: 0.85;
}
.trust-row span {
	transition: color 0.2s;
}
.trust-row span:hover { color: var(--c-orange); }
.trust-label {
	font-family: "JetBrains Mono", monospace;
	color: var(--muted-2);
	font-size: 0.9rem;
}

/* ---------- Services ---------- */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}
.service-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 32px 28px;
	transition: all 0.3s var(--ease);
	position: relative;
	overflow: hidden;
}
.service-card::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: var(--g-primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s var(--ease);
}
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: rgba(249, 115, 22, 0.2);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	color: white;
	margin-bottom: 22px;
}
.svc-1 { background: var(--g-fire); }
.svc-2 { background: var(--g-warm); }
.svc-3 { background: var(--g-sunset); }
.svc-4 { background: var(--g-cool); }
.service-card h3 { margin-bottom: 12px; }
.service-card p { margin-bottom: 22px; font-size: 0.95rem; }
.service-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: "JetBrains Mono", monospace;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--c-orange);
	transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }
.service-link svg { width: 16px; height: 16px; }

/* ---------- Templates ---------- */
.template-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 40px;
}
.filter-btn {
	padding: 10px 20px;
	border-radius: 10px;
	background: var(--surface);
	border: 1px solid var(--line);
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--ink-2);
	cursor: pointer;
	transition: all 0.2s;
}
.filter-btn:hover { border-color: rgba(249, 115, 22, 0.3); color: var(--c-orange); }
.filter-btn.active {
	background: var(--g-primary);
	color: white;
	border-color: transparent;
	box-shadow: 0 6px 14px -6px rgba(249, 115, 22, 0.4);
}
.templates-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}
.references-home-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
}
.references-home-grid .template-card { border-radius: 16px; }
.references-home-grid .template-preview .label {
	top: 10px;
	left: 10px;
	padding: 4px 9px;
	font-size: 0.68rem;
}
.references-home-grid .template-body { padding: 16px; }
.references-home-grid .template-body .cat {
	font-size: 0.65rem;
	margin-bottom: 5px;
}
.references-home-grid .template-body h3 {
	font-size: 1.05rem;
	line-height: 1.3;
	margin-bottom: 10px;
	overflow-wrap: anywhere;
}
.references-home-grid .tags {
	gap: 4px;
	margin-bottom: 12px;
}
.references-home-grid .tags span {
	font-size: 0.65rem;
	padding: 3px 7px;
}
.references-home-grid .template-footer { padding-top: 12px; }
.references-home-grid .template-footer .btn {
	padding: 8px 12px;
	font-size: 0.78rem;
}
.template-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: all 0.3s var(--ease);
}
.template-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: rgba(249, 115, 22, 0.2);
}
.template-preview {
	position: relative;
	height: 220px;
	display: grid;
	place-items: center;
	overflow: hidden;
}
.reference-image-link {
	display: block;
	width: 100%;
	height: auto;
}
.reference-card-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
}
.template-preview.has-reference-image {
	height: auto;
	min-height: 0;
	display: block;
}
.reference-detail-media {
	height: auto;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	color: white;
}
.reference-detail-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
}
.tpl-bg-1 { background: var(--g-fire); }
.tpl-bg-2 { background: var(--g-sunset); }
.tpl-bg-3 { background: var(--g-warm); }
.tpl-bg-4 { background: var(--g-cool); }
.tpl-bg-5 { background: var(--g-accent); }
.tpl-bg-6 { background: var(--g-warm); }
.template-preview .label {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 5px 12px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	color: white;
	font-size: 0.78rem;
	font-weight: 600;
	z-index: 2;
}
.mock-screen {
	width: 80%;
	height: 80%;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	backdrop-filter: blur(10px);
}
.mock-screen .top {
	display: flex;
	gap: 4px;
	padding-bottom: 6px;
}
.mock-screen .top i {
	width: 8px; height: 8px; border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	display: inline-block;
}
.mock-screen .body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.mock-screen .row-m {
	display: flex;
	gap: 6px;
}
.mock-screen .block {
	flex: 1;
	border-radius: 4px;
	min-height: 12px;
}
.mock-screen .btn-m {
	width: 50px;
	height: 18px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.6);
}
.mock-screen .line {
	height: 6px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.3);
}
.mock-screen .line.short { width: 40%; }
.mock-screen .line.medium { width: 70%; }
.mock-screen .line.long { width: 100%; }
.template-body { padding: 24px; }
.template-body .cat {
	font-family: "JetBrains Mono", monospace;
	font-size: 0.75rem;
	color: var(--c-orange);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 8px;
}
.template-body h3 { margin-bottom: 8px; font-size: 1.25rem; }
.template-body .desc {
	font-size: 0.9rem;
	color: var(--muted);
	margin-bottom: 14px;
}
.tags {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}
.tags span {
	font-size: 0.72rem;
	padding: 4px 10px;
	border-radius: 6px;
	background: var(--bg-soft);
	color: var(--ink-2);
	font-weight: 500;
}
.template-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 18px;
	border-top: 1px solid var(--line);
}
.template-price { display: flex; align-items: baseline; gap: 6px; }
.template-price .amount {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--ink);
}
.template-price .old {
	font-size: 0.85rem;
	color: var(--muted-2);
	text-decoration: line-through;
}

/* ---------- Process ---------- */
.process-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}
.process-step {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
	position: relative;
}
.process-step .num {
	font-family: "JetBrains Mono", monospace;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--c-orange);
	margin-bottom: 14px;
	letter-spacing: 0.05em;
}
.process-step h4 { margin-bottom: 10px; }
.process-step p { font-size: 0.9rem; }

/* ---------- Stats ---------- */
.stats {
	background: var(--surface-elev);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 32px;
	text-align: center;
}
.stats-num {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	background: var(--g-primary);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 6px;
	line-height: 1;
}

/* ---------- Testimonials ---------- */
.testi-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}
.testi-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
	transition: all 0.3s;
}
.testi-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	border-color: rgba(249, 115, 22, 0.2);
}
.testi-card .stars {
	color: var(--c-amber);
	margin-bottom: 16px;
	font-size: 1.1rem;
}
.testi-card p {
	color: var(--ink-2);
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 22px;
	font-style: italic;
}
.testi-card .person {
	display: flex;
	align-items: center;
	gap: 12px;
}
.testi-card .avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: white;
	font-weight: 700;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 1rem;
}
.person-info strong {
	display: block;
	color: var(--ink);
	font-size: 0.95rem;
}
.person-info span {
	color: var(--muted);
	font-size: 0.85rem;
}

/* ---------- FAQ ---------- */
.faq-grid {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.faq-item {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: all 0.3s;
}
.faq-item.open {
	border-color: rgba(249, 115, 22, 0.3);
	box-shadow: var(--shadow);
}
.faq-question {
	padding: 22px 26px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
	font-size: 1rem;
	transition: color 0.2s;
}
.faq-question:hover { color: var(--c-orange); }
.faq-question::after {
	content: "+";
	font-family: "JetBrains Mono", monospace;
	font-size: 1.4rem;
	color: var(--c-orange);
	transition: transform 0.3s;
	flex-shrink: 0;
}
.faq-item.open .faq-question::after {
	transform: rotate(45deg);
}
.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s var(--ease);
}
.faq-answer-inner {
	padding: 0 26px 24px;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.7;
}

/* ---------- CTA Section ---------- */
.cta {
	padding: 80px 0;
	background: var(--g-mesh);
	position: relative;
	overflow: hidden;
}
.cta-card {
	background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
	border-radius: var(--radius-xl);
	padding: 64px 48px;
	text-align: center;
	color: white;
	position: relative;
	overflow: hidden;
}
.cta-card::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -10%;
	width: 500px;
	height: 500px;
	background: var(--g-primary);
	filter: blur(120px);
	opacity: 0.4;
	pointer-events: none;
}
.cta-card h2 {
	color: white;
	margin-bottom: 16px;
	position: relative;
}
.cta-card p {
	color: rgba(255, 255, 255, 0.85);
	max-width: 620px;
	margin: 0 auto 32px;
	font-size: 1.05rem;
	position: relative;
}
.cta-buttons {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	position: relative;
}

/* ---------- Footer ---------- */
.footer {
	background: var(--surface);
	border-top: 1px solid var(--line);
	padding: 64px 0 28px;
}
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 48px;
}
.footer-brand p {
	margin-top: 16px;
	font-size: 0.92rem;
	max-width: 320px;
}
.footer-social {
	display: flex;
	gap: 8px;
	margin-top: 22px;
}
.footer-social a {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--bg-soft);
	display: grid;
	place-items: center;
	color: var(--ink-2);
	transition: all 0.2s;
}
.footer-social a:hover {
	background: var(--g-primary);
	color: white;
	transform: translateY(-2px);
}
.footer-col h5 {
	font-size: 0.95rem;
	margin-bottom: 18px;
	color: var(--ink);
}
.footer-col ul li {
	margin-bottom: 10px;
}
.footer-col a {
	color: var(--muted);
	font-size: 0.92rem;
	transition: color 0.2s;
}
.footer-col a:hover { color: var(--c-orange); }
.footer-bottom {
	padding-top: 28px;
	border-top: 1px solid var(--line);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	color: var(--muted);
	font-size: 0.88rem;
}

/* ---------- Page Header (for inner pages) ---------- */
.page-header {
	padding: 160px 0 56px;
	background: var(--bg-soft);
	text-align: center;
	position: relative;
	overflow: hidden;
}
.page-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--g-mesh);
	opacity: 0.5;
	z-index: 0;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { margin-bottom: 14px; }
.page-header p {
	max-width: 620px;
	margin: 0 auto;
	color: var(--muted);
	font-size: 1.1rem;
}
.breadcrumbs {
	display: flex;
	justify-content: center;
	gap: 8px;
	font-size: 0.88rem;
	color: var(--muted);
	margin-bottom: 18px;
}
.breadcrumbs a { color: var(--c-orange); }

/* ---------- Reference Detail ---------- */
.reference-single { background: var(--bg); }
.reference-single-hero {
	padding: 128px 0 48px;
	background:
		radial-gradient(circle at 85% 10%, rgba(249, 115, 22, 0.12), transparent 28%),
		linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
	border-bottom: 1px solid var(--line);
}
.reference-single-hero-inner { max-width: 1180px; }
.reference-breadcrumbs {
	justify-content: flex-start;
	margin-bottom: 28px;
	font-size: 0.8rem;
}
.reference-single-heading {
	display: block;
}
.reference-kicker,
.reference-section-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	font-family: "JetBrains Mono", monospace;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-orange);
}
.reference-kicker::before,
.reference-section-label::before {
	content: "";
	width: 20px;
	height: 1px;
	background: currentColor;
}
.reference-single-heading h1 {
	max-width: 820px;
	margin: 0;
	font-size: clamp(2rem, 3.2vw, 2.85rem);
	line-height: 1.02;
	letter-spacing: -0.045em;
	overflow-wrap: anywhere;
}
.reference-single-heading p {
	max-width: 680px;
	margin: 16px 0 0;
	font-size: 1rem;
	color: var(--muted);
}
.reference-single-content { padding: 48px 0 88px; }
.reference-project-layout {
	max-width: 1020px;
	display: grid;
	grid-template-columns: minmax(0, 660px) 320px;
	gap: 40px;
	align-items: start;
}
.reference-main-column { min-width: 0; }
.reference-main-column .reference-detail-media {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: transparent;
	box-shadow: 0 24px 60px -42px rgba(24, 24, 27, 0.5);
}
.reference-main-column .reference-detail-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
	border-radius: 18px;
}
.reference-detail-placeholder { min-height: 420px; margin: 0; }
.reference-story {
	margin-top: 28px;
	padding: 28px 30px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--surface);
}
.reference-story .entry-content {
	max-width: none;
	margin: 0;
	font-size: 1rem;
	line-height: 1.75;
}
.reference-story .entry-content > :first-child { margin-top: 0; }
.reference-project-card {
	position: sticky;
	top: 96px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}
.reference-project-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 16px;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.reference-project-card-head i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c-orange);
	box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.12);
}
.reference-meta-list { margin: 0; }
.reference-meta-list > div {
	padding: 16px 0;
	border-top: 1px solid var(--line);
}
.reference-meta-list dt {
	margin-bottom: 7px;
	font-size: 0.72rem;
	color: var(--muted);
}
.reference-meta-list dd { margin: 0; font-weight: 600; color: var(--ink); }
.reference-tech-list { display: flex; flex-wrap: wrap; gap: 6px; }
.reference-tech-list span {
	padding: 5px 8px;
	border-radius: 7px;
	background: var(--bg-soft);
	font-size: 0.7rem;
	font-weight: 600;
}
.reference-project-actions { display: grid; gap: 9px; padding-top: 8px; }
.reference-project-actions .btn { width: 100%; padding: 11px 14px; font-size: 0.82rem; }

/* ---------- Service Detail ---------- */
.service-single-hero,
.editorial-hero {
	padding: 128px 0 52px;
	background: radial-gradient(circle at 85% 15%, rgba(249, 115, 22, 0.1), transparent 28%), var(--bg-soft);
	border-bottom: 1px solid var(--line);
}
.service-single-hero-inner,
.editorial-hero-inner { max-width: 1040px; }
.service-breadcrumbs,
.editorial-breadcrumbs { justify-content: flex-start; margin-bottom: 28px; }
.service-single-heading { max-width: 780px; }
.service-single-icon {
	display: grid;
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	place-items: center;
	border: 1px solid rgba(249, 115, 22, 0.2);
	border-radius: 14px;
	background: var(--surface);
	font-size: 1.4rem;
	box-shadow: var(--shadow-sm);
}
.service-single-kicker,
.editorial-category {
	display: block;
	margin-bottom: 10px;
	font-family: "JetBrains Mono", monospace;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-orange);
}
.editorial-category a { color: inherit; }
.service-single-heading h1,
.editorial-hero h1 {
	margin: 0;
	font-size: clamp(2.2rem, 4vw, 3.5rem);
	line-height: 1.05;
	letter-spacing: -0.045em;
	overflow-wrap: anywhere;
}
.service-single-heading p,
.editorial-lead {
	max-width: 720px;
	margin: 18px 0 0;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--muted);
}
.service-single-body { padding: 52px 0 88px; }
.service-single-layout {
	max-width: 1040px;
	display: grid;
	grid-template-columns: minmax(0, 680px) 300px;
	gap: 44px;
	align-items: start;
}
.service-featured-media,
.editorial-featured-media {
	margin: 0;
	overflow: hidden;
	border-radius: 20px;
	background: var(--surface);
	box-shadow: 0 24px 60px -42px rgba(24, 24, 27, 0.5);
}
.service-featured-image,
.editorial-featured-image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}
.service-content-card {
	max-width: none;
	margin: 28px 0 0;
	padding: 30px 32px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--surface);
}
.service-content-card > :first-child { margin-top: 0; }
.service-cta-card {
	position: sticky;
	top: 96px;
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}
.service-cta-label { font-size: 0.72rem; font-weight: 700; color: var(--c-orange); text-transform: uppercase; letter-spacing: 0.1em; }
.service-cta-card h2 { margin: 12px 0 10px; font-size: 1.35rem; line-height: 1.25; }
.service-cta-card p { margin-bottom: 20px; font-size: 0.9rem; color: var(--muted); }
.service-cta-card .btn { width: 100%; }
.service-back-link { display: block; margin-top: 16px; text-align: center; font-size: 0.82rem; color: var(--muted); }

/* ---------- Editorial Single Post ---------- */
.editorial-hero-inner { max-width: 900px; }
.editorial-hero h1 { max-width: 880px; }
.editorial-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
	font-size: 0.82rem;
	color: var(--muted);
}
.editorial-meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--c-orange); }
.editorial-body { padding: 48px 0 88px; }
.editorial-article { max-width: 960px; margin: 0 auto; }
.editorial-featured-media { margin-bottom: 44px; }
.editorial-content { max-width: 760px; font-size: 1.02rem; }
.editorial-tags { max-width: 760px; margin: 42px auto 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); }
.editorial-post-nav {
	max-width: 900px;
	margin: 56px auto 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.editorial-post-nav a {
	display: flex;
	min-height: 108px;
	flex-direction: column;
	justify-content: center;
	gap: 7px;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--surface);
	transition: transform 0.2s, border-color 0.2s;
}
.editorial-post-nav a:hover { transform: translateY(-2px); border-color: rgba(249, 115, 22, 0.35); }
.editorial-post-nav a.next { text-align: right; }
.editorial-post-nav small { color: var(--c-orange); }
.editorial-post-nav strong { color: var(--ink); line-height: 1.35; }

/* ---------- Single Post / Page ---------- */
.content-area {
	padding: 64px 0;
}
.entry-content {
	max-width: 760px;
	margin: 0 auto;
	color: var(--ink-2);
	line-height: 1.8;
}
.entry-content h2, .entry-content h3, .entry-content h4 {
	margin-top: 1.6em;
	margin-bottom: 0.6em;
	color: var(--ink);
}
.entry-content p { margin-bottom: 1.2em; }
.entry-content a { color: var(--c-orange); text-decoration: underline; }
.entry-content img { border-radius: var(--radius); margin: 1.5em 0; }
.entry-content ul, .entry-content ol {
	margin: 1em 0 1em 1.5em;
	color: var(--ink-2);
}
.entry-content ul li { list-style: disc; margin-bottom: 0.4em; }
.entry-content ol li { list-style: decimal; margin-bottom: 0.4em; }
.entry-content blockquote {
	border-left: 3px solid var(--c-orange);
	padding-left: 20px;
	margin: 1.5em 0;
	font-style: italic;
	color: var(--ink);
}
.entry-content code {
	background: var(--bg-soft);
	padding: 2px 8px;
	border-radius: 4px;
	font-family: "JetBrains Mono", monospace;
	font-size: 0.9em;
}
.entry-content pre {
	background: #1c1917;
	color: #f5f5f4;
	padding: 20px;
	border-radius: var(--radius);
	overflow-x: auto;
	margin: 1.5em 0;
}
.entry-content pre code { background: none; color: inherit; padding: 0; }
.entry-meta {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 0.88rem;
	color: var(--muted);
	margin-bottom: 24px;
}
.entry-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Blog / Archive ---------- */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 28px;
}
.post-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: all 0.3s;
}
.post-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	border-color: rgba(249, 115, 22, 0.2);
}
.post-thumb {
	height: 220px;
	background: var(--g-warm);
	position: relative;
	overflow: hidden;
}
.post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-body { padding: 24px; }
.post-cat {
	font-family: "JetBrains Mono", monospace;
	font-size: 0.75rem;
	color: var(--c-orange);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 10px;
}
.post-card h3 {
	font-size: 1.2rem;
	margin-bottom: 10px;
}
.post-card h3 a { color: var(--ink); transition: color 0.2s; }
.post-card h3 a:hover { color: var(--c-orange); }
.post-meta {
	font-size: 0.85rem;
	color: var(--muted);
	margin-top: 16px;
	display: flex;
	gap: 14px;
}
.pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 56px;
}
.pagination a, .pagination span {
	padding: 10px 16px;
	border-radius: 8px;
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--ink-2);
	font-weight: 500;
	transition: all 0.2s;
}
.pagination a:hover, .pagination .current {
	background: var(--c-orange);
	color: white;
	border-color: var(--c-orange);
}

/* ---------- Comments ---------- */
.comments-area {
	max-width: 760px;
	margin: 64px auto 0;
	padding-top: 40px;
	border-top: 1px solid var(--line);
}
.comment-list { margin: 0; padding: 0; }
.comment-body {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px;
	margin-bottom: 16px;
}
.comment-author { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%;
	padding: 12px 16px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--ink);
	margin-bottom: 12px;
	font-size: 0.95rem;
	transition: border-color 0.2s;
}
.comment-form input:focus, .comment-form textarea:focus {
	border-color: var(--c-orange);
	outline: none;
}
.comment-form .submit {
	background: var(--g-primary);
	color: white;
	padding: 12px 24px;
	border-radius: 10px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: transform 0.2s;
}
.comment-form .submit:hover { transform: translateY(-2px); }

/* ---------- Reveal animations ---------- */
.reveal, .reveal-stagger {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible, .reveal-stagger.visible {
	opacity: 1;
	transform: translateY(0);
}
.reveal-stagger > * {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-stagger.visible > * {
	opacity: 1;
	transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }

/* ---------- 404 ---------- */
.error-404 {
	text-align: center;
	padding: 120px 0;
}
.error-404 h1 {
	font-size: clamp(5rem, 15vw, 10rem);
	background: var(--g-primary);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	line-height: 1;
}
.error-404 p { font-size: 1.1rem; margin-bottom: 24px; }

/* ---------- Search Form ---------- */
.search-form {
	display: flex;
	gap: 8px;
	max-width: 480px;
	margin: 0 auto;
}
.search-form input[type="search"] {
	flex: 1;
	padding: 12px 18px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.references-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.reference-single-heading { grid-template-columns: 1fr; gap: 24px; }
	.reference-project-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
	.service-single-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
	.hero-inner { grid-template-columns: 1fr; gap: 40px; }
	.hero-visual { max-width: 500px; margin: 0 auto; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
	.service-single-hero, .editorial-hero { padding: 104px 0 36px; }
	.service-single-heading h1, .editorial-hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
	.service-single-body, .editorial-body { padding: 32px 0 64px; }
	.service-single-layout { grid-template-columns: 1fr; gap: 24px; }
	.service-cta-card { position: static; }
	.service-content-card { margin-top: 18px; padding: 22px 20px; }
	.editorial-featured-media { margin-bottom: 30px; border-radius: 14px; }
	.editorial-meta { flex-wrap: wrap; }
	.editorial-post-nav { grid-template-columns: 1fr; }
	.reference-single-hero { padding: 104px 0 36px; }
	.reference-single-heading h1 { font-size: clamp(2rem, 9vw, 2.75rem); }
	.reference-single-content { padding: 44px 0 64px; }
	.reference-project-layout { grid-template-columns: 1fr; gap: 28px; }
	.reference-project-card { position: static; }
	.reference-story { margin-top: 18px; padding: 22px 20px; }
	.nav-links {
		position: fixed;
		top: 76px;
		left: 16px;
		right: 16px;
		background: var(--surface);
		border: 1px solid var(--line);
		border-radius: var(--radius);
		padding: 16px;
		flex-direction: column;
		gap: 4px;
		box-shadow: var(--shadow-lg);
		transform: translateY(-10px);
		opacity: 0;
		pointer-events: none;
		transition: all 0.3s var(--ease);
	}
	.nav.open .nav-links {
		transform: translateY(0);
		opacity: 1;
		pointer-events: all;
	}
	.nav-links a, .nav-links .menu-item a {
		width: 100%;
		padding: 12px 16px;
	}
	.nav-burger { display: flex; }
	.nav-cta .btn { display: none; }
	.section { padding: 64px 0; }
	.hero { padding: 120px 0 60px; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.footer-brand { grid-column: auto; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.float-card.roi { right: 10px; top: 20px; }
	.float-card.growth { left: 10px; bottom: 90px; }
	.float-card.build { right: 10px; bottom: 20px; }
	.hero-live-pill { right: 10px; top: -10px; }
	.page-header { padding: 120px 0 40px; }
	.cta-card { padding: 40px 24px; }
}
@media (max-width: 480px) {
	.references-home-grid { grid-template-columns: 1fr; }
	:root { --pad: 16px; }
	h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
	.hero-cta .btn { flex: 1; }
}

/* ---------- WordPress Core ---------- */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 24px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--muted); text-align: center; padding: 8px 0; }
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.sticky { background: var(--surface-elev); padding: 20px; border-radius: var(--radius); }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 20px 0; }
.gallery-item img { border-radius: var(--radius-sm); }
