/* Dental — the treatment journey turns on a 3D carousel */
.awe-cyl{background:var(--cream);overflow:hidden}
.awe-cyl__pin{min-height:100svh;display:flex;flex-direction:column;justify-content:center;padding:100px 0 40px}
.awe-cyl__head .lede{margin-inline:auto}
.cyl-stage{margin-top:40px}
.cyl{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;width:min(1240px,100% - var(--gutter)*2);margin-inline:auto}
.cyl__card{position:relative;min-height:300px;border-radius:22px;background:var(--white);padding:22px;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;box-shadow:0 30px 60px -30px rgba(10,20,18,.35)}
.cyl__card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.cyl__card--img{color:var(--white)}
.cyl__card--img::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,0) 35%,rgba(6,18,15,.85))}
.cyl__card>*:not(img){position:relative;z-index:2}
.cyl__n{position:absolute!important;top:18px;left:22px;font-family:var(--f-display);font-weight:800;font-size:1rem;color:var(--teal)}
.cyl__card--img .cyl__n{color:var(--white)}
.cyl__card h3{font-family:var(--f-display);font-weight:700;font-size:1.5rem;letter-spacing:-.01em}
.cyl__card p{margin-top:6px;font-size:.9rem;color:var(--muted)}
.cyl__card--img p{color:rgba(255,255,255,.85)}

/* 3D ring (motion only) */
.has-motion .awe-cyl__pin{padding:90px 0 20px}
.has-motion .cyl-stage{perspective:1800px;height:min(430px,50svh);margin-top:20px;display:grid;place-items:center}
.has-motion .cyl{--h:min(320px,38svh);display:block;position:relative;height:var(--h);width:calc(var(--h) * .76);transform-style:preserve-3d;--r:340px}
.has-motion .cyl__card{position:absolute;inset:0;min-height:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;transform:rotateY(calc(var(--i) * 360deg / var(--n))) translateZ(var(--r))}

@media (max-width:860px){
  .cyl{grid-template-columns:repeat(2,1fr)}
  .has-motion .cyl{--h:min(270px,36svh)}
}
