/* ========================================
   CSS Variables — Phoenix Ember
======================================== */
:root {
	--main-color: #ff7a18;
	--main-color-light: #ffa04d;
	--ember: #ff7a18;
	--ember-deep: #ff3d00;
	--gold: #ffc46b;
	--bg-color: #0a0708;
	--bg-color-2: #130d0c;
	--text-color: #fff;
	--white: #fff;
	--text-muted: #a89a95;
	--glass-bg: rgba(255, 255, 255, 0.05);
	--glass-border: rgba(255, 255, 255, 0.1);
	--ember-soft: rgba(255, 122, 24, 0.15);
	--ember-line: rgba(255, 122, 24, 0.3);
	--mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ========================================
   Loading Screen
======================================== */
.loader {
	position: fixed;
	inset: 0;
	background: radial-gradient(circle at 50% 60%, #1a0d06 0%, var(--bg-color) 60%);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.loader__phoenix {
	position: relative;
	width: clamp(150px, 26vw, 240px);
	animation: phoenixRise 3s ease-in-out infinite;
	filter: drop-shadow(0 12px 40px rgba(255, 61, 0, 0.45));
}

.loader__phoenix svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

/* Wing flap + tail sway shared by loader and hero */
.phx-wing--left {
	transform-origin: 186px 210px;
	animation: flapLeft 2.6s ease-in-out infinite;
}

.phx-wing--right {
	transform-origin: 214px 210px;
	animation: flapRight 2.6s ease-in-out infinite;
}

.phx-tail {
	transform-origin: 200px 300px;
	animation: tailSway 3.6s ease-in-out infinite;
}

.phx-body {
	transform-origin: 200px 220px;
	animation: bodyGlow 2.6s ease-in-out infinite;
}

@keyframes flapLeft {
	0%, 100% { transform: rotate(7deg) scale(0.97); }
	50% { transform: rotate(-6deg) scale(1.03); }
}

@keyframes flapRight {
	0%, 100% { transform: rotate(-7deg) scale(0.97); }
	50% { transform: rotate(6deg) scale(1.03); }
}

@keyframes tailSway {
	0%, 100% { transform: rotate(-4deg); }
	50% { transform: rotate(4deg); }
}

@keyframes bodyGlow {
	0%, 100% { opacity: 0.92; }
	50% { opacity: 1; }
}

@keyframes phoenixRise {
	0%, 100% { transform: translateY(14px) scale(0.97); }
	50% { transform: translateY(-14px) scale(1.03); }
}

/* Rising embers */
.loader__embers {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.loader__embers span {
	position: absolute;
	bottom: 8%;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--gold);
	opacity: 0;
	filter: blur(1px);
	animation: emberFloat 3.2s ease-in infinite;
}

.loader__embers span:nth-child(1) { left: 18%; animation-delay: 0s; }
.loader__embers span:nth-child(2) { left: 34%; animation-delay: 0.5s; }
.loader__embers span:nth-child(3) { left: 48%; animation-delay: 1s; }
.loader__embers span:nth-child(4) { left: 62%; animation-delay: 1.5s; }
.loader__embers span:nth-child(5) { left: 76%; animation-delay: 2s; }
.loader__embers span:nth-child(6) { left: 88%; animation-delay: 2.6s; }

@keyframes emberFloat {
	0% { opacity: 0; transform: translateY(0) scale(0.6); }
	20% { opacity: 1; }
	100% { opacity: 0; transform: translateY(-160px) scale(0.2); }
}

.loader__text {
	margin-top: 2rem;
	font-size: clamp(1rem, 3vw, 1.5rem);
	font-weight: 600;
	color: var(--gold);
	letter-spacing: 0.25em;
	text-transform: uppercase;
	animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
	0%, 100% { opacity: 0.6; }
	50% { opacity: 1; }
}

/* ========================================
   Base Styles
======================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	font-family: 'Montserrat', sans-serif;
	background: var(--bg-color);
	color: var(--text-color);
	overflow-x: hidden;
	line-height: 1.6;
	min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.section {
	padding: 100px 0;
	position: relative;
	overflow: hidden;
}

section[id] { scroll-margin-top: 110px; }

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

/* ========================================
   Glow Effects
======================================== */
.glow-effect {
	position: absolute;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	filter: blur(150px);
	opacity: 0.16;
	pointer-events: none;
	z-index: 0;
}

.glow-effect.one {
	background: var(--ember-deep);
	left: -200px;
	top: 50%;
	transform: translateY(-50%);
}

.glow-effect.two {
	background: var(--ember);
	right: -200px;
	top: 30%;
}

/* ========================================
   Social Icons Sidebar
======================================== */
.social-icons {
	position: fixed;
	left: 40px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 15px;
	z-index: 1000;
}

.social-icons .icon {
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: 50%;
	color: var(--text-color);
	font-size: 20px;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.social-icons .icon:hover {
	background: var(--main-color);
	color: var(--bg-color);
	transform: scale(1.1);
	border-color: var(--main-color);
	box-shadow: 0 0 20px rgba(255, 122, 24, 0.45);
}

/* ========================================
   Header / Navigation
======================================== */
.header {
	position: fixed;
	top: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1000;
	width: auto;
	max-width: calc(100% - 40px);
}

.header .container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	padding: 0;
	background: rgba(28, 20, 17, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50px;
	backdrop-filter: blur(20px);
	overflow: hidden;
	max-width: 100%;
}

.header .nav-link {
	padding: 16px 30px;
	font-size: 15px;
	font-weight: 500;
	color: var(--text-muted);
	transition: all 0.3s ease;
	position: relative;
	white-space: nowrap;
}

.header .nav-link:hover { color: var(--text-color); }

.header .nav-link.active {
	color: var(--text-color);
	background: rgba(255, 122, 24, 0.16);
	border-radius: 50px;
	box-shadow: inset 0 0 20px rgba(255, 122, 24, 0.12);
}

/* ========================================
   Home / Hero Section
======================================== */
.home {
	min-height: 100vh;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	padding: 140px 0 80px;
}

.home .bg-text {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
	z-index: 0;
}

.home .bg-text .scroll-text {
	position: absolute;
	font-size: 170px;
	font-weight: 800;
	color: rgba(255, 122, 24, 0.045);
	white-space: nowrap;
	text-transform: lowercase;
	letter-spacing: -5px;
}

.home .bg-text .scroll-text.top { top: 12%; animation: scrollLeft 40s linear infinite; }
.home .bg-text .scroll-text.bottom { bottom: 14%; animation: scrollRight 40s linear infinite; }

@keyframes scrollLeft {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
	0% { transform: translateX(-50%); }
	100% { transform: translateX(0); }
}

.home .container {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: 40px;
	width: 100%;
	max-width: 1320px;
	padding: 0 40px;
	position: relative;
	z-index: 2;
}

.home .info { z-index: 2; }

.home .info .eyebrow {
	font-family: var(--mono);
	font-size: 13px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--main-color);
	margin-bottom: 14px;
}

.home .info .title {
	font-size: clamp(2rem, 4.2vw, 3.3rem);
	font-weight: 400;
	line-height: 1.25;
	margin-bottom: 22px;
}

.home .info .title span {
	color: var(--main-color);
	font-weight: 700;
}

.home .info .description {
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	color: var(--text-muted);
	max-width: 540px;
	margin-bottom: 36px;
	line-height: 1.75;
	font-style: italic;
	font-weight: 300;
}

.home .info .cta-btns {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	margin-bottom: 46px;
}

.home .info .cta-btns a {
	padding: 17px 42px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 50px;
	transition: all 0.3s ease;
	background: rgba(35, 25, 21, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: var(--text-color);
}

.home .info .cta-btns a.primary {
	background: linear-gradient(135deg, var(--ember) 0%, var(--ember-deep) 100%);
	border-color: transparent;
	color: #180a03;
}

.home .info .cta-btns a:hover {
	border-color: var(--main-color);
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(255, 122, 24, 0.3);
}

.home .hero-stats {
	display: flex;
	gap: 34px;
	flex-wrap: wrap;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 24px;
	max-width: 560px;
}

.home .hero-stats div {
	display: flex;
	flex-direction: column;
}

.home .hero-stats strong {
	font-size: 24px;
	font-weight: 700;
	color: var(--gold);
	line-height: 1.2;
}

.home .hero-stats span {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
}

/* Hero illustration stage */
.home .image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.phoenix-stage {
	position: relative;
	width: min(560px, 100%);
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.phoenix-art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	opacity: 0.9;
	filter: drop-shadow(0 20px 60px rgba(255, 61, 0, 0.35));
	animation: phoenixRise 6s ease-in-out infinite;
}

.portrait {
	position: absolute;
	left: 31%;
	top: 33%;
	width: 38%;
	aspect-ratio: 1 / 1;
	z-index: 2;
}

.portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	border: 3px solid rgba(255, 196, 107, 0.6);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 12px rgba(255, 122, 24, 0.08);
}

.portrait__ring {
	position: absolute;
	inset: -12%;
	border-radius: 50%;
	border: 1px dashed rgba(255, 196, 107, 0.35);
	animation: ringSpin 22s linear infinite;
}

@keyframes ringSpin {
	to { transform: rotate(360deg); }
}

/* Tech chips replacing the software logos */
.orbit {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
}

.orbit .chip {
	position: absolute;
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	padding: 8px 14px 8px 26px;
	border-radius: 999px;
	background: rgba(22, 15, 12, 0.85);
	border: 1px solid rgba(255, 122, 24, 0.35);
	color: #ffe0c2;
	white-space: nowrap;
	backdrop-filter: blur(8px);
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
	opacity: 0;
	animation: chipIn 1.1s ease forwards, chipFloat 5s ease-in-out infinite;
}

.orbit .chip::before {
	content: '';
	position: absolute;
	left: 11px;
	top: 50%;
	transform: translateY(-50%);
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold), var(--ember-deep));
	box-shadow: 0 0 10px rgba(255, 122, 24, 0.9);
}

