.abd-header-shell {
  --abd-bg: #061521;
  --abd-panel: #0b2537;
  --abd-text: #f6f9fb;
  --abd-muted: #89a7b9;
  --abd-accent: #f08a3c;
  --abd-steel: #2a789f;
  --abd-border: color-mix(in srgb, var(--abd-steel) 24%, transparent);
  --abd-max: 1920px;
  --abd-edge-gap: 12px;
  --abd-mx: 0;
  --abd-my: 0;
  --abd-progress: 0;
  --abd-speed: 1;
  position: relative;
  z-index: 99;
  width: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.abd-header-shell--motion-calm { --abd-speed: 1.35; }
.abd-header-shell--motion-balanced { --abd-speed: 1; }
.abd-header-shell--motion-dynamic { --abd-speed: .72; }

.abd-header-shell--sticky {
  position: sticky;
  top: 0;
  transition: transform .42s cubic-bezier(.22,1,.36,1);
}

.abd-header-shell--smart-hide.is-hidden {
  transform: translateY(calc(-100% - 10px));
}

.admin-bar .abd-header-shell--sticky { top: 32px; }

.abd-header {
  position: relative;
  isolation: isolate;
  overflow: visible;
  color: var(--abd-text);
  background:
    radial-gradient(circle at 15% -50%, color-mix(in srgb, var(--abd-steel) 18%, transparent), transparent 44%),
    radial-gradient(circle at 86% -45%, color-mix(in srgb, var(--abd-accent) 9%, transparent), transparent 40%),
    linear-gradient(180deg, color-mix(in srgb, var(--abd-panel) 84%, var(--abd-bg)), var(--abd-bg));
  border-bottom: 1px solid var(--abd-border);
  box-shadow: 0 8px 28px rgba(1, 10, 17, .16);
  transition: background .34s ease, box-shadow .34s ease, border-color .34s ease;
}

.abd-header-shell.is-scrolled .abd-header {
  background: color-mix(in srgb, var(--abd-bg) 90%, transparent);
  box-shadow: 0 16px 38px rgba(1, 10, 17, .28);
  backdrop-filter: blur(20px) saturate(138%);
  -webkit-backdrop-filter: blur(20px) saturate(138%);
  border-color: color-mix(in srgb, var(--abd-steel) 34%, transparent);
}

.abd-header__ambient,
.abd-header__blueprint,
.abd-header__scanline,
.abd-header__edge-beam,
.abd-header__crosshair,
.abd-header__node {
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

/*
 * Motion containment layer. Keeps the original full v2.1 light/scan animations
 * while preventing their off-canvas travel from increasing page width.
 */
.abd-header__motion-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.abd-header__motion-clip .abd-header__scanline,
.abd-header__motion-clip .abd-header__edge-beam {
  z-index: auto;
}

.abd-header__ambient {
  inset: 0;
  overflow: hidden;
}

.abd-header__ambient::before,
.abd-header__ambient::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(72px);
  opacity: .08;
}

.abd-header__ambient::before {
  left: -110px;
  top: -170px;
  background: var(--abd-steel);
  transform: translate3d(calc(var(--abd-mx) * 10px), calc(var(--abd-my) * 5px), 0);
}

.abd-header__ambient::after {
  right: -100px;
  top: -185px;
  background: var(--abd-accent);
  transform: translate3d(calc(var(--abd-mx) * -9px), calc(var(--abd-my) * 6px), 0);
}

.abd-header__blueprint {
  inset: 0;
  overflow: hidden;
  opacity: .2;
  background-image:
    linear-gradient(color-mix(in srgb, var(--abd-steel) 15%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--abd-steel) 15%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--abd-steel) 7%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--abd-steel) 7%, transparent) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px, 12px 12px, 12px 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.abd-header-shell--motion .abd-header__blueprint {
  animation: abd-grid-drift calc(18s * var(--abd-speed)) linear infinite;
}

