:root {
	color-scheme: dark;
	--bg: #0b1120;
	--surface: #111c2f;
	--line: #29364a;
	--text: #edf4ff;
	--muted: #a2b2c7;
	--lime: #c3f17e;
	--purple: #b4a6ff;
	--max: 1160px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "DM Sans", sans-serif;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
}

::selection {
	background: var(--lime);
	color: #0b1120;
}

.container {
	width: min(var(--max), calc(100% - 48px));
	margin-inline: auto;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3,
.logo {
	font-family: "Space Grotesk", sans-serif;
}

h1 {
	font-size: clamp(3.4rem, 8.4vw, 7.6rem);
	line-height: 1.04;
	letter-spacing: -0.075em;
	margin-bottom: 27px;
}

h2 {
	font-size: clamp(2.1rem, 4.6vw, 3.7rem);
	letter-spacing: -0.055em;
	line-height: 1.12;
	margin-bottom: 16px;
}

h3 {
	letter-spacing: -0.03em;
}

p {
	color: var(--muted);
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.19em;
	text-transform: uppercase;
	color: var(--lime);
}

.eyebrow:before {
	content: "";
	display: block;
	height: 1px;
	width: 28px;
	background: var(--lime);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(11, 17, 32, 0.87);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	backdrop-filter: blur(18px);
}

.nav {
	height: 82px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	font-weight: 700;
	letter-spacing: -0.07em;
	font-size: 1.8rem;
}

.logo-icon {
	width: 35px;
	height: 35px;
	display: inline-grid;
	place-items: center;
	color: var(--bg);
	border-radius: 11px;
	font-size: 1.35rem;
	font-weight: 700;
	transform: rotate(-9deg);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 37px;
	font-size: 0.89rem;
	font-weight: 600;
}

.nav-links a:not(.nav-cta) {
	color: #c6d0e1;
}

.nav-links a:hover,
.footer-links a:hover {
	color: var(--lime);
}

.nav-cta {
	border: 1px solid #6b7b8d;
	padding: 10px 18px;
	border-radius: 100px;
	transition: 0.2s;
}

.nav-cta:hover {
	background: var(--lime);
	border-color: var(--lime);
	color: var(--bg);
}

.menu-toggle {
	display: none;
	background: none;
	color: var(--text);
	border: 1px solid var(--line);
	border-radius: 9px;
	padding: 8px 12px;
	cursor: pointer;
}

.hero {
	position: relative;
	overflow: hidden;
	padding: 127px 0 118px;
}

.hero:before {
	content: "";
	position: absolute;
	z-index: -1;
	right: -17%;
	top: -25%;
	width: 920px;
	height: 780px;
	background: radial-gradient(
		ellipse,
		rgba(66, 80, 167, 0.26),
		transparent 63%
	);
	pointer-events: none;
}

.hero-layout {
	display: grid;
	grid-template-columns: 1.45fr 0.55fr;
	align-items: end;
	gap: 34px;
}

.hero h1 span {
	color: var(--lime);
}

.hero-summary {
	font-size: 1.13rem;
	line-height: 1.85;
	max-width: 550px;
	margin-bottom: 34px;
}

.hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.button {
	display: inline-flex;
	gap: 14px;
	align-items: center;
	justify-content: center;
	border-radius: 100px;
	padding: 15px 24px;
	font-weight: 700;
	font-size: 0.91rem;
	transition:
		transform 0.2s,
		background 0.2s,
		border-color 0.2s;
}

.button:hover {
	transform: translateY(-3px);
}

.button-primary {
	color: #0d1621;
	background: var(--lime);
}

.button-primary:hover {
	background: #d7ffa2;
}

.button-secondary {
	border: 1px solid #586778;
	color: var(--text);
}

.button-secondary:hover {
	border-color: #d4e2f1;
}

.hero-art {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 345px;
}

.orbit {
	position: absolute;
	width: 290px;
	height: 290px;
	border: 1px dashed rgba(195, 241, 126, 0.35);
	border-radius: 50%;
	animation: spin 38s linear infinite;
}

.orbit:after {
	content: "";
	position: absolute;
	top: 18px;
	left: 38px;
	width: 13px;
	height: 13px;
	background: var(--lime);
	border-radius: 50%;
	box-shadow: 0 0 35px var(--lime);
}

.art-card {
	width: 230px;
	height: 240px;
	transform: rotate(-9deg);
	background: linear-gradient(140deg, #223a54, #121c32);
	border: 1px solid #4b6480;
	border-radius: 24px;
	box-shadow:
		35px 33px 0 -10px rgba(172, 157, 255, 0.13),
		0 36px 90px #0005;
	padding: 22px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.art-dots {
	display: flex;
	gap: 6px;
}

.art-dots i {
	width: 9px;
	height: 9px;
	background: #8ba3bc;
	border-radius: 50%;
}

.art-code {
	font:
		700 3.8rem "Space Grotesk",
		sans-serif;
	letter-spacing: -0.13em;
	color: var(--lime);
}

.art-lines {
	display: grid;
	gap: 10px;
}

.art-lines i {
	height: 9px;
	background: #51637a;
	border-radius: 99px;
}

.art-lines i:nth-child(2) {
	width: 71%;
	background: #776eca;
}

.art-lines i:nth-child(3) {
	width: 52%;
}

.hero-note {
	position: absolute;
	bottom: 10px;
	right: 0;
	font-size: 0.78rem;
	color: #adbad0;
	letter-spacing: 0.08em;
}

.scrollline {
	margin-top: 66px;
	display: flex;
	align-items: center;
	gap: 14px;
	color: #8294ad;
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
}

.scrollline:before {
	content: "";
	width: 42px;
	height: 1px;
	background: #8294ad;
}

.section {
	padding: 104px 0;
}

.section-head {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 30px;
	margin-bottom: 43px;
}

.section-head p {
	max-width: 405px;
	margin-bottom: 0;
}

.work-section {
	background: #101a2b;
	border-top: 1px solid #233147;
	border-bottom: 1px solid #233147;
}

.work-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.project {
	background: #162238;
	border: 1px solid #2e3b52;
	border-radius: 21px;
	overflow: hidden;
	transition:
		transform 0.25s,
		border-color 0.25s;
}

.project:hover {
	transform: translateY(-5px);
	border-color: #8392b0;
}

.project-visual {
	height: 255px;
	position: relative;
	overflow: hidden;
	padding: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.project-visual:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 65%, #111a2844);
	pointer-events: none;
}

.visual-beau {
	background: radial-gradient(circle at 20% 20%, #816141, #241b20 71%);
}

.visual-delhi {
	background: radial-gradient(circle at 80% 20%, #bd7b45, #372c35 70%);
}

.visual-immigration {
	background: radial-gradient(circle at 25% 20%, #3c9db0, #153c59 72%);
}

.visual-law {
	background: radial-gradient(circle at 80% 20%, #8daab9, #344054 76%);
}

.browser {
	position: relative;
	width: 88%;
	height: 205px;
	background: #f4f1e9;
	border-radius: 10px 10px 0 0;
	overflow: hidden;
	box-shadow: 0 25px 65px rgba(0, 0, 0, 0.45);
	transform: rotate(-3deg) translateY(20px);
}

.browser-top {
	height: 24px;
	background: #e7e4df;
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 0 13px;
}

.browser-top i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #b3b1ae;
}

.browser-inner {
	height: calc(100% - 24px);
	padding: 22px 25px;
	position: relative;
}

.browser-inner .mini-label {
	font-size: 9px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	opacity: 0.75;
}

.browser-inner .mini-title {
	font-family: Georgia, serif;
	font-size: clamp(20px, 2.5vw, 31px);
	line-height: 1.1;
	margin: 11px 0;
	max-width: 240px;
	font-weight: 700;
}

.browser-inner .mini-rule {
	width: 100px;
	height: 3px;
	margin-top: 12px;
	background: currentColor;
	opacity: 0.55;
}

.beau-inner {
	background: linear-gradient(90deg, #f5e9d5 0%, #e9d6b5 100%);
	color: #56331d;
}

.beau-inner:after {
	content: "♞";
	position: absolute;
	right: 17px;
	bottom: -32px;
	font-size: 168px;
	opacity: 0.27;
}

.delhi-inner {
	background: linear-gradient(90deg, #2d1821, #633a3d);
	color: #ffe8c3;
}

.delhi-inner:after {
	content: "1903";
	position: absolute;
	right: 10px;
	bottom: -40px;
	font:
		bold 110px Georgia,
		serif;
	opacity: 0.12;
}

.immigration-inner {
	background: linear-gradient(120deg, #eafafa, #b8e9e7);
	color: #14616b;
}

.immigration-inner:after {
	content: "✦";
	position: absolute;
	right: 35px;
	bottom: -27px;
	font-size: 155px;
	opacity: 0.18;
}

.law-inner {
	background: linear-gradient(110deg, #f3f5f6, #ccd6e2);
	color: #283b52;
}

.law-inner:after {
	content: "§";
	position: absolute;
	right: 42px;
	bottom: -27px;
	font:
		170px Georgia,
		serif;
	opacity: 0.18;
}

.project-body {
	padding: 25px 29px 29px;
}

.project-number {
	font-size: 0.72rem;
	color: var(--lime);
	letter-spacing: 0.16em;
}

.project-title {
	font-size: 1.53rem;
	margin: 7px 0 8px;
}

.project-desc {
	margin: 0 0 19px;
	min-height: 53px;
	font-size: 0.94rem;
}

.project-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.chips {
	display: flex;
	gap: 7px;
	flex-wrap: wrap;
}

.chip {
	border: 1px solid #405069;
	border-radius: 99px;
	padding: 4px 10px;
	font-size: 0.71rem;
	color: #c5d2e5;
}

.project-link {
	color: var(--lime);
	font-size: 0.85rem;
	font-weight: 700;
	white-space: nowrap;
}

.project-link:hover {
	text-decoration: underline;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 48px;
}

.service {
	padding: 31px 28px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: linear-gradient(140deg, #152239, #101a2b);
}

.service-icon {
	font:
		700 1.8rem "Space Grotesk",
		sans-serif;
	color: var(--lime);
	margin-bottom: 23px;
}

.service h3 {
	font-size: 1.23rem;
	margin-bottom: 10px;
}

.service p {
	font-size: 0.92rem;
	margin-bottom: 0;
}

.about-section {
	border-top: 1px solid var(--line);
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 100px;
	align-items: center;
}

.about-copy p {
	font-size: 1.03rem;
}

.stack {
	display: flex;
	gap: 9px;
	flex-wrap: wrap;
	margin-top: 27px;
}

.stack span {
	color: #cbd7e8;
	padding: 8px 15px;
	border: 1px solid #40516b;
	border-radius: 10px;
	font-size: 0.82rem;
}

.about-panel {
	padding: 36px;
	border-radius: 23px;
	background: linear-gradient(135deg, #1c3044, #141f36);
	border: 1px solid #33445c;
}

.about-panel .big-quote {
	font-family: "Space Grotesk", sans-serif;
	line-height: 1.3;
	letter-spacing: -0.05em;
	font-size: clamp(1.65rem, 3.4vw, 2.5rem);
	color: #f0f6fd;
}

.about-panel strong {
	color: var(--lime);
}

.about-panel .panel-note {
	margin-top: 30px;
	color: #98aac2;
	font-size: 0.85rem;
}

.contact {
	padding: 100px 0;
	background: var(--lime);
	color: #0d1720;
}

.contact .eyebrow {
	color: #31412a;
}

.contact .eyebrow:before {
	background: #31412a;
}

.contact h2 {
	max-width: 780px;
	font-size: clamp(2.7rem, 6.5vw, 5.6rem);
}

.contact p {
	color: #435441;
	font-size: 1.1rem;
	max-width: 550px;
}

.contact .button-primary {
	background: #111d29;
	color: #f5f8f9;
}

.contact .button-primary:hover {
	background: #2b3d4b;
}

.site-footer {
	padding: 29px 0;
}

.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 0.84rem;
	color: #a7b5c8;
}

.footer-inner p {
	margin: 0;
}

.footer-links {
	display: flex;
	gap: 24px;
}

.footer-links a {
	transition: color 0.2s;
}

.footer-company {
	font-weight: 700;
	color: #f1f5f9;
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--lime);
	outline-offset: 4px;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*:before,
	*:after {
		animation: none !important;
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

@media (max-width: 850px) {
	.hero {
		padding: 92px 0 70px;
	}

	.hero-layout {
		grid-template-columns: 1fr;
	}

	.hero-art {
		min-height: 260px;
		max-width: 330px;
		margin-inline: auto;
		width: 100%;
	}

	.orbit {
		width: 230px;
		height: 230px;
	}

	.art-card {
		width: 185px;
		height: 200px;
	}

	.art-code {
		font-size: 3rem;
	}

	.hero-note {
		right: 0;
		bottom: 0;
	}

	.section {
		padding: 80px 0;
	}

	.section-head {
		align-items: start;
		flex-direction: column;
		gap: 0;
	}

	.services-grid {
		grid-template-columns: 1fr 1fr;
	}

	.about-grid {
		gap: 35px;
	}

	.project-visual {
		height: 215px;
	}

	.browser {
		height: 187px;
	}
}

@media (max-width: 600px) {
	.container {
		width: min(var(--max), calc(100% - 32px));
	}

	.nav {
		height: 70px;
	}

	.menu-toggle {
		display: block;
	}

	.nav-links {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 69px;
		padding: 20px 24px 24px;
		background: #101a2b;
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		border-bottom: 1px solid var(--line);
	}

	.nav-links.open {
		display: flex;
	}

	.nav-cta {
		text-align: center;
	}

	.hero {
		padding: 73px 0 55px;
	}

	h1 {
		font-size: clamp(3.1rem, 14vw, 5rem);
	}

	.hero-summary {
		font-size: 1rem;
	}

	.scrollline {
		margin-top: 45px;
	}

	.work-grid,
	.services-grid,
	.about-grid {
		grid-template-columns: 1fr;
	}

	.project-desc {
		min-height: 0;
	}

	.project-visual {
		height: 235px;
	}

	.browser {
		height: 200px;
	}

	.about-grid {
		gap: 35px;
	}

	.about-panel {
		padding: 28px;
	}

	.contact {
		padding: 75px 0;
	}

	.footer-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 15px;
	}

	.footer-links {
		flex-wrap: wrap;
	}
}

.nav .logo {
	display: inline-flex;
	align-items: center;
	position: relative;
	width: auto;
	height: auto;
	flex-shrink: 0;
}

.nav .logo-icon {
	display: flex;
	align-items: center;
	position: relative;
	width: auto;
	height: auto;
}

.nav .logo-icon img {
	display: block;
	position: static;
	width: 120px;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

@media (max-width: 768px) {
	.nav .logo-icon img {
		width: 90px;
	}
}
