/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  --bg:       #08090D;
  --bg-1:     #0C0E16;
  --bg-2:     #101420;
  --card:     #111520;
  --card-b:   #1A2030;
  --border:   rgba(255,255,255,0.06);
  --orange:   #FF5E3A;
  --cyan:     #00E5FF;
  --white:    #F7F7F7;
  --muted:    #6A7A90;
  --faint:    rgba(247,247,247,0.04);
  --glow-o:   rgba(255,94,58,0.18);
  --glow-c:   rgba(0,229,255,0.15);
  --r: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* ═══ CUSTOM CURSOR ═══ */
.cursor-dot, .cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition-property: opacity, transform;
  transition-timing-function: ease;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--orange);
  top: 0; left: 0;
  transition-duration: 0.05s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,229,255,0.7);
  top: 0; left: 0;
  transition-duration: 0.18s;
}
body:hover .cursor-ring { opacity: 1; }
a:hover ~ .cursor-ring, a:hover .cursor-ring { transform: translate(-50%,-50%) scale(1.5); }

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 2px; }

/* ═══ GRAIN OVERLAY ═══ */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 9998;
}

/* ═══ NAV ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(8,9,13,0.95) 0%, transparent 100%);
  backdrop-filter: blur(0px);
  transition: backdrop-filter 0.4s, background 0.4s;
}
nav.scrolled {
  background: rgba(8,9,13,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--white);
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo span {
  width: 32px; height: 32px;
  background: var(--orange);
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 16px;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}
.nav-links {
  display: flex; gap: 40px; list-style: none;
}
.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange) !important;
  padding: 8px 22px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s !important;
}
.nav-cta:hover {
  background: var(--orange) !important;
  color: #fff !important;
  box-shadow: 0 0 20px var(--glow-o) !important;
}
.nav-cta::after { display: none !important; }
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 1px; transition: 0.3s; }

/* ═══ HERO ═══ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 60px;
}
#starfield {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  padding: 6px 14px; border-radius: 2px;
  margin-bottom: 28px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,229,255,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(0,229,255,0); }
}
.hero-h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 9vw, 128px);
  line-height: 0.9;
  letter-spacing: 2px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.9s 0.35s forwards;
}
.hero-h1 .line-orange { color: var(--orange); display: block; }
.hero-h1 .line-white { color: var(--white); display: block; }
.hero-sub {
  margin-top: 24px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted);
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s 0.55s forwards;
}
.hero-sub span { color: var(--white); }
.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 40px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s 0.7s forwards;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 32px;
  border: none; border-radius: 4px;
  text-decoration: none;
  cursor: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,94,58,0.4);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 13px 32px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  text-decoration: none;
  cursor: none;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.btn-secondary:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px var(--glow-c), inset 0 0 20px rgba(0,229,255,0.04);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex; gap: 40px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px; letter-spacing: 1px;
  color: var(--orange);
}
.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted);
}

/* Hero Right - Orbital Visual */
.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
  opacity: 0;
  animation: fadeIn 1.2s 0.6s forwards;
}
.orbit-container {
  position: relative;
  width: 420px; height: 420px;
}
.orbit-center {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.orbit-avatar {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-2), var(--card-b));
  border: 2px solid rgba(0,229,255,0.3);
  box-shadow: 0 0 60px rgba(0,229,255,0.12), inset 0 0 40px rgba(0,229,255,0.05);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px;
  color: var(--white);
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}
.orbit-avatar::before {
  content: '';
  position: absolute; inset: -2px;
  background: conic-gradient(var(--cyan), var(--orange), var(--cyan));
  border-radius: 50%;
  z-index: -1;
  animation: spin 6s linear infinite;
}
.orbit-avatar::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.orbit-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}
@keyframes spin { to { transform: rotate(360deg); } }

