/* EKA Animated Circular Gallery – Mobile v1.4.0 — reference-matched mobile-only */
.eka-circular-gallery-mobile, .eka-circular-gallery-mobile * { box-sizing: border-box; }
.eka-circular-gallery-mobile {
  position:relative; width:100%;max-width:100%;margin:0;padding:0;
  background:var(--eka-start,#390b15); overflow:clip; isolation:isolate;
}
.eka-circular-gallery-mobile__sticky {
  position:sticky;top:0;height:100vh;height:100svh;
  width:100%;max-width:100%;overflow:hidden;
  background:var(--eka-start,#390b15);isolation:isolate;
}
.eka-circular-gallery-mobile__stage{position:absolute;inset:0;overflow:hidden;}
.eka-circular-gallery-mobile__photos{position:absolute;inset:0;z-index:3;overflow:hidden;}
.eka-circular-gallery-mobile__item {
  position:absolute;left:50%;top:var(--eka-photo-center,47%);
  width:min(var(--eka-photo-width,34vw),220px)!important;
  height:auto;aspect-ratio:var(--eka-photo-ratio,.74);overflow:hidden;
  padding:0!important;margin:0!important;border:0!important;
  border-radius:var(--eka-photo-radius,0px)!important;
  box-shadow:none!important;background:transparent!important;
  transform:translate3d(-50%,-50%,0) scale(1);transform-origin:center center;
  cursor:zoom-in;outline-offset:5px;opacity:0;visibility:hidden;
  appearance:none;-webkit-appearance:none;
  backface-visibility:hidden;will-change:transform,opacity;
}
/* Elegant no-JS first paint; JS reveals neighbours when ready. */
.eka-circular-gallery-mobile:not(.eka-circular-gallery-mobile--ready) .eka-circular-gallery-mobile__item:first-child {
  visibility:visible;opacity:1;z-index:10;
}
.eka-circular-gallery-mobile--ready .eka-circular-gallery-mobile__item { visibility:visible; }
/* One scroll-linked title per photograph. Titles sit OUTSIDE and ABOVE the image. */
.eka-circular-gallery-mobile__project-name {
  position:absolute;left:50%;top:var(--eka-photo-center,47%);
  z-index:5;box-sizing:border-box;
  width:max-content;max-width:min(82vw,420px);margin:0;padding:0;
  color:#fff;text-align:center;
  font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.25;
  font-weight:500;letter-spacing:2px;text-transform:uppercase;
  white-space:normal;overflow-wrap:break-word;
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translate3d(-50%,-100%,0);
  will-change:transform,opacity;
}
.eka-circular-gallery-mobile__image, .eka-circular-gallery-mobile__item img{
  display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;
  object-position:var(--eka-crop-x,50%) var(--eka-crop-y,50%);border:0!important;border-radius:inherit!important;
  box-shadow:none!important;pointer-events:none;
}
/* Reference opens with a faint coral wash over photographs, clearing as scrolling begins. */
.eka-circular-gallery-mobile__item::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:var(--eka-start,#e64c42); opacity:var(--eka-photo-wash,.44);
  border-radius:inherit;
}
.eka-circular-gallery-mobile__item:focus-visible {outline:2px solid #fff;}
.eka-circular-gallery-mobile__glow {
  position:absolute;z-index:1;left:50%;bottom:-12svh;
  width:130vw;max-width:650px;height:34svh;
  transform:translateX(-50%);border-radius:50%;opacity:0;
  background:radial-gradient(ellipse,var(--eka-glow,#86e7e4) 0%,rgba(239,255,255,.25) 30%,rgba(107,229,230,0) 70%);
  filter:blur(34px);pointer-events:none;
}
.eka-circular-gallery-mobile__arc {
  position:absolute;z-index:2;left:50%;bottom:var(--eka-arc-bottom,-9svh);
  transform:translateX(-50%);
  width:var(--eka-arc-width,132%);height:var(--eka-arc-height,44svh);
  pointer-events:none;opacity:1;
}
.eka-circular-gallery-mobile__arc svg{width:100%;height:100%;display:block;overflow:visible;}
.eka-circular-gallery-mobile__arc path{fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round;}
.eka-circular-gallery-mobile__arc-back{stroke:var(--eka-arc-track-color,#fff8ee);stroke-width:var(--eka-arc-track-width,2px);opacity:var(--eka-arc-track-opacity,.12);}
.eka-circular-gallery-mobile__arc-progress{stroke:var(--eka-arc-progress-color,#fff);stroke-width:var(--eka-arc-progress-width,6px);}
.eka-circular-gallery-mobile__counter {
  position:absolute;z-index:4;left:50%;bottom:4.8svh;transform:translateX(-50%);
  display:flex;align-items:center;gap:9px;
  color:#fff;font:400 11px/1.2 Arial,sans-serif;letter-spacing:.18em;
  white-space:nowrap;pointer-events:none;
}
.eka-circular-gallery-mobile__counter-slash{opacity:.65;}
.eka-circular-gallery-mobile__content {
  position:absolute;z-index:4;top:5.5svh;left:50%;transform:translateX(-50%);
  width:90%;max-width:450px;pointer-events:none;color:#fff;text-align:center;
}
.eka-circular-gallery-mobile__eyebrow{font:500 10px/1.3 Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase;margin-bottom:8px;color:#b5e9e7;}
.eka-circular-gallery-mobile__heading{font:500 clamp(28px,8vw,42px)/1.05 Georgia,serif;color:#fff;margin:0;}
.eka-circular-gallery-mobile__description{font:400 12px/1.4 Arial,sans-serif;color:#fff;margin-top:7px;}
.eka-circular-gallery-mobile__editor-hint{
  position:absolute;z-index:8;top:35%;left:7%;right:7%;padding:18px;
  text-align:center;background:rgba(0,0,0,.25);color:#fff;font:14px/1.5 Arial,sans-serif;border:1px dashed rgba(255,255,255,.5);
}
.eka-circular-gallery-mobile__lightbox[hidden]{display:none!important;}
.eka-circular-gallery-mobile__lightbox {
  position:fixed;z-index:2147483000;inset:0;padding:58px 14px 22px;
  background:rgba(7,7,7,.96);display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:12px;
}
.eka-circular-gallery-mobile__lightbox-image {
  display:block;max-width:100%;max-height:calc(100svh - 128px);width:auto;height:auto;
  object-fit:contain;border:0;box-shadow:none;
}
.eka-circular-gallery-mobile__lightbox-caption {
  text-align:center;color:#f4f4f4;font:400 13px/1.5 Arial,sans-serif;
}
.eka-circular-gallery-mobile__lightbox-close {
  position:absolute;top:12px;right:12px;width:45px;height:45px;padding:0;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.4);
  border-radius:50%;color:#fff;font:28px/1 Arial,sans-serif;cursor:pointer;
}
/* Separate desktop widget is never edited or affected by these styles. */
@media (min-width:1025px){.eka-circular-gallery-mobile{display:none!important;}}
@media (max-width:359px){
  .eka-circular-gallery-mobile__counter{bottom:3.5svh;}
}
@media (prefers-reduced-motion:reduce){.eka-circular-gallery-mobile__item{will-change:auto;}}
