:root {
  color-scheme: light;
  background: #fff;
  color: #403991;
  --ink: #554bc6;
  --quiet-ink: #77718e;
  --rule: #dbd8ee;
  font-family: Georgia, 'Times New Roman', serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  width: min(560px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: clamp(64px, 10vh, 112px) 40px;
}

.paper {
  position: relative;
  isolation: isolate;
  background: rgba(255, 255, 255, .82);
  padding: 16px;
  margin-inline: -16px;
}

/* A white feather keeps passing digits from outlining a hard rectangle. */
.paper::before {
  content: '';
  position: absolute;
  inset: -7px;
  z-index: -1;
  background: rgba(255, 255, 255, .45);
  filter: blur(8px);
  pointer-events: none;
}

.page-header, nav, .section-heading, .page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.eyebrow, nav, .editing-note, .project-number, .page-footer a, .contact-list {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
}

.eyebrow { letter-spacing: .04em; }
.draft, .editing-note, .project-number { color: var(--quiet-ink); }
nav { gap: 22px; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 5px; }
nav a { text-decoration: none; }
nav a:hover, nav a:focus-visible { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 1px; }
.page:focus { outline: none; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px; background: white; z-index: 3; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

section { scroll-margin-top: 32px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; color: var(--ink); }
.intro { margin-top: 68px; margin-bottom: 78px; }
.section-note { margin-bottom: 20px; }
h1 { font-size: clamp(48px, 6vw, 68px); letter-spacing: -.045em; line-height: 1.12; }
.intro-copy { margin-top: 34px; font-size: 23px; line-height: 1.6; letter-spacing: -.015em; }
.intro .editing-note { margin-top: 16px; }
h2 { font-size: 27px; line-height: 1.3; letter-spacing: -.02em; }
.section-heading { padding-bottom: 19px; border-bottom: 1px solid var(--rule); }
.section-heading .eyebrow { color: var(--quiet-ink); }
.project { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-block: 28px; border-bottom: 1px solid var(--rule); }
.project-number { padding-top: 5px; }
h3 { font-size: 21px; line-height: 1.4; }
.project p { margin-top: 9px; font-size: 17px; line-height: 1.7; }
.project .editing-note { display: inline-block; margin-top: 12px; }
.contact { margin-top: 76px; }
.contact > p { margin-top: 16px; font-size: 18px; line-height: 1.7; }
.contact-list { list-style: none; padding: 0; margin: 25px 0 0; }
.contact-list li { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-block: 9px; }
.contact-list li > :first-child { min-width: 75px; }
.page-footer { margin-top: 88px; padding-top: 24px; }
.page-footer .eyebrow { color: var(--quiet-ink); }
.page-footer a { text-decoration: none; }
.page-footer a:hover { text-decoration: underline; }

@media (max-width: 540px) {
  .page-header { align-items: flex-start; flex-direction: column; gap: 18px; }
  .intro { margin-top: 44px; margin-bottom: 52px; }
  .intro-copy { font-size: 21px; }
  .contact { margin-top: 52px; }
  .page-footer { margin-top: 60px; gap: 12px; }
}

canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
}
