.profile-signout {
  justify-self: end;
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
}
.profile-pending {
  min-height: 75vh;
  display: grid;
  place-items: center;
  padding: 40px;
}
.profile-pending > div {
  max-width: 650px;
  text-align: center;
}
.profile-pending h1 {
  font-family: var(--display);
  font-size: 52px;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0 0 20px;
}
.profile-pending p:last-child {
  color: var(--muted);
}
.profile-shell {
  max-width: 1180px;
  margin: auto;
  padding: 70px 24px 110px;
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 70px;
  align-items: start;
}
.profile-intro {
  position: sticky;
  top: 35px;
}
.profile-intro h1 {
  font-family: var(--display);
  font-size: 49px;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0 0 20px;
}
.profile-intro > p:not(.eyebrow) {
  color: var(--muted);
}
.profile-preview {
  margin-top: 32px;
  background: var(--olive);
  color: white;
  padding: 26px;
  display: grid;
  gap: 7px;
}
.profile-preview img,
.profile-preview > span {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sage);
  color: var(--olive);
  display: grid;
  place-items: center;
  font-size: 10px;
  margin-bottom: 14px;
}
.profile-preview strong {
  font-size: 18px;
}
.profile-preview small {
  color: #cbd1c8;
}
.profile-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 38px 42px;
}
.profile-form-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}
.profile-form-head h2 {
  font-family: var(--display);
  font-size: 38px;
  letter-spacing: -0.04em;
  margin: 0;
}
.save-state {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.profile-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.profile-section h3 {
  font-family: var(--display);
  font-size: 25px;
  margin: 0 0 22px;
}
.profile-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 750;
}
.profile-form input,
.profile-form textarea {
  width: 100%;
  padding: 14px 13px;
  border: 1px solid #b9b4aa;
  background: white;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}
.profile-form textarea {
  min-height: 110px;
  resize: vertical;
}
.profile-actions {
  padding-top: 28px;
  display: flex;
  justify-content: flex-end;
}
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery-preview img {
  aspect-ratio: 1;
  object-fit: cover;
}
@media (max-width: 850px) {
  .profile-shell {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .profile-intro {
    position: static;
  }
  .profile-preview {
    display: none;
  }
}
@media (max-width: 580px) {
  .profile-shell {
    padding: 35px 16px;
  }
  .profile-form {
    padding: 28px 18px;
  }
  .profile-intro h1,
  .profile-pending h1 {
    font-size: 39px;
  }
  .gallery-preview {
    grid-template-columns: repeat(2, 1fr);
  }
}
