/* RemoteWire: a service connection, with management kept above the data path. */
.landing[data-chapter='remotewire'] { min-height: 0; }
#remotewire-chapter-title:focus { outline: none; }
.remotewire-chapter { position: absolute; inset: calc(var(--public-nav-height) + 3.2rem) 0 0; z-index: 5; display: flex; flex-direction: column; overflow: auto; color: #f4eef1; background: radial-gradient(ellipse at 58% 52%, #a85b3120, transparent 48%), radial-gradient(ellipse at 45% 10%, #643b7e20, transparent 50%), #03040c; }
.remotewire-chapter::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, #d0b4a1 0 .7px, transparent 1.1px), radial-gradient(circle, #a29abd 0 .6px, transparent 1px); background-size: 173px 131px, 251px 193px; background-position: 21px 17px, 72px 91px; opacity: .45; }
.rw-intro { position: relative; flex: none; }
.rw-constellation { position: relative; flex: 1 1 0; min-height: 270px; width: min(1360px, 100%); margin: 0 auto; container-type: size; }
.rw-routes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.rw-route { fill: none; stroke: #c58d68; stroke-width: 1.35; opacity: .5; transition: opacity .25s; }
.rw-route--management { stroke: #a58bc3; stroke-dasharray: 4 7; opacity: .35; }
.rw-route.is-active { opacity: .95; stroke-width: 2; }
.rw-packet { fill: none; stroke: #f3ba90; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 3 97; animation: rw-travel 4.8s linear infinite; filter: drop-shadow(0 0 5px #de9a68); }
.rw-packet:nth-child(2) { animation-delay: -1.6s; }
.rw-packet:nth-child(3) { animation-delay: -3.2s; }
.rw-node { --rw-node-color: #dba47b; position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; width: 20%; height: 40%; padding: .7rem; color: #e6dcd9; border: 1px solid transparent; border-radius: 18px; background: transparent; transform: translate(-50%, -50%); cursor: pointer; transition: background .25s, border-color .25s; }
.rw-node:hover, .rw-node[aria-pressed='true'] { background: #c9895710; border-color: #c9895742; }
.rw-node:focus-visible, .rw-footer a:focus-visible, .rw-reset:focus-visible { outline: 2px solid #e1b18b; outline-offset: 4px; }
.rw-node--laptop { left: 13%; top: 63%; }
.rw-node--relay { left: 37%; top: 63%; width: 16%; --rw-node-color: #bd9bda; }
.rw-node--box { left: 62%; top: 63%; }
.rw-node--machine { left: 87%; top: 63%; }
.rw-node--portal { left: 49%; top: 18%; height: 33%; width: 24%; --rw-node-color: #bd9bda; }
.rw-node--portal:hover, .rw-node--portal[aria-pressed='true'], .rw-node--relay:hover, .rw-node--relay[aria-pressed='true'] { background: #9a7fc810; border-color: #9a7fc842; }
.rw-node__visual { position: relative; flex: none; display: grid; place-items: center; width: min(168px, 13vw, 30cqh); height: min(120px, 9.5vw, 22cqh); color: var(--rw-node-color); filter: drop-shadow(0 0 20px #cb8e6019); }
.rw-node__visual > svg { width: 100%; height: 100%; overflow: visible; fill: #11131d; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rw-node__visual > img { width: 100%; height: 100%; object-fit: contain; }
.rw-node--portal .rw-node__visual { width: min(154px, 12vw, 27cqh); height: min(90px, 7vw, 16cqh); }
.rw-node--relay .rw-node__visual { width: min(65px, 5vw, 12cqh); height: min(65px, 5vw, 12cqh); }
.rw-node__name { font: 600 clamp(.75rem, 1.15vw, 1.05rem)/1.2 'Ubuntu Mono', monospace; }
.rw-node__hint { color: #aaa0b4; font: .62rem/1.3 'Ubuntu Mono', monospace; text-align: center; }
.rw-node--portal .rw-node__name, .rw-node--relay .rw-node__name { color: #c6aedf; }
.rw-node--box .rw-node__name { color: #e5b18d; }
.rw-narrative { position: relative; flex: none; width: min(870px, calc(100% - 2rem)); min-height: 138px; margin: 0 auto; padding: .85rem 1.6rem; text-align: center; border: 1px solid #b9805540; border-radius: 12px; background: #120e1880; }
.rw-narrative__eyebrow { margin: 0 0 .4rem; color: #c99877; font: .58rem/1.3 'Ubuntu Mono', monospace; letter-spacing: .1em; }
.rw-narrative h3 { margin: 0 0 .4rem; font-size: 1.15rem; line-height: 1.3; font-weight: 500; text-wrap: balance; }
.rw-narrative__copy { margin: 0 auto; max-width: 80ch; color: #bdb2c2; font-size: .86rem; line-height: 1.5; text-wrap: pretty; }
.rw-reset { padding: .5rem .25rem 0; color: #ddad89; font: .62rem/1.4 'Ubuntu Mono', monospace; border: 0; background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: .25em; }
.rw-reset[hidden] { display: none; }
.rw-footer { position: relative; display: flex; flex: none; align-items: center; justify-content: center; flex-wrap: wrap; gap: .7rem 1.8rem; padding: 1rem; }
.rw-footer p { margin: 0; color: #a79ba9; font: .6rem/1.4 'Ubuntu Mono', monospace; }
.rw-footer p::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: .5rem; border-radius: 50%; background: #c7946c; }
.rw-footer a { color: #e4b796; font: .7rem/1.4 'Ubuntu Mono', monospace; text-decoration: none; }
.rw-footer a:hover { color: #fff0e2; }
.remotewire-chapter[data-paused='true'] .rw-packet { animation-play-state: paused; }
@keyframes rw-travel { to { stroke-dashoffset: -100; } }
@media (max-width: 820px) and (orientation: portrait) {
  .rw-constellation { min-height: 285px; }
  .rw-node { width: 42%; height: 30%; gap: .35rem; padding: .3rem; border-radius: 12px; }
  .rw-node--laptop { left: 25%; top: 22%; }
  .rw-node--portal { left: 75%; top: 22%; }
  .rw-node--relay { left: 38%; top: 51%; width: 33%; height: 22%; flex-direction: row; flex-wrap: wrap; gap: .25rem .4rem; }
  .rw-node--box { left: 25%; top: 80%; }
  .rw-node--machine { left: 75%; top: 80%; }
  .rw-node__visual { width: min(120px, 26vw, 27cqh); height: min(86px, 19vw, 20cqh); }
  .rw-node--portal .rw-node__visual { width: min(120px, 26vw, 27cqh); height: min(72px, 17vw, 17cqh); }
  .rw-node--relay .rw-node__visual { width: min(38px, 9cqh); height: min(38px, 9cqh); }
  .rw-node__name { font-size: .77rem; }
  .rw-node__hint { font-size: .54rem; }
  .rw-node--relay .rw-node__hint { width: 100%; }
  .rw-narrative { min-height: 153px; padding: .75rem .8rem; }
  .rw-narrative__eyebrow { font-size: .5rem; }
  .rw-narrative h3 { font-size: 1rem; }
  .rw-narrative__copy { font-size: .75rem; line-height: 1.45; }
  .rw-footer { padding: .75rem .5rem; gap: .5rem 1rem; }
  .rw-footer p { font-size: .53rem; }
  .rw-footer a { font-size: .62rem; }
}
@media (max-height: 720px) and (orientation: landscape) {
  .rw-constellation { min-height: 190px; }
  .rw-node { gap: .25rem; padding: .3rem; }
  .rw-node__visual { width: min(115px, 13vw, 32cqh); height: min(78px, 9vw, 24cqh); }
  .rw-node--portal .rw-node__visual { width: min(110px, 12vw, 28cqh); height: min(64px, 7vw, 16cqh); }
  .rw-node__name { font-size: .7rem; }
  .rw-node__hint { font-size: .52rem; }
  .rw-narrative { min-height: 112px; padding: .6rem 1rem; }
  .rw-narrative h3 { font-size: 1rem; }
  .rw-narrative__copy { font-size: .75rem; }
  .rw-footer { padding: .55rem; }
}
@media (max-height: 430px) and (orientation: landscape) {
  .rw-constellation { min-height: 160px; }
  .rw-node__hint { display: none; }
  .rw-narrative { min-height: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .remotewire-chapter *, .remotewire-chapter *::before, .remotewire-chapter *::after { animation: none !important; transition: none !important; }
  .rw-packet { display: none; }
}
