/* Cases Page Styles - layers and titles */

/* Removed global blur overlay */

/* Canvas sits above the orb (z-1 from index.css) and below titles */
#cases-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  cursor: grab;
  z-index: 5;
  opacity: 1;
}

#cases-canvas:active {
  cursor: grabbing;
}

/* Titles overlay */
#titles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 6;
}

.case-title {
  position: absolute;
  color: var(--color-white);
  pointer-events: none;
  transition: opacity 300ms ease, filter 300ms ease;
}

.title-text {
  font-family: var(--font-primary);
  font-size: var(--h2-size);
  line-height: var(--h2-line-height);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  white-space: nowrap;
}

.title-number {
  font-family: var(--font-secondary);
  font-size: var(--p-sm-size);
  line-height: var(--p-sm-line-height);
  margin: 0;
  position: relative;
  padding-top: 10px;
  display: flex;
  align-items: center;
  opacity: 0.8;
}

.title-number::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background-color: var(--color-accent);
  margin-right: 8px;
}

/* Allow only the CTA to be clickable within the otherwise non-interactive overlay */
.case-title .cta-button {
  pointer-events: auto;
  margin-top: 32px;
  display: inline-block;
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 1279px) {
  .title-text {
    font-size: var(--h3-size);
    line-height: var(--h3-line-height);
  }
}

@media (max-width: 799px) {
  .title-text {
    font-size: var(--h4-size);
    line-height: var(--h4-line-height);
  }
}


