/* =========================
   Design Tokens
========================= */
:root {
	/* Blues */
	--blue-900: #0b2a6f;
	--blue-800: #1e3a8a;
	--blue-700: #1d4ed8;
	--blue-600: #2563eb;
	--blue-500: #3b82f6;
	--blue-400: #60a5fa;
	--blue-300: #93c5fd;
	--blue-200: #bfdbfe;
	--blue-100: #dbeafe;
	--blue-50: #eff6ff;

	/* Slate */
	--slate-950: #0f172a;
	--slate-800: #1e293b;
	--slate-700: #334155;
	--slate-400: #94a3b8;
	--slate-300: #cbd5e1;
	--slate-200: #e2e8f0;

	/* Base */
	--text: #2d3748;
	--bg: #fff;

	/* Theming helpers */
	--accent: var(--blue-800);
	--accent-2: var(--blue-500);
	--bg-secondary: #f9fafb;

	/* Tech badges */
	--badge-bg: #e5e7eb;
	--badge-text: #111827;
	--badge-border: #d1d5db;
	--linkedin: #0a66c2;

	/* Layout */
	--container-w: 1200px;

	/* --header-h: 72px; */

	/* Anchor offsets */
	--anchor-offset-desktop: 88px;
	--anchor-offset-mobile: 150px;
}

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

* {
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family:
		Poppins, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell,
		"Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
}

/* =========================
   Header / Nav
========================= */
header {
	position: fixed;
	inset: 0 0 auto;
	height: var(--header-h);
	background: #fff;
	padding: 1.2rem 0;
	width: 100%;
	z-index: 1000;
	box-shadow: 0 2px 20px rgb(0 0 0 / 5%);
}

/* nav uses grid so brand + controls align cleanly */
nav {
	max-width: var(--container-w);
	margin: 0 auto;
	padding: 0 2rem;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 1rem;
}

.nav-controls {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

/* Brand */
.brand {
	display: inline-block;
}

.brand-link {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
}

.brand-mark {
	width: 48px;
	height: 48px;
	display: inline-block;
	background-image: url("/assets/bc-tech-square.svg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

body.dark-mode .brand-mark {
	background-image: url("/assets/bc-tech-square-dark.svg");
}

.brand-text {
	font-size: 1.6rem;
	font-weight: 700;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	background-clip: text;
	color: transparent;
	white-space: nowrap;
}

/* Nav links (desktop default) */
#primary-nav {
	list-style: none;
	display: flex;
	gap: 2.5rem;
	align-items: center;
	justify-content: flex-end;
}

.cookie-banner a {
	color: #9fd3ff;
}

#primary-nav a {
	color: #4a5568;
	text-decoration: none;
	transition: color 0.3s ease;
	font-weight: 500;
	position: relative;
}

#primary-nav a::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	transition: width 0.3s ease;
}

#primary-nav a:hover {
	color: var(--accent);
}
#primary-nav a:hover::after {
	width: 100%;
}

/* Theme toggle button */
.theme-toggle-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.55rem 0.95rem;
	border: 1px solid var(--blue-200);
	background: var(--blue-50);
	color: var(--accent);
	border-radius: 999px;
	font-weight: 600;
	cursor: pointer;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background-color 0.2s ease;
	box-shadow: 0 2px 8px rgb(59 130 246 / 15%);
	white-space: nowrap;
}

.theme-toggle-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgb(59 130 246 / 25%);
	background: #fff;
}
.theme-toggle-btn i {
	font-size: 1rem;
}

/* =========================
   Hero
========================= */
.hero {
	position: relative;
	overflow: hidden;
	margin-top: var(--header-h);
	padding: 200px 2rem 140px;
	text-align: center;
	background: linear-gradient(
		135deg,
		var(--slate-950) 0%,
		var(--accent) 50%,
		var(--accent-2) 100%
	);
}

.hero::before {
	content: "";
	position: absolute;
	inset: -50% -50% auto auto;
	width: 200%;
	height: 200%;
	background: repeating-linear-gradient(
		45deg,
		transparent,
		transparent 10px,
		rgb(59 130 246 / 5%) 10px,
		rgb(59 130 246 / 5%) 20px
	);
	animation: slide-pattern 20s linear infinite;
}