.abd-header__scanline {
  top: 0;
  bottom: 0;
  width: 130px;
  left: -150px;
  opacity: 0;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--abd-steel) 12%, transparent), color-mix(in srgb, var(--abd-accent) 12%, transparent), transparent);
  filter: blur(2px);
}

.abd-header-shell--motion .abd-header__scanline {
  animation: abd-scan calc(9s * var(--abd-speed)) cubic-bezier(.4,0,.2,1) infinite;
}

.abd-header__edge-beam {
  left: 0;
  bottom: -1px;
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--abd-accent), var(--abd-steel), transparent);
  opacity: .8;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--abd-accent) 35%, transparent));
}

.abd-header-shell--motion .abd-header__edge-beam {
  animation: abd-edge-run calc(7s * var(--abd-speed)) ease-in-out infinite;
}

.abd-header__topline {
  width: 100%;
  max-width: var(--abd-max);
  min-height: 18px;
  margin: 0 auto;
  padding-left: var(--abd-edge-gap);
  padding-right: var(--abd-edge-gap);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 5px;
  color: color-mix(in srgb, var(--abd-muted) 80%, white 8%);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  opacity: .72;
}

.abd-header__topline-left,
.abd-header__topline-right { white-space: nowrap; }
.abd-header__topline-right { margin-left: auto; }

.abd-header__data-stream {
  position: relative;
  height: 9px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  opacity: .62;
}

.abd-header__data-stream::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--abd-steel) 26%, transparent), transparent);
}

.abd-header__data-stream i {
  position: relative;
  width: 3px;
  height: 3px;
  flex: 0 0 3px;
  border-radius: 50%;
  background: var(--abd-steel);
  box-shadow: 0 0 7px color-mix(in srgb, var(--abd-steel) 58%, transparent);
}

.abd-header__data-stream i:nth-child(3n) { background: var(--abd-accent); }
.abd-header-shell--motion .abd-header__data-stream i { animation: abd-data calc(4.8s * var(--abd-speed)) ease-in-out infinite; }
.abd-header-shell--motion .abd-header__data-stream i:nth-child(2) { animation-delay: -.7s; }
.abd-header-shell--motion .abd-header__data-stream i:nth-child(3) { animation-delay: -1.4s; }
.abd-header-shell--motion .abd-header__data-stream i:nth-child(4) { animation-delay: -2.1s; }
.abd-header-shell--motion .abd-header__data-stream i:nth-child(5) { animation-delay: -2.8s; }
.abd-header-shell--motion .abd-header__data-stream i:nth-child(6) { animation-delay: -3.5s; }
.abd-header-shell--motion .abd-header__data-stream i:nth-child(7) { animation-delay: -4.2s; }

.abd-header__inner {
  width: 100%;
  max-width: var(--abd-max);
  min-height: 72px;
  margin: 0 auto;
  padding-left: var(--abd-edge-gap);
  padding-right: var(--abd-edge-gap);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 3;
}

.abd-header__brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.abd-header__logo-frame {
  position: relative;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--abd-panel) 94%, white 4%), color-mix(in srgb, var(--abd-bg) 92%, black 8%));
  border: 1px solid color-mix(in srgb, var(--abd-steel) 36%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 9px 22px rgba(0,0,0,.18);
  overflow: visible;
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .3s ease;
}

.abd-header__logo {
  width: 49px;
  height: 49px;
  display: block;
  object-fit: contain;
  border-radius: 13px;
  position: relative;
  z-index: 2;
}

.abd-header__logo-orbit,
.abd-header__logo-pulse,
.abd-header__logo-ticks {
  position: absolute;
  inset: -5px;
  border-radius: 20px;
  pointer-events: none;
}

.abd-header__logo-orbit {
  border: 1px solid color-mix(in srgb, var(--abd-steel) 24%, transparent);
}