.orbit .c1 { top: 6%;  left: 6%;   animation-delay: 0.2s, 1.4s; }
.orbit .c2 { top: 20%; right: 2%;  animation-delay: 0.3s, 1.6s; }
.orbit .c3 { top: 40%; left: -4%;  animation-delay: 0.4s, 1.8s; }
.orbit .c4 { top: 2%;  right: 22%; animation-delay: 0.5s, 2.0s; }
.orbit .c5 { bottom: 24%; left: 2%; animation-delay: 0.6s, 2.2s; }
.orbit .c6 { bottom: 8%; right: 6%; animation-delay: 0.7s, 2.4s; }
.orbit .c7 { top: 56%; right: -2%; animation-delay: 0.8s, 2.6s; }
.orbit .c8 { bottom: 4%; left: 24%; animation-delay: 0.9s, 2.8s; }
.orbit .c9 { top: 30%; left: 18%;  animation-delay: 1.0s, 3.0s; }

@keyframes chipIn {
	0% { opacity: 0; transform: translateY(24px) scale(0.85); }
	100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes chipFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

/* ========================================
   Text Box (Section Labels)
======================================== */
.text-box {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	position: relative;
	padding: 8px 18px;
	margin-bottom: 15px;
}

.text-box .bracket {
	color: var(--main-color);
	font-size: 20px;
	font-weight: 300;
	position: absolute;
}

.text-box .text {
	font-family: var(--mono);
	font-size: 13px;
	color: var(--text-muted);
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.text-box .bracket.top-left,
.text-box .bracket.bottom-left { left: 0; }

.text-box .bracket.top-right,
.text-box .bracket.bottom-right { right: 0; }

.text-box .bracket.top-left,
.text-box .bracket.top-right { top: -5px; }

.text-box .bracket.bottom-left,
.text-box .bracket.bottom-right { bottom: -5px; }

/* ========================================
   Section Head
======================================== */
.section-head {
	text-align: center;
	margin-bottom: 60px;
	position: relative;
	z-index: 1;
}

.section-head h1 {
	font-size: clamp(1.9rem, 4vw, 3rem);
	font-weight: 700;
	margin-bottom: 15px;
}

.section-head p {
	font-size: 16px;
	color: var(--text-muted);
	max-width: 620px;
	margin: 0 auto;
}

/* ========================================
   About Section
======================================== */
.about .container {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 80px;
	align-items: start;
	position: relative;
	z-index: 1;
}

.about .image-container { position: relative; }

.about .image-container .glass-card {
	position: relative;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 30px;
	padding: 30px;
	backdrop-filter: blur(20px);
	overflow: hidden;
}

.about .image-container .glass-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 196, 107, 0.45), transparent);
}

