/* Editorial service imagery: the selected photograph stays clear in the carousel. */
.feature-photo{display:block;width:92px;height:92px;margin-bottom:26px;border-radius:50%;overflow:hidden;box-shadow:0 8px 22px #0006,0 0 0 1px #ffffff2b}
.feature-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.services-grid.is-carousel{height:410px;padding:0;perspective:1200px;perspective-origin:50% 42%}
.services-grid.is-carousel>.service-card,
.services-grid.is-carousel>.service-card.is-current,
.services-grid.is-carousel>.service-card:not(.is-current){
  width:320px;height:380px;top:20px;padding:0;min-height:0;border-radius:0;
  background:none!important;border:0!important;box-shadow:none!important;
}
.services-grid.is-carousel .service-card-top,
.services-grid.is-carousel>.service-card.is-current .service-card-top{
  position:relative;display:block;width:278px;height:278px;margin:0 auto;
  border-radius:50%;background:none;perspective:1000px;isolation:auto;
  box-shadow:0 22px 40px #0009;
}
.services-grid.is-carousel .service-card-top::before{display:none!important}
.services-grid.is-carousel .service-card-top::after{display:none}
.services-grid.is-carousel>.service-card.is-current .service-card-top::after{
  content:"";display:block;position:absolute;inset:-2px;border-radius:50%;
  border:1px solid #fff2cb99;background:none;pointer-events:none;z-index:2;
  box-shadow:0 0 5px #fff5d99c,0 0 21px #ffd88759,0 0 42px #e3b66024,inset 0 0 8px #fff1c145;
  animation:photo-selection-glow 3.4s ease-in-out infinite;
}
.service-photo{--disc-half:10px;position:relative;display:block;width:100%;height:100%;transform-style:flat;transform-origin:50% 50%;transform:none;will-change:auto}
.service-photo.has-depth{transform-style:preserve-3d;transform:rotateX(-7deg) rotateY(-16deg)}
.service-photo.is-spinning{will-change:transform}
.service-photo::before{content:none;display:none}
.photo-disc-wall{position:absolute;display:block;left:var(--wall-x);top:var(--wall-y);width:calc(9.801714% + .7px);height:calc(var(--disc-half)*2);margin-left:calc(-4.900857% - .35px);margin-top:calc(0px - var(--disc-half));transform:rotateZ(var(--wall-angle)) rotateX(90deg);transform-origin:center;backface-visibility:hidden;-webkit-backface-visibility:hidden;background-color:hsl(220 9% var(--wall-light));background-image:linear-gradient(180deg,#080a0e 0%,#d8d9db9e 5%,#30343e80 15%,transparent 32%,#0203083d 65%,#b1b4bc75 91%,#080b12 100%),repeating-linear-gradient(90deg,#ffffff06 0 1px,#0000000d 1px 2px)}
.photo-disc-rim{position:absolute;inset:0;display:block;border-radius:50%;background:linear-gradient(145deg,#d9cdaa,#5c5f66 22%,#171a20 48%,#a4a3a1 76%,#2b2e35);border:.6px solid #eee7cf80;backface-visibility:hidden;-webkit-backface-visibility:hidden;box-shadow:inset 0 1px 1px #f9edcd66}
.photo-disc-rim.rim-front{transform:translateZ(var(--disc-half))}
.photo-disc-rim.rim-back{transform:rotateY(180deg) translateZ(var(--disc-half))}
.service-photo-face{position:absolute;inset:1.2px;display:block;overflow:hidden;border-radius:50%;backface-visibility:hidden;-webkit-backface-visibility:hidden;transform:none;background:#14171c;border:1px solid #ffffff3d;box-shadow:inset 0 1px 0 #ffffff59}
.service-photo.has-depth .photo-front{transform:translateZ(calc(var(--disc-half) + .2px))}
.service-photo.has-depth .photo-back{transform:rotateY(180deg) translateZ(calc(var(--disc-half) + .2px))}
.service-photo-face::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(150deg,#ffffff0c,transparent 28%,transparent 75%,#070a161f);box-shadow:inset 0 1px 0 #ffffff52,inset 0 -1px 0 #0005}
.service-photo img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;user-select:none;-webkit-user-select:none;pointer-events:none}
.services-grid.is-carousel .service-card h2{max-width:310px;margin:22px auto 0;font-size:24px;line-height:1.15;letter-spacing:-.035em;font-weight:500}
.services-grid.is-carousel>.service-card.is-current h2{color:#fffdf7;text-shadow:0 2px 6px #000,0 0 12px #fff6dc45,0 0 26px #edc88b2b}
.services-grid.is-carousel>.service-card{will-change:auto}
.services-grid.is-carousel>.service-card:not(.is-current){filter:blur(3px);opacity:.3!important;transform-style:flat}
.services-grid.is-carousel>.service-card[data-carousel-depth="2"]{filter:blur(5px);opacity:.1!important}
.services-grid.is-carousel>.service-card[aria-hidden="true"]{opacity:0!important;visibility:hidden}
.services-grid.is-carousel:not(.media-active)>.service-card.is-current .service-card-top::after{animation-play-state:paused}
.services-grid.is-carousel>.service-card:not(.is-current) h2{opacity:0}
.services-grid.is-carousel::after{bottom:16px;width:65%;height:35px;background:#05070d66;filter:blur(24px)}
.carousel-description{max-width:470px;min-height:48px;margin:0 auto 22px;color:#efeee8;text-shadow:0 2px 8px #000}
.services-grid:not(.is-carousel)>.service-card{overflow:hidden;padding:22px}
.services-grid:not(.is-carousel) .service-card-top{display:block;width:100%;height:auto}
.services-grid:not(.is-carousel) .service-photo{display:block;width:min(100%,240px);height:auto;aspect-ratio:1;margin:0 auto 20px}
.services-grid:not(.is-carousel) .service-card-top .service-number{display:block;margin:0;font-size:10px;letter-spacing:.12em}
.services-grid:not(.is-carousel) .service-card h2{margin-top:15px}
@media(max-width:760px){
  .feature-photo{width:64px;height:64px;grid-column:1;grid-row:1/5;margin:0}
  .feature-card{grid-template-columns:64px 1fr;column-gap:16px}
  .services-grid.is-carousel{height:390px;margin-left:-24px;margin-right:-24px;perspective:1000px}
  .services-grid.is-carousel>.service-card,
  .services-grid.is-carousel>.service-card.is-current,
  .services-grid.is-carousel>.service-card:not(.is-current){width:280px;height:354px;top:20px;padding:0}
  .services-grid.is-carousel .service-card-top,
  .services-grid.is-carousel>.service-card.is-current .service-card-top{width:253px;height:253px;border-radius:50%}
  .services-grid.is-carousel .service-card h2{font-size:22px;line-height:1.2;max-width:276px;margin-top:21px}
  .carousel-description{font-size:14px;line-height:1.65;max-width:310px;min-height:48px;margin-bottom:19px}
  .services-grid:not(.is-carousel)>.service-card{padding:18px;min-height:0}
  .services-grid:not(.is-carousel) .service-photo{height:auto;margin-bottom:18px}
}
@media(max-width:360px){
  .services-grid.is-carousel{height:370px;margin-left:-20px;margin-right:-20px}
  .services-grid.is-carousel>.service-card,
  .services-grid.is-carousel>.service-card.is-current,
  .services-grid.is-carousel>.service-card:not(.is-current){width:258px;height:336px;top:19px}
  .services-grid.is-carousel .service-card-top,
  .services-grid.is-carousel>.service-card.is-current .service-card-top{width:233px;height:233px}
  .services-grid.is-carousel .service-card h2{max-width:248px;font-size:21px}
}
@keyframes photo-selection-glow{0%,100%{opacity:.5;transform:scale(.995)}50%{opacity:1;transform:scale(1.018)}}
@media(prefers-reduced-motion:reduce){.service-photo{transform:none!important;will-change:auto!important}.service-photo.has-depth{transform:rotateX(-7deg) rotateY(-16deg)!important}.services-grid.is-carousel>.service-card{will-change:auto}.services-grid.is-carousel>.service-card.is-current .service-card-top::after{animation:none;transform:none;opacity:.7}}
