/* ============================================================
   SagorVault 1.0.0 — main stylesheet
   Emerald + Dark design system. Vanilla CSS only:
   no frameworks, no jQuery. Reveal animations use
   IntersectionObserver (see assets/js/main.js).
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
	--bg: #04120D;
	--surface: #0A1F16;
	--surface-2: #0E2A1E;
	--accent: #10B981;
	--accent-soft: #A7F3D0;
	--neon: #5CF2A5;
	--text: #ECFDF5;
	--muted: #8FA39A;
	--border: rgba(16, 185, 129, .20);
	--border-soft: rgba(255, 255, 255, .08);
	--accent-grad: linear-gradient(135deg, #A7F3D0 0%, #10B981 55%, #047857 100%);
	--font-display: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 24px 60px rgba(0, 0, 0, .55);
	--ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
	margin: 0;
	overflow-x: clip;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0 0 .6em;
	color: var(--text);
	text-wrap: balance;
}

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li::marker { color: var(--accent); }

a { color: var(--accent-soft); text-decoration: none; }
a:hover { color: var(--accent); }

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

::selection { background: rgba(16, 185, 129, .32); color: #fff; }

/* Accessible focus */
:focus-visible {
	outline: 2px solid var(--accent-soft);
	outline-offset: 3px;
	border-radius: 4px;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 200;
	background: var(--accent);
	color: #080808;
	font-weight: 600;
	padding: .7rem 1.2rem;
	border-radius: var(--radius-sm);
	transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #080808; }

.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;
}

/* ---------- 3. Layout utilities ---------- */
.container {
	width: min(1200px, 100% - 3rem);
	margin-inline: auto;
}
.container.narrow { width: min(780px, 100% - 3rem); }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { text-align: center; margin-inline: auto; }
.center { text-align: center; }

.eyebrow {
	font-family: var(--font-mono);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 1rem;
}

.section-title {
	font-size: clamp(2rem, 4.6vw, 3.4rem);
	margin-bottom: .5em;
}
.section-sub { color: var(--muted); font-size: 1.12rem; max-width: 640px; }

