/* ================================================
   Reforge — Identity Mutation Platform
   Modern SaaS · White + Amber→Orange gradient
   Plus Jakarta Sans + DM Sans
   ================================================ */

:root {
	--amber: #F59E0B;
	--orange: #EA580C;
	--amber-light: #FEF3C7;
	--amber-50: #FFFBEB;
	--orange-light: #FFF7ED;
	--gradient: linear-gradient(135deg, var(--amber), var(--orange));
	--gradient-soft: linear-gradient(135deg, #FEF3C7, #FFEDD5);
	--text: #1C1917;
	--text-secondary: #78716C;
	--text-tertiary: #A8A29E;
	--bg: #FFFFFF;
	--bg-warm: #FFFBF5;
	--surface: #FAFAF9;
	--border: #E7E5E4;
	--border-light: #F5F5F4;
	--radius: 12px;
	--radius-lg: 20px;
	--radius-sm: 8px;
	--shadow-sm: 0 1px 2px rgba(28,25,23,0.04);
	--shadow: 0 4px 16px rgba(28,25,23,0.06);
	--shadow-lg: 0 12px 40px rgba(28,25,23,0.1);
	--font-display: 'Plus Jakarta Sans', sans-serif;
	--font-body: 'DM Sans', sans-serif;
	--nav-h: 72px;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-body);
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	overflow-x: hidden;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
}

/* ============ NAV ============ */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(255,255,255,0.85);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--border-light);
	height: var(--nav-h);
	transition: box-shadow 0.3s;
}

.nav.scrolled {
	box-shadow: var(--shadow-sm);
}

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

.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.25rem;
	color: var(--text);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 32px;
	font-size: 0.9rem;
	font-weight: 500;
}

.nav-links a {
	color: var(--text-secondary);
	transition: color 0.2s;
}

.nav-links a:hover {
	color: var(--text);
}

.nav-cta {
	background: var(--gradient);
	color: #fff !important;
	padding: 8px 20px;
	border-radius: 999px;
	font-weight: 600;
	transition: opacity 0.2s;
}

.nav-cta:hover {
	opacity: 0.9;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
}

.nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: 0.3s;
}

.mobile-menu {
	display: none;
	position: fixed;
	top: var(--nav-h);
	left: 0;
	right: 0;
	background: var(--bg);
	border-bottom: 1px solid var(--border);
	padding: 16px 24px;
	flex-direction: column;
	gap: 12px;
	z-index: 999;
	box-shadow: var(--shadow);
}

.mobile-menu.open {
	display: flex;
}

.mobile-menu a {
	padding: 8px 0;
	font-weight: 500;
	color: var(--text-secondary);
}

@media (max-width: 768px) {
	.nav-links {
		display: none;
	}
	.nav-toggle {
		display: flex;
	}
}

/* ============ HERO ============ */
.hero {
	padding: 160px 0 80px;
	background: var(--bg);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero-glow {
	position: absolute;
	top: -200px;
	left: 50%;
	transform: translateX(-50%);
	width: 800px;
	height: 800px;
	background: radial-gradient(circle, rgba(245,158,11,0.1) 0%, rgba(234,88,12,0.05) 40%, transparent 70%);
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 1;
}

.hero-badge {
	display: inline-block;
	padding: 6px 16px;
	background: var(--amber-light);
	color: var(--orange);
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
	font-family: var(--font-display);
	margin-bottom: 24px;
}

.hero h1 {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 6vw, 4.2rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin-bottom: 20px;
}

.gradient-text {
	background: var(--gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-sub {
	max-width: 640px;
	margin: 0 auto 36px;
	font-size: 1.15rem;
	color: var(--text-secondary);
	line-height: 1.7;
}

.hero-ctas {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 64px;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: all 0.2s;
	border: none;
	text-decoration: none;
}

.btn-primary {
	background: var(--gradient);
	color: #fff;
	box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}

.btn-primary:hover {
	box-shadow: 0 6px 24px rgba(245,158,11,0.4);
	transform: translateY(-1px);
}

.btn-ghost {
	background: transparent;
	color: var(--text-secondary);
	border: 1px solid var(--border);
}

.btn-ghost:hover {
	border-color: var(--text-tertiary);
	color: var(--text);
}

.btn-outline {
	background: transparent;
	color: var(--text);
	border: 1.5px solid var(--border);
}

.btn-outline:hover {
	border-color: var(--amber);
	color: var(--orange);
}

/* Before / After Profile Cards */
.profile-transform {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	flex-wrap: wrap;
}

.profile-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 32px;
	width: 280px;
	text-align: left;
	position: relative;
	box-shadow: var(--shadow);
	transition: transform 0.4s, box-shadow 0.4s;
}

.profile-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.profile-after {
	border-color: var(--amber);
	box-shadow: 0 4px 24px rgba(245,158,11,0.15);
}

.profile-label {
	position: absolute;
	top: -12px;
	left: 24px;
	background: var(--surface);
	padding: 2px 12px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-tertiary);
	border: 1px solid var(--border);
}

.profile-after .profile-label {
	background: var(--gradient);
	color: #fff;
	border-color: transparent;
}

.profile-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 16px;
}

