:root {
	--bg: #f6f2ea;
	--surface: #ffffff;
	--surface-soft: #ebe5da;
	--text: #111111;
	--muted: #6d675e;
	--line: rgba(17, 17, 17, 0.12);
	--accent: #24e878;
	--accent-soft: rgba(36, 232, 120, 0.14);
	--shadow: 0 18px 46px rgba(17, 17, 17, 0.07);
	--radius: 10px;
	--header-height: 74px;
}

[data-theme="dark"] {
	--bg: #0d0f0d;
	--surface: #171917;
	--surface-soft: #20231f;
	--text: #f6f2ea;
	--muted: #aaa399;
	--line: rgba(246, 242, 234, 0.13);
	--shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Inter, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

body.menu-open {
	overflow: hidden;
}

body::before {
	display: none;
}

[data-theme="dark"] body::before {
	display: none;
}

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

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

button,
input,
textarea {
	font: inherit;
}

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

.skip-link:focus {
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 16px;
	background: var(--accent);
	color: #111111;
}

.container {
	width: min(1160px, calc(100% - 40px));
	margin-inline: auto;
}

.narrow {
	width: min(860px, calc(100% - 40px));
}

.section-pad {
	padding: 92px 0;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--header-height);
	background: color-mix(in srgb, var(--bg) 94%, transparent);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(18px);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	gap: 24px;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	color: var(--text);
	font-size: 22px;
	font-weight: 900;
	letter-spacing: 0;
}

.custom-logo {
	max-height: 48px;
	width: auto;
}

.primary-nav .menu,
.footer-menu {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav a {
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
	transition: color 180ms ease;
}

.primary-nav a:hover {
	color: var(--text);
}

.header-actions,
.button-row,
.contact-links,
.filter-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.btn,
.filter-row button,
.theme-toggle,
.menu-toggle {
	border: 1px solid var(--line);
	border-radius: 999px;
	cursor: pointer;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	background: var(--text);
	color: var(--bg);
	font-weight: 800;
	box-shadow: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: none;
}

.btn-small {
	min-height: 42px;
	padding: 0 16px;
	font-size: 14px;
}

.btn-ghost {
	background: transparent;
	color: var(--text);
	box-shadow: none;
}

.theme-toggle {
	position: relative;
	width: 46px;
	height: 42px;
	padding: 0;
	background: var(--surface);
}

.theme-toggle span {
	position: absolute;
	inset: 10px;
	border-radius: 50%;
	background: var(--text);
	transform: scale(0.72);
	transition: transform 180ms ease, background-color 180ms ease;
}

[data-theme="dark"] .theme-toggle span {
	background: var(--accent);
	transform: scale(0.58) translateX(8px);
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 42px;
	background: var(--surface);
	padding: 12px;
}

.menu-toggle span:not(.screen-reader-text) {
	display: block;
	height: 2px;
	background: var(--text);
	margin: 5px 0;
}

.hero {
	position: relative;
	min-height: calc(82svh - var(--header-height));
	display: grid;
	align-items: start;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 34%),
		linear-gradient(180deg, color-mix(in srgb, var(--surface-soft) 22%, transparent), transparent 72%);
	pointer-events: none;
}

.hero-grid-lines {
	display: none;
}

.hero-frame {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
	gap: 64px;
	align-items: start;
	padding: clamp(24px, 5vw, 60px) 0 56px;
}

.hero-content {
	max-width: 860px;
}

.hero-content::before {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin-bottom: 22px;
	border-radius: 999px;
	background: var(--accent);
}

.hero-side-label,
.hero-social-rail,
.hero-footer-meta {
	display: none;
}