.abd-header__logo-orbit i {
  position: absolute;
  width: 5px;
  height: 5px;
  right: 6px;
  top: 2px;
  border-radius: 50%;
  background: var(--abd-accent);
  box-shadow: 0 0 9px color-mix(in srgb, var(--abd-accent) 60%, transparent);
}

.abd-header__logo-pulse {
  inset: -1px;
  border: 1px solid color-mix(in srgb, var(--abd-accent) 28%, transparent);
  opacity: 0;
}

.abd-header__logo-ticks {
  inset: -9px;
  opacity: .52;
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--abd-steel) 42%, transparent) 0 1deg, transparent 1deg 18deg);
  -webkit-mask: radial-gradient(circle, transparent 67%, #000 68% 71%, transparent 72%);
  mask: radial-gradient(circle, transparent 67%, #000 68% 71%, transparent 72%);
}

.abd-header-shell--motion .abd-header__logo-orbit { animation: abd-orbit calc(13s * var(--abd-speed)) linear infinite; }
.abd-header-shell--motion .abd-header__logo-ticks { animation: abd-orbit-reverse calc(24s * var(--abd-speed)) linear infinite; }
.abd-header-shell--motion .abd-header__logo-pulse { animation: abd-logo-pulse calc(4.2s * var(--abd-speed)) ease-out infinite; }

.abd-header__brand-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.abd-header__eyebrow {
  color: var(--abd-accent);
  font-size: 7px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .9;
}

.abd-header__brand-name {
  display: block;
  color: var(--abd-text);
  font-weight: 850;
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1;
  letter-spacing: .085em;
  white-space: nowrap;
}

.abd-header__tagline {
  display: block;
  color: var(--abd-muted);
  font-size: 9.5px;
  line-height: 1.3;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 390px;
}

.abd-header__nav {
  min-width: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.abd-header__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1px;
}

.abd-header__nav-item { margin: 0; padding: 0; }

.abd-header__nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  color: color-mix(in srgb, var(--abd-text) 82%, var(--abd-muted));
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .012em;
  text-decoration: none;
  border-radius: 11px;
  transition: color .25s ease, background .25s ease, transform .3s cubic-bezier(.22,1,.36,1);
}

.abd-header__nav-index,
.abd-header__nav-arrow { display: none; }

.abd-header__nav-link::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--abd-accent), var(--abd-steel));
  box-shadow: 0 0 8px color-mix(in srgb, var(--abd-accent) 25%, transparent);
  transition: transform .32s cubic-bezier(.22,1,.36,1);
}

.abd-header__nav-link.is-current {
  color: var(--abd-text);
  background: color-mix(in srgb, var(--abd-steel) 9%, transparent);
}

.abd-header__nav-link.is-current::before { transform: scaleX(1); }

.abd-header__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 17px;
  border-radius: 13px;
  color: #fff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 780;
  letter-spacing: .02em;
  background: linear-gradient(135deg, var(--abd-accent), color-mix(in srgb, var(--abd-accent) 76%, #9f4816));
  border: 1px solid color-mix(in srgb, var(--abd-accent) 72%, white 10%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 24px rgba(0,0,0,.16);
  overflow: hidden;
  transform: translateZ(0);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease;
}

.abd-header__cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(112deg, transparent 18%, rgba(255,255,255,.24) 42%, transparent 64%);
  transform: translateX(-145%);
}

.abd-header__cta-grid {
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image:
    linear-gradient(rgba(255,255,255,.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.45) 1px, transparent 1px);
  background-size: 9px 9px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000, transparent);
  mask-image: linear-gradient(90deg, transparent, #000, transparent);
}

.abd-header__cta-dot {
  position: relative;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.12);
}

.abd-header-shell--motion .abd-header__cta::before { animation: abd-cta-sweep calc(5.2s * var(--abd-speed)) ease-in-out infinite; }
.abd-header-shell--motion .abd-header__cta-dot { animation: abd-cta-dot calc(2.2s * var(--abd-speed)) ease-in-out infinite; }