.about .image-container .image {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	min-height: 520px;
	padding: 30px 22px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
	background:
		radial-gradient(circle at 50% 22%, rgba(255, 122, 24, 0.22), transparent 60%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.25));
}

.about .image-container .image__portrait {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid rgba(255, 196, 107, 0.55);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
	flex: none;
}

.about .image-container .image__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about .image-container .image-text {
	text-align: center;
}

.about .image-container .image-text .small-text {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 6px;
}

.about .image-container .image-text .big-text {
	font-size: 42px;
	font-weight: 800;
	line-height: 1;
	color: rgba(255, 122, 24, 0.65);
	text-transform: uppercase;
}

.about .image-container .image__stack {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: auto;
}

.about .image-container .image__stack li {
	font-family: var(--mono);
	font-size: 11px;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid var(--ember-line);
	background: rgba(255, 122, 24, 0.08);
	color: #ffd9b8;
}

.about .image-container .years {
	position: absolute;
	bottom: -30px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, rgba(255, 122, 24, 0.25) 0%, rgba(255, 61, 0, 0.12) 100%);
	border: 1px solid var(--ember-line);
	padding: 15px 30px;
	border-radius: 15px;
	text-align: center;
	backdrop-filter: blur(20px);
	z-index: 10;
	white-space: nowrap;
}

