/* A few softly illuminated cells carry the existing hero grid into other
   large brand surfaces without placing decoration over cards or controls. */
#baula-site .hero-grid-overlay {
  overflow: hidden;
}

#baula-site .grid-cell-surface {
  position: relative;
  isolation: isolate;
}

#baula-site .grid-cell-field {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 7%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 7%) 1px, transparent 1px);
  background-size: 240px 240px;
}

#baula-site .company-values-image .grid-cell-field {
  background-image:
    linear-gradient(to right, rgb(232 117 36 / 9%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(232 117 36 / 9%) 1px, transparent 1px);
}

#baula-site .grid-cell-glint {
  position: absolute;
  left: var(--cell-x);
  top: var(--cell-y);
  width: clamp(34px, 4.2vw, 62px);
  aspect-ratio: 1;
  background: rgb(255 255 255 / 5%);
  opacity: .5;
  animation: grid-cell-breathe var(--cell-duration, 9s) ease-in-out var(--cell-delay, 0s) infinite alternate;
}

#baula-site .hero-grid-overlay .grid-cell-glint--whole-cell {
  width: 238px;
  height: 238px;
  aspect-ratio: auto;
}

#baula-site .company-values-image .grid-cell-glint {
  background: rgb(11 16 34 / 5%);
}

#baula-site .hero-grid-overlay .grid-cell-glint {
  background: rgb(255 255 255 / 10%);
}

@keyframes grid-cell-breathe {
  from { opacity: .5; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  #baula-site .grid-cell-glint { animation: none; opacity: 1; }
}
