/*
Theme Name: Igneri Portfolio
Description: Portfolio Samuele Igneri
Version: 1.0.0
Text Domain: igneri-portfolio
*/

:root {
	--white: #ffffff;
	--black: #2c3442;
	--blue-accent: #6b94c8;
	--blue-accent-soft: #9eb8dc;
	--hero-name-color: #5a84b8;
	--glass-fill: rgba(255, 255, 255, 0.5);
	--glass-fill-hover: rgba(255, 255, 255, 0.82);
	--glass-border: rgba(255, 255, 255, 0.78);
	--glass-border-hover: rgba(196, 218, 245, 0.95);
	--glass-text: #556275;
	--glass-text-hover: #3d4f66;
	--glass-blur: 12px;
	--glass-glow: 0 10px 28px rgba(108, 145, 195, 0.18);
	--glass-glow-hover:
		0 14px 36px rgba(90, 130, 185, 0.28),
		0 4px 14px rgba(120, 165, 215, 0.14);
	--text-secondario: #7a8799;
	--card-text-primary: #ffffff;
	--card-chip-fill: #ffffff;
	--ariadimare-orange: #ff8f2a;
	--font-display: "Outfit", sans-serif;
	--font-body: "Anek Gurmukhi", sans-serif;
	--hero-nav-shift: 80px;
	--hero-btn-width-1: 140px;
	--hero-btn-width-2: 180px;
	--hero-btn-width-3: 220px;
	--hero-btn-gap: 20px;
	--btn-label-optical-shift: 3px;
	--chip-label-optical-shift: 2px;
	--card-height: 440px;
	--page-bg:
		radial-gradient(ellipse 110% 75% at 50% -5%, rgba(186, 212, 242, 0.45), transparent 58%),
		radial-gradient(ellipse 75% 65% at 12% 88%, rgba(165, 192, 228, 0.22), transparent 68%),
		radial-gradient(ellipse 70% 60% at 90% 78%, rgba(175, 200, 235, 0.2), transparent 65%),
		linear-gradient(168deg, #f0f3f8 0%, #e4eaf2 42%, #d9e2ec 100%);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	background: var(--page-bg);
	font-family: var(--font-body);
	font-weight: 400;
	color: var(--black);
}

body.home-animated {
	min-height: 100vh;
}

.home-intro {
	min-height: 100vh;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.hero-photo,
.page-main {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.hero-photo {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	padding: calc(1.5rem + 120px) 0 0;
}

.hero-photo::before,
.page-main::before {
	content: "";
	position: absolute;
	inset: -8%;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 52% 44% at 12% 28%, rgba(125, 195, 252, 0.52), transparent 72%),
		radial-gradient(ellipse 48% 40% at 88% 20%, rgba(168, 138, 242, 0.48), transparent 74%),
		radial-gradient(ellipse 50% 42% at 80% 72%, rgba(255, 168, 92, 0.46), transparent 72%),
		radial-gradient(ellipse 44% 38% at 18% 78%, rgba(255, 98, 108, 0.44), transparent 70%),
		radial-gradient(ellipse 40% 36% at 52% 42%, rgba(255, 152, 198, 0.42), transparent 68%),
		radial-gradient(ellipse 42% 34% at 68% 48%, rgba(255, 228, 132, 0.4), transparent 70%),
		radial-gradient(ellipse 46% 40% at 32% 52%, rgba(112, 212, 168, 0.44), transparent 72%),
		radial-gradient(ellipse 36% 30% at 45% 16%, rgba(148, 182, 255, 0.38), transparent 68%);
	opacity: 0;
	filter: saturate(0.88);
	animation: hero-ambient-bloom 40s linear forwards;
}

.hero-photo > *,
.page-main > * {
	position: relative;
	z-index: 1;
}

@keyframes hero-ambient-bloom {
	0% {
		opacity: 0;
		filter: saturate(0.88);
		transform: scale(1);
	}

	5% {
		opacity: 0.04;
		filter: saturate(0.9);
	}

	10% {
		opacity: 0.08;
		filter: saturate(0.92);
	}

	15% {
		opacity: 0.12;
		filter: saturate(0.94);
	}

	20% {
		opacity: 0.16;
		filter: saturate(0.96);
	}

	25% {
		opacity: 0.2;
		filter: saturate(0.98);
	}

	30% {
		opacity: 0.24;
		filter: saturate(1);
	}

	35% {
		opacity: 0.28;
		filter: saturate(1.02);
	}

	40% {
		opacity: 0.32;
		filter: saturate(1.04);
	}

	45% {
		opacity: 0.36;
		filter: saturate(1.06);
	}

	50% {
		opacity: 0.4;
		filter: saturate(1.08);
	}

	55% {
		opacity: 0.44;
		filter: saturate(1.1);
	}

	60% {
		opacity: 0.48;
		filter: saturate(1.11);
	}

	65% {
		opacity: 0.52;
		filter: saturate(1.13);
	}

	70% {
		opacity: 0.56;
		filter: saturate(1.14);
	}

	75% {
		opacity: 0.6;
		filter: saturate(1.15);
	}

	80% {
		opacity: 0.64;
		filter: saturate(1.16);
	}

	85% {
		opacity: 0.68;
		filter: saturate(1.17);
	}

	90% {
		opacity: 0.72;
		filter: saturate(1.18);
	}

	95% {
		opacity: 0.76;
		filter: saturate(1.19);
	}

	100% {
		opacity: 0.8;
		filter: saturate(1.2);
		transform: scale(1.02);
	}
}

.hero-photo__layout {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: clamp(0.35rem, 0.8vw, 0.65rem);
	max-width: 760px;
	margin: 0 auto;
	padding: 0 clamp(1rem, 3vw, 2rem);
}

.hero-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 auto;
}

.hero-photo__portrait {
	line-height: 0;
}

.hero-photo__img {
	width: auto;
	height: auto;
	max-width: min(332px, 32vw);
}

.hero-nav {
	flex: 0 0 auto;
	align-self: flex-start;
	padding-top: clamp(2rem, 6vh, 3.5rem);
}

.hero-nav__title {
	margin: 0 0 1rem;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--glass-text);
}