.section-divider {
	border: 0;
	height: 1px;
	margin: 0;
	background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

/* Technical grid pattern background */
.grid-bg {
	background-image:
		linear-gradient(rgba(16, 185, 129, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(16, 185, 129, .05) 1px, transparent 1px);
	background-size: 56px 56px;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 4. Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 1rem;
	padding: .95rem 1.9rem;
	border-radius: 999px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
	text-decoration: none;
}
.btn-gold {
	background: var(--accent-grad);
	color: #0a0a0a;
	box-shadow: 0 10px 30px rgba(16, 185, 129, .22);
}
.btn-gold:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 38px rgba(16, 185, 129, .32);
	color: #0a0a0a;
}
.btn-ghost {
	background: transparent;
	color: var(--accent-soft);
	border-color: var(--border);
}
.btn-ghost:hover {
	border-color: var(--accent);
	color: var(--accent-soft);
	transform: translateY(-2px);
}
.btn-sm { padding: .6rem 1.2rem; font-size: .9rem; }

/* Placeholder / demo labels */
.demo-label, .placeholder-note {
	font-size: .85rem;
	color: var(--accent);
	border: 1px dashed rgba(16, 185, 129, .45);
	border-radius: var(--radius-sm);
	padding: .45rem .8rem;
	display: inline-block;
}
.empty-note { color: var(--muted); font-style: italic; }

/* ---------- 5. Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: linear-gradient(100deg, #04120D 0%, #0B4A32 100%);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border-soft);
	transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }

.header-inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	padding-block: 1rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	margin-right: auto;
}
.brand-mark { display: inline-flex; }
.brand-word {
	font-family: var(--font-display);
	font-size: 1.45rem;
	font-weight: 600;
	letter-spacing: .01em;
	color: var(--text);
}
.brand-word-accent { color: var(--accent); }
a.brand:hover .brand-word { color: var(--text); }

.primary-nav { display: flex; align-items: center; }
.primary-nav ul {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.primary-nav a {
	position: relative;
	color: var(--muted);
	font-weight: 500;
	font-size: .98rem;
	padding: .4rem 0;
	transition: color .2s;
}
.primary-nav a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -5px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
	transform: translateX(-50%) scale(0);
	transition: transform .25s var(--ease);
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a {
	color: var(--text);
}
.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after {
	transform: translateX(-50%) scale(1);
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: .6rem;
	background: transparent;
	border: 1px solid var(--border);
	color: var(--text);
	border-radius: var(--radius-sm);
	padding: .55rem .9rem;
	font-family: var(--font-body);
	font-size: .95rem;
	cursor: pointer;
}
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle-bars span { width: 18px; height: 2px; background: var(--accent); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.header-cta { white-space: nowrap; }

/* ---------- 6. Hero ---------- */
.hero {
	padding: clamp(4rem, 10vw, 8.5rem) 0 clamp(4rem, 8vw, 7rem);
	position: relative;
	overflow: hidden;
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(60% 50% at 75% 30%, rgba(16, 185, 129, .08), transparent 70%);
}
.hero-inner {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: center;
	position: relative;
	z-index: 1;
}
.hero-title {
	font-size: clamp(2.6rem, 5.6vw, 4.6rem);
	line-height: 1.05;
	margin-bottom: 1.2rem;
}
.hero-title::after {
	content: "";
	display: block;
	width: 88px;
	height: 3px;
	margin-top: 1.4rem;
	background: var(--accent-grad);
	border-radius: 3px;
}
.hero-sub { color: var(--muted); font-size: 1.18rem; max-width: 34rem; }

.capability-labels {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	list-style: none;
	padding: 0;
	margin: 1.4rem 0 2rem;
}
.capability-labels li {
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--accent-soft);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: .45rem 1rem;
	background: rgba(16, 185, 129, .06);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Dashboard visual */
.hero-visual { display: flex; justify-content: center; }
.dash-card {
	width: min(460px, 100%);
	background: linear-gradient(160deg, #141414, #0e0e0e);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 1.4rem;
}
.dash-head {
	display: flex;
	align-items: center;
	gap: .8rem;
	margin-bottom: 1rem;
}
.dash-dots { display: inline-flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(16, 185, 129, .35); display: block; }
.dash-dots i:first-child { background: var(--accent); }
.dash-title { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.dash-graph { width: 100%; height: auto; display: block; }
.dash-line {
	stroke-dasharray: 640;
	stroke-dashoffset: 640;
	animation: draw-line 2.6s var(--ease) .4s forwards;
}
.dash-point { opacity: 0; animation: fade-in .6s ease 2.8s forwards; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
.dash-chips {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	list-style: none;
	padding: 0;
	margin: 1.1rem 0;
}
.dash-chips li {
	display: flex;
	align-items: center;
	gap: .6rem;
	background: rgba(16, 185, 129, .07);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius-sm);
	padding: .45rem .8rem;
	font-size: .85rem;
}
.chip-kw { color: var(--muted); }
.chip-pos {
	font-weight: 700;
	color: var(--accent-soft);
	background: rgba(16, 185, 129, .14);
	border-radius: 6px;
	padding: .1rem .55rem;
}
.chip-pos.up { color: #0a0a0a; background: var(--accent-grad); }
.dash-bars {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	height: 64px;
	margin-top: .4rem;
}
.dash-bars span {
	flex: 1;
	height: var(--h);
	min-height: 12%;
	border-radius: 4px 4px 2px 2px;
	background: linear-gradient(180deg, var(--accent-soft), rgba(16, 185, 129, .25));
	transform-origin: bottom;
	animation: grow-bar 1.1s var(--ease) backwards;
}
.dash-bars span:nth-child(1) { animation-delay: .2s; }
.dash-bars span:nth-child(2) { animation-delay: .32s; }
.dash-bars span:nth-child(3) { animation-delay: .44s; }
.dash-bars span:nth-child(4) { animation-delay: .56s; }
.dash-bars span:nth-child(5) { animation-delay: .68s; }
.dash-bars span:nth-child(6) { animation-delay: .8s; }
.dash-bars span:nth-child(7) { animation-delay: .92s; }
@keyframes grow-bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- 7. Trust & stats ---------- */
.trust-grid {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}
.trust-lede { font-size: 1.22rem; color: var(--text); margin: 0; }
.stat-blocks {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 1rem;
}
.stat-blocks li {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.4rem 1.6rem;
	display: flex;
	flex-direction: column;
	gap: .2rem;
	transition: transform .25s var(--ease), border-color .25s;
}
.stat-blocks li:hover { transform: translateY(-3px); border-color: rgba(16, 185, 129, .4); }
.stat-num {
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: 3.75rem;
	color: var(--neon);
	line-height: 1;
	text-shadow: 0 0 28px rgba(92, 242, 165, .35);
}
.stat-label { color: var(--muted); font-size: 1.05rem; }

/* ---------- 8. Services ---------- */
.services-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}
.service-card {
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
	padding: 1.8rem 1.5rem;
	transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
	position: relative;
	overflow: hidden;
}
.service-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 2px;
	background: var(--accent-grad);
	opacity: 0;
	transition: opacity .3s;
}
.service-card:hover {
	transform: translateY(-6px);
	border-color: var(--border);
	box-shadow: var(--shadow);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	color: var(--accent);
	background: rgba(16, 185, 129, .08);
	border: 1px solid var(--border);
	margin-bottom: 1.1rem;
}
.service-title { font-size: 1.18rem; margin-bottom: .5rem; }
.service-desc { color: var(--muted); font-size: .97rem; margin: 0; }
.services-note {
	text-align: center;
	color: var(--accent-soft);
	margin-top: 2.5rem;
	font-size: 1.05rem;
}

/* ---------- 9. Process timeline ---------- */
.process-timeline {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	counter-reset: step;
}
.process-step {
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
	padding: 1.8rem 1.6rem;
	position: relative;
	transition: transform .3s var(--ease), border-color .3s;
}
.process-step:hover { transform: translateY(-4px); border-color: var(--border); }
.step-num {
	font-family: var(--font-display);
	font-size: 2.6rem;
	line-height: 1;
	background: var(--accent-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	display: block;
	margin-bottom: .9rem;
}
.step-title { font-size: 1.2rem; margin-bottom: .5rem; }
.step-desc { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- 10. Portfolio ---------- */
.filters {
	display: flex;
	flex-wrap: wrap;
	gap: .7rem;
	margin-bottom: 2.5rem;
}
.filter-btn {
	background: transparent;
	border: 1px solid var(--border-soft);
	color: var(--muted);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: .92rem;
	padding: .6rem 1.25rem;
	border-radius: 999px;
	cursor: pointer;
	transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent-soft); }
.filter-btn.is-active {
	background: var(--accent-grad);
	border-color: transparent;
	color: #0a0a0a;
}
.project-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
.project-card {
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, opacity .3s;
}
.project-card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: var(--shadow); }
.project-card.is-hidden { display: none; }
.project-thumb {
	aspect-ratio: 16 / 9;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(80% 90% at 50% 10%, rgba(16, 185, 129, .16), transparent 70%),
		linear-gradient(160deg, #191919, #0d0d0d);
	border-bottom: 1px solid var(--border-soft);
}
.project-thumb-icon { font-size: 2.6rem; color: rgba(16, 185, 129, .5); }
.project-body { padding: 1.5rem; }
.project-cat {
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 .5rem;
}
.project-title { font-size: 1.3rem; margin-bottom: .4rem; }
.project-desc { color: var(--muted); font-size: .96rem; margin-bottom: 1rem; }
.filter-empty { text-align: center; color: var(--muted); padding: 2rem 0; }

/* ---------- 11. Tools ---------- */
.tools { text-align: center; }
.tools .section-head { margin-inline: auto; text-align: center; }
.tool-chips {
	list-style: none;
	padding: 0;
	margin: 0 auto 1.5rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .8rem;
	max-width: 820px;
}
.tool-chips li {
	font-weight: 600;
	font-size: .95rem;
	color: var(--text);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: .65rem 1.4rem;
	transition: transform .25s var(--ease), background .25s;
}
.tool-chips li:hover { transform: translateY(-3px); background: rgba(16, 185, 129, .08); }
.tools-note { color: var(--muted); font-style: italic; }

/* ---------- 12. Why work with me ---------- */
.why-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
}
.why-card {
	display: flex;
	gap: 1.1rem;
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
	padding: 1.6rem;
	transition: transform .3s var(--ease), border-color .3s;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--border); }
.why-check {
	flex: none;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--accent-grad);
	color: #0a0a0a;
	font-weight: 700;
}
.why-title { font-size: 1.12rem; margin-bottom: .35rem; }
.why-desc { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- 13. Testimonials ---------- */
.testimonial-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
.testimonial-card {
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
	padding: 2rem 1.7rem;
	position: relative;
}
.testimonial-card::before {
	content: "“";
	position: absolute;
	top: .4rem;
	left: 1.2rem;
	font-family: var(--font-display);
	font-size: 3.4rem;
	color: rgba(16, 185, 129, .35);
	line-height: 1;
}
.testimonial-card blockquote { margin: 1.2rem 0 1rem; }
.testimonial-author { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- 14. Blog cards ---------- */
.post-grid {
	list-style: none;
	padding: 0;
	margin: 0 0 2.5rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
.post-card {
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.post-card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: var(--shadow); }
.post-card-link { display: block; color: inherit; }
.post-card-link:hover { color: inherit; }
.post-thumb { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--border-soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-thumb-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(80% 90% at 50% 10%, rgba(16, 185, 129, .14), transparent 70%), #101010;
}
.post-thumb-empty span { font-size: 2.4rem; color: rgba(16, 185, 129, .5); }
.post-body { padding: 1.5rem; }
.post-meta { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
.post-meta a { color: var(--muted); }
.post-title { font-size: 1.28rem; margin-bottom: .5rem; }
.post-card:hover .post-title { color: var(--accent-soft); }
.post-excerpt { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.post-more { color: var(--accent); font-weight: 600; font-size: .95rem; }

.pagination { text-align: center; margin-top: 1rem; }
.pagination .nav-links { display: inline-flex; gap: .5rem; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 .8rem;
	border: 1px solid var(--border-soft);
	border-radius: 8px;
	color: var(--muted);
}
.pagination .page-numbers.current,
.pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent-soft); }

/* ---------- 15. About teaser ---------- */
.about-teaser-inner {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: center;
}
.about-photo {
	aspect-ratio: 4 / 5;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background:
		radial-gradient(70% 60% at 50% 30%, rgba(16, 185, 129, .12), transparent 70%),
		var(--surface);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow);
	overflow: hidden;
}
.about-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}
.photo-placeholder {
	color: var(--accent);
	border: 1px dashed rgba(16, 185, 129, .45);
	border-radius: var(--radius-sm);
	padding: .8rem 1.4rem;
	font-size: .95rem;
}

/* ---------- 16. Contact ---------- */
.contact-grid {
	display: grid;
	grid-template-columns: 1.25fr .75fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}
.contact-form {
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
	padding: clamp(1.5rem, 3vw, 2.5rem);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label {
	display: block;
	font-weight: 600;
	font-size: .92rem;
	margin-bottom: .45rem;
	color: var(--text);
}
.field label span { color: var(--accent); }
.field input,
.field select,
.field textarea {
	width: 100%;
	background: #0d0d0d;
	border: 1px solid var(--border-soft);
	border-radius: var(--radius-sm);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	padding: .85rem 1rem;
	transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(16, 185, 129, .15);
}
.field input::placeholder,
.field textarea::placeholder { color: #6b6b6b; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field-error input, .field-error select, .field-error textarea { border-color: #e0655f; }
.form-note {
	border-radius: var(--radius-sm);
	padding: 1rem 1.25rem;
	margin-bottom: 1.25rem;
	font-weight: 500;
}
.form-success { background: rgba(16, 185, 129, .1); border: 1px solid var(--border); color: var(--accent-soft); }
.form-error { background: rgba(224, 101, 95, .08); border: 1px solid rgba(224, 101, 95, .4); color: #f0a8a4; }
.form-privacy { color: var(--muted); font-size: .85rem; margin: 1rem 0 0; }

.contact-aside .aside-title { font-size: 1.25rem; margin-bottom: 1rem; }
.contact-links { list-style: none; padding: 0; margin: 0 0 2.2rem; display: grid; gap: 1.1rem; }
.contact-links li {
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
	padding: 1.2rem 1.4rem;
}
.contact-label {
	display: block;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: .5rem;
}

/* Accordion */
.accordion { border-top: 1px solid var(--border-soft); }
.accordion-item { border-bottom: 1px solid var(--border-soft); }
.accordion-head { margin: 0; }
.accordion-btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: transparent;
	border: 0;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	text-align: left;
	padding: 1.1rem .2rem;
	cursor: pointer;
}
.accordion-btn:hover { color: var(--accent-soft); }
.accordion-icon {
	flex: none;
	color: var(--accent);
	font-size: 1.4rem;
	line-height: 1;
	transition: transform .3s var(--ease);
}
.accordion-btn[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel { overflow: hidden; max-height: 0; transition: max-height .35s var(--ease); }
.accordion-panel p { color: var(--muted); padding: 0 .2rem 1.2rem; margin: 0; }

/* ---------- 17. Footer ---------- */
.site-footer {
	border-top: 1px solid var(--border);
	background: linear-gradient(100deg, #04120D 0%, #0B4A32 100%);
	padding: clamp(3.5rem, 7vw, 5.5rem) 0 0;
	margin-top: 2rem;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2.5rem;
	padding-bottom: 3rem;
}
.footer-tagline { color: var(--muted); margin: 1rem 0 1.5rem; max-width: 22rem; }
.social-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .4rem 1.2rem;
}
.social-list a { color: var(--muted); font-size: .95rem; }
.social-list a:hover { color: var(--accent-soft); }
.footer-heading {
	font-family: var(--font-body);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer-col a { color: var(--muted); font-size: .97rem; }
.footer-col a:hover { color: var(--accent-soft); }
.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	border-top: 1px solid var(--border-soft);
	padding-block: 1.5rem;
}
.footer-bottom p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- 18. Inner pages ---------- */
.page-hero {
	padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid var(--border-soft);
}
.page-title { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: .6rem; }
.page-content { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.9rem; margin-top: 2.4em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.8em; }
.prose p, .prose li { color: #d7d7d7; }
.prose a { border-bottom: 1px solid rgba(16, 185, 129, .4); }
.single-thumb { margin-top: 2.5rem; }
.single-thumb img { border-radius: var(--radius); border: 1px solid var(--border-soft); }
.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 4rem;
}
.post-nav a { color: var(--accent-soft); font-weight: 600; }

/* Case studies */
.case-list { display: grid; gap: 3.5rem; }
.case-study {
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
	padding: clamp(1.8rem, 4vw, 3rem);
}
.case-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.case-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.75rem;
	margin: 2rem 0;
}
.case-block h3 {
	font-family: var(--font-body);
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: .6rem;
}
.case-block p, .case-block li { color: #d7d7d7; }
.case-block ul { padding-left: 1.2rem; }
.case-metrics {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	background: #0d0d0d;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem 2rem;
	margin: 0 0 2rem;
	flex-wrap: wrap;
}
.metric { display: flex; flex-direction: column; gap: .3rem; }
.metric-label {
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--muted);
}
.metric-value { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent-soft); }
.metric-arrow { font-size: 1.8rem; color: var(--accent); }
.case-tools h3 {
	font-family: var(--font-body);
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: .8rem;
}

/* 404 + search */
.error-404 { text-align: center; max-width: 640px; }
.search-form {
	display: flex;
	gap: .7rem;
	max-width: 480px;
	margin: 1.5rem auto;
}
.search-form .search-field {
	flex: 1;
	background: #0d0d0d;
	border: 1px solid var(--border-soft);
	border-radius: var(--radius-sm);
	color: var(--text);
	padding: .85rem 1rem;
	font-size: 1rem;
}
.search-form .search-field:focus { outline: none; border-color: var(--accent); }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1024px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.tilt-grid { grid-template-columns: repeat(2, 1fr); }
	.process-timeline { grid-template-columns: repeat(2, 1fr); }
	.project-grid, .post-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.hero-inner { grid-template-columns: 1fr; }
	.hero-visual { order: -1; }
	.dash-card { width: min(560px, 100%); }
	.trust-grid { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.about-teaser-inner { grid-template-columns: 1fr; }
	.about-photo { max-width: 420px; }
}

@media (max-width: 768px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav ul {
		display: none;
		position: absolute;
		top: 100%;
		right: 1.5rem;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: #101010;
		border: 1px solid var(--border);
		border-radius: var(--radius);
		padding: .8rem;
		min-width: 220px;
		box-shadow: var(--shadow);
	}
	.primary-nav ul.is-open { display: flex; }
	.primary-nav li { border-bottom: 1px solid var(--border-soft); }
	.primary-nav li:last-child { border-bottom: 0; }
	.primary-nav a { display: block; padding: .8rem 1rem; border-bottom: 0; }
	.primary-nav a::after { display: none; }
	.primary-nav { position: relative; }
	.header-cta { display: none; }
	.header-inner { gap: 1rem; }
	.why-grid { grid-template-columns: 1fr; }
	.case-grid { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; }
	.post-nav { flex-direction: column; }
}

@media (max-width: 560px) {
	.services-grid,
	.tilt-grid,
	.process-timeline,
	.project-grid,
	.post-grid,
	.testimonial-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.hero-ctas .btn { width: 100%; }
}

/* ---------- 21. Featured 3D tilt cards ---------- */
.tilt-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	perspective: 1100px;
}
.tilt-card {
	position: relative;
	display: block;
	transform-style: preserve-3d;
	border-radius: 18px;
	border: 1px solid rgba(92, 242, 165, .22);
	background: linear-gradient(165deg, rgba(22, 46, 33, .66), rgba(6, 18, 13, .82));
	box-shadow:
		inset 0 1px 0 rgba(92, 242, 165, .12),
		inset 0 -18px 40px rgba(0, 0, 0, .28),
		0 18px 45px rgba(0, 0, 0, .45),
		0 0 34px rgba(16, 185, 129, .07);
	padding: 1.75rem 1.6rem;
	color: inherit;
	text-decoration: none;
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
	will-change: transform;
}
.tilt-card.tilt-in { opacity: 1; transform: none; }
.tilt-card.tilt-ready { transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.tilt-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(430px circle at var(--mx, 50%) var(--my, 50%), rgba(92, 242, 165, .22), transparent 65%);
	opacity: 0;
	transition: opacity .35s var(--ease);
	pointer-events: none;
}
.tilt-card:hover::before,
.tilt-card:focus-visible::before { opacity: 1; }
.tilt-card:hover,
.tilt-card:focus-visible {
	border-color: rgba(92, 242, 165, .55);
	box-shadow:
		inset 0 1px 0 rgba(92, 242, 165, .16),
		inset 0 -18px 40px rgba(0, 0, 0, .28),
		0 26px 60px rgba(0, 0, 0, .55),
		0 0 60px rgba(92, 242, 165, .2),
		0 0 120px rgba(16, 185, 129, .1);
}
.tilt-inner { transform-style: preserve-3d; }
.tilt-icon {
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 13px;
	color: var(--neon);
	background: rgba(92, 242, 165, .08);
	border: 1px solid rgba(92, 242, 165, .35);
	box-shadow:
		0 0 22px rgba(92, 242, 165, .28),
		inset 0 0 12px rgba(92, 242, 165, .12);
	transform: translateZ(42px);
	margin-bottom: 1.1rem;
}
.tilt-icon svg { width: 24px; height: 24px; }
.tilt-card h3 {
	font-family: var(--font-display);
	font-size: 1.28rem;
	margin: 0 0 .6rem;
	color: var(--text);
	transform: translateZ(26px);
}
.tilt-card p {
	color: var(--muted);
	font-size: .96rem;
	line-height: 1.65;
	margin: 0 0 1rem;
	transform: translateZ(14px);
}
.tilt-more {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	color: var(--accent-soft);
	font-weight: 600;
	font-size: .92rem;
	transform: translateZ(20px);
}
.tilt-more .arr { transition: transform .25s var(--ease); }
.tilt-card:hover .tilt-more .arr { transform: translateX(4px); }

/* Ambient glow orbs behind the tilt grid (futuristic depth) */
.featured { position: relative; overflow: clip; }
.tilt-decor { position: absolute; inset: 0; pointer-events: none; }
.orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
}
.orb-1 { width: 360px; height: 360px; background: rgba(16, 185, 129, .13); top: -90px; left: -110px; }
.orb-2 { width: 300px; height: 300px; background: rgba(92, 242, 165, .09); bottom: -70px; right: -90px; }
.orb-3 { width: 190px; height: 190px; background: rgba(92, 242, 165, .1); top: 42%; left: 58%; }

