.ring-study {
  --night: #0a1929;
  --photo-edge: #45606c;
  --text: #f6f2e9;
  --soft: #c4d5dd;
  --amber: #edcc97;
  --water: #a6d8db;
  scroll-margin-top: 0;
  background: radial-gradient(ellipse at 85% 0%, #173744, transparent 63%),var(--night);
  border-block: 1px solid #2e485a;
  color: var(--text);
  padding-block: clamp(1.65rem, 4vw, 3.4rem);
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
}
.ring-study .ring-wrap { width: min(68rem, calc(100% - clamp(2rem, 7vw, 7rem))); margin: auto }
.ring-topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .65rem; border-bottom: 1px solid #355060 }
.ring-topline p { margin: 0; color: var(--water); font-size: .79rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase }
.ring-topline a { padding: .45rem .1rem; color: var(--soft); font-size: .9rem }
.ring-study h2 { margin: clamp(1rem,2vw,1.8rem) 0 .6rem; font: 500 clamp(1.85rem,4vw,3.55rem)/1.1 "Avenir Next", Avenir, "Segoe UI",system-ui,sans-serif; letter-spacing: -.045em; text-wrap: balance }
.ring-study h2 em { color: var(--amber); font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-weight: 400; white-space: normal }
.ring-lead { color: var(--soft); margin: 0; max-width: 65ch; font-size: clamp(1rem,1.45vw,1.13rem); line-height: 1.55 }
.ring-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(.6rem,2.3vw,1.65rem); margin-block: 1.25rem 1.05rem }
.ring-pair figure { margin: 0; min-width: 0 }
.ring-pair figcaption { margin: 0 0 .45rem; font: 500 clamp(1rem,1.9vw,1.42rem)/1.2 var(--serif); color: var(--text); letter-spacing: .015em }
.ring-photo { position: relative; display: flex; justify-content: center; align-items: center; overflow: hidden; padding: 0; width: 100%; aspect-ratio: 1.45; border-radius: .4rem; border: 1px solid var(--photo-edge); background: #171d23; color: var(--text); cursor: zoom-in }
.ring-original { position: relative; flex: none; display: block }
.stellar-photo .ring-original { height: 100%; aspect-ratio: 1660/933 }
.lens-photo-button .ring-original { width: 100%; aspect-ratio: 1 }
.ring-original img { width: 100%; height: 100%; display: block; max-width: none }
.ring-target { display: none; position: absolute; width: clamp(15px,2.2vw,25px); aspect-ratio: 1; transform: translate(-50%,-50%); border: 1.5px solid #ffdfa6; border-radius: 50%; box-shadow: 0 0 0 1px #17202bbd; pointer-events: none }
.ring-target::before { content: ""; position: absolute; width: clamp(10px,1.6vw,20px); height: 1px; background: #ffdfa6; left: 87%; top: 13%; transform:rotate(-26deg); transform-origin:left center }
.stellar-photo .ring-target { left: 72.8%; top: 48% }
.lens-photo-button .ring-target { left: 73.5%; top: 57% }
.ring-study:has(.ring-reveal[open]) .ring-target { display: block }
.ring-zoom { position:absolute; right: .48rem; bottom: .48rem; display:grid; place-items:center; width: 1.9rem; height: 1.9rem; font-size:1.2rem; line-height:1; color:#f7eedf; background:#0c1c2bdf; border:1px solid #9aa9ad; border-radius:50%; pointer-events:none }
.ring-study :is(a,button,summary):focus-visible { outline: 3px solid var(--amber); outline-offset: 3px }
.ring-reveal { margin: 0; }
.ring-reveal > summary { width: fit-content; min-height: 46px; padding: .57rem 1.1rem; display: inline-flex; align-items: center; gap: .7rem; list-style: none; background: #1b3d4d; color: #fff4df; border: 1px solid #83a1a6; border-radius: 2rem; cursor: pointer; font-weight: 600; font-size: .96rem }
.ring-reveal > summary:hover { background: #264c5d }
.ring-reveal summary::-webkit-details-marker {display:none}
.ring-reveal .close-copy,.ring-reveal[open] .open-copy { display:none }
.ring-reveal[open] .close-copy {display:inline}
.ring-reveal summary::before { content: "+"; font:400 1.24rem/1 var(--sans); color: var(--water) }
.ring-reveal[open] summary::before {content:"−"}
.ring-answers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; margin: 1.2rem 0 .4rem }
.ring-answers > div {border-top: 1px solid #476373; padding-top: .7rem }
.ring-answers h3 { margin: 0 0 .35rem; color: var(--amber); font: 500 1.2rem/1.3 var(--serif) }
.ring-answers p { margin: 0; color: var(--soft); font-size: 1rem; line-height: 1.58; max-width: 52ch }
.ring-sources { margin: 1rem 0 0; padding: .55rem 0 0; border-top: 1px solid #324c5b; color:var(--soft); font-size:.86rem }
.ring-sources summary {width:fit-content; cursor:pointer; padding:.25rem 0; min-height:32px}
.ring-sources p {margin:.3rem 0 .45rem; line-height:1.6}
.ring-sources a {color:var(--water)}
.ring-dialog { background: #0a1929; color: var(--text); border: 1px solid #58717b; border-radius: .55rem; width:fit-content; max-width:min(95vw,76rem); max-height:94vh; padding:.75rem; overflow:auto }
.ring-dialog::backdrop {background:#050a12dc}
.ring-dialog header {display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.5rem}
.ring-dialog h3 {font:400 1.32rem/1.2 var(--serif);margin:0}
.ring-dialog button {font:inherit;color:var(--text);border:1px solid #758892;background:#17313e;min-height:44px;border-radius:2rem;padding:.35rem .9rem}
.ring-dialog img {display:block;width:auto;max-width:100%;margin:auto;height:auto;max-height:70vh;object-fit:contain}
.ring-dialog .dialog-credit {font:.85rem/1.5 var(--sans);color:var(--soft); margin:.6rem 0 0}
@media(max-width:650px) {
  .ring-study .ring-wrap {width: calc(100% - 1.65rem)}
  .ring-study h2 em {display:block}
  .ring-photo {aspect-ratio:1}
  .ring-pair {margin-top:1.1rem;gap:.58rem}
  .ring-zoom {width:1.55rem;height:1.55rem;right:.25rem;bottom:.25rem}
  .ring-answers {grid-template-columns:1fr;gap:.8rem}
}