@keyframes slide-pattern {
	0% {
		transform: translate(0, 0);
	}
	100% {
		transform: translate(40px, 40px);
	}
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(
			circle at 20% 30%,
			rgb(59 130 246 / 22%) 0%,
			transparent 50%
		),
		radial-gradient(circle at 80% 70%, rgb(30 58 138 / 22%) 0%, transparent 50%);
}

.floating-shapes {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 1;
}

.shape {
	position: absolute;
	background: rgb(59 130 246 / 12%);
	border-radius: 50%;
}

.shape1 {
	width: 300px;
	height: 300px;
	top: 10%;
	left: 10%;
	animation: float-1 15s ease-in-out infinite;
}

.shape2 {
	width: 200px;
	height: 200px;
	top: 60%;
	right: 15%;
	animation: float-2 12s ease-in-out infinite;
}

.shape3 {
	width: 150px;
	height: 150px;
	bottom: 20%;
	left: 50%;
	animation: float-3 10s ease-in-out infinite;
}

@keyframes float-1 {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	50% {
		transform: translate(30px, -30px) scale(1.1);
	}
}

@keyframes float-2 {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	50% {
		transform: translate(-40px, 40px) scale(0.9);
	}
}

@keyframes float-3 {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	50% {
		transform: translate(20px, -50px) scale(1.2);
	}
}

.hero h1 {
	font-size: 3.8rem;
	margin-bottom: 1.5rem;
	color: #fff;
	font-weight: 800;
	position: relative;
	z-index: 2;
	animation: fade-in-up 0.8s ease-out both;
	text-shadow: 0 2px 20px rgb(0 0 0 / 30%);
}

.hero p {
	font-size: 1.5rem;
	margin-bottom: 3rem;
	color: rgb(255 255 255 / 95%);
	max-width: 700px;
	margin-inline: auto;
	position: relative;
	z-index: 2;
	animation: fade-in-up 0.8s ease-out 0.2s both;
	text-shadow: 0 1px 10px rgb(0 0 0 / 20%);
}

@keyframes fade-in-up {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.cta-button {
	display: inline-block;
	background: #fff;
	color: var(--accent);
	padding: 1.1rem 3rem;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 700;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease,
		background 0.3s ease;
	box-shadow: 0 10px 30px rgb(0 0 0 / 30%);
	position: relative;
	z-index: 2;
	animation: fade-in-up 0.8s ease-out 0.4s both;
	font-size: 1.05rem;
}

.cta-button:hover {
	transform: translateY(-5px) scale(1.05);
	box-shadow: 0 15px 40px rgb(0 0 0 / 40%);
	background: linear-gradient(135deg, #fff 0%, var(--blue-50) 100%);
}

/* =========================
   Sections / Headings
========================= */
section {
	max-width: var(--container-w);
	margin: 0 auto;
	padding: 100px 2rem;
}

h2 {
	font-size: 2.8rem;
	margin-bottom: 4rem;
	text-align: center;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	background-clip: text;
	color: transparent;
	font-weight: 700;
	position: relative;
}

h2::after {
	content: "";
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	border-radius: 2px;
}

/* =========================
   Services
========================= */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2.5rem;
}

.service-card {
	background: #fff;
	padding: 2.5rem;
	border-radius: 20px;
	box-shadow: 0 5px 25px rgb(0 0 0 / 8%);
	transition:
		transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
		box-shadow 0.3s ease,
		border-color 0.3s ease;
	border: 2px solid transparent;
	position: relative;
	overflow: hidden;
}

.service-card::before {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	transform: scaleX(0);
	transition: transform 0.3s ease;
}
.service-card:hover::before {
	transform: scaleX(1);
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgb(30 58 138 / 25%);
	border-color: var(--accent-2);
}

.service-card h3 {
	color: var(--accent);
	margin-bottom: 1rem;
	font-size: 1.5rem;
	font-weight: 600;
}

.service-card p {
	color: #718096;
	line-height: 1.8;
}

/* =========================
   Technologies
========================= */
#technologies {
	padding: 2rem 1rem;
	background-color: var(--bg-secondary);
}

#technologies-title {
	font-size: 1.75rem;
	margin-bottom: 1rem;
	text-align: center;
	font-weight: 600;
}

.tech-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	list-style: none;
	padding: 0;
	margin: 0 auto;
	max-width: 900px;
}