/* ---------- 20. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.dash-line { stroke-dashoffset: 0; animation: none; }
	.dash-point { opacity: 1; animation: none; }
	.dash-bars span { animation: none; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- 22. About showcase ---------- */
.about-showcase { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.about-grid {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}
.about-grid > * { min-width: 0; }

/* Photo card */
.about-photo-card {
	position: relative;
	border-radius: 26px;
	border: 1px solid rgba(92, 242, 165, .2);
	background: linear-gradient(170deg, rgba(22, 46, 33, .7), rgba(6, 18, 13, .9));
	box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 50px rgba(16, 185, 129, .08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 600px;
}
.apc-badge {
	position: absolute;
	left: .9rem;
	top: 10.5rem;
	transform: translateY(-50%) rotate(180deg);
	writing-mode: vertical-rl;
	font-family: var(--font-mono);
	font-size: .72rem;
	letter-spacing: .12em;
	color: var(--accent-soft);
	background: rgba(4, 18, 13, .72);
	border: 1px solid rgba(92, 242, 165, .25);
	border-radius: 999px;
	padding: .9rem .5rem;
	display: flex;
	align-items: center;
	gap: .5rem;
	z-index: 3;
	backdrop-filter: blur(6px);
}
.apc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); }
.apc-socials {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 3;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}
.apc-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 .6rem;
	border-radius: 50%;
	border: 1px solid rgba(92, 242, 165, .25);
	background: rgba(4, 18, 13, .66);
	color: var(--accent-soft);
	font-size: .72rem;
	font-family: var(--font-mono);
	text-decoration: none;
	backdrop-filter: blur(6px);
	transition: border-color .25s, color .25s, box-shadow .25s;
}
.apc-socials a:hover { border-color: var(--neon); color: var(--neon); box-shadow: 0 0 16px rgba(92, 242, 165, .3); }
.apc-photo {
	flex: 1;
	min-height: 300px;
	margin: 1rem 1rem 0;
	border-radius: 18px;
	border: 1px dashed rgba(92, 242, 165, .35);
	background:
		radial-gradient(420px 200px at 50% 0%, rgba(92, 242, 165, .12), transparent 70%),
		repeating-linear-gradient(0deg, rgba(92, 242, 165, .05) 0 1px, transparent 1px 28px),
		repeating-linear-gradient(90deg, rgba(92, 242, 165, .05) 0 1px, transparent 1px 28px),
		rgba(4, 18, 13, .5);
	display: flex;
	align-items: center;
	justify-content: center;
}
.apc-photo-note { font-family: var(--font-mono); color: var(--muted); font-size: .9rem; }
.apc-bottom { padding: 1.5rem 1.6rem 1.7rem; }
.apc-hello { font-size: 1.5rem; margin: 0 0 .5rem; }
.apc-bio { color: var(--muted); margin: 0 0 1.2rem; font-size: .98rem; }
.apc-ctas { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.apc-link { color: var(--accent-soft); font-weight: 600; text-decoration: none; }
.apc-link:hover { color: var(--neon); }

/* Intro column */
.about-topline { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.4rem; }
.about-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-mono);
	font-weight: 700;
	color: #04120D;
	background: linear-gradient(135deg, var(--neon), var(--accent));
	box-shadow: 0 0 24px rgba(92, 242, 165, .4);
}
.about-who { display: flex; flex-direction: column; gap: .15rem; }
.about-who strong { font-size: 1.05rem; }
.about-who span { color: var(--muted); font-size: .92rem; }
.about-headline {
	font-size: clamp(2.3rem, 4.6vw, 3.9rem);
	line-height: 1.18;
	letter-spacing: -0.02em;
	margin: 0 0 1.2rem;
}
.pill {
	display: inline-block;
	border-radius: 999px;
	padding: .02em .38em .06em;
	white-space: nowrap;
}
.pill-solid { background: var(--neon); color: #04120D; box-shadow: 0 0 34px rgba(92, 242, 165, .45); }
.pill-outline {
	border: 2px solid rgba(92, 242, 165, .55);
	color: var(--neon);
	background: rgba(92, 242, 165, .07);
	box-shadow: inset 0 0 18px rgba(92, 242, 165, .12);
}
.about-lede { font-size: 1.15rem; color: var(--text); max-width: 56ch; margin: 0 0 .5rem; }

/* Ribbon + rotating badge */
.about-ribbon { position: relative; margin: .5rem 0 0; }
.ribbon-svg { display: block; width: 100%; height: auto; }
.about-badge {
	position: absolute;
	top: -8px;
	right: 12%;
	width: 118px;
	height: 118px;
}
.about-badge svg { width: 100%; height: 100%; animation: badge-spin 20s linear infinite; }
.badge-text {
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 2.5px;
	fill: var(--accent-soft);
}
.about-badge-core {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-mono);
	font-weight: 700;
	color: var(--neon);
}
@keyframes badge-spin { to { transform: rotate(360deg); } }

