/* ==========================================================================
   Larwell Design System
   --------------------------------------------------------------------------
   Tokens, type scale and the component primitives shared by the blog, case
   studies and the marketing pages. Loaded after larwell.css, which keeps the
   older page-specific rules; anything new should be built from these tokens
   so the whole site moves together when a value changes.
   ========================================================================== */

:root {
  /* ── Surface ───────────────────────────────────────────────────────── */
  --lw-bg:            #ffffff;
  --lw-bg-alt:        #f8f7f4;
  --lw-bg-sunken:     #f1efea;
  --lw-bg-invert:     #0d0d0d;
  --lw-surface:       #ffffff;
  --lw-surface-hover: #fbfaf8;

  /* ── Line ──────────────────────────────────────────────────────────── */
  --lw-border:        #e8e5df;
  --lw-border-mid:    #d4d0c9;
  --lw-border-strong: #0d0d0d;

  /* ── Ink ───────────────────────────────────────────────────────────── */
  --lw-ink:           #0d0d0d;
  --lw-ink-2:         #3d3a36;
  --lw-ink-3:         #6b6762;
  --lw-ink-4:         #9a9590;
  --lw-ink-5:         #c4bfb8;
  --lw-ink-invert:    #f8f7f4;

  /* ── Accent ────────────────────────────────────────────────────────── */
  --lw-accent:        #2563eb;
  --lw-accent-ink:    #1d4ed8;
  --lw-accent-soft:   #eff4ff;
  --lw-success:       #059669;
  --lw-warning:       #d97706;
  --lw-danger:        #dc2626;
  --lw-danger-soft:   #fef2f2;

  /* ── Type ──────────────────────────────────────────────────────────── */
  --lw-font:          'Outfit', system-ui, -apple-system, sans-serif;
  --lw-font-mono:     'DM Mono', ui-monospace, SFMono-Regular, monospace;
  --lw-font-display:  'Playfair Display', Georgia, serif;

  --lw-text-xs:       0.72rem;
  --lw-text-sm:       0.83rem;
  --lw-text-base:     0.95rem;
  --lw-text-lg:       1.08rem;
  --lw-text-xl:       1.3rem;
  --lw-text-2xl:      1.65rem;
  --lw-text-3xl:      2.1rem;
  --lw-text-4xl:      2.8rem;
  --lw-text-5xl:      3.6rem;
  --lw-text-6xl:      4.6rem;

  /* ── Space ─────────────────────────────────────────────────────────── */
  --lw-gutter:        24px;
  --lw-max:           1200px;
  --lw-max-prose:     720px;

  /* ── Radius & elevation ────────────────────────────────────────────── */
  --lw-r-sm:          8px;
  --lw-r:             12px;
  --lw-r-lg:          18px;
  --lw-r-xl:          26px;
  --lw-r-full:        999px;

  --lw-shadow-sm:     0 1px 2px rgba(13,13,13,.05);
  --lw-shadow:        0 4px 20px rgba(13,13,13,.07);
  --lw-shadow-lg:     0 16px 50px rgba(13,13,13,.10);
  --lw-shadow-xl:     0 30px 80px rgba(13,13,13,.14);

  /* ── Motion ────────────────────────────────────────────────────────── */
  --lw-ease:          cubic-bezier(.22, 1, .36, 1);
  --lw-ease-in-out:   cubic-bezier(.65, .05, .36, 1);
  --lw-dur-fast:      .18s;
  --lw-dur:           .32s;
  --lw-dur-slow:      .6s;

  --lw-nav-h:         68px;
}

@media (min-width: 768px)  { :root { --lw-gutter: 40px; } }
@media (min-width: 1280px) { :root { --lw-gutter: 48px; } }

/* ==========================================================================
   Layout
   ========================================================================== */

.lw-wrap      { max-width: var(--lw-max); margin-inline: auto; padding-inline: var(--lw-gutter); }
.lw-wrap-prose{ max-width: var(--lw-max-prose); margin-inline: auto; padding-inline: var(--lw-gutter); }
.lw-section   { padding-block: clamp(56px, 8vw, 110px); }
.lw-section-sm{ padding-block: clamp(36px, 5vw, 64px); }