.tech-category {
	flex-basis: 100%;
	text-align: left;
	font-weight: 600;
	font-size: 1.1rem;
	color: var(--accent);
	margin-top: 1.25rem;
	margin-bottom: 0.25rem;
	border-bottom: 2px solid var(--accent);
	padding-bottom: 0.2rem;
}

.tech-badge {
	background-color: var(--badge-bg);
	color: var(--badge-text);
	border: 1px solid var(--badge-border);
	border-radius: 9999px;
	padding: 0.4rem 0.9rem;
	font-size: 0.95rem;
	font-weight: 500;
	white-space: nowrap;
	transition:
		transform 0.2s ease,
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease;
	user-select: none;
}

.tech-badge:hover,
.tech-badge:focus {
	background-color: var(--accent);
	color: #fff;
	border-color: var(--accent);
	transform: translateY(-2px);
}

/* =========================
   About
========================= */
.about {
	background: #fff;
}

.about p {
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	font-size: 1.15rem;
	color: #4a5568;
	line-height: 1.9;
}

/* =========================
   Contact
========================= */
.contact {
	text-align: center;
	background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
}

.contact p {
	color: #4a5568;
}

.contact-card {
	max-width: 720px;
	margin: 0 auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgb(30 58 138 / 12%);
	padding: 2rem;
	border: 1px solid var(--blue-100);
}

.contact-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.contact-label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: var(--accent);
}

.contact-input,
.contact-textarea {
	width: 100%;
	padding: 0.9rem 1rem;
	border: 1px solid var(--blue-200);
	border-radius: 0.75rem;
	font: inherit;
	outline: none;
	transition:
		box-shadow 0.2s ease,
		border-color 0.2s ease;
	background: #fff;
}

.contact-input:focus,
.contact-textarea:focus {
	border-color: var(--accent-2);
	box-shadow: 0 0 0 4px rgb(59 130 246 / 15%);
}

.contact-textarea {
	min-height: 160px;
	resize: vertical;
}

.contact-button {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #fff;
	font-weight: 700;
	padding: 0.9rem 1.4rem;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
	box-shadow: 0 6px 16px rgb(59 130 246 / 35%);
}

.contact-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgb(59 130 246 / 45%);
}

.contact-button[disabled] {
	opacity: 0.7;
	cursor: not-allowed;
}

.status {
	margin-top: 1rem;
	min-height: 1.25rem;
	font-weight: 600;
}

.status.ok {
	color: #047857;
} /* green-700 */
.status.err {
	color: #b91c1c;
} /* red-700 */

/* Honeypot (visually hidden) */
.hp {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

/* =========================
   Footer
========================= */
footer {
	background: var(--slate-800);
	color: var(--slate-400);
	text-align: center;
	padding: 2.5rem;
}

/* =========================
   Hamburger (mobile)
========================= */
.nav-toggle {
	inline-size: 40px;
	block-size: 40px;
	border: 1px solid var(--blue-200);
	background: #fff;
	border-radius: 8px;
	display: none;
	place-items: center;
	cursor: pointer;
	transition:
		box-shadow 0.2s ease,
		transform 0.2s ease,
		background-color 0.2s ease;
	box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
}

.nav-toggle:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgb(0 0 0 / 16%);
}

.nav-toggle-bar {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--accent);
	border-radius: 2px;
	position: relative;
}

.nav-toggle-bar + .nav-toggle-bar {
	margin-top: 4px;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
	transition: transform 0.2s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
	opacity: 0;
	transition: opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
	transition: transform 0.2s ease;
}