.before-avatar {
	background: var(--surface);
	color: var(--text-secondary);
	border: 2px solid var(--border);
}

.after-avatar {
	background: var(--gradient);
	color: #fff;
}

.profile-name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.2rem;
	margin-bottom: 12px;
}

.profile-detail {
	font-size: 0.85rem;
	color: var(--text-secondary);
	padding: 4px 0;
	border-bottom: 1px solid var(--border-light);
}

.profile-detail span {
	display: inline-block;
	width: 70px;
	font-weight: 600;
	color: var(--text-tertiary);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.status-active {
	color: #16A34A;
	font-style: normal;
	font-weight: 600;
}

.transform-arrow {
	flex-shrink: 0;
	animation: pulseArrow 2s ease-in-out infinite;
}

@keyframes pulseArrow {
	0%, 100% { transform: scale(1); opacity: 0.8; }
	50% { transform: scale(1.1); opacity: 1; }
}

/* ============ STATS ============ */
.stats {
	padding: 64px 0;
	background: var(--surface);
	border-top: 1px solid var(--border-light);
	border-bottom: 1px solid var(--border-light);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	text-align: center;
}

.stat-num {
	font-family: var(--font-display);
	font-size: 2.5rem;
	font-weight: 800;
	background: var(--gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.stat-label {
	font-size: 0.9rem;
	color: var(--text-secondary);
	margin-top: 4px;
}

@media (max-width: 640px) {
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ============ SECTION COMMON ============ */
.section-badge {
	display: inline-block;
	padding: 6px 14px;
	background: var(--amber-light);
	color: var(--orange);
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 16px;
}

section h2 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin-bottom: 16px;
}

.section-sub {
	font-size: 1.1rem;
	color: var(--text-secondary);
	max-width: 560px;
	line-height: 1.6;
	margin-bottom: 48px;
}

/* ============ FEATURES ============ */
.features {
	padding: 120px 0;
	text-align: center;
}

.features .section-sub {
	margin-left: auto;
	margin-right: auto;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
	text-align: left;
}

.feature-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
	transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.feature-card:hover {
	border-color: var(--amber);
	box-shadow: 0 8px 32px rgba(245,158,11,0.1);
	transform: translateY(-2px);
}

.feature-icon {
	font-size: 1.6rem;
	margin-bottom: 12px;
}

.feature-card h3 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.05rem;
	margin-bottom: 8px;
}

.feature-card p {
	font-size: 0.9rem;
	color: var(--text-secondary);
	line-height: 1.6;
	margin-bottom: 12px;
}

.feature-card code {
	display: inline-block;
	background: var(--surface);
	border: 1px solid var(--border-light);
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 0.8rem;
	color: var(--orange);
	font-family: 'SF Mono', 'Fira Code', monospace;
}

/* ============ HOW IT WORKS ============ */
.how-it-works {
	padding: 120px 0;
	background: var(--surface);
	text-align: center;
}

.how-it-works .section-sub {
	margin-left: auto;
	margin-right: auto;
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 32px;
	text-align: left;
}

.step-card {
	background: var(--bg);
	border-radius: var(--radius);
	padding: 32px;
	border: 1px solid var(--border);
}

.step-num {
	font-family: var(--font-display);
	font-size: 2.5rem;
	font-weight: 800;
	background: var(--gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 16px;
}

.step-card h3 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 8px;
}

.step-card p {
	font-size: 0.9rem;
	color: var(--text-secondary);
	line-height: 1.6;
}

/* ============ MUTATION BUILDER ============ */
.mutation-builder {
	padding: 120px 0;
	text-align: center;
}

.mutation-builder .section-sub {
	margin-left: auto;
	margin-right: auto;
}

.builder-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	text-align: left;
	align-items: start;
}

.builder-controls {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.builder-field label {
	display: block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.85rem;
	margin-bottom: 6px;
	color: var(--text-secondary);
}

.builder-field input,
.flag-input {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
	font-size: 0.9rem;
	background: var(--bg);
	color: var(--text);
	transition: border-color 0.2s;
}

.builder-field input:focus,
.flag-input:focus {
	outline: none;
	border-color: var(--amber);
}

.flag-input:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.builder-toggle-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.builder-toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	background: var(--surface);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-sm);
	transition: border-color 0.2s, background 0.2s;
}

