/* Visuate-inspired Our Works → Selected work — même fond que In the studio (#f5f4f0) */
.section_vv_works {
  --vv-fg: #0a0a0a;
  --vv-accent: #146ef5;
  --vv-paper: #f5f4f0;
  position: relative;
  z-index: 0;
  color: var(--vv-fg);
  background: var(--vv-paper);
  margin: 0;
}

.section_vv_works__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  background: var(--vv-paper, #f5f4f0);
}

.section_vv_works__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--vv-paper, #f5f4f0);
}

.section_vv_works__mesh canvas {
  display: none;
}

.section_vv_works__title {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 0 1.5rem;
  margin: 0;
  text-align: center;
  font-family: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(2.35rem, 6.8vw, 7.25rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--vv-fg);
  white-space: nowrap;
  max-width: 100%;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.section_vv_works__title-accent {
  font-family: "Instrument Serif", "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--vv-accent);
}

/* WebGL coil cards (visuvate.com homepage Our Works) */
.section_vv_works__coil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
}

.section_vv_works__coil canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: default;
}

.section_vv_works__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section_vv_works__sr ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.section_vv_works.is-coil-fallback .section_vv_works__sr {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  white-space: normal;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.section_vv_works.is-coil-fallback .section_vv_works__sr ul {
  display: contents;
}

.section_vv_works.is-coil-fallback .section_vv_works__card {
  pointer-events: auto;
  width: min(42rem, calc(100vw - 2rem));
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: var(--vv-paper, #f5f4f0);
  border: 1px solid rgba(10, 10, 10, 0.12);
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(10, 10, 10, 0.08);
}

.section_vv_works__veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: rgba(245, 244, 240, 0.9);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.section_vv_works__all {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 0 1.5rem;
  text-decoration: none;
  color: #0a0a0a;
  font-family: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(2.75rem, 7vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.section_vv_works__all span {
  font-family: "Instrument Serif", "Times New Roman", Times, serif;
  font-style: italic;
  color: var(--vv-accent);
}

.section_vv_works__room {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .section_vv_works__title,
  .section_vv_works__veil,
  .section_vv_works__all {
    transition: none !important;
  }
}
