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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #0f0f0f;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --bg-glass: rgba(10, 10, 10, 0.7);
  --accent: #d4a574;
  --accent-light: #e8c4a0;
  --accent-glow: rgba(212, 165, 116, 0.3);
  --accent-subtle: rgba(212, 165, 116, 0.1);
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
  --text-muted: #666;
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(212, 165, 116, 0.2);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-primary);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; font-family: inherit; }

/* backgrounds */
.bg-layers {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-aurora {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bg-depth-container {
  position: absolute;
  inset: 0;
}

.bg-depth {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.12;
  will-change: transform, top, left;
}

.depth-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #d4a574 0%, transparent 70%);
  top: -10%;
  left: -5%;
  animation: depthPos1 25s ease-in-out infinite;
}

.depth-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #e8c4a0 0%, transparent 70%);
  bottom: -5%;
  right: -5%;
  animation: depthPos2 30s ease-in-out infinite;
}

.depth-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #c9956b 0%, transparent 70%);
  top: 40%;
  left: 60%;
  animation: depthPos3 20s ease-in-out infinite;
}

.depth-4 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #d4a574 0%, transparent 70%);
  top: 60%;
  left: 10%;
  animation: depthPos1 22s ease-in-out infinite reverse;
  opacity: 0.08;
}

.depth-5 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #b8845a 0%, transparent 70%);
  top: 20%;
  right: -10%;
  animation: depthPos2 28s ease-in-out infinite 5s;
  opacity: 0.06;
}

@keyframes depthPos1 {
  0%, 100% { top: -10%; left: -5%; }
  33% { top: -8%; left: -2%; }
  66% { top: -12%; left: -8%; }
}

@keyframes depthPos2 {
  0%, 100% { bottom: -5%; right: -5%; }
  25% { bottom: -3%; right: -7%; }
  50% { bottom: -8%; right: -3%; }
  75% { bottom: -4%; right: -6%; }
}

@keyframes depthPos3 {
  0%, 100% { top: 40%; left: 60%; }
  50% { top: 42%; left: 62%; }
}

/* noise overlay thing */
.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

/* loading screen */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.loading-screen #particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.loading-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.loading-logo-container {
  width: 120px;
  height: 120px;
  animation: logoPulse 2s ease-in-out infinite;
}

.loading-logo {
  width: 100%;
  height: 100%;
  animation: logoSpin 8s linear infinite;
}

.loading-logo .logo-circle {
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  animation: drawCircle 2s ease forwards;
}

.loading-logo .logo-bunny {
  opacity: 0;
  animation: fadeInLogo 1s ease 0.5s forwards;
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes fadeInLogo {
  to { opacity: 1; }
}

@keyframes logoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px var(--accent-glow)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 40px var(--accent-glow)); }
}

.loading-bar-container {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  transition: width 0.1s linear;
}

.skip-intro {
  color: var(--text-muted);
  font-size: 13px;
  font-family: var(--font-sans);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: var(--transition);
  opacity: 0;
  animation: fadeIn 0.5s ease 1.5s forwards;
}

.skip-intro:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 1001;
  width: 0%;
  transition: width 0.1s linear;
}

/* navbar */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  z-index: 1000;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  border-radius: 100px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  top: 12px;
  height: 56px;
  background: rgba(10, 10, 10, 0.85);
  border-color: var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-svg {
  width: 32px;
  height: 32px;
  transition: var(--transition);
}

.nav-logo:hover .nav-logo-svg {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.nav-logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: var(--transition);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent);
}

.nav-cta {
  padding: 10px 24px;
  background: var(--accent);
  color: var(--bg-primary);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px var(--accent-glow);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg canvas {
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
  top: -100px;
  right: -100px;
  background: var(--accent);
  animation-delay: 0s;
}

.blob-2 {
  bottom: -100px;
  left: -100px;
  background: #c9956b;
  animation-delay: -10s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-logo {
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-logo-svg {
  width: 64px;
  height: 64px;
  opacity: 0.5;
  transition: var(--transition);
}

.hero-logo:hover .hero-logo-svg {
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px var(--accent-glow));
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.title-line {
  font-size: clamp(36px, 8vw, 80px);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.1;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.title-highlight {
  font-size: clamp(48px, 12vw, 120px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease 0.7s both;
  position: relative;
}

.title-highlight::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
  opacity: 0.4;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 28px);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 40px;
  line-height: 1.5;
  animation: fadeInUp 0.8s ease 0.9s both;
}

.typing-text {
  color: var(--accent);
  font-weight: 500;
  border-right: 2px solid var(--accent);
  padding-right: 4px;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 1.1s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--accent-glow);
}

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

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.magnetic-btn {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  animation: fadeInUp 0.8s ease 1.3s both;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: fadeIn 1s ease 2s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* sections global */
section {
  padding: 120px 24px;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* about section */
.about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto 80px;
  align-items: center;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.about-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  transition: var(--transition);
}

.about-portrait:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.about-image-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), transparent, var(--accent));
  z-index: -1;
  opacity: 0.3;
  animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.about-heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.about-text {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* timeline */
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline-line {
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateX(-20px);
  transition: var(--transition);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-secondary);
  box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: var(--border-light);
}

.timeline-year {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.timeline-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 8px 0;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* skills section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%);
  transition: var(--transition);
}

