/* ─ tokens ──────────────────────────────────────────────────── */
:root {
  --ink:        #0e1014;
  --line:       rgba(255,255,255,0.08);
  --teal:       #00bfbf;

  --mono:       'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --inter:      'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* timed reveal — single source of truth for the entry sequence */
  --reveal-wordmark: 5s;     /* "magpie"                          */
  --reveal-bwc:      7s;     /* "black. white. colour."           */
  --reveal-cta:      11.5s;  /* "contact us for a demo"           */
  --reveal-chrome:   13s;    /* mirrored bird + social + preview  */
  --reveal-dur:      1.5s;   /* shared fade-in duration           */

  --bird-glow: brightness(1.15) drop-shadow(0 0 1px rgba(255,255,255,0.25));
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ink);
  color: #fafafa;
  font-family: var(--mono);
  font-weight: 300;
  font-feature-settings: 'cv02','cv03','cv04','cv11';
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }

/* ─ shared chrome ───────────────────────────────────────────── */
.stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
}
.stage-fg {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.chrome {
  position: fixed;
  z-index: 50;
  font-family: var(--mono);
}

/* ─ main lockup — bird + magpie + bwc (navbar style), centered top ─── */
/* --s scales the whole lockup; bird stays sharp up to ~16 (native 1132×616). */
.nav-replica {
  --s: 2.4;
  top: 40px; left: 50%;
  transform: translateX(-50%);
  color: inherit;
  text-decoration: none;
}
.nav-replica:hover,
.nav-replica:focus,
.nav-replica:visited { color: inherit; text-decoration: none; }

.lockup-text { display: flex; flex-direction: column; align-items: stretch; }

/* bird tracks left of the centered text, out of flow so it doesn't shift centering */
.nav-replica .lockup-bird {
  position: absolute; top: 50%; right: 100%;
  transform: translateY(-50%);
  height: calc(32px * var(--s));
  margin-right: calc(10px * var(--s));
  filter: var(--bird-glow);
}
.nav-replica .lockup-magpie {
  color: #fff;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 300;
  font-size: calc(20px * var(--s));
  letter-spacing: 0.7em;
  margin-right: -0.7em;       /* drop trailing tracking so box = visible glyph width */
  line-height: 1.05;
}
.nav-replica .lockup-bwc {
  display: block;
  width: 100%;                /* justified to magpie's visible width → precise alignment */
  text-align: justify;
  text-align-last: justify;
  font-family: var(--inter);
  font-size: calc(14px * var(--s));
  letter-spacing: 0;
}

/* staged reveal — bird + magpie fade in together at 5s … */
.nav-replica .lockup-bird,
.nav-replica .lockup-magpie {
  opacity: 0;
  animation: lockup-fade var(--reveal-dur) ease var(--reveal-wordmark) forwards;
}
/* … then bwc fades + wipes left→right at 7s (keeps the iridescent shimmer) */
.nav-replica .lockup-bwc {
  opacity: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 60%, transparent 100%);
  -webkit-mask-size: 250% 100%;
          mask-size: 250% 100%;
  -webkit-mask-position: 100% 0;
          mask-position: 100% 0;
  animation:
    lockup-fade var(--reveal-dur) ease var(--reveal-bwc) forwards,
    bwc-wipe 5s ease var(--reveal-bwc) forwards,
    iridescent 40s ease infinite;
}

