/* Neurobus v4 — product journey inside the agency's scroll stage. Built on the original Webflow tokens and components. */

/* Scroll length of the scenario (between the manifesto and the partners). */
.nb-journey_track {
  height: 1060vh;
  pointer-events: none;
}

/* The 3D view sits in the sticky stage, between the hero photo and the agency's glyph. */
.nb-journey_view {
  --nb-nav: var(--_spacing-sizing---nav--nav-height, 5rem);
  --nb-gap: var(--_spacing-sizing---element-padding--xs, 1rem);
  --nb-yellow: var(--_primitives---yellow--yellow-200, #fcf804);
  --nb-paper: #f7f7f1;
  --nb-ink: #1d231d;
  --nb-green: #2fdc6e;
  --nb-red: #ff4b3e;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  visibility: hidden;
  background-color: var(--nb-paper);
  color: var(--nb-ink);
}

/* Paper over the 3D for the ordered-dither cuts in and out of the aperture. */
.nb-journey_paper {
  position: absolute;
  inset: 0;
  z-index: 6;
  visibility: hidden;
  pointer-events: none;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}

/* ─── HERO ─── */
.home-hero_background {
  transform-origin: 50% 50%;
  will-change: transform;
}
/* The site we are about to enter, cut in over the sector slider before the aperture opens. */
.nb-iris-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  visibility: hidden;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}
/* Sector changes: ordered-dither cut (sequence.js) instead of the crossfade. */
.is-home-hero-background .splide__slide,
.is-home-hero-sector .splide__slide {
  transition: none !important;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}
.splide__slide.nb-hold {
  opacity: 1 !important;
  z-index: 0 !important;
}

.nb-journey_stage,
.nb-journey_fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.nb-journey_stage {
  display: block;
}
.nb-journey_fallback {
  display: none;
  object-fit: cover;
  image-rendering: pixelated;
}
.nb-journey_view.is-static .nb-journey_fallback {
  display: block;
}

/* ─── ORIGINAL COMPONENTS, LAYERED OVER THE SCENE (they keep the agency's dark glass) ─── */
.nb-journey_view .home-product {
  background-color: transparent;
}
.nb-journey_view .home-product_details {
  z-index: 3;
  opacity: 0;
  visibility: hidden;
}
.nb-journey_view .home-product_details-nb-c2,
.nb-journey_view .home-product_details-nb-intercept {
  z-index: 3;
}
.nb-journey_view .home-product_details-nb-c2 {
  flex-direction: column;
  align-items: stretch;
  padding: var(--nb-gap);
  background-color: var(--_primitives---opacity--neutral-darkest-60, rgba(0, 0, 0, 0.6));
  -webkit-backdrop-filter: blur(var(--_ui-styles---blur--medium, 1rem));
  backdrop-filter: blur(var(--_ui-styles---blur--medium, 1rem));
}

.nb-c2-decision {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  padding: 0.6rem 0.75rem;
  background-color: rgba(5, 6, 5, 0.7);
  border: 1px solid rgba(247, 247, 241, 0.2);
  font-size: 0.6875rem;
}
.nb-c2-decision_value {
  color: var(--nb-yellow);
  white-space: nowrap;
}
.nb-c2-decision_value.is-ok {
  padding: 0.2rem 0.4rem;
  background-color: var(--nb-yellow);
  color: #000;
}

/* ─── STATUS ─── */
.nb-journey_status {
  position: absolute;
  opacity: 0;
  z-index: 3;
  top: calc(var(--nb-nav) + 1.5rem);
  left: var(--nb-gap);
  display: grid;
  gap: 0.4rem;
  font-size: 0.75rem;
  pointer-events: none;
}
.nb-journey_status-label {
  color: var(--_primitives---colors--neutral-dark, #777771);
}
.nb-journey_status-value {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--nb-ink);
}
.nb-journey_status-value i {
  width: 0.4rem;
  height: 0.4rem;
  box-shadow: 0 0 0 1px var(--nb-ink);
  background-color: var(--nb-yellow);
}

