:root {
  color-scheme: light;
  --ink: #0a0a0a;
  --slate: #3b3b3b;
  --steel: #545454;
  --dove: #d5d9e2;
  --paper: #ffffff;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-mono);
  background: var(--paper);
  color: var(--ink);
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
::selection { background: var(--ink); color: var(--paper); }

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  transform: translateY(-200%);
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform .2s ease;
}
.skip:focus-visible {
  transform: none;
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.card {
  max-width: 36rem;
  animation: rise .7s cubic-bezier(.2,.6,.2,1) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .card { animation: none; }
}

.name {
  font-size: clamp(38px, 11vw, 48px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.0;
  text-wrap: balance;
}
.role {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: var(--slate);
}
.bio {
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
  max-width: 34rem;
}

.contact {
  margin-top: 40px;
  font-size: 14px;
  line-height: 1.85;
}
.contact .dim { color: var(--steel); }
.contact a {
  color: var(--ink);
  text-decoration: none;
  touch-action: manipulation;
}
.contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.langs { margin-top: 8px; }
.langs button {
  font: inherit;
  background: none;
  border: none;
  padding: 0;
  color: var(--steel);
  cursor: pointer;
  touch-action: manipulation;
  transition: color .2s ease;
}
.langs button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.langs button[aria-pressed="true"] { color: var(--ink); font-weight: 500; }
.langs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