.builder-toggle.active {
	background: var(--amber-50);
	border-color: var(--amber);
}

.builder-toggle label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
}

.builder-toggle input[type="checkbox"] {
	accent-color: var(--orange);
	width: 16px;
	height: 16px;
}

.builder-toggle .flag-input {
	flex: 1;
	min-width: 0;
	padding: 6px 10px;
	font-size: 0.85rem;
}

.builder-output {
	position: sticky;
	top: 100px;
}

.builder-terminal,
.terminal-block {
	background: #1C1917;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.terminal-bar {
	display: flex;
	gap: 8px;
	padding: 14px 18px;
	background: #292524;
}

.terminal-bar span {
	width: 12px;
	height: 12px;
	border-radius: 50%;
}

.terminal-bar span:nth-child(1) { background: #EF4444; }
.terminal-bar span:nth-child(2) { background: #F59E0B; }
.terminal-bar span:nth-child(3) { background: #22C55E; }

.builder-terminal pre,
.terminal-block pre {
	padding: 20px;
	overflow-x: auto;
}

.builder-terminal code,
.terminal-block code {
	font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
	font-size: 0.9rem;
	color: #D6D3D1;
	line-height: 1.7;
}

.builder-hint {
	margin-top: 12px;
	font-size: 0.8rem;
	color: var(--text-tertiary);
}

@media (max-width: 768px) {
	.builder-layout {
		grid-template-columns: 1fr;
	}
	.builder-output {
		position: static;
	}
}

/* ============ GROUP MANAGER ============ */
.group-manager {
	padding: 120px 0;
	background: var(--surface);
	text-align: center;
}

.group-manager .section-sub {
	margin-left: auto;
	margin-right: auto;
}

.gm-layout {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}

.gm-user {
	margin-bottom: 32px;
}

.gm-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--gradient);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.2rem;
	margin-bottom: 8px;
}

.gm-username {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.2rem;
}

.gm-primary {
	font-size: 0.85rem;
	color: var(--text-secondary);
	margin-top: 4px;
}

.gm-groups {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-bottom: 32px;
}

.gm-group {
	padding: 10px 20px;
	border: 1.5px solid var(--border);
	border-radius: 999px;
	background: var(--bg);
	font-family: var(--font-display);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-secondary);
	cursor: pointer;
	transition: all 0.2s;
}

.gm-group:hover {
	border-color: var(--amber);
	color: var(--orange);
}

.gm-group.active {
	background: var(--gradient);
	color: #fff;
	border-color: transparent;
}

.gm-command-wrap {
	max-width: 480px;
	margin: 0 auto;
}

/* ============ DEMO ============ */
.demo {
	padding: 120px 0;
	text-align: center;
}

.demo .section-sub {
	margin-left: auto;
	margin-right: auto;
}

.demo-terminals {
	max-width: 720px;
	margin: 0 auto;
	text-align: left;
}

.t-prompt {
	color: #A8A29E;
}

.t-cmd {
	color: #F59E0B;
}

.t-output {
	color: #A8A29E;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
	padding: 120px 0;
	background: var(--surface);
	text-align: center;
}

.testimonials .section-sub {
	margin-left: auto;
	margin-right: auto;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	text-align: left;
}

.testimonial-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
}

.testimonial-card p {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--text);
	margin-bottom: 20px;
	font-style: italic;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.testimonial-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--gradient);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.8rem;
	flex-shrink: 0;
}

.testimonial-author strong {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.9rem;
}

.testimonial-author span {
	font-size: 0.8rem;
	color: var(--text-tertiary);
}

/* ============ PRICING ============ */
.pricing {
	padding: 120px 0;
	text-align: center;
}