.orbit-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  animation: orbitSpin linear infinite;
}
.orbit-ring-1 {
  inset: 40px;
  border-color: rgba(0,229,255,0.12);
  animation-duration: 20s;
}
.orbit-ring-2 {
  inset: 0;
  border-color: rgba(255,94,58,0.1);
  animation-duration: 30s;
  animation-direction: reverse;
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.orbit-dot {
  position: absolute;
  width: 10px; height: 10px; border-radius: 50%;
  top: 50%; left: 50%;
  margin: -5px 0 0 -5px;
}
.orbit-dot-1 {
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: dotOrbit 20s linear infinite;
  transform-origin: 0 0;
}
.orbit-dot-2 {
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
  animation: dotOrbit2 30s linear infinite reverse;
  transform-origin: 0 0;
}
@keyframes dotOrbit {
  0% { transform: rotate(0deg) translateX(150px); }
  100% { transform: rotate(360deg) translateX(150px); }
}
@keyframes dotOrbit2 {
  0% { transform: rotate(45deg) translateX(195px); }
  100% { transform: rotate(405deg) translateX(195px); }
}

/* Floating tags around orbit */
.orbit-tag {
  position: absolute;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 5px 10px; border-radius: 3px;
  white-space: nowrap;
  animation: floatY 4s ease-in-out infinite;
}
.orbit-tag:nth-child(1) { top: 10px; right: 0; animation-delay: 0s; }
.orbit-tag:nth-child(2) { bottom: 80px; right: -20px; animation-delay: 1s; }
.orbit-tag:nth-child(3) { top: 100px; left: -10px; animation-delay: 2s; }
.orbit-tag:nth-child(4) { bottom: 20px; left: 30px; animation-delay: 1.5s; }
@keyframes floatY {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* ═══ SECTION SHARED ═══ */
section { position: relative; overflow: hidden; }
.section-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 60px;
}
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--orange);
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: 2px;
  line-height: 1;
  color: var(--white);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
}

/* Fade in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══ PROJECTS ═══ */
#projects { background: var(--bg); }
.projects-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 60px; flex-wrap: wrap; gap: 20px;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 24px;
}
.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  cursor: none;
  transition: transform 0.4s ease, border-color 0.4s, box-shadow 0.4s;
  position: relative;
  group: true;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,229,255,0.25);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 40px var(--glow-c);
}
.project-thumb {
  height: 220px;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.project-thumb-bg {
  position: absolute; inset: 0;
  background: var(--gradient);
  opacity: 0.3;
  transition: opacity 0.4s;
}
.project-card:hover .project-thumb-bg { opacity: 0.5; }
.project-icon {
  font-size: 64px;
  position: relative; z-index: 1;
  transition: transform 0.4s;
}
.project-card:hover .project-icon { transform: scale(1.1); }
.project-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--card), transparent 50%);
}
.project-body { padding: 28px; }
.project-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 10px;
}
.project-desc {
  font-size: 14px; line-height: 1.7;
  color: var(--muted);
  margin-bottom: 20px;
}
.project-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
}
.tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.18);
  padding: 4px 10px; border-radius: 2px;
}
.project-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  transition: gap 0.3s;
}
.project-link:hover { gap: 10px; }
.project-link svg { transition: transform 0.3s; }
.project-link:hover svg { transform: translateX(3px); }

/* Featured card — big */
.project-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.project-card.featured .project-thumb {
  height: auto;
  min-height: 320px;
}

/* ═══════════════════════════════════════════
   PHOTOGRAPHY FILM REEL
═══════════════════════════════════════════ */
#photography { background: var(--bg); }
.film-reel-outer {
  position: relative;
  overflow: hidden;
  margin: 0 -60px;
  padding: 0 60px;
}
.film-reel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 40px 60px 60px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}
.film-reel-track::-webkit-scrollbar { display: none; }
.film-reel-track.dragging { cursor: grabbing; }
.film-frame {
  flex: 0 0 220px;
  height: 340px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), box-shadow 0.4s, border-color 0.4s;
  background: var(--card);
  cursor: none;
}
.film-frame:hover {
  transform: translateY(-12px) scale(1.03);
  border-color: rgba(0,229,255,0.35);
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 40px rgba(0,229,255,0.15);
  z-index: 5;
}
/* Sprocket holes top and bottom */
.film-frame::before, .film-frame::after {
  content: '';
  position: absolute; left: 0; right: 0;
  height: 18px;
  background: repeating-linear-gradient(90deg,
    transparent 0px, transparent 8px,
    rgba(0,0,0,0.8) 8px, rgba(0,0,0,0.8) 10px,
    transparent 10px, transparent 22px
  );
  z-index: 3;
  pointer-events: none;
}
.film-frame::before { top: 0; }
.film-frame::after { bottom: 0; }
.film-bg {
  position: absolute; inset: 0;
  background: var(--grad);
  transition: transform 0.6s ease;
}
.film-frame:hover .film-bg { transform: scale(1.06); }
.film-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.08; z-index: 2; pointer-events: none;
}
.film-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  z-index: 2;
}
.film-meta {
  position: absolute; bottom: 24px; left: 16px; right: 16px;
  z-index: 4;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
}
.film-frame:hover .film-meta { opacity: 1; transform: translateY(0); }
.film-meta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 4px;
}
.film-meta-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--cyan);
}
.film-label {
  position: absolute; top: 22px; left: 16px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px; letter-spacing: 3px;
  color: rgba(255,255,255,0.25);
  z-index: 4;
  writing-mode: vertical-rl;
}
.film-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 52px; z-index: 3;
  transition: transform 0.4s, opacity 0.3s;
}
.film-frame:hover .film-icon { opacity: 0.3; transform: translate(-50%,-60%) scale(0.9); }

