/* The gathering opens into a full page of the Company's atlas. */
.company-gathering>h3{font-size:clamp(34px,4vw,50px);font-weight:500;letter-spacing:-.02em;margin-bottom:16px}
.company-gathering>.gathering-note{margin-top:12px}
.company-gathering .gathering-spread,.company-gathering .gathering-spread.map-only{display:block;width:100%;max-width:none;margin:36px 0 0;border:0;border-radius:0;overflow:visible;background:none;box-shadow:none}
.company-gathering .gathering-scene{display:block;position:relative;isolation:isolate;aspect-ratio:16/9!important;min-height:340px;margin:0;border:1px solid #a9925d70;border-radius:10px;overflow:hidden;background:#101911;box-shadow:0 22px 64px #0005}
.company-gathering .gathering-scene>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.company-gathering .gathering-scene:after{content:'';position:absolute;inset:35% 0 0;z-index:0;pointer-events:none;background:linear-gradient(0deg,#07110ded 0%,#07110d80 30%,transparent 100%)}
.company-gathering .gathering-scene figcaption{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:clamp(22px,4vw,44px);text-align:left;color:#fff2d4;text-shadow:0 2px 12px #0008}
.company-gathering .gathering-scene figcaption>span{display:block;font:600 10px/1.4 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:#e5d2a5;margin-bottom:10px}
.company-gathering .gathering-scene figcaption>strong{display:block;max-width:670px;font:500 clamp(28px,3.6vw,46px)/1.08 var(--serif);text-wrap:balance}
.company-gathering .gathering-map-panel{margin-top:36px;border:1px solid #a9925d80;border-radius:8px;overflow:hidden;background:#c2ab7b;box-shadow:0 18px 52px #0004}
.company-gathering .map-only .gathering-map-panel{margin-top:0}
.gathering-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;background:#19251e;color:#efdfbb;border-bottom:1px solid #c4a56f55}
.gathering-map-toolbar h4{font:500 24px/1.1 var(--serif)}
.gathering-map-toolbar .text-link{display:inline-flex;align-items:center;gap:7px;font-size:11px;white-space:nowrap;color:#dcc390}
.gathering-map-toolbar .text-link svg{width:15px;height:15px}
.company-gathering .gathering-map{margin:0;aspect-ratio:1002/668}
.company-gathering .gathering-map>img{width:100%;height:100%;object-fit:contain}
.company-gathering .gathering-map-pin{width:34px;height:44px;filter:drop-shadow(0 2px 4px #0009)}
.company-gathering .gathering-map-pin>svg{width:34px;height:44px}
.company-gathering .gathering-map-caption{padding:15px 24px;font-size:12px;background:#c9b386;border-top-color:#6b512f55}
.company-gathering .gathering-map-caption .coordinate{font-size:12px;font-weight:600}
.company-gathering .gathering-map-caption .coordinate svg{width:14px;height:14px}
.company-gathering .gathering-actions{margin-top:22px}
.company-gathering .gathering-map-source{margin:14px 0 0}
.company-gathering .gathering-map-toolbar button:focus-visible{outline:2px solid #f0d7a4;outline-offset:5px}
#detail-dialog:has(.gathering-map-dialog){width:calc(100vw - 48px);max-width:1180px;padding:34px}
.gathering-map-dialog .gathering-map{border:1px solid #a9925d70;border-radius:5px 5px 0 0;margin-bottom:0}
.gathering-map-dialog .gathering-map-caption{padding:15px 20px;border-radius:0 0 5px 5px}
@media(max-width:800px){
  .company-gathering .gathering-scene{min-height:0}
  .company-gathering .gathering-spread,.company-gathering .gathering-spread.map-only{margin-top:28px}
  .company-gathering .gathering-scene figcaption>strong{font-size:clamp(26px,4.2vw,38px)}
}
@media(max-width:560px){
  .company-gathering>h3{font-size:34px}
  .company-gathering .gathering-scene{border-radius:7px}
  .company-gathering .gathering-scene figcaption{padding:18px}
  .company-gathering .gathering-scene figcaption>span{font-size:8px;letter-spacing:.12em;margin-bottom:5px}
  .company-gathering .gathering-scene figcaption>strong{font-size:clamp(22px,6vw,30px)}
  .company-gathering .gathering-map-panel{margin-top:24px}
  .gathering-map-toolbar{gap:12px;padding:15px}
  .gathering-map-toolbar h4{font-size:21px}
  .gathering-map-toolbar .text-link{font-size:10px}
  .company-gathering .gathering-map-caption{padding:12px 15px;font-size:11px}
  .company-gathering .gathering-map-caption .coordinate{font-size:11px}
  .company-gathering .gathering-map-pin,.company-gathering .gathering-map-pin>svg{width:28px;height:36px}
  #detail-dialog:has(.gathering-map-dialog){width:calc(100vw - 24px);padding:24px 16px}
  .gathering-map-dialog h2{font-size:29px}
}
@media(prefers-reduced-motion:reduce){
  .company-gathering.reveal-ready .gathering-spread{opacity:1;transform:none;transition:none}
}
@media print{
  .company-gathering{break-inside:auto}
  .company-gathering>h3{font-size:28px}
  .company-gathering .gathering-spread,.company-gathering .gathering-spread.map-only{max-width:650px;margin:18px auto;opacity:1;transform:none}
  .company-gathering .gathering-map-panel{margin:0;box-shadow:none;border:1px solid #777;break-inside:avoid}
  .gathering-map-toolbar{padding:10px 14px;background:white;color:#222}
  .gathering-map-toolbar h4{font-size:22px}
  .company-gathering .gathering-map-caption{padding:10px 14px}
  .company-gathering .gathering-map-source{font-size:9px;color:#333}
}
