.portrait-frame {
  box-sizing: border-box;
  isolation: isolate;
  background: #eeeade;
  border: 2px solid #181916;
  width: min(85%, 230px);
  margin: 0 auto 34px;
  padding: 10px 10px 34px;
  position: relative;
  transform: rotate(-7deg);
  box-shadow: -7px 8px #141613;
}

.portrait-frame img {
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: 50% 65%;
  border: 2px solid #181916;
  width: 100%;
  height: auto;
  display: block;
}

.portrait-frame:before, .portrait-frame:after {
  content: "";
  background: #181916;
  width: 2px;
  height: 22px;
  position: absolute;
  top: 13px;
  left: -14px;
  box-shadow: -4px 5px #181916;
}

.portrait-frame:after {
  height: 17px;
  inset: auto -9px 15px auto;
  box-shadow: 4px 4px #181916;
}

.frame-scuffs {
  border-top: 2px solid #181916;
  position: absolute;
  bottom: 25px;
  left: 12px;
  right: 12px;
  transform: rotate(-.5deg);
}

.frame-scuffs:after {
  content: "";
  border-top: 2px solid #181916;
  width: 10px;
  position: absolute;
  top: 4px;
  left: 3px;
  box-shadow: 155px 0 #181916;
}

.about-bio .about-margin-heading {
  width: auto;
  font-family: var(--primary);
  margin: 0 0 16px;
  font-weight: 600;
  display: block;
  position: static;
}

.about-editorial .about-bio p {
  width: auto;
  margin: 0;
  position: static;
}

.mobile-portrait {
  display: none;
}

@media (width >= 1101px) {
  .about-bio {
    bottom: 34px;
    right: calc(100% + var(--description-gap) - 26px);
    width: calc(var(--description-width) + 26px);
    position: absolute;
  }

  .about-bio .about-margin-heading {
    font-size: clamp(32px, 2.5vw, 44px);
    line-height: 1.1;
  }

  .about-editorial .about-bio p {
    font-size: clamp(19px, 1.32vw, 26px);
    line-height: 1.4;
  }

  .about-editorial > p {
    top: 48%;
    left: calc(100% + var(--description-gap));
    right: auto;
  }
}

@media (width <= 1100px) {
  .about-bio > .portrait-unroll {
    display: none;
  }

  .about-bio .about-margin-heading {
    margin-bottom: 12px;
    font-size: 30px;
  }

  .about-editorial > p {
    margin-top: 18px;
  }

  .personal-objects {
    justify-content: center;
    align-items: center;
    gap: clamp(22px, 5vw, 50px);
    max-width: 540px;
    margin: 30px auto 10px;
    padding: 8px 12px;
    display: flex;
  }

  .mobile-portrait {
    flex: 1;
    min-width: 0;
    max-width: 230px;
    display: block;
  }

  .mobile-portrait .portrait-frame {
    width: 100%;
    margin: 0;
  }

  .personal-objects .thought-note {
    flex: 1;
    width: auto;
    min-width: 0;
    max-width: 230px;
    margin: 0;
    position: relative;
    inset: auto;
  }
}

@media (width <= 420px) {
  .portrait-frame {
    padding: 6px 6px 25px;
    box-shadow: -5px 6px #141613;
  }

  .frame-scuffs {
    bottom: 18px;
    left: 8px;
    right: 8px;
  }

  .frame-scuffs:after {
    box-shadow: 80px 0 #181916;
  }

  .personal-objects {
    gap: 22px;
    padding-inline: 8px;
  }
}

@media (width >= 1101px) {
  .about-editorial > p {
    font-size: clamp(22px, 1.48vw, 29px);
    line-height: 1.4;
  }
}

.portrait-unroll {
  width: min(85%, 230px);
  margin: 0 auto 34px;
  position: relative;
}

.portrait-unroll .portrait-frame {
  width: 100%;
  margin: 0;
  transform: none;
}

.portrait-reveal {
  position: relative;
  overflow: hidden;
}

.portrait-curl {
  pointer-events: none;
  display: none;
}

@media (width <= 1100px) {
  .mobile-portrait .portrait-unroll {
    width: 100%;
    margin: 0;
  }

  main > .availability-note {
    text-align: left;
    width: 100%;
    max-width: none;
    margin: 24px 0 18px;
    position: static;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.portrait-motion .portrait-unroll .portrait-frame:not(.is-visible) {
    clip-path: inset(-15px -20px 100%);
  }

  .portrait-unroll:has(.is-visible) .portrait-frame {
    animation: 1.5s cubic-bezier(.45, 0, .2, 1) both frame-unroll;
  }

  .portrait-unroll:has(.is-visible) > .portrait-curl {
    background: linear-gradient(#938d80, #eeeade 25%, #fffbef 50%, #d8d0bf 78%, #827a69);
    border: 1px solid #24231e;
    border-radius: 2px 2px 45% 45% / 2px 2px 25% 25%;
    height: 24px;
    animation: 1.5s cubic-bezier(.45, 0, .2, 1) both frame-curl;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 7px 9px #211e1840;
  }
}

@keyframes frame-unroll {
  from {
    clip-path: inset(-15px -20px 100%);
  }

  to {
    clip-path: inset(-15px -20px -20px);
  }
}

@keyframes frame-curl {
  0% {
    opacity: 0;
    top: 0;
    transform: translateY(-50%) scaleY(.7);
  }

  7% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    top: 100%;
    transform: translateY(-50%) scaleY(.25);
  }
}

@media (width >= 1101px) {
  main > .availability-note {
    margin: 0 auto;
    left: 0;
    right: 0;
    transform: none;
  }
}
