/* =========================================
   DESIGN SYSTEM — ulinnuha.eth Portfolio
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary:    #0f172a;
  --bg-secondary:  #111c2d;
  --bg-card:       #131f32;
  --accent-start:  #1e3a8a;
  --accent-end:    #2563eb;
  --highlight:     #3b82f6;
  --highlight-dim: #1d4ed8;
  --text-primary:  #e2e8f0;
  --text-secondary:#94a3b8;
  --text-muted:    #64748b;
  --border:        rgba(59, 130, 246, 0.15);
  --border-hover:  rgba(59, 130, 246, 0.5);
  --glow:          rgba(59, 130, 246, 0.25);
  --glow-strong:   rgba(59, 130, 246, 0.45);
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --transition:    0.25s ease;
  --shadow-blue:   0 4px 24px rgba(37, 99, 235, 0.12);
  --shadow-blue-lg:0 8px 40px rgba(37, 99, 235, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: var(--highlight);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: #93c5fd; }

img { max-width: 100%; display: block; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--accent-start), var(--accent-end));
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: var(--highlight); }

/* === SELECTION === */
::selection {
  background: rgba(59, 130, 246, 0.3);
  color: #fff;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  border-bottom-color: rgba(59, 130, 246, 0.25);
}

.nav-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.1);
}

.nav-links a.active {
  color: var(--highlight);
}

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

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

/* =========================================
   CONTAINER
   ========================================= */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

/* Animated radial gradient background */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 6s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 8s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Avatar */
.avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.avatar-ring {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end), #60a5fa);
  box-shadow: 0 0 32px var(--glow-strong);
  animation: float 4s ease-in-out infinite;
}

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

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-placeholder {
  width: 154px;
  height: 154px;
  border-radius: 50%;
  background: linear-gradient(135deg, #111c2d, #1e3a8a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: #60a5fa;
}

.avatar-status {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: #10b981;
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

/* Hero content */
.hero-content { max-width: 600px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-name {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.hero-name span {
  background: linear-gradient(135deg, #60a5fa, #3b82f6, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.55);
  color: #fff;
  filter: brightness(1.1);
}

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

.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--highlight);
  color: var(--highlight);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

/* =========================================
   AVAILABLE FOR WORK CARD
   ========================================= */
.available-section {
  padding: 2rem 0 3rem;
}

.available-card {
  background: var(--bg-card);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 4px 24px rgba(16, 185, 129, 0.08);
  position: relative;
  overflow: hidden;
}

.available-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.available-info { display: flex; align-items: center; gap: 1rem; }

.available-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.available-text h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.available-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* =========================================
   TABS SECTION
   ========================================= */
.tabs-section { padding: 4rem 0; }

.tabs-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: var(--bg-secondary);
  padding: 5px;
  border-radius: var(--radius-md);
  width: fit-content;
  border: 1px solid var(--border);
}

.tab-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: #fff;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.4);
}

.tab-btn:hover:not(.active) {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.08);
}

.tab-panel { display: none; animation: fadeIn 0.3s ease; }
.tab-panel.active { display: block; }

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

/* Timeline items */
.timeline { display: flex; flex-direction: column; gap: 1.5rem; }

.timeline-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
  transition: all var(--transition);
}

.timeline-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-blue);
  transform: translateX(4px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent-start), var(--accent-end));
  border-radius: 0 0 0 var(--radius-md);
  border-top-left-radius: var(--radius-md);
}