.hero-nav__list {
	display: flex;
	flex-direction: column;
	gap: var(--hero-btn-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.hero-nav__list li:nth-child(1) .hero-nav__btn {
	width: var(--hero-btn-width-1);
	min-width: var(--hero-btn-width-1);
}

.hero-nav__list li:nth-child(2) .hero-nav__btn {
	width: var(--hero-btn-width-2);
	min-width: var(--hero-btn-width-2);
}

.hero-nav__list li:nth-child(3) .hero-nav__btn {
	width: var(--hero-btn-width-3);
	min-width: var(--hero-btn-width-3);
}

.hero-nav__list li:nth-child(4) .hero-nav__btn {
	width: var(--hero-btn-width-2);
	min-width: var(--hero-btn-width-2);
}

.hero-nav--left .hero-nav__list {
	align-items: flex-end;
}

.hero-nav--right .hero-nav__list {
	align-items: flex-start;
}

.hero-nav--left .hero-nav__title {
	text-align: right;
}

.hero-nav--left {
	text-align: right;
}

@media (min-width: 901px) {
	.hero-nav--left {
		transform: translateX(calc(-1 * var(--hero-nav-shift)));
	}

	.hero-nav--right {
		transform: translateX(var(--hero-nav-shift));
	}

	.hero-nav--left .hero-nav__btn {
		justify-content: flex-end;
		padding: 12px 12px 12px 24px;
	}

	.hero-nav--right .hero-nav__btn {
		justify-content: flex-start;
		padding: 12px 24px 12px 12px;
	}
}

.hero-nav__btn {
	border: 1px solid var(--glass-border);
	background: var(--glass-fill);
	backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	box-shadow: var(--glass-glow), inset 0 1px 1px rgba(255, 255, 255, 0.65);
	border-radius: 8px;
}

.hero-name__content {
	flex: 1;
	width: 100%;
	border-top: 1px solid var(--glass-border);
	border-right: none;
	border-bottom: none;
	border-left: none;
	border-radius: 0;
	background: var(--glass-fill);
	backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	box-shadow: var(--glass-glow), inset 0 1px 1px rgba(255, 255, 255, 0.65);
}

.hero-nav__btn {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	padding: 12px 12px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	color: var(--glass-text);
	cursor: pointer;
	isolation: isolate;
	transition:
		transform 0.38s cubic-bezier(0.34, 1.4, 0.64, 1),
		background 0.35s ease,
		border-color 0.35s ease,
		box-shadow 0.35s ease,
		color 0.3s ease;
}

.hero-nav__btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.55) 0%,
		rgba(190, 215, 245, 0.2) 45%,
		rgba(255, 255, 255, 0.1) 100%
	);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.hero-nav__btn::after {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: -1;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(170, 200, 240, 0.5), rgba(220, 235, 255, 0.2));
	opacity: 0;
	transition: opacity 0.35s ease;
}

.hero-nav__btn .hero-nav__icon,
.hero-nav__btn .hero-nav__label {
	position: relative;
	z-index: 1;
}

.hero-nav__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 1.35rem;
	height: 1.35rem;
	color: var(--glass-text);
	transition:
		transform 0.38s cubic-bezier(0.34, 1.4, 0.64, 1),
		color 0.3s ease;
}

.hero-nav__icon-svg {
	width: 100%;
	height: 100%;
}

.hero-nav__label {
	display: inline-block;
	white-space: nowrap;
	line-height: 1;
	transform: translateY(var(--btn-label-optical-shift));
}

.hero-nav__btn:hover {
	background: var(--glass-fill-hover);
	border-color: var(--glass-border-hover);
	color: var(--glass-text-hover);
	box-shadow: var(--glass-glow-hover), inset 0 1px 1px rgba(255, 255, 255, 0.9);
	transform: translateY(-3px) scale(1.02);
}

.hero-nav__btn:hover::before {
	opacity: 1;
}

.hero-nav__btn:hover::after {
	opacity: 1;
}

.hero-nav__btn:hover .hero-nav__icon {
	transform: scale(1.12);
	color: var(--blue-accent);
}

.hero-nav__btn:active {
	transform: translateY(0) scale(0.99);
	box-shadow: var(--glass-glow), inset 0 1px 2px rgba(108, 145, 195, 0.12);
}

.hero-name__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: none;
	margin-top: 0;
	padding:
		20px
		clamp(1.5rem, 5vw, 3rem)
		clamp(2rem, 5vh, 3rem);
}

.hero-name__text {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--black);
}

.hero-name__role {
	margin: 8px 0 0;
	font-family: var(--font-body);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--glass-text);
}

.hero-name__bio {
	margin: 10px 0 0;
	max-width: min(42rem, 92vw);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	color: var(--glass-text);
}

.page-main {
	min-height: 100vh;
	background: var(--page-bg);
	color: var(--black);
}

.page-header {
	padding: 1.25rem clamp(1.5rem, 5vw, 3rem);
}

.page-header__back {
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	color: var(--black);
}

.page-header__back {
	transition: color 0.25s ease, opacity 0.25s ease;
}

.page-header__back:hover {
	color: var(--blue-accent);
	opacity: 1;
}

.page-content {
	padding: 0 clamp(1.5rem, 5vw, 3rem) 3rem;
	max-width: 800px;
}

.page-content__title {
	margin: 0 0 1.5rem;
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 2.75rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.page-content__body {
	font-family: var(--font-body);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.55;
}

.page-content__placeholder {
	margin: 0;
	color: var(--text-secondario);
}

.contacts-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contacts-list__item {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.15rem 1.25rem;
	border: 1px solid var(--glass-border);
	border-radius: 12px;
	background: var(--glass-fill);
	backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	box-shadow: var(--glass-glow), inset 0 1px 1px rgba(255, 255, 255, 0.65);
}

.contacts-list__label {
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	color: var(--text-secondario);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.contacts-list__value {
	font-family: var(--font-display);
	font-size: clamp(1.1rem, 2.5vw, 1.35rem);
	font-weight: 600;
	line-height: 1.25;
	color: var(--hero-name-color);
	text-decoration: none;
	transition: color 0.25s ease;
}

.contacts-list__value:hover {
	color: var(--blue-accent);
}

.altro-message {
	margin: 0;
	padding: 1.25rem 1.35rem;
	border: 1px solid var(--glass-border);
	border-radius: 12px;
	background: var(--glass-fill);
	backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	box-shadow: var(--glass-glow), inset 0 1px 1px rgba(255, 255, 255, 0.65);
	font-size: 18px;
	line-height: 1.6;
	color: var(--glass-text);
}

.altro-message__link {
	font-weight: 600;
	color: var(--hero-name-color);
	text-decoration: underline;
	text-underline-offset: 0.18em;
	transition: color 0.25s ease;
}

.altro-message__link:hover {
	color: var(--blue-accent);
}

.page-content--wide {
	max-width: 1080px;
}

.site-page--websites .page-content--wide {
	max-width: min(1480px, calc(340px * 4 + 1.25rem * 3));
}

.site-page--social .page-content--wide {
	max-width: min(1480px, calc(340px * 2 + 1.25rem));
}

.site-page--certifications .page-content--wide {
	max-width: min(1480px, calc(340px * 2 + 1.25rem));
}

.social-graphics-grid,
.certifications-grid {
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

@media (min-width: 780px) {
	.social-graphics-grid,
	.certifications-grid {
		grid-template-columns: repeat(2, minmax(340px, 1fr));
	}
}

/* ── Siti Web: archivio schede ── */

.websites-archive__header {
	margin-bottom: 2rem;
}

.websites-archive__intro {
	margin: 0;
	max-width: 38rem;
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.55;
	color: var(--text-secondario);
}

.websites-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 1.25rem;
}

@media (min-width: 1480px) {
	.websites-grid {
		grid-template-columns: repeat(4, minmax(340px, 1fr));
	}
}

.website-card {
	height: var(--card-height);
}

.website-card__link {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	height: 100%;
	min-height: var(--card-height);
	padding: 1.35rem 1.35rem 1.15rem;
	border: 1px solid var(--glass-border);
	border-radius: 12px;
	background: var(--glass-fill);
	backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	box-shadow: var(--glass-glow), inset 0 1px 1px rgba(255, 255, 255, 0.65);
	color: inherit;
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
	transition:
		transform 0.38s cubic-bezier(0.34, 1.4, 0.64, 1),
		background 0.35s ease,
		border-color 0.35s ease,
		box-shadow 0.35s ease;
}

.website-card__link::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.55) 0%,
		rgba(190, 215, 245, 0.18) 50%,
		rgba(255, 255, 255, 0.08) 100%
	);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.website-card__link:hover {
	background: var(--glass-fill-hover);
	border-color: var(--glass-border-hover);
	box-shadow: var(--glass-glow-hover), inset 0 1px 1px rgba(255, 255, 255, 0.9);
	transform: translateY(-4px);
}