.lw-grid { display: grid; gap: 24px; }
.lw-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lw-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lw-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 980px) {
  .lw-grid-3, .lw-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .lw-grid-2, .lw-grid-3, .lw-grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* Sidebar layout used by the blog index and article pages. */
.lw-with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1040px) { .lw-with-aside { grid-template-columns: minmax(0, 1fr); gap: 48px; } }

/* ==========================================================================
   Typography
   ========================================================================== */

.lw-eyebrow {
  font-family: var(--lw-font-mono);
  font-size: var(--lw-text-xs);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lw-ink-4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lw-eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--lw-border-mid);
}

.lw-h1 { font-size: clamp(2.2rem, 5.2vw, var(--lw-text-6xl)); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.lw-h2 { font-size: clamp(1.7rem, 3.6vw, var(--lw-text-4xl)); font-weight: 800; letter-spacing: -.03em;  line-height: 1.1; }
.lw-h3 { font-size: clamp(1.25rem, 2.2vw, var(--lw-text-2xl)); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.lw-lead { font-size: clamp(1rem, 1.6vw, var(--lw-text-lg)); color: var(--lw-ink-2); line-height: 1.72; }
.lw-muted { color: var(--lw-ink-3); }
.lw-mono { font-family: var(--lw-font-mono); }

.lw-balance { text-wrap: balance; }

/* Gradient headline treatment used sparingly on hero type. */
.lw-gradient-text {
  background: linear-gradient(100deg, var(--lw-ink) 0%, var(--lw-ink) 42%, var(--lw-accent) 68%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.lw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--lw-font-mono);
  font-size: var(--lw-text-sm);
  font-weight: 500;
  line-height: 1;
  padding: 13px 22px;
  border-radius: var(--lw-r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--lw-dur) var(--lw-ease),
              color var(--lw-dur) var(--lw-ease),
              border-color var(--lw-dur) var(--lw-ease),
              box-shadow var(--lw-dur) var(--lw-ease),
              transform var(--lw-dur-fast) var(--lw-ease);
}
.lw-btn:active { transform: translateY(1px); }
.lw-btn:focus-visible { outline: 2px solid var(--lw-accent); outline-offset: 3px; }

.lw-btn-primary  { background: var(--lw-ink); color: #fff; border-color: var(--lw-ink); }
.lw-btn-primary:hover  { background: #262626; box-shadow: var(--lw-shadow-lg); transform: translateY(-2px); }

.lw-btn-outline  { background: var(--lw-surface); color: var(--lw-ink); border-color: var(--lw-border-mid); }
.lw-btn-outline:hover  { border-color: var(--lw-ink); box-shadow: var(--lw-shadow); transform: translateY(-2px); }

.lw-btn-ghost    { background: transparent; color: var(--lw-ink-2); }
.lw-btn-ghost:hover    { background: var(--lw-bg-sunken); color: var(--lw-ink); }

.lw-btn-accent   { background: var(--lw-accent); color: #fff; border-color: var(--lw-accent); }
.lw-btn-accent:hover   { background: var(--lw-accent-ink); box-shadow: 0 10px 30px rgba(37,99,235,.28); transform: translateY(-2px); }

.lw-btn-sm { padding: 9px 15px; font-size: var(--lw-text-xs); }
.lw-btn-lg { padding: 16px 30px; font-size: var(--lw-text-base); }

/* ==========================================================================
   Cards
   ========================================================================== */

.lw-card {
  background: var(--lw-surface);
  border: 1px solid var(--lw-border);
  border-radius: var(--lw-r-lg);
  overflow: hidden;
  position: relative;
  transition: border-color var(--lw-dur) var(--lw-ease),
              box-shadow var(--lw-dur) var(--lw-ease),
              transform var(--lw-dur) var(--lw-ease);
}
.lw-card-hover:hover {
  border-color: var(--lw-border-mid);
  box-shadow: var(--lw-shadow-lg);
  transform: translateY(-4px);
}

.lw-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--lw-bg-sunken);
}
.lw-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--lw-ease);
}
.lw-card-hover:hover .lw-card-media img { transform: scale(1.055); }

.lw-card-body { padding: 22px; }

/* ==========================================================================
   Badges & chips
   ========================================================================== */

.lw-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--lw-font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--lw-r-full);
  border: 1px solid var(--lw-border);
  background: var(--lw-bg-alt);
  color: var(--lw-ink-3);
}
.lw-badge-dark    { background: var(--lw-ink); color: #fff; border-color: var(--lw-ink); }
.lw-badge-accent  { background: var(--lw-accent-soft); color: var(--lw-accent-ink); border-color: #dbe6ff; }
.lw-badge-success { background: #ecfdf5; color: var(--lw-success); border-color: #bbf7d0; }
.lw-badge-warning { background: #fffbeb; color: var(--lw-warning); border-color: #fde68a; }
.lw-badge-danger  { background: var(--lw-danger-soft); color: var(--lw-danger); border-color: #fecaca; }

.lw-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--lw-font-mono);
  font-size: var(--lw-text-xs);
  padding: 7px 13px;
  border-radius: var(--lw-r-full);
  border: 1px solid var(--lw-border);
  background: var(--lw-surface);
  color: var(--lw-ink-3);
  text-decoration: none;
  transition: all var(--lw-dur) var(--lw-ease);
}
.lw-chip:hover { border-color: var(--lw-ink); color: var(--lw-ink); }
.lw-chip-active { background: var(--lw-ink); color: #fff; border-color: var(--lw-ink); }

/* ==========================================================================
   Article prose
   --------------------------------------------------------------------------
   Applied to rendered post/case-study bodies. Measure is capped for
   readability; media is allowed to break out wider than the text column.
   ========================================================================== */

.lw-prose {
  font-size: var(--lw-text-lg);
  line-height: 1.82;
  color: var(--lw-ink-2);
}
.lw-prose > * + * { margin-top: 1.35em; }

.lw-prose h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.25;
  color: var(--lw-ink);
  margin-top: 2.2em;
  scroll-margin-top: calc(var(--lw-nav-h) + 24px);
}
.lw-prose h3 {
  font-size: clamp(1.12rem, 1.9vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--lw-ink);
  margin-top: 1.9em;
  scroll-margin-top: calc(var(--lw-nav-h) + 24px);
}
.lw-prose h4 { font-size: 1.06rem; font-weight: 700; color: var(--lw-ink); margin-top: 1.6em; }

.lw-prose p  { margin-block: 0; }
.lw-prose a  {
  color: var(--lw-accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(37,99,235,.35);
  transition: text-decoration-color var(--lw-dur) var(--lw-ease);
}
.lw-prose a:hover { text-decoration-color: var(--lw-accent-ink); }

.lw-prose strong { color: var(--lw-ink); font-weight: 700; }

.lw-prose ul, .lw-prose ol { padding-left: 1.3em; }
.lw-prose li { margin-block: .5em; }
.lw-prose ul li::marker { color: var(--lw-ink-4); }
.lw-prose ol li::marker { color: var(--lw-ink-4); font-family: var(--lw-font-mono); font-size: .9em; }

.lw-prose blockquote {
  border-left: 3px solid var(--lw-ink);
  padding: 4px 0 4px 24px;
  font-size: 1.12em;
  font-style: italic;
  color: var(--lw-ink);
}

.lw-prose img,
.lw-prose video {
  width: 100%;
  height: auto;
  border-radius: var(--lw-r);
  border: 1px solid var(--lw-border);
  display: block;
}
.lw-prose figure figcaption {
  font-family: var(--lw-font-mono);
  font-size: var(--lw-text-xs);
  color: var(--lw-ink-4);
  text-align: center;
  margin-top: 10px;
}

.lw-prose code {
  font-family: var(--lw-font-mono);
  font-size: .86em;
  background: var(--lw-bg-sunken);
  border: 1px solid var(--lw-border);
  border-radius: 5px;
  padding: 2px 6px;
}
.lw-prose pre {
  background: var(--lw-bg-invert);
  color: #e8e5df;
  border-radius: var(--lw-r);
  padding: 20px 22px;
  overflow-x: auto;
  font-size: var(--lw-text-sm);
  line-height: 1.7;
}
.lw-prose pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }

.lw-prose hr { border: 0; border-top: 1px solid var(--lw-border); margin-block: 2.6em; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lw-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--lw-text-sm);
  min-width: 480px;
}
.lw-prose th, .lw-prose td {
  border: 1px solid var(--lw-border);
  padding: 11px 14px;
  text-align: left;
}
.lw-prose th {
  background: var(--lw-bg-alt);
  font-weight: 600;
  color: var(--lw-ink);
  font-family: var(--lw-font-mono);
  font-size: var(--lw-text-xs);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Heading anchor — only surfaces on hover, never in the reading flow. */
.heading-anchor {
  margin-left: 10px;
  color: var(--lw-ink-5);
  text-decoration: none;
  opacity: 0;
  font-weight: 400;
  transition: opacity var(--lw-dur) var(--lw-ease);
}
.post-heading:hover .heading-anchor { opacity: 1; }
.heading-anchor:hover { color: var(--lw-accent); }

/* ==========================================================================
   Forms
   ========================================================================== */

.lw-label {
  display: block;
  font-family: var(--lw-font-mono);
  font-size: var(--lw-text-xs);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lw-ink-3);
  margin-bottom: 7px;
}
.lw-input, .lw-select, .lw-textarea {
  width: 100%;
  font-family: var(--lw-font);
  font-size: var(--lw-text-base);
  color: var(--lw-ink);
  background: var(--lw-surface);
  border: 1px solid var(--lw-border-mid);
  border-radius: var(--lw-r-sm);
  padding: 11px 14px;
  transition: border-color var(--lw-dur) var(--lw-ease), box-shadow var(--lw-dur) var(--lw-ease);
}
.lw-input:focus, .lw-select:focus, .lw-textarea:focus {
  outline: none;
  border-color: var(--lw-ink);
  box-shadow: 0 0 0 3px rgba(13,13,13,.07);
}
.lw-textarea { min-height: 120px; resize: vertical; line-height: 1.65; }
.lw-help { font-size: var(--lw-text-xs); color: var(--lw-ink-4); margin-top: 6px; }
.lw-error { font-size: var(--lw-text-xs); color: var(--lw-danger); margin-top: 6px; }

/* ==========================================================================
   Utilities
   ========================================================================== */

.lw-divider { height: 1px; background: var(--lw-border); border: 0; }
.lw-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.lw-stack-sm > * + * { margin-top: 8px; }
.lw-stack    > * + * { margin-top: 16px; }
.lw-stack-lg > * + * { margin-top: 28px; }

.lw-line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lw-line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Subtle dotted background used behind hero and CTA blocks. */
.lw-dotted {
  background-image: radial-gradient(var(--lw-ink-5) 1px, transparent 1px);
  background-size: 22px 22px;
}
.lw-grid-lines {
  background-image:
    linear-gradient(to right, var(--lw-border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--lw-border) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ==========================================================================
   Platform constellation (home page)
   ========================================================================== */

.constellation-section {
  background: var(--lw-bg-invert);
  color: var(--lw-ink-invert);
  position: relative;
  overflow: hidden;

  /* Fills the viewport so the whole network is readable at a glance.
     100svh (small viewport height) avoids the jump caused by mobile
     browser chrome; 100vh is the fallback for browsers without it. */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(40px, 5vw, 72px);
}
.constellation-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000, transparent);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000, transparent);
  pointer-events: none;
}

.constellation-wrap {
  width: 100%;
  max-width: var(--lw-max);
  margin-inline: auto;
  padding-inline: var(--lw-gutter);
  position: relative;
  z-index: 1;
}

.constellation-head { max-width: 720px; }
.constellation-head .lw-eyebrow { color: rgba(255,255,255,.45); }
.constellation-head .lw-eyebrow::before { background: rgba(255,255,255,.25); }
.constellation-head h2 { color: #fff; margin-top: 16px; }
.constellation-head .lw-lead { color: rgba(255,255,255,.62); }

/* ── Stage ────────────────────────────────────────────────────────────── */

.constellation-stage {
  position: relative;
  /* Everything the viewport has left once the heading and padding are
     accounted for, floored so it never collapses on short windows. */
  height: clamp(440px, calc(100vh - 360px), 880px);
  height: clamp(440px, calc(100svh - 360px), 880px);
  margin-top: clamp(24px, 3vw, 40px);
  border-radius: var(--lw-r-xl);
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(59,130,246,.14), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  overflow: hidden;
}
.constellation-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s var(--lw-ease);
}
.constellation-stage.is-ready canvas { opacity: 1; }

@media (max-height: 720px) {
  .constellation-section { min-height: 0; padding-block: 56px; }
  .constellation-stage   { height: clamp(400px, 66vh, 560px); }
}

/* Nodes are hit with a pointer, so hide the stage where there isn't one. */
@media (max-width: 720px), (pointer: coarse) {
  .constellation-stage { display: none; }
}

/* ── Projected labels ─────────────────────────────────────────────────── */

.constellation-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;   /* the layer ignores the pointer… */
  opacity: 0;
  transition: opacity 1s var(--lw-ease);
}
.constellation-stage.is-ready .constellation-labels { opacity: 1; }