.about .image-container .years h2 {
	font-size: 32px;
	font-weight: 700;
	color: var(--main-color);
	line-height: 1;
}

.about .image-container .years p {
	font-size: 14px;
	color: var(--text-muted);
}

.about .image-container .circle-wrapper {
	position: absolute;
	bottom: -100px;
	left: -100px;
	width: 300px;
	height: 300px;
	z-index: 0;
	pointer-events: none;
}

.about .image-container .circle-wrapper .circle {
	width: 100%;
	height: 100%;
	background: var(--ember-deep);
	border-radius: 50%;
	opacity: 0.3;
	filter: blur(80px);
}

.about .details .section-label {
	color: var(--main-color);
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 10px;
}

.about .details .head h1 {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	margin-bottom: 25px;
}

.about .details > p {
	font-size: 15.5px;
	color: var(--text-muted);
	line-height: 1.9;
	margin-bottom: 22px;
}

.about .details .numbers {
	display: flex;
	gap: 20px;
	margin: 34px 0 40px;
	flex-wrap: wrap;
}

.about .details .numbers .box {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 25px 40px;
	backdrop-filter: blur(10px);
	text-align: center;
}

.about .details .numbers .box h3 {
	font-size: 42px;
	font-weight: 700;
	color: var(--main-color);
	line-height: 1;
}

.about .details .numbers .box p {
	font-size: 14px;
	color: var(--text-muted);
}

.about .details .expertise-list { margin-bottom: 40px; }

.about .details .expertise-list h2 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 20px;
}

.about .details .expertise-list .items {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.about .details .expertise-list .item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.about .details .expertise-list .item .icon {
	width: 24px;
	height: 24px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--gold), var(--ember-deep));
	border-radius: 50%;
	color: #180a03;
	font-size: 14px;
}

.about .details .expertise-list .item p {
	font-size: 14px;
	color: var(--text-muted);
}

