:root { color-scheme: light; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: #faf9f6;
  color: #32332e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 920px; margin: 0 auto; padding: 5rem 2rem 3rem; }
.note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0;
}
h1 { font-size: 2.25rem; font-weight: 400; letter-spacing: -0.035em; line-height: 1.25; margin-bottom: 1.25rem; }
p { color: #626359; }
.sketch {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  animation: float 8s ease-in-out infinite;
}
a { color: inherit; text-underline-offset: 0.2em; white-space: nowrap; }
a:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
.hero { padding-top: 3rem; }
.hero h1 { font-size: 4rem; }
.tagline { font-size: 1.15rem; }
.thoughts-heading { font-size: 0.9rem; font-weight: 400; color: #8a8b80; margin: 2rem 0 0.25rem; }
.thoughts { list-style: none; color: #626359; }
.thoughts a { white-space: normal; }
.essay { max-width: 680px; margin: 0 auto; }
.essay h2 { font-size: 1.35rem; font-weight: 400; letter-spacing: -0.02em; margin: 2.5rem 0 0.75rem; }
.essay p { color: #32332e; margin-bottom: 1.25rem; }
.essay a { white-space: normal; }
.essay .back, .essay .meta { color: #8a8b80; font-size: 0.9rem; }
.essay .back { margin-bottom: 2rem; }
::selection { background: #e3e3d6; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-4px) rotate(0.5deg); }
}

@media (max-width: 600px) {
  main { padding: 3rem 1.5rem 2rem; }
  .note { grid-template-columns: 1fr; gap: 1.5rem; padding: 3rem 0; }
  .sketch { max-width: 320px; justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  .sketch { animation: none; }
}
