/* selected-works.css — standalone artwork plates in the Books page system.
   White in light mode, black in dark mode; Poppins and Books type sizes. */

.selected-works{
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 120px 20px 20px;
  text-align: center;
}

.selected-works-title{
  margin: 0 0 72px;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  font-weight: 300;
  letter-spacing: .04em;
  line-height: 1.5;
}

.work-plate{
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 120px;
}

.work-plate:last-child{
  margin-bottom: 72px;
}

.work-media{
  display: block;
  width: auto;
  max-width: min(100%, 560px);
  max-height: 78vh;
  margin: 0 auto;
  border: 1px solid var(--v-line);
  background: var(--v-bg);
  object-fit: contain;
}

.work-caption{
  width: 100%;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--v-line);
  text-align: left;
}

.work-title{
  margin: 0;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  font-weight: 300;
  letter-spacing: .04em;
  line-height: 1.5;
}

.work-meta{
  margin: 6px 0 0;
  font-size: clamp(.95rem, 2.4vw, 1.15rem);
  font-weight: 300;
  letter-spacing: .04em;
  line-height: 1.5;
  color: var(--v-muted);
}

.work-status{
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.work-related{
  display: inline-block;
  margin-top: 14px;
  color: var(--v-fg);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: .08em;
  line-height: 1.5;
  text-decoration: none;
}

.work-related:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
}

.work-related:focus-visible{
  outline: 2px solid var(--v-fg);
  outline-offset: 3px;
}

.page-selected-works .site-footer{
  padding: 40px 20px 48px;
  text-align: center;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: .08em;
  line-height: 1.6;
  color: var(--v-fg);
}

.page-selected-works .site-footer a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 720px){
  .selected-works{
    padding: 96px 16px 12px;
  }

  .selected-works-title{
    margin-bottom: 56px;
  }

  .work-plate{
    margin-bottom: 88px;
  }

  .work-media{
    max-height: 72vh;
  }
}
