* {
	box-sizing: border-box;
}

:root {
	--bg: #07111f;
	--panel: rgba(11, 22, 40, 0.74);
	--text: #eff5ff;
	--muted: #9cb0c9;
	--line: rgba(255, 255, 255, 0.08);
	--brand: #ff8b5e;
	--brand-2: #ffd166;
	--accent: #79d8ff;
	--success: #8df0b5;
	--shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
	--radius: 24px;
	--radius-sm: 18px;
	--max: 1180px;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	color: var(--text);
	background:
		radial-gradient(circle at 12% 10%, rgba(255, 139, 94, 0.22), transparent 24%),
		radial-gradient(circle at 84% 16%, rgba(121, 216, 255, 0.16), transparent 22%),
		radial-gradient(circle at 50% 100%, rgba(255, 209, 102, 0.08), transparent 30%),
		linear-gradient(145deg, #040b15 0%, #081220 36%, #0c1930 66%, #050c18 100%);
	min-height: 100vh;
	overflow-x: hidden;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 42px 42px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.22));
	pointer-events: none;
	z-index: 0;
}

body::after {
	content: "";
	position: fixed;
	inset: auto auto -18% -10%;
	width: 48vw;
	height: 48vw;
	min-width: 320px;
	min-height: 320px;
	border-radius: 50%;
	background:
		radial-gradient(circle, rgba(255, 139, 94, 0.16) 0%, rgba(255, 139, 94, 0.05) 36%, transparent 68%);
	filter: blur(34px);
	pointer-events: none;
	z-index: 0;
}

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

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

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

.screen-reader-text:focus {
	clip: auto;
	width: auto;
	height: auto;
	margin: 8px;
	padding: 12px 16px;
	background: #ffffff;
	color: #08111f;
	z-index: 1000;
}

.wrap {
	position: relative;
	z-index: 1;
	width: min(calc(100% - 32px), var(--max));
	margin: 0 auto;
}

.topbar {
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: blur(18px);
	background: rgba(5, 12, 24, 0.65);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 0;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.brand-mark {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background:
		linear-gradient(135deg, rgba(255, 139, 94, 0.25), rgba(121, 216, 255, 0.22)),
		rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: var(--shadow);
}

.brand-mark span {
	color: var(--brand-2);
	font-size: 0.95rem;
}

.nav {
	display: flex;
	align-items: center;
	gap: 18px;
	color: var(--muted);
	font-size: 0.95rem;
}

.nav a:hover,
.hero-quote a:hover,
.entry-title a:hover {
	color: var(--text);
}

.nav-cta {
	padding: 11px 18px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--brand), #ffb25e);
	color: #08111f;
	font-weight: 700;
}

.hero {
	padding: 72px 0 44px;
}

.hero-grid,
.case-study,
.skills-grid,
.contact-grid {
	display: grid;
	gap: 28px;
}

.hero-grid {
	grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
	align-items: stretch;
}

.hero-copy,
.hero-card,
.panel,
.case-study,
.contact-card,
.entry-card {
	background: var(--panel);
	border: 1px solid var(--line);
	backdrop-filter: blur(16px);
	box-shadow: var(--shadow);
	border-radius: var(--radius);
}

.hero-copy,
.hero-card,
.panel,
.contact-card,
.entry-card {
	padding: 28px;
}

.hero-copy {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
		radial-gradient(circle at 18% 14%, rgba(255, 209, 102, 0.08), transparent 24%),
		var(--panel);
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.hero-copy::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("https://depiodev.com/wp-content/uploads/2026/06/job.png");
	background-size: cover;
	background-position: center;
	opacity: 0.2;
	z-index: 0;
	pointer-events: none;
}

.hero-silhouette {
	position: absolute;
	inset: 0 -3% -5% auto;
	width: min(56%, 450px);
	background-image: url("../images/job.png");
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: contain;
	filter: grayscale(1) brightness(0.62) contrast(1.08);
	opacity: 0.16;
	mix-blend-mode: screen;
	transform: translateX(7%);
	pointer-events: none;
	mask-image:
		linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 18%, rgba(0, 0, 0, 0.92) 58%, rgba(0, 0, 0, 1) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.92) 28%, rgba(0, 0, 0, 1) 100%);
	z-index: 0;
}