.website-card__link:hover::before {
	opacity: 1;
}

.website-card__logo,
.website-card__body,
.website-card__cta {
	position: relative;
	z-index: 1;
}

.website-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}

.website-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.55);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.website-card__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.website-card__logo--dark,
.website-case__logo--dark {
	background: #000000;
	box-shadow: none;
	overflow: hidden;
}

.website-card__logo--round {
	width: 3.5rem;
	height: 3.5rem;
	padding: 0.45rem;
	border-radius: 50%;
}

.website-card__logo--wide {
	width: auto;
	min-width: 9.5rem;
	max-width: 11.5rem;
	height: 3.75rem;
	padding: 0.45rem 0.85rem;
}

.website-case__logo--round {
	width: 4.5rem;
	height: 4.5rem;
	padding: 0.55rem;
	border-radius: 50%;
}

.website-case__logo--wide {
	width: auto;
	min-width: 11rem;
	max-width: 13rem;
	height: 4.5rem;
	padding: 0.55rem 1rem;
}

.website-card__logo--round img,
.website-case__logo--round img,
.website-card__logo--wide img,
.website-case__logo--wide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.website-card__logo--zoom {
	padding: 0;
	overflow: hidden;
}

.website-card__logo--zoom img {
	object-fit: cover;
	transform: scale(1.55);
	transform-origin: center 54%;
}

.website-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	margin-bottom: 0.35rem;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	color: var(--blue-accent);
}

.website-card__year::after {
	content: "·";
	margin-left: 0.75rem;
	color: var(--text-secondario);
}

.website-card__client {
	color: var(--text-secondario);
}

.website-card__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--hero-name-color);
}

.website-card__role {
	margin: 0.35rem 0 0;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	color: var(--glass-text);
}

.website-card__excerpt {
	margin: 0.65rem 0 0;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.5;
	color: var(--text-secondario);
	flex: 1;
	min-height: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 6;
}

.website-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-start;
	flex-shrink: 0;
	margin: 0.85rem 0 0;
	padding: 0;
	list-style: none;
}

.website-card__tags li,
.website-case__tools li {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	width: max-content;
	max-width: 100%;
	gap: 0.35rem;
	padding: 8px 48px 8px 12px;
	border-radius: 999px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 12px;
	line-height: 1;
	color: var(--glass-text);
}

.tool-chip__icon {
	display: block;
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	margin: 0;
	object-fit: contain;
}

.tool-chip__label {
	display: block;
	line-height: 1;
	transform: translateY(var(--chip-label-optical-shift));
}

.website-card__tags li {
	border: 1px solid var(--glass-border);
	background: var(--card-chip-fill);
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.65);
}

.website-card__cta {
	display: inline-block;
	align-self: flex-start;
	margin-top: auto;
	padding: 0;
	border: none;
	background: none;
	box-shadow: none;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
	text-decoration-color: rgba(255, 255, 255, 0.65);
	transition:
		color 0.3s ease,
		text-decoration-color 0.3s ease;
}

.website-card__link:hover .website-card__cta {
	color: #ffffff;
	text-decoration-color: rgba(255, 255, 255, 0.9);
}