.skill-card:hover::before {
  transform: translateX(100%);
}

.skill-card:hover {
  border-color: var(--border-light);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.skill-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  color: var(--accent);
  transition: var(--transition);
}

.skill-card:hover .skill-icon {
  background: var(--accent);
  color: var(--bg-primary);
  transform: scale(1.1);
}

.skill-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.skill-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* projects */
.projects {
  background: var(--bg-secondary);
}

.featured-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 80px;
}

.featured-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.featured-card:hover {
  border-color: var(--border-light);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.featured-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-primary);
}

.featured-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  opacity: 0.5;
  transition: var(--transition);
}

.featured-card:hover .featured-image-placeholder {
  opacity: 1;
  color: var(--accent);
  transform: scale(1.05);
}

.preview-thumb {
  width: 180px;
  height: 120px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.preview-bar {
  height: 24px;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.preview-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.preview-bar span:first-child { background: rgba(255,100,100,0.4); }
.preview-bar span:nth-child(2) { background: rgba(255,200,50,0.4); }
.preview-bar span:nth-child(3) { background: rgba(100,200,100,0.4); }

.preview-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
}

.preview-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.preview-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-lines span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
  width: 100%;
}

.preview-lines span:nth-child(2) { width: 80%; }
.preview-lines span:nth-child(3) { width: 60%; }

.featured-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.featured-card:hover .featured-overlay {
  opacity: 1;
}

.featured-info {
  padding: 28px;
}

.featured-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.featured-tags span {
  padding: 4px 12px;
  background: var(--accent-subtle);
  color: var(--accent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}

.featured-info h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.featured-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.featured-links {
  display: flex;
  gap: 20px;
}

.featured-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.featured-link:hover {
  gap: 12px;
  letter-spacing: 0.5px;
}

/* project gallery */
.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery-header h3 {
  font-size: 24px;
  font-weight: 700;
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.gallery-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  transition: var(--transition);
}

.gallery-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

.gallery-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  width: 160px;
}

.gallery-search input::placeholder {
  color: var(--text-muted);
}

.gallery-filters {
  display: flex;
  gap: 8px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
}

.filter-btn.active {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.gallery-item:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.gallery-thumb {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  background: var(--accent-subtle);
  color: var(--accent);
  flex-shrink: 0;
}

.gallery-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.gallery-info span {
  font-size: 13px;
  color: var(--text-muted);
}

.gallery-item.hidden {
  display: none;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  color: var(--accent);
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  background: var(--accent);
  color: var(--bg-primary);
  transform: scale(1.05);
}

.contact-item h4 {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item a,
.contact-item p {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

/* form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group label {
  position: absolute;
  left: 20px;
  top: 16px;
  font-size: 15px;
  color: var(--text-muted);
  transition: var(--transition);
  pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 12px;
  font-size: 11px;
  padding: 0 8px;
  background: var(--bg-card);
  color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: transparent;
}

/* footer */
.footer {
  padding: 60px 24px 40px;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

.footer-logo-svg {
  width: 28px;
  height: 28px;
}

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

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

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

.back-to-top {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: var(--transition);
}

.back-to-top:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* responsive */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-frame {
    max-width: 400px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .navbar {
    top: 12px;
    width: calc(100% - 24px);
    padding: 0 16px;
    height: 56px;
    border-radius: 16px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 24px;
    transition: var(--transition);
    border-left: 1px solid var(--border);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 20px;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  section {
    padding: 80px 20px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .hero-glow {
    width: 400px;
    height: 400px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .featured-projects {
    grid-template-columns: 1fr;
  }

  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-search {
    width: 100%;
  }

  .gallery-search input {
    width: 100%;
  }

  .gallery-filters {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .filter-btn {
    white-space: nowrap;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 11px;
    padding: 6px 16px;
  }

  .stat-number {
    font-size: 28px;
  }

  .featured-info {
    padding: 20px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 28px;
  }

  .timeline-dot {
    left: -24px;
    width: 10px;
    height: 10px;
  }
}