.hero-copy > * {
	position: relative;
	z-index: 1;
}

.hero-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	overflow: hidden;
	position: relative;
}

.hero-card::after {
	content: "";
	position: absolute;
	inset: auto -18% -18% auto;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 209, 102, 0.24), transparent 68%);
	pointer-events: none;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 22px;
	padding: 10px 14px;
	border-radius: 999px;
	color: var(--success);
	background: rgba(141, 240, 181, 0.08);
	border: 1px solid rgba(141, 240, 181, 0.16);
	font-size: 0.92rem;
}

h1,
h2,
h3 {
	margin: 0;
	line-height: 1.04;
}

h1 {
	font-size: clamp(3rem, 9vw, 6.4rem);
	letter-spacing: -0.06em;
	max-width: 10ch;
}

h1 em,
.script {
	font-family: "Instrument Serif", serif;
	font-style: italic;
	font-weight: 400;
	color: var(--brand-2);
}

.lead,
.section-head p,
.case-intro p,
.case-list p,
.contact-copy p,
.panel p,
.service-card p,
.process-card p,
.entry-content,
.entry-content p {
	line-height: 1.72;
}

.lead {
	max-width: 58ch;
	margin-top: 22px;
	color: var(--muted);
	font-size: 1.08rem;
}

.hero-name-list {
	margin-top: 20px;
}

.cta-row,
.meta-list,
.case-badges,
.skill-cloud,
.contact-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.cta-row {
	margin-top: 28px;
}

.meta-list {
	gap: 10px;
	margin-top: 28px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 22px;
	border-radius: 999px;
	border: 1px solid var(--line);
	color: var(--text);
	background: rgba(255, 255, 255, 0.03);
	font-weight: 700;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
	transform: translateY(-2px);
	border-color: rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.06);
}

.btn-primary {
	background: linear-gradient(135deg, var(--brand), #ffb25e);
	color: #08111f;
	border-color: transparent;
}

.meta-chip,
.badge,
.skill-pill {
	padding: 10px 14px;
	border-radius: 999px;
	font-size: 0.92rem;
}

.meta-chip,
.badge,
.skill-pill,
.code-line,
.process-card,
.service-card,
.case-point,
.contact-line {
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.035);
}

.meta-chip {
	color: var(--muted);
	font-size: 0.94rem;
}

.profile-mini {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.profile-photo {
	width: 74px;
	height: 74px;
	border-radius: 24px;
	overflow: hidden;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	color: #08111f;
	font-weight: 700;
	font-size: 1.2rem;
	letter-spacing: 0.04em;
	background:
		radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.28), transparent 36%),
		linear-gradient(135deg, var(--brand-2), var(--brand));
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.profile-copy strong {
	display: block;
	font-size: 1.04rem;
	letter-spacing: -0.03em;
}

.profile-copy span {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.92rem;
}

.mini-title {
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.8rem;
}

.card-title {
	margin-top: 10px;
	font-size: 2rem;
	letter-spacing: -0.05em;
	font-weight: 700;
}

.secondary-project {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.secondary-project-title {
	margin-top: 8px;
	font-size: 1.3rem;
	letter-spacing: -0.04em;
	font-weight: 700;
}

.hero-quote {
	margin-top: 14px;
	font-size: 1.08rem;
	line-height: 1.65;
	color: #d6e5ff;
}

.hero-quote-small {
	margin-top: 10px;
	font-size: 1rem;
}

.hero-quote a {
	color: var(--brand-2);
}

.browser {
	border-radius: 22px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
	border: 1px solid rgba(255, 255, 255, 0.1);
	overflow: hidden;
}

.browser-top {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
}

.browser-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
}

.browser-dot:first-child {
	background: #ff7b72;
}

.browser-dot:nth-child(2) {
	background: #ffd166;
}

.browser-dot:nth-child(3) {
	background: #8df0b5;
}

.browser-body,
.case-list,
.contact-stack {
	display: grid;
	gap: 18px;
}

.browser-body {
	padding: 20px;
}