/* Stats row */
.about-stats {
	list-style: none;
	margin: 1.6rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}
.about-stats li { display: flex; flex-direction: column; gap: .3rem; }

/* Client logos placeholder */
.about-clients { margin-top: 2.2rem; }
.about-clients-label { color: var(--muted); font-size: .92rem; margin: 0 0 .8rem; display: flex; align-items: center; gap: .6rem; }
.about-clients-label::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.client-logo-placeholder {
	border: 1px dashed rgba(92, 242, 165, .3);
	border-radius: var(--radius);
	padding: 1.8rem;
	text-align: center;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .85rem;
	background: rgba(4, 18, 13, .4);
}

/* About showcase responsive */
@media (max-width: 1024px) {
	.about-grid { grid-template-columns: 340px 1fr; }
}
@media (max-width: 860px) {
	.about-grid { grid-template-columns: 1fr; }
	.about-photo-card { max-width: 430px; min-height: 0; }
	.apc-photo { min-height: 260px; }
	.apc-badge {
		top: 1.1rem;
		left: 1.1rem;
		transform: none;
		writing-mode: horizontal-tb;
	}
}
@media (max-width: 560px) {
	.about-stats .stat-num { font-size: 2.3rem; }
	.about-badge { width: 92px; height: 92px; right: 6%; }
	.pill { white-space: normal; }
	.about-headline { font-size: clamp(2rem, 8.5vw, 3.9rem); }
}
@media (prefers-reduced-motion: reduce) {
	.about-badge svg { animation: none; }
}