/* Kill-chain clock under the status: running time from the first event, each step stamped as it lands. */
.nb-chain {
  display: grid;
  gap: 0.3rem;
  margin-top: 0.6rem;
  opacity: 0;
  visibility: hidden;
}
.nb-chain_clock {
  color: var(--nb-ink);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.nb-chain_clock.is-done {
  box-shadow: inset 0 -0.35em 0 var(--nb-yellow);
  justify-self: start;
}
.nb-chain_steps {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.625rem;
}
.nb-chain_steps li {
  display: grid;
  grid-template-columns: 5.5rem auto;
  color: var(--_primitives---colors--neutral-dark, #777771);
  opacity: 0.35;
}
.nb-chain_steps li.is-on {
  color: var(--nb-ink);
  opacity: 1;
}
.nb-chain_steps em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

/* Lock ping: a ring off the hero sight's head as it snaps onto the cue. */
.nb-ping {
  position: absolute;
  z-index: 2;
  left: -2.5rem;
  top: -2.5rem;
  width: 5rem;
  height: 5rem;
  border: 2px solid var(--nb-yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--nb-ink);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

/* The bird: boxed in passing like any contact, then greyed out once dismissed. */
.nb-tag-bird .nb-tag_box {
  left: -0.9rem;
  top: -0.9rem;
  width: 1.8rem;
  height: 1.8rem;
}
.nb-tag-bird .nb-tag_box i {
  width: 0.4rem;
  height: 0.4rem;
}
.nb-tag-bird .nb-tag_label {
  left: 1.3rem;
  top: -1.3rem;
}
.nb-tag-bird.is-dismissed .nb-tag_box i {
  border-color: var(--_primitives---colors--neutral-dark, #777771);
  border-style: dashed;
}
.nb-tag-bird.is-dismissed .nb-tag_label {
  background-color: var(--nb-paper);
  color: var(--_primitives---colors--neutral-dark, #777771);
  box-shadow: 0 0 0 1px var(--_primitives---colors--neutral-dark, #777771);
}

/* ─── CAPTIONS ─── */
.nb-caption {
  position: absolute;
  z-index: 3;
  left: 50%;
  width: min(90vw, 56rem);
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  text-align: center;
  color: var(--nb-ink);
  translate: -50% 0;
  opacity: 0;
  visibility: hidden;
}
.nb-caption.is-center {
  top: 50%;
  translate: -50% -50%;
}
.nb-caption.is-top {
  top: calc(var(--nb-nav) + 4.5rem);
}
.nb-caption h2 {
  text-shadow: 0 0 24px var(--nb-paper), 0 0 48px var(--nb-paper);
}
.nb-caption_hint {
  font-size: 0.75rem;
  opacity: 0.6;
}
.nb-caption_cta {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ─── LABELS PROJECTED FROM 3D (same look as the original detection illustration) ─── */
.nb-tag {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.nb-tag_label {
  position: absolute;
  left: 1.9rem;
  top: -1.7rem;
  padding: 0.25rem 0.4rem;
  white-space: nowrap;
  background-color: var(--nb-ink);
  color: var(--nb-paper);
  font-size: 0.625rem;
  line-height: 1;
}
.nb-tag_box {
  position: absolute;
  left: -1.4rem;
  top: -1.4rem;
  width: 2.8rem;
  height: 2.8rem;
}
.nb-tag_box i {
  position: absolute;
  width: 0.6rem;
  height: 0.6rem;
  border: 1px solid var(--nb-ink);
}
.nb-tag_box i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.nb-tag_box i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.nb-tag_box i:nth-child(3) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.nb-tag_box i:nth-child(4) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.nb-tag-threat.is-locked .nb-tag_box i {
  border-width: 2px;
}
.nb-tag-threat.is-locked .nb-tag_label,
.nb-tag-asset .nb-tag_label {
  background-color: var(--nb-yellow);
  color: #000;
  box-shadow: 0 0 0 1px var(--nb-ink);
}
.nb-tag-asset .nb-tag_label {
  left: 0.6rem;
  top: -0.75rem;
}

/* Declared hostile: the lock and its label turn red (the drone itself is outlined in red in the 3D). */
.nb-tag-threat.is-hostile .nb-tag_box i {
  border-color: var(--nb-red);
}
.nb-tag-threat.is-hostile .nb-tag_label {
  background-color: var(--nb-red);
  color: #fff;
  box-shadow: 0 0 0 1px var(--nb-ink);
}
/* The threat's lock box grows with the drone when the camera closes in (--nb-r, set from the 3D). */
.nb-tag-threat {
  --nb-w: max(1.4rem, var(--nb-r, 0px) * 1.15);
  --nb-h: max(1.4rem, var(--nb-r, 0px) * 0.7);
}
.nb-tag-threat .nb-tag_box {
  left: calc(-1 * var(--nb-w));
  top: calc(-1 * var(--nb-h));
  width: calc(2 * var(--nb-w));
  height: calc(2 * var(--nb-h));
}
.nb-tag-threat .nb-tag_label {
  left: calc(var(--nb-w) + 0.5rem);
  top: calc(-1 * var(--nb-h) - 0.3rem);
}
/* Every NB-Detect is named over its mast: label centred on a short leader. */
.nb-tag-station .nb-tag_label,
.nb-tag-radar .nb-tag_label,
.nb-tag-safe .nb-tag_label {
  left: 0;
  top: auto;
  bottom: 0.6rem;
  translate: -50% 0;
}
.nb-tag-station::after,
.nb-tag-radar::after,
.nb-tag-safe::after {
  content: "";
  position: absolute;
  left: 0;
  top: -0.6rem;
  width: 1px;
  height: 0.6rem;
  background-color: var(--nb-ink);
}
.nb-tag-safe .nb-tag_label {
  background-color: var(--nb-green);
  color: #000;
  box-shadow: 0 0 0 1px var(--nb-ink);
}
/* The site radar is named in dashed ink: the base's own sensor, an optional cue for NB-Detect. */
.nb-tag-radar .nb-tag_label {
  background-color: var(--nb-paper);
  color: var(--nb-ink);
  outline: 1px dashed var(--nb-ink);
}
/* ─── NB-C2 DISPLAY: the 3D flips to a dark tactical picture (scene.js), the page follows ─── */
.nb-journey_view.is-c2 {
  --nb-ink: #f7f7f1;
  --nb-paper: #1d231d;
}
/* Hostile track: the diamond frame of the standard air symbology, in red. */
.nb-journey_view.is-c2 .nb-tag-threat .nb-tag_box {
  border: 2px solid var(--nb-red);
  rotate: 45deg;
  scale: 0.55;
}
.nb-journey_view.is-c2 .nb-tag-threat .nb-tag_label {
  left: 1.4rem;
  top: -1.5rem;
}
.nb-journey_view.is-c2 .nb-tag-threat .nb-tag_box i {
  display: none;
}
.nb-journey_view.is-c2 .nb-tag-threat .nb-tag_label {
  background-color: var(--nb-red);
  color: #000;
  box-shadow: none;
}
.nb-c2ui {
  position: absolute;
  inset: 0;
  z-index: 3;
  visibility: hidden;
  pointer-events: none;
  color: #f7f7f1;
  font-size: 0.6875rem;
  line-height: 1.2;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}
.nb-c2ui_head {
  position: absolute;
  left: 50%;
  top: calc(var(--nb-nav) + 1.5rem);
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  translate: -50% 0;
  text-align: center;
  white-space: nowrap;
}
.nb-c2ui_head .text-style-tagline {
  color: inherit;
}
.nb-c2ui_head p {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.8;
}
.nb-c2ui_head i {
  width: 0.4rem;
  height: 0.4rem;
  background-color: var(--nb-yellow);
  animation: nb-live 1.2s steps(2, jump-none) infinite;
}
.nb-c2ui_panel {
  position: absolute;
  display: grid;
  gap: 0.6rem;
  width: 15rem;
  padding: 0.75rem;
  border: 1px solid rgba(247, 247, 241, 0.28);
  background-color: rgba(29, 35, 29, 0.78);
}
.nb-c2ui_panel.is-sensors {
  left: var(--nb-gap);
  top: calc(var(--nb-nav) + 5.5rem);
  width: 11.5rem;
}
.nb-c2ui_panel.is-track {
  right: var(--nb-gap);
  top: calc(var(--nb-nav) + 1.5rem);
}
.nb-c2ui_title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(247, 247, 241, 0.28);
}
.nb-c2ui_title span {
  opacity: 0.6;
}
.nb-c2ui_title .is-hostile {
  padding: 0.15rem 0.35rem;
  background-color: var(--nb-red);
  color: #000;
  opacity: 1;
}
.nb-c2ui dl + .nb-c2ui_title {
  margin-top: 0.4rem;
}
.nb-c2ui ul,
.nb-c2ui dl {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nb-c2ui li {
  display: grid;
  grid-template-columns: 0.4rem 1.6rem 1fr;
  align-items: center;
  gap: 0.5rem;
}
.nb-c2ui li i {
  width: 0.4rem;
  height: 0.4rem;
  box-shadow: 0 0 0 1px rgba(247, 247, 241, 0.6);
}
.nb-c2ui li em {
  font-style: normal;
  text-align: right;
  opacity: 0.6;
}
/* Optional sensor (site radar): dashed box, dimmed. */
.nb-c2ui li.is-opt {
  opacity: 0.7;
}
.nb-c2ui li.is-opt i {
  box-shadow: none;
  outline: 1px dashed rgba(247, 247, 241, 0.6);
}
.nb-c2ui li.is-on i {
  background-color: var(--nb-yellow);
  box-shadow: none;
}
.nb-c2ui li.is-on em,
.nb-c2ui dd.is-on {
  color: var(--nb-yellow);
  opacity: 1;
}
.nb-c2ui dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.nb-c2ui dt {
  opacity: 0.6;
}
.nb-c2ui dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@keyframes nb-live {
  0% { opacity: 1; }
  100% { opacity: 0.15; }
}

/* ─── SENSOR VIEWS: what the systems see, through the Neurobus "( )" glyph ─── */
.nb-view {
  position: absolute;
  inset: 0;
  z-index: 2;
  visibility: hidden;
  pointer-events: none;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}
.nb-view_frame,
.nb-view_outline {
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(52vw, 66vh * 1.37);
  aspect-ratio: 24.29 / 17.728;
  translate: -50% -50%;
}
.nb-view_frame {
  overflow: hidden;
  background-color: #050605;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12.145 -8.864 24.29 17.728'%3E%3Cg fill='black'%3E%3Cpath transform='translate%28-86.412 -7.984%29' d='M82.4467 0C79.3913 1.43262 77.2835 4.46937 77.2835 7.98402C77.2836 11.4986 79.3913 14.5353 82.4467 15.9679H77.3033L74.2671 13.0386V2.92934L77.3033 0H82.4467Z'/%3E%3Cpath transform='translate%28-86.412 -7.984%29' d='M98.5566 2.92934V13.0386L95.5205 15.9679H90.3772C93.4326 14.5353 95.5403 11.4986 95.5403 7.98402C95.5403 4.4694 93.4326 1.43263 90.3772 0H95.5205L98.5566 2.92934Z'/%3E%3Cellipse rx='9.128' ry='8.864'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12.145 -8.864 24.29 17.728'%3E%3Cg fill='black'%3E%3Cpath transform='translate%28-86.412 -7.984%29' d='M82.4467 0C79.3913 1.43262 77.2835 4.46937 77.2835 7.98402C77.2836 11.4986 79.3913 14.5353 82.4467 15.9679H77.3033L74.2671 13.0386V2.92934L77.3033 0H82.4467Z'/%3E%3Cpath transform='translate%28-86.412 -7.984%29' d='M98.5566 2.92934V13.0386L95.5205 15.9679H90.3772C93.4326 14.5353 95.5403 11.4986 95.5403 7.98402C95.5403 4.4694 93.4326 1.43263 90.3772 0H95.5205L98.5566 2.92934Z'/%3E%3Cellipse rx='9.128' ry='8.864'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
/* The seeker footage is the real neuromorphic feed: shown as recorded, framed by the glyph. */
.nb-view-seeker .nb-view_frame {
  --nb-reticle-color: var(--nb-yellow);
}
.nb-view_outline {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12.145 -8.864 24.29 17.728'%3E%3Cg fill='none' stroke='%231d231d' stroke-width='0.045'%3E%3Cpath transform='translate%28-86.412 -7.984%29' d='M82.4467 0C79.3913 1.43262 77.2835 4.46937 77.2835 7.98402C77.2836 11.4986 79.3913 14.5353 82.4467 15.9679H77.3033L74.2671 13.0386V2.92934L77.3033 0H82.4467Z'/%3E%3Cpath transform='translate%28-86.412 -7.984%29' d='M98.5566 2.92934V13.0386L95.5205 15.9679H90.3772C93.4326 14.5353 95.5403 11.4986 95.5403 7.98402C95.5403 4.4694 93.4326 1.43263 90.3772 0H95.5205L98.5566 2.92934Z'/%3E%3Cellipse rx='9.128' ry='8.864'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.nb-view video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* NB-Detect fusion: a console panel beside the hero station (placed from the 3D by journey.js, a
   leader back to its head). Every capture is listed live on a bus that runs down into the AI fusion,
   which returns one classified track. Rows report in turn; no channel is the centre of it. */
.nb-capture-panel {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: clamp(20rem, 30vw, 27rem);
  padding: 1rem 1.1rem 1.1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background-color: #1d231d;
  box-shadow: 0 0 0 1px var(--nb-ink);
  will-change: transform, opacity;
}
.nb-capture-panel::before,
.nb-capture-panel::after {
  content: "";
  position: absolute;
  top: var(--lead, 50%);
  background-color: var(--nb-ink);
}
.nb-capture-panel::before {
  left: -3.5rem;
  width: 3.5rem;
  height: 1px;
}
.nb-capture-panel::after {
  left: calc(-3.5rem - 3px);
  width: 7px;
  height: 7px;
  margin-top: -3px;
  background-color: var(--nb-yellow);
  box-shadow: 0 0 0 1px var(--nb-ink);
}
.nb-capture {
  --cap-dim: #87937f;
  --cap-mid: #c8d2bd;
  --cap-line: rgba(247, 247, 241, 0.25);
  color: #f7f7f1;
  font-size: clamp(0.56rem, 0.8vw, 0.75rem);
  line-height: 1.2;
  text-transform: uppercase;
}
.nb-capture small {
  display: block;
  margin-top: 0.15rem;
  white-space: nowrap;
  font-size: 0.85em;
  color: var(--cap-dim);
}
.nb-capture_head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--cap-line);
  color: var(--cap-dim);
}
.nb-capture_list {
  position: relative;
  margin: 0.6rem 0 0;
  padding: 0 0 0 1rem;
  list-style: none;
  border-left: 1px solid var(--cap-line);
}
/* The bus lights up as far as the last channel that has reported. */
.nb-capture_list::after {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 1px;
  height: calc(var(--bus, 0) * 100%);
  background-color: var(--nb-yellow);
}
.nb-capture_row {
  position: relative;
  display: grid;
  grid-template-columns: 1.45fr 1.35fr 0.85fr;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0;
  opacity: 0.3;
  transition: opacity 0.3s;
}
.nb-capture_row::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 50%;
  width: 0.7rem;
  height: 1px;
  background-color: var(--cap-line);
}
.nb-capture_row.is-on {
  opacity: 1;
}
.nb-capture_row.is-on::before {
  background-color: var(--nb-yellow);
}
.nb-capture_read {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--cap-mid);
  font-variant-numeric: tabular-nums;
}
.nb-capture_conf {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.4rem;
}
.nb-capture_conf i {
  position: relative;
  height: 0.3rem;
  background-color: rgba(247, 247, 241, 0.15);
}
.nb-capture_conf b {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--c) * var(--on, 0) * 100%);
  background-color: #f7f7f1;
}
.nb-capture_conf em {
  font-style: normal;
}
/* A channel losing contrast (sun glare): its bar and reading drop to amber, the fusion holds. */
.nb-capture_row.is-weak .nb-capture_conf b {
  background-color: #e8a33a;
}
.nb-capture_row.is-weak .nb-capture_read,
.nb-capture_row.is-weak .nb-capture_conf em {
  color: #e8a33a;
}
.nb-capture_fuse {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.9rem;
  padding: 0.55rem 0.6rem;
  box-shadow: 0 0 0 1px var(--cap-line);
}
.nb-capture_fuse::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.9rem;
  width: 1px;
  height: 0.9rem;
  background-color: var(--cap-line);
}
.nb-capture_fuse.is-done {
  background-color: var(--nb-yellow);
  box-shadow: none;
  color: #000;
}
.nb-capture_fuse.is-done::before {
  background-color: var(--nb-yellow);
}
.nb-capture_fuse.is-done small {
  color: rgba(0, 0, 0, 0.6);
}
.nb-capture_out {
  font-size: 1.15em;
  text-align: right;
}
.nb-capture_track {
  margin-top: 0.5rem;
  color: var(--cap-mid);
  font-variant-numeric: tabular-nums;
}
.nb-view_label {
  position: absolute;
  left: 50%;
  top: calc(var(--nb-nav) + 1.5rem);
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  translate: -50% 0;
  text-align: center;
  color: var(--nb-ink);
}
.nb-view_label p {
  font-size: 0.75rem;
  opacity: 0.75;
}
@media (max-width: 991px), (orientation: portrait) {
  /* The agency's NB-C2 legend sits under the header on tablets and phones: keep the title above it. */
  .nb-c2ui_head {
    top: calc(var(--nb-nav) + 0.4rem);
  }
  .nb-c2ui_head p {
    display: none;
  }
  /* The lock box can fill a phone screen in the close-up: its label goes over the top-left corner. */
  .nb-tag-threat .nb-tag_label {
    left: calc(-1 * var(--nb-w));
    top: calc(-1 * var(--nb-h) - 1.6rem);
  }
  /* No room beside the station: the capture panel docks under the header, each reading drops under
     its channel name. */
  .nb-capture-panel {
    top: calc(var(--nb-nav) + 4.5rem);
    left: 50%;
    width: min(92vw, 26rem);
    translate: -50% 0;
  }
  .nb-capture-panel::before,
  .nb-capture-panel::after {
    display: none;
  }
  .nb-capture {
    font-size: 0.6rem;
  }
  .nb-capture_row {
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 0.6rem;
  }
  .nb-capture_read {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  /* Same vertical glyph as the agency's phone and tablet layout. */
  .nb-view_frame,
  .nb-view_outline {
    top: 47%;
    width: min(76vw, 50vh * 0.73);
    aspect-ratio: 17.728 / 24.29;
  }
  .nb-view_frame {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8.864 -12.145 17.728 24.29'%3E%3Cg fill='black' transform='rotate%2890%29'%3E%3Cpath transform='translate%28-86.412 -7.984%29' d='M82.4467 0C79.3913 1.43262 77.2835 4.46937 77.2835 7.98402C77.2836 11.4986 79.3913 14.5353 82.4467 15.9679H77.3033L74.2671 13.0386V2.92934L77.3033 0H82.4467Z'/%3E%3Cpath transform='translate%28-86.412 -7.984%29' d='M98.5566 2.92934V13.0386L95.5205 15.9679H90.3772C93.4326 14.5353 95.5403 11.4986 95.5403 7.98402C95.5403 4.4694 93.4326 1.43263 90.3772 0H95.5205L98.5566 2.92934Z'/%3E%3Cellipse rx='9.128' ry='8.864'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8.864 -12.145 17.728 24.29'%3E%3Cg fill='black' transform='rotate%2890%29'%3E%3Cpath transform='translate%28-86.412 -7.984%29' d='M82.4467 0C79.3913 1.43262 77.2835 4.46937 77.2835 7.98402C77.2836 11.4986 79.3913 14.5353 82.4467 15.9679H77.3033L74.2671 13.0386V2.92934L77.3033 0H82.4467Z'/%3E%3Cpath transform='translate%28-86.412 -7.984%29' d='M98.5566 2.92934V13.0386L95.5205 15.9679H90.3772C93.4326 14.5353 95.5403 11.4986 95.5403 7.98402C95.5403 4.4694 93.4326 1.43263 90.3772 0H95.5205L98.5566 2.92934Z'/%3E%3Cellipse rx='9.128' ry='8.864'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  }
  .nb-view_outline {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8.864 -12.145 17.728 24.29'%3E%3Cg fill='none' stroke='%231d231d' stroke-width='0.045' transform='rotate%2890%29'%3E%3Cpath transform='translate%28-86.412 -7.984%29' d='M82.4467 0C79.3913 1.43262 77.2835 4.46937 77.2835 7.98402C77.2836 11.4986 79.3913 14.5353 82.4467 15.9679H77.3033L74.2671 13.0386V2.92934L77.3033 0H82.4467Z'/%3E%3Cpath transform='translate%28-86.412 -7.984%29' d='M98.5566 2.92934V13.0386L95.5205 15.9679H90.3772C93.4326 14.5353 95.5403 11.4986 95.5403 7.98402C95.5403 4.4694 93.4326 1.43263 90.3772 0H95.5205L98.5566 2.92934Z'/%3E%3Cellipse rx='9.128' ry='8.864'/%3E%3C/g%3E%3C/svg%3E");
  }
}
.nb-view_reticle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7.5rem;
  height: 7.5rem;
  translate: -50% -50%;
  animation: nb-reticle 1.4s ease-in-out infinite;
}
.nb-view_reticle::before,
.nb-view_reticle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background-color: var(--nb-reticle-color, var(--nb-ink));
}
.nb-view_reticle::before {
  width: 1px;
  height: 1.25rem;
  margin: -0.625rem 0 0;
}
.nb-view_reticle::after {
  width: 1.25rem;
  height: 1px;
  margin: 0 0 0 -0.625rem;
}
.nb-view_reticle i {
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--nb-reticle-color, var(--nb-ink));
}
.nb-view_reticle i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.nb-view_reticle i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.nb-view_reticle i:nth-child(3) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.nb-view_reticle i:nth-child(4) { left: 0; bottom: 0; border-right: 0; border-top: 0; }