.film-reel-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 60px;
  flex-wrap: wrap; gap: 16px;
}
.film-scroll-hint {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.film-scroll-hint::before {
  content: '';
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--muted));
}
/* fade edges */
.film-reel-outer::before, .film-reel-outer::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
  pointer-events: none;
}
.film-reel-outer::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.film-reel-outer::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

/* ═══════════════════════════════════════════
   GRAPHIC DESIGN POSTER WALL
═══════════════════════════════════════════ */
#design { background: var(--bg-1); position: relative; }
#design::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 20% 50%, rgba(255,94,58,0.04), transparent),
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(0,229,255,0.04), transparent);
  pointer-events: none;
}
.poster-wall {
  position: relative;
  height: 500px;
  margin: 0 -20px;
  perspective: 1000px;
}
.poster-card {
  position: absolute;
  width: 220px;
  border-radius: 10px;
  overflow: hidden;
  cursor: none;
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform-style: preserve-3d;
}
.poster-card:hover {
  transform: translateY(-16px) rotate(0deg) scale(1.08) !important;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 50px var(--glow-c);
  z-index: 10 !important;
}
.poster-card-inner {
  width: 100%; height: 100%;
  background: var(--grad);
  position: relative;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
/* Glass reflection */
.poster-card-inner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(160deg, rgba(255,255,255,0.12) 0%, transparent 100%);
  pointer-events: none; z-index: 2;
}
.poster-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-60%);
  font-size: 56px; z-index: 1;
  transition: transform 0.4s;
}
.poster-card:hover .poster-icon { transform: translate(-50%,-65%) scale(1.1); }
.poster-meta {
  position: relative; z-index: 3;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  border-radius: 6px;
  padding: 10px 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s, transform 0.35s;
}
.poster-card:hover .poster-meta { opacity: 1; transform: translateY(0); }
.poster-meta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px; letter-spacing: 2px;
  color: var(--white);
}
.poster-meta-type {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan);
}
/* dim siblings on hover */
.poster-wall:hover .poster-card:not(:hover) {
  filter: brightness(0.45);
}
.poster-wall-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px; flex-wrap: wrap; gap: 16px;
}

/* ═══════════════════════════════════════════
   BLOG TERMINAL
═══════════════════════════════════════════ */
#blog { background: var(--bg); }
.terminal-header {
  display: flex; align-items: center; gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 14px 20px;
  margin-bottom: 0;
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.terminal-dots span:nth-child(1) { background: #FF5F57; }
.terminal-dots span:nth-child(2) { background: #FEBC2E; }
.terminal-dots span:nth-child(3) { background: #28C840; }
.terminal-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted);
  margin-left: 8px;
}
.terminal-body {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0 0 10px 10px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.terminal-body::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 28px,
    rgba(255,255,255,0.01) 28px,
    rgba(255,255,255,0.01) 29px
  );
  pointer-events: none;
}
.log-entry {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.2s;
  border-radius: 6px;
  position: relative;
  cursor: none;
}
.log-entry.streamed { opacity: 1; transform: translateY(0); }
.log-entry:hover { background: rgba(255,255,255,0.02); }
.log-entry:hover .log-arrow { opacity: 1; transform: translateX(0); }
.log-entry:last-child { border-bottom: none; }
.log-timestamp {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  color: var(--orange);
  white-space: nowrap;
  min-width: 80px;
  padding-top: 2px;
}
.log-content { flex: 1; }
.log-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px; font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
  transition: color 0.3s;
}
.log-entry:hover .log-title { color: var(--cyan); }
.log-excerpt {
  font-size: 13px; line-height: 1.65;
  color: var(--muted);
  margin-bottom: 10px;
}
.log-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.log-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(0,229,255,0.7);
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.12);
  padding: 3px 8px; border-radius: 2px;
}
.log-tag.orange {
  color: rgba(255,94,58,0.8);
  background: rgba(255,94,58,0.06);
  border-color: rgba(255,94,58,0.15);
}
.log-arrow {
  font-size: 18px; color: var(--cyan);
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
  padding-top: 2px; align-self: center;
}
.terminal-prompt {
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; color: var(--muted);
}
.terminal-prompt::before {
  content: '>';
  color: var(--cyan);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
}
.terminal-cursor {
  width: 8px; height: 14px;
  background: var(--cyan);
  display: inline-block;
  animation: blink 1.1s step-end infinite;
  border-radius: 1px;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.blog-footer {
  display: flex; justify-content: flex-end;
  margin-top: 32px;
}

/* ═══ Shared CTA row ═══ */
.showcase-cta-row {
  display: flex; align-items: center; justify-content: flex-end;
}
.btn-cta-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  border: none; border-radius: 4px;
  padding: 13px 28px;
  text-decoration: none;
  cursor: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-cta-arrow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,94,58,0.4);
}
.btn-cta-arrow svg { transition: transform 0.3s; }
.btn-cta-arrow:hover svg { transform: translateX(4px); }