/* ─ sign-in / sign-up panel (top right) ──────────────────────── */
.sign-in {
  top: 18px; right: 22px;
  opacity: 0;
  animation: lockup-fade var(--reveal-dur) ease var(--reveal-chrome) forwards;
}
.sign-in-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: rgba(14,17,24,0.96);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
  padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 10px;
  color: rgba(232,238,246,0.9);
}
.sign-in-head { text-align: center; margin-bottom: 4px; }
.sign-in-title {
  font-family: var(--inter);
  font-weight: 600;
  font-size: 17px;
  color: #fff;
}
.sign-in-sub {
  font-family: var(--inter);
  font-size: 12px;
  color: rgba(232,238,246,0.55);
  margin-top: 2px;
}
.sign-in-oauth {
  display: flex; flex-direction: column; gap: 6px;
  margin: 6px 0 4px;
}
.oauth-btn {
  height: 34px;
  border-radius: 6px;
  font-family: var(--inter);
  font-size: 12.5px;
  font-weight: 500;
  cursor: not-allowed;
  opacity: 0.6;
  border: 1px solid transparent;
}
.oauth-google { background: #fff; color: #1f1f1f; border-color: #dadce0; }
.oauth-apple  { background: #000; color: #fff; }
.oauth-github { background: #24292f; color: #fff; }

.sign-in-divider {
  display: flex; align-items: center; gap: 10px;
  margin: 6px 0 2px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232,238,246,0.4);
}
.sign-in-divider::before,
.sign-in-divider::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(255,255,255,0.08);
}

.sign-in-field { display: flex; flex-direction: column; gap: 4px; }
.sign-in-label {
  font-family: var(--inter);
  font-size: 11.5px;
  color: rgba(232,238,246,0.75);
}
.sign-in-label .dim { color: rgba(232,238,246,0.4); font-weight: 400; }

.sign-in-forgot { display: flex; justify-content: flex-end; margin: -2px 0 4px; }
.link-btn {
  background: none; border: none; padding: 0;
  color: var(--mgp-accent-blue, #2d7dd2);
  font-family: var(--inter);
  font-size: 12px;
  cursor: pointer;
}
.link-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.sign-in-submit { margin-top: 4px; }
.sign-in-submit[disabled] { opacity: 0.55; cursor: not-allowed; }

.sign-in-foot {
  text-align: center;
  font-family: var(--inter);
  font-size: 12px;
  color: rgba(232,238,246,0.55);
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.sign-in-foot .link-btn { font-weight: 600; }

/* ─ top-right menu: social icons + sign-in behind one collapse icon ── */
.social {
  top: 18px; right: 22px;
  opacity: 0;
  animation: lockup-fade var(--reveal-dur) ease var(--reveal-chrome) forwards;
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
}
.social .social-items {
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
}
.social a,
.social .social-signin {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: currentColor;
  opacity: 0.75;
  transition: opacity .35s ease, background .35s ease, color .35s ease,
              transform .35s ease;
}
.social a:hover,
.social .social-signin:hover { opacity: 1; background: var(--teal); color: #111; }
.social .social-signin { background: transparent; border: 0; cursor: pointer; }

.social-fab {
  width: 44px; height: 44px;
  align-self: flex-end;
  border-radius: 50%;
  background: rgba(20,17,11,0.55);
  border: 1px solid var(--line);
  color: inherit;
  cursor: pointer;
  padding: 0;
  display: grid; place-items: center;
  backdrop-filter: blur(6px);
  transition: background .25s ease, transform .35s ease;
}
.social-fab:hover { background: rgba(20,17,11,0.75); }
.social-fab .fab-icon {
  display: block;
  transition: transform .35s cubic-bezier(.2,.8,.2,1.05);
}
.social.open .social-fab .fab-icon { transform: rotate(45deg); }

/* collapse: items hidden until the FAB is toggled open (all widths) */
.social.collapsible .social-items { pointer-events: none; }
.social.collapsible .social-items > * {
  opacity: 0;
  transform: translateY(-8px) scale(0.85);
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1.05);
  transition-delay: 0ms;
}
.social.collapsible.open .social-items { pointer-events: auto; }
.social.collapsible.open .social-items > * {
  opacity: 0.75;
  transform: translateY(0) scale(1);
  transition-delay: calc(var(--i, 0) * 45ms + 80ms);
}

/* sign-in is opened from the menu's user icon; only the panel is rendered */
.sign-in { z-index: 60; }
.sign-in-panel { right: 0; width: min(320px, calc(100vw - 32px)); }

/* ─ iridescent text ─────────────────────────────────────────── */
@keyframes lockup-fade {
  to { opacity: 1; }
}

@keyframes bwc-wipe {
  to {
    -webkit-mask-position: 0% 0;
            mask-position: 0% 0;
  }
}

@keyframes iridescent {
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}
.iridescent {
  background: linear-gradient(90deg,
    #90caf9, #80deea, #a5d6a7, #ce93d8, #80cbc4, #90caf9);
  background-size: 300% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: iridescent 40s ease infinite;
}
@media (prefers-reduced-motion: reduce) { .iridescent { animation: none; } }

/* ─ decrypt cursor ──────────────────────────────────────────── */
.decrypt-text { display: inline-block; }

/* ─ signal direction ────────────────────────────────────────── */
.dir-signal {
  background: #06080b;
  color: #d8e0e8;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
}
.dir-signal::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 50%, transparent 0%, rgba(6,8,11,0.6) 70%, rgba(6,8,11,0.95) 100%);
  pointer-events: none;
  z-index: 1;
}
.dir-signal .sig-grid {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  padding: 110px max(6vw, 64px) 100px;
  z-index: 5;
}
.dir-signal .sig-left { display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.dir-signal h1.sig-head {
  font-family: var(--mono); font-weight: 300;
  font-size: clamp(1.6rem, 4.2vw, 3.6rem);
  line-height: 1.04; letter-spacing: -0.025em;
  margin: 0;
  white-space: nowrap;
  position: relative;
  top: -56px;
}
.dir-signal h1.sig-head .accent {
  position: relative;
  display: inline-block;
  color: inherit;
}
.dir-signal h1.sig-head .accent .accent-base {
  color: inherit;
}
.dir-signal h1.sig-head .accent .accent-grad {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #80deea 0%, #a5d6a7 35%, #ce93d8 70%, #ff9aa2 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: accent-fade-in 1200ms ease forwards, iridescent 18s ease infinite;
}
@keyframes accent-fade-in { from { opacity: 0; } to { opacity: 1; } }
.dir-signal .sig-sub {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 640px;
}
.dir-signal .sig-sub p {
  margin: 0;
  font-family: var(--mono); font-size: 16px;
  color: rgba(216,224,232,0.7);
  display: flex; gap: 12px; align-items: baseline;
}
.dir-signal .sig-sub p:first-child { margin-bottom: 18px; font-size: 19px; color: rgba(216,224,232,0.85); }
.dir-signal .sig-sub .arrow { color: var(--teal); }
.dir-signal .sig-sub .inline-chev { margin: 0 2px; }
.dir-signal .sig-cta {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 6;
  display: flex; gap: 14px; align-items: center; margin-top: 8px;
}
.dir-signal .sig-cta .heart { margin-left: 6px; }
.dir-signal .sig-cta .cta-bird {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  transform: scaleX(-1);
  filter: var(--bird-glow);
  opacity: 0;
  animation: lockup-fade var(--reveal-dur) ease var(--reveal-chrome) forwards;
}
/* signal feed footer strip */
.sig-feed-foot {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(216,224,232,0.22);
}

/* signal pipe panel */
.sig-right {
  position: relative;
  border-left: 1px dashed rgba(216,224,232,0.06);
  padding-left: 36px;
  display: flex; flex-direction: column; gap: 10px;
  justify-content: flex-end;
  padding-bottom: 4vh;
  opacity: 0.62;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 92%, transparent 100%);
}
.sig-pipe-head {
  font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(216,224,232,0.32);
  margin-bottom: 4px;
  display: flex; justify-content: space-between; align-items: center;
}
.sig-pipe-head .live {
  display: inline-flex; align-items: center; gap: 7px;
  color: rgba(80,208,168,0.55);
}
.sig-pipe-head .live .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #50d0a8; box-shadow: 0 0 6px rgba(80,208,168,0.5);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 6px rgba(80,208,168,0.5); }
  50%      { opacity: 0.35; box-shadow: 0 0 11px rgba(80,208,168,0.9); }
}
.sig-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  font-family: var(--mono); font-size: 11px;
  padding: 6px 0;
  border-bottom: 1px dotted rgba(216,224,232,0.04);
  opacity: 0;
  animation: sigRowIn 1.4s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes sigRowIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sig-row .ts {
  color: rgba(216,224,232,0.22);
  font-variant-numeric: tabular-nums;
  font-size: 9.5px;
  letter-spacing: 0.04em;
}
.sig-row .body { display: flex; flex-direction: column; gap: 3px; }
.sig-row .headline-text {
  color: rgba(216,224,232,0.55);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 300;
}
.sig-row .meta {
  display: flex; gap: 9px; align-items: center;
  font-size: 9px; letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.sig-row .meta .meta-sep { color: rgba(216,224,232,0.3); }
.sig-row .ent {
  color: rgba(0,191,191,0.7);
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
}
.sig-row .sentiment-pos { color: rgba(80,208,168,0.65); }
.sig-row .sentiment-neg { color: rgba(255,114,104,0.65); }
.sig-row .sentiment-neu { color: rgba(216,224,232,0.35); }
.sig-row .signal-buy   { color: rgba(80,208,168,0.65); font-weight: 400; }
.sig-row .signal-sell  { color: rgba(255,114,104,0.65); font-weight: 400; }
.sig-row .signal-hold  { color: rgba(216,224,232,0.35); }

/* ─ mini carousel (bottom-left) — Blueprint nav buttons ──────── */
.preview-toggle {
  position: relative;
  display: inline-block;
  align-self: flex-start;
}
.mini-carousel {
  position: absolute;
  top: 0; left: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.mini-carousel--open {
  opacity: 1;
  pointer-events: auto;
}
.mini-carousel-list {
  display: flex; flex-direction: row;
  gap: 2px;
  align-items: center;
  padding: 4px 6px;
  background: rgba(20,24,31,0.92);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
}
.mini-carousel-preview {
  width: 0; height: 0;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  transition: width .35s cubic-bezier(.2,.8,.2,1.05),
              height .35s cubic-bezier(.2,.8,.2,1.05),
              border-color .25s ease,
              background .25s ease;
}
.mini-carousel-preview--open {
  width: auto;
  height: 360px;
  border-color: rgba(255,255,255,0.1);
  background: rgba(20,24,31,0.92);
  display: flex; flex-direction: column;
}
.mini-preview-tagline {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-family: var(--mono);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(232,238,246,0.75);
}
.mini-preview-placeholder {
  flex: 1 1 auto;
  margin: 2px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
  display: grid; place-items: stretch;
  background: rgba(0,0,0,0.25);
  min-height: 0;
}
.mini-preview-image {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: top left;
  display: block;
}
.mini-preview-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232,238,246,0.55);
}
.featured-shot {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 9px 18px;
  margin: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
  transition: background .25s ease, border-color .25s ease, color .25s ease,
              transform .2s ease, box-shadow .35s ease, opacity 1.5s ease;
  opacity: 0;
}
.preview-toggle--ready .featured-shot {
  opacity: 1;
  animation: featured-pulse 2.4s ease-in-out infinite;
}
.featured-shot--hidden { visibility: hidden; }
.featured-shot::after {
  content: '›';
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform .25s ease;
}
.preview-toggle--ready .featured-shot:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.30);
  animation: none;
}
.featured-shot:hover::after { transform: translateX(2px) translateY(-1px); }
.featured-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: lowercase;
}
@keyframes featured-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35); }
  50%     { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}

