/* Atlas /2 v2.0.1 — legibility, source registry and selected-location pulse */

.atlas-hero--v2 .atlas-stats dt {
  margin-top: 5px;
  color: rgba(242, 251, 245, .82);
  font-size: 12px;
  font-weight: 780;
  line-height: 1.15;
  letter-spacing: .01em;
}

.atlas-hero--v2 .atlas-stats-note {
  color: rgba(239, 249, 242, .76) !important;
  font-size: 11.5px !important;
  line-height: 1.35;
}

.atlas-commandbar__identity small {
  font-size: 10.5px;
  line-height: 1.3;
}

.marker-selection-pulse {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  display: block;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.marker-selection-pulse b {
  position: absolute;
  inset: 0;
  min-width: 0;
  width: auto;
  height: auto;
  display: block;
  padding: 0;
  border: 2px solid rgba(147, 220, 55, .9);
  border-radius: 50%;
  background: transparent;
  box-sizing: border-box;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .34);
  opacity: 0;
  animation: atlas-selected-location-pulse 2.45s cubic-bezier(.18, .72, .28, 1) infinite;
}

.marker-selection-pulse b:nth-child(2) { animation-delay: .58s; }
.marker-selection-pulse b:nth-child(3) { animation-delay: 1.16s; }

.google-area-point,
.google-area-label { position: relative; }

.marker-selection-pulse--area-label {
  width: 36px;
  height: 36px;
}

@keyframes atlas-selected-location-pulse {
  0% { opacity: .9; transform: scale(.8); }
  72%, 100% { opacity: 0; transform: scale(2.65); }
}

.source-registry {
  position: relative;
  padding: 34px 0 30px;
  overflow: hidden;
  border-top: 1px solid #d9e4d4;
  background:
    radial-gradient(circle at 4% 10%, rgba(153, 215, 66, .13), transparent 30%),
    linear-gradient(135deg, #f8faf5 0%, #f2f7ed 100%);
}

.source-registry::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(52, 111, 69, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(52, 111, 69, .025), 0 0 0 84px rgba(52, 111, 69, .018);
  pointer-events: none;
}

.source-registry__shell {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.9fr);
  gap: 22px 36px;
}

.source-registry__intro .eyebrow {
  margin-bottom: 7px;
  color: #4e812c;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .105em;
}

.source-registry__intro h2 {
  margin: 0 0 11px;
  max-width: 470px;
  font-size: clamp(31px, 3vw, 45px);
  line-height: 1.01;
  letter-spacing: -.025em;
}

.source-registry__intro > p:last-of-type {
  max-width: 510px;
  color: #40574b;
  font-size: 15px;
  line-height: 1.58;
}

.source-registry__metrics {
  margin-top: 18px;
  border-color: #cdddc7;
  border-radius: 14px;
  background: rgba(255, 255, 255, .83);
  box-shadow: 0 10px 30px rgba(6, 61, 39, .055);
}

.source-registry__metrics span { min-height: 58px; padding: 11px 9px; align-content: center; }
.source-registry__metrics strong { font-size: 22px; }
.source-registry__metrics small { color: #52685c; font-size: 10.5px; font-weight: 820; line-height: 1.2; }

.source-registry__body {
  padding: 16px;
  border: 1px solid rgba(115, 151, 101, .24);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 15px 40px rgba(14, 69, 44, .055);
}

.source-registry__body-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid #dce7d8;
}

.source-registry__body-head p {
  margin: 0 0 2px;
  color: #6a9c39;
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.source-registry__body-head h3 {
  margin: 0;
  color: #073e2b;
  font-family: var(--font-display, Georgia, serif);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.08;
}

.source-registry__body-head > span {
  max-width: 230px;
  color: #6b7b71;
  font-size: 11px;
  line-height: 1.35;
  text-align: right;
}

.source-category-label {
  margin: 0 0 6px;
  color: #597066;
  font-size: 10.5px;
  font-weight: 820;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.source-category-list { gap: 6px; margin-bottom: 13px; }
.source-category-list li {
  padding: 6px 9px;
  border-color: #ccdec4;
  background: #f8fcf5;
  color: #315e43;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .005em;
}

.source-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.source-link-grid a {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 3px 8px;
  min-height: 68px;
  padding: 10px 11px;
  border-color: #d5e2d0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 4px 13px rgba(9, 62, 39, .035);
}

.source-link-grid a:hover,
.source-link-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: #83b55d;
  box-shadow: 0 10px 22px rgba(9, 62, 39, .09);
}

.source-link-grid b {
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  color: #0a4933;
  font-size: 13px;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.source-link-grid small {
  grid-column: 1;
  min-width: 0;
  overflow: hidden;
  color: #64776c;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-link-grid a > span {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-size: 14px;
}

.source-watch-public {
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(105deg, #073f2c, #0c5339);
}

.source-watch-public small { font-size: 10.5px; }
.source-watch-public strong { font-size: 13.5px; }
.source-watch-public span:not(.source-watch-public__signal) { font-size: 10.5px; }
.source-watch-public dt { font-size: 11px; }
.source-watch-public dd { font-size: 17px; }

@media (max-width: 980px) {
  .source-registry__shell { grid-template-columns: minmax(240px, .68fr) minmax(0, 1.32fr); gap: 20px; }
  .source-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .atlas-commandbar__identity small { font-size: 10.5px; }
  .source-registry { padding: 24px 0; }
  .source-registry__shell { grid-template-columns: 1fr; gap: 16px; }
  .source-registry__intro h2 { font-size: clamp(30px, 7.7vw, 42px); }
  .source-registry__intro > p:last-of-type { font-size: 13px; }
  .source-registry__body { padding: 13px; }
}

@media (max-width: 560px) {
  .atlas-hero--v2 .atlas-stats dt { font-size: 10.5px; line-height: 1.12; }
  .atlas-hero--v2 .atlas-stats-note { font-size: 10px !important; }
  .source-registry__intro .eyebrow { font-size: 11px; }
  .source-registry__body-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .source-registry__body-head > span { max-width: none; text-align: left; }
  .source-category-list { gap: 5px; }
  .source-category-list li { font-size: 10.5px; }
  .source-link-grid { grid-template-columns: 1fr; }
  .source-link-grid a { min-height: 59px; }
}

@media (prefers-reduced-motion: reduce) {
  .marker-selection-pulse b { animation: none; opacity: .35; transform: scale(1.35); }
  .marker-selection-pulse b:nth-child(n+2) { display: none; }
}