.c-label {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;   /* …but each label is still hoverable */
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 6px 11px 7px;
  border-radius: var(--lw-r-sm);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(13,13,13,.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--lw-dur) var(--lw-ease),
              background var(--lw-dur) var(--lw-ease),
              filter var(--lw-dur) var(--lw-ease);
}

.c-label-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
  box-shadow: 0 0 9px currentColor;
}
.c-label-text { display: flex; flex-direction: column; line-height: 1.25; }

.c-label-name {
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: -.01em;
}
.c-label-tag {
  font-family: var(--lw-font-mono);
  font-size: .6rem;
  color: rgba(255,255,255,.52);
  margin-top: 3px;
  max-width: 24ch;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hovering one product pushes the rest back rather than hiding them. */
.constellation-labels.has-focus .c-label { filter: saturate(.5) brightness(.62); }
.constellation-labels.has-focus .c-label.is-active { filter: none; }

.c-label.is-active,
.c-label:hover {
  background: rgba(23,23,23,.92);
  border-color: rgba(255,255,255,.34);
  z-index: 300 !important;
}
.c-label.is-active .c-label-tag,
.c-label:hover .c-label-tag { color: rgba(255,255,255,.78); }

.constellation-hint {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 400;
  font-family: var(--lw-font-mono);
  font-size: var(--lw-text-xs);
  color: rgba(255,255,255,.52);
  letter-spacing: .04em;
  pointer-events: none;
}
.constellation-hint i { margin-right: 6px; opacity: .8; }

/* Once the canvas is live every product is already named on screen, so the
   fallback list steps aside and the section stays to a single viewport. It
   remains in the DOM for visitors without WebGL; the canvas labels are real
   anchors, so nothing is lost for assistive tech either. The hero grid higher
   up the page already carries these links for crawlers. */
.constellation-stage.is-ready ~ .constellation-list { display: none; }

/* ── Companion list ───────────────────────────────────────────────────── */

.constellation-list {
  list-style: none;
  padding: 0;
  margin: clamp(20px, 2.5vw, 32px) 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 10px;
}

.constellation-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--lw-r);
  background: rgba(255,255,255,.02);
  color: #fff;
  text-decoration: none;
  transition: background var(--lw-dur) var(--lw-ease),
              border-color var(--lw-dur) var(--lw-ease),
              transform var(--lw-dur) var(--lw-ease);
}
.constellation-item:hover {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-2px);
}

.constellation-item-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--lw-r-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: grid;
  place-items: center;
  font-size: .85rem;
  color: rgba(255,255,255,.8);
}
.constellation-item-body { flex: 1; min-width: 0; }
.constellation-item-name {
  display: block;
  font-size: var(--lw-text-base);
  font-weight: 600;
  letter-spacing: -.01em;
}
.constellation-item-tag {
  display: block;
  font-family: var(--lw-font-mono);
  font-size: var(--lw-text-xs);
  color: rgba(255,255,255,.5);
  margin-top: 3px;
  line-height: 1.45;
}
.constellation-item-arrow {
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  flex-shrink: 0;
}
