/* The About page's look. Used by /about/ on its own and by the homepage,
   which shows the same page when the dots fly into the text. */
.about-doc {
  --text: #45443f;
  color: var(--text);
  font: 16px/1.72 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: var(--pad, 36px);
}
.about-doc a { color: inherit; }
.about-doc > * { flex-shrink: 0; }   /* nothing gets squashed when the page is taller than the window */

/* the dot in the corner takes you home */
.about-doc .home { align-self: flex-start; display: inline-block; width: 26px; height: 26px; border-radius: 50%; position: relative; }
.about-doc .home::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, color-mix(in srgb, var(--accent) 55%, white), var(--accent) 70%);
  filter: blur(1.5px);
  transition: transform .4s cubic-bezier(.3,1.6,.5,1);
}
.about-doc .home:hover::before { transform: scale(1.25); }

/* the text sits in a centred column */
.about-doc main {
  width: 100%;
  max-width: 640px;
  margin: clamp(32px, 7vh, 90px) auto 0;
  flex: 1 0 auto;
}
.about-doc h1 {
  font: 600 16px/1.4 Inter, system-ui, sans-serif;
  color: var(--ink);
  margin-bottom: 18px;
}
.about-doc p + p, .about-doc p + ul, .about-doc ul + p { margin-top: 18px; }
.about-doc ul { list-style: none; }
.about-doc li { position: relative; padding-left: 26px; }
.about-doc li + li { margin-top: 10px; }
.about-doc li::before {
  content: ""; position: absolute; left: 6px; top: .68em;
  width: 6px; height: 6px; background: var(--accent);
}
.about-doc em { color: var(--ink); }
.about-doc main a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1.5px no-repeat; transition: color .25s; }
.about-doc main a:hover { color: var(--accent); }

.about-doc footer {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 64px;
  font-size: 13px;
}
.about-doc footer a { text-decoration: none; color: var(--muted); transition: color .2s; }
.about-doc footer a:hover, .about-doc footer a[aria-current] { color: var(--ink); }
.about-doc footer a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 600px) {
  .about-doc { --pad: 20px; font-size: 15.5px; }
  .about-doc footer { justify-content: flex-start; }
}
