/* Oros Optika – Rodenstock presentation in the Lenses block: key numbers, DNEye eye scene, Solitaire LayR layer scene.
   Static (list + visual) by default; scroll-driven only under html.motion (rodenstock.js). */
.rx{margin:8px 0 40px}
.rx-head .sub-h{margin:0;max-width:760px}
.rx-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:28px}
.rx-stats>div{padding:22px 22px 20px;border-radius:20px;background:#fff;border:1px solid var(--line)}
.rx-stats strong{display:block;font:600 clamp(2.2rem,3.6vw,3rem)/1 var(--sans,Inter);letter-spacing:-.05em;background:var(--grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#0a63b4}
.rx-stats span{display:block;margin-top:10px;color:var(--muted);font-size:.93rem;line-height:1.45}
.rx-note,.rx-foot{margin:12px 0 0;color:var(--muted);font-size:.8rem}
.rx-scene{margin-top:44px}
.rx-sticky{display:grid;grid-template-columns:1.05fr .95fr;gap:20px 48px;align-items:center}
.rx-title{grid-column:1/-1;margin:0;font:600 clamp(1.4rem,2.4vw,2rem)/1.1 var(--sans,Inter);letter-spacing:-.035em}
.rx-foot{grid-column:1/-1}
.rx-visual{position:relative}
.rx-detail{display:none}
.rx-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.rx-list li{padding:14px 16px;border-radius:14px;background:#fff;border:1px solid var(--line)}
.rx-list b{display:block;font-family:var(--mono,inherit);font-weight:500;font-size:.8rem;letter-spacing:.13em;text-transform:uppercase;color:var(--accent);margin-bottom:4px}
.rx-list span{color:var(--muted);font-size:.94rem}

/* eye cross-section */
.rx-eye{display:block;width:100%;height:auto;overflow:visible}
.rx-eye path,.rx-eye ellipse,.rx-eye circle{transition:stroke .4s,opacity .4s,stroke-width .4s,fill .4s}
.rx-globe{stroke:#9fb6c8;stroke-width:1.5}
.rx-cornea{fill:none;stroke:#0b1620;stroke-width:2.5}
.rx-ring{fill:none;stroke:#9fb6c8;stroke-width:1.2;stroke-dasharray:4 5}
.rx-iris{stroke:#0b1620;stroke-width:7;stroke-linecap:round}
.rx-clens{fill:rgba(255,255,255,.85);stroke:#5d7a90;stroke-width:2}
.rx-retina{fill:none;stroke:#0a63b4;stroke-width:3}
.rx-ray{fill:none;stroke:rgba(10,99,180,.38);stroke-width:1.5}
.rx-zone{stroke:rgba(63,169,229,0);stroke-width:16;stroke-linecap:round}
.rx-dim{fill:none;stroke:#9fb0bd;stroke-width:1.5}
.rx-wave{fill:none;stroke:#b7c6d2;stroke-width:1.5}
.rx-focus{fill:#0a63b4}
.rx-eye .on .rx-cornea,.rx-eye .on .rx-iris,.rx-eye .on .rx-retina{stroke:#0a63b4;filter:drop-shadow(0 0 6px rgba(63,169,229,.8))}
.rx-eye .on .rx-ring,.rx-eye .on .rx-wave{stroke:#3fa9e5;stroke-width:2}
.rx-eye .on .rx-clens{stroke:#0a63b4;fill:rgba(63,169,229,.25);filter:drop-shadow(0 0 8px rgba(63,169,229,.8))}
.rx-eye .on .rx-zone{stroke:rgba(63,169,229,.45)}
.rx-eye .rx-dim.on{stroke:#0a63b4;stroke-width:2.5}
.rx-eye.has-on .rx-g:not(.on),.rx-eye.has-on .rx-dim:not(.on){opacity:.35}
html.motion .rx-eye .on .rx-iris-t{animation:rx-pupil-t 2.4s ease-in-out infinite alternate}
html.motion .rx-eye .on .rx-iris-b{animation:rx-pupil-b 2.4s ease-in-out infinite alternate}
@keyframes rx-pupil-t{to{transform:translateY(-16px)}}
@keyframes rx-pupil-b{to{transform:translateY(16px)}}
html.motion .rx-eye .on .rx-ring{animation:rx-dash 1.6s linear infinite}
@keyframes rx-dash{to{stroke-dashoffset:-18}}
html.motion .rx-eye .on .rx-wave{animation:rx-wave 1.8s ease-in-out infinite alternate}
@keyframes rx-wave{to{transform:translateX(10px)}}

/* Solitaire LayR lens */
.rx-stage{position:relative;width:var(--L);height:var(--L);perspective:1400px;margin:40px auto;--L:min(38vmin,340px)}
.rx-lens{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(62deg) rotateZ(-24deg)}
.rx-layer{position:absolute;inset:0;border-radius:50%;transform-style:preserve-3d;transition:opacity .4s,box-shadow .4s,border-color .4s;border:1.5px solid rgba(10,99,180,.35);transform:translateZ(calc((2 - var(--k)) * 34px))}
.rx-layer[data-k="0"]{--k:0;background:radial-gradient(circle at 30% 26%,rgba(255,255,255,.95),rgba(255,255,255,.35) 40%,rgba(225,240,252,.55));border-color:rgba(10,99,180,.45)}
.rx-layer[data-k="0"]::before{content:"";position:absolute;inset:16%;border-radius:50%;background:radial-gradient(circle at 30% 30%,rgba(10,99,180,.35) 0 2px,transparent 3px) 0 0/30px 30px;opacity:.45}
.rx-layer[data-k="1"]{--k:1;background:radial-gradient(circle,rgba(255,255,255,.5),rgba(236,242,247,.7));border-color:rgba(10,99,180,.25)}
.rx-layer[data-k="2"]{--k:2;background:conic-gradient(from 200deg,rgba(63,169,229,.38),rgba(109,140,255,.36),rgba(150,120,255,.28),rgba(63,169,229,.38));border-color:rgba(63,111,224,.5)}
.rx-layer[data-k="3"]{--k:3;background:radial-gradient(circle,rgba(255,255,255,.55),rgba(214,226,236,.8));border-color:rgba(93,122,144,.45)}
.rx-layer[data-k="4"]{--k:4;background:radial-gradient(circle at 36% 30%,#fff,rgba(214,234,250,.9) 45%,rgba(120,180,230,.75));box-shadow:0 40px 60px -30px rgba(1,35,62,.45),inset 0 0 40px rgba(10,99,180,.18)}
.rx-layer.on{border-color:#0a63b4;box-shadow:0 0 0 2px rgba(63,169,229,.6),0 0 60px rgba(63,169,229,.55)}
.rx-layer.dim{opacity:.3}
.rx-labels{display:none}

/* scroll-driven versions */
html.motion .rx-scene[data-rx-scene="eye"]{height:210vh}
html.motion .rx-scene[data-rx-scene="layr"]{height:175vh}
html.motion .rx-scene{margin-top:0}
html.motion .rx-sticky{position:sticky;top:0;height:100vh;height:100svh;display:block;overflow:hidden}
html.motion .rx-title{position:absolute;left:0;right:0;top:96px}
html.motion .rx-visual{position:absolute;left:38%;right:0;top:150px;bottom:40px;display:grid;place-items:center}
html.motion .rx-eye{width:min(100%,640px);max-height:100%}
html.motion [data-rx-scene="layr"] .rx-visual{place-items:center start;padding-left:0;left:36%}
html.motion .rx-list{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
html.motion .rx-foot{position:absolute;left:0;bottom:22px;max-width:36%}
html.motion .rx-detail{display:block;position:absolute;left:0;top:52%;transform:translateY(-50%);width:min(340px,32%);opacity:var(--o,0)}
.rx-detail.off{visibility:hidden}
.rx-num{font-family:var(--mono,inherit);font-weight:500;font-size:.78rem;letter-spacing:.16em;color:var(--accent)}
.rx-detail strong{display:block;margin:10px 0 12px;font-size:clamp(1.5rem,2.4vw,2.2rem);font-weight:600;letter-spacing:-.04em;line-height:1.02}
.rx-detail p{margin:0;color:var(--muted)}
html.motion .rx-stage{margin:0}
html.motion .rx-layer{transform:translateZ(var(--z,0px))}
html.motion .rx-labels{display:block;position:absolute;inset:0;pointer-events:none}
.rx-label{position:absolute;left:0;top:0;display:flex;align-items:center;gap:10px;white-space:nowrap;opacity:var(--o,0);transform:translate(var(--x,0px),var(--y,0px)) translateY(-50%)}
.rx-label i{display:block;height:0;width:var(--dw,60px);border-top:1.5px dashed rgba(11,22,32,.4)}
.rx-label i::before{content:"";display:block;width:8px;height:8px;border-radius:50%;background:#0b1620;margin:-5px 0 0 -4px}
.rx-label span{font-family:var(--mono,inherit);font-weight:500;font-size:.8rem;letter-spacing:.13em;text-transform:uppercase;color:var(--muted)}
.rx-label.off{visibility:hidden}
.rx-label.on span{color:var(--accent)}.rx-label.on i{border-color:var(--accent)}.rx-label.on i::before{background:var(--accent)}

@media(max-width:900px){
  .rx-stats{grid-template-columns:1fr 1fr}
  .rx-sticky{grid-template-columns:1fr}
  .rx-stage{--L:min(56vw,30vh,260px)}
  html.motion .rx-scene[data-rx-scene="eye"]{height:175vh}
  html.motion .rx-scene[data-rx-scene="layr"]{height:150vh}
  html.motion .rx-title{top:78px}
  html.motion .rx-sticky{display:flex;flex-direction:column;padding-top:76px}
  html.motion .rx-title{position:static;font-size:1.3rem}
  html.motion .rx-visual,html.motion [data-rx-scene="layr"] .rx-visual{position:relative;left:auto;right:auto;top:auto;bottom:auto;height:min(40svh,330px);flex:none;margin-top:8px;place-items:center;padding-left:0}
  html.motion .rx-labels{display:none}
  html.motion .rx-detail{position:static;transform:none;width:auto;margin-top:12px}
  html.motion .rx-foot{display:none}
  .rx-detail strong{font-size:1.4rem;margin:6px 0 8px}.rx-detail p{font-size:.94rem}
}
@media(max-width:900px) and (max-height:760px){
  html.motion .rx-sticky{padding-top:70px}
  html.motion .rx-title{font-size:1.15rem}
  html.motion .rx-visual,html.motion [data-rx-scene="layr"] .rx-visual{height:min(30vh,240px);margin-top:4px}
  .rx-stage{--L:min(50vw,22vh,200px)}
  html.motion .rx-detail{margin-top:6px}
  .rx-detail strong{font-size:1.2rem;margin:4px 0 6px}.rx-detail p{font-size:.88rem;line-height:1.45}
}
@media(max-width:560px){.rx-stats{gap:10px}.rx-stats>div{padding:16px 14px}.rx-stats span{font-size:.85rem}.rx-note,.rx-foot{font-size:.78rem}}
@media(prefers-reduced-motion:reduce){.rx-eye *{animation:none!important}}
@media print{html.motion .rx-scene{height:auto}html.motion .rx-sticky{position:static;height:auto;display:grid}html.motion .rx-title,html.motion .rx-visual,html.motion .rx-foot{position:static}
  html.motion .rx-list{position:static;width:auto;height:auto;clip:auto}.rx-detail,.rx-labels{display:none!important}
  .rx-stats strong{-webkit-text-fill-color:currentColor;background:none}}
