/* Appily Eighty — Constellation Halo chrome (unique nav) */
.lm-skip {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--lm-copper);
  color: #fff;
  border-radius: var(--lm-radius-sm);
}
.lm-skip:focus { left: 1rem; top: 1rem; }

/* Floating constellation halo — not mast / mega / side rail / keybed / FAB */
.lm-halo-wrap {
  position: sticky;
  top: 0.85rem;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  pointer-events: none;
}

.lm-halo {
  pointer-events: auto;
  width: min(var(--lm-max), 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.55rem 0.65rem 0.55rem 0.65rem;
  border-radius: var(--lm-radius-pill);
  background: rgba(250, 248, 245, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--lm-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px) saturate(1.2);
  transition: box-shadow 0.35s var(--lm-ease), transform 0.35s var(--lm-ease);
}
.lm-halo.is-scrolled {
  transform: translateY(-2px);
  box-shadow: var(--lm-shadow-lg);
}

.lm-orb {
  position: relative;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: radial-gradient(circle at 30% 30%, #f0b08a, var(--lm-copper) 55%, var(--lm-copper-deep));
  color: #fff;
  font-family: var(--lm-sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: -0.02em;
  box-shadow: 0 0 0 4px rgba(197, 106, 58, 0.18), 0 10px 24px rgba(197, 106, 58, 0.35);
  transition: transform 0.35s var(--lm-ease), box-shadow 0.35s;
}
.lm-orb::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(197, 106, 58, 0.35);
  animation: lm-spin 16s linear infinite;
}
.lm-orb:hover {
  transform: scale(1.06) rotate(-8deg);
  box-shadow: 0 0 0 6px rgba(197, 106, 58, 0.22), 0 14px 28px rgba(197, 106, 58, 0.4);
}
@keyframes lm-spin { to { transform: rotate(360deg); } }

.lm-brand-link {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  padding-right: 0.5rem;
}
.lm-brand-link em {
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lm-mute);
}
.lm-brand-link strong {
  font-family: var(--lm-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Orbit links — horizontal constellation inside halo */
.lm-orbit {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.2rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.lm-orbit::-webkit-scrollbar { display: none; }
.lm-orbit a {
  position: relative;
  padding: 0.55rem 0.85rem;
  border-radius: var(--lm-radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--lm-mute);
  white-space: nowrap;
  transition: color 0.25s, background 0.25s, transform 0.25s var(--lm-ease);
}
.lm-orbit a:hover {
  color: var(--lm-ink);
  background: rgba(197, 106, 58, 0.1);
  transform: translateY(-1px);
}
.lm-orbit a.is-live {
  color: #ffffff;
  background: var(--lm-ink);
}
.lm-orbit a.is-live:hover { background: var(--lm-copper-deep); color: #ffffff; }

.lm-halo-tools {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lm-seek {
  display: flex;
  align-items: center;
  width: 2.6rem;
  overflow: hidden;
  border-radius: var(--lm-radius-pill);
  background: rgba(22, 24, 31, 0.04);
  border: 1px solid transparent;
  transition: width 0.4s var(--lm-ease), background 0.25s, border-color 0.25s;
}
.lm-seek.is-open,
.lm-seek:focus-within {
  width: min(14rem, 42vw);
  background: var(--lm-foam);
  border-color: var(--lm-line);
}
.lm-seek input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.55rem 0.25rem 0.55rem 0.85rem;
  outline: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.lm-seek.is-open input,
.lm-seek:focus-within input { opacity: 1; }
.lm-seek button {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  color: var(--lm-ink);
}

.lm-tool {
  position: relative;
  min-width: 2.6rem;
  height: 2.6rem;
  padding: 0 0.65rem;
  display: grid;
  place-items: center;
  border-radius: var(--lm-radius-pill);
  background: rgba(22, 24, 31, 0.04);
  color: var(--lm-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.25s, transform 0.25s var(--lm-ease);
}
.lm-tool:hover {
  background: rgba(197, 106, 58, 0.14);
  transform: translateY(-2px);
}
.lm-tool i {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  display: grid;
  place-items: center;
  border-radius: var(--lm-radius-pill);
  background: var(--lm-copper);
  color: #fff;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
}

/* Constellation burst panel — opens from orb */
.lm-burst {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(22, 24, 31, 0.45);
  backdrop-filter: blur(8px);
}
.lm-burst.is-open { display: flex; }
.lm-burst-disk {
  position: relative;
  width: min(22rem, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(250, 248, 245, 0.98), rgba(231, 226, 217, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--lm-shadow-lg);
  display: grid;
  place-items: center;
  animation: lm-rise 0.45s var(--lm-ease);
}
.lm-burst-core {
  text-align: center;
  z-index: 2;
}
.lm-burst-core strong {
  display: block;
  font-family: var(--lm-display);
  font-size: 1.35rem;
}
.lm-burst-core span {
  font-size: 0.78rem;
  color: var(--lm-mute);
}
.lm-burst-ring {
  position: absolute;
  inset: 12%;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lm-burst-ring li {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5.5rem;
  margin: -1.35rem 0 0 -2.75rem;
  transform: rotate(var(--a)) translateY(-7.2rem) rotate(calc(var(--a) * -1));
}
.lm-burst-ring a {
  display: grid;
  place-items: center;
  height: 2.7rem;
  border-radius: var(--lm-radius-pill);
  background: var(--lm-ink);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(22, 24, 31, 0.2);
  transition: transform 0.25s var(--lm-ease), background 0.25s;
}
.lm-burst-ring a:hover {
  background: var(--lm-copper);
  transform: scale(1.08);
}
.lm-burst-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: var(--lm-foam);
  cursor: pointer;
  font-size: 1.1rem;
}

.lm-stage {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: 100%;
  max-width: var(--lm-max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
  box-sizing: border-box;
  min-width: 0;
}

body.lm-home-page .lm-stage {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  overflow-x: clip;
}

body.lm-home-page .lm-hero {
  margin-top: 0;
}


/* Mobile: hide orbit, keep orb + tools */
@media (max-width: 900px) {
  .lm-orbit { display: none; }
  .lm-brand-link { display: none; }
  .lm-halo {
    grid-template-columns: auto 1fr;
    width: auto;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Footer styles live in a80-terrace.css (Lumen Terrace). */