.website-case__tools li,
.website-case__live-link {
	backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

/* Testo bianco su schede con fill brand (opacità max 24%) */

.website-card--autokurti .website-card__title,
.website-card--ariadimare .website-card__title,
.website-card--stelledoro .website-card__title,
.website-card--radartech .website-card__title,
.website-card--psp .website-card__title,
.website-card--sultura .website-card__title,
.website-card--musa .website-card__title,
.website-card--formatemp .website-card__title,
.website-card--fisiogest .website-card__title,
.website-card--clinicsoul .website-card__title,
.website-card--adobe-photoshop .website-card__title,
.website-card--adobe-illustrator .website-card__title {
	color: var(--card-text-primary);
}

.website-card--autokurti .website-card__meta,
.website-card--autokurti .website-card__year,
.website-card--autokurti .website-card__client,
.website-card--autokurti .website-card__role {
	color: rgba(255, 255, 255, 0.9);
}

.website-card--autokurti .website-card__year::after,
.website-card--autokurti .website-card__excerpt {
	color: rgba(255, 255, 255, 0.76);
}

.website-card--ariadimare .website-card__meta,
.website-card--ariadimare .website-card__year,
.website-card--ariadimare .website-card__client,
.website-card--ariadimare .website-card__role {
	color: rgba(255, 255, 255, 0.92);
}

.website-card--ariadimare .website-card__year::after,
.website-card--ariadimare .website-card__excerpt {
	color: rgba(255, 255, 255, 0.8);
}

.website-card--stelledoro .website-card__meta,
.website-card--stelledoro .website-card__year,
.website-card--stelledoro .website-card__client,
.website-card--stelledoro .website-card__role {
	color: rgba(255, 255, 255, 0.9);
}

.website-card--stelledoro .website-card__year::after,
.website-card--stelledoro .website-card__excerpt {
	color: rgba(255, 255, 255, 0.76);
}

.website-card--radartech .website-card__meta,
.website-card--radartech .website-card__year,
.website-card--radartech .website-card__client,
.website-card--radartech .website-card__role {
	color: rgba(255, 255, 255, 0.9);
}

.website-card--radartech .website-card__year::after,
.website-card--radartech .website-card__excerpt {
	color: rgba(255, 255, 255, 0.76);
}

.website-card--psp .website-card__meta,
.website-card--psp .website-card__year,
.website-card--psp .website-card__client,
.website-card--psp .website-card__role {
	color: rgba(255, 255, 255, 0.9);
}

.website-card--psp .website-card__year::after,
.website-card--psp .website-card__excerpt {
	color: rgba(255, 255, 255, 0.76);
}

.website-card--sultura .website-card__meta,
.website-card--sultura .website-card__year,
.website-card--sultura .website-card__client,
.website-card--sultura .website-card__role {
	color: rgba(255, 255, 255, 0.9);
}

.website-card--sultura .website-card__year::after,
.website-card--sultura .website-card__excerpt {
	color: rgba(255, 255, 255, 0.76);
}

.website-card--musa .website-card__meta,
.website-card--musa .website-card__year,
.website-card--musa .website-card__client,
.website-card--musa .website-card__role {
	color: rgba(255, 255, 255, 0.9);
}

.website-card--musa .website-card__year::after,
.website-card--musa .website-card__excerpt {
	color: rgba(255, 255, 255, 0.76);
}

.website-card--formatemp .website-card__meta,
.website-card--formatemp .website-card__year,
.website-card--formatemp .website-card__client,
.website-card--formatemp .website-card__role,
.website-card--fisiogest .website-card__meta,
.website-card--fisiogest .website-card__year,
.website-card--fisiogest .website-card__client,
.website-card--fisiogest .website-card__role,
.website-card--clinicsoul .website-card__meta,
.website-card--clinicsoul .website-card__year,
.website-card--clinicsoul .website-card__client,
.website-card--clinicsoul .website-card__role {
	color: rgba(255, 255, 255, 0.9);
}

.website-card--formatemp .website-card__year::after,
.website-card--formatemp .website-card__excerpt,
.website-card--fisiogest .website-card__year::after,
.website-card--fisiogest .website-card__excerpt,
.website-card--clinicsoul .website-card__year::after,
.website-card--clinicsoul .website-card__excerpt {
	color: rgba(255, 255, 255, 0.76);
}

.website-card--adobe-photoshop .website-card__meta,
.website-card--adobe-photoshop .website-card__year,
.website-card--adobe-photoshop .website-card__client,
.website-card--adobe-photoshop .website-card__role {
	color: rgba(255, 255, 255, 0.9);
}

.website-card--adobe-photoshop .website-card__year::after,
.website-card--adobe-photoshop .website-card__excerpt {
	color: rgba(255, 255, 255, 0.76);
}

.website-card--adobe-illustrator .website-card__meta,
.website-card--adobe-illustrator .website-card__year,
.website-card--adobe-illustrator .website-card__client,
.website-card--adobe-illustrator .website-card__role {
	color: rgba(255, 255, 255, 0.9);
}

.website-card--adobe-illustrator .website-card__year::after,
.website-card--adobe-illustrator .website-card__excerpt {
	color: rgba(255, 255, 255, 0.76);
}

.website-card--autokurti .website-card__link:hover .website-card__title,
.website-card--autokurti .website-card__link:hover .website-card__meta,
.website-card--autokurti .website-card__link:hover .website-card__year,
.website-card--autokurti .website-card__link:hover .website-card__year::after,
.website-card--autokurti .website-card__link:hover .website-card__client,
.website-card--autokurti .website-card__link:hover .website-card__role,
.website-card--autokurti .website-card__link:hover .website-card__excerpt,
.website-card--ariadimare .website-card__link:hover .website-card__title,
.website-card--ariadimare .website-card__link:hover .website-card__meta,
.website-card--ariadimare .website-card__link:hover .website-card__year,
.website-card--ariadimare .website-card__link:hover .website-card__year::after,
.website-card--ariadimare .website-card__link:hover .website-card__client,
.website-card--ariadimare .website-card__link:hover .website-card__role,
.website-card--ariadimare .website-card__link:hover .website-card__excerpt,
.website-card--stelledoro .website-card__link:hover .website-card__title,
.website-card--stelledoro .website-card__link:hover .website-card__meta,
.website-card--stelledoro .website-card__link:hover .website-card__year,
.website-card--stelledoro .website-card__link:hover .website-card__year::after,
.website-card--stelledoro .website-card__link:hover .website-card__client,
.website-card--stelledoro .website-card__link:hover .website-card__role,
.website-card--stelledoro .website-card__link:hover .website-card__excerpt,
.website-card--radartech .website-card__link:hover .website-card__title,
.website-card--radartech .website-card__link:hover .website-card__meta,
.website-card--radartech .website-card__link:hover .website-card__year,
.website-card--radartech .website-card__link:hover .website-card__year::after,
.website-card--radartech .website-card__link:hover .website-card__client,
.website-card--radartech .website-card__link:hover .website-card__role,
.website-card--radartech .website-card__link:hover .website-card__excerpt,
.website-card--psp .website-card__link:hover .website-card__title,
.website-card--psp .website-card__link:hover .website-card__meta,
.website-card--psp .website-card__link:hover .website-card__year,
.website-card--psp .website-card__link:hover .website-card__year::after,
.website-card--psp .website-card__link:hover .website-card__client,
.website-card--psp .website-card__link:hover .website-card__role,
.website-card--psp .website-card__link:hover .website-card__excerpt,
.website-card--sultura .website-card__link:hover .website-card__title,
.website-card--sultura .website-card__link:hover .website-card__meta,
.website-card--sultura .website-card__link:hover .website-card__year,
.website-card--sultura .website-card__link:hover .website-card__year::after,
.website-card--sultura .website-card__link:hover .website-card__client,
.website-card--sultura .website-card__link:hover .website-card__role,
.website-card--sultura .website-card__link:hover .website-card__excerpt,
.website-card--musa .website-card__link:hover .website-card__title,
.website-card--musa .website-card__link:hover .website-card__meta,
.website-card--musa .website-card__link:hover .website-card__year,
.website-card--musa .website-card__link:hover .website-card__year::after,
.website-card--musa .website-card__link:hover .website-card__client,
.website-card--musa .website-card__link:hover .website-card__role,
.website-card--musa .website-card__link:hover .website-card__excerpt,
.website-card--formatemp .website-card__link:hover .website-card__title,
.website-card--formatemp .website-card__link:hover .website-card__meta,
.website-card--formatemp .website-card__link:hover .website-card__year,
.website-card--formatemp .website-card__link:hover .website-card__year::after,
.website-card--formatemp .website-card__link:hover .website-card__client,
.website-card--formatemp .website-card__link:hover .website-card__role,
.website-card--formatemp .website-card__link:hover .website-card__excerpt,
.website-card--fisiogest .website-card__link:hover .website-card__title,
.website-card--fisiogest .website-card__link:hover .website-card__meta,
.website-card--fisiogest .website-card__link:hover .website-card__year,
.website-card--fisiogest .website-card__link:hover .website-card__year::after,
.website-card--fisiogest .website-card__link:hover .website-card__client,
.website-card--fisiogest .website-card__link:hover .website-card__role,
.website-card--fisiogest .website-card__link:hover .website-card__excerpt,
.website-card--clinicsoul .website-card__link:hover .website-card__title,
.website-card--clinicsoul .website-card__link:hover .website-card__meta,
.website-card--clinicsoul .website-card__link:hover .website-card__year,
.website-card--clinicsoul .website-card__link:hover .website-card__year::after,
.website-card--clinicsoul .website-card__link:hover .website-card__client,
.website-card--clinicsoul .website-card__link:hover .website-card__role,
.website-card--clinicsoul .website-card__link:hover .website-card__excerpt,
.website-card--adobe-photoshop .website-card__link:hover .website-card__title,
.website-card--adobe-photoshop .website-card__link:hover .website-card__meta,
.website-card--adobe-photoshop .website-card__link:hover .website-card__year,
.website-card--adobe-photoshop .website-card__link:hover .website-card__year::after,
.website-card--adobe-photoshop .website-card__link:hover .website-card__client,
.website-card--adobe-photoshop .website-card__link:hover .website-card__role,
.website-card--adobe-photoshop .website-card__link:hover .website-card__excerpt,
.website-card--adobe-illustrator .website-card__link:hover .website-card__title,
.website-card--adobe-illustrator .website-card__link:hover .website-card__meta,
.website-card--adobe-illustrator .website-card__link:hover .website-card__year,
.website-card--adobe-illustrator .website-card__link:hover .website-card__year::after,
.website-card--adobe-illustrator .website-card__link:hover .website-card__client,
.website-card--adobe-illustrator .website-card__link:hover .website-card__role,
.website-card--adobe-illustrator .website-card__link:hover .website-card__excerpt {
	color: #ffffff;
}

/* ── Brand: Autokurti (nero · bianco + glass) ── */

.website-card--autokurti .website-card__link {
	background: rgba(0, 0, 0, 0.55);
	border-color: rgba(255, 255, 255, 0.5);
	box-shadow:
		0 10px 28px rgba(0, 0, 0, 0.28),
		inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.website-card--autokurti .website-card__link::before {
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.1) 0%,
		rgba(255, 255, 255, 0.04) 45%,
		rgba(0, 0, 0, 0.12) 100%
	);
}

