:root {
  --atlas-ink: #090b0d;
  --atlas-panel: #101316;
  --atlas-paper: #ece9df;
  --atlas-muted: #96958e;
  --atlas-line: rgba(236, 233, 223, 0.15);
  --atlas-brass: #d5a554;
  --atlas-ice: #9bd9dc;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.atlas-body {
  color: var(--atlas-paper);
  background:
    radial-gradient(circle at 46% 34%, rgba(83, 101, 105, 0.15), transparent 32rem),
    var(--atlas-ink);
}

.atlas-site-frame {
  color: var(--atlas-paper);
}

.atlas-shell {
  width: min(1480px, calc(100% - clamp(2rem, 6vw, 7.5rem)));
  padding: clamp(6rem, 12vh, 9rem) 0 2.5rem;
}

.atlas-body .site-nav {
  margin-bottom: clamp(3.5rem, 8vh, 7.5rem);
}

.atlas-body .site-nav a {
  color: var(--atlas-paper);
}

.atlas-hero {
  grid-template-columns: minmax(0, 1.4fr) minmax(17rem, 0.55fr);
  gap: clamp(2rem, 8vw, 9rem);
  align-items: end;
  margin-bottom: clamp(2.25rem, 6vh, 5.5rem);
}

.atlas-hero .eyebrow {
  color: var(--atlas-brass);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.atlas-hero h1 {
  max-width: 11ch;
  margin: 0.65rem 0 0;
  color: var(--atlas-paper);
  font-size: clamp(3.7rem, 8.5vw, 8.6rem);
  font-weight: 500;
  line-height: 0.84;
  letter-spacing: -0.075em;
}

.atlas-hero__intro {
  padding-bottom: 0.35rem;
}

.atlas-copy {
  max-width: 32rem;
  color: var(--atlas-paper);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.atlas-note__copy {
  margin-top: 1.2rem;
  color: var(--atlas-muted);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.atlas-stage-shell {
  border-top: 1px solid var(--atlas-line);
  padding-top: clamp(1rem, 2vw, 1.6rem);
}

.atlas-stage-panel {
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 25rem);
  gap: clamp(1rem, 3vw, 3.5rem);
  align-items: start;
}

.atlas-globe-panel {
  position: sticky;
  top: 1rem;
  min-height: min(78vh, 920px);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(92, 133, 139, 0.17), transparent 26rem),
    linear-gradient(180deg, #0b0e10, #080a0c);
  box-shadow: none;
}

.atlas-globe-panel::before {
  background:
    linear-gradient(var(--atlas-line), var(--atlas-line)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(90deg, var(--atlas-line), var(--atlas-line)) 0 50% / 100% 1px no-repeat;
  opacity: 0.28;
}

.atlas-globe-status {
  top: 1.1rem;
  left: 1.15rem;
  max-width: calc(100% - 2.3rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--atlas-muted);
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  backdrop-filter: none;
}

.atlas-globe-status[data-mode="ready"] {
  color: var(--atlas-ice);
}

.atlas-globe-status[data-mode="warn"] {
  color: #e6c27b;
  border: 0;
}

.atlas-globe-status[data-mode="error"] {
  color: #ef9d86;
  border: 0;
}

.atlas-globe-controls {
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.1rem;
  gap: 0;
  justify-content: space-between;
  border-top: 1px solid var(--atlas-line);
  padding-top: 0.75rem;
}

.atlas-chip-button,
.atlas-filter {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--atlas-paper);
}

.atlas-chip-button {
  padding: 0.45rem 0;
  font-size: 0.64rem;
}

.atlas-chip-button--secondary {
  color: var(--atlas-muted);
}

.atlas-chip-button:hover,
.atlas-chip-button:focus-visible,
.atlas-filter:hover,
.atlas-filter:focus-visible {
  transform: none;
  border-color: transparent;
  color: var(--atlas-brass);
}

.atlas-noscript {
  position: absolute;
  inset: auto 1rem 5rem;
  z-index: 3;
  margin: 0;
  color: var(--atlas-paper);
}

.atlas-sidebar {
  display: block;
  border-left: 1px solid var(--atlas-line);
  padding-left: clamp(1rem, 2vw, 2rem);
}

.atlas-bottom-sheet__handle {
  display: none;
}

.atlas-note,
.atlas-card {
  border: 0;
  border-bottom: 1px solid var(--atlas-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.atlas-card {
  padding: 1.3rem 0 1.5rem;
}

.atlas-card:first-of-type {
  padding-top: 0.2rem;
}

.atlas-card__label,
.atlas-detail__eyebrow {
  color: var(--atlas-brass);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.atlas-card__heading {
  margin-bottom: 0.9rem;
}

.atlas-card__hint {
  color: var(--atlas-muted);
  font-size: 0.6rem;
}

.atlas-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem;
  margin-top: 1rem;
}

.atlas-stat {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.atlas-stat strong {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
}

.atlas-stat span {
  color: var(--atlas-muted);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.atlas-search {
  margin-top: 0.95rem;
}

.atlas-search > label,
.atlas-year-fieldset legend {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--atlas-muted);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.atlas-search__field {
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid rgba(236, 233, 223, 0.34);
}

.atlas-search input {
  min-width: 0;
  padding: 0.7rem 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--atlas-paper);
  font: inherit;
  font-size: 0.95rem;
}

.atlas-search input::placeholder {
  color: #666761;
}

.atlas-search button {
  border: 0;
  background: transparent;
  color: var(--atlas-muted);
  cursor: pointer;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.atlas-year-fieldset {
  min-width: 0;
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
}

.atlas-filter-row {
  gap: 0.25rem 0.8rem;
}

.atlas-filter {
  position: relative;
  padding: 0.35rem 0;
  color: var(--atlas-muted);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
}

.atlas-filter.is-active {
  border: 0;
  background: transparent;
  color: var(--atlas-paper);
}

.atlas-filter.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--atlas-brass);
}

.atlas-detail {
  min-height: 10rem;
}

.atlas-detail h2 {
  margin-top: 0.7rem;
  color: var(--atlas-paper);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.atlas-detail__date,
.atlas-detail__meta {
  color: var(--atlas-muted);
}

.atlas-detail__date {
  color: var(--atlas-paper);
}

.atlas-detail__chips {
  margin-top: 1rem;
}

.atlas-detail__chips span {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--atlas-muted);
  font-size: 0.6rem;
}

.atlas-detail__chips span + span::before {
  content: "·";
  margin-right: 0.45rem;
  color: var(--atlas-brass);
}

.atlas-concert-list {
  max-height: min(38vh, 27rem);
  margin: 0;
  padding: 0 0.25rem 0 0;
  list-style: none;
  scrollbar-color: rgba(236, 233, 223, 0.24) transparent;
}

.atlas-concert-list li {
  border-top: 1px solid rgba(236, 233, 223, 0.09);
}

.atlas-concert-button {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 1rem;
  align-items: baseline;
  padding: 0.78rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.atlas-concert-button strong {
  overflow: hidden;
  color: var(--atlas-paper);
  font-size: 0.88rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atlas-concert-button span {
  color: var(--atlas-muted);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  text-align: right;
}

.atlas-concert-button:hover,
.atlas-concert-button:focus-visible,
.atlas-concert-button[aria-pressed="true"] {
  border-color: transparent;
  background: transparent;
}

.atlas-concert-button[aria-pressed="true"] strong,
.atlas-concert-button:hover strong {
  color: var(--atlas-brass);
}

.atlas-concert-button[aria-pressed="true"]::before {
  content: "●";
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--atlas-brass);
  font-size: 0.45rem;
}

.atlas-concert-button[aria-pressed="true"] {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.atlas-privacy-note {
  margin: 1rem 0 0;
  color: #777872;
  font-size: 0.72rem;
  line-height: 1.5;
}

.atlas-empty {
  color: var(--atlas-muted);
}

.atlas-tooltip {
  border: 1px solid var(--atlas-line);
  border-radius: 0;
  background: rgba(9, 11, 13, 0.94);
  color: var(--atlas-paper);
}

.atlas-body.is-atlas-fallback .atlas-globe::after {
  content: "The 3D view is unavailable. Use the complete concert list alongside it.";
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(24rem, calc(100% - 3rem));
  color: var(--atlas-muted);
  line-height: 1.6;
  text-align: center;
  transform: translate(-50%, -50%);
}

@media (max-width: 1080px) {
  .atlas-stage-panel {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 21rem);
  }

  .atlas-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1rem;
  }
}

@media (max-width: 920px) {
  .atlas-shell {
    width: min(100%, calc(100% - 2rem));
  }

  .atlas-body .site-nav {
    margin-bottom: 4rem;
  }

  .atlas-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .atlas-stage-panel {
    display: block;
  }

  .atlas-globe-panel {
    position: relative;
    top: auto;
    min-height: 62svh;
  }

  .atlas-sidebar {
    position: relative;
    z-index: 4;
    margin: -2.2rem -0.5rem 0;
    padding: 0.55rem 1.25rem 1.25rem;
    border: 1px solid var(--atlas-line);
    border-bottom: 0;
    border-radius: 1.5rem 1.5rem 0 0;
    background: rgba(16, 19, 22, 0.98);
    box-shadow: 0 -1.5rem 4rem rgba(0, 0, 0, 0.32);
  }

  .atlas-bottom-sheet__handle {
    display: block;
    width: 2.5rem;
    height: 3px;
    margin: 0 auto 0.7rem;
    border-radius: 99px;
    background: rgba(236, 233, 223, 0.24);
  }

  .atlas-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .atlas-concert-list {
    max-height: 24rem;
  }
}

@media (max-width: 640px) {
  .atlas-shell {
    width: calc(100% - 1rem);
  }

  .atlas-body .site-nav {
    margin-bottom: 3rem;
  }

  .atlas-hero h1 {
    font-size: clamp(3.7rem, 19vw, 6rem);
  }

  .atlas-stage-shell {
    margin-right: -0.5rem;
    margin-left: -0.5rem;
  }

  .atlas-globe-panel {
    min-height: 58svh;
  }

  .atlas-globe-controls {
    right: 1.15rem;
    max-width: none;
  }

  .atlas-chip-button,
  .atlas-filter {
    width: auto;
  }

  .atlas-sidebar {
    margin-right: 0;
    margin-left: 0;
  }

  .atlas-stats {
    gap: 0.5rem;
  }

  .atlas-stat strong {
    font-size: 1.35rem;
  }

  .atlas-stat span {
    font-size: 0.5rem;
  }

  .atlas-concert-button {
    grid-template-columns: minmax(0, 1fr);
  }

  .atlas-concert-button span {
    text-align: left;
  }

  .atlas-concert-button[aria-pressed="true"] {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .atlas-concert-button[aria-pressed="true"] span {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-chip-button,
  .atlas-filter,
  .atlas-concert-button {
    transition: none;
  }
}