/* ---------- 23. Services bento grid ---------- */
.services-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.services-headline {
	font-size: clamp(2.3rem, 4.6vw, 3.9rem);
	line-height: 1.18;
	letter-spacing: -0.02em;
	margin: 0 0 1.2rem;
}
.services-lede { font-size: 1.15rem; color: var(--text); max-width: 68ch; margin: 0; }
.services-bento { padding-bottom: clamp(3rem, 6vw, 5rem); }

.bento-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1.25rem;
	perspective: 1100px;
	margin-top: 1rem;
}
.bento-card { grid-column: span 2; }
.bento-card.bento-wide { grid-column: span 3; }
/* Reuse the 3D tilt interaction; tune inner spacing for the bento layout */
.bento-card.tilt-card { padding: 1.6rem 1.5rem 1.5rem; }
.bento-card .tilt-inner { display: flex; flex-direction: column; height: 100%; }
.bento-visual {
	height: 190px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	margin-bottom: 1.2rem;
	background:
		radial-gradient(300px 140px at 50% 20%, rgba(92, 242, 165, .09), transparent 70%),
		repeating-linear-gradient(0deg, rgba(92, 242, 165, .045) 0 1px, transparent 1px 26px),
		repeating-linear-gradient(90deg, rgba(92, 242, 165, .045) 0 1px, transparent 1px 26px),
		rgba(4, 18, 13, .45);
	border: 1px solid rgba(92, 242, 165, .12);
	transform: translateZ(34px);
	overflow: hidden;
}
.bento-wide .bento-visual { height: 230px; }
.motif { width: 82%; height: 82%; max-width: 250px; filter: drop-shadow(0 0 14px rgba(92, 242, 165, .25)); }
.bento-title { font-size: 1.22rem; margin: 0 0 .55rem; transform: translateZ(22px); }
.bento-wide .bento-title { font-size: 1.45rem; }
.bento-desc { color: var(--muted); font-size: .96rem; margin: 0 0 1.1rem; flex: 1; transform: translateZ(12px); }
.bento-link {
	align-self: flex-start;
	color: var(--accent-soft);
	font-weight: 600;
	text-decoration: none;
	font-size: .95rem;
	transform: translateZ(18px);
}
.bento-link:hover { color: var(--neon); }
.bento-link span { transition: transform .25s; display: inline-block; }
.bento-link:hover span { transform: translateX(4px); }