.website-card--autokurti .website-card__link:hover {
	background: rgba(0, 0, 0, 0.72);
	border-color: rgba(255, 255, 255, 0.65);
	box-shadow:
		0 14px 36px rgba(0, 0, 0, 0.32),
		inset 0 1px 1px rgba(255, 255, 255, 0.14);
}

.website-card--autokurti .website-card__link:hover::before {
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.18) 0%,
		rgba(255, 13, 25, 0.12) 42%,
		rgba(0, 0, 0, 0.2) 100%
	);
}

/* ── Brand: Aria di Mare (#82696b · #39469D · #BD711D + glass) ── */

.website-card--ariadimare .website-card__link {
	background: rgba(52, 92, 168, 0.6);
	border-color: rgba(255, 255, 255, 0.5);
	box-shadow:
		0 10px 28px rgba(57, 70, 157, 0.24),
		inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.website-card--ariadimare .website-card__link::before {
	background: linear-gradient(
		125deg,
		rgba(100, 165, 220, 0.18) 0%,
		rgba(57, 70, 157, 0.32) 48%,
		rgba(72, 138, 205, 0.16) 100%
	);
}

.website-card--ariadimare .website-card__link:hover {
	background: rgba(45, 78, 148, 0.72);
	border-color: rgba(255, 255, 255, 0.65);
	box-shadow:
		0 14px 36px rgba(255, 143, 42, 0.2),
		0 8px 24px rgba(57, 70, 157, 0.26),
		inset 0 1px 1px rgba(255, 255, 255, 0.16);
}

.website-card--ariadimare .website-card__link:hover::before {
	background: linear-gradient(
		125deg,
		rgba(255, 143, 42, 0.4) 0%,
		rgba(57, 70, 157, 0.42) 44%,
		rgba(80, 130, 195, 0.22) 72%,
		rgba(45, 68, 140, 0.28) 100%
	);
}

.website-card--ariadimare .website-card__logo--round,
.website-case--ariadimare .website-case__logo--round {
	background: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ── Brand: 4 Stelle d'Oro (giallo · rossastro hover) ── */

.website-card--stelledoro .website-card__link {
	background: rgba(235, 178, 42, 0.58);
	border-color: rgba(255, 255, 255, 0.5);
	box-shadow:
		0 10px 28px rgba(220, 165, 30, 0.22),
		inset 0 1px 1px rgba(255, 255, 255, 0.14);
}

.website-card--stelledoro .website-card__link::before {
	background: linear-gradient(
		125deg,
		rgba(255, 232, 140, 0.28) 0%,
		rgba(240, 185, 50, 0.22) 48%,
		rgba(210, 150, 35, 0.16) 100%
	);
}

.website-card--stelledoro .website-card__link:hover {
	background: rgba(220, 155, 35, 0.68);
	border-color: rgba(255, 255, 255, 0.65);
	box-shadow:
		0 14px 36px rgba(210, 70, 55, 0.22),
		0 8px 24px rgba(220, 165, 30, 0.2),
		inset 0 1px 1px rgba(255, 255, 255, 0.16);
}

.website-card--stelledoro .website-card__link:hover::before {
	background: linear-gradient(
		125deg,
		rgba(225, 85, 65, 0.36) 0%,
		rgba(235, 120, 55, 0.28) 34%,
		rgba(245, 195, 70, 0.22) 68%,
		rgba(200, 140, 30, 0.24) 100%
	);
}

.website-card--stelledoro .website-card__logo--round,
.website-case--stelledoro .website-case__logo--round {
	background: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ── Brand: Radar Tech (viola · nero + viola hover) ── */

.website-card--radartech .website-card__link {
	background: rgba(44, 30, 72, 0.6);
	border-color: rgba(255, 255, 255, 0.5);
	box-shadow:
		0 10px 28px rgba(90, 50, 160, 0.22),
		inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.website-card--radartech .website-card__link::before {
	background: linear-gradient(
		125deg,
		rgba(155, 109, 255, 0.16) 0%,
		rgba(75, 45, 130, 0.28) 48%,
		rgba(22, 14, 38, 0.2) 100%
	);
}

.website-card--radartech .website-card__link:hover {
	background: rgba(22, 14, 38, 0.74);
	border-color: rgba(255, 255, 255, 0.65);
	box-shadow:
		0 14px 36px rgba(120, 60, 200, 0.28),
		0 8px 24px rgba(0, 0, 0, 0.32),
		inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.website-card--radartech .website-card__link:hover::before {
	background: linear-gradient(
		125deg,
		rgba(155, 109, 255, 0.38) 0%,
		rgba(90, 50, 170, 0.34) 38%,
		rgba(30, 18, 48, 0.28) 72%,
		rgba(8, 6, 14, 0.32) 100%
	);
}

.website-card--radartech .website-card__logo--round,
.website-case--radartech .website-case__logo--round {
	background: #000000;
	border: 1px solid rgba(255, 255, 255, 0.5);
	box-shadow: 0 0 18px rgba(155, 109, 255, 0.15);
}

/* ── Brand: PSP calcio a 7 (nero · hover blu) ── */

.website-card--psp .website-card__link {
	background: rgba(0, 0, 0, 0.72);
	border-color: rgba(255, 255, 255, 0.5);
	box-shadow:
		0 10px 28px rgba(0, 0, 0, 0.28),
		inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.website-card--psp .website-card__link::before {
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.08) 0%,
		rgba(255, 255, 255, 0.03) 45%,
		rgba(0, 0, 0, 0.14) 100%
	);
	opacity: 0;
}

.website-card--psp .website-card__link:hover {
	background: rgba(0, 0, 0, 0.82);
	border-color: rgba(255, 255, 255, 0.65);
	box-shadow:
		0 14px 36px rgba(90, 132, 184, 0.28),
		0 8px 24px rgba(0, 0, 0, 0.32),
		inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.website-card--psp .website-card__link:hover::before {
	opacity: 1;
	background: linear-gradient(
		125deg,
		rgba(90, 132, 184, 0.42) 0%,
		rgba(107, 148, 200, 0.34) 38%,
		rgba(62, 98, 158, 0.3) 68%,
		rgba(0, 0, 0, 0.22) 100%
	);
}

.website-card--psp .website-card__logo--round {
	background: #000000;
	border: 1px solid rgba(255, 255, 255, 0.45);
	box-shadow: none;
}

.website-card--psp .website-card__logo--zoom img {
	object-fit: cover;
	transform: scale(1.08);
	transform-origin: center;
}

/* ── Brand: Concerti Cultura (blu scuro · logo #00aeef) ── */

.website-card--sultura .website-card__link {
	background: rgba(0, 102, 158, 0.84);
	border-color: rgba(255, 255, 255, 0.5);
	box-shadow:
		0 10px 28px rgba(0, 82, 130, 0.28),
		inset 0 1px 1px rgba(255, 255, 255, 0.14);
}

.website-card--sultura .website-card__link::before {
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.12) 0%,
		rgba(0, 130, 190, 0.14) 45%,
		rgba(0, 72, 120, 0.18) 100%
	);
}

.website-card--sultura .website-card__link:hover {
	background: rgba(0, 82, 130, 0.92);
	border-color: rgba(255, 255, 255, 0.65);
	box-shadow:
		0 14px 36px rgba(0, 68, 112, 0.34),
		0 8px 24px rgba(0, 0, 0, 0.2),
		inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

.website-card--sultura .website-card__link:hover::before {
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.16) 0%,
		rgba(0, 140, 200, 0.2) 38%,
		rgba(0, 88, 145, 0.3) 72%,
		rgba(0, 58, 98, 0.28) 100%
	);
}

.website-card--sultura .website-card__logo--round {
	background: #00aeef;
	border: 1px solid rgba(255, 255, 255, 0.45);
	box-shadow: none;
}

.website-card--sultura .website-card__logo--zoom img {
	transform: scale(1.65);
	transform-origin: center 56%;
}

/* ── Brand: Musa Formazione (blu #1e81c4 · arancione #f38221) ── */

.website-card--musa .website-card__link {
	background: rgba(30, 129, 196, 0.84);
	border-color: rgba(255, 255, 255, 0.5);
	box-shadow:
		0 10px 28px rgba(30, 129, 196, 0.26),
		inset 0 1px 1px rgba(255, 255, 255, 0.14);
}

.website-card--musa .website-card__link::before {
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.14) 0%,
		rgba(30, 129, 196, 0.16) 45%,
		rgba(18, 96, 150, 0.14) 100%
	);
}