.pricing .section-sub {
	margin-left: auto;
	margin-right: auto;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	text-align: left;
}

.pricing-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 32px;
	display: flex;
	flex-direction: column;
	position: relative;
}

.pricing-card.popular {
	border-color: var(--amber);
	box-shadow: 0 8px 40px rgba(245,158,11,0.15);
}

.pricing-badge {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--gradient);
	color: #fff;
	padding: 4px 16px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.pricing-tier {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 8px;
}

.pricing-price {
	font-family: var(--font-display);
	font-size: 2.8rem;
	font-weight: 800;
	margin-bottom: 24px;
}

.pricing-price span {
	font-size: 1rem;
	font-weight: 500;
	color: var(--text-tertiary);
}

.pricing-card ul {
	list-style: none;
	flex: 1;
	margin-bottom: 24px;
}

.pricing-card li {
	padding: 8px 0;
	font-size: 0.9rem;
	color: var(--text-secondary);
	border-bottom: 1px solid var(--border-light);
	display: flex;
	align-items: center;
	gap: 8px;
}

.pricing-card li::before {
	content: '✓';
	color: var(--amber);
	font-weight: 700;
}

.pricing-card li.disabled {
	color: var(--text-tertiary);
	text-decoration: line-through;
}

.pricing-card li.disabled::before {
	content: '—';
	color: var(--text-tertiary);
}

.pricing-card li code {
	font-size: 0.75rem;
	background: var(--surface);
	padding: 1px 6px;
	border-radius: 4px;
	color: var(--orange);
}

.pricing-card .btn {
	width: 100%;
	text-align: center;
}

/* ============ FAQ ============ */
.faq {
	padding: 120px 0;
	background: var(--surface);
	text-align: center;
}

.faq-list {
	max-width: 720px;
	margin: 40px auto 0;
	text-align: left;
}

.faq-item {
	border-bottom: 1px solid var(--border);
}

.faq-item summary {
	padding: 20px 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--text);
	transition: color 0.2s;
}

.faq-item summary:hover {
	color: var(--orange);
}

.faq-item summary::after {
	content: '+';
	font-size: 1.4rem;
	font-weight: 300;
	color: var(--text-tertiary);
	transition: transform 0.3s;
}

.faq-item[open] summary::after {
	transform: rotate(45deg);
}

.faq-item p {
	padding: 0 0 20px;
	font-size: 0.95rem;
	color: var(--text-secondary);
	line-height: 1.7;
}

/* ============ COMPARISON ============ */
.comparison {
	padding: 120px 0;
	text-align: center;
}

.comparison-table-wrap {
	overflow-x: auto;
	margin-top: 40px;
}

.comparison-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	min-width: 540px;
}

.comparison-table th,
.comparison-table td {
	padding: 14px 20px;
	font-size: 0.9rem;
	border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--text-tertiary);
	background: var(--surface);
}

.comparison-table th.highlight {
	color: var(--orange);
}

.comparison-table td.highlight {
	color: var(--orange);
	font-weight: 700;
}

/* ============ PORTFOLIO BANNER ============ */
.portfolio-banner {
	padding: 64px 0;
	background: var(--surface);
	border-top: 1px solid var(--border);
	text-align: center;
}

.portfolio-label {
	font-size: 0.85rem;
	color: var(--text-tertiary);
	margin-bottom: 8px;
}

.portfolio-label a {
	color: var(--orange);
	font-weight: 600;
}

.portfolio-banner h3 {
	font-family: var(--font-display);
	font-size: 1.2rem;
	margin-bottom: 24px;
}

.portfolio-banner h3 a {
	color: var(--orange);
	transition: opacity 0.2s;
}

.portfolio-banner h3 a:hover {
	opacity: 0.8;
}

.portfolio-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	justify-content: center;
	font-size: 0.8rem;
}

.portfolio-links a {
	color: var(--text-tertiary);
	transition: color 0.2s;
}

.portfolio-links a:hover {
	color: var(--orange);
}

.portfolio-current {
	color: var(--orange);
	font-weight: 700;
}

/* ============ FOOTER ============ */
.footer {
	padding: 64px 0 32px;
	border-top: 1px solid var(--border);
}

.footer-inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.1rem;
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.footer-col h4 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.85rem;
	margin-bottom: 12px;
	color: var(--text);
}