/* View All projects button */
.projects-view-all {
  display: flex; justify-content: center;
  margin-top: 50px;
}
.btn-view-all {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 13px 32px;
  text-decoration: none;
  cursor: none;
  transition: color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.btn-view-all:hover {
  color: var(--white);
  border-color: var(--cyan);
  box-shadow: 0 0 24px var(--glow-c);
  transform: translateY(-2px);
}

/* ═══ ABOUT ═══ */
#about { background: var(--bg-1); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-bio {
  font-size: 18px; line-height: 1.8;
  color: rgba(247,247,247,0.8);
  margin-bottom: 32px;
}
.about-bio strong { color: var(--orange); font-weight: 600; }
.about-interests {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 32px;
}
.interest-chip {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--white);
  background: var(--card-b);
  border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 3px;
  transition: border-color 0.3s, color 0.3s;
}
.interest-chip:hover { border-color: var(--cyan); color: var(--cyan); }

/* Timeline */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--orange), var(--cyan), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item::before {
  content: '';
  position: absolute; left: -34px; top: 6px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}
.timeline-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px; letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 4px;
}
.timeline-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px; font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.timeline-desc {
  font-size: 14px; line-height: 1.7;
  color: var(--muted);
}

/* ═══ SKILLS ═══ */
#skills { background: var(--bg); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
  cursor: default;
}
.skill-card:hover {
  border-color: rgba(0,229,255,0.2);
  transform: translateY(-4px);
}
.skill-card-icon {
  font-size: 32px; margin-bottom: 16px;
}
.skill-card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}
.skill-item {
  margin-bottom: 16px;
}
.skill-item-top {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--white);
  margin-bottom: 6px;
}
.skill-item-pct {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px; letter-spacing: 1px;
  color: var(--muted);
}
.skill-bar {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  border-radius: 2px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(0,229,255,0.3);
}

/* ═══ CONTACT ═══ */
#contact { background: var(--bg-1); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info-line {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.contact-icon {
  width: 40px; height: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 18px;
}
.contact-info-text {
  font-size: 14px; color: var(--muted);
  line-height: 1.5;
}
.contact-info-text strong { color: var(--white); display: block; font-size: 13px; }
.social-row {
  display: flex; gap: 12px;
  margin-top: 40px; flex-wrap: wrap;
}
.social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 10px 18px; border-radius: 6px;
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.social-btn:hover {
  color: var(--white);
  border-color: var(--cyan);
  box-shadow: 0 0 16px var(--glow-c);
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { position: relative; }
.form-group label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-group input, .form-group textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.08), 0 0 20px var(--glow-c);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group textarea { height: 140px; }
.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--orange);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  border: none; border-radius: 8px;
  padding: 16px 32px;
  cursor: none;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-top: 8px;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,94,58,0.4);
}

/* ═══ FOOTER ═══ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 60px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(0,229,255,0.04), transparent);
  pointer-events: none;
}
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  position: relative; z-index: 1;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: 3px;
  color: var(--muted);
}
.footer-links {
  display: flex; gap: 32px; list-style: none;
}
.footer-links a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 12px; color: var(--muted);
  font-family: 'Rajdhani', sans-serif; letter-spacing: 1px;
}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* ═══ HORIZONTAL MARQUEE ═══ */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  background: var(--bg-1);
  margin: 0;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  gap: 0;
}
.marquee-track span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--muted);
  padding: 0 32px;
}
.marquee-track span.accent { color: var(--orange); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  nav { padding: 18px 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; padding-top: 100px; }
  .hero-visual { order: -1; }
  .orbit-container { width: 280px; height: 280px; }
  .about-inner, .contact-wrap { grid-template-columns: 1fr; gap: 50px; }
  .project-card.featured { grid-template-columns: 1fr; }
  .project-card.featured .project-thumb { min-height: 200px; }
  .section-wrap { padding: 80px 32px; }
}
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(8,9,13,0.97);
    padding: 32px 24px;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    gap: 24px;
  }
  .hamburger { display: flex; }
  #hero { padding: 0 24px; min-height: 100svh; }
  .hero-stats { gap: 24px; }
  .projects-grid { grid-template-columns: 1fr; }
  .section-wrap { padding: 60px 24px; }
  footer { padding: 36px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .skills-grid { grid-template-columns: 1fr; }
}