/* =========================
   Responsive
========================= */
@media (width <= 768px) {
	/* Header flows on mobile (prevents hero overlap) */
	header {
		position: static;
		height: auto;
		padding: 0.6rem 0;
		box-shadow: 0 1px 8px rgb(0 0 0 / 10%);
	}

	.hero {
		margin-top: 0;
		padding: 120px 1.25rem 80px;
	}

	.hero h1 {
		font-size: 2.2rem;
	}

	.hero p {
		font-size: 1.1rem;
	}

	/* Compact nav row + hamburger visible */
	nav {
		padding: 0 1rem;
		gap: 0.5rem;
	}

	.brand-mark {
		width: 36px;
		height: 36px;
	}

	.brand-text {
		font-size: 1.25rem;
	}

	.nav-toggle {
		display: inline-grid;
	}

	/* Collapse menu into panel */
	#primary-nav {
		grid-column: 1 / -1;
		margin: 0;
		padding: 0.5rem;
		display: grid;
		gap: 0.25rem;
		max-height: 0;
		opacity: 0;
		overflow: hidden;
		transform: translateY(-0.25rem);
		transition:
			max-height 0.3s ease,
			opacity 0.2s ease,
			transform 0.2s ease;
		background: #fff;
		border-radius: 12px;
		box-shadow: 0 12px 30px rgb(0 0 0 / 12%);
		border: 1px solid var(--blue-100);
	}

	#primary-nav.is-open {
		max-height: 16rem;
		opacity: 1;
		transform: translateY(0);
	}

	#primary-nav > li > a {
		display: block;
		padding: 0.75rem;
		border-radius: 10px;
	}

	#primary-nav > li > a:hover {
		background: var(--blue-50);
		color: var(--accent);
	}

	/* Buttons/rows */
	.theme-toggle-btn {
		width: auto;
		justify-content: center;
		padding: 0.4rem 0.7rem;
		box-shadow: 0 2px 6px rgb(59 130 246 / 20%);
	}

	h2 {
		font-size: 2rem;
	}
	.services-grid {
		grid-template-columns: 1fr;
	}
	.shape {
		display: none;
	}
	.contact-row {
		grid-template-columns: 1fr;
	}

	/* Anchor offsets for mobile */
	section[id],
	h2[id],
	[id][data-anchor] {
		scroll-margin-top: var(--anchor-offset-mobile);
	}
}

/* =========================
   Dark Mode
========================= */
body.dark-mode {
	background: var(--slate-950);
	color: var(--slate-200);
}

body.dark-mode header {
	background: rgb(15 23 42 / 95%);
	box-shadow: 0 2px 20px rgb(0 0 0 / 30%);
}
body.dark-mode #primary-nav a {
	color: var(--slate-300);
}
body.dark-mode #primary-nav a:hover {
	color: var(--blue-300);
}

body.dark-mode .theme-toggle-btn {
	background: var(--slate-800);
	color: var(--blue-300);
	border-color: var(--slate-700);
	box-shadow: 0 2px 10px rgb(0 0 0 / 25%);
}

body.dark-mode .service-card {
	background: #1e293b;
	border-color: #334155;
}

body.dark-mode .service-card:hover {
	background: #1e293b;
	box-shadow: 0 15px 40px rgb(59 130 246 / 20%);
	border-color: var(--blue-600);
}

body.dark-mode .service-card h3 {
	color: var(--blue-300);
}

body.dark-mode .service-card p {
	color: var(--slate-400);
}

body.dark-mode #technologies {
	background-color: #111827;
}

body.dark-mode .tech-category {
	color: var(--blue-300);
	border-color: var(--blue-300);
}

body.dark-mode .tech-badge {
	background-color: #1f2937;
	color: #f9fafb;
	border-color: #374151;
}

body.dark-mode .tech-badge:hover {
	background-color: var(--blue-300);
	color: #111827;
}

body.dark-mode h2 {
	background: linear-gradient(135deg, var(--blue-400), var(--blue-300));
	background-clip: text;
	color: transparent;
}

body.dark-mode h2::after {
	background: linear-gradient(135deg, var(--blue-400), var(--blue-300));
}

/* Dark-mode tweaks for mobile menu */
@media (width <= 768px) {
	body.dark-mode #primary-nav {
		background: #111827;
		border-color: #374151;
		box-shadow: 0 12px 30px rgb(0 0 0 / 35%);
	}

	body.dark-mode #primary-nav > li > a:hover {
		background: #1f2937;
		color: var(--blue-300);
	}

	body.dark-mode .nav-toggle {
		background: #1f2937;
		border-color: #374151;
	}

	body.dark-mode .nav-toggle-bar {
		background: var(--blue-300);
	}
}

/* =========================
   Reduced Motion
========================= */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.001ms;
		animation-iteration-count: 1;
		transition: none;
	}
}

/* =========================
   Anchor Offsets (desktop)
========================= */
section[id],
h2[id],
[id][data-anchor] {
	scroll-margin-top: var(--anchor-offset-desktop);
}