.footer-col a {
	display: block;
	font-size: 0.85rem;
	color: var(--text-secondary);
	padding: 4px 0;
	transition: color 0.2s;
}

.footer-col a:hover {
	color: var(--orange);
}

.footer-bottom {
	padding-top: 24px;
	border-top: 1px solid var(--border-light);
	text-align: center;
}

.footer-bottom p {
	font-size: 0.8rem;
	color: var(--text-tertiary);
}

.footer-bottom a {
	color: var(--orange);
	font-weight: 600;
}

@media (max-width: 640px) {
	.footer-links {
		grid-template-columns: 1fr;
	}
}

/* ============ MODALS ============ */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(28,25,23,0.5);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 2000;
	display: none;
	align-items: center;
	justify-content: center;
}

.modal-overlay.open {
	display: flex;
}

.modal {
	background: var(--bg);
	border-radius: var(--radius-lg);
	padding: 48px;
	max-width: 420px;
	width: 90%;
	text-align: center;
	box-shadow: var(--shadow-lg);
	position: relative;
}

.modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: none;
	border: none;
	font-size: 1.6rem;
	color: var(--text-tertiary);
	cursor: pointer;
	transition: color 0.2s;
	line-height: 1;
}

.modal-close:hover {
	color: var(--text);
}

.modal-icon {
	font-size: 2.4rem;
	margin-bottom: 16px;
}

.modal h3 {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.4rem;
	margin-bottom: 8px;
}

.modal p {
	font-size: 0.95rem;
	color: var(--text-secondary);
	line-height: 1.6;
}

/* ============ ANIMATIONS ============ */
.fade-up {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ===== Portfolio Pills (universal) ===== */
.portfolio-banner,
[class*="portfolio-banner"] {
	padding: 3rem 0;
	text-align: center;
}

.portfolio-banner .container,
[class*="portfolio-banner"] .container,
[class*="portfolio-banner"] [class*="portfolio-banner-inner"] {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.portfolio-scroll,
.portfolio-grid,
.portfolio-list,
.portfolio-links,
.portfolio-commands,
.portfolio-track,
.portfolio-banner-commands,
.portfolio-items,
.footer-commands {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 1rem;
}

.portfolio-scroll a,
.portfolio-grid a,
.portfolio-list a,
.portfolio-links a,
.portfolio-commands a,
.portfolio-track a,
.portfolio-banner-commands a,
.portfolio-items a,
.footer-commands a {
	display: inline-block;
	padding: 6px 14px;
	font-size: .75rem;
	font-weight: 600;
	border-radius: 100px;
	border: 1px solid #EA580C;
	opacity: .55;
	text-decoration: none;
	transition: opacity .2s ease, transform .15s ease;
	white-space: nowrap;
}

.portfolio-scroll a:hover,
.portfolio-grid a:hover,
.portfolio-list a:hover,
.portfolio-links a:hover,
.portfolio-commands a:hover,
.portfolio-track a:hover,
.portfolio-banner-commands a:hover,
.portfolio-items a:hover,
.footer-commands a:hover {
	opacity: 1;
	transform: translateY(-1px);
}

.portfolio-current,
.portfolio-scroll .portfolio-current,
.portfolio-grid .portfolio-current,
.portfolio-list .portfolio-current,
.portfolio-banner-commands .portfolio-current,
span.portfolio-current,
[class*="portfolio"] span.current,
[class*="portfolio"] span[class*="current"] {
	display: inline-block;
	padding: 6px 14px;
	font-size: .75rem;
	font-weight: 700;
	border-radius: 100px;
	opacity: 1;
	white-space: nowrap;
}

.portfolio-label,
.portfolio-banner-label {
	font-size: .8125rem;
	opacity: .6;
	margin-bottom: .5rem;
}

.portfolio-label a,
.portfolio-banner-label a {
	border: none !important;
	padding: 0 !important;
	opacity: 1 !important;
	font-weight: 700 !important;
	border-radius: 0 !important;
}

.portfolio-current,
span.portfolio-current,
[class*="portfolio"] span.current,
[class*="portfolio"] span[class*="current"] {
	background: #EA580C;
	color: #fff;
	border: 1px solid #EA580C;
}

.portfolio-current,
span.portfolio-current {
	background: #EA580C !important;
	color: #fff !important;
	border: 1px solid #EA580C !important;
	opacity: 1 !important;
}

[class*="avatar"]{overflow:hidden}[class*="avatar"] img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}