@keyframes nb-reticle {
  0%, 100% { scale: 1; }
  50% { scale: 0.9; }
}

@media (max-width: 767px) {
  /* The original card and NB-C2 legend already occupy the top/bottom on phones. */
  .nb-journey_status {
    display: none;
  }
  .nb-caption.is-top {
    top: calc(var(--nb-nav) + 3.5rem);
  }
  .nb-tag-asset {
    display: none;
  }
  /* The network still has to read on a phone: numbers only. */
  .nb-tag-station {
    display: block;
  }
  .nb-tag-station b {
    display: none;
  }
  .nb-c2ui_panel {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nb-view_reticle,
  .nb-c2ui_head i {
    animation: none;
  }
}

/* Skip the scenario (bottom centre, between the product card and the sensor views) and the hero's briefing button. */
.nb-skip {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: var(--nb-gap, 1rem);
  translate: -50% 0;
  padding: 0.45rem 0.7rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--nb-ink);
  background-color: var(--nb-paper);
  box-shadow: 0 0 0 1px var(--nb-ink);
  opacity: 0;
  visibility: hidden;
}
.nb-skip:hover {
  background-color: var(--nb-yellow);
  color: #000;
}
.nb-hero-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
@media (max-width: 991px), (orientation: portrait) {
  /* The product card takes the bottom of the screen: the skip goes under the header. */
  .nb-skip {
    left: auto;
    right: var(--nb-gap, 1rem);
    bottom: auto;
    top: calc(var(--nb-nav, 4rem) + 0.75rem);
    translate: none;
  }
}

/* Footer origin: French and European flags side by side. */
.footer_origin-flags {
  display: inline-flex;
  gap: 0.3rem;
}
.footer_origin-flags svg {
  display: block;
  width: 1.35rem;
  height: 0.9rem;
  box-shadow: 0 0 0 1px rgba(29, 35, 29, 0.18);
}
