.chroma-grid {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    justify-content: center;
    gap: 1.5rem;
    max-width: 90rem;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
  
    --x: 50%;
    --y: 50%;
    --r: 15rem;
  }
  
  @media (min-width: 640px) {
    .chroma-grid {
        grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 1024px) {
    .chroma-grid {
        grid-template-columns: repeat(3, 1fr);
    }
  }
  
  .chroma-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    background: white;
    filter: grayscale(100%);
  
    --mouse-x: 50%;
    --mouse-y: 50%;
    --spotlight-color: rgba(255, 255, 255, 0.3);
  }
  
  .chroma-card:hover {
    border-color: var(--card-border);
    filter: grayscale(0%);
  }
  
  .chroma-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y),
        var(--spotlight-color),
        transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
  }
  
  .chroma-card:hover::before {
    opacity: 1;
  }
  
  .chroma-img-wrapper {
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
    background: transparent;
    transition: background 0.3s ease;
  }
  
  .chroma-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
  }
  
  .chroma-info {
    position: relative;
    z-index: 1;
    padding: 0.75rem 1rem;
    color: var(--text);
    font-family: system-ui, sans-serif;
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 0.25rem;
    column-gap: 0.75rem;
  }
  
  .chroma-info .name {
    grid-column: 1 / -1;
    font-size: 1.25rem;
    font-weight: 600;
  }

  .chroma-info .role,
  .chroma-info .handle {
    color: var(--text-muted);
  }
  
  .chroma-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    backdrop-filter: grayscale(1) brightness(0.78);
    -webkit-backdrop-filter: grayscale(1) brightness(0.78);
    background: rgba(0, 0, 0, 0.001);

    mask-image: radial-gradient(circle var(--r) at var(--x) var(--y),
        transparent 0%,
        transparent 15%,
        rgba(0, 0, 0, 0.10) 30%,
        rgba(0, 0, 0, 0.22) 45%,
        rgba(0, 0, 0, 0.35) 60%,
        rgba(0, 0, 0, 0.50) 75%,
        rgba(0, 0, 0, 0.68) 88%,
        white 100%);
    -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y),
        transparent 0%,
        transparent 15%,
        rgba(0, 0, 0, 0.10) 30%,
        rgba(0, 0, 0, 0.22) 45%,
        rgba(0, 0, 0, 0.35) 60%,
        rgba(0, 0, 0, 0.50) 75%,
        rgba(0, 0, 0, 0.68) 88%,
        white 100%);
  }
  
  .chroma-fade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    backdrop-filter: grayscale(1) brightness(0.78);
    -webkit-backdrop-filter: grayscale(1) brightness(0.78);
    background: rgba(0, 0, 0, 0.001);

    mask-image: radial-gradient(circle var(--r) at var(--x) var(--y),
        white 0%,
        white 15%,
        rgba(255, 255, 255, 0.90) 30%,
        rgba(255, 255, 255, 0.78) 45%,
        rgba(255, 255, 255, 0.65) 60%,
        rgba(255, 255, 255, 0.50) 75%,
        rgba(255, 255, 255, 0.32) 88%,
        transparent 100%);
    -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y),
        white 0%,
        white 15%,
        rgba(255, 255, 255, 0.90) 30%,
        rgba(255, 255, 255, 0.78) 45%,
        rgba(255, 255, 255, 0.65) 60%,
        rgba(255, 255, 255, 0.50) 75%,
        rgba(255, 255, 255, 0.32) 88%,
        transparent 100%);

    opacity: 1;
    transition: opacity 0.25s ease;
  } 