/* V20 — upright series identity and a functional, quiet work menu. */

.site-header .section-identity span {
  font-family: var(--serif);
}

.site-header .section-identity strong {
  font-family: var(--serif-latin);
  font-style: normal;
  font-weight: 500;
  letter-spacing: .12em;
}

.work-card {
  position: relative;
}

.work-card.is-menu-open {
  z-index: 20;
}

.work-card__arrow {
  display: none;
}

.work-card__button::before,
.work-card__button::after {
  display: none;
}

.work-card__caption {
  padding-right: 18px;
}

.work-card__more {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: rgba(91, 82, 68, .58);
  cursor: pointer;
  background: transparent;
  transition: color 180ms ease, background 180ms ease;
}

.work-card__more span {
  display: block;
  margin-top: -2px;
  margin-left: 2px;
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1;
  white-space: nowrap;
}

.work-card__more:hover,
.work-card__more:focus-visible,
.work-card__more[aria-expanded="true"] {
  color: var(--ink);
  background: rgba(134, 125, 107, .12);
}

.work-card__more:focus-visible {
  outline: 2px solid rgba(190, 112, 121, .5);
  outline-offset: 2px;
}

.work-card__menu {
  position: absolute;
  right: 12px;
  bottom: 46px;
  z-index: 4;
  width: min(190px, calc(100% - 24px));
  overflow: hidden;
  padding: 6px;
  border: 1px solid rgba(228, 221, 208, .13);
  border-radius: 12px;
  color: rgba(244, 237, 225, .9);
  background: rgba(34, 31, 26, .96);
  box-shadow: 0 16px 36px rgba(22, 19, 14, .24);
  backdrop-filter: blur(18px);
}

.work-card__menu[hidden] {
  display: none;
}

.work-card__menu button {
  display: flex;
  width: 100%;
  min-height: 36px;
  align-items: center;
  margin: 0;
  padding: 8px 11px;
  border: 0;
  border-radius: 8px;
  color: inherit;
  cursor: pointer;
  background: transparent;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .04em;
  text-align: left;
}

.work-card__menu button:hover,
.work-card__menu button:focus-visible {
  color: #fff8ee;
  outline: 0;
  background: rgba(227, 169, 174, .17);
}

.work-card__menu button + button {
  border-top: 1px solid rgba(228, 221, 208, .08);
}

.work-card__menu button.is-saved {
  color: var(--pink-soft);
}

@media (max-width: 760px) {
  .work-card__more {
    right: 10px;
    bottom: 9px;
    width: 34px;
    height: 34px;
  }

  .work-card__menu {
    right: 10px;
    bottom: 47px;
  }
}