.website-card--musa .website-card__link:hover {
	background: rgba(18, 96, 150, 0.92);
	border-color: rgba(255, 255, 255, 0.65);
	box-shadow:
		0 14px 36px rgba(30, 129, 196, 0.32),
		0 8px 24px rgba(0, 0, 0, 0.2),
		inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

.website-card--musa .website-card__link:hover::before {
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.18) 0%,
		rgba(243, 130, 33, 0.34) 34%,
		rgba(30, 129, 196, 0.28) 68%,
		rgba(14, 78, 122, 0.26) 100%
	);
}

.website-card--musa .website-card__logo--round {
	background: #1e81c4;
	border: 1px solid rgba(255, 255, 255, 0.45);
	box-shadow: none;
}

.website-card--musa .website-card__logo--zoom img {
	transform: scale(1.35);
	transform-origin: center 48%;
}

/* ── Brand: Formatemp x Masamune (verde #4a7d34 · #82b541) ── */

.website-card--formatemp .website-card__link {
	background: rgba(74, 125, 52, 0.84);
	border-color: rgba(255, 255, 255, 0.5);
	box-shadow:
		0 10px 28px rgba(74, 125, 52, 0.26),
		inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.website-card--formatemp .website-card__link::before {
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.12) 0%,
		rgba(130, 181, 65, 0.18) 45%,
		rgba(52, 90, 38, 0.16) 100%
	);
}

.website-card--formatemp .website-card__link:hover {
	background: rgba(52, 90, 38, 0.92);
	border-color: rgba(255, 255, 255, 0.65);
	box-shadow:
		0 14px 36px rgba(74, 125, 52, 0.32),
		0 8px 24px rgba(0, 0, 0, 0.2),
		inset 0 1px 1px rgba(255, 255, 255, 0.16);
}

.website-card--formatemp .website-card__link:hover::before {
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.16) 0%,
		rgba(130, 181, 65, 0.32) 38%,
		rgba(74, 125, 52, 0.3) 72%,
		rgba(36, 62, 26, 0.28) 100%
	);
}

.website-card--formatemp .website-card__logo--round {
	padding: 0.4rem;
	background: #000000;
	border: 1px solid rgba(255, 255, 255, 0.35);
	box-shadow: none;
	overflow: hidden;
}

.website-card--formatemp .website-card__logo--zoom img {
	object-fit: contain;
	transform: none;
}

/* ── Brand: Fisiogest (verde logo #22b97a) ── */

.website-card--fisiogest .website-card__link {
	background: rgba(34, 185, 122, 0.84);
	border-color: rgba(255, 255, 255, 0.5);
	box-shadow:
		0 10px 28px rgba(34, 185, 122, 0.26),
		inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.website-card--fisiogest .website-card__link::before {
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.12) 0%,
		rgba(34, 185, 122, 0.18) 45%,
		rgba(20, 130, 86, 0.16) 100%
	);
}

.website-card--fisiogest .website-card__link:hover {
	background: rgba(20, 130, 86, 0.92);
	border-color: rgba(255, 255, 255, 0.65);
	box-shadow:
		0 14px 36px rgba(34, 185, 122, 0.32),
		0 8px 24px rgba(0, 0, 0, 0.2),
		inset 0 1px 1px rgba(255, 255, 255, 0.16);
}

.website-card--fisiogest .website-card__link:hover::before {
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.16) 0%,
		rgba(34, 185, 122, 0.32) 38%,
		rgba(20, 130, 86, 0.3) 72%,
		rgba(14, 96, 64, 0.28) 100%
	);
}

.website-card--fisiogest .website-card__logo--round {
	padding: 0;
	background: #22b97a;
	border: 1px solid rgba(255, 255, 255, 0.35);
	box-shadow: none;
	overflow: hidden;
}

.website-card--fisiogest .website-card__logo--round img {
	object-fit: cover;
}

/* ── Brand: ClinicSoul (gradiente logo: magenta · viola · cyan · navy) ── */

.website-card--clinicsoul .website-card__link {
	background: linear-gradient(
		132deg,
		rgba(232, 23, 143, 0.9) 0%,
		rgba(168, 85, 247, 0.88) 30%,
		rgba(34, 211, 238, 0.86) 62%,
		rgba(30, 58, 138, 0.92) 100%
	);
	border-color: rgba(255, 255, 255, 0.52);
	box-shadow:
		0 10px 28px rgba(232, 23, 143, 0.22),
		0 8px 22px rgba(34, 211, 238, 0.16),
		inset 0 1px 1px rgba(255, 255, 255, 0.14);
}

.website-card--clinicsoul .website-card__link::before {
	background: linear-gradient(
		132deg,
		rgba(255, 255, 255, 0.14) 0%,
		rgba(232, 23, 143, 0.12) 22%,
		rgba(168, 85, 247, 0.1) 45%,
		rgba(34, 211, 238, 0.14) 68%,
		rgba(30, 58, 138, 0.18) 100%
	);
}

