/* The Destinations map section: the map on the left (modules/atlas-map, themed here), the seven countries on the right. House palette only.
   The map's own styles live in /modules/atlas-map/atlas-map.css (loaded with the map); this file is the page layout, the panel under the map and the theme mapping. */
.region{padding:clamp(72px,10vw,150px) var(--gutter)}
.region-in{max-width:1320px;margin:0 auto;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(32px,5vw,88px);align-items:start}
.region-map{position:static;display:flex;flex-direction:column;gap:var(--sp-16)}   /* the panel is as tall as its content and the page scrolls: the map no longer sticks */
.region-copy h2{margin-top:0}
.region-copy>p{font-size:var(--text-17);max-width:44ch}
.region .region-links{grid-template-columns:minmax(0,1fr);margin-top:var(--sp-24)}
.region .region-links li{transition:background var(--motion-fast) var(--ease-out)}
.region .region-links a{padding:18px 0}
.region .region-links .rows-name{font-size:clamp(26px,2.5vw,36px)}
.region .region-links .season{display:block;margin-top:.3em;color:var(--muted);font-size:var(--text-14);letter-spacing:.03em}
.region .region-links li.is-hot .rows-name{color:var(--gold-light)}
.region .region-links li.is-hot{background:linear-gradient(90deg,rgba(196,145,58,.10),rgba(196,145,58,0))}
/* the map takes the site's tokens (the atlas module reads these custom properties) */
.map-stage{--atlas-ground:var(--map-ground);--atlas-land:var(--map-land);--atlas-land-hot:rgba(196,145,58,.30);--atlas-line:var(--map-line);--atlas-accent:var(--map-accent);--atlas-text:var(--map-text);--atlas-marker:var(--map-text);--atlas-dot:var(--map-pin);--atlas-font:var(--map-font)}
.map-stage.atlas{position:relative;flex:none;height:clamp(340px,56vh,580px);overflow:hidden;border:1px solid var(--rule);background:radial-gradient(120% 90% at 30% 30%,#101a2e 0%,var(--deep) 55%,var(--midnight) 100%)}
.map-stage::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;box-shadow:inset 0 0 90px rgba(8,12,22,.75)}
.map-stage:empty{min-height:320px}
.map-stage .atlas-ctl{z-index:2}

@media(max-width:1100px){
  .region-in{grid-template-columns:minmax(0,1fr)}
  .region-map{display:block}
  .map-stage.atlas{height:auto;aspect-ratio:5/4}
}
/* a journey on the map: each day draws itself, each night is a numbered dot */
.jd{fill:none;stroke:var(--gold-light);stroke-width:calc(var(--k)*2.2px);stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;transition-property:stroke-dashoffset,stroke-width,opacity;transition-timing-function:cubic-bezier(.45,.05,.25,1)}
.route.on .jd{stroke-dashoffset:0}
.route.quiet{opacity:.2;transition:opacity .8s}
.route{transition:opacity .8s}

/* ---------- the country, region and place panel: the creative director's craft set (assets/set.css), spec 15 Nov 2026 ---------- */
.map-panel{flex:none;position:relative;margin-top:var(--sp-16);padding-top:var(--sp-16);border-top:1px solid var(--rule-gold);opacity:0;transform:translateY(8px);transition:opacity .4s ease,transform .5s cubic-bezier(.16,1,.3,1)}
.map-panel.on{opacity:1;transform:none}
.map-panel[hidden]{display:none}
.map-panel>*{transition:opacity .16s ease}
.map-panel.swap>*{opacity:0}
.map-panel .ph{display:flex;flex-wrap:wrap;gap:12px 28px;justify-content:space-between;align-items:flex-end;padding-bottom:16px;border-bottom:1px solid var(--rule)}
.map-panel .ph h3{font-family:var(--serif);font-weight:300;font-size:clamp(34px,4vw,56px);line-height:1.1;margin:6px 0 0;color:var(--ink-head)}
.map-panel .ph .mp-tag{margin:6px 0 0;color:var(--cream-dim);font-size:var(--text-15)}
.map-panel .ph .tools{display:grid;gap:10px;min-width:min(100%,260px)}
.map-panel .cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(24px,4vw,64px);padding-top:22px}
.map-panel .cols.one{grid-template-columns:minmax(0,1fr)}
.map-panel .cols h4{margin:22px 0 4px}
.map-panel .cols h4:first-child{margin-top:0}
.map-panel .cols h4[hidden],.map-panel .cols ul[hidden],.map-panel .cols .right[hidden],.map-panel .cols .left[hidden]{display:none}
.map-panel ul.c-list,.map-panel ul.mp-routes{list-style:none;margin:0;padding:0}
.map-panel .right h4.t{font:300 clamp(22px,2.2vw,30px)/1.2 var(--serif);color:var(--ink-head);margin:0 0 10px;text-transform:none;letter-spacing:0;display:block}
.map-panel .right .cap{font:500 11px/1 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--ink-2);display:block;margin-bottom:8px}
.map-panel .mp-note{color:var(--muted);font-size:var(--text-15);max-width:46ch}
.map-panel .mp-pj{display:flex;flex-wrap:wrap;gap:6px var(--sp-16);margin:var(--sp-12) 0 0;font-size:var(--text-14)}
.map-panel .mp-pj:empty{display:none}
.map-panel .mp-pj a{color:var(--gold-light)}
.map-panel .mini{width:76px;height:46px;overflow:visible}
.map-panel .c-route .tx{display:block}
.map-panel .c-days{columns:auto;column-width:23rem}
.map-panel .acts{display:flex;flex-wrap:wrap;gap:12px 34px;align-items:center;margin-top:30px;padding-top:20px;border-top:1px solid var(--rule)}
.map-panel .acts .c-plate,.map-panel .acts .c-link{min-height:56px}
.map-panel .acts [hidden]{display:none}
@media (max-width:860px){.map-panel .cols{grid-template-columns:1fr}}
@media (max-width:620px){.map-panel .acts{flex-direction:column;align-items:stretch}.map-panel .acts .c-plate{width:100%}.map-panel .acts .c-link{justify-content:center}}
@media (prefers-reduced-motion:reduce){.map-panel,.map-panel>*{transition-duration:.2s !important;transition-delay:0s !important}}
/* nothing on the site shows a native scrollbar (spec): the page still scrolls by wheel, trackpad, touch and keys */
html,.map-panel,.map-panel *{scrollbar-width:none;-ms-overflow-style:none}
html::-webkit-scrollbar,.map-panel *::-webkit-scrollbar{display:none;width:0;height:0}
/* the panel is a full-width row under the map and the list of countries (spec: as tall as its content, the page scrolls) */
.region-in>.map-panel{grid-column:1/-1;margin-top:var(--sp-8)}

/* the card appears where the visitor is looking (founder, 16 Nov 2026): on a wide screen the right column swaps from the country list to the card, beside the map; on a narrow one the card is directly under the map (the list gives way) */
#region.has-sel .region-copy{display:none}
@media(min-width:1101px){
  #region.has-sel .map-panel{grid-column:2;grid-row:1;margin-top:0;border-top:0;padding-top:0;align-self:start}
  #region.has-sel .map-panel .cols{grid-template-columns:minmax(0,1fr)}
  #region.has-sel .map-panel .ph{align-items:flex-start}
}
.map-panel .back-all{display:inline-flex;margin:0 0 var(--sp-12,12px);padding:0}
/* places the map does not draw yet: a calm row that opens the journey */
a.c-soon{text-decoration:none}
a.c-soon .soon{font:500 11px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--c-mute);white-space:nowrap}
