/**
 * Portfolio page
 */

/* Hero */
.portfolio-page__hero {
	position: relative;
	padding: calc(var(--header-h, 72px) + 3.5rem) 0 3.5rem;
	background: #14181f;
	color: #ffffff;
	overflow: hidden;
}

.portfolio-page__hero-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 60% 80% at 80% 0%, rgba(242, 101, 34, 0.18), transparent 55%),
		linear-gradient(180deg, #14181f 0%, #1a1f26 100%);
}

.portfolio-page__hero-inner {
	position: relative;
	z-index: 1;
	max-width: 44rem;
}

.portfolio-page__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.portfolio-page__eyebrow::before {
	content: "";
	width: 24px;
	height: 2px;
	background: linear-gradient(90deg, #f26522, #ff9a3c);
	border-radius: 2px;
}

.portfolio-page__title {
	margin: 0 0 1rem;
	font-family: var(--font-display, "Montserrat", sans-serif);
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: #ffffff;
}

.portfolio-page__accent {
	color: #f26522;
}

.portfolio-page__lead {
	margin: 0;
	max-width: 36rem;
	font-family: var(--font, "Plus Jakarta Sans", system-ui, sans-serif);
	font-size: 1.05rem;
	font-weight: 500;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.72);
}

.portfolio-page__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
	margin: 2.25rem 0 0;
	padding: 1.5rem 0 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-page__stats li {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.portfolio-page__stats strong {
	font-family: var(--font-display, "Montserrat", sans-serif);
	font-size: 1.6rem;
	font-weight: 800;
	color: #f26522;
	line-height: 1;
}

.portfolio-page__stats span {
	font-family: var(--font, "Plus Jakarta Sans", system-ui, sans-serif);
	font-size: 0.82rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.6);
}

/* Work grid */
.portfolio-page__work {
	padding: clamp(3.5rem, 7vw, 5rem) 0;
}

/* "Your project next" card */
.portfolio-page__next-card {
	display: flex;
	align-items: stretch;
	background: linear-gradient(150deg, #fff7f2, #ffffff 60%);
	border: 1.5px dashed rgba(242, 101, 34, 0.4);
	box-shadow: none;
}

.portfolio-page__next-card:hover {
	border-color: #f26522;
	box-shadow: 0 16px 40px rgba(26, 31, 38, 0.08);
}

.portfolio-page__next-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 2rem 1.75rem;
}

.portfolio-page__next-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 1.1rem;
	border-radius: 12px;
	background: linear-gradient(145deg, #fff1e8, #ffe8d6);
	color: #f26522;
}

.portfolio-page__next-title {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
}

.portfolio-page__next-desc {
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.65;
	color: var(--text-muted, #4d5560);
}

.portfolio-page__next-link {
	display: inline-flex;
	align-items: center;
	margin-top: 0.75rem;
	padding: 0.65rem 1.25rem;
	font-family: var(--font, "Plus Jakarta Sans", system-ui, sans-serif);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	color: #ffffff;
	background: #f26522;
	border-radius: 8px;
	transition: background 0.2s ease, transform 0.2s ease;
}

.portfolio-page__next-link:hover {
	color: #ffffff;
	background: #d94e0f;
	transform: translateY(-2px);
}

/* Bottom CTA */
.portfolio-page__cta {
	position: relative;
	padding: clamp(4rem, 8vw, 6rem) 0;
	background: #14181f;
	color: #ffffff;
	overflow: hidden;
	text-align: center;
}

.portfolio-page__cta-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 50% 70% at 50% 100%, rgba(242, 101, 34, 0.16), transparent 60%),
		linear-gradient(180deg, #1a1f26 0%, #14181f 100%);
}

.portfolio-page__cta-inner {
	position: relative;
	z-index: 1;
	max-width: 42rem;
}

.portfolio-page__cta-title {
	margin: 0 0 1rem;
	font-family: var(--font-display, "Montserrat", sans-serif);
	font-size: clamp(1.75rem, 4.5vw, 2.6rem);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: #ffffff;
}

.portfolio-page__cta-title .portfolio-page__accent {
	display: block;
}

.portfolio-page__cta-lead {
	margin: 0 0 2rem;
	font-family: var(--font, "Plus Jakarta Sans", system-ui, sans-serif);
	font-size: 1.02rem;
	font-weight: 500;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.72);
}

.portfolio-page__cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}

@media (max-width: 700px) {
	.portfolio-page__stats {
		gap: 1.75rem;
	}
}
