:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --ink: #203c3b;
  --muted: #53635e;
  --line: #d7ddd6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
::selection { background: #dce6da; color: var(--ink); }
a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 2px; }

.page {
  width: min(100% - 96px, 1040px);
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.header { padding-block: 44px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 650; letter-spacing: -0.025em; text-decoration: none; }
.brand img { display: block; }
main { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 76px 110px; }
h1 { margin: 0 0 28px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(3.25rem, 7.4vw, 5.5rem); line-height: 1.06; letter-spacing: -0.04em; text-wrap: balance; }
p { margin: 0; }
.intro { max-width: 520px; font-size: clamp(1.25rem, 2.3vw, 1.5rem); line-height: 1.5; letter-spacing: -0.015em; }
.project-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; margin-top: 28px; font-size: 16px; font-weight: 600; }
.project-link svg { flex-shrink: 0; }
.research { width: 100%; max-width: 64ch; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.research h2 { margin: 0 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.5rem, 3vw, 1.75rem); font-weight: 400; line-height: 1.25; text-wrap: balance; }
.research p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.research p + p { margin-top: 12px; }
.research-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-size: 16px; line-height: 1.5; }
footer { border-top: 1px solid var(--line); padding-block: 25px 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; line-height: 1.5; }
footer a { min-height: 24px; display: inline-flex; align-items: center; }

@media (max-width: 600px) {
  .page { width: calc(100% - 48px); }
  .header { padding-block: 28px; }
  main { padding-block: 58px 76px; }
  h1 { margin-bottom: 24px; }
  footer { align-items: flex-start; flex-direction: column; gap: 10px; padding-block: 22px; }
}