.about .details .contact-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 35px;
	background: linear-gradient(135deg, var(--ember) 0%, var(--ember-deep) 100%);
	color: #180a03;
	font-size: 14px;
	font-weight: 600;
	border-radius: 50px;
	transition: all 0.3s ease;
}

.about .details .contact-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(255, 122, 24, 0.35);
}

/* ========================================
   Expertise Cards
======================================== */
.services .container { position: relative; z-index: 1; }

.services .cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}

.services .card {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 30px;
	padding: 40px;
	backdrop-filter: blur(20px);
	transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
}

.services .card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 196, 107, 0.4), transparent);
}

.services .card:hover {
	transform: translateY(-10px);
	border-color: rgba(255, 122, 24, 0.5);
	box-shadow: 0 25px 50px rgba(255, 61, 0, 0.15);
}

.services .card .image {
	width: 80px;
	height: 80px;
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 122, 24, 0.12);
	border-radius: 20px;
}

.services .card .image i {
	font-size: 40px;
	color: var(--main-color);
}

.services .card .name {
	font-size: 23px;
	font-weight: 600;
	margin-bottom: 15px;
}

.services .card .description {
	font-size: 14px;
	color: var(--text-muted);
	line-height: 1.8;
	margin-bottom: 22px;
}

.services .card .tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.services .card .tags span {
	font-family: var(--mono);
	font-size: 11px;
	padding: 5px 11px;
	border-radius: 999px;
	border: 1px solid var(--ember-line);
	background: rgba(255, 122, 24, 0.08);
	color: #ffd9b8;
}

/* ========================================
   Projects Section
======================================== */
.portfolio { padding-inline: clamp(1.5rem, 6vw, 5rem); }

.portfolio__layout {
	max-width: 1400px;
	margin: 0 auto clamp(3rem, 6vw, 4rem);
	display: grid;
	grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.6fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	position: relative;
	z-index: 1;
}

.portfolio__intro { max-width: 420px; }

.portfolio__intro .section-label {
	color: var(--main-color);
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 15px;
}

.portfolio__intro h2 {
	font-size: clamp(2.2rem, 4.5vw, 3rem);
	font-weight: 700;
	margin-bottom: 1rem;
}

.portfolio__intro .lede {
	color: var(--text-muted);
	margin-bottom: 1.6rem;
	line-height: 1.75;
}

.portfolio__highlights {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	font-size: 0.95rem;
	color: var(--text-muted);
}

.portfolio__highlights li {
	display: flex;
	align-items: flex-start;
}

.portfolio__highlights li::before {
	content: ">";
	color: var(--main-color);
	margin-right: 0.6rem;
	font-family: var(--mono);
	font-size: 0.85rem;
}

.portfolio__rail-wrap {
	position: relative;
	overflow-x: auto;
	padding-bottom: 1.5rem;
	mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
	scroll-snap-type: x mandatory;
}

.portfolio__rail {
	display: flex;
	gap: clamp(1.6rem, 4vw, 2.8rem);
	padding-bottom: 0.5rem;
}

.portfolio__rail-wrap::-webkit-scrollbar { height: 8px; }

.portfolio__rail-wrap::-webkit-scrollbar-thumb {
	background: rgba(255, 122, 24, 0.4);
	border-radius: 999px;
}

.portfolio__card {
	--card-accent: rgba(255, 122, 24, 0.45);
	position: relative;
	flex: 0 0 clamp(320px, 60vw, 500px);
	border-radius: 36px;
	padding: clamp(1.8rem, 3vw, 2.3rem);
	overflow: hidden;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
	border: 1px solid rgba(255, 122, 24, 0.22);
	box-shadow: 0 28px 48px rgba(0, 0, 0, 0.4);
	transition: transform 0.45s ease, box-shadow 0.45s ease;
	scroll-snap-align: start;
	backdrop-filter: blur(20px);
}

.portfolio__card::before {
	content: "";
	position: absolute;
	inset: -20% -30% 40% -10%;
	background: radial-gradient(circle at top left, var(--card-accent), transparent 65%);
	opacity: 0.65;
	transition: transform 0.5s ease, opacity 0.5s ease;
}