.abd-header__cta > * { position: relative; z-index: 1; }
.abd-header__cta svg { width: 16px; height: 16px; flex: 0 0 16px; transition: transform .28s ease; }

.abd-header__menu-toggle {
  display: none;
  min-width: 54px;
  height: 46px;
  padding: 0 11px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--abd-border);
  border-radius: 13px;
  background: color-mix(in srgb, var(--abd-panel) 84%, transparent);
  color: var(--abd-text);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: border-color .28s ease, background .28s ease, transform .28s ease;
}

.abd-header__menu-label {
  display: none;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}

.abd-header__menu-icon {
  width: 20px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.abd-header__menu-icon i {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition: transform .34s cubic-bezier(.22,1,.36,1), opacity .22s ease, width .28s ease;
}

.abd-header__menu-icon i:nth-child(2) { width: 14px; margin-left: 6px; }

.abd-header-shell.is-menu-open .abd-header__menu-icon i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.abd-header-shell.is-menu-open .abd-header__menu-icon i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.abd-header-shell.is-menu-open .abd-header__menu-icon i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.abd-header__mobile-title,
.abd-header__mobile-trust { display: none; }

.abd-header__status {
  width: 100%;
  max-width: var(--abd-max);
  margin: -3px auto 0;
  padding: 0 var(--abd-edge-gap) 6px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in srgb, var(--abd-muted) 92%, white 8%);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.abd-header__status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--abd-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--abd-accent) 14%, transparent);
}

.abd-header__status-line {
  position: relative;
  height: 1px;
  flex: 1;
  overflow: hidden;
  background: linear-gradient(90deg, color-mix(in srgb, var(--abd-steel) 30%, transparent), transparent 80%);
}

.abd-header__status-line i {
  position: absolute;
  top: 0;
  left: -70px;
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--abd-steel), transparent);
}

.abd-header__status-code { color: color-mix(in srgb, var(--abd-muted) 74%, transparent); white-space: nowrap; }
.abd-header-shell--motion .abd-header__status-dot { animation: abd-dot calc(2.5s * var(--abd-speed)) ease-in-out infinite; }
.abd-header-shell--motion .abd-header__status-line i { animation: abd-status-run calc(6.2s * var(--abd-speed)) ease-in-out infinite; }

.abd-header__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.abd-header__progress i {
  display: block;
  height: 100%;
  width: calc(var(--abd-progress) * 100%);
  background: linear-gradient(90deg, var(--abd-steel), var(--abd-accent));
  box-shadow: 0 0 8px color-mix(in srgb, var(--abd-accent) 34%, transparent);
  transition: width .08s linear;
}

.abd-header__crosshair {
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  opacity: .11;
  transform: translate3d(calc(-50% + var(--abd-mx) * 42px), calc(-50% + var(--abd-my) * 18px), 0);
  border: 1px solid var(--abd-steel);
  border-radius: 50%;
  transition: transform .12s linear;
}

.abd-header__crosshair::before,
.abd-header__crosshair::after {
  content: "";
  position: absolute;
  background: var(--abd-steel);
}
.abd-header__crosshair::before { width: 52px; height: 1px; left: -9px; top: 17px; }
.abd-header__crosshair::after { width: 1px; height: 52px; left: 17px; top: -9px; }
.abd-header__crosshair i,
.abd-header__crosshair b { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--abd-accent); }
.abd-header__crosshair i { left: 16px; top: 16px; }
.abd-header__crosshair b { right: -2px; top: 16px; }

