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

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

body {
	margin: 0;
	min-height: 100vh;
	font-family: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, sans-serif;
	font-weight: 400;
	line-height: 1.55;
	color: #e8eaef;
	background: #0c0e12;
	background-image:
		radial-gradient(ellipse 120% 80% at 50% -30%, rgba(88, 147, 230, 0.12), transparent 55%),
		radial-gradient(ellipse 80% 50% at 100% 50%, rgba(110, 231, 183, 0.06), transparent 45%);
}

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

a {
	color: #8ec5ff;
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: #bcdcff;
	text-decoration: underline;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.skip-link:focus {
	position: fixed;
	left: 1rem;
	top: 1rem;
	width: auto;
	height: auto;
	padding: 0.5rem 1rem;
	background: #1a1f28;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 6px;
	z-index: 100;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(12, 14, 18, 0.85);
	backdrop-filter: blur(12px);
}

.site-header-inner {
	max-width: 72rem;
	margin: 0 auto;
	padding: 0.9rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.brand {
	font-weight: 600;
	font-size: 1.05rem;
	letter-spacing: 0.02em;
	color: #f2f4f8;
	text-decoration: none;
}

.brand-lockup {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}

.brand-mark {
	width: 2rem;
	height: 2rem;
	flex-shrink: 0;
	object-fit: cover;
	border-radius: 22%;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.brand:hover {
	color: #fff;
	text-decoration: none;
}

.brand-lockup:hover .brand-mark {
	box-shadow: 0 0 0 1px rgba(124, 184, 255, 0.35);
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.25rem;
	font-size: 0.95rem;
	font-weight: 500;
}

.site-nav a {
	color: #b8c0cc;
	text-decoration: none;
}

.site-nav a:hover {
	color: #e8eaef;
	text-decoration: none;
}

main {
	max-width: 72rem;
	margin: 0 auto;
	padding: 0 1.5rem 4rem;
}

.hero {
	padding: 3rem 0 2.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-inner {
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.hero-inner .eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #7cb8ff;
}

.hero-inner h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.85rem, 4vw, 2.35rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: #fff;
}

.lead {
	margin: 0 auto;
	font-size: 1.1rem;
	color: #aeb6c4;
	max-width: 36rem;
}

.hero-inner .lead {
	text-wrap: balance;
}

.section {
	padding: 3rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section:last-of-type {
	border-bottom: none;
}

.section-inner {
	max-width: 56rem;
	margin: 0 auto;
}

.section-inner.narrow {
	max-width: 38rem;
}

.section-about {
	text-align: center;
}

#projects .section-inner > h2,
#projects .section-inner > .section-lead {
	text-align: center;
}

#projects .project-grid {
	justify-content: center;
}

.project-card {
	text-align: left;
}

.section-contact > .section-inner > h2,
.section-contact > .section-inner > .section-lead {
	text-align: center;
}

.section-contact .social-line {
	text-align: center;
}

.section-contact .contact-form {
	text-align: left;
}

.section-contact .btn-submit {
	align-self: center;
}

.section-contact .form-status {
	text-align: center;
}

.section h2 {
	margin: 0 0 0.75rem;
	font-size: 1.35rem;
	font-weight: 600;
	color: #fff;
	letter-spacing: -0.02em;
}

.section-about p {
	margin: 0 0 1rem;
	color: #c4cad6;
}

.section-about p:last-child {
	margin-bottom: 0;
}

.about-note {
	font-size: 0.95rem;
	color: #9aa3b2;
	border-left: none;
	padding-left: 0;
	border-top: 3px solid rgba(124, 184, 255, 0.45);
	padding-top: 1rem;
	margin-top: 1.25rem !important;
	margin-left: auto;
	margin-right: auto;
	max-width: 34rem;
	text-wrap: balance;
}

.section-lead {
	margin: 0 0 1.75rem;
	color: #9aa3b2;
	font-size: 1rem;
}

.project-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
	gap: 1.25rem;
}

.project-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 1.35rem 1.35rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	min-height: 100%;
}

.project-card:hover {
	border-color: rgba(124, 184, 255, 0.22);
	background: rgba(255, 255, 255, 0.045);
}

.project-heading {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.project-icon {
	width: 3.25rem;
	height: 3.25rem;
	flex-shrink: 0;
	object-fit: cover;
	border-radius: 22%;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.project-heading-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
	min-width: 0;
}

.project-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
}

.project-title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 600;
	color: #fff;
}

.project-badge {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0.22rem 0.55rem;
	border-radius: 999px;
	background: rgba(110, 231, 183, 0.18);
	color: #9cf5d4;
	border: 1px solid rgba(110, 231, 183, 0.35);
}

.project-badge-muted {
	background: rgba(124, 184, 255, 0.12);
	color: #a8cffc;
	border-color: rgba(124, 184, 255, 0.28);
}

.project-desc {
	margin: 0 0 auto;
	padding-bottom: 1rem;
	font-size: 0.94rem;
	color: #aeb6c4;
	flex-grow: 1;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1rem;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	border-radius: 8px;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition:
		background 0.15s ease,
		border-color 0.15s ease,
		color 0.15s ease;
}

.btn-primary {
	background: #3d7eef;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
	background: #5290ff;
	color: #fff;
	text-decoration: none;
}

.btn-secondary {
	background: transparent;
	color: #c8dcff;
	border-color: rgba(124, 184, 255, 0.35);
}

.btn-secondary:hover {
	background: rgba(124, 184, 255, 0.1);
	color: #fff;
	text-decoration: none;
}

.btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	margin-top: 1.5rem;
}

.field label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
	color: #d2d8e3;
}

.optional {
	font-weight: 400;
	color: #7c8494;
	font-size: 0.8rem;
}

.field input,
.field textarea {
	width: 100%;
	padding: 0.65rem 0.75rem;
	font-family: inherit;
	font-size: 1rem;
	color: #e8eaef;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	transition: border-color 0.15s ease;
}

.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: rgba(124, 184, 255, 0.55);
}

.field textarea {
	resize: vertical;
	min-height: 8rem;
}

.hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	width: 0;
	pointer-events: none;
}

.form-status {
	min-height: 1.25rem;
	margin: 0;
	font-size: 0.9rem;
}

.form-status.success {
	color: #9cf5d4;
}

.form-status.error {
	color: #ffb4b4;
}

.social-line {
	margin: 2rem 0 0;
	font-size: 0.95rem;
}

.site-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 2.5rem 1.5rem 3rem;
	background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
	max-width: 42rem;
	margin: 0 auto;
	text-align: center;
	font-size: 0.9rem;
	color: #8b93a3;
}

.footer-legal {
	margin: 0 0 0.5rem;
	color: #c4cad6;
	font-size: 1rem;
}

.footer-address {
	margin: 0 0 1rem;
	line-height: 1.6;
}

.footer-copy {
	margin: 0 0 1rem;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	justify-content: center;
}
