/* NexusArc homepage OS — Midnight Porcelain + Copper, enlarged centered launcher, 2026-07-23 */
body.nx5-home {
  --nx5-bg: #090C11;
  --nx5-bg-deep: #0D131A;
  --nx5-surface: #151C24;
  --nx5-elevated: #202934;
  --nx5-frost: rgba(214, 226, 240, 0.08);
  --nx5-frost-strong: rgba(214, 226, 240, 0.14);
  --nx5-focus: #A7C5F2;
  --nx5-focus-rgb: 167, 197, 242;
  --nx5-copper: #C58A5A;
  --nx5-copper-rgb: 197, 138, 90;
  --nx5-text: #F3F4F5;
  --nx5-secondary: #A2ABB5;
  --nx5-quiet: #737D88;
  --nx5-border: #2B3540;
  --nx5-success: #7FAE98;
  --nx5-warning: #D3A36F;
  --nx5-error: #D67973;
  --nx5-shadow: 0 30px 90px rgba(0, 0, 0, .42);
  --nx5-radius-xl: 34px;
  --nx5-radius-lg: 25px;
  --nx5-radius-md: 18px;
  margin: 0;
  min-height: 100vh;
  color: var(--nx5-text);
  background: var(--nx5-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  color-scheme: dark;
}

body.nx5-home::before,
body.nx5-home::after { content: none !important; }

body.nx5-home *,
body.nx5-home *::before,
body.nx5-home *::after { box-sizing: border-box; }

body.nx5-home a { color: inherit; text-decoration: none; }
body.nx5-home img { display: block; max-width: 100%; }
body.nx5-home button,
body.nx5-home a { -webkit-tap-highlight-color: transparent; }

body.nx5-home .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.nx5-skip {
  position: fixed !important;
  left: 18px !important;
  top: -80px !important;
  z-index: 1000;
  border-radius: 999px;
  padding: .8rem 1rem;
  background: var(--nx5-focus) !important;
  color: var(--nx5-bg) !important;
  transition: top .16s ease;
}
.nx5-skip:focus { top: 18px !important; }

.nx5-app {
  min-height: 100vh;
  isolation: isolate;
  background:
    radial-gradient(circle at 14% -6%, rgba(var(--nx5-focus-rgb), .08), transparent 28rem),
    radial-gradient(circle at 92% 10%, rgba(var(--nx5-copper-rgb), .055), transparent 28rem),
    linear-gradient(180deg, var(--nx5-bg-deep), var(--nx5-bg) 42%, #07090C);
}

.nx5-utility {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 76px;
  padding: 14px clamp(18px, 3.7vw, 68px);
  background: linear-gradient(180deg, rgba(9, 12, 17, .86), rgba(9, 12, 17, .44) 72%, transparent);
  backdrop-filter: blur(16px) saturate(1.08);
}

.nx5-brand {
  display: inline-flex;
  color: var(--nx5-text) !important;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border-radius: 18px;
}

.nx5-brand:hover,
.nx5-brand:focus-visible { color: var(--nx5-text) !important; }

.nx5-brand img {
  width: 44px;
  height: 44px;
  filter: grayscale(1) brightness(1.85) contrast(1.05) drop-shadow(0 0 20px rgba(var(--nx5-focus-rgb), .18));
}

.nx5-brand span { display: grid; line-height: 1; }
.nx5-brand strong {
  font-size: .98rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.nx5-brand small {
  margin-top: .36rem;
  color: var(--nx5-quiet);
  font: 700 .61rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nx5-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nx5-search,
.nx5-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid rgba(214, 226, 240, .12);
  border-radius: 999px;
  background: rgba(21, 28, 36, .56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  backdrop-filter: blur(18px);
}

.nx5-search {
  padding: .65rem .7rem .65rem .9rem;
  color: var(--nx5-secondary);
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}
.nx5-search img {
  width: 20px;
  height: 20px;
  filter: grayscale(1) brightness(2.1);
  opacity: .86;
}
.nx5-search span { font-weight: 750; }
.nx5-search kbd,
.nx5-stage-hints kbd {
  display: inline-grid;
  min-width: 24px;
  min-height: 24px;
  place-items: center;
  border: 1px solid rgba(214, 226, 240, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  color: var(--nx5-secondary);
  font: 700 .72rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.nx5-search:hover,
.nx5-search:focus-visible {
  color: var(--nx5-text);
  border-color: rgba(var(--nx5-focus-rgb), .48);
  background: rgba(32, 41, 52, .8);
  transform: translateY(-1px);
}

.nx5-status {
  padding: .65rem .95rem;
  color: var(--nx5-secondary);
  font: 700 .69rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nx5-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nx5-success);
  box-shadow: 0 0 14px rgba(127, 174, 152, .5);
}
.nx5-status time { color: var(--nx5-text); }

.nx5-main { min-height: 100vh; }

.nx5-stage {
  position: relative;
  min-height: min(930px, 100svh);
  overflow: hidden;
  border-bottom: 1px solid rgba(214, 226, 240, .09);
}

.nx5-backdrop,
.nx5-backdrop-layer,
.nx5-backdrop-sheen,
.nx5-backdrop-noise {
  position: absolute;
  inset: 0;
}

.nx5-backdrop { z-index: -2; background: var(--nx5-bg-deep); }
.nx5-backdrop-layer {
  opacity: 0;
  background-size: cover;
  background-position: center 34%;
  transform: scale(1.035);
  filter: saturate(.86) contrast(1.04) brightness(.72);
  transition: opacity .68s ease, transform 7s ease;
}
.nx5-backdrop-layer.is-visible { opacity: .63; transform: scale(1.01); }
.nx5-backdrop-sheen {
  z-index: 2;
  background:
    radial-gradient(circle at 74% 30%, transparent 0 10%, rgba(9, 12, 17, .08) 30%, rgba(9, 12, 17, .78) 76%),
    linear-gradient(90deg, rgba(9, 12, 17, .96) 0%, rgba(9, 12, 17, .72) 34%, rgba(9, 12, 17, .26) 68%, rgba(9, 12, 17, .66) 100%),
    linear-gradient(180deg, rgba(9, 12, 17, .32), rgba(9, 12, 17, .18) 42%, rgba(9, 12, 17, .95) 100%);
}
.nx5-backdrop-noise {
  z-index: 3;
  pointer-events: none;
  opacity: .16;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 50% 50%, rgba(var(--nx5-focus-rgb), .05), transparent 45%);
  mix-blend-mode: screen;
}

.nx5-stage-inner {
  width: min(1680px, calc(100% - clamp(32px, 7vw, 128px)));
  min-height: inherit;
  margin: 0 auto;
  padding: 102px 0 clamp(34px, 5vh, 62px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(26px, 4vh, 52px);
}

.nx5-launcher {
  display: flex;
  align-items: flex-start;
  justify-content: safe center;
  gap: clamp(16px, 1.8vw, 30px);
  width: 100%;
  min-width: 0;
  padding: 12px 4px 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.nx5-launcher::-webkit-scrollbar { display: none; }

.nx5-launcher-item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(100px, 8vw, 136px);
  display: grid;
  justify-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--nx5-quiet);
  font: 780 .78rem/1.15 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .045em;
  cursor: pointer;
  scroll-snap-align: center;
  opacity: 1;
  animation: nx5-launcher-enter .58s cubic-bezier(.2,.8,.2,1) backwards;
  transition: color .2s ease, transform .28s cubic-bezier(.2,.8,.2,1);
}
.nx5-launcher-item:nth-child(2) { animation-delay: .045s; }
.nx5-launcher-item:nth-child(3) { animation-delay: .09s; }
.nx5-launcher-item:nth-child(4) { animation-delay: .135s; }
.nx5-launcher-item:nth-child(5) { animation-delay: .18s; }
.nx5-launcher-item:nth-child(6) { animation-delay: .225s; }
.nx5-launcher-item:nth-child(7) { animation-delay: .27s; }
.nx5-launcher-item:nth-child(8) { animation-delay: .315s; }
.nx5-launcher-item:nth-child(9) { animation-delay: .36s; }
.nx5-launcher-item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--nx5-copper);
  box-shadow: 0 0 18px rgba(var(--nx5-copper-rgb), .38);
  transform: translateX(-50%);
  transition: width .24s ease;
}
.nx5-launcher-orb {
  position: relative;
  width: clamp(82px, 6.5vw, 112px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(214, 226, 240, .13);
  border-radius: clamp(25px, 2.2vw, 32px);
  background:
    linear-gradient(145deg, rgba(255,255,255,.062), rgba(255,255,255,.012)),
    rgba(21, 28, 36, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 16px 38px rgba(0,0,0,.23);
  backdrop-filter: blur(16px);
  transition: width .28s cubic-bezier(.2,.8,.2,1), border-color .22s ease, background .22s ease, box-shadow .25s ease, transform .28s cubic-bezier(.2,.8,.2,1);
}
.nx5-launcher-orb::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: 0;
  background: linear-gradient(112deg, transparent 38%, rgba(255,255,255,.16) 49%, transparent 60%);
  transform: translateX(-58%) rotate(8deg);
  opacity: 0;
}
.nx5-launcher-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 34% 22%, rgba(var(--nx5-focus-rgb), .11), transparent 52%);
  opacity: .55;
  pointer-events: none;
}
.nx5-launcher-orb img {
  position: relative;
  z-index: 1;
  width: 52%;
  height: 52%;
  object-fit: contain;
  filter: grayscale(1) brightness(2.15);
  opacity: .76;
  transition: opacity .22s ease, transform .28s cubic-bezier(.2,.8,.2,1), filter .22s ease;
}
.nx5-launcher-item:hover,
.nx5-launcher-item:focus-visible,
.nx5-launcher-item.is-active { color: var(--nx5-text); transform: translateY(-4px); }
.nx5-launcher-item:hover .nx5-launcher-orb,
.nx5-launcher-item:focus-visible .nx5-launcher-orb {
  border-color: rgba(var(--nx5-focus-rgb), .46);
  background: rgba(32, 41, 52, .72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 22px 52px rgba(0,0,0,.31);
  transform: translateY(-4px) scale(1.035);
}
.nx5-launcher-item:hover .nx5-launcher-orb::before,
.nx5-launcher-item:focus-visible .nx5-launcher-orb::before,
.nx5-launcher-item.is-active .nx5-launcher-orb::before {
  opacity: .8;
  animation: nx5-orb-sheen 1.05s cubic-bezier(.2,.8,.2,1) both;
}
.nx5-launcher-item:hover .nx5-launcher-orb img,
.nx5-launcher-item:focus-visible .nx5-launcher-orb img {
  opacity: .96;
  transform: scale(1.12) rotate(-1.5deg);
}
.nx5-launcher-item.is-active::after { width: 42px; }
.nx5-launcher-item.is-active .nx5-launcher-orb {
  width: clamp(100px, 8vw, 132px);
  border-color: rgba(var(--nx5-focus-rgb), .76);
  background:
    radial-gradient(circle at 35% 22%, rgba(var(--nx5-focus-rgb), .24), transparent 58%),
    rgba(32, 41, 52, .8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.11), 0 0 0 6px rgba(var(--nx5-focus-rgb), .075), 0 24px 62px rgba(0,0,0,.37);
  transform: translateY(-5px);
  animation: nx5-orb-breathe 3.8s ease-in-out infinite;
}
.nx5-launcher-item.is-active .nx5-launcher-orb img {
  opacity: 1;
  transform: scale(1.12);
  filter: grayscale(1) brightness(2.55) drop-shadow(0 0 16px rgba(var(--nx5-focus-rgb), .32));
  animation: nx5-icon-float 3.8s ease-in-out infinite;
}

@keyframes nx5-launcher-enter {
  from { opacity: 0; transform: translateY(18px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes nx5-orb-sheen {
  from { transform: translateX(-58%) rotate(8deg); }
  to { transform: translateX(58%) rotate(8deg); }
}
@keyframes nx5-orb-breathe {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.11), 0 0 0 6px rgba(var(--nx5-focus-rgb), .065), 0 24px 62px rgba(0,0,0,.37); }
  50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 0 0 9px rgba(var(--nx5-focus-rgb), .105), 0 28px 70px rgba(0,0,0,.42); }
}
@keyframes nx5-icon-float {
  0%, 100% { transform: translateY(0) scale(1.12); }
  50% { transform: translateY(-4px) scale(1.15); }
}

.nx5-stage-grid {
  align-self: end;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .78fr);
  gap: clamp(30px, 5vw, 84px);
  align-items: end;
  min-width: 0;
}

.nx5-hero-copy { min-width: 0; padding-bottom: clamp(4px, 1vh, 18px); }
.nx5-kicker,
.nx5-overline {
  display: block;
  color: var(--nx5-focus);
  font: 800 .72rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nx5-kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin: 0 10px 3px 0;
  background: var(--nx5-copper);
  box-shadow: 0 0 12px rgba(var(--nx5-copper-rgb), .3);
}
.nx5-hero-copy h1 {
  max-width: 11ch;
  margin: .4rem 0 .72rem;
  color: var(--nx5-text);
  font-size: clamp(3.15rem, 7.1vw, 7.9rem);
  line-height: .91;
  letter-spacing: -.067em;
  text-transform: none;
  text-wrap: balance;
  text-shadow: 0 14px 48px rgba(0, 0, 0, .44);
}
.nx5-deck {
  max-width: 720px;
  margin: 0;
  color: #C5CBD2;
  font-size: clamp(1rem, 1.25vw, 1.24rem);
  line-height: 1.62;
  text-shadow: 0 5px 22px rgba(0,0,0,.56);
}
.nx5-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.nx5-meta span {
  padding: .48rem .72rem;
  border: 1px solid rgba(214, 226, 240, .14);
  border-radius: 999px;
  background: rgba(9, 12, 17, .34);
  color: var(--nx5-secondary);
  font: 750 .68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}
.nx5-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 24px; }
.nx5-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.05rem;
  border: 1px solid rgba(214,226,240,.15);
  border-radius: 999px;
  color: var(--nx5-text) !important;
  background: rgba(21, 28, 36, .58);
  font-weight: 820;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  backdrop-filter: blur(16px);
}
.nx5-button::after { content: "›"; margin-left: .6rem; color: var(--nx5-secondary); }
.nx5-button-primary {
  border-color: rgba(var(--nx5-focus-rgb), .52);
  background: linear-gradient(135deg, rgba(var(--nx5-focus-rgb), .26), rgba(32, 41, 52, .86));
  box-shadow: 0 12px 34px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255,255,255,.08);
}
.nx5-button-secondary { color: var(--nx5-secondary) !important; }
.nx5-button:hover,
.nx5-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(var(--nx5-focus-rgb), .75);
  background: rgba(32, 41, 52, .88);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.nx5-activity {
  min-width: 0;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid rgba(214, 226, 240, .13);
  border-radius: var(--nx5-radius-xl);
  background:
    linear-gradient(145deg, rgba(255,255,255,.045), transparent 45%),
    rgba(13, 19, 26, .62);
  box-shadow: var(--nx5-shadow), inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter: blur(26px) saturate(1.06);
}
.nx5-activity-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.nx5-activity-head h2 {
  margin: .35rem 0 0;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  letter-spacing: -.035em;
}
.nx5-activity-count {
  color: var(--nx5-quiet);
  font: 760 .68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nx5-activity-list { display: grid; gap: 10px; }
.nx5-activity-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: var(--nx5-radius-md);
  background: rgba(255,255,255,.025);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.nx5-activity-card img {
  width: 116px;
  height: 72px;
  object-fit: cover;
  border-radius: 13px;
  background: var(--nx5-elevated);
}
.nx5-activity-card span { min-width: 0; display: grid; gap: 5px; }
.nx5-activity-card small {
  color: var(--nx5-quiet);
  font: 730 .64rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.nx5-activity-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--nx5-text);
  font-size: .91rem;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.nx5-activity-card:hover,
.nx5-activity-card:focus-visible {
  transform: translateX(3px);
  border-color: rgba(var(--nx5-focus-rgb), .4);
  background: rgba(var(--nx5-focus-rgb), .065);
}
.nx5-activity-card.is-static { cursor: default; }
.nx5-activity-card.is-static:hover { transform: none; }
.nx5-activity-card .nx5-static-art {
  width: 116px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  border: 1px solid rgba(214,226,240,.1);
  background: linear-gradient(145deg, rgba(var(--nx5-focus-rgb), .1), rgba(var(--nx5-copper-rgb), .06));
  color: var(--nx5-focus);
  font: 900 1.05rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.nx5-empty {
  padding: 22px;
  border: 1px dashed rgba(214,226,240,.16);
  border-radius: var(--nx5-radius-md);
  color: var(--nx5-secondary);
  background: rgba(255,255,255,.02);
}
.nx5-empty strong { display: block; color: var(--nx5-text); margin-bottom: .35rem; }
.nx5-empty p { margin: 0; }

.nx5-stage-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  color: var(--nx5-quiet);
  font: 700 .66rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.nx5-stage-hints span { display: inline-flex; align-items: center; gap: 6px; }


.nx5-activity-card img.is-broken {
  visibility: hidden;
}

.nx5-footer {
  width: min(1680px, calc(100% - clamp(32px, 7vw, 128px)));
  margin: 0 auto;
  padding: 26px 0 38px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(214,226,240,.09);
  color: var(--nx5-quiet);
}
.nx5-footer > div { display: grid; gap: 3px; }
.nx5-footer strong { color: var(--nx5-text); letter-spacing: .08em; text-transform: uppercase; }
.nx5-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.nx5-footer a { color: var(--nx5-secondary); font-size: .84rem; }
.nx5-footer a:hover,
.nx5-footer a:focus-visible { color: var(--nx5-focus); }
.nx5-footer small { font: 700 .66rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }

body.nx5-home :focus-visible {
  outline: 3px solid rgba(var(--nx5-focus-rgb), .75) !important;
  outline-offset: 4px !important;
}

@media (max-width: 1180px) {
  .nx5-stage { min-height: auto; }
  .nx5-stage-inner { min-height: 900px; }
  .nx5-stage-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr); gap: 34px; }
  .nx5-hero-copy h1 { font-size: clamp(3.2rem, 8vw, 6.2rem); }
  .nx5-activity-card { grid-template-columns: 96px minmax(0,1fr); }
  .nx5-activity-card img,
  .nx5-activity-card .nx5-static-art { width: 96px; height: 64px; }
}