.services-cta {
	margin-top: 3rem;
	text-align: center;
	border: 1px solid rgba(92, 242, 165, .2);
	border-radius: 22px;
	padding: clamp(2rem, 5vw, 3.2rem);
	background: linear-gradient(170deg, rgba(22, 46, 33, .55), rgba(6, 18, 13, .85));
	box-shadow: 0 0 60px rgba(16, 185, 129, .08);
}
.services-cta h2 { margin: 0 0 .6rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.services-cta p { color: var(--muted); margin: 0 0 1.4rem; }

/* Services bento responsive */
@media (max-width: 1024px) {
	.bento-card, .bento-card.bento-wide { grid-column: span 3; }
	.bento-wide .bento-visual { height: 200px; }
}
@media (max-width: 620px) {
	.bento-card, .bento-card.bento-wide { grid-column: span 6; }
	.bento-visual, .bento-wide .bento-visual { height: 170px; }
}

/* ---------- 24. Contact showcase (animated) ---------- */
.contact-hero { position: relative; overflow: clip; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.contact-hero .container { position: relative; }
.contact-headline {
	font-size: clamp(2.3rem, 4.6vw, 3.9rem);
	line-height: 1.18;
	letter-spacing: -0.02em;
	margin: 0 0 1.2rem;
}
.contact-lede { font-size: 1.15rem; color: var(--text); max-width: 60ch; margin: 0; }
.contact-main { padding-bottom: 1rem; }
.contact-show-grid {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}
.contact-info h2 { font-size: 1.4rem; margin: 0 0 1.2rem; }

/* Animated info cards */
.contact-info-card {
	display: flex;
	gap: 1.1rem;
	align-items: flex-start;
	background: linear-gradient(165deg, rgba(22, 46, 33, .6), rgba(6, 18, 13, .85));
	border: 1px solid rgba(92, 242, 165, .16);
	border-radius: 18px;
	padding: 1.3rem 1.4rem;
	margin-bottom: 1rem;
	transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.contact-info-card:nth-child(3) { transition-delay: .08s; }
.contact-info-card:nth-child(4) { transition-delay: .16s; }
.contact-info-card:nth-child(5) { transition-delay: .24s; }
.contact-info-card:hover {
	transform: translateY(-4px);
	border-color: rgba(92, 242, 165, .45);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 34px rgba(92, 242, 165, .12);
}
.ci-icon {
	flex: none;
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	color: var(--neon);
	background: rgba(92, 242, 165, .08);
	border: 1px solid rgba(92, 242, 165, .3);
	box-shadow: 0 0 20px rgba(92, 242, 165, .22), inset 0 0 12px rgba(92, 242, 165, .1);
	animation: ci-float 4.5s ease-in-out infinite;
}
.ci-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ci-icon circle { fill: currentColor; stroke: none; }
@keyframes ci-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.ci-body { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.ci-label {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--accent);
}
.ci-value { color: var(--text); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.ci-value:hover { color: var(--neon); }
.ci-socials { display: flex; gap: .8rem; flex-wrap: wrap; }
.ci-socials a { color: var(--accent-soft); font-weight: 600; text-decoration: none; font-size: .95rem; }
.ci-socials a:hover { color: var(--neon); }
.contact-assurance { color: var(--muted); font-size: .9rem; margin: 1.2rem 0 0; display: flex; gap: .6rem; align-items: flex-start; }
.contact-assurance::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .45rem; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); }

/* Glowing animated form frame */
.form-glow {
	position: relative;
	border-radius: 24px;
	padding: 2px;
	overflow: hidden;
	isolation: isolate;
}
.form-glow::before {
	content: "";
	position: absolute;
	inset: -60%;
	z-index: 0;
	background: conic-gradient(from 0deg, transparent 0 68%, rgba(92, 242, 165, .55) 82%, rgba(16, 185, 129, .9) 90%, transparent 100%);
	animation: glow-spin 5.5s linear infinite;
}
.form-glow::after {
	content: "";
	position: absolute;
	inset: 2px;
	z-index: 0;
	border-radius: 22px;
	background: linear-gradient(170deg, #0c2117, #07120d);
}
.form-glow .contact-form {
	position: relative;
	z-index: 1;
	background: transparent;
	border: none;
	box-shadow: none;
}
/* Field focus glow upgrade */
.form-glow .field { position: relative; }
.form-glow .field input:focus,
.form-glow .field select:focus,
.form-glow .field textarea:focus {
	border-color: var(--neon);
	box-shadow: 0 0 0 3px rgba(92, 242, 165, .14), 0 0 22px rgba(92, 242, 165, .12);
}
.form-glow .field:focus-within label { color: var(--neon); }
.form-glow .field label { transition: color .25s; }
/* Submit button shine sweep */
.form-glow .btn[type="submit"] { position: relative; overflow: hidden; }
.form-glow .btn[type="submit"]::after {
	content: "";
	position: absolute;
	top: 0;
	left: -90%;
	width: 55%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
	transform: skewX(-20deg);
	transition: left .65s ease;
}
.form-glow .btn[type="submit"]:hover::after { left: 140%; }
/* Success note pop */
.form-glow .form-success { animation: pop-in .5s var(--ease); }
@keyframes pop-in { 0% { opacity: 0; transform: scale(.96) translateY(8px); } 100% { opacity: 1; transform: none; } }
@keyframes glow-spin { to { transform: rotate(360deg); } }

/* Contact FAQ */
.contact-faq { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }
.contact-faq h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 1.4rem; }
.contact-faq .accordion { max-width: 760px; }

/* Contact responsive */
@media (max-width: 900px) {
	.contact-show-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.ci-icon { animation: none; }
	.form-glow::before { animation: none; }
	.form-glow .form-success { animation: none; }
	.form-glow .btn[type="submit"]::after { display: none; }
}

/* Tilt grid responsive — placed after the base .tilt-grid rule so the
   mobile/tablet overrides win the cascade. */
@media (max-width: 1024px) {
	.tilt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.tilt-grid { grid-template-columns: 1fr; }
}

/* About photo (real image fills the card frame on all screens) */
.apc-photo.has-photo { position: relative; overflow: hidden; padding: 0; display: block; }
.apc-photo.has-photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

/* Portfolio real projects: work list + tools line */
.project-work { list-style: none; margin: 0 0 1rem; padding: 0; }
.project-work li {
	position: relative;
	padding-left: 1.15rem;
	margin-bottom: .4rem;
	font-size: .9rem;
	color: var(--muted);
	line-height: 1.5;
}
.project-work li::before {
	content: "▸";
	position: absolute;
	left: 0;
	color: var(--accent);
}
.project-tools {
	font-family: var(--font-mono);
	font-size: .78rem;
	letter-spacing: .02em;
	color: var(--accent-soft);
	border-top: 1px solid var(--border);
	padding-top: .8rem;
	margin: 0;
}
.project-tools span { color: var(--accent); }

/* Logo lockup (concept 3): badge + wordmark + tagline */
.brand-mark svg { filter: drop-shadow(0 0 5px rgba(92, 242, 165, .45)); display: block; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand-tag {
	font-family: var(--font-mono);
	font-size: .52rem;
	letter-spacing: .32em;
	color: var(--accent-soft);
	margin-top: .22rem;
	white-space: nowrap;
}
@media (max-width: 560px) {
	.brand-tag { display: none; }
	.brand-word { font-size: 1.3rem; }
}

/* ============================================================
   v1.2.9 — Combined homepage animation
   1) Keyword particle network in the hero
   2) Hero title word-by-word mask reveal (JS split)
   3) Ranking Journey card (typewriter + climb + growth line)
   4) Scroll Drawing Path (fills as the journey section scrolls)
   Placed last so these rules win the cascade.
   ============================================================ */

/* --- 1) Particles + floating keywords --- */
#sv-particles {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}
.sv-kw-field { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.sv-kw {
	position: absolute;
	font-family: var(--font-mono);
	font-size: .62rem;
	letter-spacing: .14em;
	color: rgba(167, 243, 208, .75);
	border: 1px solid rgba(92, 242, 165, .28);
	padding: .3rem .55rem;
	border-radius: 999px;
	background: rgba(10, 31, 22, .55);
	animation: sv-float 5s ease-in-out infinite;
}
@keyframes sv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- 2) Word reveal --- */
.hero-title .sv-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.hero-title .sv-wi { display: inline-block; transform: translateY(110%); animation: sv-word-up .7s var(--ease) forwards; }
@keyframes sv-word-up { to { transform: translateY(0); } }

/* --- 3) Ranking Journey --- */
.journey { position: relative; padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.journey-card {
	background: rgba(10, 31, 22, .88);
	border: 1px solid rgba(92, 242, 165, .32);
	border-radius: 18px;
	padding: clamp(1.1rem, 3vw, 1.6rem);
	box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
	max-width: 680px;
}
.journey-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .9rem; }
.journey-label { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .16em; color: var(--neon); }
.journey-rank { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--neon); text-shadow: 0 0 18px rgba(92, 242, 165, .7); }
.journey-search {
	display: flex; align-items: center; gap: .55rem;
	background: #071A11; border: 1px solid rgba(167, 243, 208, .22);
	border-radius: 999px; padding: .65rem 1rem;
	font-size: .9rem; color: var(--text); min-height: 2.7rem;
}
.journey-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 12px var(--neon); flex: none; }
.journey-caret { width: 2px; height: 1rem; background: var(--neon); animation: sv-blink 1s steps(1) infinite; }
@keyframes sv-blink { 50% { opacity: 0; } }
.journey-results { margin-top: .8rem; display: flex; flex-direction: column; gap: .5rem; }
.journey-res {
	display: flex; align-items: center; gap: .7rem;
	padding: .6rem .75rem; border-radius: 10px;
	background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06);
	color: #9FBFB0; font-size: .82rem;
	transition: background .5s, border-color .5s, box-shadow .5s;
}
.journey-res strong { color: #D9FBEA; font-weight: 600; }
.journey-me { background: rgba(16, 185, 129, .18); border-color: rgba(92, 242, 165, .65); color: var(--text); box-shadow: 0 0 20px rgba(92, 242, 165, .22); }
.journey-badge {
	margin-left: auto; background: var(--neon); color: #04120D;
	font-size: .62rem; font-weight: 800; padding: .25rem .55rem; border-radius: 999px;
	opacity: 0; transform: scale(.7); transition: opacity .4s, transform .4s;
	white-space: nowrap;
}
.journey-badge.on { opacity: 1; transform: scale(1); }
.journey-chart { margin-top: .8rem; background: #071A11; border-radius: 12px; padding: .7rem .8rem .5rem; }
.journey-chart svg { display: block; width: 100%; height: 70px; }
#sv-jpath { filter: drop-shadow(0 0 6px rgba(92, 242, 165, .8)); }
.journey-chart-labels { display: flex; justify-content: space-between; font-size: .62rem; color: #7FAE97; font-family: var(--font-mono); letter-spacing: .08em; }
.journey-note { font-size: .68rem; color: #7FAE97; margin: .6rem 0 0; }

/* --- 4) Scroll Drawing Path --- */
.sv-scrollpath { position: relative; margin: 2.6rem 0 0 .4rem; padding-left: 1.9rem; max-width: 640px; }
.sv-scrollpath-track {
	position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px;
	background: rgba(92, 242, 165, .15); border-radius: 99px; overflow: hidden;
}
#sv-scroll-fill { display: block; width: 100%; height: 0%; background: linear-gradient(var(--neon), var(--accent)); box-shadow: 0 0 14px var(--neon); }
.sv-node { position: relative; padding-bottom: 1.2rem; opacity: .35; transform: translateX(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.sv-node:last-child { padding-bottom: 0; }
.sv-node.on { opacity: 1; transform: none; }
.sv-node::before {
	content: ""; position: absolute; left: -1.9rem; top: .3rem;
	width: 15px; height: 15px; border-radius: 50%;
	background: var(--surface); border: 2px solid rgba(92, 242, 165, .4);
	/* centre the dot on the 3px track (track centre is 9.5px from wrap left) */
	transform: translateX(2px);
}
.sv-node.on::before { background: var(--neon); box-shadow: 0 0 16px var(--neon); }
.sv-node h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.sv-node p { margin: 0; color: var(--accent-soft); font-size: .88rem; line-height: 1.55; opacity: .85; }

@media (max-width: 560px) {
	.sv-kw { display: none; }
	.journey-rank { font-size: 1.25rem; }
	.journey-res { font-size: .78rem; gap: .5rem; }
	.journey-badge { font-size: .56rem; }
}
@media (prefers-reduced-motion: reduce) {
	.sv-kw, .journey-caret { animation: none; }
	.hero-title .sv-wi { animation: none; transform: none; }
	.sv-node { opacity: 1; transform: none; }
	#sv-scroll-fill { height: 100% !important; }
}

/* ============================================================
   v1.3.0 — Option 1 CTA: "Let's Grow Your [rotating word]"
   Only the last word rolls vertically: Website / Traffic /
   Rankings / Sales / Business, then loops. Button style itself
   is unchanged (.btn-gold). Fixed-width rotator so the button
   never changes size or shifts layout (header + hero + case
   studies CTA all share .cta-grow).
   ============================================================ */
.cta-grow-rot {
	display: inline-block;
	height: 1.2em;
	width: 5.1em;
	overflow: hidden;
	vertical-align: bottom;
	text-align: left;
}
.cta-grow-rot-inner {
	display: block;
	animation: cta-grow-roll 12.5s ease-in-out infinite;
	will-change: transform;
}
.cta-grow-rot-inner > span {
	display: block;
	height: 1.2em;
	line-height: 1.2em;
	white-space: nowrap;
}
@keyframes cta-grow-roll {
	0%, 16% { transform: translateY(0); }
	20%, 36% { transform: translateY(-1.2em); }
	40%, 56% { transform: translateY(-2.4em); }
	60%, 76% { transform: translateY(-3.6em); }
	80%, 96% { transform: translateY(-4.8em); }
	100% { transform: translateY(-6em); }
}
@media (prefers-reduced-motion: reduce) {
	.cta-grow-rot-inner { animation: none; }
}

/* v1.3.1 — Ranking Journey card moved into the hero (old dash card removed).
   The card now lives inside .hero-visual, so it takes the hero column width. */
.hero-visual .journey-card { width: min(480px, 100%); max-width: 100%; }
@media (max-width: 560px) {
	.hero-visual .journey-card { padding: 1rem; }
}

/* ============================================================
   v1.3.1 — Search Bar CTA (replaces the v1.3.0 rotating word,
   which the owner disliked live). The CTA looks like a Google
   search pill: magnifier icon, the query "grow my website"
   typing/deleting in a loop (visitor's own words), and an
   emerald "Start →" segment. Links to /contact/ as before.
   Used in the header (--sm), the homepage hero, and the
   case-studies template. Typing is decorative (aria-hidden);
   the link's aria-label carries the meaning.
   ============================================================ */
.search-cta {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	background: var(--surface);
	border: 1.5px solid rgba(92, 242, 165, .55);
	border-radius: 999px;
	padding: .45rem .45rem .45rem 1.1rem;
	box-shadow: 0 0 22px rgba(16, 185, 129, .22);
	text-decoration: none;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.search-cta:hover {
	transform: translateY(-2px);
	border-color: var(--neon);
	box-shadow: 0 0 32px rgba(16, 185, 129, .38);
}
.search-cta-icon { display: inline-flex; color: var(--neon); flex: none; }
.search-cta-typed {
	font-family: var(--font-mono);
	font-size: .95rem;
	color: var(--text);
	display: inline-block;
	overflow: hidden;
	white-space: nowrap;
	text-align: left;
	border-right: 2px solid var(--neon);
	width: 15ch;
	animation: search-cta-type 6s steps(15, end) infinite, search-cta-caret 1s step-end infinite;
}
.search-cta-go {
	background: var(--accent);
	color: #04120D;
	font-family: var(--font-body);
	font-weight: 800;
	font-size: .9rem;
	border-radius: 999px;
	padding: .6rem 1.1rem;
	white-space: nowrap;
	flex: none;
}
@keyframes search-cta-type {
	0% { width: 0; }
	35%, 72% { width: 15ch; }
	92%, 100% { width: 0; }
}
@keyframes search-cta-caret { 50% { border-right-color: transparent; } }

/* Header (small) variant */
.search-cta--sm { padding: .3rem .3rem .3rem .85rem; gap: .45rem; }
.search-cta--sm .search-cta-typed { font-size: .78rem; }
.search-cta--sm .search-cta-go { font-size: .78rem; padding: .45rem .8rem; }

/* Keep the header CTA hidden on small screens, as before
   (this later rule restores the ≤768px behaviour for .search-cta). */
@media (max-width: 768px) {
	.header-cta.search-cta { display: none; }
}
/* Hero: on phones the search pill goes full width, Start pinned right */
@media (max-width: 560px) {
	.hero-ctas .search-cta { display: flex; width: 100%; }
	.hero-ctas .search-cta-go { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.search-cta-typed { animation: none; width: 15ch; border-right: 0; }
}

/* Portfolio card thumbnails (bundled images fill the 16:9 slot) */
.project-thumb { position: relative; overflow: hidden; }
.project-thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* v1.3.3 — Site-wide particle network background (all pages).
   Fixed canvas behind all content (above the body background),
   with the same faint grid the homepage hero uses. JS: #sv-bg in main.js. */
#sv-bg {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(16, 185, 129, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(16, 185, 129, .05) 1px, transparent 1px);
	background-size: 56px 56px;
}

/* Header logo arrow animation: draw-in, gentle nudge + glow, then rest (6s loop).
   Only under no-preference so reduced-motion users see a static logo. */
@media (prefers-reduced-motion: no-preference) {
	.site-header .logo-arrow-line {
		stroke-dasharray: 40;
		animation: sv-arrow-line 6s ease-in-out infinite;
	}
	.site-header .logo-arrow-head {
		stroke-dasharray: 18;
		animation: sv-arrow-head 6s ease-in-out infinite;
	}
	.site-header .logo-arrow {
		animation: sv-arrow-nudge 6s ease-in-out infinite;
	}
	.site-header .brand-mark svg {
		animation: sv-logo-glow 6s ease-in-out infinite;
	}
}
@keyframes sv-arrow-line {
	0% { stroke-dashoffset: 40; }
	26%, 100% { stroke-dashoffset: 0; }
}
@keyframes sv-arrow-head {
	0%, 14% { stroke-dashoffset: 18; }
	32%, 100% { stroke-dashoffset: 0; }
}
@keyframes sv-arrow-nudge {
	0%, 38% { transform: translate(0, 0); }
	46% { transform: translate(1.3px, -1.3px); }
	56%, 100% { transform: translate(0, 0); }
}
@keyframes sv-logo-glow {
	0%, 38% { filter: drop-shadow(0 0 5px rgba(92, 242, 165, .45)); }
	46% { filter: drop-shadow(0 0 9px rgba(92, 242, 165, .85)); }
	56%, 100% { filter: drop-shadow(0 0 5px rgba(92, 242, 165, .45)); }
}
