/* AXIMA image-based case study: OBANA design language without WebGL. */
.axima-case-study {
  --accent: #b58cff;
  --accent-strong: #6941c6;
  --accent-rgb: 181 140 255;
}

.axima-case-study .contact-link span,
.axima-case-study .scroll-cue span,
.axima-case-study .closing h2 em,
.axima-case-study .explorer .section-label,
.axima-case-study .panel-topline span,
.axima-case-study .system-stat strong,
.axima-case-study .system-panel li::before {
  color: var(--accent);
}

.axima-case-study .hero-grid {
  background-image:
    linear-gradient(rgb(var(--accent-rgb) / 16%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--accent-rgb) / 16%) 1px, transparent 1px);
}

.axima-case-study .explorer::before {
  background: linear-gradient(90deg, var(--accent) 0 72px, rgba(255, 255, 255, 0.15) 72px);
}

.axima-case-study .explorer-heading > p {
  border-left-color: rgb(var(--accent-rgb) / 65%);
}

.axima-case-study .loading-ring { border-top-color: var(--accent); }

.axima-case-study .hotspot.is-active span {
  border-color: var(--accent);
  background: rgb(var(--accent-rgb) / 13%);
  color: var(--accent);
  box-shadow: 0 0 0 2px rgb(var(--accent-rgb) / 90%), 0 0 0 7px rgb(var(--accent-rgb) / 14%);
}

.axima-case-study .hotspot.is-active em { border-color: rgb(var(--accent-rgb) / 75%); }
.axima-case-study .model-controls button:hover,
.axima-case-study .model-controls button:focus-visible { border-color: var(--accent); }
.axima-case-study .view-label span { background: var(--accent); }
.axima-case-study .impact-copy > a span { color: var(--accent-strong); }

.axima-case-study .hero-visual img {
  object-position: 61% center;
  filter: saturate(0.82) contrast(1.07) brightness(0.9);
}

.axima-case-study .hero-visual::after {
  background:
    linear-gradient(90deg, var(--navy) 0%, rgb(4 27 44 / 64%) 10%, transparent 42%),
    linear-gradient(0deg, rgb(2 19 31 / 62%), transparent 48%);
}

.axima-case-study .hero-fact strong {
  font-variant-numeric: tabular-nums;
}

.axima-case-study .axima-image-map {
  aspect-ratio: auto;
  min-height: 620px;
  isolation: isolate;
  background: #071b27;
}

.axima-case-study .axima-rig-image,
.axima-case-study .axima-image-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.axima-case-study .axima-rig-image {
  z-index: 1;
  display: block;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.72) contrast(1.08) brightness(0.78);
  transition: filter 320ms ease;
}

.axima-case-study .axima-image-map:hover .axima-rig-image {
  filter: saturate(0.8) contrast(1.06) brightness(0.84);
}

.axima-case-study .axima-image-wash {
  z-index: 2;
  background:
    linear-gradient(180deg, rgb(1 15 24 / 12%), transparent 48%, rgb(1 15 24 / 52%)),
    linear-gradient(90deg, rgb(2 19 31 / 18%), transparent 32% 72%, rgb(2 19 31 / 28%));
  pointer-events: none;
}

.axima-case-study .hotspots-layer {
  z-index: 3;
}

.axima-case-study .hotspot[data-zone="marine_control"] {
  top: 75%;
  left: 47%;
}

.axima-case-study .hotspot[data-zone="drilling_intelligence"] {
  top: 47%;
  left: 54%;
}

.axima-case-study .hotspot[data-zone="safety_machinery"] {
  top: 65%;
  left: 60%;
}

.axima-case-study .hotspot[data-zone="visibility_response"] {
  top: 82%;
  left: 68%;
}

.axima-case-study .hotspot-reverse {
  flex-direction: row-reverse;
}

.axima-case-study .view-label {
  z-index: 4;
  padding: 8px 10px;
  background: rgb(2 19 31 / 68%);
  backdrop-filter: blur(5px);
}

.axima-case-study .system-panel {
  min-width: 0;
}

.axima-case-study .system-panel > * {
  transition: opacity 130ms ease, transform 180ms ease;
}

.axima-case-study .system-panel.is-updating > * {
  opacity: 0.34;
  transform: translateY(4px);
}

.axima-case-study .system-stat strong {
  white-space: nowrap;
  font-size: clamp(2.45rem, 4.4vw, 4.8rem);
}

.axima-case-study .metrics-grid strong {
  white-space: nowrap;
}

.axima-case-study .noscript-systems {
  width: min(100%, 1500px);
  margin: 28px auto 0;
  padding: 26px 30px;
  border: 1px solid #294351;
  border-left: 3px solid var(--accent);
  background: #061b27;
  color: #b8cad3;
  line-height: 1.7;
}

.axima-case-study .noscript-systems .section-label {
  margin-bottom: 12px;
  color: var(--accent);
}

.axima-case-study .noscript-systems p:last-child {
  margin: 0;
}

@media (max-width: 1200px) {
  .axima-case-study .explorer-stage {
    grid-template-columns: 1fr;
  }

  .axima-case-study .axima-image-map {
    aspect-ratio: 3 / 2;
    min-height: 0;
  }

  .axima-case-study .axima-rig-image {
    object-position: center;
  }

  .axima-case-study .system-panel {
    min-height: 520px;
    border-top: 1px solid #294351;
    border-left: 0;
  }
}

@media (max-width: 700px) {
  .axima-case-study .axima-image-map {
    min-height: 0;
  }

  .axima-case-study .hotspot[data-zone="marine_control"] { left: 44%; }
}

@media (max-width: 560px) {
  .axima-case-study .hero h1 {
    font-size: 58px;
  }

  .axima-case-study .hotspot em {
    display: none;
  }

  .axima-case-study .hotspot span {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 0.68rem;
  }

  .axima-case-study .metrics-grid strong {
    font-size: clamp(31px, 10vw, 42px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .axima-case-study .axima-rig-image,
  .axima-case-study .system-panel > * {
    transition: none;
  }

  .axima-case-study .system-panel.is-updating > * {
    opacity: 1;
    transform: none;
  }
}
