/* Section 06: motion describes each decision, then rests. */
.opx-control {
  --control-rule: #d6dce416;
  --control-ink: #e1e5eb;
  position: relative;
  isolation: isolate;
  scroll-margin-top: 105px;
  color: var(--control-ink);
}
.opx-control * { box-sizing: border-box; }
.opx-control-heading {
  padding: 84px 24px 44px;
  text-align: center;
  border-inline: 1px solid var(--control-rule);
  background: radial-gradient(ellipse at 50% 35%, #b9b4db09, transparent 65%);
}
.opx-control-eyebrow {
  display: inline-flex; align-items: center; gap: 13px;
  padding: 6px 12px; border: 1px solid #d6dce42e;
  background: linear-gradient(#d6dce40c, #d6dce402);
  font: 10px/1.5 GeistMono, monospace; letter-spacing: .05em; text-transform: uppercase;
}
.opx-control-eyebrow::before, .opx-control-eyebrow::after {
  content: ''; width: 2px; height: 9px; background: #dde2eb; box-shadow: 0 0 6px #dce2eb36;
}
.opx-control-heading h2 {
  margin: 24px 0 18px; font-size: clamp(38px, 4.3vw, 58px);
  font-weight: 400; letter-spacing: -.045em; line-height: 1.08;
  background: linear-gradient(110deg, #f2f4f7 12%, #b4bbc7 88%);
  background-clip: text; -webkit-background-clip: text; color: transparent;
  scroll-margin-top: 180px;
}
.opx-control-heading > p:last-child { color: #949ba7; font-size: 17px; line-height: 1.6; margin: 0; }
.opx-control-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; position: relative; }
.opx-control-card:nth-child(n+3) { margin-top: -1px; }
.opx-control-card { position: relative; min-width: 0; border: 1px solid var(--control-rule); background: #020304; }
.opx-control-card::before, .opx-control-card::after {
  content: ''; position: absolute; z-index: 2; pointer-events: none;
  left: -6px; right: -6px; height: 11px;
  background: linear-gradient(#b9c1ce,#b9c1ce) left center/11px 1px no-repeat,
    linear-gradient(#b9c1ce,#b9c1ce) 5px center/1px 11px no-repeat,
    linear-gradient(#b9c1ce,#b9c1ce) right center/11px 1px no-repeat,
    linear-gradient(#b9c1ce,#b9c1ce) calc(100% - 5px) center/1px 11px no-repeat;
}
.opx-control-card::before { top: -6px; }
.opx-control-card::after { bottom: -6px; }
.opx-control-art { aspect-ratio: 596 / 396; position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 42%, #a5b0c909, transparent 66%); }
.opx-control-art > svg { width: 100%; height: 100%; display: block; }
.opx-control-copy { min-height: 142px; padding: 26px 35px 30px; text-align: center; border-top: 1px solid var(--control-rule); }
.opx-control-copy h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -.025em; }
.opx-control-copy p { margin: 0 auto; max-width: 390px; color: #9299a4; font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.opx-control-note { margin: 13px 2px 0; color: #626975; text-align: right; font: 10px/1.6 GeistMono, monospace; }
.opx-control-crossgrid {
  position: absolute; inset: 0; opacity: .33;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Cpath d='M10 13h6m-3-3v6' stroke='%2379808c' stroke-width='.6'/%3E%3C/svg%3E");
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 72%);
}
.opx-control-capture-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.opx-control-capture-caption { color: #737c89; font: 9px/1.5 GeistMono, monospace; letter-spacing: .13em; margin-bottom: 24px; }
.opx-control-timestamp { display: flex; gap: 7px; align-items: center; color: #d5dae3; font: 30px/1 GeistMono, monospace; }
.opx-control-timestamp > span { width: 43px; height: 60px; display: grid; place-items: center; border: 1px solid #d2dce333; border-top-color: #e1e8ed88; background: linear-gradient(#b6c4eb0d, #07080d33); box-shadow: inset 0 1px 10px #c1cdec08; }
.opx-control-timestamp > i { color: #555e69; font-size: 23px; font-style: normal; margin: 0 -3px; }
.opx-control-capture-rule { height: 1px; width: 220px; background: #d6dce41a; margin: 27px 0; position: relative; }
.opx-control-capture-rule span { position: absolute; left: 40%; width: 20%; top: 0; height: 1px; background: #dde3ed88; box-shadow: 0 0 6px #dde3ed55; }
.opx-control-status { position: relative; display: flex; gap: 14px; align-items: center; justify-content: center; width: 266px; height: 39px; color: #47ded2; background: linear-gradient(#07272888,#001617aa); border: 1px solid #39beb780; box-shadow: inset 0 0 15px #00cfbc15, 0 0 17px #00c8b511; font: 12px/1 GeistMono, monospace; letter-spacing: .045em; }
.opx-control-status b { width: 2px; height: 10px; background: #52e6d9; box-shadow: 0 0 5px #00e3cd66; }
.opx-control-status [data-scramble] { width: 178px; text-align: center; }
.opx-control-status::before, .opx-control-status::after { content:''; position:absolute; width:4px; height:4px; border-color:#70f1e4; border-style:solid; }
.opx-control-status::before { left:-1px; top:-1px; border-width:1px 0 0 1px; }
.opx-control-status::after { right:-1px; bottom:-1px; border-width:0 1px 1px 0; }
.opx-control-status-slice { position: absolute; inset: 0; pointer-events: none; background: #4ee7df18; opacity: 0; clip-path: inset(45% 0 40%); }
.opx-control-capture.is-scrambling .opx-control-status-slice { animation: opx-control-slice 180ms steps(2, end) infinite; }
.opx-control-capture.is-scrambling .opx-control-status { color: #aabdc3; border-color: #98b0c54f; }
.opx-control-capture-foot { margin-top: 19px; color: #515b67; font: 8px/1.5 GeistMono, monospace; letter-spacing: .16em; }
@keyframes opx-control-slice { 0%,100% { opacity:0; transform:translateX(0); } 30% { opacity:.7; transform:translateX(3px); } 60% { opacity:.2; transform:translateX(-2px); } }
.opx-control[data-motion="paused"] *, .opx-control[data-motion="paused"] *::before, .opx-control[data-motion="paused"] *::after { animation-play-state: paused !important; }
.opx-control-art.is-paused *, .opx-control-art.is-paused *::before, .opx-control-art.is-paused *::after { animation-play-state: paused !important; }
@media (max-width: 700px) {
  .opx-control.container { width: auto; padding-inline: 16px; }
  .opx-control-heading { padding: 54px 18px 30px; }
  .opx-control-heading h2 { font-size: 39px; }
  .opx-control-heading > p:last-child { font-size: 15px; }
  .opx-control-grid { grid-template-columns: 1fr; gap: 20px; }
  .opx-control-copy { min-height: 0; padding: 24px 22px 28px; }
  .opx-control-copy h3 { font-size: 20px; }
  .opx-control-copy p { font-size: 14px; }
  .opx-control-capture-content { transform: scale(.85); }
}
@media (max-width: 400px) {
  .opx-control-capture-content { transform: scale(.66); }
  .opx-control-timestamp { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) { .opx-control *, .opx-control *::before, .opx-control *::after { animation: none !important; } }
@media (forced-colors: active) { .opx-control-heading h2 { color: CanvasText; background: none; } .opx-control-card, .opx-control-status { border-color: CanvasText; } }

/* Keep the original 596 x 396 coordinate system, including its image-based glow. */
.opx-control-account-art { background: #020304; }
.opx-control-original-account { position: absolute; top: 0; left: 0; width: 596px; height: 396px; transform-origin: top left; pointer-events: none; }
.opx-control-account-canvas, .opx-control-original-account > img { position: absolute; inset: 0; display: block; width: 596px; height: 396px; }
/* Preserve the amber trail palette beneath the original monochrome artwork. */
#security .opx-control-account-canvas { z-index: 0; filter: none; }
.opx-control-original-account > img { z-index: 1; max-width: none; }
#security .opx-control-radar {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
  mix-blend-mode: screen;
  pointer-events: none;
}
