/* =============================================================
   Design tokens
   ----------------------------------------------------------------
   One primary accent (purple). Hover and active states are
   intentionally distinct: hover = soft glow, active = solid
   accent + underline. Surfaces and text levels are exposed as
   tokens so future work can adjust the palette in one place.
   ============================================================= */
:root {
	--header-height: 86px;
	--hero-header-gap: 40px;

	/* Brand */
	--accent: #c084fc;
	--accent-rgb: 192, 132, 252;
	--accent-deep-rgb: 168, 85, 247;
	--accent-soft: rgba(var(--accent-rgb), 0.12);
	--accent-strong: rgba(var(--accent-rgb), 0.5);

	/* Status */
	--success: #4ade80;
	--success-rgb: 74, 222, 128;
	--danger: #f87171;
	--danger-rgb: 248, 113, 113;

	/* Background */
	--bg-base: #0e0e12;
	--bg-elevated: rgba(20, 20, 25, 0.95);

	/* Surfaces */
	--surface-1: rgba(255, 255, 255, 0.03);
	--surface-2: rgba(255, 255, 255, 0.06);
	--surface-3: rgba(255, 255, 255, 0.1);

	/* Borders */
	--border-subtle: rgba(255, 255, 255, 0.1);
	--border-strong: rgba(255, 255, 255, 0.2);

	/* Text */
	--text-primary: #ffffff;
	--text-secondary: rgba(255, 255, 255, 0.72);
	--text-muted: rgba(255, 255, 255, 0.55);

	/* Focus */
	--focus-ring: var(--accent);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
	scroll-behavior: smooth;
}

body {
	background: var(--bg-base);
	color: var(--text-primary);
	font-family: 'Inter', sans-serif;
	overflow-x: hidden;
}

.skip-link {
	position: fixed;
	top: 16px;
	left: 16px;
	z-index: 10000;
	padding: 10px 14px;
	border-radius: 10px;
	background: #ffffff;
	color: #0e0e12;
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-150%);
	transition: transform 0.2s ease;
}

.skip-link:focus-visible {
	transform: translateY(0);
}

/* Programmatic focus from the skip link — keep a visible indicator */
#main-content:focus-visible {
	outline: 2px solid #c084fc;
	outline-offset: 4px;
	border-radius: 8px;
}

.site-header {
	position: fixed;
	top: 0;
	width: 100%;
	height: var(--header-height);
	padding: 12px 60px;
	padding-left: max(60px, env(safe-area-inset-left));
	padding-right: max(60px, env(safe-area-inset-right));
	backdrop-filter: blur(14px);
	background: rgba(10, 10, 14, 0.45);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	z-index: 50;
	transition: transform 0.35s ease;
}

.site-header.nav-hidden {
	transform: translateY(-100%);
}

.site-header:focus-within {
	transform: translateY(0);
}

/* Active is intentionally distinct from hover: white text plus a
   small accent underline so users know which section they are in. */
nav a.nav-active {
	opacity: 1;
	color: var(--text-primary);
	text-shadow: none;
	box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-inner {
	max-width: 1200px;
	margin: auto;
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.site-header .logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 178px;
	height: 62px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 14px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	flex: 0 0 auto;
}

.site-header .logo > img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	display: block;
	object-fit: contain;
	object-position: center;
	transform: scale(1.16);
}

.site-header .logo:hover,
.site-header .logo:focus-visible {
	border-color: rgba(192, 132, 252, 0.5);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34), 0 0 18px rgba(192, 132, 252, 0.16);
	transform: translateY(-1px);
}

nav a {
	margin-left: 20px;
	color: white;
	opacity: 0.8;
	text-decoration: none;
	font-weight: 500;
	transition: opacity 0.2s ease, text-shadow 0.2s ease;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
}



nav a:hover {
	opacity: 1;
	text-shadow: 0 0 12px rgba(var(--accent-rgb), 0.4);
}