.website-card--clinicsoul .website-card__link:hover {
	background: linear-gradient(
		132deg,
		rgba(219, 18, 132, 0.94) 0%,
		rgba(147, 51, 234, 0.92) 26%,
		rgba(6, 182, 212, 0.9) 58%,
		rgba(23, 37, 84, 0.96) 100%
	);
	border-color: rgba(255, 255, 255, 0.68);
	box-shadow:
		0 14px 36px rgba(232, 23, 143, 0.28),
		0 10px 28px rgba(34, 211, 238, 0.22),
		0 8px 24px rgba(30, 58, 138, 0.24),
		inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

.website-card--clinicsoul .website-card__link:hover::before {
	background: linear-gradient(
		132deg,
		rgba(255, 255, 255, 0.16) 0%,
		rgba(244, 114, 182, 0.22) 20%,
		rgba(168, 85, 247, 0.2) 42%,
		rgba(56, 189, 248, 0.24) 66%,
		rgba(30, 64, 175, 0.28) 100%
	);
}

.website-card--clinicsoul .website-card__logo--round {
	padding: 0.35rem;
	background: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.55);
	box-shadow: none;
	overflow: hidden;
}

.website-card--clinicsoul .website-card__logo--zoom img {
	object-fit: contain;
	transform: scale(1.08);
}

/* ── Brand: Adobe Certified Professional – Photoshop ── */

.website-card--adobe-photoshop .website-card__link {
	background: rgba(0, 30, 54, 0.92);
	border-color: rgba(49, 168, 255, 0.35);
	box-shadow:
		0 10px 28px rgba(0, 30, 54, 0.34),
		inset 0 1px 1px rgba(49, 168, 255, 0.12);
}

.website-card--adobe-photoshop .website-card__link::before {
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.1) 0%,
		rgba(49, 168, 255, 0.16) 45%,
		rgba(0, 20, 40, 0.18) 100%
	);
}

.website-card--adobe-photoshop .website-card__link:hover {
	background: rgba(0, 20, 40, 0.94);
	border-color: rgba(255, 255, 255, 0.65);
	box-shadow:
		0 14px 36px rgba(49, 168, 255, 0.22),
		0 8px 24px rgba(0, 0, 0, 0.24),
		inset 0 1px 1px rgba(255, 255, 255, 0.14);
}

.website-card--adobe-photoshop .website-card__link:hover::before {
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.14) 0%,
		rgba(49, 168, 255, 0.32) 38%,
		rgba(0, 80, 145, 0.28) 72%,
		rgba(0, 20, 40, 0.3) 100%
	);
}

.website-card--adobe-photoshop .website-card__logo--round,
.website-card--adobe-illustrator .website-card__logo--round {
	padding: 0;
	overflow: hidden;
}

.website-card--adobe-photoshop .website-card__logo--round {
	background: #001e36;
	border: 1px solid rgba(49, 168, 255, 0.35);
	box-shadow: none;
}

.website-card--adobe-photoshop .website-card__logo--round img,
.website-card--adobe-illustrator .website-card__logo--round img {
	object-fit: cover;
}

/* ── Brand: Adobe Certified Professional – Illustrator ── */

.website-card--adobe-illustrator .website-card__link {
	background: rgba(49, 0, 0, 0.92);
	border-color: rgba(255, 154, 0, 0.35);
	box-shadow:
		0 10px 28px rgba(49, 0, 0, 0.34),
		inset 0 1px 1px rgba(255, 154, 0, 0.12);
}

.website-card--adobe-illustrator .website-card__link::before {
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.1) 0%,
		rgba(255, 154, 0, 0.16) 45%,
		rgba(40, 8, 0, 0.18) 100%
	);
}

.website-card--adobe-illustrator .website-card__link:hover {
	background: rgba(35, 0, 0, 0.96);
	border-color: rgba(255, 255, 255, 0.65);
	box-shadow:
		0 14px 36px rgba(255, 154, 0, 0.22),
		0 8px 24px rgba(0, 0, 0, 0.24),
		inset 0 1px 1px rgba(255, 255, 255, 0.14);
}

.website-card--adobe-illustrator .website-card__link:hover::before {
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.14) 0%,
		rgba(255, 154, 0, 0.34) 38%,
		rgba(140, 50, 0, 0.28) 72%,
		rgba(40, 8, 0, 0.3) 100%
	);
}

.website-card--adobe-illustrator .website-card__logo--round {
	background: #310000;
	border: 1px solid rgba(255, 154, 0, 0.35);
	box-shadow: none;
}

/* ── Siti Web: case study singolo ── */

.website-case__hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 1.5rem;
	margin-bottom: 1.75rem;
	padding: 1.5rem;
	border: 1px solid var(--glass-border);
	border-radius: 14px;
	background: var(--glass-fill);
	backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	box-shadow: var(--glass-glow), inset 0 1px 1px rgba(255, 255, 255, 0.65);
}

.website-case__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.55);
}

.website-case__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.website-case__eyebrow {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.85rem;
	margin: 0 0 0.4rem;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	color: var(--blue-accent);
}

.website-case__eyebrow span:last-child {
	color: var(--text-secondario);
}

.website-case__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.6rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--hero-name-color);
}

.website-case__role {
	margin: 0.45rem 0 0;
	font-family: var(--font-body);
	font-size: 18px;
	font-weight: 500;
	color: var(--glass-text);
}

.website-case__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0.85rem;
	margin: 0 0 1.25rem;
}

.website-case__fact {
	padding: 0.9rem 1rem;
	border: 1px solid var(--glass-border);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.38);
}

.website-case__fact dt {
	margin: 0 0 0.25rem;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--text-secondario);
}

.website-case__fact dd {
	margin: 0;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	color: var(--glass-text);
}

.website-case__tools {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.website-case__tools li {
	padding: 8px 48px 8px 12px;
	font-size: 13px;
	border: 1px solid rgba(255, 255, 255, 0.75);
	background: rgba(255, 255, 255, 0.38);
}

.website-case__summary {
	margin: 0 0 1.5rem;
	font-size: 18px;
	line-height: 1.6;
	color: var(--glass-text);
}

.website-case__section {
	margin-bottom: 2rem;
}

.website-case__section h2 {
	margin: 0 0 0.75rem;
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--hero-name-color);
}

.website-case__live {
	margin: 2rem 0 0;
}

.website-case__live-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.75rem 1.15rem;
	border: 1px solid var(--glass-border);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.38);
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	color: var(--blue-accent);
	text-decoration: none;
	transition:
		background 0.3s ease,
		border-color 0.3s ease,
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.website-case__live-link:hover {
	background: rgba(255, 255, 255, 0.58);
	border-color: var(--glass-border-hover);
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.65);
	transform: translateY(-2px);
}

/* ── Home intro animation ── */

