/* Tactile 3D & Bold Color-Blocking Studio Styles */

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

.page-indicator {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.35rem 0.9rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Manifesto Scroll-Fill Word Reveal */
.manifesto-word {
  display: inline-block;
  color: rgba(255, 255, 255, 0.22);
  transition: color 0.15s ease-out;
}

.manifesto-word.is-lit {
  color: #ffffff;
}

/* Magnetic / Tactile Card Hover */
.work-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.work-card:hover {
  transform: translate(-3px, -5px);
}

/* Modal open transition */
#video-modal.is-open {
  display: flex;
  animation: modalFadeIn 0.22s ease forwards;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cap-lime-glow {
  text-shadow: 0 0 38px rgba(204, 255, 0, 0.28);
}

/* Subtle Infinite Marquee Ticker */
.marquee-track {
  animation: heroMarquee 22s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

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

/* Vertical 9:16 modal sizing */
.modal-vertical {
  max-width: 390px !important;
}

.modal-vertical-wrapper {
  aspect-ratio: 9 / 16 !important;
  max-height: 75vh;
}