@media (max-width: 900px) {
  .nx5-utility { min-height: 68px; padding: 11px 18px; }
  .nx5-brand:hover,
  .nx5-brand:focus-visible { color: var(--nx5-text) !important; }
  .nx5-brand img { width: 40px; height: 40px; }
  .nx5-status [data-home-date] { display: none; }
  .nx5-stage-inner,
  .nx5-footer { width: min(100% - 28px, 1680px); }
  .nx5-stage-inner { min-height: auto; padding-top: 82px; }
  .nx5-stage-grid { grid-template-columns: 1fr; align-items: start; }
  .nx5-hero-copy { padding-top: 5vh; }
  .nx5-hero-copy h1 { max-width: 12ch; }
  .nx5-activity { max-width: 720px; }
  .nx5-stage-hints { display: none; }
  .nx5-footer { grid-template-columns: 1fr; text-align: left; }
  .nx5-footer nav { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .nx5-brand span small { display: none; }
  .nx5-search span,
  .nx5-search kbd,
  .nx5-status [data-home-date] { display: none; }
  .nx5-search,
  .nx5-status { min-height: 40px; }
  .nx5-search { width: 42px; justify-content: center; padding: 0; }
  .nx5-status { padding: .55rem .72rem; }
  .nx5-stage-inner { width: calc(100% - 22px); padding-top: 76px; gap: 23px; }
  .nx5-launcher { justify-content: flex-start; gap: 12px; padding: 10px max(4px, calc((100vw - 88px) / 2)) 18px; scroll-padding-inline: calc((100vw - 88px) / 2); }
  .nx5-launcher-item { width: 82px; font-size: .68rem; }
  .nx5-launcher-orb { width: 68px; border-radius: 21px; }
  .nx5-launcher-item.is-active .nx5-launcher-orb { width: 82px; }
  .nx5-hero-copy { padding-top: 2vh; }
  .nx5-hero-copy h1 { font-size: clamp(2.9rem, 16vw, 4.8rem); }
  .nx5-deck { font-size: .98rem; }
  .nx5-meta { gap: 6px; }
  .nx5-meta span { font-size: .61rem; }
  .nx5-actions { display: grid; grid-template-columns: 1fr; }
  .nx5-button { width: 100%; }
  .nx5-activity { padding: 15px; border-radius: 25px; }
  .nx5-activity-card { grid-template-columns: 86px minmax(0,1fr); gap: 10px; }
  .nx5-activity-card img,
  .nx5-activity-card .nx5-static-art { width: 86px; height: 58px; border-radius: 11px; }
  .nx5-activity-card strong { font-size: .84rem; }
  .nx5-footer { width: calc(100% - 22px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .nx5-backdrop-layer,
  .nx5-launcher-item,
  .nx5-launcher-orb,
  .nx5-launcher-orb::before,
  .nx5-launcher-orb img,
  .nx5-button,
  .nx5-activity-card,
  .nx5-search { transition: none !important; animation: none !important; }
  .nx5-launcher-item { opacity: 1 !important; transform: none !important; }
  .nx5-launcher-item.is-active .nx5-launcher-orb,
  .nx5-launcher-item.is-active .nx5-launcher-orb img { animation: none !important; }
  .nx5-backdrop-layer { transform: none !important; }
}


/* NexusArc homepage interaction stability and performance QC — 2026-07-23c */
.nx5-backdrop-layer {
  transform: none !important;
  filter: none !important;
  transition: opacity .32s ease !important;
  will-change: opacity;
  contain: paint;
}
.nx5-backdrop-layer.is-visible { transform: none !important; }
.nx5-backdrop-noise { mix-blend-mode: normal !important; opacity: .08 !important; }

.nx5-utility,
.nx5-search,
.nx5-status,
.nx5-launcher-orb,
.nx5-meta span,
.nx5-button,
.nx5-activity { backdrop-filter: none !important; }

.nx5-stage-inner {
  gap: clamp(20px, 2.5vh, 34px) !important;
}

.nx5-launcher {
  min-height: 164px;
  align-items: flex-start !important;
  scroll-behavior: auto !important;
  contain: layout;
}

.nx5-launcher-item {
  width: 124px !important;
  min-height: 142px;
  grid-template-rows: 112px 20px;
  align-content: start;
  gap: 10px !important;
  transform: none !important;
  transition: color .16s ease !important;
  animation: nx5-launcher-fade .24s ease-out backwards !important;
  animation-delay: 0s !important;
  contain: layout paint;
}

.nx5-launcher-item:hover,
.nx5-launcher-item:focus-visible,
.nx5-launcher-item.is-active { transform: none !important; }

.nx5-launcher-orb,
.nx5-launcher-item.is-active .nx5-launcher-orb {
  width: 112px !important;
  height: 112px !important;
  aspect-ratio: auto !important;
  transform: none !important;
  animation: none !important;
  border-radius: 32px !important;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, opacity .16s ease !important;
}

.nx5-launcher-item:hover .nx5-launcher-orb,
.nx5-launcher-item:focus-visible .nx5-launcher-orb {
  transform: none !important;
  border-color: rgba(var(--nx5-focus-rgb), .46);
  background: rgba(32, 41, 52, .76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 18px 42px rgba(0,0,0,.28);
}

.nx5-launcher-item.is-active .nx5-launcher-orb {
  border-color: rgba(var(--nx5-focus-rgb), .76);
  background:
    radial-gradient(circle at 35% 22%, rgba(var(--nx5-focus-rgb), .22), transparent 58%),
    rgba(32, 41, 52, .84);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.11), 0 0 0 5px rgba(var(--nx5-focus-rgb), .07), 0 20px 48px rgba(0,0,0,.34);
}

.nx5-launcher-orb::before {
  animation: none !important;
  transform: none !important;
  inset: 0 !important;
  background: linear-gradient(135deg, rgba(255,255,255,.10), transparent 52%) !important;
  transition: opacity .16s ease !important;
}

.nx5-launcher-item:hover .nx5-launcher-orb::before,
.nx5-launcher-item:focus-visible .nx5-launcher-orb::before,
.nx5-launcher-item.is-active .nx5-launcher-orb::before { opacity: .7 !important; }

.nx5-launcher-orb img,
.nx5-launcher-item:hover .nx5-launcher-orb img,
.nx5-launcher-item:focus-visible .nx5-launcher-orb img,
.nx5-launcher-item.is-active .nx5-launcher-orb img {
  width: 56% !important;
  height: 56% !important;
  transform: none !important;
  animation: none !important;
  transition: opacity .16s ease, filter .16s ease !important;
}

.nx5-launcher-item:hover .nx5-launcher-orb img,
.nx5-launcher-item:focus-visible .nx5-launcher-orb img { opacity: .94; }
.nx5-launcher-item.is-active .nx5-launcher-orb img {
  opacity: 1;
  filter: grayscale(1) brightness(2.5) drop-shadow(0 0 12px rgba(var(--nx5-focus-rgb), .24));
}

@keyframes nx5-launcher-fade {
  from { opacity: .55; }
  to { opacity: 1; }
}

.nx5-stage-grid {
  min-height: 470px;
  align-items: stretch !important;
}

.nx5-hero-copy {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.nx5-hero-copy h1 {
  max-width: 15ch !important;
  min-height: 1.86em;
  font-size: clamp(3rem, 5.6vw, 6.2rem) !important;
}

.nx5-deck { min-height: 5.1em; }
.nx5-meta { min-height: 32px; align-content: flex-start; }
.nx5-actions { min-height: 46px; }

.nx5-activity {
  min-height: 470px;
  height: 100%;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(145deg, rgba(255,255,255,.04), transparent 45%),
    rgba(13, 19, 26, .84) !important;
}

.nx5-activity-list {
  flex: 1;
  min-height: 294px;
  grid-template-rows: repeat(3, minmax(88px, 1fr));
}

.nx5-activity-card {
  height: 100%;
  transform: none !important;
  transition: border-color .16s ease, background .16s ease !important;
}
.nx5-activity-card:hover,
.nx5-activity-card:focus-visible { transform: none !important; }
.nx5-empty { grid-row: 1 / -1; display: grid; align-content: center; }

.nx5-search:hover,
.nx5-search:focus-visible,
.nx5-button:hover,
.nx5-button:focus-visible { transform: none !important; }

.nx5-activity-card.is-image-broken {
  background:
    radial-gradient(circle at 25% 20%, rgba(var(--nx5-focus-rgb), .12), transparent 48%),
    linear-gradient(145deg, rgba(var(--nx5-copper-rgb), .06), rgba(32, 41, 52, .72));
}

@media (max-width: 900px) {
  .nx5-stage-grid,
  .nx5-hero-copy,
  .nx5-activity { min-height: auto; height: auto; }
  .nx5-hero-copy h1,
  .nx5-deck,
  .nx5-meta,
  .nx5-actions { min-height: 0; }
  .nx5-activity-list { min-height: 0; grid-template-rows: none; }
}

@media (max-width: 620px) {
  .nx5-launcher { min-height: 118px; }
  .nx5-launcher-item {
    width: 88px !important;
    min-height: 104px;
    grid-template-rows: 76px 18px;
  }
  .nx5-launcher-orb,
  .nx5-launcher-item.is-active .nx5-launcher-orb {
    width: 76px !important;
    height: 76px !important;
    border-radius: 22px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nx5-launcher-item { animation: none !important; }
}

/* Homepage media QC — dedicated hub art and stable visual fallbacks, 2026-07-25. */
.nx5-backdrop-layer {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  image-rendering: auto;
}

.nx5-activity-card > img,
.nx5-empty--visual > img {
  image-rendering: auto;
  filter: none;
}

.nx5-activity-card.is-static {
  cursor: default;
}

.nx5-activity-card.is-static > img {
  width: 116px;
  height: 72px;
  object-fit: cover;
  border-radius: 13px;
  background: var(--nx5-elevated);
}

.nx5-empty--visual {
  min-height: 100%;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-style: solid;
  background: rgba(13, 19, 26, .72);
}

.nx5-empty--visual > img {
  width: 160px;
  height: 100px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(214, 226, 240, .11);
}

.nx5-empty--visual > div {
  min-width: 0;
}

.nx5-activity-card.is-image-broken > img,
.nx5-empty.is-image-broken > img {
  display: none;
}

@media (max-width: 620px) {
  .nx5-activity-card.is-static > img {
    width: 86px;
    height: 58px;
    border-radius: 11px;
  }

  .nx5-empty--visual {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .nx5-empty--visual > img {
    width: 86px;
    height: 58px;
    border-radius: 11px;
  }
}

/* Full-site QC optimization: generated responsive homepage media. */
.nx5-activity-card picture { display: block; width: 100%; height: 100%; }
.nx5-activity-card picture img { width: 100%; height: 100%; object-fit: cover; }
.nx5-empty-card { display: grid; gap: 8px; min-height: 120px; padding: 22px; border: 1px solid rgba(214,226,240,.12); border-radius: 22px; background: rgba(9,12,17,.65); }
.nx5-empty-card p { margin: 0; color: var(--nx-muted); }