.abd-header__node {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--abd-steel);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--abd-steel) 10%, transparent), 0 0 9px color-mix(in srgb, var(--abd-steel) 45%, transparent);
  opacity: .5;
}
.abd-header__node::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 1px;
  top: 1.5px;
  background: linear-gradient(90deg, currentColor, transparent);
  opacity: .32;
}
.abd-header__node--one { left: 9%; top: 24%; color: var(--abd-steel); }
.abd-header__node--two { left: 42%; bottom: 19%; color: var(--abd-accent); background: var(--abd-accent); }
.abd-header__node--three { right: 23%; top: 27%; color: var(--abd-steel); }
.abd-header__node--four { right: 6%; bottom: 23%; color: var(--abd-accent); background: var(--abd-accent); }
.abd-header-shell--motion .abd-header__node { animation: abd-node calc(5.4s * var(--abd-speed)) ease-in-out infinite; }
.abd-header-shell--motion .abd-header__node--two { animation-delay: -1.7s; }
.abd-header-shell--motion .abd-header__node--three { animation-delay: -3.2s; }
.abd-header-shell--motion .abd-header__node--four { animation-delay: -4.3s; }

.abd-header__nav-link:focus-visible,
.abd-header__cta:focus-visible,
.abd-header__brand:focus-visible,
.abd-header__menu-toggle:focus-visible {
  outline: 2px solid var(--abd-accent);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .abd-header__brand:hover .abd-header__logo-frame { transform: translateY(-2px) rotate(-.8deg); border-color: color-mix(in srgb, var(--abd-accent) 48%, transparent); }
  .abd-header__nav-link:hover { color: var(--abd-text); background: rgba(255,255,255,.034); transform: translateY(-1px); }
  .abd-header__nav-link:hover::before { transform: scaleX(1); }
  .abd-header__cta:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 15px 32px color-mix(in srgb, var(--abd-accent) 21%, transparent); }
  .abd-header__cta:hover svg { transform: translateX(3px); }
  .abd-header__menu-toggle:hover { border-color: color-mix(in srgb, var(--abd-steel) 52%, transparent); background: color-mix(in srgb, var(--abd-panel) 94%, transparent); }
}

@media (max-width: 1180px) {
  .abd-header__tagline { max-width: 255px; }
  .abd-header__nav-link { padding-left: 8px; padding-right: 8px; font-size: 11.5px; }
  .abd-header__nav { gap: 8px; }
  .abd-header__cta { padding-left: 13px; padding-right: 13px; }
}

