/* SL Studio Labs. System fonts only, so the site makes no requests to anyone else. */

:root {
  --bg: #ffffff;
  --text: #1d1d1f;
  --text-2: #3a3a3c;
  --muted: #6e6e73;
  --rule: #e5e5ea;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --text: #f5f5f7;
    --text-2: #d1d1d6;
    --muted: #98989d;
    --rule: #2c2c2e;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.5 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main,
footer {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

/* The wordmark sits a little above the middle of the window. */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 12vh;
}

h1 { margin: 0; }

h1 img,
.home img {
  display: block;
  width: 100%;
  height: auto;
}

.home { display: block; max-width: 320px; }

.tagline {
  margin: 1.75rem 0 0;
  color: var(--text-2);
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.625rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.contact {
  margin: 2.5rem 0 0;
  color: var(--muted);
}

.contact .label { margin-right: 0.35em; }

a {
  color: var(--text);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule);
  text-underline-offset: 0.22em;
  transition: text-decoration-color 0.15s;
}

a:hover { text-decoration-color: currentColor; }

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

.home { text-decoration: none; }

footer {
  padding: 20px 0 28px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

footer p { margin: 0; }

/* Each phrase wraps as a whole on narrow screens; facts are spaced, not dotted,
   so no separator is left hanging at the end of a line. */
footer span { white-space: nowrap; }
footer .fact { margin-right: 0.9em; }