@keyframes home-fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes home-slide-left {
	from {
		opacity: 0;
		transform: translateX(-28px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes home-slide-right {
	from {
		opacity: 0;
		transform: translateX(28px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.home-animated .hero-name__content {
	opacity: 0;
	animation: home-fade-in 0.55s ease forwards;
}

.home-animated .hero-photo__img {
	opacity: 0;
	animation: home-fade-in 0.55s ease 0.6s forwards;
}

.home-animated .hero-nav__title {
	opacity: 0;
	animation: home-fade-in 0.4s ease forwards;
}

.home-animated .hero-nav--left .hero-nav__title {
	animation-delay: 1.45s;
}

.home-animated .hero-nav--right .hero-nav__title {
	animation-delay: 1.63s;
}

.home-animated .hero-nav--left .hero-nav__list li:nth-child(1) .hero-nav__btn {
	opacity: 0;
	animation: home-slide-left 0.45s ease 1.55s forwards;
}

.home-animated .hero-nav--right .hero-nav__list li:nth-child(1) .hero-nav__btn {
	opacity: 0;
	animation: home-slide-right 0.45s ease 1.73s forwards;
}

.home-animated .hero-nav--left .hero-nav__list li:nth-child(2) .hero-nav__btn {
	opacity: 0;
	animation: home-slide-left 0.45s ease 1.91s forwards;
}

.home-animated .hero-nav--right .hero-nav__list li:nth-child(2) .hero-nav__btn {
	opacity: 0;
	animation: home-slide-right 0.45s ease 2.09s forwards;
}

.home-animated .hero-nav--left .hero-nav__list li:nth-child(3) .hero-nav__btn {
	opacity: 0;
	animation: home-slide-left 0.45s ease 2.27s forwards;
}

.home-animated .hero-nav--right .hero-nav__list li:nth-child(3) .hero-nav__btn {
	opacity: 0;
	animation: home-slide-right 0.45s ease 2.45s forwards;
}

.home-animated .hero-nav--left .hero-nav__list li:nth-child(4) .hero-nav__btn {
	opacity: 0;
	animation: home-slide-left 0.45s ease 2.63s forwards;
}

.home-animated .hero-nav--right .hero-nav__list li:nth-child(4) .hero-nav__btn {
	opacity: 0;
	animation: home-slide-right 0.45s ease 2.81s forwards;
}

@media (prefers-reduced-motion: reduce) {
	.hero-photo::before,
	.page-main::before {
		opacity: 0.32;
		animation: none;
		filter: saturate(1.04);
		transform: none;
	}

	.home-animated .hero-photo__img,
	.home-animated .hero-name__content,
	.home-animated .hero-nav__title,
	.home-animated .hero-nav__btn {
		opacity: 1;
		animation: none;
		transform: none;
	}

	.hero-nav__btn,
	.hero-nav__btn:hover,
	.hero-nav__btn:active,
	.hero-nav__icon,
	.hero-nav__btn:hover .hero-nav__icon {
		transition: none;
		transform: none;
	}

	.hero-nav__btn::before,
	.hero-nav__btn::after {
		transition: none;
	}
}

@media (max-width: 900px) {
	.hero-photo {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas:
			"photo photo"
			"name name"
			"left right";
		gap: 0.75rem clamp(0.5rem, 2.5vw, 1rem);
		align-content: start;
		padding:
			calc(1rem + 72px)
			clamp(0.75rem, 3vw, 1.25rem)
			1.5rem;
		min-height: auto;
	}

	.hero-photo__layout {
		display: contents;
	}

	.hero-stack {
		grid-area: photo;
		width: 100%;
	}

	.hero-photo__img {
		max-width: min(300px, 78vw);
		margin: 0 auto;
	}

	.hero-name__content {
		grid-area: name;
		width: auto;
		margin: 0;
		border: 1px solid var(--glass-border);
		border-radius: 8px;
		padding: 16px clamp(1rem, 4vw, 1.5rem);
	}

	.hero-nav {
		width: 100%;
		align-self: start;
		padding-top: 0;
		transform: none;
	}

	.hero-nav--left {
		grid-area: left;
		text-align: left;
	}

	.hero-nav--right {
		grid-area: right;
		text-align: left;
	}

	.hero-nav__title {
		margin-bottom: 0.75rem;
		font-size: 14px;
		text-align: left;
	}

	.hero-nav--left .hero-nav__title,
	.hero-nav--right .hero-nav__title {
		text-align: left;
	}

	.hero-nav--left .hero-nav__list,
	.hero-nav--right .hero-nav__list {
		align-items: stretch;
	}

	.hero-nav__list li:nth-child(1) .hero-nav__btn,
	.hero-nav__list li:nth-child(2) .hero-nav__btn,
	.hero-nav__list li:nth-child(3) .hero-nav__btn,
	.hero-nav__list li:nth-child(4) .hero-nav__btn {
		width: 100%;
		min-width: 0;
	}

	.hero-nav--left .hero-nav__btn,
	.hero-nav--right .hero-nav__btn {
		justify-content: flex-start;
		padding: 10px 12px;
	}

	.hero-nav__btn {
		font-size: 14px;
	}

	.hero-nav__label {
		white-space: normal;
	}
}

@media (max-width: 600px) {
	.hero-name__content {
		padding: 14px 16px;
	}

	.hero-name__text {
		font-size: clamp(1.75rem, 8vw, 2.25rem);
	}

	.hero-name__role {
		font-size: clamp(1rem, 4.5vw, 1.25rem);
	}

	.hero-name__bio {
		font-size: clamp(0.875rem, 3.8vw, 1rem);
		line-height: 1.5;
	}

	.hero-nav__list {
		gap: 12px;
	}
}

/* ── Case study: viewer PDF + download ── */

.project-case-pdf {
	margin-top: 1.5rem;
}

.project-case-pdf__viewer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	max-height: min(72vh, 920px);
	overflow-y: auto;
	padding: 1rem;
	border: 1px solid var(--glass-border);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.42);
	backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	box-shadow: var(--glass-glow), inset 0 1px 1px rgba(255, 255, 255, 0.65);
	scroll-behavior: smooth;
}

.project-case-pdf__page {
	display: block;
	width: 100%;
	max-width: 920px;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(44, 52, 66, 0.12);
	background: #fff;
}

.project-case-pdf__placeholder,
.project-case-pdf__error {
	margin: 1.5rem 0 0;
	padding: 1rem 1.25rem;
	border: 1px dashed var(--glass-border);
	border-radius: 12px;
	font-family: var(--font-body);
	font-size: 16px;
	color: var(--glass-text);
	text-align: center;
	background: rgba(255, 255, 255, 0.35);
}

.project-case-download {
	display: flex;
	justify-content: center;
	margin-top: 1.25rem;
}

.project-case-download__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 48px;
	padding: 0.65rem 1.35rem;
	border: 1px solid var(--glass-border);
	border-radius: 999px;
	background: var(--glass-fill);
	backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
	box-shadow: var(--glass-glow), inset 0 1px 1px rgba(255, 255, 255, 0.65);
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	color: var(--glass-text);
	text-decoration: none;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.project-case-download__btn:hover {
	background: var(--glass-fill-hover);
	border-color: var(--glass-border-hover);
	color: var(--glass-text-hover);
	box-shadow: var(--glass-glow-hover), inset 0 1px 1px rgba(255, 255, 255, 0.75);
	transform: translateY(-1px);
}

.project-case-download__icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.website-case__logo--zoom img {
	object-fit: contain;
	transform: scale(1.08);
}
