/* A self-hosted geographic map; no remote map SDK or continuous animation. */
.locations{background:var(--ink);color:#fff;scroll-margin-top:110px}
.locations-inner{padding-block:64px;display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.7fr);gap:44px;align-items:center}
.locations h2{font-size:clamp(32px,3.2vw,46px);margin:0 0 20px;max-width:13ch}
.locations-intro{color:#d3e1e9;margin:0 0 28px;font-size:19px;max-width:39ch}
.location-choices{display:flex;flex-direction:column;margin:0 0 24px;border-top:1px solid #405560}
.location-choice{display:grid;grid-template-columns:1fr 24px;gap:3px 12px;align-items:center;text-align:left;width:100%;padding:14px 12px;border:0;border-bottom:1px solid #405560;background:transparent;color:#fff;transition:background .25s ease}
.location-choice strong{font-size:21px;font-weight:600}
.location-choice small{grid-column:1;font-size:14px;line-height:1.35;color:#bdced8}
.location-choice svg{grid-column:2;grid-row:1/3;width:20px;height:20px;color:#94bbd1;transition:transform .35s cubic-bezier(.16,1,.3,1),color .25s ease}
.location-choice:hover,.location-choice[aria-pressed="true"]{background:#173442}
.location-choice[aria-pressed="true"] svg{color:#fff;transform:rotate(-45deg)}
.locations :focus-visible{outline-color:#8cd2ff}
.location-panel{padding-bottom:8px}
.location-fallback-title{font-size:20px;margin:16px 0 8px}
.locations-ready .location-fallback-title{display:none}
.locations-ready .location-details{min-height:142px}
.location-panel p{font-size:16px;color:#d3e1e9;line-height:1.45;margin:0 0 15px}
.location-panel address{font-style:normal;font-size:18px;margin-bottom:8px}
.location-panel .under-link{color:#fff;border-color:#8cd2ff;font-size:16px}
.location-map{position:relative;isolation:isolate;min-width:0;color:var(--ink)}
.location-map :focus-visible{outline-color:var(--blue-dark)}
.location-map-canvas{position:relative;aspect-ratio:1.28;background:#dceaf0;overflow:hidden;border-radius:4px}
.location-map-surface{position:absolute;inset:0}
.location-geography{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
.location-country{display:flex;align-items:center;gap:10px;position:absolute;z-index:2;top:20px;left:20px;color:var(--ink);font-size:17px;font-weight:600}
.estonia-flag{width:24px;height:15px;flex:none;box-shadow:0 1px 3px #183b4b26}
.location-sea{position:absolute;left:53%;top:15%;font-size:13px;color:#4a6574;letter-spacing:.025em;white-space:nowrap}
.location-city{position:absolute;left:48%;top:52%;font-size:12px;letter-spacing:.08em;font-weight:600;color:#496270}
.location-marker{--marker-size:18px;position:absolute;z-index:3;left:var(--x);top:var(--y);transform:translate(-50%,-50%);min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:var(--blue-dark);padding:0}
.location-marker-dot{width:var(--marker-size);height:var(--marker-size);border:3px solid #fff;border-radius:50%;background:var(--blue);box-shadow:0 3px 8px #16394d30;position:relative;z-index:1;transition:transform .5s cubic-bezier(.16,1,.3,1)}
.location-marker-label{position:absolute;left:50%;top:38px;transform:translateX(-50%);background:#fff;color:var(--ink);padding:5px 9px;border-radius:3px;font-size:14px;font-weight:600;line-height:1.15;white-space:nowrap;box-shadow:0 3px 12px #16394d1a;transition:background .25s,color .25s}
.location-marker::before{content:"";position:absolute;width:72px;height:72px;border:1px solid #0068a862;background:#0068a812;border-radius:50%;transform:scale(.8);opacity:.65;transition:transform .55s cubic-bezier(.16,1,.3,1),opacity .4s}
.location-marker[data-location-select="office"]::before{width:44px;height:44px;border:0;background:#0068a818}
.location-marker[data-location-select="office"] .location-marker-dot{border-radius:4px}
.location-marker[aria-pressed="true"]::before,.location-marker:hover::before{transform:scale(1.15);opacity:1}
.location-marker[aria-pressed="true"] .location-marker-dot,.location-marker:hover .location-marker-dot{transform:scale(1.18)}
.location-marker[aria-pressed="true"] .location-marker-label{background:var(--blue-dark);color:#fff}
.location-attribution{position:absolute;bottom:9px;right:12px;z-index:4;font:11px/1.25 Arial,sans-serif;background:#f3f6f8e8;padding:3px 5px;border-radius:2px;color:#465b68;text-decoration:underline;text-underline-offset:2px}
.location-map-note{margin:12px 0 0;color:#bdced8;font-size:13px;line-height:1.4}
@media(max-width:1000px){.locations-inner{gap:28px;grid-template-columns:minmax(240px,.85fr) minmax(0,1.25fr)}.locations-intro{font-size:18px}.location-country{top:14px;left:14px;font-size:15px}}
@media(max-width:760px){.locations-inner{display:flex;flex-direction:column;align-items:stretch;padding-block:44px;gap:24px}.locations h2{max-width:none;font-size:34px;margin-bottom:15px}.locations-intro{max-width:55ch;margin-bottom:20px}.locations-copy{display:contents}.locations h2{order:0;margin:0}.locations-intro{order:1;margin:0}.location-map{order:2}.location-choices{order:3}.location-details{order:4}.location-choices{margin-bottom:20px}.locations-ready .location-details{min-height:0}.location-choice{padding-block:12px}.location-map-note{font-size:12px}.location-country{font-size:14px}.location-marker-label{font-size:13px}.location-city{font-size:11px}.location-sea{font-size:11px}}
@media(prefers-reduced-motion:reduce){.locations *, .locations *::before{transition:none!important}}

/* Homepage panorama: the geographic layer keeps its original 800:625 scale.
   Only its viewport is cropped on desktop; marker coordinates never change. */
.home-lower .locations--panorama .locations-inner{width:100%;max-width:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(300px,32%) minmax(0,1fr);grid-template-rows:auto auto;gap:0;align-items:start}
.home-lower .locations--panorama .locations-copy{display:block;grid-column:1;grid-row:1;padding:32px 24px 12px max(24px,calc((100vw - 1240px)/2));position:relative;z-index:2}
.home-lower .locations--panorama h2{max-width:12ch;font-size:clamp(27px,2.7vw,38px);margin:0 0 14px}
.home-lower .locations--panorama .locations-intro{margin:0;max-width:29ch;font-size:16px;line-height:1.45}
.locations--panorama .location-map{grid-column:2;grid-row:1/3;align-self:stretch;min-height:350px}
.locations--panorama .location-map-canvas{height:100%;min-height:350px;aspect-ratio:auto;border-radius:0;background:#102c3a;overflow:clip}
.locations--panorama .location-map-canvas::after{content:"";position:absolute;inset:0 auto 0 0;width:56px;background:linear-gradient(90deg,#102c3a,transparent);pointer-events:none}
.locations--panorama .location-map-surface{inset:auto;left:50%;top:50%;width:100%;max-width:900px;aspect-ratio:800/625;transform:translate(-50%,-53.6%)}
.locations--panorama .location-country{display:none}
.locations--panorama .location-sea{color:#adc8d7;top:37%;left:43%}
.locations--panorama .location-city{color:#a7c0cc;top:57%;left:41%;font-size:13px;letter-spacing:.12em}
.locations--panorama .location-marker{color:#fff}
.locations--panorama .location-marker-label{background:#0068a8;color:#fff;border-radius:3px;box-shadow:none;font-size:14px;padding:7px 10px;top:38px}
.locations--panorama .location-marker[aria-pressed="true"] .location-marker-label{background:#fff;color:#102c3a}
.locations--panorama .location-marker-dot{border-color:#e4f4ff;box-shadow:0 0 0 4px #70c6fc26}
.locations--panorama .location-marker::before{border-color:#72b5d58c;background:#8cd2ff12}
.home-lower .locations--panorama .location-map :focus-visible{outline:3px solid #8cd2ff;outline-offset:4px}
.locations--panorama .location-attribution{bottom:0;right:8px;min-height:44px;display:flex;align-items:center;background:transparent;color:#c9dce5;padding:8px;font-size:11px}
.locations--panorama .location-map-note{position:absolute;bottom:10px;left:16px;max-width:45%;margin:0;font-size:11px;line-height:1.3;color:#bed3dd}
.locations--panorama .location-details{grid-column:1;grid-row:2;padding:0 24px 24px max(24px,calc((100vw - 1240px)/2));position:relative;z-index:2}
.locations--panorama.locations-ready .location-details{min-height:0}
.locations--panorama .location-panel{padding:12px 0 0;border-top:1px solid #49616d}
.locations--panorama .location-panel address{font-size:16px;margin-bottom:5px}
.locations--panorama .location-panel p{font-size:14px;margin-bottom:4px;line-height:1.4}
.locations--panorama .location-panel .under-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
.locations--panorama .location-fallback-title{font-size:17px;margin:0 0 6px}
@media(max-width:1000px) and (min-width:761px){
  .home-lower .locations--panorama .locations-inner{grid-template-columns:minmax(260px,32%) minmax(0,1fr)}
  .locations--panorama .location-map-note{bottom:44px;max-width:80%}
}
@media(max-width:760px){
  .home-lower .locations--panorama .locations-inner{display:flex;gap:0;padding:0}
  .home-lower .locations--panorama .locations-copy{padding:28px 24px 0;order:0}
  .home-lower .locations--panorama h2{max-width:none;font-size:28px;margin-bottom:10px}
  .home-lower .locations--panorama .locations-intro{max-width:40ch;font-size:16px}
  .locations--panorama .location-map{order:1;width:100%;min-height:0}
  .locations--panorama .location-map-canvas{height:auto;min-height:0;aspect-ratio:800/650;max-width:540px;margin-inline:auto;overflow:visible}
  .locations--panorama .location-map-canvas::after{display:none}
  .locations--panorama .location-map-surface{top:0;left:0;transform:none;max-width:none}
  .locations--panorama .location-marker-label{font-size:12px;padding:6px 8px;top:36px}
  .locations--panorama .location-sea{top:26%;left:41%;font-size:11px}
  .locations--panorama .location-city{top:53%;left:39%;font-size:11px}
  .locations--panorama .location-map-note{position:static;max-width:none;padding:0 24px;margin:0;font-size:12px}
  .locations--panorama .location-attribution{right:16px;font-size:10px}
  .locations--panorama .location-details{order:2;padding:14px 24px 24px;width:100%}
}