nav a:focus-visible {
	opacity: 1;
	text-shadow: 0 0 12px rgba(192, 132, 252, 0.4);
}

.nav-resume {
	padding: 6px 14px;
	border: 1px solid rgba(192, 132, 252, 0.45);
	border-radius: 8px;
	color: #c084fc !important;
	opacity: 1 !important;
	font-size: 0.88rem !important;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-resume:hover {
	background: rgba(192, 132, 252, 0.1);
	border-color: rgba(192, 132, 252, 0.7);
	box-shadow: 0 0 16px rgba(192, 132, 252, 0.2);
	text-shadow: none !important;
}

.contact-link--resume {
	border-color: rgba(192, 132, 252, 0.45);
	color: #c084fc;
}

section {
	padding: 100px 60px;
	max-width: 1200px;
	margin: auto;
	position: relative;
	z-index: 2;
	scroll-margin-top: 100px;
}

main {
	padding-left: env(safe-area-inset-left);
	padding-right: env(safe-area-inset-right);
}

section h2 {
	letter-spacing: -0.03em;
	line-height: 1;
}


section:first-of-type {
	padding-top: calc(var(--header-height) + var(--hero-header-gap));
	/* hero breathing room */
}

.work {
	padding-top: 80px;
	/* tighter after hero */
}

.work h2 {
	margin-bottom: 20px;
}

.work-grid {
	margin-top: 40px;
}

.mobile-trust-snapshot {
	display: none;
}

.mobile-trust-eyebrow,
.contact-eyebrow {
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.mobile-trust-chips,
.mobile-trust-links {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
}

.mobile-trust-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	text-decoration: none;
}

.product-quality {
	padding-top: 70px;
	padding-bottom: 70px;
}

.quality-intro {
	max-width: 760px;
	color: rgba(255, 255, 255, 0.74);
	font-size: 1rem;
	line-height: 1.75;
	margin: 0 0 34px;
}

.quality-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.quality-card {
	min-height: 245px;
	padding: 26px;
	border: 1px solid var(--border-subtle);
	border-radius: 16px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
		var(--surface-1);
	transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

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

.quality-number {
	display: inline-flex;
	margin-bottom: 28px;
	font-family: 'Courier New', monospace;
	font-size: 0.82rem;
	font-weight: 700;
	color: rgba(192, 132, 252, 0.86);
}

.quality-card h3 {
	margin: 0 0 14px;
	font-size: 1.06rem;
	letter-spacing: -0.01em;
}

.quality-card p {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.92rem;
	line-height: 1.65;
}

.evidence,
.review-path {
	padding-top: 72px;
	padding-bottom: 72px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.evidence-intro,
.review-path-copy p {
	max-width: 720px;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.98rem;
	line-height: 1.7;
}

.evidence-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-top: 42px;
}

.evidence-card {
	display: grid;
	gap: 12px;
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
}

.evidence-card h3 {
	font-size: 1rem;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.92);
}

.evidence-card p {
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.9rem;
	line-height: 1.65;
}

.review-path {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
	gap: 44px;
	align-items: start;
}

.review-steps {
	display: grid;
	gap: 12px;
	margin: 4px 0 0;
	padding-left: 1.3rem;
}

.review-steps li {
	padding-left: 6px;
	color: rgba(255, 255, 255, 0.76);
	line-height: 1.6;
}

.review-steps li::marker {
	color: #d8b4fe;
	font-weight: 700;
}

.review-path-actions {
	grid-column: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: -18px;
}

.review-path-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 16px;
	border-radius: 8px;
	border: 1px solid rgba(192, 132, 252, 0.35);
	background: rgba(192, 132, 252, 0.12);
	color: white;
	font-size: 0.88rem;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.review-path-actions a:hover,
.review-path-actions a:focus-visible {
	background: rgba(192, 132, 252, 0.22);
	border-color: rgba(192, 132, 252, 0.55);
	transform: translateY(-2px);
}

section h2 {
	font-family: 'Playfair Display', serif;
	font-size: 3rem;
	margin-bottom: 40px;
	background: linear-gradient(90deg, #ffffff, #d7d7d7);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	position: relative;
}

section h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -12px;
	width: 90px;
	height: 2px;
	background: rgba(255, 255, 255, 0.25);
}

.skills-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-top: 60px;
}