.code-line {
	padding: 12px 14px;
	border-radius: 14px;
	color: #d7e5ff;
	font-size: 0.95rem;
}

.code-line strong {
	color: var(--brand-2);
	font-weight: 500;
}

section {
	padding: 18px 0 24px;
}

.section-head {
	display: grid;
	gap: 14px;
	margin-bottom: 22px;
}

h2 {
	font-size: clamp(2rem, 5vw, 3.35rem);
	letter-spacing: -0.05em;
}

.services-grid,
.process-grid {
	display: grid;
	gap: 18px;
}

.services-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.process-card {
	padding: 24px;
	border-radius: var(--radius-sm);
}

.service-card {
	min-height: 220px;
	transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 255, 255, 0.18);
}

.service-index,
.process-card span {
	color: var(--accent);
	font-weight: 700;
}

.service-index {
	margin-bottom: 16px;
}

.service-card h3,
.panel h3,
.process-card h3,
.entry-title {
	font-size: 1.35rem;
	letter-spacing: -0.04em;
}

.service-card h3,
.panel h3,
.process-card h3 {
	margin-bottom: 12px;
}

.case-study {
	padding: 32px;
	grid-template-columns: 1.08fr 0.92fr;
	align-items: start;
}

.case-title {
	margin-top: 12px;
	font-size: clamp(2rem, 4vw, 3.15rem);
	letter-spacing: -0.05em;
}

.case-intro-copy {
	margin-top: 16px;
}

.case-point {
	padding: 18px;
	border-radius: 18px;
}

.case-point strong {
	display: block;
	margin-bottom: 8px;
	color: var(--text);
}

.skills-grid {
	grid-template-columns: 1.1fr 0.9fr;
}

.panel-actions {
	margin-top: 22px;
}

.skill-pill {
	color: #e3eeff;
	background: rgba(255, 255, 255, 0.04);
}

.process-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-card span {
	display: inline-block;
	margin-bottom: 12px;
	color: var(--brand-2);
}

.contact-grid {
	grid-template-columns: 1.02fr 0.98fr;
	margin-bottom: 56px;
}

.contact-title {
	margin-top: 10px;
}

.contact-stack {
	margin-top: 22px;
}

.contact-line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 15px 16px;
	border-radius: 16px;
	color: var(--muted);
}

.contact-line strong {
	color: var(--text);
	font-weight: 500;
}

.contact-name {
	margin-top: 18px;
	color: #dce8fb;
}

.footer-note {
	padding: 0 0 34px;
	color: rgba(239, 245, 255, 0.55);
	font-size: 0.92rem;
}

.content-shell {
	padding: 64px 0;
}

.entry-card {
	margin-bottom: 22px;
}

.entry-title {
	font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.entry-meta {
	margin: 12px 0 18px;
	color: var(--muted);
	font-size: 0.95rem;
}

.entry-content {
	color: #d6e5ff;
}

.entry-content a {
	color: var(--brand-2);
	text-decoration: underline;
}

.posts-navigation {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.posts-navigation a {
	color: var(--brand-2);
}

.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in-view {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 1080px) {
	.hero-grid,
	.case-study,
	.skills-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.services-grid,
	.process-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.topbar-inner,
	.contact-line {
		flex-direction: column;
	}

	.topbar-inner {
		align-items: center;
	}

	.nav {
		width: 100%;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 12px 18px;
		text-align: center;
	}

	.brand {
		justify-content: center;
	}

	.nav a:not(.nav-cta) {
		display: inline-flex;
		justify-content: center;
	}

	.nav-cta {
		flex: 0 0 100%;
		max-width: 220px;
		justify-content: center;
	}

	.contact-line {
		align-items: flex-start;
	}

	.hero {
		padding-top: 40px;
	}

	.hero-copy,
	.hero-card,
	.case-study,
	.panel,
	.contact-card,
	.entry-card {
		padding: 24px;
	}

	.services-grid,
	.process-grid {
		grid-template-columns: 1fr;
	}

	.hero-silhouette {
		width: 64%;
		opacity: 0.11;
		transform: translateX(12%);
	}

	.hero-copy::before {
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center bottom;
		opacity: 0.12;
	}

	.posts-navigation {
		flex-direction: column;
	}
}
