/* Long-form article page (work-with-me.html) — a normal scrolling document,
   not a slide deck. Shares tokens.css and base.css with the main site. */

body.page-body {
  padding-bottom: var(--space-9);
}

.page-header {
  padding: var(--space-5) 0;
  margin-bottom: var(--space-7);
  border-bottom: var(--border-width) solid var(--color-border);
}

.back-link {
  display: block;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
  color: var(--color-text);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.02em;
}

.back-link:hover {
  color: var(--color-link);
}

/* Same wordmark treatment as .back-link (sentence case, no box), but without
   its header-only positioning — this one sits inside the already-padded
   .page.container, so it needs none of that. */
.footer-link {
  display: inline-block;
  font-size: var(--fs-tiny);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--color-link);
}

.page__title {
  font-size: var(--fs-display);
  margin-bottom: var(--space-8);
}

.page__section {
  margin-bottom: var(--space-9);
}

.page__section h2 {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-5);
}

.section__note {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  margin-bottom: var(--space-6);
}

.page__section h3 {
  font-size: var(--fs-h3);
  margin: var(--space-6) 0 var(--space-3);
}

.page__section p {
  margin-bottom: var(--space-4);
  max-width: 68ch;
  text-wrap: pretty;
}

.page__section hr {
  border: none;
  border-top: var(--border-width) solid var(--color-border);
  margin: var(--space-6) 0;
}

/* Talk-to-me list */

.topics li {
  padding: var(--space-3) 0;
  border-top: var(--border-width) dashed var(--color-border);
}

.topics li:first-child {
  border-top: none;
}

/* Notion-style callouts */

.note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--color-bg-raised);
}

.note__icon {
  font-size: 1.25rem;
  line-height: 1.3;
}

.note p {
  margin-bottom: var(--space-3);
  grid-column: 2;
}

.note p:last-child {
  margin-bottom: 0;
}

.note__aside {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

.page-footer {
  padding-top: var(--space-7);
  border-top: var(--border-width) solid var(--color-border);
}

@media (max-width: 640px) {
  .note {
    padding: var(--space-4);
    gap: var(--space-3);
  }
}