.eyebrow {
	margin: 0 0 18px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2 {
	line-height: 1;
	letter-spacing: 0;
}

h1 {
	max-width: 860px;
	margin-bottom: 22px;
	font-size: clamp(54px, 8vw, 112px);
	font-weight: 900;
	line-height: 0.98;
}

h1 span {
	display: block;
}

h1 span:nth-child(2),
h1 span:nth-child(3) {
	color: var(--text);
	font-weight: 900;
}

h2 {
	max-width: 760px;
	margin-bottom: 24px;
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 900;
}

h3 {
	margin-bottom: 12px;
	font-size: 24px;
	line-height: 1.15;
}

.hero-subtitle,
.lead {
	max-width: 560px;
	color: var(--muted);
	font-size: clamp(17px, 1.6vw, 20px);
}

.hero-subtitle {
	margin-bottom: 26px;
}

.hero-meta-list {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 0 0 30px;
}

.hero-meta-list span {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
}

.hero-visual {
	position: relative;
	min-height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.minimal-panel {
	width: 100%;
	margin-top: clamp(18px, 4vw, 52px);
	border-top: 1px solid var(--line);
}

.minimal-panel div {
	display: grid;
	gap: 6px;
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
}

.minimal-panel span {
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.minimal-panel strong {
	font-size: clamp(22px, 2.5vw, 32px);
	line-height: 1.05;
}

.signal-canvas {
	position: relative;
	width: min(100%, 430px);
	aspect-ratio: 4 / 5;
	border: 1px solid var(--line);
	border-radius: 28px;
	background:
		radial-gradient(circle at 70% 24%, rgba(36, 232, 120, 0.32), transparent 24%),
		linear-gradient(rgba(246, 242, 234, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(246, 242, 234, 0.06) 1px, transparent 1px),
		#101210;
	background-size: auto, 56px 56px, 56px 56px, auto;
	box-shadow: var(--shadow);
	overflow: hidden;
}

.signal-canvas::before,
.signal-canvas::after {
	content: "";
	position: absolute;
	inset: 18%;
	border: 1px solid rgba(36, 232, 120, 0.26);
	border-radius: 50%;
	transform: rotate(-18deg) scaleX(1.25);
}

.signal-canvas::after {
	inset: 30% 12%;
	border-color: rgba(246, 242, 234, 0.14);
	transform: rotate(28deg) scaleX(0.72);
}

.signal-node,
.signal-path,
.signal-panel,
.signal-meter {
	position: absolute;
	display: block;
}

.signal-node {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 30px rgba(36, 232, 120, 0.7);
	animation: pulseSignal 3s ease-in-out infinite;
}

.signal-node-one {
	left: 18%;
	top: 22%;
}

.signal-node-two {
	right: 22%;
	top: 48%;
	animation-delay: 0.6s;
}

.signal-node-three {
	left: 34%;
	bottom: 20%;
	animation-delay: 1.2s;
}

.signal-node-four {
	right: 36%;
	bottom: 38%;
	width: 9px;
	height: 9px;
	background: #f6f2ea;
}

.signal-path {
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(36, 232, 120, 0.72), transparent);
	transform-origin: left center;
}

.signal-path-one {
	left: 20%;
	top: 26%;
	width: 62%;
	transform: rotate(21deg);
}

.signal-path-two {
	left: 34%;
	top: 62%;
	width: 48%;
	transform: rotate(-28deg);
}

.signal-path-three {
	left: 14%;
	bottom: 28%;
	width: 70%;
	transform: rotate(8deg);
}

.signal-panel {
	width: 42%;
	min-height: 92px;
	border: 1px solid rgba(246, 242, 234, 0.14);
	border-radius: 14px;
	background: rgba(8, 10, 8, 0.58);
	backdrop-filter: blur(14px);
}

.signal-panel::before,
.signal-panel::after {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	height: 7px;
	border-radius: 99px;
	background: rgba(246, 242, 234, 0.16);
}

.signal-panel::before {
	top: 22px;
}

.signal-panel::after {
	top: 44px;
	right: 38%;
	background: rgba(36, 232, 120, 0.52);
}

.signal-panel-one {
	left: 9%;
	bottom: 16%;
}

.signal-panel-two {
	right: 8%;
	top: 14%;
}

.signal-meter {
	left: 12%;
	right: 12%;
	height: 1px;
	background: rgba(246, 242, 234, 0.1);
}

.signal-meter::before {
	content: "";
	position: absolute;
	left: 0;
	top: -1px;
	width: 35%;
	height: 3px;
	border-radius: 99px;
	background: var(--accent);
	box-shadow: 0 0 18px rgba(36, 232, 120, 0.72);
	animation: scanMeter 4s ease-in-out infinite;
}

.signal-meter-one {
	top: 34%;
}

.signal-meter-two {
	bottom: 34%;
}

.signal-meter-two::before {
	animation-delay: 1.2s;
}

.hero-chat-card {
	position: absolute;
	right: -14px;
	bottom: 56px;
	width: min(280px, calc(100% - 36px));
	padding: 20px;
	border: 1px solid rgba(246, 242, 234, 0.16);
	border-radius: 18px;
	background: rgba(13, 15, 13, 0.78);
	color: #f6f2ea;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
	backdrop-filter: blur(18px);
}

.hero-chat-card span {
	display: block;
	margin-bottom: 7px;
	color: rgba(246, 242, 234, 0.62);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.hero-chat-card strong {
	display: block;
	margin-bottom: 18px;
	font-size: 22px;
	line-height: 1.15;
}

.muted-band {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: transparent;
}

.lab-section {
	padding-top: 40px;
}

.lab-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 48px;
	align-items: start;
}

.lab-panel {
	border: 1px solid var(--line);
	border-radius: 18px;
	background: color-mix(in srgb, var(--surface) 82%, transparent);
	box-shadow: var(--shadow);
	padding: 18px;
}

.lab-tabs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.lab-tabs button,
.slider-controls button {
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--bg);
	color: var(--muted);
	cursor: pointer;
	font-weight: 900;
	padding: 10px 14px;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.lab-tabs button:hover,
.lab-tabs button.active,
.slider-controls button:hover {
	background: var(--text);
	color: var(--bg);
	transform: translateY(-1px);
}

.lab-result {
	display: none;
	padding: 26px;
	border-radius: var(--radius);
	background:
		radial-gradient(circle at 88% 12%, var(--accent-soft), transparent 34%),
		var(--surface-soft);
}

.lab-result.active {
	display: block;
	animation: softIn 260ms ease;
}

.lab-result span {
	display: block;
	margin-bottom: 12px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.lab-result p {
	color: var(--muted);
}

.lab-meter {
	overflow: hidden;
	height: 8px;
	margin-top: 24px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--text) 12%, transparent);
}

.lab-meter i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--accent);
	animation: meterIn 700ms ease;
}

