/* Local refinement of the approved Explorer wireframe. */

.atlas-route-pagination{display:flex;align-items:center;justify-content:center;margin:28px 0 24px}
.atlas-route-pagination__group{display:inline-flex;max-width:100%;overflow:hidden;border:1px solid #d7d9dc;border-radius:8px;background:#fff;box-shadow:0 1px 2px #00000008}
.atlas-route-pagination__item{display:grid;width:48px;height:44px;flex:0 0 48px;place-items:center;border:0;border-left:1px solid #d7d9dc;background:#fff;color:#606672;font:500 16px/1 var(--interface);text-decoration:none;transition:background-color .16s ease,color .16s ease}
.atlas-route-pagination__item:first-child{border-left:0}
a.atlas-route-pagination__item:hover{background:#f4f5f6;color:#111}
a.atlas-route-pagination__item:focus-visible{position:relative;z-index:1;outline:3px solid var(--gold);outline-offset:-3px}
.atlas-route-pagination__item--current{background:#f0f1f2;color:#111;font-weight:750}
.atlas-route-pagination__item--arrow{color:#6d7480;font-size:30px;font-weight:300;line-height:.8}
.atlas-route-pagination__item--arrow span{transform:translateY(-1px)}
.atlas-route-pagination__item--disabled{color:#c3c7cc;cursor:not-allowed}
.atlas-route-pagination__item--ellipsis{color:#717680;letter-spacing:.08em}
@media(max-width:520px){.atlas-route-pagination{margin-block:24px 20px}.atlas-route-pagination__item{width:44px;height:44px;flex-basis:44px;font-size:14px}.atlas-route-pagination__item--arrow{font-size:28px}}

/* The two catalogue introductions share one quiet, centered editorial axis. */
.atlas-route-page__header--centered{display:flex;flex-direction:column;align-items:center;text-align:center}
.atlas-route-page__header--centered nav{width:100%;justify-content:center}
.atlas-route-page__header--centered>div{width:min(920px,100%)}
.atlas-route-page__header--centered h1,.atlas-route-page__header--centered>div>p:last-child{margin-right:auto;margin-left:auto}
.atlas-route-page__header--compact-description>div>p:last-child{font-size:14px;line-height:1.45}

/* Shared public catalogue filters: the Explorer capsule, adapted to list pages. */
.atlas-route-filters{margin:0 0 16px}
.atlas-route-filterbar{display:grid;width:min(1040px,100%);min-height:62px;grid-template-columns:repeat(var(--route-filter-count),minmax(132px,1fr)) auto;align-items:stretch;overflow:hidden;margin-inline:auto;border:1px solid #e5e5e5;border-radius:999px;padding:5px;background:#fff;box-shadow:0 12px 34px #00000024;color:#111}
.atlas-route-filter__field{position:relative;display:grid;min-width:0;min-height:50px;grid-template-columns:30px minmax(0,1fr) 12px;align-items:center;gap:9px;border-radius:999px;padding:4px 12px;cursor:pointer;transition:background-color .18s ease}
.atlas-route-filter__field:not(:first-child)::before{position:absolute;top:9px;bottom:9px;left:0;width:1px;background:#ececec;content:""}
.atlas-route-filter__field:hover{background:#f6f6f6}
.atlas-route-filter__field:focus-within{outline:3px solid var(--gold);outline-offset:-3px;background:#f6f6f6}
.atlas-route-filter__icon{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:#f1f1f1;color:#333}
.atlas-route-filter__icon svg,.atlas-route-mobile-filters button>svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.atlas-route-filter__copy{display:grid;min-width:0;gap:1px}
.atlas-route-filter__copy>span{overflow:hidden;color:#595959;font-size:9px;font-weight:500;letter-spacing:.08em;line-height:1.1;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
.atlas-route-filter__copy :is(select,input){width:100%;min-width:0;min-height:18px;appearance:none;overflow:hidden;border:0;padding:0;background:transparent;color:#111;font:650 11px/1.15 var(--interface);text-overflow:ellipsis;white-space:nowrap;outline:0;color-scheme:light;cursor:pointer}
.atlas-route-filter__copy input::placeholder{color:#777;opacity:1}
.atlas-route-filter__chevron{color:#333;font-size:14px;line-height:1;pointer-events:none;transform:translateY(-1px)}
.atlas-route-filter__reset{display:inline-flex;min-width:max-content;min-height:40px;align-self:center;align-items:center;justify-content:center;gap:8px;margin-left:5px;border:0;border-radius:999px;padding:0 15px;background:#111;color:#fff;font-size:11px;font-weight:700;white-space:nowrap}
.atlas-route-filter__reset svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.atlas-route-filter__reset:hover{background:#292929}
.atlas-route-filter__reset:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.atlas-route-results{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 2px 18px;color:var(--secondary);font-size:12px}
.atlas-route-results strong{color:var(--ink);font-weight:650}
.atlas-route-mobile-filters{display:none}
.atlas-route-filter-dialog{width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid var(--line);border-radius:22px;padding:0;background:var(--surface);color:var(--ink);box-shadow:0 24px 90px #0006}
.atlas-route-filter-dialog::backdrop{background:#111b;backdrop-filter:blur(5px)}
.atlas-route-filter-dialog>form{padding:20px}
.atlas-route-filter-dialog header{display:flex;align-items:start;justify-content:space-between;gap:16px}
.atlas-route-filter-dialog h2{margin:0;font:500 28px/1.08 var(--display);letter-spacing:-.03em}
.atlas-route-filter-dialog header>button{display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--ink);font-size:22px}
.atlas-route-filter-dialog__fields{display:grid;gap:10px;margin:18px 0}
.atlas-route-filter-dialog__fields label{display:grid;gap:7px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.atlas-route-filter-dialog__fields :is(select,input){width:100%;min-height:46px;border:1px solid var(--line);border-radius:11px;padding:8px 12px;background:var(--surface);color:var(--ink);font:500 14px var(--interface)}
.atlas-route-filter-dialog footer{display:grid;grid-template-columns:1fr 1.4fr;gap:10px}
.atlas-route-filter-dialog footer>button:first-child{min-height:48px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-weight:600}
@media(max-width:1050px) and (min-width:700px){.atlas-route-filterbar{overflow-x:auto;scrollbar-width:none}.atlas-route-filterbar::-webkit-scrollbar{display:none}.atlas-route-filter__field{min-width:150px}.atlas-route-filter__reset{position:sticky;right:0;box-shadow:-10px 0 20px #fff}}
@media(max-width:699.98px){.atlas-route-page__header{margin-bottom:18px}.atlas-route-page__header--centered{align-items:center}.atlas-route-filterbar{display:none}.atlas-route-mobile-filters{display:flex;min-height:66px;align-items:center;justify-content:space-between;gap:12px;border-block:1px solid var(--line);padding:8px 0}.atlas-route-mobile-filters>span{max-width:18ch;color:var(--secondary);font-size:12px}.atlas-route-mobile-filters>button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:0 18px;background:var(--ink);color:var(--surface);font-weight:600}.atlas-route-mobile-filters button>b{display:grid;width:22px;height:22px;place-items:center;border:1px solid currentColor;border-radius:50%;font-size:10px}.atlas-route-results{display:none}.atlas-route-filters{margin-bottom:18px}}

.site-header .button--gold{border-color:var(--gold)}
.site-header .button--gold:hover{border-color:#e3bd4d}
@media(min-width:1320px){
  .site-header:not(.is-artist-session){grid-template-columns:minmax(0,1fr) minmax(260px,300px) auto;gap:14px}
  .site-navigation{gap:clamp(8px,.85vw,13px)}
}
@media(max-width:1119.98px) and (min-width:760.01px){
  .site-header:not(.is-artist-session){grid-template-columns:minmax(0,1fr) 44px auto;gap:10px 14px}
  .site-header:not(.is-artist-session) .header-search{width:auto;min-width:0;max-width:100%;grid-column:1/-1;grid-row:1}
  .site-header:not(.is-artist-session) :is(.header-search__searchbox,.header-search__control){width:100%;min-width:0;max-width:100%}
  .site-header:not(.is-artist-session) .site-navigation{min-width:0;grid-column:1;grid-row:2}
  .site-header:not(.is-artist-session) .theme-toggle{grid-column:2;grid-row:2}
  .site-header:not(.is-artist-session) .header-actions{grid-column:3;grid-row:2}
}

.hero{
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:stretch;
  overflow:hidden;
  width:100%;
  min-height:calc(100svh - var(--atlas-header-height,76px));
  margin:0;
  border-radius:0;
  padding:24px;
  background:#0b0b0b;
  color:#fff;
}
.hero__content{position:relative;z-index:3;display:flex;width:100%;min-height:0;flex:1;flex-direction:column;align-items:center;justify-content:center;margin:0 auto;text-align:center;pointer-events:none}
.hero__content :is(button,a,input,select){pointer-events:auto}
.hero__copy{position:static;width:min(820px,calc(100% - 32px));transform:none;text-align:center}
.hero__copy>.eyebrow,.hero__copy>h1,.hero__copy>.hero__manifest,.hero__copy>.hero__territory{width:100%;margin-right:auto;margin-left:auto;text-align:center}
.hero-cloud,.hero__veil{position:absolute;inset:0}
.hero-cloud{z-index:1;overflow:hidden}
.hero__veil{z-index:2;pointer-events:none;background:radial-gradient(ellipse at 50% 48%,#0b0b0bf2 0,#0b0b0bdc 27%,#0b0b0b52 55%,#0b0b0b08 78%)}
.hero-cloud__artwork{
  position:absolute;
  top:0;
  left:0;
  overflow:visible;
  border:0;
  outline:0;
  border-radius:0;
  padding:0;
  background:transparent;
  box-shadow:none;
  opacity:0;
  transform-origin:center;
  will-change:transform,opacity;
}
.hero-cloud__artwork>.ta-api-media{object-fit:contain}
.hero-cloud__artwork>.sprite{display:block;width:100%;height:100%;filter:brightness(1.28) saturate(1.16) contrast(1.04)}
.hero-cloud__artwork:is(:hover,:focus-visible)>.sprite{transform:scale(1.035)}
.hero-cloud__artwork>.sprite{transition:transform .2s ease}
.hero .eyebrow{margin:0 0 15px;color:var(--gold)}
.hero h1{color:#fff}
.hero .hero__manifest{
  max-width:760px;
  margin:20px auto 0;
  color:#d0d0d0;
  font-size:15px;
  line-height:1.55;
}
.hero-icon-sprite{position:absolute;width:0;height:0;overflow:hidden}
.hero-icon{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hero-territory{display:flex;align-items:center;justify-content:center;gap:8px;margin:18px auto 0;color:#fff}
.hero-territory>button{display:inline-flex;min-height:44px;align-items:center;border:0;padding:0;background:transparent;color:inherit}
.territory-change{margin-left:8px;color:#b9b8b1;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.hero-stats{display:grid;width:min(258px,100%);grid-template-columns:repeat(3,minmax(0,1fr));margin:18px auto 0;color:var(--gold)}
.hero-stats__item{position:relative;display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:flex-start;padding:0 6px;text-align:center}
.hero-stats__item+.hero-stats__item::before{position:absolute;top:50%;left:0;width:1px;height:32px;background:#eecd6e66;content:"";transform:translateY(-50%)}
.hero-stats dt{max-width:100%;color:#fff;font-size:9px;font-weight:600;line-height:1.35;letter-spacing:.015em;text-transform:uppercase;white-space:nowrap}
.hero-stats dd{order:-1;min-height:46px;margin:0;color:var(--gold);font:200 clamp(40px,3.6vw,46px)/.96 var(--display);letter-spacing:-.07em;font-variant-numeric:tabular-nums}
.hero-next{position:relative;top:24px;display:block;width:48px;height:56px;flex:0 0 56px;margin:24px auto 0;color:var(--gold);text-decoration:none;pointer-events:auto}
.hero-next__icon{position:absolute;top:2px;left:50%;display:block;width:16px;height:50px;overflow:visible;transform:translateX(-50%)}
.hero-next__icon path{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;transition:transform .34s cubic-bezier(.2,.7,.2,1)}
.hero-next__white{stroke:#fff}
.hero-next__gold{stroke:#eecd6e}
.hero-next__white{transform-box:view-box;transform-origin:8px 1.5px}
.hero-next:is(:hover,:focus-visible) .hero-next__white{transform:scaleY(1.5)}
.hero-next:is(:hover,:focus-visible) .hero-next__gold{transform:translateY(14px)}
.mobile-filters{display:none}

.discovery-filterbar{
  display:flex;
  width:min(1040px,calc(100% - 48px));
  max-width:1040px;
  min-height:62px;
  align-items:stretch;
  margin:32px auto 0;
  overflow-x:auto;
  border:1px solid #e5e5e5;
  border-radius:999px;
  padding:5px;
  background:#fff;
  box-shadow:0 12px 34px #00000024;
  color:#111;
  text-align:left;
  scrollbar-width:none;
  pointer-events:auto;
}
.discovery-filterbar::-webkit-scrollbar{display:none}
.discovery-filterbar .discovery-filterbar__filter{
  position:relative;
  display:grid;
  min-width:0;
  min-height:50px;
  flex:1 1 0;
  grid-template-columns:30px minmax(0,1fr) 12px;
  align-items:center;
  gap:9px;
  border-radius:999px;
  padding:4px 12px;
  transition:background-color .18s ease;
}
.discovery-filterbar__filter:nth-of-type(1){flex-basis:146px}
.discovery-filterbar__filter:nth-of-type(2){flex-basis:150px}
.discovery-filterbar__filter:nth-of-type(3){flex-basis:180px}
.discovery-filterbar__filter:nth-of-type(4){flex-basis:168px}
.discovery-filterbar__filter:nth-of-type(5){flex-basis:178px}
.discovery-filterbar__filter:not(:first-child)::before{position:absolute;top:9px;bottom:9px;left:0;width:1px;background:#ececec;content:""}
.discovery-filterbar__filter:hover{background:#f6f6f6}
.discovery-filterbar__filter:focus-within{outline:3px solid var(--gold);outline-offset:-3px;background:#f6f6f6}
.discovery-filterbar .discovery-filterbar__filter>span{margin:0;letter-spacing:normal;text-transform:none}
.discovery-filterbar__icon{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:#f1f1f1;color:#171717}
.discovery-filterbar__icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}
.discovery-filterbar__copy{display:grid;min-width:0;gap:1px}
.discovery-filterbar__label{overflow:hidden;color:#777;font-size:9px;font-weight:500;letter-spacing:.08em!important;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}
.discovery-filterbar select{width:100%;min-width:0;min-height:18px;appearance:none;overflow:hidden;border:0;padding:0;background:transparent;color:#111;font:650 11px/1.15 var(--interface);text-overflow:ellipsis;white-space:nowrap;outline:0;color-scheme:light;cursor:pointer}
.discovery-filterbar__chevron{color:#333;font-size:14px;line-height:1;transform:translateY(-1px)}
.discovery-filterbar__reset{
  display:inline-flex;
  min-width:max-content;
  min-height:40px;
  align-self:center;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-left:5px;
  border:0;
  border-radius:999px;
  padding:0 15px;
  background:#111;
  color:#fff;
  font-size:11px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}
.discovery-filterbar__reset svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}
.discovery-filterbar__reset:hover{background:#292929;color:#fff;text-decoration:none}
.discovery-filterbar__reset:focus-visible{outline:3px solid var(--gold);outline-offset:2px}

.filter-dialog{width:min(620px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid var(--line);border-radius:22px;padding:0;background:var(--surface);color:var(--ink);box-shadow:0 24px 90px #0005}
.filter-dialog::backdrop{background:#111a;backdrop-filter:blur(5px)}
.filter-dialog form{padding:26px}
.filter-dialog header h2{margin:0;font:500 31px/1.08 var(--display);letter-spacing:-.03em}
.filter-dialog header>p:last-child{margin:9px 0 0;color:var(--secondary);line-height:1.45}
.filter-dialog__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}
.filter-dialog__fields label{display:grid;gap:7px;color:var(--secondary);font-size:11px;font-weight:700}
.filter-dialog__fields label:first-child{grid-column:1/-1}
.filter-dialog__fields select{width:100%;min-height:48px;border:1px solid var(--line);border-radius:11px;padding:0 13px;background:var(--surface);color:var(--ink)}
.filter-dialog__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.filter-dialog__actions button{min-height:48px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-weight:700}
.filter-dialog__actions button[type="submit"]{border-color:var(--gold);background:var(--gold);color:var(--gold-ink)}

.footer-actions{gap:12px;width:min(1040px,100%);margin-top:24px}
.footer-actions button{
  min-height:64px;
  grid-template-columns:34px minmax(0,1fr) 30px;
  gap:10px;
  border-radius:999px;
  padding:7px 10px 7px 12px;
  background-image:none!important;
  box-shadow:0 10px 24px #4b381214;
}
.footer-actions button::before,.footer-actions button::after{display:none}
.footer-actions button:nth-child(1){border-color:#111;background:#111;color:#fff}
.footer-actions button:nth-child(2){border-color:var(--gold);background:var(--gold);color:#111}
.footer-actions button:nth-child(3){border-color:#111;background:#fff;color:#111}
.footer-actions button:hover{filter:none;transform:translateY(-2px);box-shadow:0 14px 28px #4b381222}
.footer-actions button>.footer-action__icon{
  width:34px;
  height:34px;
  border-radius:50%;
  box-shadow:none;
}
.footer-actions button:nth-child(1)>.footer-action__icon{border-color:#fff;background:#fff;color:#111}
.footer-actions button:nth-child(2)>.footer-action__icon{border-color:#111;background:#111;color:var(--gold)}
.footer-actions button:nth-child(3)>.footer-action__icon{border-color:#111;background:#fff;color:#111}
.footer-actions button>.footer-action__copy{
  position:relative;
  z-index:1;
  display:block;
  width:auto;
  height:auto;
  min-width:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.footer-action__copy small{
  display:block;
  margin-bottom:3px;
  font-size:8px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  opacity:.68;
}
.footer-actions .footer-action__copy strong{display:block;font:600 12px/1.2 var(--interface)}
.footer-actions i{width:30px;height:30px;box-shadow:none}
.footer-actions button:nth-child(1) i{background:#fff;color:#111}
.footer-actions button:nth-child(2) i{background:#111;color:var(--gold)}
.footer-actions button:nth-child(3) i{background:#111;color:#fff}

.territorial-events__header .section-header__action{
  min-height:46px!important;
  border-radius:12px;
  padding:0 16px!important;
}
.territorial-events__header .section-header__action-label{white-space:nowrap}
.territorial-events__header .section-header__actions{
  width:clamp(396px,calc(22.222% + 157px),460px);
  max-width:calc(100% - 20px);
  grid-template-columns:minmax(0,1fr) 201px;
  margin-inline:10px;
}

html[data-theme="dark"] .hero{background:#0b0b0b;color:#fff}
html[data-theme="dark"] .hero .eyebrow{color:var(--gold)}
html[data-theme="dark"] .hero .hero__manifest{color:#d0d0d0}
html[data-theme="dark"] .hero .hero__territory{color:#aaa}
html[data-theme="dark"] .discovery-filterbar{border-color:#e5e5e5;background:#fff;color:#111}
html[data-theme="dark"] .discovery-filterbar__filter{border-color:#ececec}
html .discovery-filterbar label.discovery-filterbar__filter:hover,
html .discovery-filterbar label.discovery-filterbar__filter:focus-within,
html[data-theme="dark"] .discovery-filterbar label.discovery-filterbar__filter:hover,
html[data-theme="dark"] .discovery-filterbar label.discovery-filterbar__filter:focus-within{background:#f6f6f6;color:#111}
html .discovery-filterbar .discovery-filterbar__label,
html[data-theme="dark"] .discovery-filterbar .discovery-filterbar__label{color:#595959}
html .discovery-filterbar label.discovery-filterbar__filter>.discovery-filterbar__icon,
html[data-theme="dark"] .discovery-filterbar label.discovery-filterbar__filter>.discovery-filterbar__icon{background:#f1f1f1;color:#333}
html .discovery-filterbar label.discovery-filterbar__filter>.discovery-filterbar__chevron,
html[data-theme="dark"] .discovery-filterbar label.discovery-filterbar__filter>.discovery-filterbar__chevron{color:#333}
html[data-theme="dark"] .discovery-filterbar select{color:#111;color-scheme:light}
html[data-theme="dark"] .discovery-filterbar__reset{background:#111;color:#fff}
html[data-theme="dark"] .atlas-route-filterbar{border-color:#e5e5e5;background:#fff;color:#111}
html[data-theme="dark"] .atlas-route-filter__field:hover,
html[data-theme="dark"] .atlas-route-filter__field:focus-within{background:#f6f6f6;color:#111}
html[data-theme="dark"] .atlas-route-filter__copy>span{color:#595959}
html[data-theme="dark"] .atlas-route-filter__copy :is(select,input){color:#111;color-scheme:light}
html[data-theme="dark"] .atlas-route-filter__copy input::placeholder{color:#777}
html[data-theme="dark"] .atlas-route-filter__icon{background:#f1f1f1;color:#333}
html[data-theme="dark"] .atlas-route-filter__chevron{color:#333}
html[data-theme="dark"] .atlas-route-filter__reset{background:#111;color:#fff}
html[data-theme="dark"] .footer-actions button:nth-child(1){border-color:#fff;background:#fff;color:#090908}
html[data-theme="dark"] .footer-actions button:nth-child(1)>.footer-action__icon{border-color:#090908;background:#090908;color:#fff}
html[data-theme="dark"] .footer-actions button:nth-child(1) i{background:#090908;color:#fff}
html[data-theme="dark"] .footer-actions button:nth-child(3){border-color:var(--line);background:#090908;color:#fff}
html[data-theme="dark"] .footer-actions button:nth-child(3)>.footer-action__icon{border-color:#fff;background:#090908;color:#fff}
html[data-theme="dark"] .footer-actions button:nth-child(3) i{background:#fff;color:#090908}

@media(max-width:900px){
  .hero{width:100%}
  .discovery-filterbar{width:calc(100% - 32px)}
  .discovery-filterbar .discovery-filterbar__filter{min-width:150px;padding-inline:10px}
}
@media(min-width:700px) and (max-width:939.98px){
  .hero .hero__manifest{max-width:600px}
}
@media(max-width:620px){
  .hero{width:100%;min-height:calc(100svh - var(--atlas-header-height,112px));border-radius:0;padding:24px 0}
  .hero__content{min-height:0}
  .hero .eyebrow{display:block}
  .hero .hero__manifest{padding-inline:18px;font-size:13px}
  .hero .hero__territory{padding-inline:18px}
  .hero-stats{width:calc(100% - 48px);max-width:258px;margin-top:16px}
  .hero-stats__item{padding-inline:5px}
  .hero-stats__item+.hero-stats__item::before{height:28px}
  .hero-stats dt{font-size:9px}
  .hero-stats dd{min-height:37px;font-size:36px}
  .hero-next{top:14px;height:50px;flex-basis:50px;margin-top:20px}
  .hero-next__icon{width:14px;height:44px}
  .discovery-filterbar{width:calc(100% - 24px);margin-top:28px}
  .discovery-filterbar .discovery-filterbar__filter{min-width:150px;padding-inline:11px}
  .discovery-filterbar__reset{margin-right:0}
  .footer-actions button{min-height:60px;grid-template-columns:32px minmax(0,1fr) 28px;padding:6px 9px 6px 11px}
  .footer-actions button>.footer-action__icon{width:32px;height:32px}
  .footer-actions i{width:28px;height:28px}
  .territorial-events__header .section-header__actions{width:100%;max-width:none;grid-template-columns:1fr;margin-inline:0}
}
@media(max-width:939.98px){
  .discovery-filterbar{display:none}
  .mobile-filters{display:flex;width:calc(100% - 32px);align-items:center;justify-content:space-between;gap:12px;margin:24px auto 0;border-top:1px solid #ffffff30;padding-top:16px;text-align:left;pointer-events:auto}
  .mobile-filters>span{max-width:15ch;color:#d2d1c9;font-size:12px;line-height:1.35}
  .mobile-filter-button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:12px 20px;background:#f4f3ef;color:#0b0b0b;font-size:14px;font-weight:500;white-space:nowrap}
  .mobile-filter-button:active{transform:translateY(1px)}
  .mobile-filter-button .hero-icon{width:18px;height:18px;flex-basis:18px}
  .filter-badge{display:inline-grid;width:22px;height:22px;place-items:center;border:1px solid #d6d4cc;border-radius:50%;font-size:12px}
  .filter-badge[hidden]{display:none}
  .filter-dialog form{padding:20px}
  .filter-dialog__fields{grid-template-columns:1fr}
  .filter-dialog__fields label:first-child{grid-column:auto}
  .filter-dialog__actions{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.hero-cloud__artwork{will-change:auto}.hero-cloud__artwork>.sprite,.hero-next__icon path{transition:none}}
@media(max-width:359.98px) and (max-height:600px){
  .hero{padding-top:8px;padding-bottom:16px}
  .hero .eyebrow{margin-bottom:8px}
  .hero h1{font-size:32px}
  .hero .hero__manifest{margin-top:12px;padding-inline:8px;font-size:12px;line-height:1.45}
  .hero-territory{margin-top:8px}
  .hero-stats{margin-top:8px}
  .mobile-filters{margin-top:12px;padding-top:10px}
  .hero-next{top:8px;margin-top:10px}
}

/* Lieux — carte immersive carrée avec galerie d’images */
.place-grid{
  width:min(1050px,100%);
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-inline:auto;
}
.place-card-immersive{
  position:relative;
  min-width:0;
  height:400px;
  aspect-ratio:auto;
  overflow:hidden;
  border:0;
  border-radius:20px;
  background:#171714;
  box-shadow:0 16px 38px #17130b24;
  color:#fff;
  isolation:isolate;
}
.place-card-immersive__gallery,.place-card-immersive__slide,.place-card-immersive__slide>.sprite{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.place-card-immersive__gallery{z-index:0;background:#24231f}
.place-card-immersive__slide{
  opacity:0;
  transform:scale(1.035);
  transition:opacity .38s ease,transform .75s cubic-bezier(.2,.7,.2,1);
  pointer-events:none;
}
.place-card-immersive__slide.is-active{opacity:1;transform:scale(1)}
.place-card-immersive__slide>.sprite{display:block;background-size:800% 100%}
.place-card-immersive__shade{
  position:absolute;
  z-index:1;
  inset:0;
  background:linear-gradient(180deg,#05050455 0%,transparent 30%,#06060518 48%,#050504e8 78%,#050504fa 100%);
  pointer-events:none;
}
.place-card-immersive__topline{
  position:absolute;
  z-index:3;
  top:12px;
  right:12px;
  left:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  pointer-events:none;
}
.place-card-immersive__topline span{
  overflow:hidden;
  border:1px solid #ffffff40;
  border-radius:999px;
  padding:5px 8px;
  background:#f8f7f0d9;
  backdrop-filter:blur(8px);
  color:#171714;
  font-size:8.5px;
  font-weight:650;
  line-height:1;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.place-card-immersive__controls{
  position:absolute;
  z-index:4;
  top:42%;
  right:10px;
  left:10px;
  display:flex;
  justify-content:space-between;
  transform:translateY(-50%);
  pointer-events:none;
}
.place-card-immersive__controls button{
  display:grid;
  width:32px;
  height:32px;
  place-items:center;
  border:1px solid #ffffff6b;
  border-radius:50%;
  padding:0;
  background:#0c0c0bbd;
  color:#fff;
  font-size:14px;
  opacity:0;
  transform:translateX(4px);
  transition:opacity .2s ease,transform .2s ease,background-color .2s ease;
  cursor:pointer;
  pointer-events:auto;
}
.place-card-immersive__controls button:first-child{transform:translateX(-4px)}
.place-card-immersive:is(:hover,:focus-within) .place-card-immersive__controls button{opacity:1;transform:translateX(0)}
.place-card-immersive__controls button:hover{background:#0c0c0bf2}
.place-card-immersive__controls button:focus-visible,.place-card-immersive__dots button:focus-visible,.place-card-immersive__action:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.place-card-immersive__dots{
  position:absolute;
  z-index:4;
  right:15px;
  bottom:145px;
  left:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
}
.place-card-immersive__dots button{
  width:5px;
  height:5px;
  border:0;
  border-radius:999px;
  padding:0;
  background:#ffffff8c;
  box-shadow:0 1px 4px #0007;
  transition:width .2s ease,background-color .2s ease;
  cursor:pointer;
}
.place-card-immersive__dots button[aria-pressed="true"]{width:17px;background:#fff}
.place-card-immersive__content{
  position:absolute;
  z-index:3;
  right:14px;
  bottom:14px;
  left:14px;
  display:grid;
  gap:4px;
}
.place-card-immersive__content h3{margin:0;color:#fff;font-size:clamp(19px,1.55vw,23px);font-weight:650;line-height:1.08;letter-spacing:-.025em}
.place-card-immersive__meta{margin:0;color:#f1d36f;font-size:8.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.place-card-immersive__description{margin:0 0 4px;color:#f2f2ee;font-size:10.5px;line-height:1.35}
.place-card-immersive__action{
  display:flex;
  width:100%;
  min-height:34px;
  align-items:center;
  justify-content:space-between;
  border:0;
  border-radius:999px;
  padding:0 12px;
  background:#fff;
  color:#111;
  font-size:9.5px;
  font-weight:700;
  cursor:pointer;
}
.place-card-immersive__action:hover{background:var(--gold)}
html[data-theme="dark"] .place-card-immersive{box-shadow:0 16px 38px #0007}

/* Repère éditorial devant chaque grand titre de section */
main .priority-library .section-header h2{font-size:clamp(24px,2.5vw,32px)}
main :is(.section-header h2,.territorial-events__header h2,.unified-results>header h2){
  display:flex;
  align-items:center;
  gap:16px;
}
main :is(.section-header h2,.territorial-events__header h2,.unified-results>header h2)::before{
  width:68px;
  height:1.5px;
  flex:0 0 68px;
  background:currentColor;
  content:"";
  opacity:.55;
}

@media(max-width:1050px) and (min-width:681px){
  .place-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  main :is(.section-header h2,.territorial-events__header h2,.unified-results>header h2){gap:10px}
  main :is(.section-header h2,.territorial-events__header h2,.unified-results>header h2)::before{width:34px;flex-basis:34px}
  .place-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .place-card-immersive{height:auto;aspect-ratio:1;border-radius:18px}
  .place-card-immersive__controls button{width:32px;height:32px;opacity:1;transform:none}
  .place-card-immersive__controls button:first-child{transform:none}
  .place-card-immersive__content{right:14px;bottom:14px;left:14px}
  .place-card-immersive__dots{bottom:145px}
  .place-card-immersive__content h3{font-size:21px}
}
@media(prefers-reduced-motion:reduce){
  .place-card-immersive__slide,.place-card-immersive__controls button,.place-card-immersive__dots button{transition:none}
}
.work-feature-card__domain{margin:0 0 8px;color:var(--gold);font-size:9px;line-height:1.4;font-weight:500;letter-spacing:.02em;text-transform:none}
.work-feature-card h3{margin:0 0 9px;font-size:21px;line-height:1.12;letter-spacing:-.5px;font-weight:600}
.work-feature-card__description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;margin:0;color:#d0d1cc;font-size:11px;line-height:1.5;font-weight:400}
.work-feature-card__tag{padding:3px 10px;border-radius:999px;font-size:10px;line-height:1.4}
.work-feature-card__year{padding:4px 11px;border-radius:999px;font-size:10px;line-height:1.4}
.header-search .header-search__result{justify-items:stretch;min-width:0;grid-template-columns:48px minmax(0,1fr) 20px}
.header-search__result>span:nth-child(2){width:100%;min-width:0;max-width:100%;overflow:hidden;text-align:left}
.header-search__result>span:last-child{justify-self:end}
.header-search__thumb img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:760px){.header-search .header-search__result{grid-template-columns:44px minmax(0,1fr) 20px;gap:10px}}
html .header-search .header-search__result:is(:hover,:focus-visible,:active),
html[data-theme="dark"] .header-search .header-search__result:is(:hover,:focus-visible,:active){background:#303033;color:#fff}
html .header-search .header-search__result:is(:hover,:focus-visible,:active) small{color:#dedede}
html .header-search .header-search__result:focus-visible{outline:2px solid #fff;outline-offset:2px}
html .header-search,
html[data-theme="dark"] .header-search,
html .header-search:focus-within{background:transparent;border:0;box-shadow:none}
.work-feature-card__tag--work{background:var(--gold);border-color:var(--gold);color:var(--gold-ink);box-shadow:none}

/* A quieter floating theme switch, retaining its position and focus indicator. */
.theme-toggle{width:50px;height:92px;min-height:92px}
.theme-toggle svg{width:38px;height:38px;padding:8px}
@media(max-width:760px){
  html .site-header,html[data-theme="dark"] .site-header{border-bottom-color:#0b0b0b;background:#0b0b0b;box-shadow:none;backdrop-filter:none}
  html .site-header .header-search>.brand{position:relative}
  html .site-header .header-search>.brand picture{display:inline-flex;width:100%;height:100%}
  html .site-header .header-search>.brand img,html[data-theme="dark"] .site-header .header-search>.brand img{opacity:1;filter:none}
  html .site-header .header-search>.brand::before,html .site-header .header-search>.brand::after{display:none}
  html .site-header .menu-toggle{color:#fff}
  html .site-header .site-navigation{border-bottom-color:#333;background:#0b0b0b;color:#fff}
  html[data-theme] .theme-toggle{width:48px;height:48px;min-height:48px;grid-template-rows:1fr;border-color:#f7f5ef;background:#0b0b0b;color:#f7f5ef}
  html[data-theme] .theme-toggle svg{width:40px;height:40px;padding:8px}
  html[data-theme="light"] .theme-toggle__sun{display:none}
  html[data-theme="light"] .theme-toggle__moon{display:block;background:#f7f5ef;color:#0b0b0b}
  html[data-theme="dark"] .theme-toggle__sun{display:block;background:#f7f5ef;color:#0b0b0b}
  html[data-theme="dark"] .theme-toggle__moon{display:none}
}

/* Keep the practice subordinate to the artist name on the immersive Portal card. */
.territory-artist-card--immersive .territory-artist-card__practice{font-size:9px;font-weight:500;line-height:1.4;letter-spacing:.02em;text-transform:none}

/* Public artwork cards: image first, with a keyboard- and touch-safe reveal. */
.work-feature-card__content,.work-feature-card__shade{opacity:1;transition:opacity 180ms ease}
@media (hover:hover) and (pointer:fine){
  .work-feature-card__content,.work-feature-card__shade{opacity:0;pointer-events:none}
  .work-feature-card:is(:hover,:focus-within) .work-feature-card__content,
  .work-feature-card:is(:hover,:focus-within) .work-feature-card__shade{opacity:1}
  .work-feature-card:is(:hover,:focus-within) .work-feature-card__content{pointer-events:auto}
}
@media (hover:none), (any-pointer:coarse), (max-width:760px){
  .work-feature-card__content,.work-feature-card__shade{opacity:1;pointer-events:auto}
}
@media (prefers-reduced-motion:reduce){
  .work-feature-card__content,.work-feature-card__shade{transition:none}
}

/* The public header sits over Explorer's hero so its glass surface blurs the moving artwork. */
html .site-header,
html[data-theme="dark"] .site-header{
  border-bottom-color:#ffffff30;
  background:rgba(8,8,8,.62);
  color:#fff;
  box-shadow:0 8px 24px #0002;
  -webkit-backdrop-filter:blur(20px) saturate(135%);
  backdrop-filter:blur(20px) saturate(135%);
}
html .site-header .site-navigation,html .site-header .menu-toggle{color:#fff}
html .site-header .location-button{color:#f4f2eb}
html .site-header .button--outline{border-color:#ffffff70;background:#fff;color:#171714}
body:not(.is-atlas-route-page):not(.is-artist-session)>.site-header{
  background:rgba(8,8,8,.28);
  -webkit-backdrop-filter:blur(10px) saturate(120%);
  backdrop-filter:blur(10px) saturate(120%);
}
body:not(.is-atlas-route-page):not(.is-artist-session)>.site-header.is-over-content{background:rgba(8,8,8,.62)}
body:not(.is-atlas-route-page):not(.is-artist-session)>.site-header{margin-bottom:-76px}
body:not(.is-atlas-route-page):not(.is-artist-session) .hero{min-height:100svh;padding-top:100px}
@media(max-width:1119.98px){
  body:not(.is-atlas-route-page):not(.is-artist-session)>.site-header{margin-bottom:-112px}
  body:not(.is-atlas-route-page):not(.is-artist-session) .hero{padding-top:136px}
}
@media(max-width:760px){
  html .site-header:not(.is-artist-session) .site-navigation{border-bottom-color:#ffffff30;background:rgba(8,8,8,.9)}
}

/* The theme controls the page, never the header. Reveal its switch only after the hero. */
body:not(.is-after-explorer-hero)>.theme-toggle{
  visibility:hidden;
  opacity:0;
  pointer-events:none;
  transform:translate(calc(100% + 32px),-50%);
}
body.is-after-explorer-hero>.theme-toggle{
  visibility:visible;
  opacity:1;
  transform:translateY(-50%);
}
body>.theme-toggle{transition:opacity .28s ease,transform .38s cubic-bezier(.2,.7,.2,1),visibility .38s}
body.is-after-explorer-hero>.theme-toggle:hover{transform:translateY(calc(-50% - 1px))}
@media(max-width:760px){
  body:not(.is-after-explorer-hero)>.theme-toggle{transform:translateX(calc(100% + 24px))}
  body.is-after-explorer-hero>.theme-toggle{transform:none}
  body.is-after-explorer-hero>.theme-toggle:hover{transform:translateY(-1px)}
}
@media(prefers-reduced-motion:reduce){body>.theme-toggle{transition:none}}