.skill-card {
	background: var(--surface-1);
	border: 1px solid var(--border-subtle);
	border-radius: 16px;
	padding: 35px;
	transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
	position: relative;
	overflow: hidden;
}

.skill-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.1));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.skill-card:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateX(5px);
}

.skill-card:hover::before {
	opacity: 1;
}

.skill-header {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.skill-number {
	font-family: 'Courier New', monospace;
	font-size: 2rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.52);
	line-height: 1;
}

.skill-card h3 {
	font-family: 'Inter', sans-serif;
	font-size: 1.35rem;
	font-weight: 600;
	margin: 0;
	letter-spacing: -0.02em;
}

.skill-content p {
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.95rem;
}

.skill-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.skill-tags span {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	padding: 6px 14px;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
	font-family: 'Courier New', monospace;
	letter-spacing: 0.02em;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.skill-tags span:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.25);
	color: white;
}

.about {
	padding-top: 60px;
	padding-bottom: 40px;
	margin-bottom: 0;
	border-left: 2px solid rgba(255, 255, 255, 0.12);
	padding-left: 40px;
}

.about-container {
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: 60px;
	align-items: start;
}

.about-content {
	max-width: 750px;
}

.about-text {
	line-height: 1.75;
	color: #d1d1d1;
	margin-bottom: 25px;
}

.about-image {
	position: relative;
	width: 100%;
	max-width: 400px;
}

.about-image img {
	width: 100%;
	height: auto;
	object-fit: contain;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: block;
}

.about-image img:hover {
	transform: translateY(-5px);
	box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
}

.contact {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 60px;
	padding-bottom: 100px;
	margin-top: 20px;
	padding: 80px 60px 120px;
}

.contact-card {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
	padding: 56px 40px;
	border-radius: 28px;
	background:
		linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(13, 148, 136, 0.06)),
		rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.contact-copy {
	max-width: 620px;
	margin: 0 auto 30px;
	color: rgba(255, 255, 255, 0.68);
	line-height: 1.7;
}

.contact-eyebrow {
	margin-bottom: 14px;
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #c084fc;
}

.contact h2 {
	text-align: center;
	line-height: 1.25;
	padding-bottom: 6px;
	margin-bottom: 18px;
	line-height: 1.12;
	font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.contact-links {
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.contact-link {
	padding: 12px 22px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.12);
	text-decoration: none;
	color: white;
	transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-link:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-3px);
}

.project-link-btn,
.contact-link {
	backdrop-filter: blur(10px);
}

.project-link-btn:hover,
.contact-link:hover {
	box-shadow: 0 0 24px rgba(192, 132, 252, 0.18);
}




.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, #c084fc, #818cf8);
	z-index: 999;
	transform-origin: left;
	transform: scaleX(0);
}

.availability-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	margin-bottom: 26px;
	border-radius: 999px;
	border: 1px solid rgba(74, 222, 128, 0.35);
	background: rgba(74, 222, 128, 0.07);
	color: rgba(74, 222, 128, 0.9);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.availability-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #4ade80;
	flex-shrink: 0;
	animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
	}
	50% {
		box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.availability-dot {
		animation: none;
	}
}

@media (max-width: 900px) {
	.availability-badge {
		margin-inline: auto;
	}
}

.about-link {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: rgba(192, 132, 252, 0.5);
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s ease;
}

.about-link:hover {
	text-decoration-color: #c084fc;
}

.contact-divider {
	margin: 28px 0;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.site-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	padding: 28px 60px;
	padding-left: max(60px, env(safe-area-inset-left));
	padding-right: max(60px, env(safe-area-inset-right));
}

