@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap");

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

body {
   font-family: 'Satoshi',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background: #000;
  color: #eaeaea;
  position: relative;
}

/* NAV */
.nav {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;                  /* even, intentional spacing */
}

.nav-links a {
  font-weight: 300;
  font-size: 0.95rem;
  color: #eaeaea;
  text-decoration: none;
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-inner {
  max-width: 1200px;          /* matches hero + content width */
  margin: 0 auto;
  padding: 32px 48px;         /* less horizontal stretch */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 44px;            /* matches Framer-like scale */
  width: auto;
  display: block;
}

/* Blob container stays absolute and centered */
.blob-container {
  position: fixed;           /* FIXED: stays on screen while scrolling */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 10px;
  z-index: -1;                /* behind hero content and everything else */
  pointer-events: none;      /* clicks pass through */
}

/* Blobs themselves */
.blob {
  width: 600px;
  height: 600px;
  opacity: 0.65;
  filter: blur(90px);
  pointer-events: none;
  border-radius: 60% 40% 55% 45% / 60% 50% 50% 40%;
}


/* Faster, organic movement + morphing */
.blob-blue {
  background: radial-gradient(circle at 30% 30%, rgba(46, 87, 112, 0.95), transparent 65%);
  animation: moveBlue 8s ease-in-out infinite, morphBlue 5s ease-in-out infinite;
}

.blob-purple {
  background: radial-gradient(circle at 70% 40%, rgba(75, 45, 106, 0.95), transparent 65%);
  animation: movePurple 8s ease-in-out infinite, morphPurple 5s ease-in-out infinite;
}

.blob-mix {
  background: radial-gradient(circle at 50% 50%, rgba(90, 120, 180, 0.75), transparent 70%);
  animation: moveMix 8s ease-in-out infinite, morphMix 5s ease-in-out infinite;
}

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

/* Hero content on top */
.hero-inner {
  position: relative;        /* keeps it above blobs */
  z-index: 1;                /* above fixed blobs */
  text-align: center;        /* center text inside */
  max-width: 900px;          /* optional: prevent text from stretching too wide */
  padding: 0 24px;           /* optional: responsive padding */
}

.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  overflow: hidden;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.hero h1 {
  font-size: clamp(32px, 5vw, 55px);
  font-weight: 500;
  line-height: 1.2;
}

.hero h1 em {
  font-family: 'Instrument Serif', cursive;
  font-style: italic;
  font-weight: 300;
}

.hero-sub {
  font-size: clamp(10px, 5vw, 22px);
  margin-top: 24px;
  opacity: 0.65;
}

@media (max-width: 600px) {
  .hero-sub {
    font-size: clamp(8px, 3.5vw, 16px);
    margin-top: 12px;
  }
}

.btn-ghost {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  font-weight: 400;
  color: #ffffff;           /* ← prevents blue text */
  text-decoration: none;    /* ← removes underline */
}

/* ICON CAROUSEL */
.icon-carousel {
  margin-top: 64px;
  overflow: hidden;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  z-index: 1; 

  /* fade out edges */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0) 0%,        /* fully transparent at left edge */
    rgba(0,0,0,1) 10%,       /* fade in quickly */
    rgba(0,0,0,1) 90%,       /* solid in the middle */
    rgba(0,0,0,0) 100%       /* fade out at right edge */
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 10%,
    rgba(0,0,0,1) 90%,
    rgba(0,0,0,0) 100%
  );
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

.icon-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: scroll-icons 35s linear infinite;
}

.icon-pill {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.icon-pill img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  opacity: 0.9;
}

/* Animation */
@keyframes scroll-icons {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* TEAM */
/* SKILLS */

.glow-line {
  position: relative;
  font-size: 0.9rem;
  color: rgba(234,234,234,0.65);
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.8));

  background-image: linear-gradient(
    110deg,
    rgba(234,234,234,0.6) 0%,
    rgba(255,255,255,1) 30%,
    rgba(120,140,255,0.9) 50%,
    rgba(255,255,255,1) 75%,
    rgba(234,234,234,0.6) 100%
  );

  background-size: 300% 100%;
  background-position: 0% 50%;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: glowSweep 6s ease-in-out infinite;
}

/* Stagger second line slightly */
.glow-line:nth-child(2) {
  animation-delay: 1.5s;
}

@keyframes glowSweep {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.skills {
  padding: 120px 64px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 32px;
}

.section-title::before {
  content: "•";
  color: #5b5bff;
  margin-right: 12px;
}

.skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 800px;
}

.skill-pill {
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  opacity: 0.9;
}

/* EXPERIENCE */
.experience {
  padding: 120px 64px;
  max-width: 1200px;
  margin: 0 auto;
}