.timeline-period {
  font-size: 0.75rem;
  color: var(--highlight);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.timeline-title {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.timeline-org {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================================
   STACK SECTION
   ========================================= */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

.stack-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  cursor: default;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stack-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.stack-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 8px 30px var(--glow);
}

.stack-card:hover::after { opacity: 0.06; }

.stack-icon {
  font-size: 2rem;
  position: relative;
  z-index: 1;
  transition: transform var(--transition);
}

.stack-card:hover .stack-icon { transform: scale(1.15); }

.stack-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: 'Space Grotesk', sans-serif;
  position: relative;
  z-index: 1;
  transition: color var(--transition);
}

.stack-card:hover .stack-name { color: var(--text-primary); }

/* =========================================
   PAGE HERO (Gallery / Projects)
   ========================================= */
.page-hero {
  padding-top: 120px;
  padding-bottom: 3rem;
  text-align: center;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .section-title { font-size: clamp(2rem, 5vw, 3rem); }

.page-hero .section-subtitle { max-width: 480px; margin-left: auto; margin-right: auto; }

/* =========================================
   GALLERY PAGE
   ========================================= */
.gallery-section { padding: 2rem 0 5rem; }

.masonry-grid {
  columns: 3;
  column-gap: 1.25rem;
}

@media (max-width: 900px) { .masonry-grid { columns: 2; } }
@media (max-width: 500px) { .masonry-grid { columns: 1; } }

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.masonry-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-blue-lg);
  transform: scale(1.015);
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.masonry-item:hover img { transform: scale(1.05); }

.masonry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.masonry-item:hover .masonry-overlay { opacity: 1; }

.masonry-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

/* =========================================
   LIGHTBOX — with info panel
   ========================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 24, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.5rem;
}

.lightbox.open { display: flex; }

/* Wrapper: gambar kiri, panel info kanan */
.lightbox-wrap {
  position: relative;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  max-width: 92vw;
  max-height: 90vh;
  animation: fadeIn 0.22s ease;
}

/* Tombol tutup */
.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(59, 130, 246, 0.2);
  color: var(--text-primary);
  border-color: var(--highlight);
}

/* Area gambar */
.lightbox-img-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 65vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border);
  display: block;
}

/* Panel info — muncul di kanan gambar */
.lightbox-info {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: stretch;
  min-height: 0;
}

.lightbox-info-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.lightbox-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  flex: 1;
}

/* View counter badge */
.lightbox-views {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 99px;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  color: #93c5fd;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.lightbox-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.lightbox-meta {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.lightbox-date {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Responsive: panel pindah ke bawah gambar di layar kecil */
@media (max-width: 780px) {
  .lightbox-wrap {
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    max-height: 90vh;
  }

  .lightbox-img-wrap img {
    max-width: 90vw;
    max-height: 55vh;
  }

  .lightbox-info {
    width: 100%;
    max-width: 90vw;
    align-self: auto;
  }
}

/* === Gallery empty state === */
.gallery-empty {
  text-align: center;
  padding: 5rem 1rem;
  color: var(--text-muted);
}

.gallery-empty-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.gallery-empty-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.gallery-empty-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* =========================================
   PROJECTS PAGE
   ========================================= */
.projects-section { padding: 2rem 0 5rem; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.project-card:hover::before { opacity: 0.04; }

.project-thumb {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #111c2d, #1e3a8a);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-thumb img { transform: scale(1.05); }

.project-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: 0.4;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.project-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
}

.project-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.project-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--highlight);
  color: var(--highlight);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--glow);
}

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

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* Hero specific stagger */
.hero-badge     { animation: slideDown 0.6s ease 0.1s both; }
.hero-name      { animation: slideDown 0.6s ease 0.2s both; }
.hero-role      { animation: slideDown 0.6s ease 0.3s both; }
.hero-tagline   { animation: slideDown 0.6s ease 0.4s both; }
.hero-actions   { animation: slideDown 0.6s ease 0.5s both; }
.avatar-ring    { animation: float 4s ease-in-out infinite, slideLeft 0.7s ease 0.1s both; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .avatar-wrap { margin: 0 auto; }

  .hero-actions { justify-content: center; }

  .hero-tagline { margin: 0 auto 2rem; }

  .available-card {
    flex-direction: column;
    text-align: center;
  }

  .available-info { flex-direction: column; text-align: center; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: flex; }

  .tabs-nav {
    width: 100%;
    overflow-x: auto;
  }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; }

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

@media (max-width: 480px) {
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
  section { padding: 3.5rem 0; }
}
