@import url('./fonts.css');

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./geist-mono.woff2') format('woff2');
}


:root {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  color: #292c30;
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
a {
  color: inherit;
  text-decoration-color: #b6bbc2;
  text-underline-offset: .23em;
  text-decoration-thickness: 1px;
}
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid #526788; outline-offset: 5px; }
::selection { background: #e7ebf1; }
.skip-link { position: absolute; top: -80px; left: 1rem; background: #fff; padding: 1rem; }
.skip-link:focus { top: 1rem; }
.page {
  width: min(37rem, calc(100% - 3rem));
  margin: clamp(4rem, 10vh, 8rem) auto 4rem;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}
h1 {
  display: flex;
  align-items: baseline;
  margin: 0;
  font: 400 3.125rem/1.2 'Geist Mono', ui-monospace, monospace;
  min-height: 4.025rem;
  letter-spacing: -.04em;
}
.name { display: block; }
.signature-cursor {
  color: #3659dd;
  font-size: .82em;
  margin-left: .04em;
}
.location { color: #6b7179; }

main { font-size: 1rem; line-height: 1.85; }
p { margin: 0; }
.role { font-size: 1.125rem; margin-bottom: 1.5rem; line-height: 1.7; }
.bio p + p { margin-top: 1.25rem; }
.bio { color: #535a62; }
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid #e7e9ec;
  font-size: .9375rem;
  line-height: 1.8;
}
.handle { color: #6b7179; }
@media (max-width: 600px) {
  .page { width: calc(100% - 3rem); margin-top: 3.5rem; }
  h1 { font-size: 2.75rem; min-height: 3.45rem; }
  header { margin-bottom: 1.75rem; }
  .role { font-size: 1.0625rem; }
  footer { margin-top: 2rem; }
}