.exp-row {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.exp-role {
  font-size: 1.3rem;
}

.exp-meta {
  text-align: right;
  opacity: 0.6;
  font-size: 1.0rem;
}

.exp-meta2 {
  text-align: right;
  opacity: 0.6;
  font-size: 0.8rem;
}

/* PROJECTS */
.projects {
  padding: 120px 64px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  padding: 64px;
  border-radius: 32px;
  background: linear-gradient(135deg, #2b2a6d, #1a183f);
  align-items: center;
}

.project-card h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.project-card p {
  opacity: 0.8;
  line-height: 1.6;
}

.project-card .btn-ghost {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .project-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px;
    text-align: center;
  }

  .project-image {
    order: 2;
  }

  .project-card > div:first-child {
    order: 1;
  }

  .project-image img {
    max-width: 220px;
    height: auto;
  }
}


.project-image {
  display: flex;
  justify-content: center;
}

.project-image img {
  max-width: 260px;
  height: 400px;
  border-radius: 32px;
}

/* FOOTER */
.footer {
  padding: 160px 24px 80px;
  text-align: center;
}

.footer h2 {
  font-size: clamp(2.5rem, 3vw, 3.2rem);
  font-weight: 300;
  margin-bottom: 24px;
}

.hero h2 em {
  font-family: 'Instrument Serif', cursive;
  font-style: italic;
  font-weight: 300;
}

.footer em {
  font-family: serif;
  font-style: italic;
}

.footer p {
  opacity: 0.6;
  margin-bottom: 32px;
}

.footer-bottom {
  margin-top: 120px;
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.6;
  font-size: 0.9rem;
}
.team {
  padding: 120px 64px;
  z-index: 1; 
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1; 
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .portrait {
    max-width: 320px;
    margin: 0 auto;
  }

  .team-center {
    order: 2;
  }

  .portrait:first-child {
    order: 1;
  }

  .portrait:last-child {
    order: 3;
  }
}

.portrait {
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #3b2a6d, #000);

  height: clamp(260px, 40vw, 400px);
}

.portrait img {
  width: 100%;
  display: block;
  height: 100%; /* ensures image scales to container */
  object-fit: cover; /* keeps image aspect ratio without stretching */
  display: block;
}

.team-center {
  text-align: center;
}

.team-center h2 {
  font-weight: 400;
  margin-bottom: 24px;
}

.pill-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.pill-row span {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.9rem;
}

.team-center p {
  opacity: 0.7;
}

/* FOOTER (temporary minimal) */
.footer {
  position: relative; /* ensure absolute children are positioned relative to footer */
  padding: 120px 24px 80px;
}

.footer-copyright {
  position: absolute;
  bottom: 16px;       /* distance from the bottom of footer */
  left: 24px;         /* distance from the left edge */
  font-size: 0.85rem;
  color: rgba(234,234,234,0.6);
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

/* Organic movement keyframes: stay near center but float randomly */
@keyframes moveBlue {
  0%   { transform: translate(0, 0) rotate(0deg); }
  20%  { transform: translate(280px, 40px) rotate(15deg); }
  40%  { transform: translate(-60px, 60px) rotate(-10deg); }
  60%  { transform: translate(40px, -80px) rotate(20deg); }
  80%  { transform: translate(-30px, 50px) rotate(-15deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes movePurple {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(-260px, -40px) rotate(-20deg); }
  50%  { transform: translate(50px, -70px) rotate(15deg); }
  75%  { transform: translate(-40px, 60px) rotate(-10deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes moveMix {
  0%   { transform: translate(0, 0) rotate(0deg); }
  20%  { transform: translate(-50px, 30px) rotate(10deg); }
  45%  { transform: translate(30px, -520px) rotate(-15deg); }
  70%  { transform: translate(-40px, 20px) rotate(20deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* Organic morphing of blob shapes */
@keyframes morphBlue {
  0%   { border-radius: 20% 40% 55% 45% / 60% 50% 50% 40%; }
  25%  { border-radius: 50% 50% 60% 40% / 45% 55% 35% 65%; }
  50%  { border-radius: 55% 45% 40% 60% / 60% 40% 50% 50%; }
  75%  { border-radius: 65% 35% 55% 45% / 50% 30% 40% 50%; }
  100% { border-radius: 60% 40% 25% 45% / 60% 50% 50% 40%; }
}

@keyframes morphPurple {
  0%   { border-radius: 55% 45% 60% 40% / 55% 45% 55% 45%; }
  25%  { border-radius: 45% 55% 50% 50% / 60% 40% 50% 50%; }
  50%  { border-radius: 60% 40% 45% 55% / 50% 60% 40% 50%; }
  75%  { border-radius: 50% 60% 25% 45% / 45% 55% 35% 65%; }
  100% { border-radius: 55% 45% 60% 40% / 55% 45% 55% 45%; }
}

@keyframes morphMix {
  0%   { border-radius: 50% 50% 45% 55% / 60% 80% 50% 50%; }
  25%  { border-radius: 65% 35% 60% 40% / 45% 55% 35% 65%; }
  50%  { border-radius: 55% 45% 50% 50% / 60% 40% 85% 45%; }
  75%  { border-radius: 60% 40% 25% 45% / 50% 60% 40% 50%; }
  100% { border-radius: 50% 50% 45% 55% / 60% 40% 50% 50%; }
}