.split-section {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 70px;
	align-items: start;
}

.stat-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 36px;
}

.stat-card,
.service-card,
.testimonial-card,
.blog-card,
.case-panel,
.contact-form,
.result-banner {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: transparent;
}

.stat-card {
	min-height: 86px;
	padding: 18px 0;
	border-width: 1px 0 0;
	border-radius: 0;
	display: flex;
	align-items: end;
	font-size: 20px;
	font-weight: 900;
}

.section-heading {
	margin-bottom: 34px;
}

.row-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
}

.card-grid,
.testimonial-grid,
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.slider-shell .testimonial-grid {
	grid-template-columns: 1fr;
}

.service-card,
.testimonial-card {
	min-height: 176px;
	padding: 24px 0;
	border-width: 1px 0 0;
	border-radius: 0;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.testimonial-card:hover,
.project-card:hover,
.blog-card:hover {
	transform: none;
	box-shadow: none;
	border-color: var(--text);
}

.service-card span,
.case-steps span,
.blog-card span,
.result-banner span {
	display: block;
	margin-bottom: 8px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.service-card p,
.testimonial-card p,
.project-content p,
.blog-card p,
.case-steps p,
.entry-content {
	color: var(--muted);
}

.service-card p,
.project-content p,
.blog-card p,
.case-steps p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.filter-row {
	margin-bottom: 24px;
}

.filter-row button {
	padding: 10px 14px;
	background: transparent;
	color: var(--muted);
	font-weight: 800;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter-row button:hover,
.filter-row button.active {
	background: var(--text);
	color: var(--bg);
	transform: none;
}

.portfolio-grid,
.portfolio-index {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	border-top: 1px solid var(--line);
}

.project-card {
	position: relative;
	display: grid;
	grid-template-columns: 68px minmax(220px, 340px) minmax(0, 1fr);
	gap: 26px;
	align-items: center;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
	background: transparent;
	transition: background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.project-card:hover {
	background: transparent;
}

.project-card.is-hidden {
	display: none;
}

.project-number {
	color: var(--muted);
	font-size: 14px;
	font-weight: 900;
}

.project-image {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 6px;
	background: var(--surface-soft);
}

.project-image img,
.project-placeholder,
.blog-card img,
.single-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.project-card:hover .project-image img,
.project-card:hover .project-placeholder,
.blog-card:hover img {
	transform: scale(1.035);
}

.project-placeholder {
	position: relative;
	display: grid;
	place-items: end start;
	padding: 22px;
	overflow: hidden;
	background:
		radial-gradient(circle at 82% 20%, rgba(36, 232, 120, 0.26), transparent 30%),
		linear-gradient(rgba(246, 242, 234, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(246, 242, 234, 0.06) 1px, transparent 1px),
		#101210;
	background-size: auto, 42px 42px, 42px 42px, auto;
	color: #f6f2ea;
}

.project-placeholder span {
	position: relative;
	z-index: 2;
	max-width: 85%;
	font-size: clamp(20px, 3vw, 34px);
	font-weight: 900;
	line-height: 1;
}

.project-content {
	padding-right: 24px;
}

.project-content strong {
	display: block;
	margin: 18px 0;
	color: var(--text);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--text);
	font-weight: 900;
}

.text-link::after {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--text);
	transition: width 180ms ease;
}

.text-link:hover::after {
	width: 42px;
}

.case-panel {
	display: grid;
	grid-template-columns: 0.78fr 1.22fr;
	gap: 28px;
	padding: 0;
	border: 0;
}

.case-panel-intro {
	padding: 8px;
}

.case-steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.case-steps div {
	padding: 18px 0;
	border: 0;
	border-top: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
}

.rating {
	display: inline-flex;
	margin-bottom: 22px;
	padding: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--muted);
	font-size: 13px;
	font-weight: 900;
}

blockquote {
	margin: 0 0 24px;
	font-size: 20px;
	line-height: 1.45;
}

.slider-shell {
	position: relative;
}

.slider-shell .testimonial-card {
	display: none;
	min-height: 250px;
}

.slider-shell .testimonial-card.active {
	display: block;
	animation: softIn 260ms ease;
}

.slider-controls {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 16px;
}

.blog-card {
	overflow: hidden;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.blog-card img {
	aspect-ratio: 16 / 10;
}

.blog-card div {
	padding: 18px;
}

.contact-grid {
	display: grid;
	grid-template-columns: 0.92fr 1fr;
	gap: 60px;
	align-items: start;
}

.contact-links {
	margin-top: 30px;
}

.contact-links a {
	padding: 10px 13px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: transparent;
	font-weight: 800;
}

.contact-form {
	display: grid;
	gap: 18px;
	padding: 0;
	border: 0;
	box-shadow: none;
}

.contact-form label {
	display: grid;
	gap: 8px;
	color: var(--muted);
	font-weight: 800;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--bg);
	color: var(--text);
	padding: 14px 15px;
	outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 4px rgba(36, 232, 120, 0.16);
}

.site-footer {
	padding: 46px 0 26px;
	border-top: 1px solid var(--line);
	background: var(--bg);
	color: var(--text);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr 0.7fr;
	gap: 44px;
}

.footer-logo,
.site-footer a {
	color: var(--text);
}

.site-footer p {
	color: var(--muted);
}

.footer-menu {
	display: grid;
	gap: 10px;
	align-items: start;
}

.footer-socials {
	display: grid;
	gap: 10px;
	justify-items: start;
}

.footer-bottom {
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.archive-hero {
	background: var(--surface-soft);
}

.single-entry h1 {
	margin-bottom: 34px;
}

.single-media {
	overflow: hidden;
	margin-bottom: 32px;
	border-radius: var(--radius);
	aspect-ratio: 16 / 9;
}

.result-banner {
	padding: 22px;
	margin-bottom: 30px;
}

.entry-content {
	font-size: 18px;
}

.entry-content a {
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 3px;
	text-underline-offset: 4px;
}

[data-reveal] {
	opacity: 1;
	transform: none;
	transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

@keyframes pulseSignal {
	0%,
	100% {
		transform: scale(1);
		opacity: 0.72;
	}
	50% {
		transform: scale(1.3);
		opacity: 1;
	}
}

@keyframes scanMeter {
	0%,
	100% {
		left: 0;
		width: 24%;
	}
	50% {
		left: 58%;
		width: 42%;
	}
}

@keyframes softIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes meterIn {
	from {
		width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	[data-reveal] {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 1020px) {
	.primary-nav {
		position: fixed;
		inset: var(--header-height) 0 auto 0;
		display: none;
		padding: 26px 20px;
		border-bottom: 1px solid var(--line);
		background: var(--bg);
	}

	.menu-open .primary-nav {
		display: block;
	}

	.primary-nav .menu {
		display: grid;
		gap: 16px;
	}

	.primary-nav a {
		font-size: 22px;
	}

	.menu-toggle {
		display: inline-block;
	}

	.hero-frame,
	.lab-grid,
	.split-section,
	.contact-grid,
	.case-panel {
		grid-template-columns: 1fr;
	}

	.hero-frame {
		gap: 32px;
	}

	.hero-visual {
		min-height: auto;
		justify-content: start;
	}

	.card-grid,
	.testimonial-grid,
	.blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 720px) {
	:root {
		--header-height: 74px;
	}

	.container,
	.narrow {
		width: min(100% - 28px, 1160px);
	}

	.section-pad {
		padding: 58px 0;
	}

	.header-actions .btn {
		display: none;
	}

	h1 {
		font-size: clamp(42px, 13vw, 68px);
		line-height: 0.96;
	}

	h2 {
		font-size: clamp(34px, 11vw, 52px);
	}

	.hero {
		min-height: auto;
	}

	.hero-frame {
		padding: 24px 0 34px;
		gap: 28px;
	}

	.hero-content::before {
		width: 52px;
		margin-bottom: 18px;
	}

	.eyebrow {
		margin-bottom: 12px;
	}

	.hero-subtitle {
		margin-bottom: 20px;
	}

	.lab-grid,
	.stat-grid,
	.card-grid,
	.testimonial-grid,
	.blog-grid,
	.case-steps,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.hero-meta-list {
		display: grid;
	}

	.hero-visual {
		min-height: auto;
	}

	.signal-canvas {
		width: 100%;
		aspect-ratio: 16 / 11;
		border-radius: 18px;
	}

	.hero-chat-card {
		position: static;
		width: 100%;
		margin-top: 14px;
	}

	.project-card {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 24px 0;
	}

	.project-content {
		padding-right: 0;
	}

	.row-heading {
		display: block;
	}

	.filter-row {
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 8px;
	}

	.filter-row button {
		white-space: nowrap;
	}
}

/* Ryan-inspired vCard homepage */
.nayem-vcard {
	background:
		linear-gradient(135deg, rgba(36, 232, 120, 0.92), rgba(20, 185, 137, 0.92)),
		var(--accent);
	min-height: 100vh;
}

.nayem-vcard .site-header,
.nayem-vcard .site-footer {
	display: none;
}

.nayem-vcard .site-main {
	min-height: 100vh;
	padding: clamp(18px, 3vw, 38px);
}

.vcard-page {
	min-height: calc(100vh - clamp(44px, 8vw, 108px));
	display: grid;
	align-items: center;
}

.vcard-wrap {
	width: min(1160px, 100%);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

.vcard-profile,
.vcard-tabs,
.vcard-section {
	background: #ffffff;
	color: #161616;
	border-radius: 4px;
	box-shadow: 0 24px 80px rgba(16, 34, 25, 0.18);
}

.vcard-profile {
	position: sticky;
	top: 28px;
	overflow: hidden;
	text-align: center;
}

.profile-photo {
	position: relative;
	display: grid;
	place-items: center;
	height: auto;
	aspect-ratio: 1088 / 1445;
	overflow: hidden;
	background: #262a18;
}

.profile-photo img {
	width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
	object-position: center center !important;
}

.profile-photo::after {
	display: none;
}

.profile-kicker {
	margin: 26px 28px 12px;
	color: #19b86d;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.vcard-profile h1 {
	margin: 0 28px 10px;
	font-size: clamp(32px, 4vw, 42px);
	line-height: 1.05;
}

.profile-role {
	margin: 0 32px 22px;
	color: #6c6c6c;
	font-size: 16px;
	line-height: 1.6;
}

.profile-socials {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 0 26px 28px;
	flex-wrap: wrap;
}

.profile-socials a,
.contact-strip a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid #e8e8e8;
	border-radius: 999px;
	color: #333333;
	font-size: 13px;
	font-weight: 700;
}

.profile-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-top: 1px solid #eeeeee;
}

.profile-actions .btn {
	min-height: 58px;
	border: 0;
	border-radius: 0;
	background: #ffffff;
	color: #161616;
	box-shadow: none;
}

.profile-actions .btn:first-child {
	border-right: 1px solid #eeeeee;
}

.profile-actions .btn:hover {
	background: #f7f7f7;
	transform: none;
}

.vcard-main {
	display: grid;
	gap: 18px;
}

.vcard-tabs {
	position: sticky;
	top: 28px;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 6px;
	padding: 10px;
}

.vcard-tabs a {
	padding: 12px 14px;
	border-radius: 4px;
	color: #666666;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.vcard-tabs a:hover {
	background: #f3f3f3;
	color: #19b86d;
}

.vcard-section {
	padding: clamp(28px, 4vw, 46px);
}

.vcard-section .eyebrow {
	color: #19b86d;
}

.vcard-section h2 {
	max-width: 720px;
	color: #161616;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.08;
}

.vcard-section .lead,
.vcard-item p,
.timeline p,
.vcard-work p {
	color: #666666;
}

.vcard-stats,
.vcard-grid,
.quote-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 28px;
}

.vcard-stats div,
.vcard-item,
.timeline article,
.quote-row blockquote {
	padding: 20px;
	border: 1px solid #eeeeee;
	border-radius: 4px;
	background: #ffffff;
}

.vcard-stats strong {
	display: block;
	margin-bottom: 6px;
	font-size: 26px;
	line-height: 1;
}

.vcard-stats span,
.timeline span {
	color: #19b86d;
	font-size: 13px;
	font-weight: 800;
}

.vcard-item h3,
.timeline h3,
.vcard-work h3 {
	color: #161616;
}

.timeline {
	display: grid;
	gap: 14px;
}

.vcard-heading-row {
	display: flex;
	justify-content: space-between;
	gap: 22px;
	align-items: end;
	margin-bottom: 24px;
}

.vcard-work {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.vcard-work article {
	overflow: hidden;
	border: 1px solid #eeeeee;
	border-radius: 4px;
	background: #ffffff;
}

.vcard-work img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.vcard-work div {
	padding: 18px;
}

.quote-row blockquote {
	margin: 0;
	color: #161616;
	font-size: 18px;
	line-height: 1.45;
}

.quote-row cite {
	display: block;
	margin-top: 14px;
	color: #19b86d;
	font-size: 13px;
	font-style: normal;
	font-weight: 800;
}

.contact-strip {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 26px;
}

.nayem-vcard .text-link::after {
	background: #19b86d;
}

@media (max-width: 960px) {
	.nayem-vcard .site-main {
		padding: 18px;
	}

	.vcard-wrap {
		grid-template-columns: 1fr;
	}

	.vcard-profile,
	.vcard-tabs {
		position: static;
	}

	.profile-photo {
		height: auto;
	}
}

@media (max-width: 640px) {
	.profile-photo {
		height: auto;
	}

	.vcard-tabs {
		justify-content: start;
		overflow-x: auto;
	}

	.vcard-stats,
	.vcard-grid,
	.vcard-work,
	.quote-row,
	.profile-actions {
		grid-template-columns: 1fr;
	}

	.profile-actions .btn:first-child {
		border-right: 0;
		border-bottom: 1px solid #eeeeee;
	}
}
