/* ============================================
   LINTSHIWE PORTFOLIO — MINIMALIST B&W
   8K-ready, high-fidelity design system
   ============================================ */

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

:root {
  --black: #000000;
  --white: #ffffff;
  --grey-50: #fafafa;
  --grey-100: #f5f5f5;
  --grey-200: #e5e5e5;
  --grey-300: #d4d4d4;
  --grey-400: #a3a3a3;
  --grey-500: #737373;
  --grey-600: #525252;
  --grey-700: #404040;
  --grey-800: #262626;
  --grey-900: #171717;
  --grey-950: #0a0a0a;

  --font-primary: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);

  --nav-height: 80px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

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

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

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.accent {
  color: var(--white);
  opacity: 0.4;
}

/* --- CUSTOM CURSOR --- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: transform 0.15s var(--ease-out-expo);
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition:
    width 0.3s var(--ease-out-expo),
    height 0.3s var(--ease-out-expo),
    border-color 0.3s;
}

.cursor-ring.hover {
  width: 64px;
  height: 64px;
  border-color: rgba(255, 255, 255, 0.8);
}

/* --- LOADER --- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transition:
    opacity 0.6s var(--ease-out-expo),
    visibility 0.6s;
}

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

.loader-text {
  display: flex;
  gap: 4px;
  font-family: var(--font-primary);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.loader-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: loaderChar 0.5s var(--ease-out-expo) forwards;
}

.loader-text span:nth-child(1) {
  animation-delay: 0.1s;
}
.loader-text span:nth-child(2) {
  animation-delay: 0.15s;
}
.loader-text span:nth-child(3) {
  animation-delay: 0.2s;
}
.loader-text span:nth-child(4) {
  animation-delay: 0.25s;
}
.loader-text span:nth-child(5) {
  animation-delay: 0.3s;
}
.loader-text span:nth-child(6) {
  animation-delay: 0.35s;
}
.loader-text span:nth-child(7) {
  animation-delay: 0.4s;
}
.loader-text span:nth-child(8) {
  animation-delay: 0.45s;
}
.loader-text span:nth-child(9) {
  animation-delay: 0.5s;
}

@keyframes loaderChar {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--grey-800);
  border-radius: 2px;
  overflow: hidden;
}

.loader-fill {
  width: 0;
  height: 100%;
  background: var(--white);
  animation: loaderFill 1.8s 0.6s var(--ease-out-expo) forwards;
}

@keyframes loaderFill {
  to {
    width: 100%;
  }
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  background: transparent;
  transition:
    background 0.4s,
    backdrop-filter 0.4s,
    box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
  transition: filter 0.3s var(--ease-out-expo);
}

.nav-logo-img:hover {
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.35));
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: opacity 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.4s var(--ease-out-expo);
}

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

.nav-link:hover {
  opacity: 0.7;
}

.nav-socials {
  display: flex;
  gap: 20px;
}

.nav-socials a {
  font-size: 1.15rem;
  transition:
    opacity 0.3s,
    transform 0.3s var(--ease-out-expo);
}

.nav-socials a:hover {
  opacity: 0.6;
  transform: translateY(-2px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition:
    transform 0.3s var(--ease-out-expo),
    opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s var(--ease-out-expo),
    visibility 0.5s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-menu a {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: opacity 0.3s;
}

.mobile-menu a:hover {
  opacity: 0.5;
}

.mobile-socials {
  display: flex;
  gap: 32px;
}

.mobile-socials a {
  font-size: 1.6rem;
  transition: opacity 0.3s;
}

.mobile-socials a:hover {
  opacity: 0.5;
}

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

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

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.35) contrast(1.2);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at center,
      transparent 0%,
      rgba(0, 0, 0, 0.6) 70%,
      rgba(0, 0, 0, 0.95) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.3) 0%,
      transparent 30%,
      transparent 70%,
      rgba(0, 0, 0, 0.8) 100%
    );
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 5%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
}

.tag-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--grey-400);
}

.tag-text {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2.8rem, 8vw, 8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 300;
  color: var(--grey-400);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(30px);
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--white);
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--grey-600);
}

.btn-outline:hover {
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.06);
}

.btn i {
  font-size: 0.75rem;
  transition: transform 0.3s var(--ease-out-expo);
}

.btn:hover i {
  transform: translateY(2px);
}

.btn-outline:hover i {
  transform: translateY(0) scale(1.1);
}

/* --- HERO SCROLL INDICATOR --- */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: scrollFloat 2s ease-in-out infinite;
}

.hero-scroll span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-500);
}

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

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

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* --- SECTIONS --- */
.section {
  padding: 140px 0;
  position: relative;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(40px);
}

.section-number {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-500);
  letter-spacing: 0.1em;
}

.section-title {
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--grey-800);
}

