
/* EKA Animated Circular Gallery – Desktop Version v1.4.0 */
.eka-circular-gallery-desktop,
.eka-circular-gallery-desktop * { box-sizing: border-box; }
.eka-circular-gallery-desktop {
  position: relative;
  left: 50%; transform: translateX(-50%);
  width: 100vw; max-width: none; margin: 0;
  background: var(--eka-start, #e14d43);
  overflow: clip;
  isolation: isolate;
}
.eka-circular-gallery-desktop__sticky {
  position: sticky; top: 0; left: 0;
  width: 100%; height: 100vh; height: 100svh;
  background: var(--eka-start, #e14d43);
  overflow: hidden; isolation: isolate;
}
.eka-circular-gallery-desktop__stage { position: absolute; inset: 0; }
.eka-circular-gallery-desktop__orbit { position: absolute; inset: 0; z-index: 2; }
.eka-circular-gallery-desktop__item {
  position: absolute; display: block; padding: 0 !important; margin: 0 !important;
  border: 0 !important; border-radius: 0 !important;
  width: var(--eka-image-width, 190px);
  aspect-ratio: var(--eka-photo-ratio, 0.79); overflow: hidden; background: transparent !important;
  box-shadow: none !important; cursor: zoom-in; outline-offset: 5px;
  transform-origin: center center; transition: filter .18s ease;
  appearance: none; -webkit-appearance: none;
  will-change: transform, opacity;
}
.eka-circular-gallery-desktop__item .eka-circular-gallery-desktop__image,
.eka-circular-gallery-desktop__image {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
  border: 0; border-radius: 0; box-shadow: none;
  pointer-events: none;
}
.eka-circular-gallery-desktop__item:hover,
.eka-circular-gallery-desktop__item:focus-visible {
  z-index: 20 !important; filter: brightness(1.045);
}
.eka-circular-gallery-desktop__glow {
  position: absolute; z-index: 1;
  width: 100vw; max-width: 1550px; height: 85vh;
  bottom: -30vh; left: 50%; transform: translateX(-50%);
  border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(ellipse, var(--eka-glow, #86e7e4) 0%, rgba(239,255,255,.91) 28%, rgba(107,229,230,.6) 43%, rgba(108,234,236,0) 70%);
  filter: blur(60px);
}
.eka-circular-gallery-desktop__arc {
  /* The crest starts well inside the viewport, visible before any scrolling. */
  position: absolute; width: min(125vw, 1500px); height: 58vh;
  left: 50%; bottom: -15vh; transform: translateX(-50%);
  z-index: 1; opacity: 1; pointer-events: none;
}
.eka-circular-gallery-desktop__arc svg {width:100%;height:100%;display:block;overflow:visible;}
.eka-circular-gallery-desktop__arc path {fill:none;stroke-linecap:round;vector-effect:non-scaling-stroke;}
/* Dark fallbacks contrast with a light opening background even before JS runs. */
.eka-circular-gallery-desktop__arc-back {stroke:rgba(86,29,30,.45);stroke-width:3;}
.eka-circular-gallery-desktop__arc-progress {
  stroke: #5e2022; stroke-width: 11; opacity: 0; /* JS paints one exact Bézier segment. */
}
/* Project names are separate from the rotating/cropped image buttons.
   This keeps headings upright and genuinely ABOVE the photo, never on top of it. */
.eka-circular-gallery-desktop__project-names {
  position:absolute;inset:0;z-index:4;pointer-events:none;
}
.eka-circular-gallery-desktop__project-name {
  position:absolute;top:0;left:0;
  width:max-content;max-width:min(32vw,500px);
  font:600 25px/1.22 Arial,Helvetica,sans-serif;
  letter-spacing:2px;text-align:center;text-transform:uppercase;
  color:#fff;text-shadow:0 1px 9px rgba(0,0,0,.1);
  opacity:0;visibility:hidden;
  overflow-wrap:break-word;white-space:normal;
  transform:translate(-50%,-100%) translateY(12px);
  will-change:transform,opacity;
}
.eka-circular-gallery-desktop__content {
  position: absolute; z-index: 5; pointer-events:none;
  top: 48%; left: 50%; transform:translate(-50%,-50%);
  width: min(70vw,720px); text-align:center; color:#fff;
  text-shadow: 0 2px 25px rgba(0,0,0,.25);
}
.eka-circular-gallery-desktop__eyebrow {
  font: 500 11px/1.3 Arial,sans-serif; letter-spacing:.2em; text-transform:uppercase;
  margin-bottom:12px;color:#b5e9e7;
}
.eka-circular-gallery-desktop__heading {
  font: 500 clamp(42px,6vw,90px)/1.0 Georgia,serif;letter-spacing:-.045em;
  color:#fff;margin:0;
}
.eka-circular-gallery-desktop__description {font:400 16px/1.5 Arial,sans-serif;color:rgba(255,255,255,.85);margin-top:16px;}
.eka-circular-gallery-desktop__editor-hint {
  position: absolute; z-index: 8; inset: auto 18px 22vh 18px;
  margin:auto; max-width:420px; padding:20px;
  text-align:center; color:white; background:rgba(0,0,0,.21);
  border:1px dashed rgba(255,255,255,.6); border-radius:6px;
  font: 14px/1.5 Arial,sans-serif;
}
.eka-circular-gallery-desktop__lightbox[hidden] {display:none!important;}
.eka-circular-gallery-desktop__lightbox {
  position:fixed; z-index:2147483000; inset:0;
  background:rgba(7,7,7,.95); display:flex; flex-direction:column;
  align-items:center;justify-content:center; gap:10px; padding:50px 40px 24px;
}
.eka-circular-gallery-desktop__lightbox-image {
  display:block; width:auto; height:auto; max-width:100%; max-height:calc(100vh - 125px);
  object-fit:contain; border:0; box-shadow:none;
}
.eka-circular-gallery-desktop__lightbox-caption {color:#f4f4f4;font:13px/1.4 Arial,sans-serif;text-align:center;letter-spacing:.02em;}
.eka-circular-gallery-desktop__lightbox-close {
  position:absolute;right:24px;top:20px; padding:0; width:45px;height:45px;
  display:flex;align-items:center;justify-content:center; cursor:pointer;
  background:rgba(255,255,255,.17);border:1px solid rgba(255,255,255,.35);border-radius:50%;
  color:white;font:28px/1 Arial,sans-serif;
}
/* A separate Elementor mobile widget will be created later. */
@media(max-width:1024px) {
  .eka-circular-gallery-desktop {display:none!important;}
}
