/* Home: Opus+ screencasts. One player in a browser frame with a numbered clip list beside it,
   which becomes a sideways swipe strip on phones. The heading's accent span takes .home .sec-title span. */
.sec-opus-plus .wrap { max-width: 1320px; }
.opx { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr); gap: 32px; align-items: start; }
.opx-player { margin: 0; background: color-mix(in srgb, var(--surface) 94%, transparent); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 5px 14px var(--shadow); }
.opx-chrome { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.opx-chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.opx-chrome span { margin: 0 auto; padding: 2px 18px; border-radius: 999px; background: var(--soft-pill-bg); color: var(--muted); font-size: 13px; }
/* The recordings are of a light interface, so the stage stays white in both themes. */
.opx-stage { aspect-ratio: 16 / 9; background: #fff; }
.opx-stage > img, .opx-stage > video { display: block; width: 100%; height: 100%; object-fit: contain; }
.opx-stage > video { cursor: pointer; }
.opx-stage > video:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.opx-now { padding: 14px 20px 16px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); }
.opx-now strong { color: var(--ink); font-weight: 600; margin-right: .4em; }
.opx-clips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.opx-clip { position: relative; overflow: hidden; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; color: var(--ink); text-decoration: none; background: color-mix(in srgb, var(--surface) 94%, transparent); border: 1px solid var(--line); border-radius: 12px; }
.opx-clip:hover { color: var(--ink); box-shadow: 0 5px 14px var(--shadow-strong); }
.opx-clip:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.opx-n { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid var(--line-strong); font-size: 13px; color: var(--muted); }
/* Burnt accents in turn, as on the icon rings (home-sections.css). */
.opx-clips li:nth-child(4n+1) .opx-n { border-color: var(--burnt-1); }
.opx-clips li:nth-child(4n+2) .opx-n { border-color: var(--burnt-2); }
.opx-clips li:nth-child(4n+3) .opx-n { border-color: var(--burnt-3); }
.opx-clips li:nth-child(4n+4) .opx-n { border-color: var(--burnt-4); }
.opx-t strong { display: block; font-weight: 600; font-size: 15.5px; }
.opx-t small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.opx-d { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.opx-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--teal); transform-origin: left; transform: scaleX(var(--p, 0)); }
.opx-clip[aria-current="false"] .opx-bar { display: none; }
.opx-clip[aria-current="true"] { border-color: var(--teal); background: var(--surface); }
/* (0,4,2) beats the burnt nth-child rules above at (0,3,1). */
.opx-clips li .opx-clip[aria-current="true"] .opx-n { background: var(--teal); border-color: var(--teal); color: var(--on-brand); }
.opx-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
@media (max-width: 850px) {
  .opx { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .opx-now span { display: block; }
  .opx-clips { grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .opx-clips li { scroll-snap-align: start; }
  .opx-cta { justify-content: center; }
}