/* ==== Dark mode for About & Contact ==== */
body.dark-mode .about {
	background: var(--slate-950);
}

body.dark-mode .about p {
	color: var(--slate-300);
}

body.dark-mode .contact {
	background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

body.dark-mode .contact p,
body.dark-mode .contact-label {
	color: var(--slate-300);
}

body.dark-mode .contact-card {
	background: #111827; /* near-surface */
	border-color: #374151;
	box-shadow: 0 10px 30px rgb(0 0 0 / 35%);
}

body.dark-mode .contact-input,
body.dark-mode .contact-textarea {
	background: #0f172a; /* input surface */
	color: var(--slate-200);
	border-color: #334155;
}

body.dark-mode .contact-input::placeholder,
body.dark-mode .contact-textarea::placeholder {
	color: #64748b; /* slate-500 */
}

body.dark-mode .status.ok {
	color: #10b981;
} /* emerald-500 */
body.dark-mode .status.err {
	color: #f87171;
} /* red-400 */

.social-btn {
	inline-size: 40px;
	block-size: 40px;
	display: inline-grid;
	place-items: center;
	border-radius: 8px;
	border: 1px solid var(--blue-200);
	background: #fff;
	color: var(--linkedin); /* icon uses currentColor */
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease;
	box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
}

.social-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgb(0 0 0 / 16%);
	background: var(--blue-50);
	border-color: var(--blue-200);
}

/* Tighter on mobile to match your toggle sizing */
@media (width <= 768px) {
	.social-btn {
		inline-size: 36px;
		block-size: 36px;
	}
}

/* Dark mode */
body.dark-mode .social-btn {
	background: #1f2937;
	border-color: #374151;
	color: var(--blue-300);
	box-shadow: 0 2px 10px rgb(0 0 0 / 25%);
}

body.dark-mode .social-btn:hover {
	background: #111827;
}

/* Footer socials row */
.footer-socials {
	margin-top: 1rem;
	display: inline-flex;
	gap: 0.5rem;
	align-items: center;
	justify-content: center;
}

.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #111;
	color: #fff;
	padding: 1rem;
	border-top: 2px solid #444;
	z-index: 9999;
	line-height: 1.4;
}

.cookie-banner__actions {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.5rem;
	flex-wrap: wrap;
}
.btn {
	padding: 0.5rem 0.75rem;
	border-radius: 0.375rem;
	border: 1px solid #fff;
	background: #fff;
	color: #111;
	cursor: pointer;
}
.btn-secondary {
	background: transparent;
	color: #fff;
}
.btn-tertiary {
	background: #222;
	color: #fff;
	border-color: #666;
}
.cookie-customize {
	margin-top: 0.5rem;
	padding: 0.5rem;
	border: 1px dashed #666;
	border-radius: 0.375rem;
}
.linklike {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}

/* 4.1 Visible skip link for keyboard users */
.skip-link {
	position: absolute;
	top: 0;
	left: 0;
	background: #fff;
	color: #000;
	padding: 0.75rem 1rem;
	border: 2px solid #000;
	border-radius: 0 0 0.5rem 0.5rem;
	transform: translateY(-100%);
	transition: transform 0.2s ease;
	z-index: 2000;
}
.skip-link:focus {
	transform: translateY(0);
}

/* 4.2 Ensure floating shapes are never interactive */
.floating-shapes,
.floating-shapes .shape {
	pointer-events: none;
}

/* 4.3 Focus styles for interactive elements */
a:focus,
button:focus,
input:focus,
textarea:focus,
.tech-badge:focus,
.social-btn:focus,
.contact-button:focus {
	outline: 3px solid var(--accent-2);
	outline-offset: 2px;
	border-radius: 4px;
}

/* 4.4 Improve cookie banner contrast for borders and buttons */
.cookie-banner {
	background: #111;
	color: #fff;
	border-top: 2px solid #666; /* was #444, bumped */
}

.cookie-customize {
	border: 1px dashed #999; /* higher contrast than #666 on #111 */
}

.btn-secondary {
	background: transparent;
	color: #fff;
	border: 1px solid #fff;
}

.btn-tertiary {
	background: #222;
	color: #fff;
	border: 1px solid #999; /* higher contrast */
}

/* 4.5 Hide text visually but keep it for screen readers */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
	white-space: nowrap;
}
