/* Demo demo25 "Atlas" — the live DEPO /locals in a map: site dark (#18171a), green #469a58 and yellow #ffb500, Lazurski + Lato, a glass panel over a light Voyager map. */
.demo25-page { --map-top: 70px; --lm-bg: #e8e6e1; }
.at { padding: 0; }
.at .icon { width: 18px; height: 18px; flex: none; }

/* banner: four portraits side by side, the line on the left; 8:3, capped like the site's page banner */
.at-banner__inner { position: relative; aspect-ratio: 8 / 3; max-height: 420px; width: 100%; overflow: hidden; background: #111; }
.at-slide { position: absolute; inset: 0; }
.at-slide__photos { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.at-slide__photos img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transform: scale(1.04); transition: transform 7s ease-out; }
.at-slide.is-active .at-slide__photos img { transform: scale(1); }
.at-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,23,26,.92) 0%, rgba(24,23,26,.7) 34%, rgba(24,23,26,0) 62%), linear-gradient(0deg, rgba(24,23,26,.5), transparent 40%); }
.at-slide__text { position: absolute; z-index: 1; left: max(24px, calc((100vw - 1280px) / 2 + 24px)); top: 50%; transform: translateY(-50%); max-width: 520px; color: #fff; }
.at-slide__kicker { margin: 0 0 .7rem; font: 600 13px/1 "Poppins", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.at-slide__title { margin: 0; font: 700 clamp(28px, 3.6vw, 52px)/1.04 "Lazurski", Georgia, serif; }
.at-slide__lead { margin: .9rem 0 0; font: 400 17px/1.5 "Lato", sans-serif; color: rgba(255,255,255,.8); max-width: 42ch; }
.at-slide__btn { display: inline-flex; margin-top: 1.2rem; padding: 12px 22px; border-radius: 10px; background: var(--green); color: #fff; font: 600 14px/1 "Poppins", sans-serif; text-decoration: none; }
.at-slide__btn:hover { background: var(--primary-hover); }
.at-banner__dots { position: absolute; z-index: 2; left: max(24px, calc((100vw - 1280px) / 2 + 24px)); bottom: 22px; display: flex; gap: 8px; }
.at-banner__dots button { width: 28px; height: 4px; border-radius: 2px; border: 0; padding: 0; background: rgba(255,255,255,.35); }
.at-banner__dots button.is-active { background: var(--yellow); }
.at-banner__hide { position: absolute; z-index: 2; right: 20px; top: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(24,23,26,.55); color: #fff; font: 500 13px/1 "Poppins", sans-serif; cursor: pointer; backdrop-filter: blur(8px); }
.at-banner__hide:hover { background: rgba(24,23,26,.85); }

/* stage */
.at-panel { position: absolute; z-index: 500; left: 16px; top: 16px; bottom: 16px; width: 372px; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 18px;
  background: rgba(24,23,26,.88); color: #fff; backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.at-panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.at-panel__title { margin: 0; font: 700 30px/1 "Lazurski", Georgia, serif; }
.at-panel__count { margin: 0; font: 500 13px/1 "Poppins", sans-serif; color: var(--yellow); }
.at-city { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--muted); }
.at-city select { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; color: #fff; font: 400 15px/1 "Lato", sans-serif; outline: none; }
.at-city select option { background: #27262b; }
.at-city:focus-within { border-color: var(--green); }
.at-panel__label { margin: 4px 0 -4px; font: 600 11px/1 "Poppins", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.at-panel__label span { letter-spacing: 0; text-transform: none; font-weight: 500; opacity: .7; }
.at-specs { display: flex; flex-wrap: wrap; gap: 6px; max-height: 128px; overflow-y: auto; padding-bottom: 2px; scrollbar-width: thin; }
.lm-spec { padding: 6px 10px 6px 6px; border-radius: 999px; background: var(--surface-2); border: 1px solid transparent; font: 500 12.5px/1 "Lato", sans-serif; color: rgba(255,255,255,.85); transition: background .15s, border-color .15s; }
.lm-spec--all { padding-left: 12px; }
.lm-spec__code { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; font: 700 9px/1 "Poppins", sans-serif; }
.lm-spec__count { color: var(--muted); font-size: 11.5px; }
.lm-spec:hover { border-color: var(--c, var(--green)); }
.lm-spec.is-on { background: #fff; color: #18171a; }
.lm-spec.is-on .lm-spec__count { color: #18171a; }
.lm-spec--all.is-on { background: var(--green); color: #fff; }
.lm-spec--all.is-on .lm-spec__count { color: rgba(255,255,255,.8); }
.at-list { flex: 1; min-height: 0; overflow-y: auto; margin: 0 -8px; padding: 0 8px; display: flex; flex-direction: column; gap: 2px; scrollbar-width: thin; scrollbar-color: #3a393f transparent; }
.lm-person { padding: 8px; border-radius: 12px; transition: background .15s; }
.lm-person:hover, .lm-person.is-selected { background: var(--surface-2); }
.lm-person__img { box-shadow: 0 0 0 2px var(--c); }
.lm-person__name { font: 600 14.5px/1.25 "Poppins", sans-serif; }
.lm-person__spec { font: 400 13px/1.3 "Lato", sans-serif; color: var(--c); filter: brightness(1.35); }
.lm-person__meta { font: 400 12.5px/1.3 "Lato", sans-serif; color: var(--muted); }
.lm-empty { margin: 8px 0; color: var(--muted); font: 400 14px/1.45 "Lato", sans-serif; }

/* card: covers the list inside the panel */
.at-card { position: absolute; inset: 0; z-index: 2; background: #1d1c20; overflow-y: auto; }
.lm-card { padding: 0 0 20px; }
.lm-card__img { width: 100%; height: 280px; object-position: center 20%; }
.lm-card__close { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(24,23,26,.7); color: #fff; font-size: 22px; line-height: 1; text-align: center; backdrop-filter: blur(6px); }
.lm-card__close:hover { background: #000; }
.lm-card__spec { display: flex; align-items: center; gap: 8px; margin: 16px 20px 0; font: 600 12px/1 "Poppins", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--c); filter: brightness(1.3); }
.lm-card__spec i { font-style: normal; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c); color: #fff; font-size: 9px; letter-spacing: 0; }
.lm-card__name { margin: 8px 20px 0; font: 700 28px/1.1 "Lazurski", Georgia, serif; }
.lm-card__place { margin: 4px 20px 0; color: var(--muted); font: 400 14px/1.4 "Lato", sans-serif; }
.lm-card__bio { margin: 12px 20px 0; font: 400 15px/1.5 "Lato", sans-serif; color: rgba(255,255,255,.85); }
.lm-card__facts { margin: 16px 20px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lm-card__facts dt { font: 600 10.5px/1 "Poppins", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.lm-card__facts dd { font: 500 14px/1.3 "Lato", sans-serif; }
.lm-card__open { display: inline-block; margin: 14px 20px 0; padding: 6px 10px; border-radius: 8px; background: rgba(70,154,88,.18); color: #7fd493; font: 500 12.5px/1 "Poppins", sans-serif; }
.lm-card__actions { margin: 16px 20px 0; }
.lm-card__btn { flex: 1; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); color: #fff; font: 600 14px/1 "Poppins", sans-serif; }
.lm-card__btn--primary { background: var(--green); border-color: var(--green); }
.lm-card__btn:hover { border-color: #fff; }

/* tools on the map */
.at-tools { position: absolute; z-index: 500; right: 16px; top: 16px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.at-providers { display: flex; padding: 4px; border-radius: 12px; background: rgba(24,23,26,.85); backdrop-filter: blur(10px); }
.lm-provider { padding: 8px 12px; border-radius: 9px; color: rgba(255,255,255,.7); font: 500 13px/1 "Poppins", sans-serif; }
.lm-provider:hover { color: #fff; }
.lm-provider.is-active { background: #fff; color: #18171a; }
.at-tool { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; height: 40px; border-radius: 12px; border: 0; background: rgba(24,23,26,.85); color: #fff; font: 500 13px/1 "Poppins", sans-serif; cursor: pointer; backdrop-filter: blur(10px); }
.at-tool:hover { background: #000; }
.at-tool.lp-banner-show { background: var(--yellow); color: #18171a; }
.at-status { position: absolute; z-index: 500; right: 16px; top: 64px; margin: 0; font: 500 13px/1.3 "Lato", sans-serif; color: #18171a; background: rgba(255,255,255,.9); border-radius: 8px; padding: 0; }
.at-status:not(:empty) { padding: 8px 10px; }

/* map details */
.at-stage .leaflet-control-zoom { border: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); margin: 0 16px 28px 0; }
.at-stage .leaflet-control-zoom a { width: 40px; height: 40px; line-height: 40px; background: rgba(24,23,26,.88); color: #fff; border-color: rgba(255,255,255,.1); }
.at-stage .leaflet-control-zoom a:hover { background: #000; }
.at-stage .leaflet-control-attribution { font: 11px/1.4 "Lato", sans-serif; background: rgba(255,255,255,.75); }
.lm-cluster b { font-family: "Poppins", sans-serif; }

@media (max-width: 860px) {
  .at-banner__inner { aspect-ratio: auto; height: 300px; }
  .at-slide__photos { grid-template-columns: repeat(2, 1fr); }
  .at-slide__photos img:nth-child(n+3) { display: none; }
  .at-slide::after { background: linear-gradient(0deg, rgba(24,23,26,.95) 0%, rgba(24,23,26,.55) 55%, rgba(24,23,26,.15)); }
  .at-slide__text { top: auto; bottom: 46px; transform: none; right: 20px; left: 20px; }
  .at-slide__lead { font-size: 15px; }
  .at-banner__dots { left: 20px; bottom: 20px; }
  .at-banner__hide { right: 12px; top: 12px; }
  .lp-stage.at-stage { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .at-stage .lp-map { position: relative; height: 62vh; min-height: 380px; }
  .at-panel { position: relative; inset: auto; width: auto; margin: 0; border-radius: 0; max-height: none; background: #18171a; border: 0; box-shadow: none; }
  .at-list { max-height: 420px; }
  .at-card { position: fixed; inset: auto 0 0 0; max-height: 82vh; border-radius: 18px 18px 0 0; z-index: 1000; box-shadow: 0 -20px 50px rgba(0,0,0,.5); }
  .at-tools { top: 12px; right: 12px; left: 12px; justify-content: flex-start; }
  .lm-provider { padding: 8px 9px; font-size: 12px; }
  .at-status { top: 112px; }
}
