/* Network builds (network-builds.html) — .rl-nb namespace.
   The cabinets ARE the hero: pills pick a network, its 20 RU cabinets stand in a row at the
   top of the page and build themselves (enclosure, then every unit racks in, then the cords),
   the deployment scenes below show where the small devices live, and a readout card lights up
   (ReadyLinks gold, like the rack accents) beside the hovered / focused / tapped switch or
   device. Cabinets and scenes are layered sprites from scripts/network-builds/.
   Colour = medium everywhere (legend, rack titles, readout, story tags — and the cords in the
   sprites themselves): aqua fiber, blue Ethernet, tan telephone pair, black coax. */
.rl-nb, .rl-nb-any {
    --nb-gold: #EEBF41;
    --nb-gold-deep: #E0A020;
    --nb-gold-ink: #7A5A0E;
    --nb-line: var(--rl-dev-line, #E6E8EE);
    --nb-ink: var(--rl-dev-ink, #0B0F19);
    --nb-ink-2: var(--rl-dev-ink-2, #1F2533);
    --nb-muted: var(--rl-dev-muted, #4A5063);
    --nb-accent: var(--rl-dev-accent, #063F5B);
    --nb-fiber: #3FC6D6;
    --nb-ethernet: #3D7EE6;
    --nb-pair: #CDAA78;
    --nb-coax: #3A3E46;
}
.rl-nb [data-medium="fiber"], .rl-nb-any [data-medium="fiber"] { --m: var(--nb-fiber); }
.rl-nb [data-medium="ethernet"], .rl-nb-any [data-medium="ethernet"] { --m: var(--nb-ethernet); }
.rl-nb [data-medium="pair"], .rl-nb-any [data-medium="pair"] { --m: var(--nb-pair); }
.rl-nb [data-medium="coax"], .rl-nb [data-medium="bnc"], .rl-nb-any [data-medium="coax"] { --m: var(--nb-coax); }
.rl-nb [data-medium="gold"], .rl-nb-any [data-medium="gold"] { --m: var(--nb-gold); }
.rl-nb { padding: 1.5rem 0 3rem; }
@media (min-width: 992px) { .rl-nb { padding-top: 2.25rem; } }   /* #header-main is sticky and in flow, so no navbar offset is needed */
.rl-nb__wrap { width: min(100% - 2rem, 1400px); margin: 0 auto; }
.rl-nb__head { text-align: center; max-width: 52rem; margin: 0 auto 1.1rem; }
.rl-nb__head .rl-eyebrow { justify-content: center; margin-bottom: .7rem; }
.rl-nb__title { font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; color: var(--nb-ink); margin: 0; text-wrap: balance; }

/* Pills (same recipe as the homepage principles) */
.rl-nb__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0.6rem; margin: 0 auto 1.75rem; padding: 0; }
.rl-nb__tab {
    display: inline-flex; align-items: center; gap: 0.5rem;
    height: 44px; padding: 0 1.05rem; border-radius: 999px;
    border: 1px solid var(--nb-line); background: rgba(255, 255, 255, .7);
    color: var(--nb-ink-2); font: 600 0.95rem/1 "DM Sans", system-ui, sans-serif;
    cursor: pointer; white-space: nowrap;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.rl-nb__tab i { font-size: 0.95em; opacity: .75; }
.rl-nb__tab:hover { border-color: var(--nb-ink-2); }
.rl-nb__tab:focus-visible { outline: 3px solid var(--nb-accent); outline-offset: 2px; }
.rl-nb__tab[aria-selected="true"] {
    color: var(--nb-accent); border-color: var(--nb-accent);
    background: var(--rl-dev-accent-soft, #E1ECF3); box-shadow: 0 6px 18px -10px var(--nb-accent);
}
.rl-nb__tab[aria-selected="true"] i { opacity: 1; }

/* Legend: the four cable colours, named */
.rl-nb__legend {
    list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.15rem;
    margin: -.9rem auto 1.6rem; padding: 0;
    font: 700 0.7rem/1 "DM Sans", system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--nb-ink-2);
}
.rl-nb__legend li { display: inline-flex; align-items: center; gap: .45rem; }
.rl-nb__legend li::before, .rl-nb__where::before, .rl-nb-any__tag::before {
    content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%;
    background: var(--m, #A0A7B4); box-shadow: inset 0 0 0 1px rgba(11, 15, 25, .16);
}
.rl-nb__where { display: inline-flex; align-items: center; gap: .38rem; vertical-align: bottom; }
.rl-nb__rack-title::after { content: ""; display: block; width: 2.6rem; height: 3px; border-radius: 2px; margin: .45rem auto 0; background: var(--m, var(--nb-gold)); }

/* Stage: the row of cabinets, the scenes under them, the readout floating beside the lit unit */
.rl-nb__stage { position: relative; }
.rl-nb__racks, .rl-nb__scenes { display: flex; align-items: flex-end; justify-content: center; gap: clamp(.75rem, 1.6vw, 1.5rem); }
.rl-nb__racks { min-height: 24rem; }
.rl-nb__rack, .rl-nb__scene { flex: 0 1 380px; min-width: 0; margin: 0; display: flex; flex-direction: column; }
.rl-nb__scene { flex-basis: 440px; }   /* every scene is 16:9 (drawn close-ups and Garrett's clips alike), so a row lines up */
.rl-nb__shot { border-radius: 14px; overflow: hidden; background: #F3F5F8; }
.rl-nb__rack-title, .rl-nb__scene-title {
    order: -1; text-align: center; margin: 0 0 .7rem;
    font: 700 0.74rem/1.2 "DM Sans", system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--nb-accent);
}
.rl-nb__scenes { align-items: flex-start; margin-top: 2.5rem; }
.rl-nb__scene-title { color: var(--nb-gold-ink); }
.rl-nb__cab, .rl-nb__shot { position: relative; width: 100%; aspect-ratio: var(--w) / var(--h); }

/* A scene that is one of Garrett's KeyShot clips: the video fills the shot, an on-video hit-box sits on what rests in
   frame, a replay control appears when it has finished, and a chip per device under the clip is the hover / tap target */
.rl-nb__shot--video { overflow: hidden; border-radius: 14px; background: #0F1520; }
.rl-nb__video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; background: #0F1520; }
.is-arming .rl-nb__video { opacity: 0; }
.is-arming.is-built .rl-nb__video { opacity: 1; transition: opacity .6s ease-out; }
.rl-nb__replay {
    position: absolute; right: .6rem; bottom: .6rem; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: rgba(11, 15, 25, .72); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s ease, color .2s ease;
}
.rl-nb__replay:hover { background: var(--nb-gold); color: #1A1405; }
.rl-nb__replay:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.rl-nb__vchips { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: .7rem; }
.rl-nb__unit.rl-nb__vchip {   /* .rl-nb__unit is absolute: outrank it, these sit in a row under the clip */
    position: static; display: inline-flex; align-items: center; gap: .5rem; height: 44px; padding: 0 .9rem 0 .3rem; border-radius: 999px;
    border: 1px solid var(--nb-line); background: rgba(255, 255, 255, .82); color: var(--nb-ink-2);
    font: 600 0.82rem/1 "DM Sans", system-ui, sans-serif; letter-spacing: 0; white-space: nowrap;
}
.rl-nb__unit.rl-nb__vchip img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; background: #fff; }
.rl-nb__unit.rl-nb__vchip:hover, .rl-nb__unit.rl-nb__vchip.is-lit, .rl-nb__unit.rl-nb__vchip.is-linked { border-color: var(--nb-gold); background: #fff; }
.rl-nb__unit--onvideo { border-radius: 10px; }

/* Layers: each one a full-size div painting one sprite (units are clipped bands of one sprite) */
.rl-nb__layer {
    position: absolute; inset: 0; pointer-events: none;
    background-repeat: no-repeat; background-size: 100% 100%; background-position: 0 0;
}
.rl-nb__slayer {   /* scene atlas: --n bands stacked vertically, --k picks one */
    background-size: 100% calc(var(--n) * 100%);
    background-position: 0 calc(var(--k) / (var(--n) - 1) * 100%);
}
/* Drawn scenes never rest as stills: once built (.is-idle) light flows along the ReadyLink run (a masked copy of the
   run band sweeping a bright streak), the devices hover, and the replay control re-runs the mount sequence. */
.rl-nb__slayer--flow {
    opacity: 0; filter: brightness(1.55) saturate(1.15);
    -webkit-mask-image: repeating-linear-gradient(115deg, transparent 0 34%, #fff 46% 54%, transparent 66% 100%);
    mask-image: repeating-linear-gradient(115deg, transparent 0 34%, #fff 46% 54%, transparent 66% 100%);
    -webkit-mask-size: 260% 260%; mask-size: 260% 260%;
}
.is-idle .rl-nb__slayer--flow { opacity: .8; animation: rl-nb-flow 3.4s linear infinite; transition: opacity .8s ease-out; }
@keyframes rl-nb-flow { from { -webkit-mask-position: 0% 0%; mask-position: 0% 0%; } to { -webkit-mask-position: 100% 100%; mask-position: 100% 100%; } }
.is-idle .rl-nb__slayer--dev { animation: rl-nb-float var(--fl, 5.4s) ease-in-out var(--fd, 0s) infinite; }
@keyframes rl-nb-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -0.7%, 0); } }
.rl-nb__shot .rl-nb__replay { opacity: 0; transition: opacity .4s ease; }
.rl-nb__shot.is-idle .rl-nb__replay, .rl-nb__shot--video .rl-nb__replay { opacity: 1; }
.rl-nb__shot .rl-nb__replay[hidden] { display: none; }

/* The build: armed = hidden and waiting for its bitmaps; built = every layer lands on its own delay (--d).
   Units come in from the front (toward the viewer is down-left in this projection), the enclosure rises
   into place, cords and gold runs simply light up. Without JS nothing is armed, so everything just shows. */
.is-arming .rl-nb__layer { opacity: 0; transform: translate3d(-3.2%, 2.4%, 0) scale(1.045); transition: none; }
.is-arming .rl-nb__slayer--dev { transform: translate3d(-7%, 5%, 0) scale(1.09); }   /* the client comes in from the installer's hand: a longer travel before it seats */
.is-arming .rl-nb__layer--cab, .is-arming .rl-nb__slayer--room { transform: translate3d(0, 2.5%, 0) scale(.985); }
.is-arming .rl-nb__layer--cables, .is-arming .rl-nb__slayer--run { transform: none; }
.is-arming.is-built .rl-nb__layer {
    opacity: 1; transform: none;
    transition: opacity .42s ease-out var(--d, 0ms), transform .6s cubic-bezier(.16, .84, .24, 1) var(--d, 0ms);
}
.is-arming.is-built .rl-nb__layer--cab { transition-duration: .55s, .8s; }
.is-arming.is-built .rl-nb__slayer--dev { transition-timing-function: ease-out, cubic-bezier(.22, 1.2, .36, 1); transition-duration: .5s, .95s; }   /* devices mount with a settle */
.is-arming.is-built .rl-nb__layer--cables, .is-arming.is-built .rl-nb__slayer--run { transition: opacity .7s ease-out var(--d, 0ms); }

.rl-nb__unit {
    position: absolute; margin: 0; padding: 0; border: 0; border-radius: 3px; background: transparent; cursor: pointer;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
    transition: box-shadow .18s ease-out, background-color .18s ease-out;
}
.rl-nb__unit--dev { border-radius: 6px; }
.rl-nb__unit:hover, .rl-nb__unit.is-lit {
    background: rgba(238, 191, 65, .10);
    box-shadow: 0 0 0 1.5px rgba(238, 191, 65, .8), 0 0 14px 1px rgba(238, 191, 65, .45);
}
.rl-nb__unit.is-primary, .rl-nb__unit:hover {
    background: rgba(238, 191, 65, .14);
    box-shadow: 0 0 0 2px var(--nb-gold), 0 0 0 5px rgba(238, 191, 65, .22), 0 0 26px 2px rgba(238, 191, 65, .6);
}
.rl-nb__unit.is-linked { background: rgba(238, 191, 65, .08); box-shadow: 0 0 0 1.5px rgba(238, 191, 65, .7), 0 0 12px 1px rgba(238, 191, 65, .35); }
.rl-nb__unit[aria-pressed="true"].is-primary { box-shadow: 0 0 0 2px var(--nb-gold), 0 0 0 6px rgba(238, 191, 65, .3), 0 0 32px 4px rgba(238, 191, 65, .7); }
.rl-nb__unit:focus-visible { outline: 3px solid #fff; outline-offset: 1px; }
.rl-nb__hint { display: inline-flex; align-items: center; gap: .55rem; margin: 1.25rem auto 0; font-size: .88rem; color: var(--nb-ink-2); text-align: center; justify-content: center; width: 100%; }
.rl-nb__hint:empty { display: none; }
.rl-nb__hint::before { content: ""; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--nb-gold); box-shadow: 0 0 0 4px rgba(238, 191, 65, .22), 0 0 14px rgba(238, 191, 65, .7); }

/* The readout: floats beside the lit unit on desktop, a card under the strip on phones */
.rl-nb__pop {
    position: absolute; left: 0; top: 0; z-index: 5; width: 330px; max-width: calc(100% - 8px);
    background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid var(--nb-line); border-radius: 16px; padding: .95rem 1.1rem 1rem;
    box-shadow: 0 24px 50px -28px rgba(11, 15, 25, .45), 0 0 0 1px rgba(238, 191, 65, .25);
    overflow: hidden; pointer-events: auto;
}
.rl-nb__pop::before {   /* gold hairline that sweeps the top edge when the card powers on */
    content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
    background: linear-gradient(90deg, var(--nb-gold-deep), var(--nb-gold) 60%, rgba(238, 191, 65, 0));
    opacity: 0; transform: scaleX(0); transform-origin: left center;
}
.rl-nb__pop::after {    /* leader tick pointing at the unit */
    content: ""; position: absolute; top: var(--ly, 24px); width: 14px; height: 2px; margin-top: -1px;
    background: var(--nb-gold); box-shadow: 0 0 10px rgba(238, 191, 65, .8);
}
.rl-nb__pop[data-side="right"]::after { left: 0; }
.rl-nb__pop[data-side="left"]::after { right: 0; }
.rl-nb__pop.is-on::before { animation: rl-nb-sweep .5s cubic-bezier(.2, .7, .2, 1) forwards; }
.rl-nb__pop.is-on { animation: rl-nb-glow .6s ease-out forwards; }
@keyframes rl-nb-sweep { from { opacity: 1; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes rl-nb-glow {
    0%   { box-shadow: 0 24px 50px -28px rgba(11, 15, 25, .45), 0 0 0 0 rgba(238, 191, 65, 0); }
    35%  { box-shadow: 0 24px 50px -28px rgba(11, 15, 25, .45), 0 0 0 3px rgba(238, 191, 65, .5), 0 0 44px -4px rgba(238, 191, 65, .55); }
    100% { box-shadow: 0 24px 50px -28px rgba(11, 15, 25, .45), 0 0 0 1px rgba(238, 191, 65, .35); }
}
.rl-nb__spec-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.rl-nb__kicker { font: 700 0.68rem/1.2 "DM Sans", system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--nb-accent); }
.rl-nb__tier {
    display: inline-block; font: 700 0.64rem/1 "DM Sans", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase;
    padding: .34rem .55rem; border-radius: 999px; background: rgba(238, 191, 65, .2); color: var(--nb-gold-ink); white-space: nowrap;
}
.rl-nb__pn { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; font-size: 1.4rem; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; color: var(--nb-ink); margin: .4rem 0 .1rem; }
.rl-nb__count { font: 600 0.78rem/1 "DM Sans", system-ui, sans-serif; color: var(--nb-muted); letter-spacing: 0; }
.rl-nb__tagline { font-size: 0.86rem; line-height: 1.4; color: var(--nb-muted); margin: 0 0 .65rem; }
.rl-nb__chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin: 0 0 .65rem; }
.rl-nb__chips:empty { display: none; }
.rl-nb__chipstat { display: flex; flex-direction: column; gap: .1rem; padding: .4rem .55rem; border: 1px solid var(--nb-line); border-radius: 10px; background: #FBFCFE; min-width: 0; }
.rl-nb__chipnum { font: 700 1rem/1.1 "DM Sans", system-ui, sans-serif; letter-spacing: -0.01em; color: var(--nb-ink); font-variant-numeric: tabular-nums; }
.rl-nb__chiplbl { font-size: .72rem; line-height: 1.3; color: var(--nb-muted); }
.rl-nb__rows { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .15rem .8rem; margin: 0; font-size: .82rem; line-height: 1.4; }
.rl-nb__rows dt { font: 700 0.64rem/1.7 "DM Sans", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--nb-muted); margin: 0; }
.rl-nb__rows dd { margin: 0; color: var(--nb-ink); min-width: 0; overflow-wrap: anywhere; }
.rl-nb__rolehead { font: 700 0.64rem/1.4 "DM Sans", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--nb-gold-ink); margin: .65rem 0 .25rem; padding-top: .65rem; border-top: 1px solid var(--nb-line); }
.rl-nb__role { font-size: .88rem; line-height: 1.45; color: var(--nb-ink); margin: 0 0 .55rem; }
.rl-nb__feeds { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0 0 .7rem; }
.rl-nb__feeds li { font-size: .74rem; line-height: 1; padding: .38rem .5rem; border-radius: 999px; background: var(--rl-dev-accent-soft, #E1ECF3); color: var(--nb-accent); }
.rl-nb__link { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; }

/* Below the hero: any cable in, one Ethernet network out (initAnyCable) — one wide illustration that builds when it
   scrolls in (the world, the sites, their cables arriving from the west, the head-end stack landing, the trunk leaving
   it, ReadyView, then the ReadyLinks gold) and never rests as a still: light flows along the cables, the sites pulse. */
.rl-nb-any { padding: 3.5rem 0 3rem; }
.rl-nb-any__head { max-width: 46rem; margin-bottom: 1.75rem; }
.rl-nb-any__head .rl-feature-title { max-width: none; }
.rl-nb-any__fig { margin: 0; position: relative; min-width: 0; }
.rl-nb-any__shot {
    position: relative; width: 100%; aspect-ratio: var(--w) / var(--h); overflow: hidden;
    border-radius: 18px; background: #F7F9FC; border: 1px solid var(--nb-line);
}
.rl-nb-any__shot .rl-nb__layer { opacity: 0; }
.rl-nb-any__shot .rl-nb__layer[data-layer="nodes"] { transform: scale(.96); }
.rl-nb-any__shot .rl-nb__layer[data-layer="cabinet"] { transform: translate3d(-2.4%, 1.8%, 0) scale(1.03); }   /* the stack lands from the front */
.rl-nb-any__shot .rl-nb__layer[data-layer="screen"] { transform: scale(.985); }
.rl-nb-any__shot .rl-nb__layer[data-layer="panel"] { transform: translate3d(0, 3%, 0); }
/* the cables arrive from the west and the trunk leaves the cabinet: a wipe, not a fade */
.rl-nb-any__shot .rl-nb__layer[data-layer="runs"], .rl-nb-any__shot .rl-nb__layer[data-layer="trunk"] { opacity: 1; clip-path: inset(0 100% 0 0); }
.rl-nb-any__shot .rl-nb__layer.is-on {
    opacity: 1; transform: none; clip-path: inset(0 0 0 0);
    transition: opacity .55s ease-out var(--d, 0ms), transform .7s cubic-bezier(.16, .84, .24, 1) var(--d, 0ms), clip-path 1.15s ease-out var(--d, 0ms);
}
.rl-nb-any__shot .rl-nb__layer.is-on[data-layer="trunk"] { transition-duration: .55s, .7s, .75s; }
.rl-nb-any__shot .rl-nb__layer.is-on[data-layer="light"], .rl-nb-any__shot .rl-nb__layer.is-on[data-layer="glow"] { transition: opacity 1.2s ease-out var(--d, 0ms); }
/* idle: light flows along the twelve cables, the four runs and the trunk (masked copies of those bands); the sites pulse */
.rl-nb-any__shot .rl-nb__slayer--flow { clip-path: none; }
.rl-nb-any__shot.is-idle .rl-nb__slayer--flow { opacity: .75; animation: rl-nb-flow 4.2s linear infinite; transition: opacity .8s ease-out; }
.rl-nb-any__shot.is-idle .rl-nb__layer[data-layer="nodes"] { animation: rl-nb-pulse 3.2s ease-in-out infinite; }
@keyframes rl-nb-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .58; } }
.rl-nb-any__tag {
    position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); transform: translateY(-50%); z-index: 2;
    display: inline-flex; align-items: center; gap: .42rem; padding: .34rem .62rem .34rem .5rem; border-radius: 999px;
    background: rgba(255, 255, 255, .94); border: 1px solid var(--nb-line); box-shadow: 0 8px 18px -12px rgba(11, 15, 25, .55);
    font: 600 0.72rem/1 "DM Sans", system-ui, sans-serif; letter-spacing: .01em; color: var(--nb-ink-2); white-space: nowrap; pointer-events: none;
    opacity: 0; transition: opacity .45s ease var(--d, 0ms);
}
.rl-nb-any__tag.is-on { opacity: 1; }
.rl-nb-any__tag.is-right { transform: translate(-100%, -50%); }   /* anchored at its right end */
.rl-nb-any__tag:empty { display: none; }
.rl-nb-any__legend { justify-content: flex-start; margin: .9rem 0 0; }   /* the media by colour, under the figure */
.rl-nb-any__cta { margin-top: 1.75rem; }
.rl-nb-media { background: var(--rl-dev-bg-soft, #F7F8FB); }
.rl-nb-media__card {
    display: flex; flex-direction: column; height: 100%; padding: 1.4rem 1.4rem 1.3rem; border-radius: 18px;
    background: #fff; border: 1px solid var(--rl-dev-line, #E6E8EE); color: inherit; text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.rl-nb-media__card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -24px rgba(11, 15, 25, .4); border-color: var(--rl-dev-accent, #063F5B); color: inherit; text-decoration: none; }
.rl-nb-media__card:focus-visible { outline: 3px solid var(--rl-dev-accent, #063F5B); outline-offset: 2px; }
.rl-nb-media__img { display: flex; align-items: center; justify-content: center; height: 76px; margin-bottom: 1rem; }
.rl-nb-media__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.rl-nb-media__card h4 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .4rem; color: var(--rl-dev-ink, #0B0F19); }
.rl-nb-media__card p { font-size: .92rem; line-height: 1.55; color: var(--rl-dev-muted, #4A5063); margin: 0 0 .9rem; flex: 1 1 auto; }
.rl-nb-media__cta { font-weight: 600; font-size: .9rem; color: var(--rl-dev-accent, #063F5B); }

/* Phones and tablets: cabinets in a snap strip, scenes stacked, readout as a card under the strip */
@media (max-width: 991.98px) {
    .rl-nb { padding: 1.25rem 0 2.5rem; }
    .rl-nb__wrap { width: min(100% - 1.5rem, 1400px); }
    .rl-nb__tabs { margin-bottom: 1.25rem; }
    .rl-nb__racks {
        justify-content: flex-start; min-height: 0; overflow-x: auto; overflow-y: hidden;
        scroll-snap-type: x mandatory; padding: .25rem .25rem .75rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch;
    }
    .rl-nb__rack { flex: 0 0 min(76vw, 320px); scroll-snap-align: center; }
    .rl-nb__scenes { display: block; margin-top: 1.5rem; }
    .rl-nb__scene { flex: none; max-width: 440px; margin: 0 auto 1.5rem; }
    .rl-nb__pop { position: relative; width: auto; max-width: none; margin: 1rem auto 0; transform: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }   /* relative, not static: the ::before sweep must stay inside the card */
    .rl-nb__pop::after { display: none; }
    .rl-nb__legend { margin: -.5rem auto 1.25rem; gap: .35rem .9rem; font-size: .66rem; }
    .rl-nb-any { padding: 2.5rem 0 2rem; }
    .rl-nb-any__legend { margin: .75rem 0 0; }
    .rl-nb-any__tag { font-size: .64rem; padding: .28rem .5rem .28rem .42rem; gap: .34rem; }
    .rl-nb-any__tag::before { width: 8px; height: 8px; }
}
@media (max-width: 575.98px) {
    .rl-nb__tab { height: 40px; padding: 0 .85rem; font-size: .88rem; }
    .rl-nb__pop { padding: 1rem 1rem 1.1rem; }
    .rl-nb__pn { font-size: 1.35rem; }
    .rl-nb-any__shot { border-radius: 12px; }
    .rl-nb-any__tag { font-size: .56rem; padding: .22rem .42rem .22rem .36rem; }
}

@media (prefers-reduced-motion: reduce) {
    .rl-nb__pop.is-on, .rl-nb__pop.is-on::before { animation: none; }
    .rl-nb__pop.is-on::before { opacity: 1; transform: none; }
    .rl-nb__tab, .rl-nb__unit, .rl-nb-media__card, .rl-nb-any__tag { transition: none; }
    .rl-nb-media__card:hover { transform: none; }
    .is-arming .rl-nb__layer { opacity: 1; transform: none; transition: none; }
    .rl-nb-any__shot .rl-nb__layer:not(.rl-nb__slayer--flow), .rl-nb-any__shot .rl-nb__layer.is-on { transition: none; transform: none; clip-path: none; opacity: 1; }
    .rl-nb-any__shot.is-idle .rl-nb__slayer--flow, .rl-nb-any__shot.is-idle .rl-nb__layer[data-layer="nodes"] { animation: none; }
    .rl-nb-any__shot.is-idle .rl-nb__slayer--flow { opacity: 0; }
    .is-idle .rl-nb__slayer--flow, .is-idle .rl-nb__slayer--dev { animation: none; }
    .rl-nb__shot .rl-nb__replay { display: none; }
}

/* Dark theme: the hero ground comes from .hero-wrapper (theme.css); cabinets are lit for a light floor, so the stage stays light */
html[data-theme="dark"] .rl-nb-any { background: #0B0F19; }
html[data-theme="dark"] .rl-nb-any__shot { border-color: #232B3B; }
html[data-theme="dark"] .rl-nb-media { background: #0F1520; }
html[data-theme="dark"] .rl-nb-media .section-title, html[data-theme="dark"] .rl-nb-media > .container > p { color: #F4F5F8; }

/* ReadyView: site infrastructure converges in a shared management plane. */
.rl-rv { padding: 4.5rem 0 3.5rem; color: #183c4e; scroll-margin-top:80px; }
.rl-rv-heading { max-width: 740px; margin-bottom: 2rem; }
.rl-rv-heading .rl-feature-title { max-width: none; font-size: clamp(2rem,3.8vw,3.25rem); line-height: 1.12; letter-spacing: -.045em; }
.rl-rv-heading .rl-feature-desc { max-width: 690px; }
/* Architectural scene: real product imagery and software, with a staged reveal. */
.rv-cinema { position:relative; aspect-ratio: 1.65; isolation:isolate; overflow:hidden; background:#fff; }
.rv-cinema-caption { position:absolute; z-index:4; top:0; left:0; right:0; text-align:center; }
.rv-cinema-caption strong { display:block; font-size:26px; letter-spacing:-.04em; color:#153e54; }
.rv-cinema-caption>span { display:block; font-size:10px; letter-spacing:.16em; color:#667b89; margin-top:6px; }
.rv-city { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 65%; opacity:.85; transform:scale(1); }
.rv-connections { position:absolute; inset:0; width:100%; height:100%; z-index:2; overflow:visible; }
.rv-path { stroke:var(--rv-medium); stroke-width:2; stroke-linecap:round; opacity:.65; }
.rl-rv [data-medium=fiber] { --rv-medium:#22aab9; }.rl-rv [data-medium=ethernet] { --rv-medium:#347bd9; }.rl-rv [data-medium=pair] { --rv-medium:#b49a61; }.rl-rv [data-medium=coax] { --rv-medium:#697785; }
.rv-property { position:absolute; width:8%; z-index:3; text-align:center; }
.rv-property>img { display:block; width:100%; height:auto; filter:drop-shadow(0 8px 9px #17314e30); }
.rv-property>span { display:inline-flex; align-items:center; justify-content:center; gap:5px; background:#ffffffed; color:#244454; padding:4px 9px; border-radius:4px; white-space:nowrap; font-size:11px; transform:translateX(-50%); margin-left:50%; box-shadow:0 3px 12px #15384a12; }
.rv-property>span:before { content:''; width:6px; height:6px; background:var(--rv-medium); border-radius:50%; }
.rv-property--fiber { left:3.8%; top:47%; }.rv-property--ethernet { left:14%; top:14%; width:7%; }.rv-property--pair { right:14%; top:14%; width:7%; }.rv-property--coax { right:3.5%; top:47%; }
.rv-display { position:absolute; z-index:5; left:22%; width:56%; top:35%; margin:0; padding:6px 6px 0; border:1px solid #253747; border-radius:7px; background:#172532; box-shadow:0 18px 25px -14px #183c4e80; }
.rv-display a { display:block; background:#fff; border-radius:2px; overflow:hidden; }
.rv-display img { display:block; width:100%; height:auto; aspect-ratio:1.632; object-fit:contain; }
.rv-display figcaption { color:#e7ecef; display:flex; align-items:center; justify-content:space-between; padding:6px 9px; font-size:10px; line-height:1.3; }
.rv-display figcaption span { color:#b8c9d3; font-size:9px; }
.rl-rv-bottom { margin-top:28px; display:flex; justify-content:space-between; gap:35px; align-items:center; }
.rl-rv-bottom>p { font-size:14px; line-height:1.7; color:#687b88; max-width:510px; margin:0; }
.rl-rv-bottom strong { display:block; color:#183c4e; font-weight:600; }.rl-rv-bottom .cta-btns { flex-shrink:0; }
.rv-cinema.is-playing .rv-city { animation:rv-city-in 1.8s ease-out both; }
.rv-cinema.is-playing .rv-property { animation:rv-rack-in 1s cubic-bezier(.2,.7,.2,1) both; animation-delay:1.1s; }
.rv-cinema.is-playing .rv-property--ethernet { animation-delay:1.3s; }.rv-cinema.is-playing .rv-property--pair { animation-delay:1.5s; }.rv-cinema.is-playing .rv-property--coax { animation-delay:1.7s; }
.rv-cinema.is-playing .rv-display { animation:rv-screen-in 1.3s cubic-bezier(.2,.7,.2,1) .45s both; }
.rv-cinema.is-playing .rv-path { stroke-dasharray:1; animation:rv-path-in 1.8s ease-in-out 2s both; }
@keyframes rv-city-in { from { opacity:0; transform:scale(1.08); } to { opacity:.85; transform:scale(1); } }
@keyframes rv-rack-in { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
@keyframes rv-screen-in { from { opacity:0; transform:translateY(35px) scale(.93); } to { opacity:1; transform:none; } }
@keyframes rv-path-in { from { stroke-dashoffset:1; opacity:0; } to { stroke-dashoffset:0; opacity:.65; } }
@media(max-width:1000px) { .rl-rv-bottom { display:block; }.rl-rv-bottom .cta-btns { margin-top:18px; }.rv-property>span { font-size:10px; padding:3px 6px; }.rv-display figcaption { font-size:9px; padding:4px 5px; } }
@media(max-width:600px) { .rl-rv { padding:3rem 0; }.rv-cinema { aspect-ratio:.9; margin-inline:-12px; }.rv-city { object-fit:cover; object-position:center; }.rv-cinema-caption { top:1%; }.rv-cinema-caption strong { font-size:22px; }.rv-cinema-caption>span { font-size:8px; }.rv-property--fiber,.rv-property--coax { top:22%; width:8.5%; }.rv-property--ethernet,.rv-property--pair { top:16%; width:8%; }.rv-property--ethernet { left:29%; }.rv-property--pair { right:29%; }.rv-property>span { font-size:9px; padding:2px 5px; }.rv-connections { height:62%; }.rv-display { left:5%; width:90%; top:44%; padding:4px 4px 0; }.rv-display figcaption { font-size:9px; }.rv-display figcaption span { font-size:8px; } }
@media(prefers-reduced-motion:reduce) { .rv-cinema *, .rv-cinema.is-playing * { animation:none!important; transition:none!important; } }

/* Reveal crops of the actual site cards without changing the underlying screenshot. */
.rv-display a { position:relative; }
.rv-site-reveal { position:absolute; inset:0; display:none; pointer-events:none; }
.rv-cinema.is-playing .rv-site-reveal { display:block; }
.rv-site-mask { position:absolute; left:22.4%; top:31.6%; right:17.5%; bottom:4.85%; background:#fff; }
.rv-site-tile { position:absolute; background-image:url('/assets/images/network-builds/readyview-multi-site.webp'); background-repeat:no-repeat; border-radius:3px; transform-origin:center; }
.rv-cinema.is-playing .rv-site-tile { animation:rv-site-arrive .7s cubic-bezier(.16,1,.3,1) var(--site-delay) both; }
@keyframes rv-site-arrive {
    from { opacity:0; transform:translate(var(--site-drift),18px) scale(1.08); box-shadow:0 12px 24px #173c4e25; }
    65% { opacity:1; }
    to { opacity:1; transform:none; box-shadow:0 0 0 transparent; }
}
@media(prefers-reduced-motion:reduce) { .rv-cinema.is-playing .rv-site-reveal { display:none; } }
