/* XR-UAT V15 — corrections verified against the packaged build */
html { scroll-behavior: smooth; }
body[data-build="V15"] { --v15-accent: #55e6ff; }

/* Evidence is a controlled stage, never a legacy horizontal strip. */
.realm-evidence,
.realm-evidence .container-wide { overflow: clip; }
.realm-evidence-grid,
.media-mosaic,
.refinery-evidence-row,
.team-portrait-row,
.factory-asset-nav {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.realm-evidence-grid::-webkit-scrollbar,
.media-mosaic::-webkit-scrollbar,
.refinery-evidence-row::-webkit-scrollbar,
.team-portrait-row::-webkit-scrollbar,
.factory-asset-nav::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.realm-evidence-grid.v14-carousel {
  overflow: hidden !important;
  touch-action: pan-y;
}
.v14-carousel-controls {
  border-top: 1px solid rgba(135, 224, 255, .13);
  padding-top: 1rem;
}
.v14-carousel-dots button {
  width: 2.6rem;
  height: .26rem;
  border-radius: 99px;
  transform: none;
  transition: width .25s ease, background .25s ease, box-shadow .25s ease;
}
.v14-carousel-dots button.is-active {
  width: 5.25rem;
  box-shadow: 0 0 1.2rem rgba(85, 230, 255, .35);
}

/* Editorial team hierarchy using the updated institutional portraits. */
.team-grid.v14-team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.v14-team-grid .team-card {
  background: linear-gradient(180deg, rgba(13, 36, 52, .92), rgba(4, 17, 30, .98));
  border-color: rgba(122, 218, 255, .2);
  box-shadow: 0 1.2rem 4rem rgba(0, 0, 0, .2);
}
.v14-team-grid .team-photo {
  overflow: hidden;
  background: #0b2030;
}
.v14-team-grid .team-photo img {
  filter: saturate(.96) contrast(1.02);
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.v14-team-grid .team-card:hover .team-photo img { transform: scale(1.025); }
.v14-team-grid .team-info { min-height: 180px; }

/* Nature owns agroindustry and turtles; Chemical owns molecular content. */
.v14-nature-hero .realm-cinematic-shade {
  background:
    linear-gradient(90deg, rgba(1, 14, 24, .93) 0%, rgba(1, 14, 24, .5) 47%, rgba(1, 14, 24, .17) 78%),
    linear-gradient(0deg, rgba(1, 11, 20, .72), transparent 45%);
}
.v14-chemical-hero .realm-cinematic-shade {
  background:
    radial-gradient(circle at 72% 42%, rgba(76, 70, 255, .08), transparent 34%),
    linear-gradient(90deg, rgba(1, 12, 23, .92), rgba(1, 12, 23, .38) 60%, rgba(1, 12, 23, .2));
}

@media (max-width: 1100px) {
  .team-grid.v14-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .team-grid.v14-team-grid { grid-template-columns: 1fr; }
  .v14-team-grid .team-card:first-child { display: block; grid-column: auto; }
  .v14-team-grid .team-info { min-height: auto; }
  .v14-carousel-dots button { width: 1.8rem; }
  .v14-carousel-dots button.is-active { width: 3.4rem; }
}
