@font-face {
  font-family: "Neue Haas";
  src: url("public/fonts/NeueHaasGrotesk-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #faf9f7;
  color: #000;
  font-family: "Neue Haas", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, p { margin: 0; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.portfolio {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}
.home { width: 100%; max-width: 640px; }
.about { position: relative; }
.bio { color: rgb(0 0 0 / 80%); line-height: 1.625; }
.bio > * + * { margin-top: 24px; }
.bio a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color .15s ease;
}
.bio a:hover { color: #000; }
.bio p a { color: #5199de; }
.bio p a:hover { color: #3279bc; }
.social-links { display: flex; gap: 16px; color: rgb(0 0 0 / 50%); }
.social-links a { text-decoration: none; }
.portrait {
  display: block;
  width: 192px;
  height: 256px;
  object-fit: cover;
  border-radius: 2px;
  opacity: .8;
  margin: 24px auto 0;
}

@media (min-width: 1024px) {
  .about { padding-right: 224px; }
  .portrait { position: absolute; top: 0; right: 0; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