.portfolio__card:hover {
	transform: translateY(-8px);
	box-shadow: 0 36px 64px rgba(0, 0, 0, 0.5);
}

.portfolio__card:hover::before {
	transform: scale(1.08) translate(8%, -6%);
	opacity: 0.85;
}

.portfolio__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: clamp(1.2rem, 3vw, 1.7rem);
	height: 100%;
}

.portfolio__visual {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.portfolio__tag {
	align-self: flex-start;
	font-family: var(--mono);
	font-size: 0.65rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(15, 8, 4, 0.7);
	border: 1px solid var(--ember-line);
	color: var(--main-color);
}

/* Generated glyph artwork replaces the campaign photography */
.portfolio__visual-frame {
	position: relative;
	border-radius: 26px;
	padding-top: 54%;
	background: radial-gradient(circle at 30% 20%, rgba(255, 122, 24, 0.2), transparent 60%), rgba(10, 5, 3, 0.7);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 38px rgba(0, 0, 0, 0.4);
	overflow: hidden;
}

.portfolio__visual-art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transition: transform 0.6s ease;
}

.portfolio__card:hover .portfolio__visual-art { transform: scale(1.05); }

.portfolio__body {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	flex: 1;
}

.portfolio__header {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.portfolio__header h3 {
	font-size: clamp(1.35rem, 3vw, 1.7rem);
	font-weight: 600;
}

.portfolio__meta {
	display: flex;
	gap: 0.65rem;
	flex-wrap: wrap;
	font-family: var(--mono);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--main-color);
}

.portfolio__body p {
	color: var(--text-muted);
	font-size: 0.92rem;
	line-height: 1.75;
}

.portfolio__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: var(--gold);
	font-size: 0.85rem;
	font-weight: 600;
	transition: gap 0.3s ease;
}

.portfolio__link:hover { gap: 14px; }

/* ========================================
   Experience Timeline
======================================== */
.experience .container { position: relative; z-index: 1; }

.timeline {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	padding-left: 34px;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 9px;
	top: 6px;
	bottom: 6px;
	width: 2px;
	background: linear-gradient(180deg, var(--gold), var(--ember-deep), transparent);
}

.timeline__item {
	position: relative;
	padding: 0 0 38px 26px;
}

.timeline__item::before {
	content: '';
	position: absolute;
	left: -32px;
	top: 6px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold), var(--ember-deep));
	box-shadow: 0 0 0 5px rgba(255, 122, 24, 0.12);
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__date {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--main-color);
	margin-bottom: 6px;
}

.timeline__role {
	font-size: 19px;
	font-weight: 600;
	margin-bottom: 2px;
}

.timeline__org {
	font-size: 14px;
	color: var(--gold);
	margin-bottom: 10px;
}

.timeline__desc {
	font-size: 14px;
	color: var(--text-muted);
	line-height: 1.8;
	max-width: 640px;
}

/* ========================================
   Awards & Certificates
======================================== */
.awards .container { position: relative; z-index: 1; }

.awards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.award-box {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 25px;
	padding: 30px;
	backdrop-filter: blur(20px);
	transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
}

.award-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 196, 107, 0.35), transparent);
}

.award-box:hover {
	transform: translateY(-10px);
	border-color: rgba(255, 122, 24, 0.5);
	box-shadow: 0 25px 50px rgba(255, 61, 0, 0.15);
}

.award-box .award-icon {
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 16px;
	background: rgba(255, 122, 24, 0.12);
	color: var(--main-color);
	font-size: 26px;
	margin-bottom: 18px;
}

.award-box .award-rank {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 8px;
}

.award-box h3 {
	font-size: 17px;
	font-weight: 600;
	margin-bottom: 8px;
	line-height: 1.45;
}

.award-box .award-org {
	font-size: 13px;
	color: var(--main-color);
	margin-bottom: 12px;
}

.award-box p.award-desc {
	font-size: 13.5px;
	color: var(--text-muted);
	line-height: 1.8;
}

.certs { margin-top: 70px; }