.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.footer-copy {
	font-size: 0.85rem;
	color: var(--text-muted);
}

.footer-links {
	display: flex;
	gap: 24px;
}

.footer-links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 0.85rem;
	color: var(--text-secondary);
	opacity: 1;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-links a:hover {
	color: rgba(255, 255, 255, 0.85);
}

.footer-links a:focus-visible {
	color: rgba(255, 255, 255, 0.9);
	outline: 2px solid rgba(var(--accent-rgb), 0.55);
	outline-offset: 4px;
	border-radius: 8px;
}

@media (max-width: 600px) {
	.site-footer {
		padding: 24px 20px;
	}

	.footer-inner {
		flex-direction: column;
		text-align: center;
		gap: 14px;
	}

	.footer-links {
		flex-wrap: wrap;
		justify-content: center;
		gap: 4px 18px;
	}
}

.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.revealed {
	opacity: 1;
	transform: translateY(0);
}



/* Tablet landscape and small laptops */
@media (max-width: 1024px) {
	:root {
		--header-height: 80px;
	}

	.site-header {
		padding: 11px 40px;
		padding-left: max(40px, env(safe-area-inset-left));
		padding-right: max(40px, env(safe-area-inset-right));
	}

	section {
		padding: 90px 40px;
	}

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

	.review-path {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.review-path-actions {
		grid-column: auto;
		margin-top: 0;
	}

	.contact {
		padding: 80px 40px 110px;
	}

	.skill-card {
		padding: 30px;
	}

	.about-container {
		grid-template-columns: 1fr 320px;
		gap: 40px;
	}
}

/* Tablet portrait / iPad */
@media (max-width: 900px) {
	:root {
		--header-height: 78px;
	}

	.site-header {
		padding: 14px 28px;
		padding-left: max(28px, env(safe-area-inset-left));
		padding-right: max(28px, env(safe-area-inset-right));
	}

	.site-header .logo {
		width: 136px;
		height: 54px;
	}

	nav a {
		margin-left: 14px;
		font-size: 0.9rem;
	}

	section {
		padding: 80px 32px;
		scroll-margin-top: 110px;
	}

	section h2 {
		font-size: 2.4rem;
		margin-bottom: 32px;
	}

	.skills-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 22px;
		margin-top: 40px;
	}

	.quality-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.quality-card {
		min-height: 220px;
	}

	.skill-card {
		padding: 26px;
	}

	.skill-card h3 {
		font-size: 1.2rem;
	}

	.skill-number {
		font-size: 1.7rem;
	}

	.about {
		padding-left: 32px;
		border-left-width: 1px;
	}

	.about-container {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.about-image {
		max-width: 320px;
		margin: 0 auto;
	}

	.contact {
		padding: 70px 32px 100px;
	}

	.contact-card {
		padding: 44px 28px;
	}
}

/* Phones */
@media (max-width: 600px) {
	:root {
		--header-height: 74px;
	}

	.site-header {
		height: auto;
		min-height: var(--header-height);
		padding: 12px 20px;
		padding-left: max(20px, env(safe-area-inset-left));
		padding-right: max(20px, env(safe-area-inset-right));
		padding-top: max(12px, env(safe-area-inset-top));
		padding-bottom: 12px;
	}

	.nav-inner {
		align-items: center;
		flex-wrap: nowrap;
		gap: 12px;
	}

	.site-header .logo {
		width: 112px;
		height: 50px;
		min-height: 50px;
		display: inline-flex;
		align-items: center;
	}

	.site-header .nav {
		display: flex;
		flex: 1 1 auto;
		flex-wrap: nowrap;
		justify-content: flex-end;
		gap: 8px;
		width: auto;
		min-width: 0;
		overflow-x: auto;
		-ms-overflow-style: none;
		scrollbar-width: none;
		padding-bottom: 2px;
		-webkit-overflow-scrolling: touch;
	}

	.site-header .nav::-webkit-scrollbar {
		display: none;
	}

	nav a {
		margin-left: 0;
		padding: 10px 6px;
		font-size: 0.92rem;
		min-height: 44px;
		display: inline-flex;
		flex: 0 0 auto;
		align-items: center;
		justify-content: center;
		white-space: nowrap;
	}

	.nav a[data-mobile-nav="secondary"] {
		display: none;
	}

	.nav-resume {
		padding: 10px 12px;
	}

	.availability-badge {
		margin-bottom: 20px;
	}

	section {
		padding: 64px 20px;
		scroll-margin-top: 104px;
	}

	section h2 {
		font-size: 2rem;
		margin-bottom: 28px;
	}

	section h2::after {
		width: 64px;
		bottom: -10px;
	}

	.mobile-trust-snapshot {
		display: block;
		width: 100%;
		max-width: 560px;
		margin: 24px auto 0;
		padding-top: 20px;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		text-align: left;
	}

	.mobile-trust-snapshot h2 {
		position: relative;
		margin: 0;
		background: linear-gradient(90deg, #ffffff, #d7d7d7);
		background-clip: text;
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		font-family: 'Playfair Display', serif;
		font-size: 1.6rem;
		line-height: 1.1;
		letter-spacing: -0.02em;
	}

	.mobile-trust-snapshot h2::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: -10px;
		width: 52px;
		height: 2px;
		background: rgba(255, 255, 255, 0.25);
	}

	.mobile-trust-snapshot .mobile-trust-eyebrow {
		max-width: none;
		margin: 0 0 12px;
		color: #d8b4fe;
		font-size: 0.7rem;
		font-weight: 700;
		line-height: 1.4;
	}

	.mobile-trust-snapshot .mobile-trust-copy,
	.mobile-trust-snapshot .mobile-trust-note {
		max-width: none;
		margin: 0;
		color: rgba(255, 255, 255, 0.74);
		font-size: 0.94rem;
		line-height: 1.65;
	}

	.mobile-trust-snapshot .mobile-trust-copy {
		margin-top: 28px;
	}

	.mobile-trust-snapshot .mobile-trust-note {
		margin-top: 14px;
		padding-left: 14px;
		border-left: 2px solid rgba(192, 132, 252, 0.42);
	}

	.mobile-trust-chips {
		gap: 8px;
		margin-top: 16px;
		padding: 0;
	}

	.mobile-trust-chips li {
		padding: 7px 10px;
		border: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.05);
		color: rgba(255, 255, 255, 0.84);
		font-size: 0.78rem;
		font-weight: 600;
		line-height: 1.2;
	}

	.mobile-trust-links {
		gap: 9px;
		margin-top: 18px;
		padding: 0;
	}

	.mobile-trust-links a {
		padding: 10px 12px;
		border: 1px solid rgba(192, 132, 252, 0.28);
		border-radius: 8px;
		background: rgba(192, 132, 252, 0.1);
		color: rgba(255, 255, 255, 0.9);
		font-size: 0.82rem;
		font-weight: 600;
		transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	}

	.mobile-trust-links a:hover,
	.mobile-trust-links a:focus-visible {
		background: rgba(192, 132, 252, 0.18);
		border-color: rgba(192, 132, 252, 0.48);
		color: #ffffff;
	}

	.quality-grid,
	.skills-grid,
	.about-container,
	.evidence-grid {
		grid-template-columns: 1fr;
		gap: 18px;
		margin-top: 36px;
	}

	.product-quality {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.quality-intro {
		font-size: 0.95rem;
		line-height: 1.7;
		margin-bottom: 28px;
	}

	.quality-card {
		min-height: auto;
		padding: 22px;
		border-radius: 14px;
	}

	.quality-number {
		margin-bottom: 20px;
	}

	.evidence,
	.review-path {
		padding-top: 52px;
		padding-bottom: 52px;
	}

	.evidence-card {
		padding: 18px;
		border-radius: 12px;
	}

	.review-path {
		gap: 24px;
	}

	.review-steps {
		gap: 10px;
	}

	.review-path-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.skill-card {
		padding: 22px;
		border-radius: 14px;
	}

	.skill-header {
		gap: 14px;
		margin-bottom: 16px;
		padding-bottom: 16px;
	}

	.skill-card h3 {
		font-size: 1.1rem;
	}

	.skill-number {
		font-size: 1.5rem;
	}

	.skill-content p {
		font-size: 0.92rem;
	}

	.skill-tags {
		gap: 8px;
	}

	.skill-tags span {
		font-size: 0.75rem;
		padding: 5px 10px;
	}

	.about {
		padding: 44px 20px;
		border-left: none;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	.about-image {
		order: -1;
		max-width: 260px;
		margin: 0 auto;
	}

	.about-text {
		font-size: 0.95rem;
		line-height: 1.7;
		margin-bottom: 18px;
	}

	.contact {
		padding: 56px 20px 80px;
		padding-bottom: max(80px, calc(env(safe-area-inset-bottom) + 56px));
	}

	.contact-card {
		padding: 36px 22px;
		border-radius: 22px;
	}

	.contact-eyebrow {
		font-size: 0.72rem;
	}

	.contact-copy {
		font-size: 0.95rem;
	}

	.contact-links {
		gap: 10px;
	}

	.contact-link {
		padding: 12px 18px;
		font-size: 0.92rem;
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}

}

/* Small phones (iPhone SE etc.) */
@media (max-width: 380px) {
	.site-header {
		padding: 12px 16px;
	}

	.site-header .logo {
		width: 96px;
		height: 46px;
	}

	.nav a {
		font-size: 0.86rem;
		padding-inline: 4px;
	}

	.site-header .nav {
		gap: 6px;
	}

	.nav-resume {
		padding-inline: 9px;
	}

	section {
		padding: 56px 16px;
		scroll-margin-top: 104px;
	}

	section h2 {
		font-size: 1.75rem;
	}

	.mobile-trust-snapshot {
		margin-top: 20px;
	}

	.mobile-trust-links a {
		flex: 1 1 calc(50% - 8px);
	}

	.quality-card,
	.skill-card {
		padding: 18px;
	}

	.contact-card {
		padding: 30px 18px;
	}

	.contact-links {
		flex-direction: column;
		align-items: stretch;
	}

	.contact-link {
		text-align: center;
	}
}

/* Devices without true hover (touch) — disable hover-only transforms that
   leave cards stuck in the hover state after a tap. */
@media (hover: none) {
	.skill-card:hover,
	.quality-card:hover,
	.project-card:hover,
	.project-card-featured:hover,
	.about-image img:hover,
	.contact-link:hover,
	.hero-card:hover,
	.hero-card:hover img,
	.case-study-preview li:hover,
	.review-path-actions a:hover {
		transform: none;
	}

}

a:focus-visible,
button:focus-visible {
	outline: 2px solid #c084fc;
	outline-offset: 4px;
	border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {

	.site-header,
	.nav {
		transition: none !important;
	}

	.site-header.nav-hidden {
		transform: none;
	}

	html,
	body {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.scroll-progress {
		display: none !important;
	}

	.hero-card:hover,
	.hero-card:hover img,
	.quality-card:hover,
	.skill-card:hover,
	.project-card:hover,
	.project-card-featured:hover,
	.about-image img:hover,
	.contact-link:hover,
	.review-path-actions a:hover {
		transform: none;
	}
}

@media (forced-colors: active) {

	.site-header .logo,
	section h2 {
		background: none;
		color: CanvasText;
		-webkit-text-fill-color: CanvasText;
	}

	a:focus-visible,
	button:focus-visible {
		outline-color: Highlight;
	}
}