@media (max-width: 980px) {
  .abd-header__menu-toggle { display: inline-flex; margin-left: auto; }
  .abd-header__menu-label { display: inline-block; }

  .abd-header__nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    padding: 17px;
    border-radius: 21px;
    border: 1px solid color-mix(in srgb, var(--abd-steel) 30%, transparent);
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--abd-panel) 96%, transparent), color-mix(in srgb, var(--abd-bg) 98%, transparent));
    backdrop-filter: blur(24px) saturate(138%);
    -webkit-backdrop-filter: blur(24px) saturate(138%);
    box-shadow: 0 26px 60px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.055);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(.978);
    transform-origin: top center;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease, transform .42s cubic-bezier(.22,1,.36,1);
    overflow: hidden;
  }

  .abd-header__nav::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .16;
    background-image:
      linear-gradient(color-mix(in srgb, var(--abd-steel) 18%, transparent) 1px, transparent 1px),
      linear-gradient(90deg, color-mix(in srgb, var(--abd-steel) 18%, transparent) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
    mask-image: linear-gradient(180deg, #000, transparent 80%);
  }

  .abd-header__nav::after {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--abd-accent), var(--abd-steel), transparent);
    opacity: .65;
  }

  .abd-header-shell.is-menu-open .abd-header__nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .abd-header__mobile-title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 3px 9px;
    border-bottom: 1px solid color-mix(in srgb, var(--abd-steel) 20%, transparent);
  }
  .abd-header__mobile-title span { font-size: 13px; font-weight: 780; letter-spacing: .04em; color: var(--abd-text); }
  .abd-header__mobile-title small { font-size: 7px; letter-spacing: .14em; color: var(--abd-accent); font-weight: 800; }

  .abd-header__nav-list { position: relative; z-index: 1; display: grid; gap: 4px; }
  .abd-header__nav-item {
    opacity: 0;
    transform: translateY(-7px);
    transition: opacity .32s ease, transform .38s cubic-bezier(.22,1,.36,1);
  }
  .abd-header-shell.is-menu-open .abd-header__nav-item {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(.045s * var(--abd-item-index));
  }

  .abd-header__nav-link {
    width: 100%;
    min-height: 50px;
    padding: 0 12px;
    font-size: 14px;
    border: 1px solid transparent;
    background: color-mix(in srgb, var(--abd-panel) 40%, transparent);
  }
  .abd-header__nav-link::before { display: none; }
  .abd-header__nav-link.is-current { border-color: color-mix(in srgb, var(--abd-steel) 28%, transparent); }
  .abd-header__nav-index { display: inline-flex; width: 28px; color: var(--abd-accent); font-size: 8px; letter-spacing: .08em; font-weight: 800; }
  .abd-header__nav-text { flex: 1; }
  .abd-header__nav-arrow { display: inline-block; color: var(--abd-muted); font-size: 13px; }

  .abd-header__cta { position: relative; z-index: 1; width: 100%; min-height: 52px; }

  .abd-header__mobile-trust {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .abd-header__mobile-trust > span {
    min-width: 0;
    padding: 10px 8px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--abd-steel) 17%, transparent);
    background: rgba(255,255,255,.02);
  }
  .abd-header__mobile-trust b { display: block; color: var(--abd-text); font-size: 10px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .abd-header__mobile-trust small { display: block; margin-top: 3px; color: var(--abd-muted); font-size: 7px; line-height: 1.2; text-transform: uppercase; letter-spacing: .07em; }

  .abd-header__crosshair { display: none; }
}

@media (max-width: 640px) {
  .abd-header__topline { display: none; }
  .abd-header__inner { min-height: 67px; gap: 9px; }
  .abd-header__logo-frame { width: 48px; height: 48px; flex-basis: 48px; border-radius: 14px; }
  .abd-header__logo { width: 42px; height: 42px; border-radius: 11px; }
  .abd-header__logo-orbit { inset: -4px; border-radius: 17px; }
  .abd-header__logo-ticks { inset: -7px; }
  .abd-header__brand { gap: 9px; min-width: 0; }
  .abd-header__brand-copy { max-width: calc(100vw - 145px); }
  .abd-header__eyebrow { display: none; }
  .abd-header__brand-name { font-size: 15px; letter-spacing: .065em; }
  .abd-header__tagline { font-size: 7.7px; max-width: 100%; }
  .abd-header__menu-toggle { min-width: 47px; width: 47px; padding: 0; }
  .abd-header__menu-label { display: none; }
  .abd-header__nav { left: var(--abd-edge-gap); right: var(--abd-edge-gap); top: calc(100% + 7px); padding: 14px; border-radius: 18px; gap: 11px; }
  .abd-header__mobile-title span { font-size: 12px; }
  .abd-header__mobile-trust { grid-template-columns: 1fr 1fr; }
  .abd-header__mobile-trust > span:last-child { grid-column: 1 / -1; }
  .abd-header__status { font-size: 7px; letter-spacing: .1em; }
  .abd-header__status-code { display: none; }
  .abd-header__blueprint { opacity: .13; }
}

@media (max-width: 782px) {
  .admin-bar .abd-header-shell--sticky { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .abd-header-shell *,
  .abd-header-shell *::before,
  .abd-header-shell *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .abd-header__crosshair { display: none !important; }
}

@keyframes abd-grid-drift {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 48px 0, 0 48px, 12px 0, 0 12px; }
}

@keyframes abd-scan {
  0%, 14% { left: -150px; opacity: 0; }
  22% { opacity: .5; }
  68% { opacity: .35; }
  76%, 100% { left: calc(100% + 150px); opacity: 0; }
}

