html, body {
  margin: 0; padding: 0;
  background: #f3efe7;
  color: #1a1714;
}

body {
  font-family: "Newsreader", "Spectral", Georgia, serif;
  font-weight: 400;
  /* the page is the document — let it flow naturally */
  isolation: isolate;
  position: relative;
  min-height: 100vh;
}

/* faint vertical rules background — fixed so it doesn't scroll */
.sl-rules {
  position: fixed; inset: 0;
  background-image: linear-gradient(to right, rgba(26,23,20,0.045) 1px, transparent 1px);
  background-size: 160px 100%;
  background-position: 80px 0;
  pointer-events: none;
  z-index: 0;
}

/* cursor trail canvas overlay */
#sl-cursor {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: 5;
}

/* hairline under the top bar */
.sl-hairline {
  position: fixed; top: 56px; left: 80px; right: 80px;
  height: 1px;
  background: rgba(26,23,20,0.18);
  z-index: 11;
}

/* top bar */
.sl-topbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 80px;
  background: rgba(243,239,231,0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 10;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(26,23,20,0.6);
}

.sl-topbar .sl-brand { color: #1a1714; }
.sl-topbar nav, .sl-topbar .sl-links { display: flex; gap: 22px; align-items: center; }
.sl-topbar .sl-contact {
  color: #1a1714; text-decoration: none;
  border-bottom: 1px solid rgba(26,23,20,0.3); padding-bottom: 1px;
}
.sl-topbar .sl-x {
  color: #1a1714; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}

/* body column */
.sl-body {
  position: relative;
  padding-top: 56px;
  z-index: 1;
}
.sl-body > article {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 32px 96px;
}

/* hero */
.sl-h1 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  font-size: 88px;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #1a1714;
}
.sl-italic-labs {
  font-style: italic;
  font-weight: 300;
  color: rgba(26,23,20,0.65);
}

/* lead */
.sl-lead {
  margin-top: 56px; margin-bottom: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: #2a2520;
  text-wrap: pretty;
}
.sl-lead em { font-style: italic; }

/* body paragraphs */
.sl-p {
  margin-top: 22px; margin-bottom: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 19px;
  line-height: 1.62;
  color: #2a2520;
  text-wrap: pretty;
}
.sl-p:first-of-type { margin-top: 64px; }   /* first body paragraph after lead */
.sl-p em { font-style: italic; }
.sl-p em.sl-emphasis { color: rgba(26,23,20,0.7); }

/* footer */
.sl-footer {
  margin-top: 96px;
  padding-top: 20px;
  border-top: 1px solid rgba(26,23,20,0.18);
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(26,23,20,0.55);
}
.sl-footer a { color: inherit; text-decoration: none; }

/* mobile breakpoints (verbatim from prototype) */
@media (max-width: 720px) {
  .sl-topbar { padding: 0 24px; }
  .sl-body > article { padding: 96px 24px 64px; }
  .sl-h1 { font-size: 64px; line-height: 0.98; }
  .sl-lead { font-size: 21px; margin-top: 40px; }
  .sl-p { font-size: 17px; }
  .sl-p:first-of-type { margin-top: 48px; }
  .sl-rules { background-size: 80px 100%; background-position: 24px 0; }
  .sl-hairline { left: 24px; right: 24px; }
}
@media (max-width: 420px) {
  .sl-topbar { padding: 0 16px; }
  .sl-body > article { padding: 80px 18px 56px; }
  .sl-h1 { font-size: 48px; }
  .sl-lead { font-size: 19px; margin-top: 32px; }
  .sl-p { font-size: 16px; line-height: 1.6; }
  .sl-footer { flex-direction: column; gap: 6px; align-items: flex-start; }
  .sl-hairline { left: 16px; right: 16px; }
}