.certs h3 {
	font-size: 20px;
	font-weight: 600;
	text-align: center;
	margin-bottom: 28px;
}

.certs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 16px;
}

.cert-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: all 0.3s ease;
}

.cert-item:hover {
	border-color: rgba(255, 122, 24, 0.45);
	transform: translateY(-3px);
}

.cert-item i {
	color: var(--main-color);
	font-size: 20px;
	flex: none;
}

.cert-item .cert-name {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.cert-item .cert-issuer {
	font-size: 12px;
	color: var(--text-muted);
}

/* ========================================
   Contact Section
======================================== */
.contact .container {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 60px;
	align-items: start;
	position: relative;
	z-index: 1;
}

.contact .form {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 30px;
	padding: 40px;
	backdrop-filter: blur(20px);
	position: relative;
	overflow: hidden;
}

.contact .form::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 196, 107, 0.4), transparent);
}

.contact .form .head { margin-bottom: 30px; }

.contact .form .head h2 {
	font-size: 30px;
	font-weight: 600;
	margin-bottom: 10px;
}

.contact .form .head p {
	font-size: 14px;
	color: var(--text-muted);
}

.contact .form .inputs {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 20px;
}

.contact .form .form-group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.contact .form .form-input label {
	display: block;
	font-size: 13px;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.contact .form .form-input input,
.contact .form .form-input textarea {
	width: 100%;
	padding: 15px 20px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--glass-border);
	border-radius: 10px;
	color: var(--text-color);
	font-family: inherit;
	font-size: 14px;
	transition: all 0.3s ease;
}

.contact .form .form-input input:focus,
.contact .form .form-input textarea:focus {
	outline: none;
	border-color: var(--main-color);
}

.contact .form .form-input textarea {
	min-height: 130px;
	resize: vertical;
}

.form-status {
	font-size: 13px;
	min-height: 20px;
	margin-bottom: 12px;
	color: var(--text-muted);
}

.form-status[data-state="error"] { color: #ff6b6b; }
.form-status[data-state="success"] { color: var(--gold); }

.contact .form button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 35px;
	background: linear-gradient(135deg, var(--ember) 0%, var(--ember-deep) 100%);
	color: #180a03;
	font-size: 14px;
	font-weight: 600;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
}

.contact .form button:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(255, 122, 24, 0.35);
}

.contact .methods h3 {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 30px;
}

.contact .methods .cards {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.contact .methods .method {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 20px 22px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	backdrop-filter: blur(20px);
	transition: all 0.3s ease;
}

.contact .methods .method:not(.method--static):hover {
	border-color: rgba(255, 122, 24, 0.5);
	transform: translateX(10px);
}

.contact .methods .method .icon {
	width: 48px;
	height: 48px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 122, 24, 0.12);
	border-radius: 12px;
	color: var(--main-color);
	font-size: 22px;
}

.contact .methods .method .info h3 {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
}

.contact .methods .method .info p {
	font-size: 13.5px;
	color: var(--text-muted);
	word-break: break-word;
}

/* ========================================
   Footer
======================================== */
.footer {
	background: linear-gradient(180deg, var(--bg-color) 0%, #050303 100%);
	padding: 60px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-content {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 60px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
	font-size: 26px;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 15px;
}

.footer-brand .logo span { color: var(--main-color); }

.footer-brand p {
	color: var(--text-muted);
	font-size: 14px;
	line-height: 1.7;
	max-width: 280px;
}

.footer-links h3,
.footer-social h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--white);
	margin-bottom: 20px;
}

.footer-links ul li { margin-bottom: 12px; }

.footer-links ul li a {
	color: var(--text-muted);
	font-size: 14px;
	transition: all 0.3s ease;
}

.footer-links ul li a:hover {
	color: var(--main-color);
	padding-left: 5px;
}

.footer-social .social-links {
	display: flex;
	gap: 12px;
}

.footer-social .social-links a {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-size: 18px;
	transition: all 0.3s ease;
}

.footer-social .social-links a:hover {
	background: var(--main-color);
	border-color: var(--main-color);
	color: var(--bg-color);
	transform: translateY(-3px);
}

