/* Geospatial case study — conceptual visuals. Loaded only on this page. */

.case-study-geo {
  overflow-x: hidden;
}

.case-viz {
  min-width: 0;
  max-width: 100%;
}

.case-panel--geo-map:before,
.case-panel--geo-data:before,
.case-panel--geo-explore:before {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.case-panel--geo-map:before,
.case-panel--geo-explore:before {
  width: 58%;
  height: 80%;
  left: -8%;
  top: 10%;
  background: radial-gradient(ellipse at center, rgba(20, 121, 240, 0.1) 0%, transparent 70%);
}

.case-panel--geo-data:before {
  width: 55%;
  height: 70%;
  right: -6%;
  top: 12%;
  background: radial-gradient(ellipse at center, rgba(54, 86, 145, 0.28) 0%, transparent 72%);
}

.case-split--viz {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.case-split--viz .case-viz {
  -webkit-box-flex: 1.2;
  -ms-flex: 1.2 1 0px;
  flex: 1.2 1 0;
  min-width: 0;
  max-width: 620px;
  margin: 0;
}

.case-split--viz .case-split__copy {
  -webkit-box-flex: 0.95;
  -ms-flex: 0.95 1 0px;
  flex: 0.95 1 0;
}

.case-viz__panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(20, 28, 52, 0.34);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.case-viz__kicker {
  margin: 0;
  padding: 12px 16px 0;
  color: #9ec4f8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.case-viz__caption {
  margin: 10px 4px 0;
  color: #aeb8ca;
  font-size: 12px;
  line-height: 1.45;
  font-style: italic;
}

.case-caps--geo {
  -ms-grid-columns: 1fr 12px 1fr 12px 1fr 12px 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 12px;
  margin: 40px 0 0;
  max-width: none;
}

/* Visual A — radius search map */

.case-map__surface {
  position: relative;
  height: 360px;
  margin: 12px 12px 0;
  overflow: hidden;
  border-radius: 8px;
  background-color: #10192e;
  background-image:
    radial-gradient(ellipse 70% 55% at 28% 38%, rgba(20, 88, 196, 0.2) 0%, transparent 58%),
    radial-gradient(ellipse 48% 62% at 74% 68%, rgba(54, 86, 145, 0.28) 0%, transparent 54%),
    radial-gradient(ellipse 40% 36% at 62% 22%, rgba(20, 121, 240, 0.08) 0%, transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(158, 196, 248, 0.045) 28px),
    repeating-linear-gradient(90deg, transparent, transparent 27px, rgba(158, 196, 248, 0.045) 28px);
}

.case-map__contour,
.case-map__blob {
  position: absolute;
  pointer-events: none;
}

.case-map__contour {
  border: 1px solid rgba(158, 196, 248, 0.12);
  border-radius: 50%;
}

.case-map__contour--1 {
  width: 72%;
  height: 58%;
  left: 6%;
  top: 16%;
  -webkit-transform: rotate(-12deg);
  transform: rotate(-12deg);
}

.case-map__contour--2 {
  width: 54%;
  height: 44%;
  left: 14%;
  top: 24%;
  -webkit-transform: rotate(-12deg);
  transform: rotate(-12deg);
  border-color: rgba(158, 196, 248, 0.09);
}

.case-map__contour--3 {
  width: 42%;
  height: 48%;
  right: 4%;
  bottom: 8%;
  -webkit-transform: rotate(18deg);
  transform: rotate(18deg);
  border-color: rgba(158, 196, 248, 0.08);
}

.case-map__blob {
  border-radius: 50%;
  background: rgba(20, 88, 196, 0.12);
}

.case-map__blob--1 {
  width: 34%;
  height: 28%;
  left: 8%;
  top: 12%;
}

.case-map__blob--2 {
  width: 26%;
  height: 30%;
  right: 10%;
  top: 18%;
  background: rgba(54, 86, 145, 0.18);
}

.case-map__blob--3 {
  width: 30%;
  height: 22%;
  left: 38%;
  bottom: 10%;
  background: rgba(20, 121, 240, 0.08);
}

.case-map__radius {
  position: absolute;
  z-index: 2;
  width: 46%;
  max-width: 220px;
  left: 50%;
  top: 48%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(20, 121, 240, 0.62);
  border-radius: 50%;
  background: rgba(20, 121, 240, 0.1);
  -webkit-box-shadow: 0 0 0 1px rgba(158, 196, 248, 0.12), inset 0 0 24px rgba(20, 121, 240, 0.12);
  box-shadow: 0 0 0 1px rgba(158, 196, 248, 0.12), inset 0 0 24px rgba(20, 121, 240, 0.12);
}

.case-map__radius:before {
  content: '';
  display: block;
  padding-top: 100%;
}

.case-map__origin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
}

.case-map__origin:before {
  content: '';
  position: absolute;
  left: -6px;
  top: -6px;
  right: -6px;
  bottom: -6px;
  border: 1px solid rgba(158, 196, 248, 0.55);
  border-radius: 50%;
}

.case-map__origin-dot {
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid #e4e9f2;
  border-radius: 50%;
  background: #1479f0;
  -webkit-box-shadow: 0 0 12px rgba(20, 121, 240, 0.7);
  box-shadow: 0 0 12px rgba(20, 121, 240, 0.7);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.case-map__radius-label {
  position: absolute;
  left: 50%;
  top: 58%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  color: #9ec4f8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.case-map__mark {
  position: absolute;
  z-index: 3;
  display: block;
  width: 10px;
  height: 10px;
}

.case-map__mark em {
  position: absolute;
  left: 14px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #c4d2ec;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(16, 25, 46, 0.9);
}

.case-map__glyph {
  display: block;
  width: 10px;
  height: 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.case-map__mark--mine .case-map__glyph,
.case-map__legend .case-map__mark--mine {
  border-radius: 50%;
  background: #9ec4f8;
  -webkit-box-shadow: 0 0 0 2px rgba(158, 196, 248, 0.22);
  box-shadow: 0 0 0 2px rgba(158, 196, 248, 0.22);
}

.case-map__mark--deposit .case-map__glyph,
.case-map__legend .case-map__mark--deposit {
  background: #c4d2ec;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.case-map__mark--feature .case-map__glyph,
.case-map__legend .case-map__mark--feature {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 11px solid #7ea6e0;
  background: transparent;
}

.case-map__mark--anomaly .case-map__glyph,
.case-map__legend .case-map__mark--anomaly {
  position: relative;
  background: transparent;
  border: 2px solid #a9b8d4;
  border-radius: 50%;
}

.case-map__mark--anomaly .case-map__glyph:before,
.case-map__legend .case-map__mark--anomaly:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: #a9b8d4;
}

.case-map__mark--a { left: 18%; top: 22%; }
.case-map__mark--b { left: 62%; top: 24%; }
.case-map__mark--c { left: 74%; top: 42%; }
.case-map__mark--d { left: 28%; top: 46%; }
.case-map__mark--e { left: 44%; top: 30%; }
.case-map__mark--f { left: 58%; top: 62%; }
.case-map__mark--g { left: 78%; top: 68%; }
.case-map__mark--h { left: 16%; top: 70%; }
.case-map__mark--i { left: 38%; top: 18%; }

.case-map__legend {
  position: absolute;
  z-index: 4;
  left: 10px;
  bottom: 10px;
  margin: 0;
  padding: 8px 10px 7px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(16, 25, 46, 0.72);
}

.case-map__legend li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  color: #c4d2ec;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.case-map__legend li:last-child {
  margin-bottom: 0;
}

.case-map__legend .case-map__glyph {
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.case-map__summary {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-map__summary-col {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0px;
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 16px 16px;
}

.case-map__summary-col + .case-map__summary-col {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.case-map__summary-label,
.case-agg__source-label,
.case-agg__core-label,
.case-agg__results-label,
.case-disc__map-label,
.case-disc__list-label,
.case-disc__cat {
  display: block;
  color: #9ec4f8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-map__summary-title,
.case-agg__core-title,
.case-agg__results-title {
  display: block;
  margin: 4px 0 2px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.case-map__summary-meta,
.case-agg__core-meta,
.case-agg__results-meta,
.case-disc__map-radius,
.case-disc__dist {
  display: block;
  color: #a9b8d4;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.case-map__counts,
.case-agg__counts {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.case-map__counts li,
.case-agg__counts li {
  margin: 0 0 3px;
  color: #c4d2ec;
  font-size: 13px;
  line-height: 1.4;
}

.case-map__counts li:last-child,
.case-agg__counts li:last-child {
  margin-bottom: 0;
}

.case-map__counts strong,
.case-agg__counts strong {
  display: inline-block;
  min-width: 1.25em;
  margin-right: 4px;
  color: #fff;
  font-weight: 700;
}

/* Visual B — data aggregation */

.case-agg__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  gap: 0;
  padding: 16px 14px 18px;
}

.case-agg__sources {
  -webkit-box-flex: 0.95;
  -ms-flex: 0.95 1 0px;
  flex: 0.95 1 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.case-agg__source,
.case-agg__core,
.case-agg__results {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(20, 28, 52, 0.45);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.case-agg__source strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.case-agg__connect {
  position: relative;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 22px;
  flex: 0 0 22px;
}

.case-agg__connect--in span {
  position: absolute;
  right: 0;
  left: 4px;
  height: 1px;
  background: rgba(158, 196, 248, 0.4);
}

.case-agg__connect--in span:nth-child(1) { top: 12.5%; }
.case-agg__connect--in span:nth-child(2) { top: 37.5%; }
.case-agg__connect--in span:nth-child(3) { top: 62.5%; }
.case-agg__connect--in span:nth-child(4) { top: 87.5%; }

.case-agg__connect--in:before {
  content: '';
  position: absolute;
  top: 12.5%;
  bottom: 12.5%;
  right: 0;
  width: 1px;
  background: rgba(158, 196, 248, 0.4);
}

.case-agg__connect--out {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.case-agg__connect--out span {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(158, 196, 248, 0.45);
}

.case-agg__core {
  -webkit-box-flex: 0.9;
  -ms-flex: 0.9 1 0px;
  flex: 0.9 1 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  border-color: rgba(20, 121, 240, 0.55);
  background: rgba(20, 88, 196, 0.28);
  -webkit-box-shadow: 0 0 20px rgba(20, 121, 240, 0.22);
  box-shadow: 0 0 20px rgba(20, 121, 240, 0.22);
}

.case-agg__results {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0px;
  flex: 1 1 0;
}

/* Visual C — discovery explorer */

.case-disc__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  min-height: 360px;
}

.case-disc__map {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0px;
  flex: 1 1 0;
  min-width: 0;
  min-height: 280px;
  overflow: hidden;
  background-color: #10192e;
  background-image:
    radial-gradient(ellipse 60% 50% at 40% 45%, rgba(20, 88, 196, 0.2) 0%, transparent 62%),
    repeating-linear-gradient(0deg, transparent, transparent 22px, rgba(158, 196, 248, 0.045) 23px),
    repeating-linear-gradient(90deg, transparent, transparent 22px, rgba(158, 196, 248, 0.045) 23px);
}

.case-disc__contour {
  position: absolute;
  width: 70%;
  height: 62%;
  left: 12%;
  top: 14%;
  border: 1px solid rgba(158, 196, 248, 0.1);
  border-radius: 50%;
  -webkit-transform: rotate(-8deg);
  transform: rotate(-8deg);
}

.case-disc__radius {
  position: absolute;
  width: 54%;
  max-width: 180px;
  left: 48%;
  top: 46%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(20, 121, 240, 0.55);
  border-radius: 50%;
  background: rgba(20, 121, 240, 0.1);
}

.case-disc__radius:before {
  content: '';
  display: block;
  padding-top: 100%;
}

.case-disc__origin {
  position: absolute;
  z-index: 2;
  left: 48%;
  top: 46%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border: 2px solid #e4e9f2;
  border-radius: 50%;
  background: #1479f0;
  -webkit-box-shadow: 0 0 10px rgba(20, 121, 240, 0.7);
  box-shadow: 0 0 10px rgba(20, 121, 240, 0.7);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.case-disc__mark {
  position: absolute;
  z-index: 3;
  width: 10px;
  height: 10px;
}

.case-disc__mark i {
  display: block;
  width: 10px;
  height: 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.case-disc__mark--deposit i {
  background: #c4d2ec;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.case-disc__mark--mine i {
  border-radius: 50%;
  background: #9ec4f8;
}

.case-disc__mark--anomaly i {
  position: relative;
  border: 2px solid #a9b8d4;
  border-radius: 50%;
  background: transparent;
}

.case-disc__mark--anomaly i:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: #a9b8d4;
}

.case-disc__mark--feature i {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 11px solid #7ea6e0;
}

.case-disc__mark--1 { left: 38%; top: 32%; }
.case-disc__mark--2 { left: 62%; top: 38%; }
.case-disc__mark--3 { left: 58%; top: 62%; }
.case-disc__mark--4 { left: 30%; top: 58%; }

.case-disc__map-meta {
  position: absolute;
  z-index: 4;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(16, 25, 46, 0.72);
}

.case-disc__list {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 46%;
  flex: 0 0 46%;
  max-width: 280px;
  padding: 4px 12px 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.case-disc__list-label {
  margin: 8px 2px 10px;
}

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

.case-disc__card {
  margin: 0 0 8px;
  padding: 10px 12px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(20, 28, 52, 0.45);
}

.case-disc__card:last-child {
  margin-bottom: 0;
}

.case-disc__card strong {
  display: block;
  margin: 3px 0 2px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

@media only screen and (max-width: 1199px) {
  .case-map__surface {
    height: 320px;
  }

  .case-disc__body {
    min-height: 320px;
  }

  .case-caps--geo {
    -ms-grid-columns: 1fr 12px 1fr;
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width: 980px) {
  .case-split--viz {
    display: block;
  }

  .case-split--viz .case-viz {
    max-width: none;
    margin: 0 0 32px;
  }

  .case-caps--geo {
    margin-top: 28px;
  }

  .case-agg__source strong {
    font-size: 11px;
  }

  .case-agg__core-title,
  .case-agg__results-title {
    font-size: 13px;
  }

  .case-map__counts li,
  .case-agg__counts li {
    font-size: 12px;
  }
}

@media only screen and (max-width: 767px) {
  .case-map__surface {
    height: 280px;
    margin: 10px 8px 0;
  }

  .case-map__mark em {
    display: none;
  }

  .case-map__radius {
    width: 52%;
  }

  .case-map__summary {
    display: block;
  }

  .case-map__summary-col + .case-map__summary-col {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .case-map__counts {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 10px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 4px 10px;
  }

  .case-agg__body {
    display: block;
    padding: 12px 12px 16px;
  }

  .case-agg__sources {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 8px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .case-agg__connect--in,
  .case-agg__connect--out {
    -ms-flex: none;
    flex: none;
    height: 16px;
    margin: 4px auto;
    width: 2px;
    background: rgba(158, 196, 248, 0.4);
  }

  .case-agg__connect--in span,
  .case-agg__connect--in:before,
  .case-agg__connect--out span {
    display: none;
  }

  .case-agg__core,
  .case-agg__results {
    max-width: 100%;
    text-align: left;
  }

  .case-agg__core {
    text-align: center;
    margin-bottom: 4px;
  }

  .case-agg__counts {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 10px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 4px 10px;
  }

  .case-disc__body {
    display: block;
    min-height: 0;
  }

  .case-disc__map {
    min-height: 220px;
  }

  .case-disc__list {
    max-width: none;
    padding: 12px 12px 14px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .case-disc__card {
    margin-bottom: 8px;
  }

  .case-caps--geo {
    -ms-grid-columns: 1fr 12px 1fr;
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }

  .case-viz__caption {
    font-size: 11px;
  }
}

@media only screen and (max-width: 480px) {
  .case-map__legend {
    padding: 6px 8px;
  }

  .case-map__legend li {
    font-size: 9px;
    gap: 6px;
  }

  .case-map__radius-label,
  .case-disc__map-radius {
    font-size: 10px;
  }
}
