@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #151515;
  --muted: #8a8a8a;
  --button: #e3d6bf;
  --button-hover: #cbb995;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 280px;
  min-height: 100vh;
}

.page {
  width: 100%;
  max-width: 500px;
  min-height: 100vh;
  margin-inline: auto;
  padding: 40px 20px 39px;
  overflow: hidden;
  background: #fff;
  text-align: center;
}

.portrait {
  display: block;
  width: 126px;
  height: 126px;
  margin-inline: auto;
  border-radius: 50%;
  object-fit: cover;
}

h1 {
  margin: 19px 0 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 29px;
  white-space: nowrap;
}

.subtitle {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  line-height: 15px;
  white-space: nowrap;
}

.biography {
  margin: 62px -1px 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  white-space: nowrap;
}

.artwork {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 280 / 339;
  margin-top: 41px;
  object-fit: cover;
}

.links {
  display: grid;
  gap: 15px;
  width: 100%;
  margin-top: 15px;
}

.link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  padding-inline: 18px;
  border-radius: 999px;
  background: var(--button);
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 220ms ease, transform 160ms ease;
}

.link-button:hover {
  background: var(--button-hover);
}

.link-button:active {
  background: #bca77f;
  transform: scale(0.985);
}

.link-button:focus-visible {
  outline: 3px solid #6d5a39;
  outline-offset: 3px;
}

.contact {
  margin-top: 62px;
}

.contact h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 400;
  line-height: 26px;
  white-space: nowrap;
}

.contact p {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  white-space: nowrap;
}

.whatsapp {
  margin-top: 14px;
}

footer {
  margin-top: 40px;
}

.brand-logo {
  display: block;
  width: 92px;
  height: auto;
  margin-inline: auto;
}

@media (min-width: 321px) {
  .page {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 319px) {
  .page {
    padding-right: 14px;
    padding-left: 14px;
  }

  .biography {
    font-size: 14px;
  }

  .contact p {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .link-button {
    transition: none;
  }
}