.footer-bottom {
	padding: 25px 0;
	text-align: center;
}

.footer-bottom p {
	color: var(--text-muted);
	font-size: 14px;
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1200px) {
	.home .container { padding: 0 30px; gap: 24px; }
	.header .nav-link { padding: 14px 22px; font-size: 14px; }
	.awards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
	.social-icons { left: 15px; gap: 10px; }
	.social-icons .icon { width: 40px; height: 40px; font-size: 18px; }

	.home {
		min-height: auto;
		padding: 130px 0 60px;
	}

	.home .container {
		grid-template-columns: 1fr;
		text-align: center;
		padding-left: 70px;
		padding-right: 20px;
	}

	.home .info .description { margin-left: auto; margin-right: auto; }
	.home .info .cta-btns { justify-content: center; }
	.home .hero-stats { justify-content: center; margin: 0 auto; }

	.home .image { order: -1; }
	.phoenix-stage { width: min(420px, 100%); }

	.home .bg-text .scroll-text { font-size: 100px; }

	.header { top: 15px; }
	.header .container { overflow-x: auto; justify-content: flex-start; }
	.header .nav-link { padding: 12px 18px; font-size: 13px; }

	.about .container { grid-template-columns: 1fr; gap: 60px; }
	.about .image-container { max-width: 420px; margin: 0 auto; }

	.services .cards { grid-template-columns: 1fr; }

	.portfolio__layout { grid-template-columns: 1fr; gap: 2.5rem; }
	.portfolio__card { flex: 0 0 78vw; }

	.awards-grid { grid-template-columns: 1fr; }

	.contact .container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
	.social-icons { left: 10px; gap: 8px; }
	.social-icons .icon { width: 36px; height: 36px; font-size: 16px; }

	.home .container { padding-left: 56px; padding-right: 16px; }
	.home .info .cta-btns a { padding: 14px 30px; font-size: 14px; }
	.home .hero-stats { gap: 22px; }
	.home .bg-text .scroll-text { font-size: 70px; }

	.orbit .chip { font-size: 10px; padding: 6px 10px 6px 22px; }
	.orbit .chip::before { left: 8px; width: 6px; height: 6px; }
	.orbit .c3 { left: 0; }
	.orbit .c7 { right: 0; }
	.orbit .c5 { left: 0; }

	.section { padding: 70px 0; }

	.about .details .expertise-list .items { grid-template-columns: 1fr; }
	.about .details .numbers { gap: 14px; }
	.about .details .numbers .box { padding: 20px 26px; flex: 1; }

	.services .card { padding: 30px; }

	.portfolio__card { flex: 0 0 85vw; padding: 1.6rem; }

	.timeline { padding-left: 26px; }
	.timeline__item { padding-left: 20px; }

	.contact .form { padding: 30px; }
	.contact .form .form-group { grid-template-columns: 1fr; }

	.footer-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
	.footer-brand p { max-width: 100%; }
	.footer-social .social-links { justify-content: center; }
}

@media (max-width: 576px) {
	.social-icons { display: none; }

	.home .container { padding-left: 16px; }
	.home .info .cta-btns { flex-direction: column; width: 100%; }
	.home .info .cta-btns a { width: 100%; text-align: center; }
	.home .hero-stats { gap: 18px; }
	.home .hero-stats strong { font-size: 20px; }
	.home .bg-text .scroll-text { font-size: 50px; }

	.header .nav-link { padding: 10px 14px; font-size: 12px; }

	.section { padding: 56px 0; }
	.section-head { margin-bottom: 40px; }

	.about .image-container .image { min-height: 0; }
	.about .image-container .image__portrait { width: 150px; height: 150px; }
	.about .details .numbers { flex-direction: column; }

	.awards-grid { gap: 18px; }
	.certs-grid { grid-template-columns: 1fr; }

	.contact .form { padding: 22px; }
	.contact .form .head h2 { font-size: 24px; }
	.contact .methods .method { padding: 15px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}
