/* ============================================================
   SKILLS SECTION — skills.css
   ============================================================ */

:root {
	--skills-bg: #ebe9e4;
	--skills-navy: #001666;
	--skills-accent: #8b3535;
	--skills-muted: #6b5b5b;
	--skills-card: #ffffff;
	--skills-border: rgba(0, 22, 102, 0.1);
	--skills-shadow: rgba(0, 22, 102, 0.12);
}

/* ── Section ── */
#skills {
	padding: 100px 0 90px;
	background: var(--hero-bg, #ebe9e4);
}

.skills-container {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 2rem;
	text-align: center;
}

/* ── Heading ── */
.skills-title {
	font-family: "Big Shoulders", sans-serif;
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 800;
	color: var(--skills-navy);
	letter-spacing: -0.02em;
	margin-bottom: 1rem;
}

/* ── Intro text ── */
.skills-quote {
	font-family: "Poppins", sans-serif;
	font-style: italic;
	font-size: 1rem;
	color: var(--skills-muted);
	margin-bottom: 0.25rem;
}

.skills-subquote {
	font-family: "Poppins", sans-serif;
	font-size: 1rem;
	color: var(--skills-muted);
	margin-bottom: 4rem;
}

/* ── Canvas ── */
.skills-canvas {
	display: flex;
	flex-direction: column;
	gap: 4rem;
}

/* ── Rows ── */
.skills-row {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 4rem;
	flex-wrap: wrap;
}

/* ── Cluster ── */
.skills-cluster {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
}

.skills-cluster--side-note {
	flex-direction: row;
	align-items: center;
	gap: 1.25rem;
}

/* ── Icon group box ── */
.skills-group {
	display: flex;
	gap: 10px;
	background: var(--skills-card);
	padding: 12px;
	border-radius: 20px;
	border: 1px solid var(--skills-border);
	box-shadow:
		0 2px 0 rgba(255, 255, 255, 0.8) inset,
		0 12px 30px -24px var(--skills-shadow);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

/* ── Chip ── */
.skill-chip {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 0;
	border: none;
	background: none;
}

.skill-chip__icon {
	width: 64px;
	height: 64px;
	background: var(--skills-card) !important;
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	box-shadow: 0 8px 18px -14px rgba(0, 22, 102, 0.55);
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease;
	cursor: default;
}

.skill-chip__icon:hover {
	transform: translateY(-4px) scale(1.07);
	box-shadow: 0 14px 26px -16px rgba(0, 22, 102, 0.68);
}

.skill-chip__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
}

.skill-chip__label {
	font-family: "Inter", sans-serif;
	font-size: 0.67rem;
	color: var(--skills-muted);
	text-align: center;
	line-height: 1.3;
	max-width: 68px;
}

/* ── Annotation notes ── */
.skills-note {
	font-family: "Caveat", cursive;
	font-size: 1.24rem;
	font-weight: 600;
	color: var(--skills-accent);
	line-height: 1.3;
	display: flex;
	align-items: center;
	gap: 10px;
}

/* Above icons — placed before icons via order: -1 */
.skills-note--top {
	order: -1;
	align-self: flex-start;
	align-items: flex-end;
	padding-left: 8px;
	margin-bottom: 6px;
}

/* Below icons, arrow above text */
.skills-note--below {
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
	margin-top: 6px;
}

/* Below-right of icons */
.skills-note--bottom-right {
	align-self: flex-end;
	align-items: flex-start;
	text-align: left;
	margin-top: 10px;
	transform: translateX(18px);
}

/* Right of icons (inside side-note cluster) */
.skills-note--right {
	white-space: nowrap;
	align-items: center;
	transform: translateX(2px);
}

.skills-note__arrow {
	flex-shrink: 0;
	color: inherit;
}

.skills-note__arrow path {
	stroke: currentColor;
}

.skills-note--top .skills-note__arrow {
	width: 52px;
	height: auto;
}

.skills-note--bottom-right .skills-note__arrow {
	width: 46px;
	height: auto;
	margin-top: 4px;
}

.skills-note--below .skills-note__arrow {
	width: 30px;
	height: auto;
}

.skills-note--right .skills-note__arrow {
	width: 42px;
	height: auto;
}

.skills-note__arrow--mobile-digital {
	display: none;
}

/* ── Responsive ── */
@media (max-width: 700px) {
	.skills-row {
		gap: 2.5rem;
	}

	.skill-chip__icon {
		width: 52px;
		height: 52px;
		border-radius: 12px;
		padding: 4px;
	}

	.skill-chip__icon img {
		width: 100%;
		height: 100%;
	}

	.skills-cluster--side-note {
		flex-direction: column;
		align-items: center;
	}

	.skills-note--top,
	.skills-note--bottom-right,
	.skills-note--right {
		transform: none;
	}

	.skills-note--bottom-right,
	.skills-note--right {
		text-align: center;
		align-self: center;
	}

	.skills-note--right {
		white-space: normal;
	}

	.skills-note__arrow--desktop-digital {
		display: none;
	}

	.skills-note__arrow--mobile-digital {
		display: block;
		width: 52px;
		height: auto;
	}
}