@keyframes abd-edge-run {
  0%, 12% { left: -190px; transform: translateX(0); opacity: 0; }
  24% { opacity: .9; }
  72% { opacity: .7; }
  86%, 100% { left: calc(100% + 10px); transform: translateX(0); opacity: 0; }
}

@keyframes abd-data {
  0%, 100% { transform: translateY(0) scale(.78); opacity: .36; }
  50% { transform: translateY(-2px) scale(1.15); opacity: 1; }
}

@keyframes abd-orbit { to { transform: rotate(360deg); } }
@keyframes abd-orbit-reverse { to { transform: rotate(-360deg); } }

@keyframes abd-logo-pulse {
  0% { transform: scale(.96); opacity: 0; }
  24% { opacity: .38; }
  70%, 100% { transform: scale(1.2); opacity: 0; }
}

@keyframes abd-cta-sweep {
  0%, 56% { transform: translateX(-145%); }
  72% { transform: translateX(145%); }
  100% { transform: translateX(145%); }
}

@keyframes abd-cta-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,255,255,.1); }
  50% { box-shadow: 0 0 0 7px rgba(255,255,255,.035); }
}

@keyframes abd-dot {
  0%, 100% { opacity: .5; box-shadow: 0 0 0 3px color-mix(in srgb, var(--abd-accent) 12%, transparent); }
  50% { opacity: 1; box-shadow: 0 0 0 5px color-mix(in srgb, var(--abd-accent) 5%, transparent), 0 0 8px color-mix(in srgb, var(--abd-accent) 48%, transparent); }
}

@keyframes abd-status-run {
  0%, 10% { transform: translateX(-90px); opacity: 0; }
  24% { opacity: .8; }
  76% { opacity: .55; }
  92%, 100% { transform: translateX(1200px); opacity: 0; }
}

@keyframes abd-node {
  0%, 100% { transform: translate3d(0,0,0) scale(.85); opacity: .22; }
  50% { transform: translate3d(6px,-2px,0) scale(1.12); opacity: .72; }
}

/* v2.4 mobile overflow hardening: keep decorative motion rich without changing viewport width. */
.abd-header-shell,
.abd-header { max-width: 100%; min-width: 0; }
.abd-header__decor-clip {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  contain: paint;
}
.abd-header__decor-clip .abd-header__ambient,
.abd-header__decor-clip .abd-header__blueprint,
.abd-header__decor-clip .abd-header__motion-clip,
.abd-header__decor-clip .abd-header__crosshair,
.abd-header__decor-clip .abd-header__node { z-index: auto; }
.abd-header__node::after { left: 4px; right: auto; }
.abd-header__node--three::after,
.abd-header__node--four::after {
  left: auto;
  right: 4px;
  background: linear-gradient(270deg, currentColor, transparent);
}

@media (max-width: 980px) {
  .abd-header-shell { max-width: 100%; }
  .abd-header { max-width: 100%; }
  .abd-header__inner,
  .abd-header__status { max-width: 100%; }
}

@media (max-width: 640px) {
  /* Orbit/pulse remain animated, but move inside the 48px logo footprint so scaling cannot widen the page. */
  .abd-header__logo-frame { overflow: hidden; }
  .abd-header__logo-orbit { inset: 2px; border-radius: 13px; }
  .abd-header__logo-pulse { inset: 2px; border-radius: 13px; }
  .abd-header__logo-ticks { inset: -1px; opacity: .48; }
  .abd-header-shell--motion .abd-header__logo-pulse { animation-name: abd-logo-pulse-mobile; }
  .abd-header__node--four { right: 9%; }
}

@keyframes abd-logo-pulse-mobile {
  0% { transform: scale(.96); opacity: 0; }
  24% { opacity: .36; }
  70%, 100% { transform: scale(1.08); opacity: 0; }
}