/* --- ABOUT --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  opacity: 0;
  transform: translateY(40px);
}

.image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--grey-900);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  transition:
    filter 0.6s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

.image-frame:hover img {
  filter: grayscale(40%) contrast(1.05);
  transform: scale(1.04);
}

.image-grain {
  position: absolute;
  inset: 0;
  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='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.about-text {
  opacity: 0;
  transform: translateY(40px);
}

.about-lead {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--grey-200);
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--grey-400);
  margin-bottom: 40px;
}

.about-text strong {
  color: var(--white);
  font-weight: 600;
}

.about-stats {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--grey-800);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-500);
}

/* --- CERTIFICATIONS --- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2px;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 36px 32px;
  background: var(--grey-950);
  border: 1px solid var(--grey-800);
  transition: all 0.4s var(--ease-out-expo);
  opacity: 0;
  transform: translateY(30px);
}

.cert-card:hover {
  background: var(--grey-900);
  border-color: var(--grey-600);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cert-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--grey-700);
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--grey-300);
  transition:
    border-color 0.3s,
    color 0.3s;
}

.cert-card:hover .cert-icon {
  border-color: var(--white);
  color: var(--white);
}

.cert-info {
  flex: 1;
}

.cert-info h3 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.cert-info p {
  font-size: 0.85rem;
  color: var(--grey-500);
  line-height: 1.4;
}

.cert-arrow {
  font-size: 0.8rem;
  color: var(--grey-600);
  transition:
    color 0.3s,
    transform 0.3s var(--ease-out-expo);
}

.cert-card:hover .cert-arrow {
  color: var(--white);
  transform: translate(4px, -4px);
}

/* --- CONTACT --- */
.contact {
  background: var(--grey-950);
  border-top: 1px solid var(--grey-800);
}

.contact-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px);
}

.contact-lead {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--grey-300);
  margin-bottom: 48px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  border: 1px solid var(--grey-800);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s var(--ease-out-expo);
  width: fit-content;
}

.contact-link:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.contact-link i {
  font-size: 1.3rem;
}

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

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

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.12));
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--grey-600);
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  font-size: 1rem;
  color: var(--grey-500);
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: var(--white);
}

/* --- REVEAL ANIMATIONS --- */
[data-reveal].revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

.hero-title .word.revealed {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--grey-700);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--grey-500);
}

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

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

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

  .nav-hamburger {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 4rem);
  }

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

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

  .about-stats {
    gap: 32px;
    flex-wrap: wrap;
  }

  .section {
    padding: 100px 0;
  }

  .section-header {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
  }

  .section-line {
    width: 100%;
    order: -1;
    display: none;
  }

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

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

  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

@media (max-width: 480px) {
  .cert-card {
    padding: 24px 20px;
    gap: 16px;
  }

  .cert-icon {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }

  .cert-info h3 {
    font-size: 0.95rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }
}

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

/* --- PROJECTS --- */
.projects {
  background: var(--black);
}

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

.project-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--grey-950);
  border: 1px solid var(--grey-800);
  transition: all 0.4s var(--ease-out-expo);
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--white), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.project-card:hover {
  border-color: var(--grey-600);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

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

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  color: var(--grey-500);
  font-size: 1.2rem;
}

.project-header .project-links {
  font-size: 1.1rem;
  transition: color 0.3s;
}

.project-card:hover .project-links {
  color: var(--white);
}

.project-title {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.project-card:hover .project-title {
  color: var(--white);
}

.project-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--grey-400);
  flex: 1;
  margin-bottom: 20px;
}

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

.project-tags span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--grey-800);
  color: var(--grey-400);
  transition:
    border-color 0.3s,
    color 0.3s;
}

.project-card:hover .project-tags span {
  border-color: var(--grey-600);
  color: var(--grey-300);
}

.project-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--grey-500);
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-meta i {
  font-size: 0.7rem;
}

.projects-cta {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  opacity: 0;
  transform: translateY(30px);
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    padding: 24px;
  }
}

/* --- SKILLS MARQUEE --- */
.skills {
  padding-bottom: 100px;
  overflow: hidden;
}

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 16px 0;
  opacity: 0;
  transform: translateY(30px);
}

.marquee + .marquee {
  margin-top: 8px;
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-left {
  animation: marqueeScrollLeft 35s linear infinite;
}

.marquee-right {
  animation: marqueeScrollRight 40s linear infinite;
}

/* Pause on hover */
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  flex-shrink: 0;
}

.skill-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--grey-800);
  background: var(--grey-950);
  white-space: nowrap;
  transition: all 0.4s var(--ease-out-expo);
  cursor: default;
}

.skill-chip i {
  font-size: 1.15rem;
  color: var(--grey-500);
  transition: color 0.3s;
}

.skill-chip span {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--grey-300);
  transition: color 0.3s;
}

.skill-chip:hover {
  border-color: var(--white);
  background: var(--grey-900);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.skill-chip:hover i {
  color: var(--white);
}

.skill-chip:hover span {
  color: var(--white);
}

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

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

@media (max-width: 768px) {
  .skill-chip {
    padding: 10px 20px;
  }

  .skill-chip span {
    font-size: 0.8rem;
  }

  .skill-chip i {
    font-size: 1rem;
  }

  .marquee-left {
    animation-duration: 25s;
  }

  .marquee-right {
    animation-duration: 30s;
  }
}

/* --- SELECTION --- */
/* --- PULSE ANIMATION --- */
.pulse {
  animation: logoPulse 2.5s ease-in-out infinite;
}

@keyframes logoPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.1));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.4))
      drop-shadow(0 0 40px rgba(135, 206, 235, 0.2));
    transform: scale(1.06);
  }
}

::selection {
  background: var(--white);
  color: var(--black);
}