.mini-carousel .mini-nav-btn {
  justify-content: center;
  opacity: 0.6;
  border-radius: 3px;
  transition: opacity .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}
.mini-carousel .mini-nav-btn .bp6-button-text {
  font-weight: 300;
  letter-spacing: 0.04em;
}
.mini-carousel .mini-nav-btn:hover {
  opacity: 1;
  color: #5ce1e6 !important;
  background: rgba(92, 225, 230, 0.08) !important;
}
.mini-carousel .mini-nav-btn:hover .bp6-icon { color: #5ce1e6; }
.mini-carousel .mini-nav-btn:active,
.mini-carousel .mini-nav-btn.is-active {
  opacity: 1;
  color: #5ce1e6 !important;
  border-bottom: 3px solid #5ce1e6;
  box-shadow: 0 2px 8px rgba(92, 225, 230, 0.45);
}

/* ─ canvas ambient ──────────────────────────────────────────── */
canvas.ambient {
  position: fixed; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  display: block;
  pointer-events: none;
}

/* ─ direction switcher fade ─────────────────────────────────── */
.fade-enter { animation: fadeIn .55s ease forwards; }
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─ mobile ──────────────────────────────────────────────────── */
@media (max-width: 760px) {
  /* fresh start: ambient + lockup (top-left) + CTA + top-right menu.
     The top-right menu (social + sign-in) is now global; see .social above. */

  /* main lockup — top-left, compact, bird in-flow beside the text */
  .nav-replica {
    --s: 1.2;
    top: 18px; left: 14px;
    transform: none;
    display: flex; align-items: center;
  }
  .nav-replica .lockup-bird { position: static; transform: none; }

  /* keep the foreground transparent so the ambient shows through */
  .dir-signal { background: transparent; background-image: none; }
  .dir-signal::before { display: none; }
  .dir-signal .sig-grid {
    pointer-events: none;
    grid-template-columns: 1fr; padding: 168px 14px 88px;
  }
  .dir-signal .sig-left { justify-content: flex-start; gap: 22px; }
  .sig-right { display: none; }
  /* preview button — interactive over the pointer-events:none grid, set a
     respectable gap below the bullets */
  .dir-signal .preview-toggle { pointer-events: auto; margin-top: 38px; }

  /* preview navbar — opens downward from the button, fit to the viewport
     (it was running ~200px off the right edge) */
  .mini-carousel { width: max-content; max-width: calc(100vw - 28px); }
  /* preview tagline — full text on one line, font scaled so the longest fits */
  .mini-preview-tagline {
    white-space: nowrap;
    font-size: min(11px, calc((100vw - 44px) / 46));
    padding: 8px 12px;
  }

  /* section list on one line — labels only, subtle separators (no icons) */
  .mini-carousel-list { flex-wrap: nowrap; gap: 0; padding: 3px 4px; max-width: calc(100vw - 28px); }
  .mini-carousel .mini-nav-btn { padding: 5px 9px !important; min-height: 0 !important; border-radius: 0 !important; }
  .mini-carousel .mini-nav-btn .bp6-icon { display: none !important; }
  .mini-carousel .mini-nav-btn .bp6-button-text { font-size: 11px; }
  .mini-carousel-list .mini-nav-btn + .mini-nav-btn { border-left: 1px solid rgba(255,255,255,0.14); }
  .mini-carousel-preview--open {
    width: calc(100vw - 28px); max-width: calc(100vw - 28px);
    height: 300px;
  }

  /* headline — single line, sized to the viewport so it always fits */
  .dir-signal h1.sig-head {
    white-space: nowrap; top: 0;
    font-size: min(5.2vw, 2.1rem);
  }

  /* bullet subtext — each line on a single line, sized so the longest fits */
  .dir-signal .sig-sub { gap: 12px; margin-top: 22px; }
  .dir-signal .sig-sub p,
  .dir-signal .sig-sub p:first-child {
    display: block; white-space: nowrap;
    font-size: min(2.6vw, 13px);
    margin: 0;
  }
  .dir-signal .sig-sub .arrow { margin-right: 6px; }

  /* CTA stays pinned bottom-right (its default absolute position), one line */
  .dir-signal .sig-cta { pointer-events: auto; }
  .dir-signal .sig-cta .contact-link { white-space: nowrap; }
}

/* small phones — shrink the lockup further so it clears the side margins */
@media (max-width: 400px) {
  .nav-replica { --s: 1.2; }
}
