/* Article typography. Generated by Orbit — safe to edit or delete.
   Inherits the site's fonts and colours; sets rhythm, measure and hierarchy.

   Every selector is namespaced `orbit-`. Generic names like .eyebrow, .wrap
   or .date collide with the site's own rules — getnumi.app styles .eyebrow as
   a bordered pill, so the article's kicker rendered as an empty input box. A
   prefix nobody else uses is the only reliable way to borrow a site's fonts
   and colours without inheriting its component styles by accident. */

.orbit-wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
}

/* A sticky site nav has no solid background on a page that does not run the
   site's own scroll script, so article text scrolls through it. Static here:
   the reader is reading, not navigating, which is also what Medium does. */
.orbit-page .nav,
.orbit-page header,
.orbit-page .site-header { position: static; }

/* ------------------------------------------------------------- article -- */

.orbit-crumb {
  margin: 0 0 2.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}
.orbit-crumb a {
  color: inherit;
  opacity: 0.65;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.orbit-crumb a:hover { opacity: 1; }

.orbit-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}

.orbit-title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.orbit-meta {
  font-size: 0.95rem;
  opacity: 0.6;
  margin: 0 0 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid currentColor;
  border-bottom-color: color-mix(in srgb, currentColor 12%, transparent);
}

/* The reading column. 1.15rem at 1.75 is the range long-form sits in — large
   enough to read without leaning in, loose enough to track across the line. */
.orbit-body {
  font-size: 1.15rem;
  line-height: 1.75;
  letter-spacing: -0.003em;
}
.orbit-body > *:first-child { margin-top: 0; }
.orbit-body p { margin: 0 0 1.5rem; }

/* Space above a heading belongs to the heading, not to the paragraph before
   it: that is what makes sections read as sections while scrolling. */
.orbit-body h2 {
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin: 3.25rem 0 1rem;
  text-wrap: balance;
}
.orbit-body h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  line-height: 1.3;
  letter-spacing: -0.008em;
  margin: 2.25rem 0 0.75rem;
}
/* Cleared by the sticky nav on sites that keep one. */
.orbit-body h2,
.orbit-body h3 { scroll-margin-top: 5rem; }

.orbit-body ul,
.orbit-body ol { margin: 0 0 1.5rem; padding-left: 1.35rem; }
.orbit-body li { margin-bottom: 0.6rem; padding-left: 0.25rem; }
.orbit-body li::marker { opacity: 0.45; }

.orbit-body blockquote {
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 3px solid currentColor;
  border-left-color: color-mix(in srgb, currentColor 20%, transparent);
  font-style: italic;
  opacity: 0.85;
}
.orbit-body blockquote p:last-child { margin-bottom: 0; }

.orbit-body a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}
.orbit-body a:hover { text-decoration-color: currentColor; }

.orbit-body code {
  font-size: 0.9em;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  background: color-mix(in srgb, currentColor 8%, transparent);
}
.orbit-body strong { font-weight: 650; }

.orbit-body img,
.orbit-body video { max-width: 100%; height: auto; border-radius: 6px; }

.orbit-foot {
  margin: 4rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid currentColor;
  border-top-color: color-mix(in srgb, currentColor 12%, transparent);
  font-size: 0.95rem;
}
.orbit-foot a { color: inherit; text-decoration: none; opacity: 0.7; }
.orbit-foot a:hover { opacity: 1; text-decoration: underline; }

/* ------------------------------------------------------------- listing -- */

.orbit-lede {
  font-size: 1.15rem;
  line-height: 1.6;
  opacity: 0.65;
  margin: 0 0 3rem;
  max-width: 34rem;
}

.orbit-posts { list-style: none; margin: 0; padding: 0; }

.orbit-posts li + li {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid currentColor;
  border-top-color: color-mix(in srgb, currentColor 12%, transparent);
}

/* The whole card is the link — a separate "read more" is one more thing to
   aim at for a target that is already the size of the card. */
.orbit-card { display: block; color: inherit; text-decoration: none; }
.orbit-card-meta {
  display: block;
  font-size: 0.85rem;
  opacity: 0.55;
  margin-bottom: 0.6rem;
}
.orbit-card h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 0.6rem;
  text-wrap: balance;
}
.orbit-card p { margin: 0; opacity: 0.7; line-height: 1.6; }
.orbit-card:hover h2 { text-decoration: underline; text-underline-offset: 0.15em; }

.orbit-empty { opacity: 0.6; }

@media (max-width: 34rem) {
  .orbit-wrap { padding: 1.5rem 1.1rem 3.5rem; }
  .orbit-body { font-size: 1.08rem; }
  .orbit-meta { margin-bottom: 2rem; padding-bottom: 1.5rem; }
}
